@import url("../fonts/fonts.css");

/* ---------------------------------------------------------------- Tokens */
:root {
  --cream: #F7F8F9;
  --card: #FFFFFF;
  --band: #EAEFF4;
  --line: #D6DEE7;
  --ink: #0D1B28;
  --navy: #0B1F33;
  --navy2: #12304D;
  --muted: #3D4955;        /* 8.7:1 */
  --muted2: #56636F;       /* 5.8:1, auf --band 5.3:1 */
  --amber: #F2A516;
  --amber-ink: #7A5200;    /* 6.5:1 */
  --cool: #CBD5DF;
  --cool-dim: #93A3B4;
  --wrap: 1180px;
  --gut: 56px;
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sec-y: clamp(52px, 8vw, 88px);   /* senkrechter Rhythmus aller Abschnitte */
  --head-y: clamp(38px, 6vw, 56px);  /* Seitenkopf */
  --band-y: clamp(34px, 5vw, 52px);  /* schmale Baender: Alarm, CTA */
  --rule: 3px;          /* Staerke der Kantenlinie */
  --rule-pad: 26px;     /* Einzug dahinter - ueberall gleich */
  --sans: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;
}

@media (max-width: 760px) { :root { --gut: 20px; } }
@media (min-width: 761px) and (max-width: 1040px) { :root { --gut: 34px; } }

/* ---------------------------------------------------------------- Basis */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--amber-ink); }
h1, h2, h3 { margin: 0; letter-spacing: -.03em; line-height: 1.12; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

/* Der Kopf bleibt stehen - Sprungziele muessen darunter Platz lassen */
[id] { scroll-margin-top: 92px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: var(--cream); padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; color: var(--cream); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut); }
.vh {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* ---------------------------------------------------------------- Typo */
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted2);
}
.eyebrow--amber { color: var(--amber); }
.eyebrow--dim { color: #7E8FA1; }

.h1 { font-size: clamp(34px, 6.2vw, 62px); font-weight: 700; letter-spacing: -.04em; line-height: 1.03; }
.h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 700; max-width: 19em; }
.h2--lg { font-size: clamp(28px, 4.4vw, 42px); }
.lead { font-size: clamp(16px, 2vw, 20px); line-height: 1.6; max-width: 28em; }
.prose { color: var(--muted); line-height: 1.68; max-width: 46em; }
.prose--tight { max-width: 34em; }
.note { font-size: 15.5px; color: var(--muted2); line-height: 1.62; max-width: 46em; }

/* Sichtbar markierte Platzhalter - vor dem Livegang ersetzen */
.ph {
  border-bottom: 1.5px dotted var(--amber);
  color: #865E0E; font-weight: 500;
}
.ph--dark { color: var(--amber); }

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 48px; padding: 13px 27px; border-radius: 999px;
  font-family: inherit; font-size: 16px; font-weight: 600; line-height: inherit;
  background: none; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--amber); color: var(--ink); }
.btn--primary:hover { color: var(--ink); box-shadow: 0 8px 20px -8px rgba(240,168,28,.7); }
.btn--ghost { border-color: rgba(247,248,249,.38); color: var(--cream); }
.btn--ghost:hover { color: var(--cream); border-color: var(--cream); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--dark { background: var(--navy); color: var(--cream); }
.btn--dark:hover { color: var(--cream); }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ---------------------------------------------------------------- Kopf */
.topbar {
  background: var(--navy); color: var(--cool); border-bottom: 1px solid rgba(203, 213, 223, .12);
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); padding-block: 9px; }
.topbar a { color: var(--amber); white-space: nowrap; }
@media (max-width: 620px) { .topbar__hours { display: none; } .topbar .wrap { justify-content: center; } }
.topbar__r { display: inline-flex; align-items: center; gap: var(--sp-5); }

/* Sprachauswahl: aktuelle Sprache mit Flagge, ein Klick oeffnet die Auswahl */
.spr { position: relative; }
.spr__btn { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; list-style: none;
  color: var(--cream); font-size: 12px; padding: 4px 8px; margin: -4px -8px; border-radius: 6px; user-select: none; }
.spr__btn::-webkit-details-marker { display: none; }
.spr__btn:hover, .spr[open] .spr__btn { background: rgba(247, 248, 249, .1); }
.spr__chev { width: 12px; height: 12px; transition: transform .15s ease; }
.spr[open] .spr__chev { transform: rotate(180deg); }
.flagge { display: block; flex: none; width: 21px; height: 14px; border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(247, 248, 249, .25); }
.spr__menu { position: absolute; right: -8px; top: calc(100% + 10px); z-index: 80; min-width: 176px;
  display: flex; flex-direction: column; gap: 2px; padding: 6px; border-radius: 10px;
  background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 16px 34px -14px rgba(14, 32, 49, .55);
  font-family: var(--sans); text-transform: none; letter-spacing: 0; }
