/* PassportPhotoPrintHero – Website
   Farben aus dem App-Icon: Navy, Kamera-Orange, Schablonen-Grün, Himmelblau. */

:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-2: #eef3fa;
  --border: #dfe6f0;
  --text: #1c2740;
  --muted: #56627c;
  --ink: #0f1b33;
  --brand: #1f3a6b;
  --link: #1f4fa3;
  --accent: #f0663a;
  --accent-soft: #fde6dc;
  --green: #17845a;
  --green-soft: #dcf3e8;
  --pro: #f5a524;
  --btn-bg: #0f1b33;
  --btn-fg: #ffffff;
  --btn2-bg: #ffffff;
  --btn2-fg: #0f1b33;
  --band: #0f1b33;
  --band-text: #e6ebf5;
  --band-muted: #a9b5cc;
  --glow-1: #d7e7fb;
  --glow-2: #fde3d6;
  --focus: #d9531e;          /* Fokusrahmen: mind. 3:1 auf allen hellen Flächen */
  --on-green: #ffffff;       /* Schrift auf --green */
  --on-pro: #1a1205;         /* Schrift auf --pro (hell und dunkel gleich, wie --pro) */
  --btn-hover: brightness(1.15);
  --shadow: 0 1px 2px rgba(15, 27, 51, .06), 0 8px 24px rgba(15, 27, 51, .08);
  --shot-shadow: drop-shadow(0 18px 40px rgba(15, 27, 51, .22)) drop-shadow(0 2px 6px rgba(15, 27, 51, .12));
  --radius: 18px;
  --radius-s: 12px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial,
          "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, "Noto Sans JP", sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --surface: #121a2b;
    --surface-2: #172137;
    --border: #26324b;
    --text: #e3e9f4;
    --muted: #9ba8c1;
    --ink: #f3f6fb;
    --brand: #a9c4ff;
    --link: #9cc0ff;
    --accent: #ff8a5c;
    --accent-soft: #3a2219;
    --green: #4cc790;
    --green-soft: #12301f;
    --btn-bg: #f3f6fb;
    --btn-fg: #0b1220;
    --btn2-bg: #172137;
    --btn2-fg: #f3f6fb;
    --band: #17264a;
    --glow-1: #13254a;
    --glow-2: #2b1a1a;
    --focus: #ff8a5c;
    --on-green: #0b1220;
    --btn-hover: brightness(.88);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
    --shot-shadow: drop-shadow(0 18px 40px rgba(0, 0, 0, .55)) drop-shadow(0 2px 6px rgba(0, 0, 0, .4));
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 2px; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; overflow-wrap: break-word; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3 { letter-spacing: 0; line-height: 1.35; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--btn-bg); color: var(--btn-fg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Kopfzeile */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg); /* für Browser ohne color-mix() (Safari < 16.2) */
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: -0.01em; min-width: 0; min-height: 44px; }
.brand img { width: 34px; height: 34px; flex: none; }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { display: flex; align-items: center; min-height: 44px; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--surface-2); color: var(--ink); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--border); color: var(--ink); border-radius: 10px; min-width: 44px; height: 44px; font: inherit; font-size: 15px; padding: 0 12px; cursor: pointer; }

/* Sprachwahl */
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 999px; color: var(--text); min-height: 44px;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { background: var(--surface-2); }
.lang summary svg { width: 18px; height: 18px; flex: none; }
.menu-toggle svg { width: 22px; height: 22px; flex: none; }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow);
  min-width: 190px; max-height: 70vh; overflow: auto; z-index: 60;
}
.lang li a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 15px; }
.lang li a:hover { background: var(--surface-2); }
.lang li a[aria-current="true"] { font-weight: 700; color: var(--ink); background: var(--surface-2); }

/* 980 statt 860 px: Mit «Standard & Pro» (FR, PT, NL länger) passt die Navigation sonst nicht in eine Zeile. */
@media (max-width: 980px) {
  .js .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .js .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 2px; padding: 10px 16px 16px;
    background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    /* Die Kopfzeile klebt oben: Ein langes Menü muss selbst scrollen, sonst bleibt das Ende unerreichbar. */
    max-height: calc(100vh - 65px); max-height: calc(100dvh - 65px);
    overflow-y: auto; overscroll-behavior: contain;
  }
  .js .nav.open { display: flex; }
  .js .nav a { padding: 12px 14px; font-size: 17px; }
  .js .lang summary { padding: 12px 14px; font-size: 17px; }
  .js .lang ul {
    position: static; box-shadow: none; margin-top: 4px; max-height: none; overflow: visible; min-width: 0;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px;
  }
  .nav { flex-wrap: wrap; }
}

