/* MAICON — gemeinsames Stylesheet für alle Seiten (wird nach website/css/site.css kopiert) */

/* ============ SCHRIFTEN (selbst gehostet) ============ */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/fonts/inter-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('/fonts/space-grotesk-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('/fonts/space-grotesk-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ============ TOKENS ============ */
:root {
  --primary: #0a0e1a;
  --primary-soft: #1a1f2e;
  --accent: #a3195b;
  --accent-hover: #8a1450;
  --accent-soft: #f5e8ef;
  --accent-light: #ec4899;
  --bg: #ffffff;
  --bg-soft: #f7f7f9;
  --bg-warm: #fafaf8;
  --text: #1a1a1a;
  --text-muted: #5a6171;
  --text-light: #6b7280;
  --border: #e5e7eb;
  --border-strong: #d1d5db;
  --up-bad: #c2410c;
  --up-bad-soft: #fff1e8;
  --good: #15803d;
  --good-soft: #eaf7ee;
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.12);
  --max-w: 1200px;
  --max-w-narrow: 820px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ============ BASIS ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 92px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'cv11';
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--max-w-narrow); margin: 0 auto; padding: 0 24px; }
.num { font-variant-numeric: tabular-nums; }
.display { font-family: 'Space Grotesk', 'Inter', sans-serif; letter-spacing: -0.02em; }
::selection { background: var(--accent); color: white; }

/* ============ BUTTONS (Pill-Form) ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 28px; border-radius: 100px; border: none; cursor: pointer;
  font-family: inherit; font-weight: 600; font-size: 15px; line-height: 1.2;
  transition: background .2s, color .2s, box-shadow .25s, transform .2s var(--ease);
}
.btn-primary { background: var(--accent); color: white !important; box-shadow: 0 6px 22px rgba(163,25,91,0.35); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(163,25,91,0.45); }
.btn-ghost { background: rgba(255,255,255,0.08); color: white !important; border: 1px solid rgba(255,255,255,0.22); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,0.15); }
.btn-white { background: white; color: var(--accent) !important; }
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.btn-outline { border: 1px solid rgba(255,255,255,0.45); color: white !important; }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-soft { background: var(--accent-soft); color: var(--accent) !important; }
.btn-soft:hover { background: #efd7e4; }
.btn-arrow { transition: transform .2s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ============ NAVIGATION ============ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(229,231,235,0.7);
  transition: box-shadow .25s, background .25s;
}
.nav.scrolled { background: rgba(255,255,255,0.94); box-shadow: 0 6px 24px rgba(10,14,26,0.07); }
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--text);
  padding: 8px 14px; border-radius: 100px; transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--accent); background: var(--accent-soft); }
.nav-links a.active { color: var(--accent); }
.nav-links .nav-cta-mobile { display: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 9px 18px; border-radius: 100px;
  background: var(--accent); color: white !important;
  font-size: 14px; font-weight: 600;
  box-shadow: 0 4px 14px rgba(163,25,91,0.28);
  transition: background .2s, box-shadow .2s, transform .2s var(--ease);
}
.nav-cta:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(163,25,91,0.35); }
.nav-cta .btn-arrow { display: inline-block; }
.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--border); border-radius: 100px; background: white; color: var(--primary);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .i-close, .nav.open .nav-toggle .i-open { display: none; }
.nav.open .nav-toggle .i-close { display: block; }

/* ============ SEKTIONEN ============ */
section { padding: 100px 0; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-top { margin-bottom: 40px; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 12px; border-radius: 100px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 16px;
}
.section-eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.section-h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.03em;
  color: var(--primary); margin-bottom: 16px;
}
.section-lead { font-size: 1.1rem; color: var(--text-muted); line-height: 1.65; }
.text-gradient {
  background: linear-gradient(100deg, #ec4899 0%, #c0267a 55%, #f472b6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* feines Punktraster für helle Flächen */
.bg-dots {
  background-image: radial-gradient(rgba(10,14,26,0.07) 1px, transparent 1px);
  background-size: 22px 22px;
}
/* Körnung für dunkle Flächen */
.grain { position: relative; }
.grain::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ SEITENKOPF (Unterseiten) ============ */
.page-head {
  position: relative; overflow: hidden; color: white;
  padding: 80px 0 72px;
  background: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 55%, #2a1f35 100%);
}
.page-head.has-img { background: linear-gradient(100deg, rgba(10,14,26,0.96) 0%, rgba(10,14,26,0.86) 45%, rgba(42,20,40,0.55) 100%), var(--head-img) center / cover no-repeat; }
.page-head.has-img { padding: 104px 0 96px; }
@media (max-width: 800px) {
  .page-head.has-img { background: linear-gradient(180deg, rgba(10,14,26,0.62) 0%, rgba(10,14,26,0.82) 45%, rgba(10,14,26,0.95) 100%), var(--head-img-sm) center / cover no-repeat; padding: 64px 0 72px; }
}
.page-head::before {
  content: ''; position: absolute; top: -45%; right: -12%;
  width: 640px; height: 640px; pointer-events: none;
  background: radial-gradient(circle, rgba(163,25,91,0.32) 0%, transparent 60%);
  animation: glow-drift 14s ease-in-out infinite alternate;
}
@keyframes glow-drift { from { transform: translate(0, 0) scale(1); opacity: .85; } to { transform: translate(-70px, 50px) scale(1.15); opacity: 1; } }
.page-head .container { position: relative; z-index: 2; }
.crumb { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 20px; }
.crumb a:hover { color: white; }
.crumb span { margin: 0 6px; opacity: .5; }
.page-head h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 700; line-height: 1.06; letter-spacing: -0.03em;
  margin-bottom: 18px; max-width: 880px;
}
.page-head h1 .accent { color: var(--accent-light); }
.page-head .lead { font-size: 1.15rem; line-height: 1.6; color: rgba(255,255,255,0.8); max-width: 700px; margin-bottom: 28px; }
.head-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.head-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 100px; font-size: 13px; font-weight: 600;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); color: rgba(255,255,255,0.88);
}
.head-chip svg { width: 15px; height: 15px; color: var(--accent-light); }