.spr__opt { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 7px;
  font-size: 15px; font-weight: 500; white-space: nowrap; }
.topbar .spr__menu a.spr__opt { color: var(--ink); }
.topbar .spr__menu a.spr__opt:hover { background: var(--band); color: var(--ink); }
.spr__opt--akt { color: var(--muted); }
.spr__opt .flagge { box-shadow: 0 0 0 1px rgba(22, 35, 46, .14); }
.spr__ok { width: 16px; height: 16px; margin-left: auto; color: var(--amber-ink); }
@media (prefers-reduced-motion: reduce) { .spr__chev { transition: none; } }
/* Am Handy sitzt die Auswahl links neben der Rufnummer - nach rechts aufklappen */
@media (max-width: 620px) { .spr__menu { right: auto; left: -8px; } }

/* Hinweis nach automatischer Umschaltung auf Englisch - mit Ein-Klick-Rueckweg */
.sprachhinweis { background: var(--navy2); color: var(--cream); border-bottom: 2px solid var(--amber); }
.sprachhinweis .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5); padding-block: 10px; }
.sprachhinweis p { font-size: 14.5px; line-height: 1.5; }
.sprachhinweis__de { color: var(--amber); }
.sprachhinweis__a { display: flex; gap: var(--sp-2); }
.sprachhinweis .btn { min-height: 38px; padding: 7px 16px; font-size: 14px; }

.masthead {
  background: var(--navy); border-bottom: 2px solid var(--amber);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 12px 28px -20px rgba(0, 0, 0, .6);
}
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-6); padding-block: var(--sp-4); }
.masthead__logo img { height: 36px; width: auto; }

.nav { display: flex; align-items: center; gap: var(--sp-5); }
.nav a { font-size: 15px; font-weight: 500; padding-bottom: 4px; border-bottom: 2px solid transparent; white-space: nowrap;
  color: #E6ECF2; }
.nav a:hover { color: var(--amber); }
.nav a[aria-current="page"] { font-weight: 600; color: #FFFFFF; border-bottom-color: var(--amber); }

.masthead__cta { display: inline-flex; align-items: center; gap: var(--sp-3); }
.burger { display: none; width: 46px; height: 46px; align-items: center; justify-content: center;
  background: none; border: 0; padding: 0; cursor: pointer; }
.burger span { display: block; width: 25px; height: 2px; background: #F3F6F9; border-radius: 2px; position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 25px; height: 2px; background: inherit; border-radius: 2px;
}
.burger span::before { top: -8px; } .burger span::after { top: 8px; }

/* Sechs Menuepunkte plus Knopf brauchen gut 1100 px - darunter das Burger-Menue */
@media (max-width: 1100px) {
  .burger { display: flex; }
  .masthead__cta .btn { display: none; }
  .nav {
    display: none; position: absolute; inset-inline: 0; top: 100%; z-index: 40;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); border-bottom: 1px solid rgba(203, 213, 223, .14);
    box-shadow: 0 18px 30px -22px rgba(0,0,0,.5);
  }
  .nav[data-open="true"] { display: flex; }
  .nav a {
    padding: 15px var(--gut); border-bottom: 1px solid rgba(203, 213, 223, .12); border-left: 3px solid transparent;
    min-height: 52px; display: flex; align-items: center;
  }
  .nav a[aria-current="page"] { border-bottom-color: rgba(203, 213, 223, .12); border-left-color: var(--amber); background: var(--navy2); }
}

/* ---------------------------------------------------------------- Hero */
/* Fester Hintergrund, Inhalt scrollt darueber. clip-path statt
   background-attachment: fixed - letzteres ist auf iOS Safari kaputt.
   clip-path beschneidet auch fest positionierte Kinder. */
.hero { position: relative; clip-path: inset(0); color: var(--cream); }
.hero__bg { position: fixed; inset: 0; background-size: cover; background-position: center 42%; }
.hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,31,51,.95) 0%, rgba(11,31,51,.93) 48%,
    rgba(16,40,62,.92) 76%, rgba(18,46,72,.88) 88%, rgba(247,248,249,.55) 100%);
}
/* Deckflaeche, die 2px ueber die Unterkante hinausragt - schliesst die Fuge,
   die clip-path bei gebrochenen Geraetepixeln sonst offen laesst. */
.hero__foot {
  position: absolute; left: 0; right: 0; bottom: -2px; height: clamp(90px, 14vh, 150px);
  z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(247,248,249,0) 0%, var(--cream) 64%, var(--cream) 100%);
}
.hero__mark { position: absolute; right: 24px; top: 110px; width: 400px; opacity: .1; pointer-events: none; }
@media (max-width: 940px) { .hero__mark { display: none; } }
.hero .wrap { position: relative; z-index: 2; }
.hero__inner { display: flex; flex-direction: column; gap: var(--sp-5); padding-block: clamp(52px, 9vw, 88px) clamp(132px, 20vw, 215px); }
.hero__squiggle { display: block; width: min(340px, 70%); height: 13px; opacity: .92; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); padding-top: var(--sp-2); }