/* Knöpfe */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 14px; font: inherit; font-size: 16px; font-weight: 600;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; line-height: 1.2; text-align: left;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-store { background: var(--btn-bg); color: var(--btn-fg); }
.btn-store:hover { filter: var(--btn-hover); }
.btn small { display: block; font-size: 12px; font-weight: 500; opacity: .8; }
.btn-soon { background: transparent; color: var(--ink); border: 1.5px dashed color-mix(in srgb, var(--ink) 35%, transparent); cursor: default; }
.btn-soon .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: none; box-shadow: 0 0 0 4px var(--accent-soft); }
.btn-ghost { background: var(--btn2-bg); color: var(--btn2-fg); border-color: var(--border); }
.btn-ghost:hover { border-color: color-mix(in srgb, var(--ink) 30%, transparent); }

/* Abschnitte */
.section { padding: 88px 0; }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 44px); }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section.tight { padding-top: 0; }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 64px 0 72px; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 760px; z-index: -1;
  background:
    radial-gradient(40% 50% at 22% 30%, var(--glow-1), transparent 70%),
    radial-gradient(35% 45% at 80% 22%, var(--glow-2), transparent 70%);
}
.kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--brand);
  background: var(--surface); border: 1px solid var(--border); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hero h1 { font-size: clamp(36px, 6.4vw, 68px); max-width: 920px; margin: 0 auto 20px; }
.hero .lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 760px; margin: 0 auto 30px; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 26px; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; list-style: none; padding: 0; margin: 0 0 8px; }
.facts li { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); font-size: 15px; }
.facts svg { width: 20px; height: 20px; color: var(--green); flex: none; }
.req { color: var(--muted); font-size: 14px; margin: 0; }
/* --auto-dauer: Takt des automatischen Weiterschaltens; site.js liest denselben Wert. */
.gallery { margin: 44px auto 0; max-width: 1120px; --auto-dauer: 7s; }

/* Screenshot-Rundgang */
.tabs { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 0 -20px 28px; }
.tab {
  position: relative;
  font: inherit; font-size: 14.5px; font-weight: 600; color: var(--text); background: var(--surface);
  border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; min-height: 44px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
}
.tab:hover { border-color: color-mix(in srgb, var(--ink) 30%, transparent); }
.tab[aria-selected="true"] { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
/* Fortschrittsbalken im aktiven Reiter: zeigt, wann das nächste Bild kommt; steht still, solange pausiert. */
.gallery.autoplay .tab[aria-selected="true"]::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px; border-radius: 2px;
  background: currentColor; opacity: .5; transform: scaleX(0); transform-origin: left center;
  animation: reiter-fortschritt var(--auto-dauer) linear forwards;
}
/* Bilder mit Lite/Pro-Zeilen haben mehr Text: doppelte Lesezeit (site.js setzt die Klasse). */
.gallery.autoplay.lesezeit .tab[aria-selected="true"]::after { animation-duration: calc(var(--auto-dauer) * 2); }
.gallery.paused .tab[aria-selected="true"]::after { animation-play-state: paused; }
@keyframes reiter-fortschritt { to { transform: scaleX(1); } }
.no-js .tabs { display: none; }
.shot { margin: 0 0 48px; }
.js .shot { margin-bottom: 0; }
/* Alle Bilder liegen in derselben Rasterzelle: Die Galerie ist so hoch wie das höchste, beim Weiterschalten
   springt der Inhalt darunter nicht. visibility nimmt die verborgenen auch aus Tab-Reihenfolge und Screenreader. */