/* ============ KARTEN: LEISTUNGEN ============ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  padding: 36px 30px; background: white;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .25s, box-shadow .3s, transform .3s var(--ease);
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), #ec4899);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.service-card:hover { border-color: rgba(163,25,91,0.45); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.06); background: var(--accent); color: white; }
.service-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; font-weight: 600; color: var(--primary); margin-bottom: 12px; letter-spacing: -0.01em; }
.service-card p { color: var(--text-muted); font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.service-tag { font-size: 12px; padding: 4px 10px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 100px; color: var(--text-muted); font-weight: 500; }
.service-link { color: var(--accent); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; transition: gap .2s; margin-top: auto; }
.service-card:hover .service-link, .service-link:hover { gap: 10px; }

.secondary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.secondary-card {
  display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: start;
  padding: 22px 22px 22px 24px; background: white;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
  transition: border-color .2s, box-shadow .25s, transform .25s var(--ease);
}
.secondary-card:hover { border-color: rgba(163,25,91,0.45); box-shadow: var(--shadow); transform: translateY(-2px); }
.secondary-icon {
  grid-row: span 3; width: 40px; height: 40px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s;
}
.secondary-icon svg { width: 20px; height: 20px; }
.secondary-card:hover .secondary-icon { background: var(--accent); color: white; }
.secondary-card h4, .secondary-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.05rem; font-weight: 600; color: var(--primary); margin-bottom: 6px; letter-spacing: -0.01em; }
.secondary-card p { color: var(--text-muted); font-size: 14px; line-height: 1.55; }
.secondary-card .more { font-size: 13px; font-weight: 600; color: var(--accent); margin-top: 8px; }

.secondary-services { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--border); }
.secondary-services-header { text-align: center; max-width: 580px; margin: 0 auto 40px; }
.secondary-services-header h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.6rem; font-weight: 600; color: var(--primary); margin-bottom: 10px; letter-spacing: -0.02em; }
.secondary-services-header p { color: var(--text-muted); font-size: 1rem; line-height: 1.55; }

/* Lichtkegel, der beim Darüberfahren der Maus folgt (Klasse .spot) */
.spot { --mx: 50%; --my: 50%; }
.spot::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(163,25,91,0.09), transparent 45%);
}
.spot:hover::after { opacity: 1; }