.pagehead { position: relative; overflow: hidden; background: var(--navy2); color: var(--cream); }
.pagehead__mark { position: absolute; right: -40px; top: 12px; width: 420px; opacity: .07; pointer-events: none; }
@media (max-width: 940px) { .pagehead__mark { display: none; } }
.pagehead .wrap { position: relative; z-index: 1; }
.pagehead__inner { display: flex; flex-direction: column; gap: var(--sp-4); padding-block: var(--head-y); }
.pagehead .h1 { font-size: clamp(30px, 4.8vw, 46px); max-width: 16em; }
.pagehead p { color: var(--cool); max-width: 30em; font-size: clamp(16px, 1.8vw, 18px); }

.crumb { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #7E8FA1; }
.crumb a:hover { color: var(--amber); }

/* ---------------------------------------------------------------- Sektionen */
.sec { padding-block: var(--sec-y); }
.sec--groups > .wrap { gap: var(--sp-7); }
.sec--groups .card { border-top-color: var(--line); }
.sec > .wrap { display: flex; flex-direction: column; gap: var(--sp-5); }
.sec--band { background: var(--band); }
.sec--dark { background: var(--navy); color: var(--cream); }
.sec--dark .h2, .sec--dark .card__t { color: var(--cream); }
.sec--dark .eyebrow { color: var(--amber); }
.sec--dark .card { border-top-color: rgba(203, 213, 223, .22); }
.sec--dark .card__b { color: var(--cool); }
.sec--dark .card__f { color: var(--amber); }
.sec--dark a.card:hover { color: inherit; border-top-color: var(--amber); }
.sec--dark a.card:hover .card__t { color: var(--amber); }
.sec--dark .icon { color: var(--amber); }
.sec--card { background: var(--card); }
.sec--tight > .wrap { gap: var(--sp-4); }
.sec--air > .wrap { gap: var(--sp-7); }
.sec--rule { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }


.grid { display: grid; gap: var(--sp-5) var(--sp-7); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 940px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  display: flex; flex-direction: column; gap: var(--sp-2);
  padding: var(--sp-5) 0 var(--sp-1); background: none; border: 0;
  border-top: 1px solid var(--line);
}
.card__t { font-size: 20px; font-weight: 600; letter-spacing: -.02em;
  overflow-wrap: anywhere; hyphens: auto; }
.card__t--lg { font-size: 20px; }
.card__b { font-size: 15px; line-height: 1.64; color: var(--muted); }
.card__f { font-size: 14px; font-weight: 600; color: var(--amber-ink); padding-top: var(--sp-1); }
.card__img { display: block; margin-bottom: var(--sp-1); }
/* Das Seitenverhaeltnis entspricht dem der Bilddatei, damit object-fit nichts
   beschneidet - sonst faellt die Ecke mit der Quellenangabe weg. */
.card__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; border-radius: 8px; }
.grid--2 .card__img img,
.card--main .card__img img { aspect-ratio: 5 / 2; }
/* Kachel auf dunklem Grund: Textfarben zurueckdrehen */
.sec--dark .card--tile .card__t { color: var(--ink); }
.sec--dark .card--tile .card__b { color: var(--muted); }
.sec--dark .card--tile .card__f { color: var(--amber-ink); }
.sec--dark a.card--tile:hover .card__t { color: var(--amber-ink); }

a.card { transition: border-color .15s ease; }
.card { position: relative; overflow: hidden; }
.card__art {
  position: absolute; right: -18px; bottom: -26px; width: 148px; height: 148px;
  opacity: .07; pointer-events: none;
}
.card__art svg { width: 100%; height: 100%; stroke-width: 1.1; }
.sec--dark .card__art { opacity: .13; color: var(--amber); }
a.card:hover .card__art { opacity: .16; }
.sec--dark a.card:hover .card__art { opacity: .22; }
@media (prefers-reduced-motion: no-preference) {
  .card__art { transition: opacity .2s ease; }
}
a.card:hover { color: inherit; border-top-color: var(--amber); }
a.card:hover .card__t { color: var(--amber-ink); }
.icon { width: 22px; height: 22px; flex: none; display: block; }

/* Zweispaltiger Textblock mit Bild */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4.5vw, 56px); align-items: center; }
.split--rev { grid-template-columns: 1fr 1.05fr; }
/* Bild nach links, damit sich die Seiten abwechseln */
.split--flip { grid-template-columns: 1fr 1.1fr; }
.split--flip .split__text { order: 2; }
@media (max-width: 860px) { .split--flip .split__text { order: 0; } }
@media (max-width: 860px) { .split, .split--rev { grid-template-columns: 1fr; } }
.split__text { display: flex; flex-direction: column; gap: var(--sp-4); align-items: flex-start; }
/* Bilder tragen dieselbe Rundung und Hoehe wie die Kacheln, damit sie auf der
   Seite liegen statt darauf zu kleben. */