.js .gallery { display: grid; grid-template-columns: minmax(0, 1fr); }
.js .shot { grid-area: 2 / 1; }
.js .shot:not(.active) { visibility: hidden; }
.shot-media { position: relative; }
.shot-media > a { display: block; cursor: zoom-in; border-radius: 12px; }
.shot img { width: 100%; filter: var(--shot-shadow); }
/* Blätterpfeile über dem Bild; ohne Skript ausgeblendet. */
.shot-nav { display: none; }
.js .shot-nav {
  position: absolute; top: 50%; z-index: 1; display: grid; place-items: center;
  width: 46px; height: 46px; margin-top: -23px; padding: 0; border-radius: 50%; cursor: pointer;
  color: var(--ink); border: 1px solid var(--border); box-shadow: var(--shadow);
  background: var(--surface); /* für Browser ohne color-mix() */
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
/* Nur mit echter Maus: am iPhone bliebe der Hover-Zustand nach dem Antippen sonst stehen. */
@media (hover: hover) {
  .js .shot-nav:hover { background: var(--surface); border-color: color-mix(in srgb, var(--ink) 30%, transparent); }
}
.shot-nav svg { width: 22px; height: 22px; }
.shot-nav.prev { left: 14px; }
.shot-nav.next { right: 14px; }
.shot figcaption { text-align: center; max-width: 680px; margin: 26px auto 0; }
.shot figcaption strong { display: block; font-size: 20px; color: var(--ink); margin-bottom: 4px; }
.shot figcaption > span { color: var(--muted); }
.badge-pro, .badge-lite {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 999px; vertical-align: middle; line-height: 1.5;
}
.badge-pro { background: var(--pro); color: var(--on-pro); }
.badge-lite { background: var(--green); color: var(--on-green); }
/* Standard- und Pro-Zeile unter einem Text. Die Texte beider Zeilen beginnen bündig: Mit Subgrid
   richtet sich die Badge-Spalte nach dem breitesten Badge (je nach Schrift); sonst feste Mindestbreite. */
.ed-lines { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; text-align: left; }
.ed-lines li { display: flex; align-items: baseline; gap: 10px; }
.ed-lines .badge-lite, .ed-lines .badge-pro { flex: none; min-width: 8.6em; text-align: center; box-sizing: border-box; }
@supports (grid-template-columns: subgrid) {
  .ed-lines { grid-template-columns: max-content minmax(0, 1fr); column-gap: 10px; }
  .ed-lines li { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; }
  .ed-lines .badge-lite, .ed-lines .badge-pro { min-width: 0; justify-self: start; }
}
/* Schmal: Badge über dem Text, sonst bleibt neben dem breiten «Standard»-Badge zu wenig Platz. */
@media (max-width: 400px) {
  .ed-lines li { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
  .ed-lines .badge-lite, .ed-lines .badge-pro { min-width: 0; }
}
.shot .ed-lines { width: fit-content; max-width: 100%; margin: 16px auto 0; color: var(--text); }
@media (max-width: 640px) {
  /* 44px wie alle übrigen Touch-Ziele der Seite (Reiter, Menü, Sprachlinks). */
  .js .shot-nav { width: 44px; height: 44px; margin-top: -22px; }
  .shot-nav svg { width: 20px; height: 20px; }
  .shot-nav.prev { left: 6px; }
  .shot-nav.next { right: 6px; }
}
@media (max-width: 640px) {
  /* Rand = Container-Innenabstand auf dem Handy (16px), damit die Leiste bündig bis an den Bildschirmrand läuft. */
  .tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin: 0 -16px 22px; padding: 2px 16px 8px; scroll-padding-inline: 16px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
}

/* Funktionen */
.grid { display: grid; gap: 18px; }
.features { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.alt .card { background: var(--bg); }
.card h3 { font-size: 18px; margin: 14px 0 6px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.card .ed-lines { font-size: 15px; color: var(--text); margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.icon svg { width: 24px; height: 24px; }
.features .card:nth-child(4n+2) .icon { background: var(--green-soft); color: var(--green); }
.features .card:nth-child(4n+3) .icon { background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); }
@media (max-width: 1000px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Schritte */
.steps { grid-template-columns: repeat(4, 1fr); counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--btn-bg); color: var(--btn-fg); font-weight: 800; margin-bottom: 14px;
}
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15.5px; margin: 0; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Datenschutz-Band */
.band { background: var(--band); color: var(--band-text); border-radius: 28px; padding: 56px 40px; position: relative; overflow: hidden; }
.band::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 199, 144, .25), transparent 65%);
}
.band h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); max-width: 640px; }
.band > p { color: var(--band-muted); font-size: 18px; max-width: 640px; }
.band-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; list-style: none; padding: 0; position: relative; z-index: 1; }
.band-points li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-s); padding: 20px; }
.band-points strong { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 17px; margin-bottom: 6px; }
.band-points svg { width: 22px; height: 22px; color: #4cc790; flex: none; }
.band-points span { color: var(--band-muted); font-size: 15.5px; }
@media (max-width: 800px) { .band { padding: 40px 22px; border-radius: 22px; } .band-points { grid-template-columns: 1fr; } }

/* Editionen */
.editions { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 920px; margin: 0 auto 40px; }
.edition { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 30px; min-width: 0; }
.edition img { width: 92px; height: 92px; margin-bottom: 4px; }
/* Der lange App-Name muss auch bei 320px in die Karte passen (Umbruchstellen per <wbr> im HTML). */
/* Badge unter dem Namen, in beiden Karten gleich: Neben dem Namen bräche «Standard» früher um als «Pro». */
.edition h3 { font-size: clamp(20px, 6vw, 24px); margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; max-width: 100%; }
.edition h3 .badge-pro, .edition h3 .badge-lite { font-size: 13px; padding: 3px 11px; letter-spacing: .07em; }
.edition p { margin: 0 0 8px; }
.edition .btn { margin-top: auto; }
.edition.pro { border: 2px solid var(--pro); box-shadow: var(--shadow); }
@media (max-width: 720px) { .editions { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 400px) { .edition { padding: 24px 20px; } }

/* Demoversion: Streifen unter den beiden Editionen, gestrichelt wie ein Probeexemplar */
.card.demo {
  display: flex; align-items: center; gap: 22px; max-width: 920px; margin: -16px auto 40px;
  border: 1.5px dashed color-mix(in srgb, var(--ink) 30%, transparent);
}
.demo img { width: 72px; height: 72px; flex: none; }
.demo > div { flex: 1; min-width: 0; }
.demo h3 { margin: 0 0 4px; }
.demo .demo-meta { font-size: 14px; margin-top: 6px; }
.demo .btn { flex: none; }
@media (max-width: 720px) {
  .card.demo { flex-direction: column; align-items: flex-start; margin-top: -22px; }
  .demo .btn { width: 100%; }
}

.compare-wrap { max-width: 920px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.alt .compare-wrap { background: var(--bg); }
.compare { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--surface-2); }
.compare tbody th { font-weight: 600; color: var(--ink); width: 44%; }
.compare td { width: 28%; color: var(--text); }
.compare .yes, .compare .no { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; align-items: center; justify-content: center; }
.compare .yes { background: var(--green-soft); color: var(--green); }
.compare .no { background: var(--surface-2); color: var(--muted); }
.compare .yes svg, .compare .no svg { width: 16px; height: 16px; }
/* Schmal: je Funktion ein Block, darunter Lite und Pro nebeneinander. */
@media (max-width: 600px) {
  .compare, .compare tbody { display: block; }
  .compare thead { display: none; }
  .compare tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
  .compare tbody tr:last-child { border-bottom: 0; }
  .compare tbody th { grid-column: 1 / -1; width: auto; padding: 0; border: 0; }
  .compare td { width: auto; padding: 0; border: 0; font-size: 15px; }
  /* Spaltenname schlicht statt als Badge: er steht in jeder Zeile, Badges wären hier zu viel. */
  .compare td::before {
    content: attr(data-label); display: block; margin-bottom: 4px;
    font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
  }
}

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-s); margin-bottom: 10px; }
.alt .faq details { background: var(--bg); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 54px 18px 20px; font-weight: 600; color: var(--ink); position: relative; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 20px 18px; color: var(--muted); overflow-wrap: break-word; }
.faq-more { text-align: center; margin-top: 26px; }