/* ============ INHALTE: Fließtext, Schritte, FAQ ============ */
.prose { font-size: 1.04rem; line-height: 1.75; color: #2b2f3a; }
.prose h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.45rem, 2.4vw, 1.85rem); line-height: 1.2; letter-spacing: -0.02em; color: var(--primary); margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.2rem; color: var(--primary); margin: 28px 0 8px; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 18px 0; padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 26px; margin-bottom: 9px; }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.prose ol { counter-reset: n; }
.prose ol li::before { counter-increment: n; content: counter(n); position: absolute; left: 0; top: .1em; font-size: 13px; font-weight: 700; color: var(--accent); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--primary); }

.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.highlight {
  display: flex; align-items: center; gap: 12px; padding: 16px 18px;
  background: white; border: 1px solid var(--border); border-radius: var(--radius-lg);
  font-weight: 600; font-size: 15px; color: var(--primary);
}
.highlight svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--accent); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; counter-reset: step; }
.step {
  position: relative; padding: 26px 22px 22px; background: white;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 700;
  color: transparent; -webkit-text-stroke: 1.5px var(--accent); margin-bottom: 10px; line-height: 1;
}
.step h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; color: var(--primary); margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--text-muted); line-height: 1.6; }

.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: white; border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: border-color .2s, box-shadow .2s;
}
.faq details[open] { border-color: rgba(163,25,91,0.4); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; position: relative;
  font-weight: 600; font-size: 1.02rem; color: var(--primary);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq .faq-a { padding: 0 22px 20px; color: var(--text-muted); line-height: 1.7; }

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

/* ============ FORMULARE ============ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.field label .opt { font-weight: 500; color: var(--text-light); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text);
  padding: 13px 15px; border: 1px solid var(--border-strong); border-radius: 12px; background: white;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(163,25,91,0.12); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--accent); flex-shrink: 0; }
.check a { color: var(--accent); text-decoration: underline; }
.hp { position: absolute !important; left: -9999px !important; }

/* ============ ABSCHLUSS-CTA ============ */
.final-cta {
  padding: 120px 0; color: white; text-align: center; position: relative; overflow: hidden;
  background:
    linear-gradient(135deg, rgba(10,14,26,0.93) 0%, rgba(20,15,30,0.88) 50%, rgba(45,20,40,0.92) 100%),
    url('/img/cta-bg-1600.webp') center / cover no-repeat;
}
.final-cta::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 640px; height: 640px; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(163,25,91,0.28) 0%, transparent 60%);
}
.final-cta > .container { position: relative; z-index: 2; }
.final-cta-slogan {
  font-family: 'Space Grotesk', sans-serif; font-style: italic; font-weight: 500; font-size: 0.95rem;
  color: var(--accent-light); letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 20px; display: inline-flex; align-items: center; gap: 12px;
}
.final-cta-slogan::before, .final-cta-slogan::after { content: ''; width: 24px; height: 1px; background: var(--accent-light); opacity: 0.6; }
.final-cta h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.1; margin-bottom: 20px; letter-spacing: -0.03em; }
.final-cta p { font-size: 1.15rem; color: rgba(255,255,255,0.78); max-width: 580px; margin: 0 auto 36px; line-height: 1.6; }
.final-cta-meta { margin-top: 32px; display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; font-size: 14px; color: rgba(255,255,255,0.65); }
.final-cta-meta a { color: rgba(255,255,255,0.88); }
.final-cta-meta a:hover { color: white; }
.final-cta-meta svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 6px; color: var(--accent-light); }