.figure { display: flex; flex-direction: column; gap: var(--sp-3); }
.figure img {
  width: 100%; border-radius: 12px; object-fit: cover; aspect-ratio: 4 / 3;
  box-shadow: 0 1px 2px rgba(22, 35, 46, .05), 0 18px 34px -20px rgba(22, 35, 46, .45);
}
.figure--tall img { aspect-ratio: 1 / 1; object-fit: contain; background: var(--card); }
/* Hochformat-Aufnahmen: quadratisch, damit der Zuschnitt nicht zu viel wegnimmt */
.figure--quad img { aspect-ratio: 1 / 1; }
.figure figcaption { font-size: 13.5px; line-height: 1.5; color: var(--muted2); max-width: 34em; }

/* Schritte */
.steps { display: flex; flex-direction: column; gap: var(--sp-5); }
.step { display: flex; gap: var(--sp-4); align-items: flex-start; }
.step__n {
  flex: none; width: 34px; height: 34px; border-radius: 999px; background: var(--navy); color: var(--amber);
  display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 14px;
}
.step__t { font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.step__b { font-size: 15px; line-height: 1.65; color: var(--muted); max-width: 40em; }

/* Häkchenliste */
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3) var(--sp-6); }
.checks--1 { grid-template-columns: 1fr; }
@media (max-width: 700px) { .checks { grid-template-columns: 1fr; } }
.checks li { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: 15px; line-height: 1.6; }
.checks svg { width: 19px; height: 19px; flex: none; margin-top: 2px; }

/* Orte nach Himmelsrichtung */
.orte__stadt { font-size: 16px; line-height: 1.6; color: var(--muted); }
.orte__stadt strong { color: var(--ink); font-weight: 600; }
.orte { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5) var(--sp-6); margin: 0; }
@media (max-width: 520px) { .orte { grid-template-columns: 1fr; } }
.orte div { padding-left: var(--sp-4); border-left: 2px solid var(--line); }
.orte dt { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber-ink); margin-bottom: var(--sp-1); }
.orte dd { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ink); }
.steckbrief dd a { color: var(--amber-ink); font-weight: 600; text-decoration: underline;
  text-underline-offset: 2px; text-decoration-color: rgba(240, 168, 28, .6); }
.steckbrief dd a:hover { color: var(--navy); text-decoration-color: var(--amber); }

