@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Material Symbols Outlined";
  src: url("../fonts/MaterialSymbolsOutlined.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #0a1628;
  --primary-light: #132038;
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --accent-cyan: #06b6d4;
  --accent-gold: #f59e0b;
  --success: #10b981;
  --danger: #ef4444;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-dark: #0a1628;
  --bg-dark-alt: #0f1d32;
  --border: #e2e8f0;
  --border-dark: #1e3a5f;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.15);
  --shadow-glow: 0 0 30px rgba(37,99,235,0.15);
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

main {
  flex: 1 0 auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

img {
  max-width: 100%;
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-light);
}

.logo img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
}

.logo span {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-light) 50%, #0d2847 100%);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
}

.hero-grid > * {
  min-width: 0;
  max-width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,0.12);
  border: 1px solid rgba(37,99,235,0.3);
  color: var(--accent-light);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.hero-badge .material-symbols-outlined {
  font-size: 16px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.2;
  margin-bottom: 16px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-light), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.05rem;
  color: #94a3b8;
  margin-bottom: 24px;
  line-height: 1.7;
}

.hero-sub strong {
  color: var(--text-light);
}

.hero-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.hero-features .material-symbols-outlined {
  font-size: 20px;
  color: var(--success);
}

.hero-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 200px;
  border: 1px solid var(--border-dark);
}

.form-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border: 1px solid var(--border);
}

.form-card-header {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.form-card-header .material-symbols-outlined {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 8px;
}

.form-card-header h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.form-card-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: var(--transition);
  background: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
  background: var(--bg-white);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.checkbox-group label {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.4;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-cyan));
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,99,235,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-full {
  width: 100%;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

.stats-bar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-widget {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 16px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
}

.stat-widget:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.stat-icon .material-symbols-outlined {
  font-size: 28px;
  color: var(--accent);
}

.stat-data {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
}

.stat-unit {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.section {
  padding: 56px 0;
}

.section-light {
  background: var(--bg-white);
}

.section-dark {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-alt) 100%);
  color: var(--text-light);
}

.section-accent {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4f8 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header-left {
  text-align: left;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 12px;
}

.tag-light {
  color: var(--accent-cyan);
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.25;
}

.section-dark .section-header h2 {
  color: var(--text-light);
}

.section-lead {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

.section-dark .section-lead {
  color: #94a3b8;
}

[data-aos="fade-right"]:not(.aos-animate) {
  transform: translate3d(-32px, 0, 0) !important;
}

[data-aos="fade-left"]:not(.aos-animate) {
  transform: translate3d(32px, 0, 0) !important;
}

[data-aos="zoom-in"]:not(.aos-animate) {
  transform: scale(0.96) !important;
}

.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split-block > * {
  min-width: 0;
  max-width: 100%;
}

.split-reverse {
  direction: rtl;
}

.split-reverse > * {
  direction: ltr;
}

.split-img {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 380px;
  border: 1px solid var(--border);
}

.section-dark .split-img {
  border-color: var(--border-dark);
}

.img-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 22, 40, 0.9);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
}

.img-badge .material-symbols-outlined {
  font-size: 16px;
}

.badge-success {
  background: rgba(16, 185, 129, 0.9);
}

.split-text h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.split-text p {
  margin-bottom: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-dark .split-text p {
  color: #94a3b8;
}

.section-dark .split-text h3 {
  color: var(--text-light);
}

.info-callout {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(37,99,235,0.05), rgba(6,182,212,0.05));
  border: 1px solid rgba(37,99,235,0.15);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  margin-top: 20px;
}

.info-callout .material-symbols-outlined {
  font-size: 22px;
  color: var(--accent);
  flex-shrink: 0;
}

.info-callout strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.info-callout p {
  font-size: 0.85rem;
  margin: 0;
}

.composition-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
}

.composition-grid > * {
  min-width: 0;
  max-width: 100%;
}

.chart-card {
  background: var(--bg-dark-alt);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.chart-card canvas {
  max-height: 260px;
}

.chart-legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #94a3b8;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-sm);
}

.legend-dot[data-color="erzeugung"] {
  background: var(--accent);
}

.legend-dot[data-color="netz"] {
  background: var(--accent-cyan);
}

.legend-dot[data-color="abgaben"] {
  background: var(--accent-gold);
}

.composition-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition);
}

.detail-card:hover {
  border-color: var(--accent);
  background: rgba(37,99,235,0.04);
}

.detail-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.detail-header .material-symbols-outlined {
  font-size: 24px;
  color: var(--accent-cyan);
}

.detail-header h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
  flex: 1;
}

.detail-percent {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-light);
}

.detail-card p {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.6;
}

.detail-note {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-md);
}

.detail-note .material-symbols-outlined {
  font-size: 20px;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.detail-note p {
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 0;
}

.chart-wide {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 32px;
}

.chart-wide canvas {
  max-height: 320px;
}

.timeline-markers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 16px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

.dot-alert {
  background: var(--danger);
}

.dot-info {
  background: var(--accent-gold);
}

.dot-success {
  background: var(--success);
}

.timeline-content strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.timeline-content p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.region-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.region-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
}