/* ============ FOOTER ============ */
footer { background: #050810; color: rgba(255,255,255,0.62); padding: 64px 0 32px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-slogan { font-family: 'Space Grotesk', sans-serif; font-style: italic; font-weight: 500; color: var(--accent-light); font-size: 14px; letter-spacing: 0.02em; margin-bottom: 20px; }
.footer-brand p { line-height: 1.6; max-width: 280px; }
footer .footer-h { color: white; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul a { color: rgba(255,255,255,0.62); transition: color .15s; }
footer ul a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 13px; color: rgba(255,255,255,0.6);
}
.footer-bottom a:hover { color: white; }

/* ============ BARRIEREFREIHEIT & BEWEGUNG ============ */
.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 300; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { left: 16px; }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid var(--accent-light); outline-offset: 3px; border-radius: 6px; }
.js-reveal [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-reveal [data-reveal].is-visible { opacity: 1; transform: none; }

/* ============ LOGO-ANIMATION: Zahnrad dreht sich, drei Lichtstriche ============ */
.logo-svg { display: block; height: 34px; width: auto; color: #231f20; overflow: visible; }
.footer-brand .logo-svg { color: #fff; height: 36px; margin-bottom: 12px; }
.lg-gear { transform-box: fill-box; transform-origin: center; animation: lg-gear 8s cubic-bezier(.65,0,.35,1) infinite; }
.lg-rays { opacity: 0; animation: lg-rays 8s ease-in-out infinite; }
@keyframes lg-gear { 0%, 50% { transform: rotate(0deg); } 76%, 100% { transform: rotate(90deg); } }
@keyframes lg-rays { 0%, 48% { opacity: 0; } 58%, 80% { opacity: 1; } 94%, 100% { opacity: 0; } }
@keyframes lg-spin { to { transform: rotate(360deg); } }
.logo:hover .lg-gear, .logo:focus-visible .lg-gear { animation: lg-spin 2.4s linear infinite; }
.logo:hover .lg-rays, .logo:focus-visible .lg-rays { animation: none; opacity: 1; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
  .services-grid, .secondary-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  section { padding: 64px 0; }
  .nav-toggle { display: inline-flex; }
  .nav-actions .nav-cta { display: none; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none !important; flex-direction: column; align-items: stretch; gap: 0;
    background: white; border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 36px rgba(10,14,26,0.10); padding: 6px 16px 18px;
  }
  .nav.open .nav-links { display: flex !important; }
  .nav-links a { display: block; padding: 15px 6px; font-size: 17px; border-radius: 0; border-bottom: 1px solid var(--border); }
  .nav-links a:hover { background: transparent; }
  .nav-links .nav-cta-mobile {
    display: flex; justify-content: center; margin-top: 14px; padding: 15px; border: none;
    border-radius: 100px; background: var(--accent); color: white; font-weight: 600;
  }
  .page-head { padding: 56px 0 52px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .highlights { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .final-cta { padding: 80px 0; }
}
@media (max-width: 640px) {
  .container, .container-narrow { padding: 0 16px; }
  .nav-inner { padding: 12px 16px; }
  .logo-svg { height: 28px; }
  .services-grid, .secondary-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { padding: 14px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .lg-gear, .lg-rays { animation: none !important; }
}

/* Videos (website/video/, eingebunden über build.py video_block) */
.video-figure { margin: 0 0 32px; }
.video-figure video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); background: #0a0e1a; box-shadow: var(--shadow); }
.video-figure figcaption { font-size: 13px; color: var(--text-light); margin-top: 8px; }

/* Links zu den Preisreihen (Energiepreise, Ratgeber, Preisseiten) */
.preis-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.preis-nav a { display: block; background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; transition: border-color .2s; }
.preis-nav a:hover { border-color: var(--accent); }
.preis-nav strong { display: block; color: var(--primary); } .preis-nav span { font-size: 13.5px; color: var(--text-muted); }
.preis-nav a.current { border-color: var(--accent); background: var(--accent-soft); }