/* Bänder */
.alarm { background: var(--amber); color: var(--ink); }
.alarm .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); padding-block: var(--band-y); flex-wrap: wrap; }
.alarm__t { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.alarm__s { font-size: 15px; color: #56461C; }
.alarm__head { display: flex; align-items: center; gap: var(--sp-4); }

.cta { background: var(--navy2); color: var(--cream); }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-6); padding-block: var(--band-y); flex-wrap: wrap; }
.cta__t { font-size: clamp(22px, 3vw, 28px); font-weight: 700; letter-spacing: -.03em; max-width: 14em; }
.cta__s { font-size: 16px; line-height: 1.6; color: var(--cool); max-width: 34em; }
.cta__side { display: flex; flex-direction: column; gap: var(--sp-2); align-items: flex-start; }
.cta__side span { font-size: 14px; color: #8FA0B1; }

.values { display: flex; flex-direction: column; gap: var(--sp-5); }
.values li { max-width: 52em; padding-left: var(--rule-pad); border-left: var(--rule) solid var(--amber); }
.values strong { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.values p { margin-top: var(--sp-2); }

/* Parallax-Band - gleiche Technik wie der Hero */
.para { position: relative; clip-path: inset(0); color: var(--cream); padding-block: var(--sec-y); }
.para__bg { position: fixed; inset: 0; background-size: cover; background-position: center 45%; }
.para__veil { position: absolute; inset: -2px 0; background: rgba(11, 26, 41, .86); }
.para > .wrap { position: relative; z-index: 2; }
.para .eyebrow { color: var(--amber); }
.para .h2 { color: var(--cream); }
.para .prose, .para .note { color: var(--cool); }

/* Ohne Bewegungswunsch bleibt der Hintergrund stehen */
@media (prefers-reduced-motion: reduce) {
  .hero__bg, .para__bg { position: absolute; }
}

/* Einsatzgebiet-Karte */
.map { margin: 0; display: flex; flex-direction: column; gap: var(--sp-3); max-width: 620px; }
.map--sm { max-width: 400px; }

.map img { width: 100%; height: auto; border-radius: 12px; display: block;
  box-shadow: 0 1px 2px rgba(22, 35, 46, .05), 0 18px 34px -20px rgba(22, 35, 46, .45); }
.map figcaption { font-size: 13.5px; line-height: 1.55; opacity: .82; }
.map figcaption a { text-decoration: underline; text-underline-offset: 2px; }

/* Herstellerband */
@media (prefers-reduced-motion: reduce) {
    }

/* Bitcoin */
/* Zahlungswege: vier Szenen ohne Rahmen, Illustration in Icon-Optik */
.pay { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-6) var(--sp-7); }
@media (max-width: 720px) { .pay { grid-template-columns: 1fr; } }
.pay__i { display: flex; flex-direction: column; gap: var(--sp-2); }
.pay__i .card__t { margin-top: var(--sp-2); }
.szene { width: 200px; height: 124px; color: var(--navy); margin-left: -6px; }
.szene__thin { stroke-width: 1.2; opacity: .55; }
.szene__txt { font: 600 11px var(--mono); letter-spacing: .08em; fill: var(--muted2); stroke: none; text-anchor: middle; }
.szene__btc { stroke: #E0891A; }
.szene__ok { fill: var(--amber); stroke: var(--amber); }
.szene__ok-tick { stroke: var(--navy); stroke-width: 2; }
.szene__scan { stroke: var(--amber); stroke-width: 2; opacity: 0; }
.szene__punkt { fill: var(--amber); stroke: none; }
.szene__pfeile { transform-origin: 100px 62px; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.szene__beleg { transition: transform .35s ease; }
/* Beim Ueberfahren ein kleines Lebenszeichen - nichts, was ablenkt */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .pay__i:hover .szene__scan { animation: scan 1.1s ease-in-out; }
  .pay__i:hover .szene__pfeile { transform: rotate(180deg); }
  .pay__i:hover .szene__beleg { transform: translateY(-4px); }
  .pay__i:hover .szene__punkt { animation: laufen 1s ease-in-out; }
}
@keyframes scan { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(62px); } }
@keyframes laufen { 0% { transform: translateX(0); } 100% { transform: translateX(56px); } }

.btc-badge { width: 230px; border-radius: 12px; animation: btcfloat 4.2s ease-in-out infinite; will-change: transform; }
@keyframes btcfloat {
  0%, 100% { transform: translateY(0); filter: drop-shadow(0 2px 8px rgba(20,20,20,.3)); }
  50% { transform: translateY(-4px); filter: drop-shadow(0 14px 26px rgba(240,168,28,.5)); }
}
@media (prefers-reduced-motion: reduce) { .btc-badge { animation: none; } }
.panel {
  display: flex; flex-direction: column; gap: var(--sp-2);
  padding: 4px 0 4px var(--rule-pad); background: none; border: 0; border-left: var(--rule) solid var(--amber);
}
.panel__t { font-size: clamp(20px, 3vw, 26px); font-weight: 700; letter-spacing: -.025em; }
.panel--split { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-6); align-items: center; }
.panel--split { border-left: 0; padding-left: 0; }
@media (max-width: 780px) { .panel--split { grid-template-columns: 1fr; } }
.checks + .hint { margin-top: var(--sp-4); }
.hint { padding: 4px 0 4px var(--rule-pad); background: none; border: 0; border-left: var(--rule) solid var(--line);
  display: flex; flex-direction: column; gap: var(--sp-2); max-width: 50em; }
