/* MediaHeroes – Grundgestaltung aus dem Design-Entwurf. Hintergrund nie Schwarz, immer dunkles Blau. */
@font-face { font-family: 'Titillium Web'; font-weight: 700; font-display: swap; src: url('/assets/fonts/titillium-web-700.woff2') format('woff2'); }
@font-face { font-family: 'Titillium Web'; font-weight: 600; font-display: swap; src: url('/assets/fonts/titillium-web-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/inter-var.woff2') format('woff2'); }
@property --mh-a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

:root {
  --rot: #A21646; --rot-dunkel: #6E1436; --akzent: #e35d88;
  --grund: #0F1D26; --flaeche: #142734; --linie: #1e3546; --linie-hell: #2a4559;
  --text: #f2f3f5; --text-2: #c4cad3; --text-3: #a9b1bc; --text-4: #8d96a3;
  --verlauf: linear-gradient(135deg, rgba(162,22,70,.12) 0%, rgba(162,22,70,0) 55%), var(--flaeche);
  --stark: linear-gradient(135deg, #2a1428 0%, #142734 60%);
  --radius: 20px;
  --titel: 'Titillium Web', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--grund); color: var(--text); font: 17px/1.6 Inter, system-ui, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--titel); font-weight: 700; line-height: 1.1; margin: 0 0 16px; text-wrap: balance; }