.badge-low {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-mid {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-high {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.table-wrap {
  margin-top: 40px;
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.price-table th {
  background: var(--primary);
  color: var(--text-light);
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.price-table tbody tr {
  transition: var(--transition);
}

.price-table tbody tr:hover {
  background: rgba(37,99,235,0.03);
}

.price-table td i {
  color: var(--accent);
  margin-right: 8px;
  font-size: 0.75rem;
}

.val-negative {
  color: var(--success);
  font-weight: 600;
}

.val-positive {
  color: var(--danger);
  font-weight: 600;
}

.val-neutral {
  color: var(--text-muted);
  font-weight: 600;
}

.table-source {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 12px;
  font-style: italic;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tip-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.tip-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-cyan));
  opacity: 0;
  transition: var(--transition);
}

.tip-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.tip-card:hover::before {
  opacity: 1;
}

.tip-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(6,182,212,0.1));
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.tip-icon .material-symbols-outlined {
  font-size: 26px;
  color: var(--accent);
}

.tip-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.tip-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.tip-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 600;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 28px;
}

.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(37,99,235,0.3);
  line-height: 1;
  min-width: 50px;
}

.step-content h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 6px;
}

.step-content p {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.6;
}

.guarantee-box {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-md);
}

.guarantee-box .material-symbols-outlined {
  font-size: 24px;
  color: var(--success);
  flex-shrink: 0;
}

.guarantee-box p {
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 0;
}

.quiz-container {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
}

.quiz-progress {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin-bottom: 32px;
  overflow: hidden;
}

.quiz-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-cyan));
  border-radius: 2px;
  width: 20%;
  transition: width 0.4s ease;
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
}

.quiz-q-number {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 10px;
}

.quiz-question h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.quiz-option:hover {
  border-color: var(--accent);
  background: rgba(37,99,235,0.03);
}

.quiz-option.selected {
  border-color: var(--accent);
  background: rgba(37,99,235,0.06);
  box-shadow: 0 0 0 2px rgba(37,99,235,0.15);
}

.quiz-option .material-symbols-outlined {
  font-size: 22px;
  color: var(--accent);
}

.quiz-result {
  text-align: center;
  padding: 20px 0;
}

.result-icon .material-symbols-outlined {
  font-size: 48px;
  color: var(--accent);
  margin-bottom: 16px;
}

.quiz-result h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.result-value {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.quiz-result p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.quiz-result .btn {
  margin: 0 8px 12px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.testimonial-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.testimonial-rating {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.testimonial-rating i {
  font-size: 14px;
  color: var(--accent-gold);
}

.testimonial-text {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-cyan));
  border-radius: 50%;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.author-info strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
}

.author-info span {
  font-size: 0.75rem;
  color: #64748b;
}

.testimonial-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
}

.testimonial-disclaimer .material-symbols-outlined {
  font-size: 18px;
  color: #64748b;
  flex-shrink: 0;
}

.testimonial-disclaimer p {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.5;
}

.contact-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-faq-grid > * {
  min-width: 0;
  max-width: 100%;
}

.faq-block h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--accent);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 18px;
  background: var(--bg-light);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(37,99,235,0.03);
}

.faq-icon {
  font-size: 20px;
  transition: transform 0.3s ease;
  color: var(--text-muted);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 16px 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.section-cta {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #0d2847 100%);
  padding: 56px 0;
}

.cta-block {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-decoration .material-symbols-outlined {
  font-size: 48px;
  color: var(--accent);
  margin-bottom: 20px;
}

.cta-block h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 14px;
}

.cta-block > p {
  font-size: 0.95rem;
  color: #94a3b8;
  margin-bottom: 28px;
  line-height: 1.7;
}

.cta-trust {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.cta-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #64748b;
}

.cta-trust i {
  color: var(--success);
  font-size: 12px;
}

.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
  padding: 48px 0 24px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
  margin-top: 14px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-light);
}

.footer-contact-info p {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 6px;
}

.footer-disclaimer {
  padding: 20px 0;
  border-top: 1px solid var(--border-dark);
  margin-bottom: 16px;
}

.footer-disclaimer p {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.6;
}

.footer-bottom {
  padding-top: 16px;
  border-top: 1px solid var(--border-dark);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: #64748b;
}

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  z-index: 90;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent-light);
  transform: translateY(-3px);
}

.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga";
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  word-break: break-word;
}

.legal-content h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  margin: 32px 0 16px;
  color: var(--text-dark);
}

.legal-content h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 24px 0 12px;
  color: var(--text-dark);
}

.legal-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 12px;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.5rem;
  margin: 1rem 0;
}

.legal-content li {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 8px;
}

.legal-content .legal-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 24px;
}