.hint strong { font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
/* Klapptext: Ueberschrift ist der Schalter, Inhalt faehrt auf */
.hint--klapp summary { display: flex; align-items: center; gap: var(--sp-2); cursor: pointer; list-style: none;
  font-size: 18px; font-weight: 600; letter-spacing: -.015em; width: fit-content; }
.hint--klapp summary::-webkit-details-marker { display: none; }
.hint--klapp summary .icon { width: 18px; height: 18px; transition: transform .25s ease; color: var(--amber-ink); }
.hint--klapp summary:hover { color: var(--amber-ink); }
.hint--klapp[open] summary .icon { transform: rotate(180deg); }
.hint__body { display: flex; flex-direction: column; gap: var(--sp-2); padding-top: var(--sp-2); }
@media (prefers-reduced-motion: no-preference) {
  .hint--klapp[open] .hint__body { animation: auffahren .3s ease-out; }
}
@keyframes auffahren { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
/* Verweise im Fliesstext muessen als solche erkennbar sein */
/* Verweise im Fliesstext sichtbar machen - sonst erben sie nur die Textfarbe */
.prose a { color: var(--amber-ink); font-weight: 600; text-decoration: underline;
  text-underline-offset: 2px; text-decoration-color: rgba(240, 168, 28, .6); }
.prose a:hover { color: var(--navy); text-decoration-color: var(--amber); }
.sec--dark .prose a, .para .prose a { color: var(--amber); }
.hint .prose a { color: var(--amber-ink); font-weight: 600; text-decoration: underline;
  text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.hint .prose a:hover { color: var(--navy); text-decoration-color: var(--amber); }

/* Leckraten-Stufen */
.tier { border-top: 0; border-left: var(--rule) solid var(--amber); padding: 2px 0 2px var(--rule-pad); }
.tier__r { --t: #2F7D4F; } .tier__y { --t: #B07C12; } .tier__x { --t: #A03A2C; }
.tier { border-left-color: var(--t, var(--amber)); }
.tier .eyebrow { color: var(--t); letter-spacing: .16em; font-size: 11.5px; }

/* ---------------------------------------------------------------- Formular */
.form { display: flex; flex-direction: column; gap: var(--sp-5); padding: 0; background: none; border: 0; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
@media (max-width: 620px) { .form__grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: var(--sp-2); }
.field--wide { grid-column: 1 / -1; }
/* Honigtopf: fuer Menschen unsichtbar, fuer Skripte ein normales Feld */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formnote { padding: var(--sp-3) var(--sp-4); border-left: var(--rule) solid #E0B44E;
  background: var(--band); font-size: 15px; line-height: 1.55; color: #7A5A10; }
.field label { font-size: 14px; font-weight: 600; }
.field small { font-size: 13px; color: var(--muted2); }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted2); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  min-height: 48px; padding: 10px 2px; background: none;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0; width: 100%;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted2) 50%), linear-gradient(135deg, var(--muted2) 50%, transparent 50%);
  background-position: right 10px top 22px, right 5px top 22px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 26px; }
.field textarea { min-height: 96px; resize: vertical; }
/* Anliegen-Kacheln und aufklappende Bloecke */
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.field__lbl { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted2); }
.wahl { display: flex; flex-direction: column; gap: var(--sp-3); padding: 0; border: 0; margin: 0; min-width: 0; }
.wahl__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: var(--sp-3); }
@media (max-width: 520px) { .wahl__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wahl__k { position: relative; cursor: pointer; display: flex; }
.wahl__k input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wahl__in { display: flex; flex-direction: column; align-items: center; gap: var(--sp-1); width: 100%; padding: var(--sp-4) var(--sp-3);
  border: 1.5px solid var(--line); border-radius: 6px; background: var(--card); text-align: center;
  font-size: 14px; font-weight: 600; line-height: 1.25; color: var(--ink); transition: border-color .15s, background .15s, box-shadow .15s; }
.wahl__in .icon { width: 26px; height: 26px; color: var(--navy); margin-bottom: var(--sp-1); }
.wahl__in small { font-size: 12.5px; font-weight: 400; line-height: 1.4; color: var(--muted2); }
.wahl__k:hover .wahl__in { border-color: var(--navy); }
.wahl__k input:checked + .wahl__in { border-color: var(--amber); background: #fff; box-shadow: 0 0 0 3px rgba(240,168,28,.22); }
.wahl__k input:checked + .wahl__in .icon { color: var(--amber-ink); }
.wahl__k input:focus-visible + .wahl__in { outline: 2px solid var(--navy); outline-offset: 2px; }
.check { display: flex; align-items: flex-start; gap: var(--sp-3); cursor: pointer; font-size: 15px; line-height: 1.5; color: var(--muted); }
.check input { margin-top: 4px; accent-color: var(--navy); }
.block { display: flex; flex-direction: column; gap: var(--sp-5); padding: var(--sp-5) 0 var(--sp-5) var(--rule-pad);
  border: 0; border-left: var(--rule) solid var(--amber); margin: 0; min-width: 0; }
.block__alarm { display: flex; align-items: center; gap: var(--sp-2); font-size: 14.5px; color: var(--muted); }
.block__alarm .icon { width: 18px; height: 18px; color: var(--amber-ink); flex: none; }
.block__alarm a { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.form__rest { display: flex; flex-direction: column; gap: var(--sp-5); }
@media (prefers-reduced-motion: no-preference) {
  .block:not([hidden]), .form__rest:not([hidden]) { animation: auffahren .3s ease-out; }
}
.field input[type="file"] { padding: var(--sp-2) 0; border: 0; font-size: 14px; color: var(--muted); }
.field input[type="file"]::file-selector-button { font: inherit; font-weight: 600; padding: 8px 14px; margin-right: var(--sp-3);
  border: 1.5px solid var(--ink); border-radius: 3px; background: none; color: var(--ink); cursor: pointer; }
.field input[type="file"]::file-selector-button:hover { background: var(--ink); color: var(--cream); }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--amber); border-bottom-width: 2px; outline: none; padding-bottom: 9px; }
.privacy { display: flex; gap: var(--sp-3); align-items: flex-start; padding: 0 0 0 var(--rule-pad); border-left: var(--rule) solid var(--line); }
.privacy svg { width: 17px; height: 17px; flex: none; margin-top: 2px; }
.privacy p { font-size: 13.5px; line-height: 1.58; color: var(--muted); }
.privacy a { color: var(--amber-ink); border-bottom: 1px solid rgba(122, 82, 0, .35); }

.contact { display: grid; grid-template-columns: 1.35fr 1fr; gap: var(--sp-6); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.sidecol { display: flex; flex-direction: column; gap: var(--sp-5); }
.callout { display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-6); background: var(--navy); color: var(--cream); border-radius: 4px; }
.callout__n { font-size: 27px; font-weight: 700; letter-spacing: -.02em; }
.callout a { color: var(--cream); }
.callout__note { font-size: 14.5px; line-height: 1.6; color: var(--cool-dim); padding-top: var(--sp-2); border-top: 1px solid rgba(203,213,223,.18); }

/* ---------------------------------------------------------------- Recht */
.legal { display: flex; flex-direction: column; gap: var(--sp-2); max-width: 44em; }
.legal h3 { font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.72; color: var(--muted); }
.warnbox { padding: 2px 0 2px var(--rule-pad); border-left: var(--rule) solid #E0B44E; max-width: 52em; }
.warnbox p { font-size: 15px; line-height: 1.62; color: #7A5A10; }

/* ---------------------------------------------------------------- Fuß */
.foot { background: var(--navy); color: var(--cool); padding-block: var(--sec-y) var(--sp-5); }
.foot .wrap { display: flex; flex-direction: column; gap: var(--sp-6); }
/* Startseite: der dunkle Kontaktblock geht nahtlos in den Fuss ueber - dort keinen doppelten Abstand */
main:has(> .close:last-child) + .foot { padding-top: var(--sp-5); }
/* Unternehmen hat nur kurze Eintraege, die Zeitentabelle braucht Platz */
.foot__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .6fr) minmax(0, 1fr) minmax(0, 1.4fr);
  gap: var(--sp-5) var(--sp-6); }
@media (max-width: 860px) { .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .foot__cols { grid-template-columns: 1fr; } }
.foot__col { display: flex; flex-direction: column; gap: var(--sp-3); }
.foot__lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--amber); font-weight: 400; }
.foot__col li, .foot__col p { font-size: 14px; line-height: 1.6; }
.foot__btc { color: var(--amber); }
/* Erreichbarkeit als kleine Tabelle: Tag links, Zeit rechts */
.zeiten { display: flex; flex-direction: column; }
.zeiten .zeiten__k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cool-dim); line-height: 1.4; margin: var(--sp-2) 0 2px; }
.zeiten .zeiten__k:first-child { margin-top: 0; }
.zeiten dl { display: grid; grid-template-columns: 4.6em 1fr; column-gap: var(--sp-3); margin: 0; font-size: 14px; }
.zeiten dl div { display: contents; }
.zeiten dt { font-size: 14px; line-height: 1.5; color: var(--cool-dim); font-variant-numeric: tabular-nums; }
.zeiten dd { margin: 0; font-size: 14px; line-height: 1.5; color: var(--cream); font-variant-numeric: tabular-nums; }
.zeiten .zeiten__z { display: block; font-size: 13px; color: var(--cool-dim); }
.zeiten .zeiten__n { font-size: 13px; line-height: 1.5; color: var(--cool-dim); margin-top: var(--sp-2); }
.foot a:hover { color: var(--amber); }
.foot__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5);
  padding-top: var(--sp-5); border-top: 1px solid rgba(203,213,223,.18); font-size: 13px; color: var(--cool-dim); flex-wrap: wrap; }
