/* Dossierheld – Landingpage
   Motiv: die Diagonale aus dem Zürcher Wappen (blau/weiss) und ein Bewerbungsdossier,
   das sich einmal selbst abhakt. Alles andere bleibt ruhig. */

:root {
  --blue: #0f5daa;        /* Zürichblau */
  --blue-deep: #0b4683;
  --ink: #0e2440;         /* Tinte */
  --ink-soft: #3d5270;
  --paper: #ffffff;
  --mist: #edf2f7;
  --line: #c9d6e3;
  --go: #17855a;          /* Zusage-Grün */
  --go-soft: #e3f3eb;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);

  --radius-folder: 6px;
  --container: 70rem;
  --gutter: 1rem;
  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}

img, svg { max-width: 100%; display: block; }

a { color: var(--blue); text-underline-offset: 0.15em; }
a:hover { color: var(--blue-deep); }

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

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: var(--paper); padding: .5rem 1rem;
}
.skip:focus { left: 1rem; }

.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

@media (min-width: 48rem) { :root { --gutter: 2rem; } }

/* ---------- Kopfzeile ---------- */
.top {
  display: flex; align-items: center; justify-content: space-between;
  height: 4.5rem;
  position: relative; z-index: 2;
}
.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 800; font-size: var(--step-1); letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none;
}
.brand-mark { width: 1.6rem; height: 1.6rem; flex: none; }
.lang { font-size: var(--step--1); white-space: nowrap; }
.lang a { color: var(--ink-soft); padding: .25rem .4rem; }
.lang [aria-current="true"] { color: var(--ink); font-weight: 700; text-decoration: none; }

/* ---------- Hero ---------- */
/* Kopfzeile und Hero teilen sich die Zürcher Diagonale: blau oben rechts, weiss unten links */
.hero-zone { position: relative; isolation: isolate; overflow: hidden; margin-top: -4.5rem; padding-top: 4.5rem; }
.hero-zone::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--blue);
  clip-path: polygon(58% 0, 100% 0, 100% 100%);
  z-index: -1;
}
.hero { padding-bottom: 3.5rem; }
.hero-grid {
  display: grid; gap: 2.5rem;
  padding-top: 1.5rem;
}
@media (min-width: 56rem) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; align-items: center; padding-top: 2rem; }
  .home .top .lang a { color: #dbe7f4; }
  .home .top .lang [aria-current="true"] { color: #ffffff; }
}
.hero h1 {
  font-size: var(--step-3);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 0 0 1.25rem;
  max-width: 16ch;
  text-wrap: balance;
}
.hero .lead {
  font-size: var(--step-1);
  color: var(--ink-soft);
  max-width: 34rem;
  margin: 0 0 1.75rem;
}
/* Auf dem Handy liegt die Diagonale nur hinter dem Dossier, nicht hinter dem Text */
@media (max-width: 55.99rem) {
  .hero-zone::before { display: none; }
  .dossier { isolation: isolate; }
  /* Diagonale über die ganze Breite hinter dem unteren Teil des Dossiers (vorher nur ein Keil am rechten Rand) */
  .dossier::before {
    content: "";
    position: absolute;
    top: 45%; bottom: -3rem;
    left: calc(50% - 50vw); right: calc(50% - 50vw);
    background: var(--blue);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    z-index: -1;
  }
}

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.btn {
  display: inline-block;
  font: inherit; font-weight: 700;
  background: var(--blue); color: var(--paper);
  border: 2px solid var(--blue);
  padding: .85rem 1.4rem;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--paper); }
.btn-quiet { background: transparent; color: var(--blue); }
.btn-quiet:hover { background: var(--mist); color: var(--blue-deep); }
.fine { font-size: var(--step--1); color: var(--ink-soft); margin: .75rem 0 0; max-width: 34rem; }

/* ---------- Das Dossier im Hero ---------- */
.dossier {
  position: relative;
  max-width: 24rem;
  margin: 0 auto;
  justify-self: center;
}
.dossier-tab {
  display: inline-block;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-bottom: 0;
  border-radius: var(--radius-folder) var(--radius-folder) 0 0;
  padding: .35rem .9rem;
  font-size: var(--step--1); font-weight: 700;
  margin-left: 1.25rem;
  position: relative; top: 2px;
}
.dossier-body {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 0 var(--radius-folder) var(--radius-folder) var(--radius-folder);
  padding: 1.5rem 1.5rem 3.25rem;
  box-shadow: 10px 10px 0 var(--ink);
}
.dossier-title { font-weight: 800; font-size: var(--step-1); margin: 0 0 1rem; line-height: 1.2; }
.dossier ul { list-style: none; margin: 0; padding: 0; }
.dossier li {
  display: flex; align-items: center; gap: .7rem;
  padding: .55rem 0;
  border-bottom: 1px dashed var(--line);
}
.dossier li:last-child { border-bottom: 0; }
.box {
  width: 1.35rem; height: 1.35rem; flex: none;
  border: 2px solid var(--ink); border-radius: 3px;
  display: grid; place-items: center;
  background: var(--paper);
}
.box svg { width: .9rem; height: .9rem; opacity: 0; transform: scale(.4); }
.dossier li.done .box { background: var(--go); border-color: var(--go); }
.dossier li.done .box svg { opacity: 1; transform: scale(1); }

.stamp {
  position: absolute; right: -.75rem; bottom: .6rem;
  transform: rotate(-9deg);
  border: 3px solid var(--go);
  color: var(--go);
  font-weight: 800; font-size: var(--step-1);
  padding: .2rem .7rem;
  border-radius: 4px;
  background: rgba(255,255,255,.92);
  opacity: 0;
}
.dossier.complete .stamp { opacity: 1; }

@media (prefers-reduced-motion: no-preference) {
  .box svg { transition: opacity .18s ease, transform .18s ease; }
  .dossier li .box { transition: background-color .18s ease, border-color .18s ease; }
  .dossier.complete .stamp { animation: stamp .35s cubic-bezier(.2,.9,.3,1.4) both; }
}
@keyframes stamp {
  from { opacity: 0; transform: rotate(-9deg) scale(1.6); }
  to   { opacity: 1; transform: rotate(-9deg) scale(1); }
}