/* Unterseiten */
.page { padding: 56px 0 88px; }
.page-head { max-width: 820px; margin: 0 auto 32px; }
/* Lange Einwort-Titel («Nutzungsbedingungen», «Personvernerklæring») müssen bei 320px in eine Zeile passen. */
.page-head h1 { font-size: clamp(26px, 5vw + 10px, 48px); }
.page-head p { color: var(--muted); font-size: 18px; }
.legal { max-width: 820px; margin: 0 auto; overflow-wrap: break-word; } /* lange E-Mail-Adressen/URLs auf 320px */
.legal h2 { font-size: 21px; margin-top: 36px; padding-left: 14px; border-left: 4px solid var(--accent); }
.legal h3 { font-size: 17px; margin-top: 22px; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: .5em; }
.legal-meta { color: var(--muted); font-weight: 600; }
.legal-note { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-s); padding: 14px 18px; margin-bottom: 28px; font-size: 15.5px; }
.legal-note a, .legal-switch a { font-weight: 600; }
.legal-switch { margin-bottom: 28px; }
.contact-box, .imprint-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-s); padding: 20px 22px; margin: 14px 0; }
.contact-box p, .imprint-box p { margin: 0 0 .25em; }
.imprint-box dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.imprint-box dt { color: var(--muted); }
.imprint-box dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
@media (max-width: 520px) { .imprint-box dl { grid-template-columns: 1fr; gap: 0; } .imprint-box dd { margin-bottom: 10px; } }