.foot__bar nav { display: flex; gap: var(--sp-5); flex-wrap: wrap; }
.foot__btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.foot__btn:hover { color: var(--amber); }

/* ---------------------------------------------------------------- Einwilligung */
/* Sprechblase unten rechts, im Dunkelblau von Kopf und Fuss.
   Beide Knoepfe gleich gross und gleich gut lesbar - Ablehnen darf nicht schwerer
   sein als Zustimmen. Einverstanden bekommt nur einen gelben Rahmen, keine Fuellung. */
.consent {
  position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 70;
  width: min(360px, calc(100vw - 32px));
  display: flex; flex-direction: column; gap: var(--sp-2);
  padding: 18px 20px 20px; border-radius: 18px;
  background: var(--navy); color: var(--cool);
  border: 1px solid rgba(203, 213, 223, .16);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .55), 0 2px 6px rgba(0, 0, 0, .16);
}
/* Spitze der Sprechblase, zeigt in die Ecke */
.consent::after {
  content: ""; position: absolute; right: 30px; bottom: -8px; width: 14px; height: 14px;
  background: var(--navy); transform: rotate(45deg);
  border-right: 1px solid rgba(203, 213, 223, .16); border-bottom: 1px solid rgba(203, 213, 223, .16);
}
.consent[hidden] { display: none; }
.consent__t { font-size: 16px; font-weight: 600; letter-spacing: -.015em; color: var(--cream); }
.consent__b { font-size: 14px; line-height: 1.55; }
.consent__b a { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; }
.consent__s { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; color: var(--amber); }
.consent__a { display: flex; gap: var(--sp-2); padding-top: var(--sp-2); }
.consent__a .btn { flex: 1; min-height: 42px; padding: 9px 14px; font-size: 15px; }
.consent__a [data-wahl="ja"], .consent__a [data-wahl="ja"]:hover { border-color: var(--amber); }
@media (max-width: 760px) {
  .consent { left: 12px; right: 12px; width: auto; bottom: calc(14px + env(safe-area-inset-bottom)); }
  /* Startseite: ueber der Anrufleiste bleiben */
  body:has(.callbar) .consent { bottom: calc(72px + env(safe-area-inset-bottom)); }
}
.legal code { font-family: var(--mono); font-size: .9em; }