/* ---------- Abschnitte ---------- */
.section { padding: 3.5rem 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-tint { background: var(--mist); border-top: 0 !important; }
.section h2 {
  font-size: var(--step-2);
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 800;
  margin: 0 0 1rem;
  max-width: 30ch;
}
.section p { max-width: 38rem; margin: 0 0 1rem; }
.prose-sub { color: var(--ink-soft); }

.facts { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
@media (min-width: 48rem) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact strong { display: block; font-size: var(--step-2); line-height: 1.1; color: var(--blue); }
.fact span { color: var(--ink-soft); font-size: var(--step--1); }
.sources { font-size: var(--step--1); color: var(--ink-soft); margin-top: 1.5rem; }

.contents { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .25rem; max-width: 40rem; }
/* Kein Flex: sonst zerfällt ein Punkt mit Link in Spalten */
.contents li { position: relative; padding: .6rem 0 .6rem 1.65rem; border-bottom: 1px solid var(--line); }
.contents li::before {
  content: ""; position: absolute; left: 0; top: .95rem; width: .9rem; height: .9rem;
  border: 2px solid var(--ink); border-radius: 2px; box-sizing: border-box;
}

/* ---------- Feature-Test ---------- */
.votes { list-style: none; margin: 1.75rem 0 0; padding: 0; max-width: 46rem; }
.vote {
  display: grid; grid-template-columns: 1fr auto; gap: .5rem 1rem; align-items: center;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
}
.vote h3 { margin: 0; font-size: var(--step-0); font-weight: 700; }
.vote p { margin: .2rem 0 0; font-size: var(--step--1); color: var(--ink-soft); }
.vote-btn {
  font: inherit; font-size: var(--step--1); font-weight: 700;
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 999px;
  padding: .45rem .9rem; cursor: pointer; white-space: nowrap;
}
.vote-btn[aria-pressed="true"] { background: var(--go); border-color: var(--go); color: var(--paper); }
.vote-note { font-size: var(--step--1); color: var(--ink-soft); margin-top: 1rem; }
.vote-thanks { font-weight: 700; color: var(--go); min-height: 1.5em; }

/* ---------- Preis ---------- */
.price-card {
  margin-top: 1.5rem;
  max-width: 34rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 0 var(--radius-folder) var(--radius-folder) var(--radius-folder);
  padding: 1.5rem;
  box-shadow: 8px 8px 0 var(--blue);
}
.price-line { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; margin-bottom: .5rem; }
.price-now { font-size: var(--step-3); font-weight: 800; line-height: 1; }
.price-was { color: var(--ink-soft); text-decoration: line-through; }
.price-card ul { margin: 1rem 0 1.25rem; padding-left: 1.2rem; }
.price-card li { margin: .25rem 0; }
.price-card + .price-card { box-shadow: 8px 8px 0 var(--go); }

/* ---------- Formulare ---------- */
form { max-width: 36rem; }
label { font-weight: 700; display: block; margin-bottom: .35rem; }
input[type="email"], textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: .75rem .85rem; border: 2px solid var(--ink-soft); border-radius: 4px; background: var(--paper);
}
input[type="email"]:focus, textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(15,93,170,.25); }
.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; font-size: var(--step--1); margin: .9rem 0 1.1rem; }
.check input { margin-top: .25rem; width: 1.1rem; height: 1.1rem; flex: none; accent-color: var(--blue); }
.form-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.form-row input { flex: 1 1 15rem; }
.hp { position: absolute; left: -9999px; }

fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; }
legend { font-weight: 700; margin-bottom: .5rem; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-block; padding: .45rem .85rem;
  border: 2px solid var(--line); border-radius: 999px;
  font-size: var(--step--1); cursor: pointer; background: var(--paper);
}
.choice input:checked + span { border-color: var(--blue); background: var(--blue); color: var(--paper); }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ---------- FAQ ---------- */
.faq { max-width: 42rem; margin-top: 1rem; }
.faq details { border-bottom: 1px solid var(--line); padding: .9rem 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: .6rem 0 0; color: var(--ink-soft); }

/* ---------- Fusszeile ---------- */
.foot {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
  font-size: var(--step--1); color: var(--ink-soft);
}
.foot nav { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-bottom: .75rem; }
.foot .foot-ver { margin: .5rem 0 0; font-size: .85em; }

/* ---------- Inhaltsseiten (Checkliste, Rechtliches) ---------- */
.page { padding-top: 2rem; padding-bottom: 4rem; }
.page h1 { font-size: var(--step-3); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 1rem; max-width: 22ch; }
.page h2 { font-size: var(--step-2); margin: 2.5rem 0 .75rem; }
.page p, .page li { max-width: 42rem; }
.draft {
  border: 2px dashed #b7791f; background: #fff8e6; color: #5c3d00;
  padding: .75rem 1rem; border-radius: 4px; max-width: 42rem; margin-bottom: 1.5rem;
}
.table-wrap { overflow-x: auto; max-width: 100%; }
table { border-collapse: collapse; width: 100%; max-width: 56rem; font-size: var(--step--1); }
th, td { text-align: left; vertical-align: top; padding: .6rem .5rem; border-bottom: 1px solid var(--line); }
th { font-weight: 700; }
td:first-child { width: 2rem; }

@media print {
  .top, .foot, .no-print { display: none !important; }
  body { font-size: 11pt; }
  a { color: var(--ink); text-decoration: none; }
}

/* ---------- Dossier-Check ---------- */
.check-form { max-width: 42rem; margin-top: 2rem; }
.check-form fieldset { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.check-form .check { font-size: var(--step-0); margin: .55rem 0; }
.check-form input[type="text"], .check-form input[type="date"] {
  width: 100%; font: inherit; color: var(--ink);
  padding: .65rem .8rem; border: 2px solid var(--ink-soft); border-radius: 4px; background: var(--paper);
}
.check-form input[type="text"]:focus, .check-form input[type="date"]:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(15,93,170,.25); }
.sub-field { margin: .25rem 0 .9rem 1.75rem; max-width: 14rem; }
.sub-field label, .two-col label { font-size: var(--step--1); }
.two-col { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .two-col { grid-template-columns: 1fr 1fr; align-items: end; } }
.sr-hint { font-weight: 400; font-size: var(--step--1); color: var(--ink-soft); }
[hidden] { display: none !important; }