.support-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 28px; max-width: 1080px; margin: 0 auto; align-items: start; }
.support-grid .card { position: sticky; top: 88px; }
.support-grid .card h2 { font-size: 22px; }
.support-grid .card p { color: var(--muted); }
.support-grid .card .btn { margin-top: 6px; }
.support-grid .faq { max-width: none; }
.mail { font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 860px) { .support-grid { grid-template-columns: 1fr; } .support-grid .card { position: static; } }

/* Fusszeile */
.footer { border-top: 1px solid var(--border); padding: 44px 0 36px; font-size: 15px; color: var(--muted); }
.footer-top { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-start; margin-bottom: 26px; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 0 22px; margin: 0; padding: 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-links a[aria-current="page"] { font-weight: 700; color: var(--ink); }
.footer a { color: var(--text); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer .langs { display: flex; flex-wrap: wrap; gap: 4px 14px; list-style: none; margin: 0 0 18px; padding: 0; font-size: 14px; }
.footer .langs a[aria-current="true"] { font-weight: 700; color: var(--ink); }
.footer small { display: block; font-size: 13px; line-height: 1.5; }
/* Link im Fliesstext: nicht nur über die Farbe erkennbar (WCAG 1.4.1). */
.footer small a { text-decoration: underline; }
/* Touch: Sprachlinks als 44px hohe Ziele statt 17px hoher Textzeilen. */
@media (max-width: 860px), (pointer: coarse) {
  .footer .langs { gap: 0 18px; }
  .footer .langs a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
}

/* Lightbox */
html:has(dialog[open]) { overflow: hidden; }
/* dvh: auf iOS ist 100vh höher als der sichtbare Bereich – die Knöpfe unten lägen sonst unter der Safari-Leiste. */
.lightbox {
  border: 0; padding: 0; background: transparent; margin: 0;
  width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; height: 100dvh; max-height: 100dvh;
}
.lightbox::backdrop { background: rgba(6, 10, 20, .94); }
.lightbox-inner { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 72px 24px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); object-fit: contain; filter: drop-shadow(0 20px 50px rgba(0, 0, 0, .6)); }
.lightbox p { color: #e6ebf5; margin: 16px 0 0; text-align: center; font-weight: 600; }
.lb-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center;
}
.lb-btn:hover { background: rgba(255, 255, 255, .26); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox-inner { padding: 64px 12px 84px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}

/* Sprachwahl-Startseite und 404 */
.chooser { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; text-align: center; }
.chooser img { width: 96px; height: 96px; margin: 0 auto 18px; }
.chooser h1 { font-size: 28px; }
.chooser ul { list-style: none; padding: 0; margin: 24px auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 520px; }
.chooser a { display: block; padding: 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: var(--ink); font-weight: 600; }
.chooser a:hover { border-color: color-mix(in srgb, var(--ink) 30%, transparent); }
@media (max-width: 420px) { .chooser ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero { padding-top: 40px; }
  .hero-icons img { width: 68px; height: 68px; }
  .cta .btn { width: 100%; }
  .brand { font-size: 15px; }
  .brand img { width: 30px; height: 30px; }
}