.thanks-page {
  padding: 56px 0;
  background: linear-gradient(160deg, var(--bg-light) 0%, #e8f4f8 40%, #f0f7ff 100%);
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.thanks-wrapper {
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

.thanks-card {
  text-align: center;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.thanks-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-cyan), var(--success));
}

.thanks-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(6,182,212,0.1));
  border-radius: 50%;
  margin: 0 auto 20px;
}

.thanks-icon .material-symbols-outlined {
  font-size: 36px;
  color: var(--success);
}

.thanks-card img {
  width: 50px;
  height: 50px;
  margin: 0 auto 16px;
  border-radius: var(--radius-sm);
}

.thanks-card h1 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.thanks-card .thanks-text {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.thanks-card .thanks-detail {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
}

.thanks-steps {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  margin-bottom: 32px;
}

.thanks-steps h2 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.thanks-steps h2 .material-symbols-outlined {
  font-size: 24px;
  color: var(--accent);
}

.thanks-step-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.thanks-step-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.thanks-step-num {
  width: 32px;
  height: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-cyan));
  color: #fff;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.thanks-step-content strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.thanks-step-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.thanks-tips {
  background: linear-gradient(135deg, rgba(37,99,235,0.04), rgba(6,182,212,0.04));
  border: 1px solid rgba(37,99,235,0.15);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  margin-bottom: 32px;
}

.thanks-tips h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.thanks-tips h3 .material-symbols-outlined {
  font-size: 22px;
  color: var(--accent-gold);
}

.thanks-tips ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.thanks-tips li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.thanks-tips li .material-symbols-outlined {
  font-size: 18px;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}

.thanks-back {
  text-align: center;
}

.thanks-back .btn {
  min-width: 260px;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-form-wrap {
    max-width: 480px;
  }

  .composition-grid {
    grid-template-columns: 1fr;
  }

  .split-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .split-reverse {
    direction: ltr;
  }

  .contact-faq-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 40px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .tips-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .timeline-markers {
    grid-template-columns: repeat(2, 1fr);
  }

  .quiz-options {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-img-wrap {
    height: 160px;
  }

  .split-img {
    height: 260px;
  }

  .footer {
    padding: 36px 0 20px;
  }

  .thanks-card {
    padding: 36px 24px;
  }

  .thanks-steps {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-widget {
    padding: 14px 10px;
  }

  .stat-value {
    font-size: 1.4rem;
  }

  .timeline-markers {
    grid-template-columns: 1fr;
  }

  .quiz-container {
    padding: 28px 20px;
  }

  .form-card {
    padding: 24px 20px;
  }

  .cta-trust {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .thanks-back .btn {
    min-width: 100%;
  }
}

@media (max-width: 900px) {
  [data-aos] {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }

  .hero-grid > *,
  .split-block > *,
  .composition-grid > *,
  .contact-faq-grid > *,
  .testimonials-grid > * {
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 700px) {
  .table-wrap {
    overflow-x: visible;
    margin-top: 24px;
  }

  .price-table {
    font-size: 0.9rem;
    border-collapse: separate;
    border-spacing: 0 12px;
  }

  .price-table thead {
    display: none;
  }

  .price-table tbody tr {
    display: block;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 0;
    box-shadow: var(--shadow-sm);
  }

  .price-table tbody tr:hover {
    background: var(--bg-white);
  }

  .price-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    word-break: break-word;
  }

  .price-table td:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .price-table td:first-child {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    justify-content: flex-start;
    border-bottom: 2px solid var(--border);
    padding-top: 0;
    margin-bottom: 4px;
  }

  .price-table td:nth-child(2)::before,
  .price-table td:nth-child(3)::before,
  .price-table td:nth-child(4)::before {
    font-weight: 600;
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    flex: 1;
    min-width: 0;
  }

  .price-table td:nth-child(2)::before {
    content: "Ø Preis (Ct/kWh)";
  }

  .price-table td:nth-child(3)::before {
    content: "Jahreskosten (3.500 kWh)";
  }

  .price-table td:nth-child(4)::before {
    content: "Abweichung";
  }

  .price-table td:nth-child(2),
  .price-table td:nth-child(3),
  .price-table td:nth-child(4) {
    font-weight: 600;
    text-align: right;
  }
}

@media (max-width: 640px) {
  .header-inner {
    justify-content: center;
  }

  .logo {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .logo a {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo a span {
    word-break: break-all;
    min-width: 0;
  }

  .chart-wide {
    padding: 16px 12px;
    margin-bottom: 16px;
  }

  .chart-wide canvas {
    max-height: 220px;
  }

  .footer-col,
  .footer-contact-info {
    word-break: break-all;
  }

  .split-img {
    display: flex;
    flex-direction: column;
    height: auto;
    overflow: visible;
  }

  .split-img img {
    height: 200px;
  }

  .img-badge {
    position: static;
    max-width: 100%;
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 32px 0;
  }

  .hero {
    padding: 48px 0 40px;
  }

  .hero h1 {
    font-size: clamp(1.5rem, 6vw, 1.8rem);
  }

  .form-card {
    padding: 20px 16px;
  }

  .lead-form .btn {
    width: 100%;
    max-width: 100%;
  }
}