h1 { font-size: clamp(38px, 4.8vw, 62px); line-height: 1.05; }
h2 { font-size: clamp(30px, 3.2vw, 42px); }
h3 { font-size: 22px; }
p { margin: 0 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--rot); padding: 10px 16px; border-radius: 8px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.abschnitt { padding-top: 56px; padding-bottom: 56px; }
.eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--akzent); }
.lead, .gross { font-size: 18px; color: var(--text-2); max-width: 780px; }
.klein { font-size: 14px; color: var(--text-4); }
.akzent { color: var(--akzent); font-weight: 600; }
.leer { padding: 40px; text-align: center; border: 1px dashed #2c4a60; border-radius: var(--radius); color: var(--text-4); }

/* Knöpfe */
.btn { display: inline-block; background: var(--rot); color: #fff; font-weight: 600; padding: 15px 26px; border-radius: 12px; border: 0; cursor: pointer; font: inherit; font-weight: 600; transition: background .2s; }
.btn:hover { background: #b81d52; }
.btn--ghost { background: transparent; border: 1px solid var(--linie-hell); color: var(--text); }
.btn--ghost:hover { background: rgba(255,255,255,.04); }
.knoepfe { display: flex; gap: 12px; flex-wrap: wrap; }

/* Kopf: oben flache, volle Leiste über dem Hero; beim Scrollen (Klasse .kopf--pille aus site.js) schwebende Pille mit Milchglas */
.kopf { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 0; pointer-events: none; transition: padding .35s ease; }
.kopf__inner { pointer-events: auto; max-width: 100%; margin: 0 auto; display: flex; align-items: center; gap: 20px; min-height: 64px;
  padding: 10px max(24px, calc((100% - 1240px) / 2 + 24px));
  background: rgba(20,39,52,0); border: 1px solid transparent; border-radius: 0; box-shadow: none;
  transition: max-width .35s ease, padding .35s ease, border-radius .35s ease, background-color .35s ease, border-color .35s ease, box-shadow .35s ease; }
.kopf--pille, .kopf--offen { padding: 10px 16px; }
.kopf--pille .kopf__inner, .kopf--offen .kopf__inner { max-width: 1280px; padding: 8px 8px 8px 24px; border-radius: 999px;
  background: rgba(20,39,52,.82); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border-color: rgba(255,255,255,.09); box-shadow: 0 16px 40px -14px rgba(0,0,0,.8), 0 0 0 1px rgba(227,93,136,.1); }
.kopf__logo img { height: 36px; width: auto; }
.kopf__nav { margin: 0 auto; }
.kopf__nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.kopf__nav a { display: block; padding: 9px 14px; border-radius: 999px; color: var(--text-2); font-size: 15px; font-weight: 500; transition: background-color .2s, color .2s; }
.kopf__nav a:hover, .kopf__nav a:focus-visible { background: rgba(255,255,255,.07); color: var(--text); }
.kopf__nav .aktiv > a { background: rgba(162,22,70,.22); color: var(--text); }
.kopf__nav li { position: relative; }
.kopf__nav li ul { display: none; position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; min-width: 250px; list-style: none; margin: 0; padding: 8px;
  background: rgba(20,39,52,.97); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.09); border-radius: 22px; box-shadow: 0 20px 50px -16px rgba(0,0,0,.8); }
.kopf__nav li ul::before { content: ''; position: absolute; inset: -12px 0 auto; height: 12px; }   /* Hover-Brücke zur Pille */
.kopf__nav li ul a { border-radius: 14px; }
.kopf__nav li:hover > ul, .kopf__nav li:focus-within > ul { display: block; }
.kopf__tel { color: var(--text-2); font-size: 15px; white-space: nowrap; }
.kopf .btn { border-radius: 999px; padding: 12px 22px; font-size: 15px; white-space: nowrap; }
.kopf__burger { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--linie-hell); background: transparent; color: var(--text); font: inherit; font-size: 14px; cursor: pointer; }
@media (max-width: 1200px) and (min-width: 901px) { .kopf__tel { display: none; } }
@media (max-width: 900px) {
  .kopf__inner { flex-wrap: wrap; gap: 10px; padding-left: 18px; }
  .kopf--pille .kopf__inner { border-radius: 26px; }   /* gleicher Radius wie offen: kein Sprung über 999px beim Öffnen */
  .kopf--offen .kopf__inner { border-radius: 26px; background: rgba(20,39,52,.96); }
  .kopf__burger { display: block; width: auto; padding: 0 16px; margin-left: auto; }
  .kopf__nav { display: none; order: 3; flex-basis: 100%; margin: 0; padding: 6px 0 4px; border-top: 1px solid rgba(255,255,255,.08); }
  .kopf__nav.offen { display: block; max-height: calc(100dvh - 120px); overflow-y: auto; }
  .kopf__nav > ul { flex-direction: column; }
  .kopf__nav a { padding: 12px 16px; border-radius: 14px; font-size: 17px; }
  .kopf__nav li ul { position: static; display: block; translate: none; min-width: 0; border: 0; background: none; box-shadow: none; padding: 0 0 6px 14px; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .kopf__nav li ul a { font-size: 15px; color: var(--text-3); padding: 8px 16px; }
  .kopf__tel, .kopf .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) { .kopf, .kopf__inner { transition: none; } }

/* Hero mit Keyvisual im Anschnitt, ohne Animation und ohne Muster */
.hero { position: relative; overflow: hidden; padding: 124px 0 72px;
  background: radial-gradient(1100px 620px at 92% 0%, rgba(162,22,70,.24), rgba(162,22,70,0) 70%), radial-gradient(900px 520px at 0% 100%, rgba(36,70,98,.32), rgba(36,70,98,0) 70%); }
.hero__kv { position: absolute; width: 760px; right: -320px; top: -160px; opacity: .06; transform: rotate(-8deg); pointer-events: none; }
.hero .wrap { position: relative; }
.hero__grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero__text { flex: 1 1 min(520px, 100%); min-width: 0; }
.hero__intro { font-size: 19px; color: var(--text-3); max-width: 620px; }
.hero__bild { flex: 1 1 min(440px, 100%); aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; border: 1px solid var(--linie); }
.hero__bild img { width: 100%; height: 100%; object-fit: cover; }
.platzhalter { display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; color: var(--text-4); font-size: 14px; background: repeating-linear-gradient(135deg, #15293a 0 12px, #183041 12px 24px); }
.krumen ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 40px; padding: 0; font-size: 14px; color: var(--text-4); }
.krumen li + li::before { content: '/'; margin-right: 8px; }
.krumen a { color: var(--text-3); }

/* Karten und animierter Rahmen */
.karte { background: var(--verlauf); border: 1px solid var(--linie); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; transition: box-shadow .25s, transform .25s; }
.karte .icon, .fakten .icon, .preis .icon { color: var(--akzent); }
.karte p { margin: 0; color: var(--text-3); }
.karte--link:hover, .karte:hover { box-shadow: 0 0 0 1px rgba(227,93,136,.35), 0 10px 40px rgba(162,22,70,.25); }
.karte--link:hover { transform: translateY(-2px); }
.mehr { color: var(--akzent); font-weight: 600; font-size: 15px; margin-top: auto; }
.glow { position: relative; }
.glow::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--mh-a), transparent 0 70%, var(--akzent) 80%, transparent 90%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: mh-dreh 6s linear infinite; }
@keyframes mh-dreh { to { --mh-a: 360deg; } }
.haken { list-style: none; margin: 8px 0 0; padding: 16px 0 0; border-top: 1px solid var(--linie-hell); display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 500; color: var(--akzent); }
.haken li { padding-left: 20px; position: relative; }
.haken li::before { content: '›'; position: absolute; left: 4px; }

.raster { display: grid; gap: 16px; }
.raster--karten { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.raster--text { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 28px 48px; }
.raster--text p { color: var(--text-3); }
.raster--bilder { grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.raster--links { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 14px; }
.raster--links span { color: var(--text-3); font-size: 15px; }
.raster--preise { grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 14px; margin: 24px 0; }
.karte--bild { padding: 0 0 22px; overflow: hidden; }
.karte--bild > :not(img) { padding: 0 22px; }
.karte--bild img { aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 8px; }
.kopfzeile { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.kopfzeile a { color: var(--text-2); font-weight: 600; }

/* Kurz gesagt, Fakten, Preise */
.kurz { background: var(--verlauf); border: 1px solid var(--linie); border-radius: 24px; padding: clamp(24px, 3.5vw, 44px); display: flex; flex-wrap: wrap; gap: 36px; align-items: center; }
.kurz > div { flex: 1 1 min(420px, 100%); }
.fakten { flex: 1 1 min(440px, 100%); margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fakten > div, .preis { background: rgba(15,29,38,.6); border: 1px solid #243c4f; border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.fakten dt { font-size: 14px; color: var(--text-4); }
.fakten dd, .preis strong { margin: 0; font-family: var(--titel); font-weight: 700; font-size: 24px; line-height: 1.2; }
.preis strong { font-size: 28px; }
.preis__label { font-size: 15px; color: var(--text-2); font-weight: 600; }
.fakten--leiste { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-bottom: 40px; }
.preise { background: var(--stark); border: 1px solid #4a2238; border-radius: 28px; padding: clamp(28px, 4vw, 52px); }
.zweispaltig { display: flex; flex-wrap: wrap; gap: 40px; }
.zweispaltig > * { flex: 1 1 min(380px, 100%); min-width: 0; }
.schritte { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: schritt; }
.schritte li { counter-increment: schritt; flex-direction: row; gap: 18px; padding: 20px 22px; }
.schritte li::before { content: '0' counter(schritt); font-family: var(--titel); font-weight: 700; font-size: 22px; color: var(--akzent); width: 32px; flex: none; }
.schritte li strong { display: block; font-size: 18px; }
.schritte li span { color: var(--text-3); font-size: 15px; display: block; }

/* FAQ */
.faq { display: flex; flex-wrap: wrap; gap: 40px; }
.faq__kopf { flex: 1 1 320px; }
.faq__liste { flex: 1 1 min(560px, 100%); display: flex; flex-direction: column; gap: 12px; }
.faq details { padding: 18px 22px; gap: 0; }
.faq summary { font-weight: 600; font-size: 18px; cursor: pointer; }
.faq details p { margin-top: 10px; }

/* Ratgeberartikel */
.artikel { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.artikel__inhalt { flex: 0 1 240px; position: sticky; top: 96px; background: var(--verlauf); border: 1px solid var(--linie); border-radius: 18px; padding: 18px 22px; }
.artikel__inhalt ol { margin: 0; padding-left: 18px; font-size: 15px; }
.artikel__inhalt a { display: block; padding: 6px 0; color: var(--text-2); }
.artikel__text { flex: 1 1 min(640px, 100%); max-width: 760px; }
.artikel__text h2 { margin-top: 48px; font-size: clamp(26px, 2.6vw, 32px); scroll-margin-top: 90px; }
.artikel__text p, .artikel__text li { font-size: 18px; line-height: 1.75; color: var(--text-2); }
.artikel__text ul { padding-left: 20px; }
.artikel__text .schritte li { display: block; padding: 16px 0; border-top: 1px solid var(--linie); }
.artikel__text .schritte li::before { display: inline-block; margin-right: 12px; }
.tabelle { overflow-x: auto; border: 1px solid var(--linie-hell); border-radius: 16px; margin: 0 0 18px; }
.tabelle table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 16px; }
.tabelle th, .tabelle td { padding: 14px 18px; text-align: left; }
.tabelle thead { background: rgba(15,29,38,.6); }
.tabelle tbody tr { border-top: 1px solid #243c4f; }
.tipp { background: var(--verlauf); border: 1px solid var(--linie); border-radius: 16px; padding: 18px 22px; margin: 0 0 18px; }
.tipp p { margin: 0; font-size: 17px; }
.autor { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding: 22px 0; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.textseite { max-width: 820px; }

/* Kontakt */
.kontakt__box { background: var(--stark); border: 1px solid #4a2238; border-radius: 28px; padding: clamp(28px, 4vw, 52px); display: flex; flex-wrap: wrap; gap: 40px; }
.kontakt__text { flex: 1 1 min(340px, 100%); }
.kontakt__text p { color: var(--text-2); }
.kontakt__direkt { display: flex; flex-direction: column; gap: 10px; }
.kontakt__direkt a { display: inline-flex; gap: 10px; align-items: center; font-weight: 600; }
.formular { flex: 1.4 1 min(480px, 100%); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.formular label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--text-2); }
.formular input, .formular select, .formular textarea { font: inherit; color: var(--text); background: rgba(15,29,38,.7); border: 1px solid var(--linie-hell); border-radius: 10px; padding: 12px 14px; }
.formular [aria-invalid="true"] { border-color: var(--akzent); }
.formular .breit { grid-column: 1 / -1; }
.formular__meldung { min-height: 1.5em; color: var(--akzent); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) { .formular { grid-template-columns: 1fr; } }

/* Fuß */
.fuss { border-top: 1px solid #1b3040; margin-top: 40px; padding: 48px 0; color: var(--text-3); font-size: 15px; }
.fuss__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.fuss a:hover { color: var(--text); }
.fuss__titel { font-weight: 600; color: var(--text); margin-bottom: 12px; }

/* Sanftes Einblenden beim Scrollen, nur wo der Browser es kann */
/* Scroll-Effekte: per IntersectionObserver in site.js, funktioniert in Safari, Chrome und Firefox.
   Ohne JavaScript oder bei „Bewegung reduzieren“ ist alles sofort sichtbar. */
html.ani .ein { opacity: 0; transform: translateY(48px); transition: opacity .8s ease, transform .9s cubic-bezier(.16,.84,.3,1); transition-delay: var(--ein-d, 0s); will-change: opacity, transform; }
html.ani .ein--seite { transform: translateX(-40px); }
html.ani .ein--zoom { transform: translateY(32px) scale(.94); }
html.ani .ein.da { opacity: 1; transform: none; }
html.ani .ein-bild { overflow: hidden; }
html.ani .ein-bild img { transform: scale(1.12); transition: transform 1.4s cubic-bezier(.16,.84,.3,1); transition-delay: var(--ein-d, 0s); }
html.ani .ein-bild.da img { transform: none; }

/* Hero: Text und Bild kommen beim Laden herein */
@keyframes hero-ein { from { opacity: 0; transform: translateY(28px); } }
@keyframes hero-bild { from { opacity: 0; transform: translateX(40px) scale(.97); } }
.hero__text > * { animation: hero-ein .9s cubic-bezier(.16,.84,.3,1) both; }
.hero__text > :nth-child(2) { animation-delay: .08s; } .hero__text > :nth-child(3) { animation-delay: .16s; }
.hero__text > :nth-child(4) { animation-delay: .24s; } .hero__text > :nth-child(5) { animation-delay: .32s; }
.hero__bild, .collage { animation: hero-bild 1.1s .2s cubic-bezier(.16,.84,.3,1) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Preisrechner */
.rechner__form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 24px 0; align-items: start; }
.rechner__form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.rechner__form legend { font-weight: 600; margin-bottom: 10px; color: var(--text-2); }
.wahl { display: flex; flex-direction: column; gap: 8px; }
.wahl label { cursor: pointer; }
.wahl input { position: absolute; opacity: 0; }
.wahl span { display: flex; flex-direction: column; padding: 12px 16px; border: 1px solid #243c4f; border-radius: 14px; background: rgba(15,29,38,.6); transition: border-color .2s, background .2s; }
.wahl small { color: var(--text-4); font-size: 13px; }
.wahl input:checked + span { border-color: var(--akzent); background: rgba(162,22,70,.18); }
.wahl input:focus-visible + span { outline: 2px solid var(--akzent); outline-offset: 2px; }
.rechner__ergebnis { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding: 22px 24px; border-radius: 18px; background: rgba(15,29,38,.7); border: 1px solid #4a2238; }
.rechner__ergebnis strong { font-family: var(--titel); font-size: clamp(32px, 4vw, 44px); line-height: 1; }
.rechner__ergebnis .btn { margin-left: auto; }
.rechner__tabelle { margin-top: 8px; }
@media (max-width: 760px) { .rechner__form { grid-template-columns: 1fr; } .rechner__ergebnis .btn { margin-left: 0; } }

/* Chat-Assistent */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.chat__start { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 10px; }
.chat__start[hidden], .chat__fenster[hidden] { display: none; }
.chat__bubble { background: var(--flaeche); border: 1px solid var(--linie-hell); border-radius: 999px; padding: 8px 14px; font-size: 14px; color: var(--text-2); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.chat__knopf { width: 60px; height: 60px; border-radius: 50%; background: var(--rot); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 36px -6px rgba(162,22,70,.7); }
.chat__fenster { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 380px; max-width: calc(100vw - 32px); height: 600px; max-height: calc(100vh - 40px); display: flex; flex-direction: column; background: var(--grund); border: 1px solid var(--linie-hell); border-radius: 22px; overflow: hidden; font-size: 15px; box-shadow: 0 24px 60px -10px rgba(0,0,0,.6), 0 0 0 1px rgba(227,93,136,.15); }
.chat__kopf { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--stark); border-bottom: 1px solid #243c4f; }
.chat__avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--rot); display: flex; align-items: center; justify-content: center; font-family: var(--titel); font-weight: 700; }
.chat__titel { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.chat__titel span { font-size: 12px; color: var(--text-3); }
.chat__icon { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--linie-hell); background: transparent; color: var(--text); display: flex; align-items: center; justify-content: center; cursor: pointer; font: inherit; font-size: 13px; }
.chat__icon[hidden] { display: none; }
.chat__hinweis { margin: 0; padding: 8px 16px; font-size: 12px; color: var(--text-2); background: rgba(162,22,70,.14); border-bottom: 1px solid #243c4f; }
.chat__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.chat__msg { max-width: 85%; padding: 10px 14px; white-space: pre-line; }
.chat__msg--bot { align-self: flex-start; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 16px 16px 16px 4px; color: #e6e8eb; }
.chat__msg--bot a { color: var(--akzent); font-weight: 600; }
.chat__msg--du { align-self: flex-end; background: var(--rot); border-radius: 16px 16px 4px 16px; color: #fff; }
.chat__msg--sys { align-self: center; font-size: 12px; color: var(--text-4); border: 1px dashed #2c4a60; border-radius: 999px; padding: 4px 12px; }
.chat__chips { padding: 10px 16px 6px; display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid #1b3040; }
.chat__chip { font: inherit; font-size: 13px; font-weight: 500; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--rot); background: rgba(162,22,70,.12); color: var(--text); cursor: pointer; }
.chat__chip:hover { background: rgba(162,22,70,.28); }
.chat__eingabe { display: flex; gap: 8px; padding: 8px 12px 12px; }
.chat__eingabe label { flex: 1; display: flex; }
.chat__eingabe input { flex: 1; min-width: 0; font: inherit; color: var(--text); background: var(--flaeche); border: 1px solid var(--linie-hell); border-radius: 12px; padding: 10px 12px; }
.chat__eingabe button { flex: none; width: 44px; border-radius: 12px; border: 0; background: var(--rot); color: #fff; cursor: pointer; font-size: 16px; }
.chat__formular { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.chat__formular label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--text-2); }
.chat__formular label[hidden] { display: none; }
.chat__formular input, .chat__formular textarea { font: inherit; color: var(--text); background: var(--grund); border: 1px solid var(--linie-hell); border-radius: 10px; padding: 9px 12px; }
.chat__formular a { color: var(--akzent); }
.chat__fehler { margin: 0; color: var(--akzent); font-size: 13px; }
.chat__fehler:empty { display: none; }
@media (max-width: 600px) {
  .chat__bubble { display: none; }
  .chat__fenster { right: 0; bottom: 0; width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
}
@media print { .chat { display: none; } }

/* ---------- Startseite ---------- */
.hero--start { padding: 172px 0 72px; }
.hero--start .hero__kv { width: 820px; right: -300px; top: -120px; }
.hero--start h1 { font-size: clamp(40px, 5.2vw, 68px); line-height: 1.04; letter-spacing: -.01em; }
.hero--start .hero__text { display: flex; flex-direction: column; gap: 22px; }
.hero--start .hero__text > * { margin: 0; }
.pille { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--text-2); border: 1px solid #243c4f; border-radius: 999px; padding: 6px 14px 6px 8px; }
.pille span { background: var(--rot); color: #fff; border-radius: 999px; padding: 2px 10px; font-size: 13px; }

/* Collage: vier Flächen, schweben unabhängig, verlinken auf die Bereiche */
.collage { flex: 1 1 min(520px, 100%); min-width: 0; position: relative; aspect-ratio: 6 / 5; max-width: 640px; }
.stueck { position: absolute; color: var(--text); background: var(--verlauf); border: 1px solid var(--linie); border-radius: 20px; transition: scale .25s, border-color .25s, box-shadow .3s; }
.stueck:hover, .stueck:focus-visible { scale: 1.03; z-index: 3; border-color: var(--rot); box-shadow: 0 0 0 1px rgba(227,93,136,.35), 0 14px 44px -10px rgba(162,22,70,.6); }
.stueck__tag { position: absolute; left: 14px; top: -13px; z-index: 2; background: var(--grund); border: 1px solid var(--linie-hell); font-size: 13px; font-weight: 600; padding: 3px 11px; border-radius: 999px; transition: background .25s, border-color .25s; }
.stueck__tag--rot { background: var(--rot); border-color: var(--rot); }
.stueck__tag--rechts { left: auto; right: 16px; }
.stueck:hover .stueck__tag, .stueck:focus-visible .stueck__tag { background: var(--rot); border-color: var(--rot); }
.stueck--web { left: 0; top: 6%; width: 80%; height: 62%; display: flex; }
.browser { flex: 1; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; }
.browser__leiste { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--linie); }
.browser__leiste i { width: 10px; height: 10px; border-radius: 50%; background: var(--linie-hell); }
.browser__leiste b { margin-left: 10px; flex: 1; height: 18px; border-radius: 999px; background: var(--grund); }
.browser__inhalt { flex: 1; display: flex; gap: 18px; padding: 22px; }
.browser__text { flex: 1.2; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.browser__text i { display: block; height: 8px; border-radius: 4px; background: var(--linie-hell); }
.browser__text .z1, .browser__text .z2 { height: 14px; background: var(--text); }
.browser__text .z1 { width: 92%; } .browser__text .z2 { width: 70%; } .browser__text .z3 { width: 85%; margin-top: 6px; } .browser__text .z4 { width: 60%; }
.browser__text .knopf { height: 26px; width: 46%; border-radius: 8px; background: var(--rot); margin-top: 10px; }
.browser__bild { flex: 1; border-radius: 12px; background: linear-gradient(135deg, var(--rot), var(--rot-dunkel)); }
.stueck--marketing { right: 2%; top: 0; width: 34%; border-radius: 16px; padding: 22px 16px 14px; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.stueck--marketing .klein { display: block; margin-bottom: 8px; color: var(--text-3); }
.stueck--karte { left: 3%; bottom: 4%; width: 38%; aspect-ratio: 85 / 55; background: #f5f0f2; border: 0; border-radius: 10px; rotate: -7deg; box-shadow: 0 22px 44px rgba(0,0,0,.45); padding: 7% 8%; display: flex; flex-direction: column; justify-content: space-between; color: var(--grund); }
.stueck--karte img { width: 26%; height: auto; }
.karte__zeilen { display: flex; flex-direction: column; gap: 6px; }
.karte__zeilen i { display: block; height: 7px; width: 64%; border-radius: 3px; background: var(--grund); }
.karte__zeilen i + i { height: 5px; width: 44%; background: var(--rot); }
.stueck--fahrzeug { right: 0; bottom: 0; width: 60%; padding: 22px 18px 12px; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
@keyframes schweben { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.schwebt-a { animation: schweben 9s ease-in-out infinite; }
.schwebt-b { animation: schweben 7s ease-in-out -2s infinite; }
.schwebt-c { animation: schweben 8s ease-in-out -5s infinite; }
.schwebt-d { animation: schweben 10s ease-in-out -3s infinite; }
@media (max-width: 600px) { .collage { aspect-ratio: 1 / 1.05; } .stueck__tag { font-size: 12px; } .stueck--marketing { width: 40%; } }

/* Kundenlogos: grau, beim Hover in Originalfarbe, als Laufband ab 6 Logos */
.kunden { padding: 28px 0; border-top: 1px solid #1b3040; border-bottom: 1px solid #1b3040; }
.kunden__titel { margin-bottom: 14px; text-align: center; }
.laufband { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.laufband__spur { display: flex; width: max-content; animation: laufband 40s linear infinite; }
.laufband:hover .laufband__spur, .laufband:focus-within .laufband__spur { animation-play-state: paused; }
@keyframes laufband { to { transform: translateX(-50%); } }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin: 0; padding: 0 8px; list-style: none; }
.laufband .logos { flex-wrap: nowrap; }
.logo { flex: none; height: 64px; min-width: 150px; padding: 0 22px; border: 1px solid transparent; border-radius: 14px; display: flex; align-items: center; justify-content: center; transition: background-color .3s, border-color .3s; }
.logo__bild { position: relative; display: grid; place-items: center; }
.logo__bild img { grid-area: 1 / 1; max-height: 34px; max-width: 150px; width: auto; transition: opacity .3s; }
.logo__farbe { opacity: 0; }
.logo:hover .logo__grau { opacity: 0; }
.logo:hover .logo__farbe { opacity: 1; }
.logo__wort { font-family: var(--titel); font-weight: 700; font-size: 20px; color: var(--text-4); white-space: nowrap; transition: color .3s; }
.logo:hover { background: #f5f0f2; border-color: #f5f0f2; }
.logo:hover .logo__wort { color: var(--grund); }

.raster--vier { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.flotte { align-items: center; }
.flotte__zahlen { margin: 0; display: grid; gap: 12px; }
.flotte__zahlen > div { display: flex; align-items: baseline; gap: 16px; padding: 16px 20px; border-radius: 16px; background: rgba(15,29,38,.6); border: 1px solid #243c4f; }
.flotte__zahlen dd { margin: 0; font-family: var(--titel); font-weight: 700; font-size: 36px; color: var(--akzent); min-width: 90px; }
.flotte__zahlen dt { color: var(--text-2); }
.karte__platz { aspect-ratio: 4 / 3; margin-bottom: 8px; }

.teaser { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.teaser > div { flex: 1 1 min(420px, 100%); }
.teaser__wahl { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.teaser__wahl[hidden] { display: none; }
.teaser__wahl input { position: absolute; opacity: 0; }
.teaser__wahl span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--linie-hell); font-size: 14px; cursor: pointer; }
.teaser__wahl input:checked + span { background: var(--rot); border-color: var(--rot); }
.teaser__wahl input:focus-visible + span { outline: 2px solid var(--akzent); outline-offset: 2px; }
.teaser__preis { font-size: 18px; color: var(--text-2); }

.insta { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(180px, 46%), 1fr)); gap: 12px; }
.insta__beitrag { padding: 0; overflow: hidden; gap: 0; position: relative; }
.insta__beitrag img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.insta__text { position: absolute; inset: auto 0 0 0; padding: 30px 12px 10px; font-size: 13px; color: #fff; background: linear-gradient(transparent, rgba(15,29,38,.92)); opacity: 0; transition: opacity .25s; }
.insta__beitrag:hover .insta__text, .insta__beitrag:focus-visible .insta__text { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .laufband__spur { animation: none; } .logos[aria-hidden] { display: none; } .laufband { -webkit-mask-image: none; mask-image: none; } .laufband .logos { flex-wrap: wrap; } }

.folien .logos { justify-content: space-between; padding: 0; gap: 12px 20px; }
.folien .logo:first-child { padding-left: 0; justify-content: flex-start; } .folien .logo:last-child { padding-right: 0; justify-content: flex-end; }
.folien .kopfzeile .klein { max-width: 360px; margin: 0; }
.folien .logo { min-width: 0; padding: 0 16px; }

/* Referenz-Galerie: Bilder in ihrem Format, Hochformate nehmen zwei Zeilen */
.galerie__titel { margin-top: 48px; }
.galerie { columns: 3 300px; column-gap: 14px; }
.galerie__bild { display: block; margin-bottom: 14px; break-inside: avoid; border-radius: 18px; overflow: hidden; border: 1px solid var(--linie); }
.galerie__bild img { display: block; width: 100%; height: auto; transition: transform .4s ease; }
.galerie__bild:hover img { transform: scale(1.03); }
.referenz__leistungen { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 32px; }
.referenz__leistungen .klein { margin-right: 6px; color: var(--text-3); }
.leistungslink { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--linie); color: inherit; text-decoration: none; }
.leistungslink:hover { border-color: var(--rot); color: #fff; }
@media (prefers-reduced-motion: reduce) { .galerie__bild img { transition: none; } }

/* Start-Hero mit echten Fotos */
.collage--fotos .stueck img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.stueck--gross { left: 0; top: 6%; width: 78%; height: 60%; overflow: visible; }
.stueck--gross img, .stueck--web-foto img { border-radius: 19px; }
.stueck--foto-karte { left: 2%; bottom: 3%; width: 40%; aspect-ratio: 4 / 3; rotate: -6deg; border: 6px solid #f5f0f2; border-radius: 12px; box-shadow: 0 22px 44px rgba(0,0,0,.5); }
.stueck--foto-karte img { border-radius: 6px; }
.stueck--web-foto { right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; box-shadow: 0 18px 40px rgba(0,0,0,.45); }

/* Bilder in Leistungs- und Verwandt-Karten */
.karte__bild { width: calc(100% + 52px); max-width: none; margin: -26px -26px 6px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.karte__icon { width: 48px; height: 48px; border-radius: 14px; background: rgba(162,22,70,.16); color: var(--akzent); display: flex; align-items: center; justify-content: center; }
.karte--verwandt { overflow: hidden; }
.karte--verwandt .karte__bild { aspect-ratio: 16 / 9; }

/* Gut zu wissen: hebt sich als eigene Fläche ab */
.wissen { background: linear-gradient(135deg, rgba(162,22,70,.22), rgba(110,20,54,.08) 60%), var(--flaeche); border: 1px solid rgba(227,93,136,.35); border-radius: 24px; padding: clamp(24px, 4vw, 48px); }
.wissen .raster--text { margin-top: 10px; }
.wissen__block { border-left: 3px solid var(--rot); padding-left: 18px; }
.wissen__block p { color: var(--text-2) !important; }

/* Anfahrt mit Karte nach Klick */
.anfahrt { align-items: stretch; }
.karte-osm { position: relative; min-height: 360px; border-radius: 24px; overflow: hidden; border: 1px solid var(--linie); background: #13283a; }
.karte-osm iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.karte-osm__platz { position: absolute; inset: 0; background:
  linear-gradient(90deg, transparent 47%, #23405a 47%, #23405a 50%, transparent 50%) 0 0 / 180px 100%,
  linear-gradient(0deg, transparent 58%, #23405a 58%, #23405a 60%, transparent 60%) 0 0 / 100% 140px,
  linear-gradient(35deg, transparent 49%, #2c4a62 49%, #2c4a62 52%, transparent 52%), #162b3c; opacity: .7; }
.karte-osm__pin { position: absolute; left: 50%; top: 42%; translate: -50% -50%; width: 56px; height: 56px; border-radius: 50%; background: var(--rot); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 10px rgba(162,22,70,.25); }
.karte-osm__hinweis { position: absolute; left: 20px; right: 20px; bottom: 20px; background: rgba(15,29,38,.92); border: 1px solid var(--linie); border-radius: 16px; padding: 16px 18px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.karte-osm__hinweis p { margin: 0; flex: 1 1 260px; font-size: 14px; color: var(--text-2); }

/* ---------- Feinschliff Abstände (29.11.2026): ein Raster für alle Seiten ---------- */
:root { --abstand: clamp(44px, 5.5vw, 64px); --nach-titel: 32px; }
.abschnitt { padding-top: var(--abstand); padding-bottom: var(--abstand); }
h1 { font-size: clamp(32px, 4.8vw, 62px); hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
h2 { margin-bottom: 20px; }
.eyebrow { margin-bottom: 12px; }
.lead { margin: 0 0 var(--nach-titel); }
.abschnitt h2 + :is(.raster, .galerie, .logos, .faq__liste, .zweispaltig, div, ul, ol),
.abschnitt .lead + :is(.raster, .galerie) { margin-top: var(--nach-titel); }
.kopfzeile { margin-bottom: var(--nach-titel); }
.kopfzeile h2, .kopfzeile p { margin-bottom: 0; }
.kopfzeile > div > .eyebrow { margin-bottom: 12px; }
.karte h3 { margin: 0; }
.raster--karten, .raster--links { gap: 16px; }

/* Logo größer */
.kopf__logo img { height: 46px; }
@media (max-width: 900px) { .kopf__logo img { height: 40px; } }

/* Hero: weniger Luft unter der Leiste, vor allem mobil */
.hero { padding: 120px 0 var(--abstand); }
.hero--start { padding: 160px 0 var(--abstand); }
.krumen ol { margin-bottom: 32px; }
@media (max-width: 900px) {
  .hero { padding-top: 92px; }
  .hero--start { padding-top: 100px; }
  .krumen ol { margin-bottom: 24px; }
  .hero__grid { gap: 36px; }
}

/* Icons in Leistungskarten präsenter: farbige Fläche statt nur Linie */
.karte > svg:first-child, .fakten > div > svg:first-child, .preis > svg:first-child {
  width: 56px; height: 56px; padding: 13px; border-radius: 16px; flex: none;
  background: linear-gradient(135deg, rgba(162,22,70,.32), rgba(110,20,54,.14)); border: 1px solid rgba(227,93,136,.35); color: #f08bab; }
.fakten > div > svg:first-child, .preis > svg:first-child { width: 44px; height: 44px; padding: 10px; border-radius: 12px; }
.karte > svg:first-child + h3 { margin-top: 6px; }

/* Ablauf: Titel und Text untereinander, auch mobil sauber */
.schritte li { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; row-gap: 4px; align-items: start; }
.schritte li::before { grid-row: 1 / span 2; width: auto; line-height: 1.2; }
.schritte li strong, .schritte li span { grid-column: 2; }

/* Fakten: mobil zwei Spalten, die nicht umbrechen */
.fakten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fakten dd { font-size: clamp(20px, 1.2vw + 14px, 24px); }

/* Gut zu wissen: gleicher Abstand zwischen Titel und Blöcken wie zwischen den Blöcken */
.wissen h2 { margin-bottom: var(--nach-titel); }
.wissen .raster--text { margin-top: 0; gap: 32px 48px; }
.wissen__block h3 { margin-bottom: 10px; }
.wissen__block p { margin: 0; }

/* Folien-Kopfzeile mobil ohne Lücke */
@media (max-width: 700px) { .folien .kopfzeile { gap: 8px; } .folien .logos { justify-content: space-between; } }

/* Kopf: Logo größer, Navigation bleibt einzeilig */
.kopf__nav a { white-space: nowrap; }
@media (max-width: 1320px) and (min-width: 901px) { .kopf__tel { display: none; } .kopf__nav a { padding: 9px 11px; } }
@media (max-width: 1060px) and (min-width: 901px) { .kopf__logo img { height: 40px; } .kopf__nav a { padding: 8px 8px; font-size: 14px; } .kopf .btn { padding: 11px 16px; } }

/* Verwandte Karten: gleich hoch, Ratgeber-Hinweis liegt auf dem Bild */
.raster--links { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.karte--verwandt { position: relative; }
.karte--verwandt .karte__bild ~ .eyebrow { position: absolute; top: 12px; left: 12px; margin: 0; padding: 4px 10px; border-radius: 999px; background: rgba(15,29,38,.88); color: var(--akzent); }
.karte--verwandt .karte__icon + .eyebrow { margin: 0; }
.fuss { margin-top: 0; }

/* Ratgeber mobil: Text darf nie breiter als der Bildschirm werden (Tabellen scrollen in sich) */
.artikel__text { min-width: 0; }
@media (max-width: 900px) {
  .artikel { gap: 28px; }
  .artikel__inhalt { position: static; flex: 1 1 100%; }
}
.fakten dd { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; min-width: 0; }
.fakten > div { min-width: 0; }
h2, h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.formular > *, .formular label { min-width: 0; }
.formular input, .formular select, .formular textarea { width: 100%; min-width: 0; }

.kurz--artikel { display: block; margin-bottom: 8px; }
.artikel__text .eyebrow { font-size: 13px; line-height: 1.4; color: var(--akzent); margin: 0 0 12px; }
.kurz--artikel .gross p { margin: 0; font-size: 19px; color: var(--text); }
.artikel__text h2:first-of-type { margin-top: 40px; }

/* Einwilligung für Analyse und Werbung (nur aktiv, wenn konfiguriert) */
.einwilligung { position: fixed; left: 20px; bottom: 20px; z-index: 70; width: min(520px, calc(100vw - 40px)); background: var(--flaeche); border: 1px solid var(--linie-hell); border-radius: 22px; padding: 22px 24px; box-shadow: 0 24px 60px -10px rgba(0,0,0,.6), 0 0 0 1px rgba(227,93,136,.15); font-size: 15px; }
.einwilligung[hidden] { display: none; }
.einwilligung__titel { font-size: 22px; margin: 0 0 8px; }
.einwilligung p { color: var(--text-2); margin: 0 0 14px; }
.einwilligung a { color: var(--akzent); }
.einwilligung__wahl { display: flex; flex-direction: column; gap: 10px; margin: 0 0 16px; }
.einwilligung__wahl[hidden] { display: none; }
.einwilligung__wahl label { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--linie); border-radius: 12px; cursor: pointer; }
.einwilligung__wahl input { margin-top: 4px; accent-color: var(--rot); }
.einwilligung__wahl span { display: flex; flex-direction: column; color: var(--text-3); font-size: 14px; }
.einwilligung__wahl strong { color: var(--text); font-size: 15px; }
.einwilligung__knoepfe { display: flex; flex-wrap: wrap; gap: 8px; }
.einwilligung__knoepfe .btn { flex: 1 1 140px; padding: 12px 16px; font-size: 15px; text-align: center; }
.einwilligung__knoepfe [hidden] { display: none; }
.fuss__link { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.fuss__link:hover { color: var(--text); }
@media (max-width: 600px) { .einwilligung { left: 10px; right: 10px; bottom: 10px; width: auto; } }

/* USP-Leiste unter dem Hero der Unterseiten */
.usp { border-top: 1px solid #1b3040; border-bottom: 1px solid #1b3040; background: rgba(20,39,52,.35); }
.usp__liste { list-style: none; margin: 0 auto; padding-top: 26px; padding-bottom: 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px 32px; }
.usp__liste li { display: flex; align-items: center; gap: 14px; }
.usp__liste svg { flex: none; color: var(--akzent); }
.usp__liste li > span { display: flex; flex-direction: column; line-height: 1.35; }
.usp__liste strong { font-size: 16px; }
.usp__liste li > span > span { font-size: 14px; color: var(--text-4); }
@media (max-width: 600px) { .usp__liste { grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 20px; padding-bottom: 20px; } .usp__liste svg { width: 28px; height: 28px; } .usp__liste li { align-items: flex-start; gap: 10px; } }

/* Fuß hebt sich mit leichtem Verlauf ab, passend zum Hero */
.fuss { position: relative; overflow: hidden; border-top: 1px solid #1b3040;
  background: radial-gradient(1100px 560px at 100% 100%, rgba(162,22,70,.34), rgba(162,22,70,0) 70%), radial-gradient(900px 480px at 0% 0%, rgba(36,70,98,.4), rgba(36,70,98,0) 70%), #0d1a22; }
.fuss > .wrap > div:first-child > img { height: 46px; width: auto; margin-bottom: 14px; }
.fuss__social { flex-direction: row !important; gap: 10px !important; margin-top: 18px !important; }
.fuss__social a { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--linie-hell); color: var(--text-2); transition: background-color .2s, border-color .2s, color .2s; }
.fuss__social a:hover { background: var(--rot); border-color: var(--rot); color: #fff; }

/* Gleichmäßige Raster: 6 Karten = 3 + 3, 4 = eine Reihe, 7 = 4 + 3; Preise bis 5 in einer Reihe */
@media (min-width: 900px) {
  .raster--karten.raster--n3, .raster--karten.raster--n5, .raster--karten.raster--n6, .raster--karten.raster--n9 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .raster--karten.raster--n4, .raster--karten.raster--n7, .raster--karten.raster--n8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .raster--karten.raster--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .raster--preise.raster--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .raster--preise.raster--n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .raster--preise.raster--n5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 600px) and (max-width: 899px) {
  .raster--karten.raster--n4, .raster--karten.raster--n6, .raster--karten.raster--n8, .raster--preise.raster--n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.karte .mehr { margin-top: auto; padding-top: 6px; }

/* Beispielbilder auf Leistungsseiten */
.beispiele__raster { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) {
  .beispiele--n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .beispiele--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.beispiele--n3 > li:first-child:nth-last-child(3) { }
.beispiel { position: relative; display: block; border-radius: 18px; overflow: hidden; border: 1px solid var(--linie); aspect-ratio: 4 / 3; }
.beispiel img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
a.beispiel:hover img { transform: scale(1.05); }
.beispiel__titel { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 12px; font-size: 14px; font-weight: 600; color: #fff;
  background: linear-gradient(transparent, rgba(15,29,38,.92)); }
@media (max-width: 899px) { .beispiele--n3 > li:last-child { grid-column: 1 / -1; } .beispiele--n3 > li:last-child .beispiel { aspect-ratio: 16 / 9; } }

/* Bilder im Ratgeber */
.artikel__bild { margin: 28px 0 8px; }
.artikel__bild img { width: 100%; border-radius: 18px; border: 1px solid var(--linie); aspect-ratio: 16 / 10; object-fit: cover; }
.artikel__bild figcaption { margin-top: 10px; font-size: 14px; color: var(--text-4); }

/* Mobil: Keyvisual kleiner und weiter im Bild, damit der Anschnitt sichtbar bleibt */
@media (max-width: 700px) {
  .hero__kv, .hero--start .hero__kv { width: 440px; right: -170px; top: -40px; opacity: .1; }
}

/* Hinweis Nettopreise */
.kurz__hinweis { flex-basis: 100%; margin: -16px 0 0; font-size: 13px; color: var(--text-4); text-align: right; }
.preishinweis { font-size: 13px; color: var(--text-4); margin-top: 8px; margin-bottom: 40px; }

/* Barrierefreiheit: Links im Fließtext nicht nur über Farbe erkennbar */
.textseite p a, .textseite li a, .textseite td a, .artikel__text p a, .artikel__text li a, .einwilligung p a, .formular p a, .tipp a, .faq p a, .kurz p a, .lead a, .wissen p a {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.textseite h2 { font-size: 22px; margin-top: 36px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
.preis__netto { font-size: 13px; color: var(--text-3); margin-top: -4px; }
.flotte__zahlen-titel { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin: 0 0 12px; }

/* Hero: weicher Bildwechsel auf Leistungsseiten */
.hero__wechsel { position: relative; }
.hero__wechsel img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease, transform 7s ease-out; transform: scale(1.04); }
.hero__wechsel img.aktiv { opacity: 1; transform: scale(1); }
.hero__wechsel img:first-child { position: relative; }
@media (prefers-reduced-motion: reduce) { .hero__wechsel img { transition: none; transform: none; } }