.check-result { max-width: 42rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 2px solid var(--ink); outline: none; }
.result-head { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.25rem; }
.result-stamp {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: 7rem; height: 7rem; border-radius: 50%;
  border: 4px solid currentColor; transform: rotate(-8deg);
  background: var(--paper);
}
.result-score { font-size: 2.4rem; font-weight: 800; line-height: 1; }
.result-of { font-size: var(--step--1); font-weight: 700; }
.grade-strong { color: var(--go); }
.grade-ok { color: #a45f00; }
.grade-weak { color: #b42318; }
.result-grade { font-size: var(--step-2); font-weight: 800; margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  .result-stamp { animation: stamp .35s cubic-bezier(.2,.9,.3,1.4) both; }
}
.findings { list-style: none; padding: 0; margin: 0 0 2rem; }
.finding { display: grid; grid-template-columns: 5.5rem 1fr; gap: .75rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.finding-tag { font-size: var(--step--1); font-weight: 800; padding-top: .1rem; }
.level-error .finding-tag { color: #b42318; }
.level-warn .finding-tag { color: #a45f00; }
.level-tip .finding-tag { color: var(--blue); }
.level-ok .finding-tag { color: var(--go); }
.check-next h2 { margin-top: 0; }

/* ---------- Werkzeuge (gemeinsam) ---------- */
.top-nav { display: flex; align-items: center; gap: 1rem; font-size: var(--step--1); }
.top-nav > a { color: var(--ink); font-weight: 700; text-decoration: none; }
.top-nav > a:hover { color: var(--blue); }
/* Werkzeuge- und Preise-Link auch am Handy: unter 26 rem enger gesetzt, nur auf sehr schmalen Geräten ausgeblendet */
.top { gap: .75rem; }
@media (max-width: 25.99rem) {
  .top-nav { gap: .6rem; font-size: .8125rem; }
  .top-nav .lang, .top .lang { font-size: .8125rem; }
  .lang a { padding: .25rem .2rem; }
  .brand { font-size: 1.1rem; gap: .4rem; }
}
@media (max-width: 21rem) { .top-nav > a { display: none; } }
.tool-kicker { font-size: var(--step--1); font-weight: 700; color: var(--go); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 .5rem; }
.tool-intro { font-size: var(--step-1); color: var(--ink-soft); max-width: 40rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.field { min-width: 0; margin-bottom: .25rem; }
.field label, .label-like { font-size: var(--step--1); font-weight: 700; display: block; margin: 0 0 .35rem; }
.label-like { margin-top: 1rem; }
.check-form input[type="text"], .check-form input[type="date"], .check-form input[type="number"],
.check-form input[type="tel"], .check-form input[type="email"], .check-form select, .check-form textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: .65rem .8rem; border: 2px solid var(--ink-soft); border-radius: 4px; background: var(--paper);
}
.check-form select { appearance: auto; }
.check-form input:focus, .check-form select:focus, .check-form textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(15,93,170,.25); }
.check-form .two-col { margin-bottom: .5rem; }
.check-form .choices { margin: .25rem 0 .75rem; }
.link-btn { font: inherit; font-size: var(--step--1); background: none; border: 0; padding: 0; color: var(--blue); text-decoration: underline; text-underline-offset: .15em; cursor: pointer; }
.link-btn.danger { color: #b42318; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.privacy-note { background: var(--go-soft); border-left: 4px solid var(--go); padding: .75rem 1rem; max-width: 42rem; font-size: var(--step--1); }

/* Betrugs-Check */
.risk-stamp { width: auto; min-width: 9rem; height: auto; border-radius: 6px; padding: .6rem 1rem; text-align: center; }
.risk-word { font-size: var(--step-1); font-weight: 800; line-height: 1.15; text-transform: uppercase; letter-spacing: .03em; }
.result-grade-sm { font-size: var(--step-1); line-height: 1.3; }
@media (max-width: 30rem) { .result-head { flex-direction: column; align-items: flex-start; } }
.rules { padding-left: 1.2rem; max-width: 42rem; }
.rules li { margin: .4rem 0; }

/* Motivationsschreiben */
.letter-layout { display: grid; gap: 2rem; margin-top: 1.5rem; }
.letter-form { max-width: none; margin-top: 0; }
@media (min-width: 64rem) {
  .letter-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .letter-preview { position: sticky; top: 1rem; }
}
.letter-preview { min-width: 0; border: 2px solid var(--ink); border-radius: 0 var(--radius-folder) var(--radius-folder) var(--radius-folder); padding: 1.25rem; box-shadow: 8px 8px 0 var(--blue); background: var(--paper); }
.letter-preview h2 { margin: 0 0 .25rem; font-size: var(--step-1); }
.letter-out {
  width: 100%; font: inherit; font-size: .95rem; line-height: 1.5; color: var(--ink);
  border: 1px solid var(--line); border-radius: 4px; padding: 1rem; margin: .75rem 0 1rem; background: #fcfdfe; resize: vertical;
}
.letter-out:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(15,93,170,.25); }
.parse-note, .letter-edited { font-size: var(--step--1); background: var(--mist); padding: .6rem .8rem; border-radius: 4px; }
.letter-print { display: none; }
@media print {
  .tool-main:has(.letter-print) > :not(.letter-print), .tool-page:has(.letter-print) .tool-side { display: none !important; }
  .tool-page:has(.letter-print) { padding: 0; }
  .letter-print { display: block !important; white-space: pre-wrap; font: 11pt/1.5 Arial, sans-serif; color: #000; }
}

/* Inserat erklärt */
.gloss-cat { font-size: var(--step-0); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); margin: 1.75rem 0 .5rem; }
.gloss { margin: 0; max-width: 46rem; }
.gloss dt { font-weight: 800; margin-top: .9rem; }
.gloss dd { margin: .2rem 0 0; padding-bottom: .9rem; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.calc { margin-top: 3rem; padding-top: 2rem; border-top: 2px solid var(--ink); max-width: 46rem; }
.calc .check-form { margin-top: 1rem; }
.costs { display: grid; grid-template-columns: minmax(0, 1fr); gap: .1rem; max-width: 46rem; margin: 1rem 0; }
@media (min-width: 40rem) { .costs { grid-template-columns: 15rem minmax(0, 1fr); } }
.costs dt { font-weight: 700; padding: .55rem 0 0; }
.costs dd { margin: 0; padding: .55rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 40rem) { .costs dt { border-bottom: 1px solid var(--line); padding-bottom: .55rem; } }
.cost-verdict { font-weight: 700; padding: .75rem 1rem; border-radius: 4px; }
.cost-verdict.ok { background: var(--go-soft); color: var(--go); }
.cost-verdict.mid { background: #fdf0dc; color: #8a4b00; }
.cost-verdict.high { background: #fbe3e1; color: #9b1c1c; }
.tool-aside { margin-top: 3rem; padding: 1.5rem; background: var(--mist); border-radius: 4px; max-width: 46rem; }
.tool-aside h2 { margin-top: 0; font-size: var(--step-1); }

/* Tracker */
.tracker-form { max-width: 46rem; }
.tracker-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; max-width: 46rem; }
.tracker-head h2 { margin: 0; }
.income-field { width: 16rem; max-width: 100%; }
.income-field input { width: 100%; font: inherit; padding: .5rem .7rem; border: 2px solid var(--ink-soft); border-radius: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0; }
.chip { font-size: var(--step--1); font-weight: 700; padding: .2rem .7rem; border-radius: 999px; background: var(--mist); }
.chip-total { background: var(--ink); color: var(--paper); }
.st-accepted { background: var(--go-soft); color: var(--go); }
.st-rejected, .st-withdrawn { background: #f1f1f1; color: #555; }
.st-applied, .st-followed { background: #e3edf8; color: var(--blue-deep); }
.flat-list { list-style: none; padding: 0; margin: 0; max-width: 46rem; display: grid; gap: .75rem; }
.flat-card { border: 2px solid var(--ink); border-radius: 0 var(--radius-folder) var(--radius-folder) var(--radius-folder); padding: 1rem 1.1rem; background: var(--paper); }
.flat-card.is-done { border-color: var(--line); opacity: .8; }
.flat-top { display: flex; gap: .75rem; justify-content: space-between; align-items: start; flex-wrap: wrap; }
.flat-title { margin: 0; font-size: var(--step-0); min-width: 0; overflow-wrap: anywhere; }
.flat-status { font: inherit; font-size: var(--step--1); font-weight: 700; border: 0; border-radius: 999px; padding: .3rem .6rem; }
.flat-meta, .flat-notes { font-size: var(--step--1); color: var(--ink-soft); margin: .4rem 0 0; overflow-wrap: anywhere; }
.flat-next { font-size: var(--step--1); margin: .4rem 0 0; font-weight: 700; }
.flat-next.is-due { color: #9b1c1c; }
.flat-actions { display: flex; gap: 1.25rem; margin-top: .6rem; }
.tracker-empty { color: var(--ink-soft); padding: 1rem 0; }
.tracker-tools { margin-top: 1.5rem; }
.backup-list { max-width: 42rem; padding-left: 1.2rem; }
.backup-list li { margin: .25rem 0; }
.file-btn { position: relative; overflow: hidden; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* Dossier-PDF */
.steps-inline { padding-left: 1.2rem; max-width: 42rem; }
.steps-inline li { margin: .3rem 0; }
.drop { border: 2px dashed var(--ink-soft); border-radius: 6px; padding: 1.5rem; text-align: center; max-width: 42rem; margin: 1.25rem 0; background: var(--paper); }
.drop.is-over { border-color: var(--blue); background: var(--mist); }
.drop p { margin: .4rem auto; }
.drop .btn { position: relative; }
.merge-list { list-style: none; padding: 0; margin: 0 0 1.5rem; max-width: 42rem; }
.merge-item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .5rem 1rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--line); }
@media (max-width: 30rem) { .merge-item { grid-template-columns: minmax(0, 1fr) auto; } .merge-btns { grid-column: 1 / -1; } }
.merge-name { display: block; font-weight: 700; overflow-wrap: anywhere; }
.merge-meta { font-size: var(--step--1); color: var(--ink-soft); }
.merge-mark { font-size: var(--step--1); font-weight: 400; display: flex; gap: .35rem; align-items: center; margin: 0; white-space: nowrap; }
.merge-mark input { accent-color: var(--blue); width: 1rem; height: 1rem; }
.merge-btns { display: flex; gap: .3rem; }
.icon-btn { font: inherit; width: 2.25rem; height: 2.25rem; border: 2px solid var(--line); border-radius: 4px; background: var(--paper); cursor: pointer; color: var(--ink); }
.icon-btn:hover:not(:disabled) { border-color: var(--ink); }
.icon-btn:disabled { opacity: .35; cursor: default; }
.merge-options { max-width: 42rem; margin-top: 0; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.merge-status { font-weight: 700; max-width: 42rem; padding: .7rem 1rem; border-radius: 4px; background: var(--mist); }
.merge-status.ok { background: var(--go-soft); color: var(--go); }
.merge-status.warn { background: #fdf0dc; color: #8a4b00; }
.merge-status.error { background: #fbe3e1; color: #9b1c1c; }

/* Werkzeug-Übersicht */
.tool-grid { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1rem; }
@media (min-width: 40rem) { .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .tool-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tool-card a { display: block; height: 100%; padding: 1.25rem; border: 2px solid var(--ink); border-radius: 0 var(--radius-folder) var(--radius-folder) var(--radius-folder); color: var(--ink); text-decoration: none; background: var(--paper); transition: box-shadow .15s ease, transform .15s ease; }
.tool-card a:hover { box-shadow: 6px 6px 0 var(--blue); transform: translate(-2px, -2px); }
.tool-card h2 { font-size: var(--step-1); margin: 0 0 .35rem; }
.tool-card p { margin: 0; color: var(--ink-soft); font-size: var(--step--1); }

/* Feature-Abschnitt auf der Startseite: fertige Werkzeuge */
.vote-live { font-size: var(--step--1); font-weight: 700; color: var(--paper); background: var(--go); border-radius: 999px; padding: .1rem .55rem; margin-left: .4rem; vertical-align: .1em; white-space: nowrap; }
.vote-try { font-weight: 700; }
.file-btn { display: inline-flex; align-items: center; }
@media (min-width: 56rem) { .home .top .top-nav > a { color: #ffffff; } }
.votes-title { margin-top: 3.5rem !important; }
.tool-card h3 { font-size: var(--step-1); margin: 0 0 .35rem; }
.section .tool-grid { margin-top: 1.5rem; }

/* Express-Bewerbung */
.express { max-width: 52rem; }
.express-steps { list-style: none; counter-reset: s; padding: 0; margin: 1.25rem 0; display: grid; gap: .6rem; }
@media (min-width: 48rem) { .express-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.express-steps li { counter-increment: s; border: 2px solid var(--ink); border-radius: 0 var(--radius-folder) var(--radius-folder) var(--radius-folder); padding: .8rem 1rem; font-size: var(--step--1); background: var(--paper); }
.express-steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--blue); color: var(--paper); font-weight: 800; margin-right: .5rem; }
.express-block { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 2px solid var(--ink); }
.express-block h2 { margin: 0 0 1rem; font-size: var(--step-2); }
.step-note { font-size: var(--step--1); font-weight: 700; color: var(--go); margin-left: .4rem; white-space: nowrap; }
.express details { border: 1px solid var(--line); border-radius: 6px; padding: .25rem 1rem 1rem; margin: 0 0 1rem; background: var(--paper); }
.express summary { font-weight: 800; cursor: pointer; padding: .75rem 0; }
.express .check-form { max-width: none; margin-top: 0; }
.express .check-form fieldset { border-top: 0; padding-top: 0; }
.express-media { display: grid; gap: 1.25rem; margin-top: 1rem; }
@media (min-width: 48rem) { .express-media { grid-template-columns: 14rem minmax(0, 1fr); } }
.drop-sm { padding: 1rem; margin: 0; text-align: left; }
.photo-preview { display: flex; align-items: end; gap: .75rem; margin-top: .75rem; }
.photo-preview img { width: 96px; height: 120px; object-fit: cover; border-radius: 4px; border: 2px solid var(--ink); }
.chip-missing { background: #fff4e5; color: #8a4b00; }
.doc-type { font: inherit; font-weight: 700; font-size: var(--step--1); border: 1px solid var(--line); border-radius: 4px; padding: .25rem .4rem; max-width: 100%; margin-bottom: .2rem; }
.express-out { align-items: start; margin-top: 1rem; }
.express-out .letter-out { margin-top: .35rem; }
.express-result .cta-row { margin-bottom: .5rem; }
.express-out input, .express-out textarea { width: 100%; font: inherit; color: var(--ink); padding: .65rem .8rem; border: 2px solid var(--ink-soft); border-radius: 4px; background: var(--paper); }
.express-out .letter-out { border-width: 1px; }
.express-out .cta-row { margin-top: .5rem; }
.follow-box { margin-top: .75rem; }
.follow-box textarea { width: 100%; font: inherit; font-size: var(--step--1); padding: .6rem .7rem; border: 1px solid var(--line); border-radius: 4px; }
.follow-box .flat-actions { align-items: center; flex-wrap: wrap; gap: .75rem; }

/* Übergabeprotokoll */
.ho-title { margin: 2.5rem 0 .5rem; font-size: var(--step-2); }
.rooms { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-top: 1rem; }
.room-card { border: 2px solid var(--ink); border-radius: 0 var(--radius-folder) var(--radius-folder) var(--radius-folder); padding: 1rem 1.1rem; background: var(--paper); }
.room-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.room-name { font: inherit; font-weight: 800; font-size: var(--step-1); border: 0; border-bottom: 2px dashed var(--line); padding: .2rem 0; min-width: 0; flex: 1; background: transparent; color: var(--ink); }
.room-name:focus { outline: none; border-bottom-color: var(--blue); }
.room-items { list-style: none; padding: 0; margin: .5rem 0; display: grid; gap: .1rem; }
@media (min-width: 48rem) { .room-items { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; } }
.room-item .check { margin: .35rem 0; font-size: var(--step-0); }
.defect-tag { display: none; font-size: .75rem; font-weight: 800; color: #9b1c1c; background: #fbe3e1; border-radius: 999px; padding: .05rem .5rem; margin-left: .4rem; }
.has-defect .defect-tag { display: inline-block; }
.defect-note { width: 100%; font: inherit; font-size: var(--step--1); padding: .45rem .6rem; border: 2px solid #e8b4ae; border-radius: 4px; margin: 0 0 .5rem 1.7rem; max-width: calc(100% - 1.7rem); }
.room-photos { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: .5rem; }
.room-photo { position: relative; margin: 0; }
.room-photo img { width: 96px; height: 72px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); display: block; }
.room-photo figcaption { font-size: .7rem; color: var(--ink-soft); }
.room-photo .icon-btn { position: absolute; top: -8px; right: -8px; width: 1.6rem; height: 1.6rem; font-size: .75rem; background: var(--paper); }
.add-room { margin-top: 1rem; }
.add-room input { font: inherit; padding: .7rem .8rem; border: 2px solid var(--ink-soft); border-radius: 4px; flex: 1 1 14rem; min-width: 0; }
.tool-card-featured a { box-shadow: 6px 6px 0 var(--blue); }
@media (min-width: 40rem) { .tool-card-featured { grid-column: span 2; } }
.tool-card .vote-live { margin: 0 0 .5rem; display: inline-block; }
.pro-gate { max-width: 40rem; margin-top: 1.5rem; padding: 1.5rem; border: 2px solid var(--ink); border-radius: 0 var(--radius-folder) var(--radius-folder) var(--radius-folder); box-shadow: 8px 8px 0 var(--blue); background: var(--paper); }
.pro-gate h2 { margin-top: 0; font-size: var(--step-2); }
.pro-gate .check-form { margin-top: 1rem; }
.price-note { max-width: 34rem; margin-top: 2.25rem; }
.plan-note { font-weight: 700; padding: .6rem .9rem; border-radius: 4px; background: #fff4e5; color: #8a4b00; max-width: 42rem; }
.plan-note.is-pro { background: var(--go-soft); color: var(--go); }
.pro-gate .gate-text { max-width: 36rem; }
.purchase-box { max-width: 40rem; margin-top: 1.5rem; }
.code-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.code-row input { flex: 1 1 16rem; min-width: 0; font: inherit; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem; padding: .7rem .8rem; border: 2px solid var(--ink-soft); border-radius: 4px; background: var(--mist); color: var(--ink); }

/* Ratgeber */
.article { max-width: 42rem; }
.article h2 { font-size: var(--step-1); margin: 2rem 0 .6rem; }
.article p, .article li { max-width: 42rem; }
.article table { font-size: var(--step--1); }
.article td:first-child { width: auto; font-weight: 700; }
.article-cta { margin-top: 2.5rem; }
.sources-list { font-size: var(--step--1); padding-left: 1.2rem; }
.guides-title { font-size: var(--step-1); margin: 2.5rem 0 .5rem; }
.guides { padding-left: 1.2rem; }
.guides li { margin: .35rem 0; }

/* Umzugs-Lotse */
.mv-deadline { margin-top: 1rem; padding: .9rem 1.1rem; border-left: 4px solid var(--blue); background: var(--mist); max-width: 42rem; }
.mv-deadline p { margin: .2rem 0; }
.mv-deadline.is-tight { border-color: #b7791f; background: #fff4e5; }
.mv-deadline.is-late { border-color: #b42318; background: #fdecea; }
.mv-timeline { list-style: none; padding: 0; margin: 1rem 0; max-width: 46rem; display: grid; gap: .5rem; }
.mv-item { border: 2px solid var(--mist); border-radius: 6px; background: var(--paper); }
.mv-item.is-deadline { border-color: var(--blue); }
.mv-item.is-overdue .mv-date { color: #b42318; }
.mv-item.is-done { opacity: .6; }
.mv-item.is-done .mv-title { text-decoration: line-through; }
.mv-check { font-weight: 400; display: flex; gap: .75rem; align-items: flex-start; padding: .75rem .9rem; cursor: pointer; }
.mv-check input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; flex: none; accent-color: var(--blue); }
.mv-body { display: grid; gap: .15rem; min-width: 0; }
.mv-date { font-size: var(--step--1); font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .03em; }
.mv-item.is-deadline .mv-date { color: var(--blue); }
.mv-text { font-size: var(--step--1); }
.mv-warn { background: #fff4e5; border-left: 4px solid #b7791f; padding: .6rem .9rem; max-width: 42rem; }
#mv-text { width: 100%; font: inherit; font-size: var(--step--1); padding: .65rem .8rem; border: 2px solid var(--ink-soft); border-radius: 4px; }

/* Nachmieter-Paket */
.badge-free { font-size: var(--step--1); font-weight: 700; vertical-align: middle; padding: .1rem .55rem; border-radius: 999px; background: var(--go-soft); color: var(--go); margin-left: .35rem; }
.nm-teaser { margin-top: 2.5rem; padding: 1.25rem 1.25rem .5rem; background: var(--mist); border-radius: 6px; max-width: 46rem; }
.nm-teaser h2 { margin: 0 0 .5rem; font-size: var(--step-1); }
.nm-cands { display: grid; gap: 1rem; max-width: 52rem; }
.nm-cand { border: 2px solid var(--mist); border-radius: 6px; padding: 1rem; background: var(--paper); }
.nm-cand.is-ready { border-color: var(--go); }
.nm-cand .two-col { margin-bottom: .5rem; }
.nm-cand-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .75rem; }
.nm-cand-top .chips { margin: 0; }
.chip-ok { background: var(--go-soft); color: var(--go); }
.chip-no { background: #fdecea; color: #b42318; }
.nm-tri { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); margin: .5rem 0; }
.nm-tri label { font-size: var(--step--1); font-weight: 700; display: grid; gap: .25rem; }
.nm-cand .check { font-weight: 700; }
#nm-ad-title, #nm-ad, #nm-msg-text, #nm-letter { width: 100%; font: inherit; font-size: var(--step--1); color: var(--ink); padding: .65rem .8rem; border: 2px solid var(--ink-soft); border-radius: 4px; background: var(--paper); }
#nm-ad-title { font-weight: 700; }

/* Schreiben mit KI */
.ai-box { margin-top: 1rem; padding: .9rem 1rem; border: 2px solid var(--blue); border-radius: 6px; background: var(--paper); }
.ai-title { margin: 0 0 .5rem; }
.ai-intro { margin: 0 0 .5rem; }
.ai-questions .field { margin-bottom: .6rem; }
.ai-questions textarea { width: 100%; font: inherit; color: var(--ink); padding: .55rem .7rem; border: 2px solid var(--ink-soft); border-radius: 4px; background: var(--paper); }
.ai-questions textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(15,93,170,.25); }
.ai-box select { font: inherit; padding: .55rem .7rem; border: 2px solid var(--ink-soft); border-radius: 4px; background: var(--paper); color: var(--ink); }
.badge-pro { font-size: var(--step--1); font-weight: 700; padding: .1rem .55rem; border-radius: 999px; background: var(--ink); color: var(--paper); margin-left: .35rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Selbsttest */
.selftest-group { font-size: var(--step-1); margin: 2rem 0 .5rem; }
.selftest-list { list-style: none; padding: 0; margin: 0; max-width: 42rem; }
.selftest-list li { font-weight: 400; margin: .4rem 0; }
.selftest-sym { font-weight: 800; display: inline-block; min-width: 1.1em; }
#selftest-pub { width: 100%; font: 13px ui-monospace, Menlo, monospace; padding: .6rem; border: 2px solid var(--ink-soft); border-radius: 4px; }

/* Inserat-Check */
.lc-summary { font-size: var(--step-1); max-width: 42rem; }
.lc-questions { max-width: 42rem; padding-left: 1.4rem; }
.lc-questions li { margin: .45rem 0; }
#lc-result .selftest-list li { font-weight: 400; }

/* Unterlagen-Check (Prototyp) */
.dc-doc { border-top: 1px solid var(--line); padding: .75rem 0; max-width: 42rem; }
.dc-doc h3 { margin: 0 0 .25rem; font-size: var(--step-0); word-break: break-all; }
.dc-meta { color: var(--ink-soft); font-size: var(--step--1); margin: 0 0 .5rem; }
.dc-doc .merge-status { font-weight: 400; margin: .35rem 0; }
.dc-text { white-space: pre-wrap; font-size: var(--step--1); max-height: 16rem; overflow: auto; background: var(--mist); padding: .6rem; border-radius: 4px; }

/* Kopier-Assistent */
.fh-title { font-size: var(--step-1); margin: 1.75rem 0 .4rem; }
.fh-list { list-style: none; padding: 0; margin: 0; max-width: 42rem; }
.fh-row { display: flex; align-items: center; gap: .75rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.fh-text { flex: 1; min-width: 0; }
.fh-label { display: block; font-size: var(--step--1); color: var(--ink-soft); }
.fh-value { display: block; font-weight: 700; overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }
.fh-copy { flex: none; padding: .45rem .8rem; }
.fh-row.is-done .fh-value { color: var(--go); }
.fh-row.is-done .fh-copy { border-color: var(--go); color: var(--go); }
#formhelp-status { position: sticky; bottom: .75rem; }

/* Wohnungen vergleichen */
.lc-compare { margin-top: 2rem; }
.cmp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1rem 0; }
.cmp { border-collapse: collapse; min-width: 100%; font-size: var(--step--1); }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: .55rem .6rem; border-bottom: 1px solid var(--line); min-width: 9.5rem; }
.cmp th { position: sticky; left: 0; background: var(--paper); font-weight: 700; min-width: 8rem; max-width: 9rem; z-index: 1; }
.cmp td.cmp-best { background: var(--go-soft); font-weight: 700; }
.cmp td.cmp-warn { background: #fdf0dc; }
.cmp-tag { display: block; font-size: .8em; color: var(--go); font-weight: 700; }
.cmp-notes { width: 100%; font: inherit; padding: .4rem; border: 2px solid var(--ink-soft); border-radius: 4px; background: var(--paper); color: var(--ink); }

/* Schreiben prüfen mit KI */
.review-out { margin-top: 1rem; }
.review-head { padding: .8rem 1rem; border-radius: 4px; background: var(--mist); margin-bottom: .5rem; }
.review-head p { margin: .2rem 0; }
.review-verdict { font-weight: 800; }
.review-ready { background: var(--go-soft); }
.review-ready .review-verdict { color: var(--go); }
.review-almost { background: #fdf0dc; }
.review-almost .review-verdict, .review-rework .review-verdict { color: #8a4b00; }
.review-rework { background: #fbe3e1; }
.review-rework .review-verdict { color: #9b1c1c; }
.review-checks { margin-bottom: 1rem; }
.review-h { font-size: var(--step-0); margin: 1rem 0 .4rem; }
.review-fixes, .review-generic { padding-left: 1.1rem; margin: 0 0 1rem; }
.review-fix { margin-bottom: .8rem; }
.review-fix p { margin: .15rem 0; }
.review-fix del { color: #9b1c1c; }
.review-fix ins { color: var(--go); text-decoration: none; font-weight: 700; }
.btn-small { padding: .35rem .8rem; font-size: var(--step--1); }
.review-seen summary { cursor: pointer; font-size: var(--step--1); }
.review-pre { white-space: pre-wrap; font-size: var(--step--1); background: var(--mist); padding: .6rem; border-radius: 4px; max-height: 16rem; overflow: auto; }

/* Besichtigungs-Modus */
.visit-checks { margin-bottom: 1.5rem; }
.visit-group { font-size: var(--step-0); margin: 1.2rem 0 .4rem; }
.visit-item { display: flex; align-items: center; gap: .75rem; width: 100%; min-height: 3rem; margin: 0 0 .4rem; padding: .55rem .8rem; font: inherit; text-align: left; color: var(--ink); background: var(--paper); border: 2px solid var(--line); border-radius: 6px; cursor: pointer; }
.visit-mark { flex: 0 0 1.8rem; height: 1.8rem; display: grid; place-items: center; border: 2px solid var(--ink-soft); border-radius: 50%; font-weight: 800; }
.visit-item[data-state="ok"] { border-color: var(--go); background: var(--go-soft); }
.visit-item[data-state="ok"] .visit-mark { border-color: var(--go); background: var(--go); color: #fff; }
.visit-item[data-state="warn"] { border-color: #a45f00; background: #fdf0dc; }
.visit-item[data-state="warn"] .visit-mark { border-color: #a45f00; background: #a45f00; color: #fff; }
.visit-list { list-style: none; padding: 0; margin: 0; }
.visit-row { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.visit-row strong { overflow-wrap: anywhere; }
.visit-summary ul { margin: 0 0 1rem; padding-left: 1.1rem; }
.visit-warn { color: #8a4b00; }
.reminder { margin: .5rem 0 0; }

/* Verwaltungs-Wegweiser */
.guide-card { padding: 1rem 0 .5rem; border-bottom: 1px solid var(--line); }
.guide-card h3 { margin: 0 0 .4rem; font-size: var(--step-0); }
.guide-card p { margin: .3rem 0; max-width: 46rem; }
.guide-card .cta-row { margin-top: .5rem; }

/* Karten zum Teilen (Such-Steckbrief, Nachmieter-Karte) */
.card-preview { max-width: 320px; margin: .5rem 0 1rem; }
.card-preview canvas { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 6px 20px rgba(14, 36, 64, .12); background: #fff; }
.remind-note { margin: .4rem 0 0; }

/* ---------- 0.11.0: Phasen, Abzeichen, Pässe ---------- */
.check > span { min-width: 0; }
.badge { display: inline-block; font-size: var(--step--1); font-weight: 700; color: var(--go); background: var(--go-soft); border-radius: 999px; padding: .1rem .55rem; margin: 0 0 .5rem; white-space: nowrap; }
.badge-pro { color: var(--paper); background: var(--blue); }
.phase-title { display: flex; align-items: center; gap: .6rem; font-size: var(--step-2); margin: 2.75rem 0 .25rem; }
.phase-num { display: inline-grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: var(--step-0); font-weight: 800; }
.phase-sub { color: var(--ink-soft); margin: 0; }
.tool-page .tool-grid { margin-top: 1rem; }
.phase-grid { display: grid; gap: 1.75rem; margin-top: 1.5rem; }
@media (min-width: 40rem) { .phase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .phase-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.phase h3.phase-head { display: flex; align-items: center; gap: .5rem; font-size: var(--step-0); margin: 0 0 .75rem; }
.phase h3.phase-head .phase-num { width: 1.6rem; height: 1.6rem; font-size: var(--step--1); }
.phase .tool-grid { margin: 0; grid-template-columns: 1fr; gap: .75rem; }
.phase .tool-card a { padding: 1rem; }
.phase .tool-card h4 { font-size: var(--step-0); margin: 0 0 .25rem; }
.more-link { margin-top: 1.75rem; font-weight: 700; }
@media (min-width: 64rem) { .phase .tool-grid { grid-auto-rows: 1fr; } }
.pass-grid { display: grid; gap: 1.5rem; margin-top: 1.5rem; align-items: start; }
@media (min-width: 56rem) { .pass-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pass-grid .price-card { max-width: none; margin: 0; display: flex; flex-direction: column; height: 100%; box-sizing: border-box; }
.pass-grid .price-card + .price-card { box-shadow: none; }
.pass-grid .price-card.pass-main { box-shadow: 8px 8px 0 var(--blue); }
.pass-grid .price-card ul { flex: 1; }
.pass-grid .price-now { font-size: var(--step-2); }
.pass-name { font-weight: 800; font-size: var(--step-1); margin: 0 0 .35rem; }
.pass-for { color: var(--ink-soft); font-size: var(--step--1); margin: 0 0 .5rem; }
.pass-terms, .pass-grid + .pass-terms { margin-top: 1.25rem; font-weight: 700; color: var(--ink-soft); font-size: var(--step--1); max-width: none !important; }
.survey-box { margin-top: 1rem; max-width: 46rem; }
.survey-box > summary { font-weight: 800; cursor: pointer; padding: .9rem 1rem; border: 2px solid var(--ink); border-radius: 6px; background: var(--paper); display: inline-block; }
.survey-box[open] > summary { margin-bottom: 1rem; }
.steps-title { font-size: var(--step-1); margin: 2.5rem 0 0; }

/* Pässe: ein Pass ist empfohlen (DE Pro, EN Expat) – blauer Rahmen und Flagge; alle Kaufknöpfe gefüllt und gleich breit */
.pass-grid .price-card.pass-main { border-color: var(--blue); }
.pass-flag { display: inline-block; align-self: flex-start; font-size: var(--step--1); font-weight: 700; color: var(--paper); background: var(--blue); border-radius: 999px; padding: .15rem .7rem; margin: 0 0 .75rem; }
.pass-grid .price-now { font-size: clamp(2rem, 1.6rem + 1.2vw, 2.5rem); }
.pass-grid .price-card .btn { display: block; text-align: center; margin-top: .25rem; }
.pass-grid .price-card .fine + .btn { margin-top: .75rem; }

/* Werkzeug-Seiten am Desktop: Inhalt links, schmale Infospalte rechts (statt leerer Fläche); am Handy fällt die Spalte weg */
.tool-side { display: none; }
@media (min-width: 64rem) {
  .tool-page.has-side { display: grid; grid-template-columns: minmax(0, 1fr) 17rem; column-gap: 4rem; align-items: start; }
  .tool-side { display: block; position: sticky; top: 1.5rem; margin-top: 3.2rem; font-size: var(--step--1); color: var(--ink-soft); }
  .side-box { padding: 1rem 1.1rem; border: 2px solid var(--line); border-radius: 0 var(--radius-folder) var(--radius-folder) var(--radius-folder); background: var(--paper); }
  .side-box + .side-box { margin-top: 1rem; }
  .side-title { margin: 0 0 .35rem; font-weight: 800; color: var(--ink); }
  .side-box p { margin: 0; }
  .side-link { display: inline-block; margin-top: .6rem; font-weight: 700; }
  .side-link + .side-link { display: block; margin-top: .35rem; }
  .side-more { margin: 1rem 0 0 .25rem; }
}

/* Startseite am Handy kürzer: engere Abschnitte, Werkzeug-Karten als kompakte Zeilen (Abzeichen rechts neben dem Titel), Pass-Karten enger */
@media (max-width: 39.99rem) {
  .home .section { padding: 2.75rem 0; }
  .home .facts { gap: 1rem; }
  .phase-grid { gap: 1.25rem; }
  .phase .tool-grid { gap: .6rem; }
  .phase .tool-card a { padding: .7rem .9rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .75rem; align-items: start; }
  .phase .tool-card .badge { grid-column: 2; grid-row: 1; margin: 0; }
  .phase .tool-card h4 { grid-column: 1; grid-row: 1; margin: 0; }
  .phase .tool-card p { grid-column: 1 / -1; margin-top: .25rem; }
  .pass-grid { gap: 1.25rem; }
  .pass-grid .price-card { padding: 1.25rem; }
  .pass-grid .price-card ul { margin: .75rem 0 1rem; }
  .pass-grid .price-card li { margin: .2rem 0; }
}
/* Leistungen der nicht empfohlenen Pässe: am Handy zugeklappt («Was ist drin?», app.js), am Desktop immer offen */
.pass-grid .price-card .pass-more { flex: 1; }
.pass-more > summary { display: none; }
@media (max-width: 39.99rem) {
  .pass-more > summary { display: list-item; cursor: pointer; font-weight: 700; color: var(--blue); margin: .75rem 0 .5rem; }
  .pass-grid .price-card .pass-more ul { margin-top: .25rem; }
}

/* ---------- Vorteile im Hero, «Warum Dossierheld», grössere Marke, Kärtchen in der Dossier-Grafik (24.10.2026) ---------- */
.perks { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .45rem; font-weight: 700; font-size: var(--step--1); color: var(--ink); }
.perks li { display: flex; align-items: center; gap: .55rem; }
.perks svg { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero .fine-pass { margin-top: 1rem; }
.why-grid { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
@media (min-width: 48rem) { .why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.why-item svg { width: 2rem; height: 2rem; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: .6rem; }
.why-item h3 { font-size: var(--step-1); margin: 0 0 .4rem; line-height: 1.25; }
.why-item p { margin: 0; color: var(--ink-soft); max-width: none; }
@media (min-width: 48rem) {
  .brand { font-size: 1.55rem; gap: .65rem; }
  .brand-mark { width: 2rem; height: 2rem; }
}
.dossier-note {
  position: absolute; left: -.5rem; bottom: -1.1rem;
  background: var(--ink); color: var(--paper);
  font-size: var(--step--1); font-weight: 700;
  padding: .35rem .8rem; border-radius: 999px;
  opacity: 0;
}
.dossier.told .dossier-note { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .dossier.told .dossier-note { animation: note .4s ease both; }
}
@keyframes note {
  from { opacity: 0; transform: translateY(.5rem); }
  to   { opacity: 1; transform: none; }
}

/* Startseite: Hinweis für Käufer mit bestehendem Code */
.pass-code { margin: 1.25rem 0 1.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding: 1rem 1.25rem; background: var(--paper); border: 2px solid var(--line); border-radius: var(--radius-folder); max-width: none !important; }
.pass-code p { margin: 0; font-size: var(--step--1); color: var(--ink-soft); }
.pass-code strong { color: var(--ink); }
.pass-code .btn { margin: 0; border: 2px solid var(--blue); white-space: nowrap; }
@media (max-width: 39.99rem) { .pass-code .btn { width: 100%; text-align: center; } }