/* ---------------------------------------------------------------- Staging */
.stagingbar {
  background: #7A1F1F; color: #FBE9E9; font-family: var(--mono);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; text-align: center; padding: 7px 16px;
}

@media print {
  .topbar, .masthead, .foot, .cta, .alarm, .stagingbar, .consent, .sprachhinweis { display: none; }
  body { background: #fff; }
}

/* ---------------------------------------------------------------- Startseite */
.hero__tel { display: flex; align-items: baseline; gap: var(--sp-3); flex-wrap: wrap; padding-top: var(--sp-2); }
.hero__tel a { font-size: clamp(22px, 3vw, 28px); font-weight: 700; letter-spacing: -.02em; color: var(--cream); }
.hero__tel a:hover { color: var(--amber); }
.hero__tel span { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--cool); }

.trust .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-5) var(--sp-7); }
.trust__i { display: flex; flex-direction: column; gap: var(--sp-2); padding-top: var(--sp-5); border-top: 2px solid var(--amber); }
.trust__i strong { font-size: clamp(19px, 2.4vw, 24px); font-weight: 700; letter-spacing: -.025em; }
.trust__i span { font-size: 15px; line-height: 1.55; color: var(--muted); }
@media (max-width: 760px) { .trust .wrap { grid-template-columns: 1fr; } }

.card--main { padding-top: var(--sp-5); }
.card--main .card__t { font-size: clamp(21px, 2.6vw, 26px); }
.card--main .card__b { font-size: 16px; }
.card--main .card__art { width: 190px; height: 190px; }

.marken__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sp-2) clamp(20px, 3vw, 36px); }
.marken__row li { font-size: clamp(17px, 1.9vw, 21px); font-weight: 600; letter-spacing: -.02em; }

.close { background: var(--navy); color: var(--cream); padding-block: var(--sec-y); }
.close .wrap { display: flex; flex-direction: column; gap: var(--sp-6); }
.close__h .h2 { color: var(--cream); }
.close__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5) var(--sp-7); }
@media (max-width: 760px) { .close__cols { grid-template-columns: 1fr; } }
.close__c { display: flex; flex-direction: column; gap: var(--sp-2); align-items: flex-start;
  padding-top: var(--sp-5); border-top: 1px solid rgba(203, 213, 223, .22); }
.close__t { font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.close__b { font-size: 15.5px; line-height: 1.62; color: var(--cool); }
.close__pay { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap;
  padding-top: var(--sp-5); border-top: 1px solid rgba(203, 213, 223, .22); }
.close__pay img { width: 132px; height: auto; }
.close__pay span { font-size: 15px; color: var(--cool); }
.close__pay a { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; }

/* Feste Leiste auf dem Telefon */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr;
    background: var(--navy); border-top: 1px solid rgba(203, 213, 223, .2);
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -8px 24px -18px rgba(0, 0, 0, .9);
  }
  .callbar a {
    display: flex; align-items: center; justify-content: center; gap: var(--sp-2);
    min-height: 58px; font-size: 16px; font-weight: 600; color: var(--cream);
  }
  .callbar a:first-child { background: var(--amber); color: var(--ink); }
  .callbar a:hover { color: inherit; }
  body { padding-bottom: 58px; }
}


/* ---------------------------------------------------------------- Kategorien */
.cat { display: flex; flex-direction: column; gap: var(--sp-5); }
.cat__h { display: flex; flex-direction: column; gap: var(--sp-2); padding-bottom: var(--sp-3);
  border-bottom: 2px solid var(--amber); }

/* Karten als schwebende Flaechen - kein Rahmenkasten, sondern Hoehe ueber dem Grund */
.card--tile {
  background: var(--card); border: 0; border-radius: 12px;
  padding: var(--sp-5); overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 14px 30px -22px rgba(13, 27, 40, .45);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card--tile::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--amber);
  transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
/* Gilt auch fuer Kacheln ohne Verweis - der Farbwechsel der Ueberschrift
   bleibt jedoch den verlinkten vorbehalten, sonst sieht alles klickbar aus. */
.card--tile:hover {
  transform: translateY(-4px); border-top-color: transparent;
  box-shadow: 0 4px 10px rgba(22, 35, 46, .06), 0 26px 44px -20px rgba(22, 35, 46, .46);
}
.card--tile:hover::after { transform: scaleX(1); }
.card--tile .card__art { opacity: .05; }
.card--tile:hover .card__art { opacity: .1; }
@media (prefers-reduced-motion: reduce) {
  .card--tile, .card--tile:hover { transition: none; transform: none; }
}
