/* =========================================================================
   „Alles aus einer Hand" — Design-System V2
   Farb- und Schrifttokens sind 1:1 aus der bestehenden Seite übernommen,
   damit die Marke erkennbar bleibt. Neu ist nur, wie großzügig sie atmen.
   ========================================================================= */

@font-face {
  font-family: 'Playfair Display';
  src: url('/fonts/playfair-display-800.woff2') format('woff2');
  font-weight: 700 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('/fonts/playfair-display-800-italic.woff2') format('woff2');
  font-weight: 700 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('/fonts/lato-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Lato';
  src: url('/fonts/lato-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  /* Marke — aus der V1 gemessen */
  --navy:        #001489;  /* Uruguay-Flaggenblau, Überschriften */
  --navy-deep:   #011154;  /* dunkle Sektionen */
  --navy-ink:    #000d3d;
  --sun:         #f0d134;  /* das Gelb der Sonne im Logo */
  --sun-warm:    #ffdf5c;
  --sky:         #cddee4;  /* helle Sektionen */
  --sky-pale:    #eef5f8;
  --ink:         #2b2b2a;
  --ink-soft:    #55555a;
  --line:        #dfe6ea;
  --white:       #ffffff;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --measure: 68ch;
  --radius: 14px;
  --radius-lg: 26px;
  --shadow: 0 2px 6px rgb(0 20 137 / .06), 0 12px 32px rgb(0 20 137 / .08);
  --shadow-lg: 0 4px 12px rgb(0 20 137 / .08), 0 24px 60px rgb(0 20 137 / .14);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
/* Anker-Sprünge dürfen nicht unter der klebenden Kopfzeile landen. */
:target { scroll-margin-top: 92px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.35rem + 3.2vw, 3.75rem); }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.9vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 1.08rem + .75vw, 1.55rem); }
h4 { font-size: 1.1rem; }

p, ul, ol { margin: 0 0 1.15em; }
p { text-wrap: pretty; }

a { color: var(--navy); text-decoration-color: color-mix(in srgb, var(--navy) 32%, transparent); text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--sun); }

:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2.5rem, 760px); margin-inline: auto; }
section { padding-block: clamp(3rem, 1.6rem + 5.5vw, 6rem); }
.section--sky { background: var(--sky-pale); }
.section--sky-solid { background: var(--sky); }
.section--navy { background: var(--navy-deep); color: color-mix(in srgb, var(--white) 88%, var(--navy)); }
.section--navy :is(h1, h2, h3) { color: var(--white); }
.section--navy a { color: var(--sun); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--sun); color: var(--navy-ink); padding: .75rem 1.25rem; font-weight: 700;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Sonnen-Motiv ---------- */
.sun {
  display: inline-block; width: 1em; height: 1em; flex: none;
  background: var(--sun);
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 700; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--navy); margin: 0 0 1rem;
}
.section--navy .eyebrow, .hero .eyebrow { color: var(--sun); }
.eyebrow::before {
  content: ''; width: .8em; height: .8em; background: var(--sun);
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
}

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / .93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 74px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__text { font-family: var(--font-display); font-weight: 800; font-size: 1.06rem; line-height: 1.05; color: var(--navy); }
.brand__text span { display: block; font-family: var(--font-body); font-weight: 400; font-size: .74rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-soft); margin-top: .18em; }

/* Navigation und Sprachwahl gehören auf EINE Zeile. Ohne diese Regel ist der Wrapper ein
   schlichter Block, beide Kinder stapeln sich untereinander — und die Trennlinie links an
   .lang, die nur neben der Navigation Sinn ergibt, hing im Leeren. Platz ist reichlich da. */
.site-header__nav { display: flex; align-items: center; gap: 1.25rem; }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  padding: .55rem .8rem; border-radius: 999px; text-decoration: none;
  font-size: .93rem; font-weight: 700; color: var(--ink);
}
.nav a:hover { background: var(--sky-pale); color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); background: var(--sky); }

.lang { display: flex; gap: .2rem; padding-left: .6rem; border-left: 1px solid var(--line); }
.lang a, .lang span {
  font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .35rem .45rem; border-radius: 6px; text-decoration: none; color: var(--ink-soft);
}
.lang [aria-current="true"] { background: var(--navy); color: var(--white); }
.lang .is-soon { opacity: .45; cursor: default; }

.nav-toggle { display: none; }

@media (max-width: 940px) {
  .site-header__inner { flex-wrap: wrap; }

  .nav-toggle {
    display: inline-flex; align-items: center; gap: .55rem; margin-left: auto;
    background: var(--navy); color: var(--white); border: 0; border-radius: 999px;
    padding: .6rem 1.05rem .6rem .9rem; font: inherit; font-size: .9rem; font-weight: 700;
    cursor: pointer; min-height: 44px;
  }
  /* Burger, der beim Öffnen zum Kreuz wird — ohne zweites Icon im Markup. */
  .nav-toggle::before {
    content: ''; width: 16px; height: 12px; flex: none;
    border-top: 2px solid currentColor; border-bottom: 2px solid currentColor;
    background: linear-gradient(currentColor, currentColor) center/100% 2px no-repeat;
    transition: transform .18s ease;
  }
  .site-header.is-open .nav-toggle::before {
    border: 0; height: 16px;
    background:
      linear-gradient(currentColor, currentColor) center/100% 2px no-repeat,
      linear-gradient(currentColor, currentColor) center/2px 100% no-repeat;
    transform: rotate(45deg);
  }

  /* Das Panel: eigene Fläche, klar vom Inhalt getrennt, volle Breite. */
  .site-header__nav {
    display: none; width: 100vw; margin-inline: calc(50% - 50vw);
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 30px -18px rgb(0 20 137 / .3);
    max-height: calc(100dvh - 74px); overflow-y: auto;
  }
  .site-header.is-open .site-header__nav { display: block; }

  .nav { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.05rem clamp(1.25rem, 5vw, 2rem);
    border-radius: 0; border-bottom: 1px solid var(--line);
    font-size: 1.05rem; min-height: 56px;
  }
  .nav a::after { content: '›'; font-size: 1.4rem; line-height: 1; color: var(--ink-soft); }
  .nav a:hover { background: var(--sky-pale); }
  /* Aktive Seite: Balken statt Pille — die Pille sah wie ein Fremdkörper aus. */
  .nav a[aria-current="page"] {
    background: var(--sky-pale); color: var(--navy);
    box-shadow: inset 4px 0 0 var(--sun);
  }
  .nav a[aria-current="page"]::after { color: var(--navy); }

  .lang {
    border-left: 0; gap: .4rem; align-items: center; flex-wrap: wrap;
    padding: 1rem clamp(1.25rem, 5vw, 2rem) 1.25rem;
    background: var(--sky-pale);
  }
  .lang::before {
    content: attr(aria-label); flex-basis: 100%;
    font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--ink-soft); margin-bottom: .3rem;
  }
  .lang a, .lang span {
    min-width: 46px; min-height: 40px; display: inline-flex;
    align-items: center; justify-content: center;
    border: 1px solid var(--line); background: var(--white); font-size: .82rem;
  }
  .lang .is-soon { border-style: dashed; background: transparent; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--sun); color: var(--navy-ink); box-shadow: 0 6px 20px rgb(240 209 52 / .4); }
.btn--primary:hover { background: var(--sun-warm); }
.btn--ghost { border-color: currentColor; color: var(--white); }
.btn--ghost:hover { background: rgb(255 255 255 / .12); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy-deep); color: var(--white); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgb(1 17 84 / .95) 0%, rgb(1 17 84 / .88) 46%, rgb(1 17 84 / .62) 100%);
}
.hero__inner { padding-block: clamp(3.5rem, 2rem + 7vw, 7rem); display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .hero__inner { grid-template-columns: 1.15fr .85fr; gap: 3.5rem; } }
.hero h1 { color: var(--white); margin-bottom: .55em; }
.hero h1 em { font-style: italic; color: var(--sun); }
.hero__lead { font-size: clamp(1.1rem, 1rem + .45vw, 1.32rem); color: rgb(255 255 255 / .9); max-width: 34em; margin-bottom: 2rem; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 1.75rem; margin-top: 2.75rem; padding-top: 1.75rem; border-top: 1px solid rgb(255 255 255 / .2); }
.hero__proof div { min-width: 8rem; }
.hero__proof b { display: block; font-family: var(--font-display); font-size: 1.9rem; color: var(--sun); line-height: 1; }
.hero__proof span { font-size: .86rem; color: rgb(255 255 255 / .75); }

/* Polaroid — greift die Bildsprache der V1 auf */
.polaroid {
  background: var(--white); padding: .85rem .85rem 3.2rem; border-radius: 3px;
  box-shadow: var(--shadow-lg); rotate: -2.2deg; position: relative; max-width: 380px;
  margin-inline: auto;
}
.polaroid img { border-radius: 1px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.polaroid figcaption {
  position: absolute; left: 0; right: 0; bottom: .9rem; text-align: center;
  font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--ink-soft);
}
.polaroid::after {
  content: ''; position: absolute; right: -22px; bottom: 44px; width: 62px; height: 62px;
  background: var(--sun);
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
  rotate: 8deg;
}

/* ---------- Karten ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.9rem; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
a.card { text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--navy) 25%, var(--line)); }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--ink-soft); font-size: 1rem; margin-bottom: 1rem; }
.card__more { margin-top: auto; font-weight: 700; font-size: .93rem; color: var(--navy); display: inline-flex; align-items: center; gap: .4rem; }
.card__more::after { content: '→'; transition: transform .18s ease; }
a.card:hover .card__more::after { transform: translateX(4px); }
.card__icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--sky); color: var(--navy);
  display: grid; place-items: center; margin-bottom: 1.1rem; flex: none;
}
.card__icon svg { width: 24px; height: 24px; }
/* Bildkarte: das Bild randlos, alles andere in einem Wrapper mit genau einer
   Innenkante. Polsterung auf jedes Kind einzeln zu legen kollidierte sowohl mit
   der festen Icon-Breite als auch mit den Listen-Einzügen. */
.card--bild { padding: 0; overflow: hidden; }
.card__bild { width: 100%; height: 150px; object-fit: cover; }
.card__inhalt { padding: 0 1.9rem 1.9rem; display: flex; flex-direction: column; flex: 1; }
.card--bild .card__icon {
  margin: -1.8rem 0 1.1rem;
  position: relative;
  box-shadow: 0 4px 14px rgb(0 20 137 / .18);
  background: var(--white);
}
.card__liste { font-size: .97rem; padding-left: 1.15em; margin-bottom: 1rem; }
.card__ratgeber { margin-top: auto; font-size: .93rem; }
.card__ratgeber ul { padding-left: 1.15em; margin: .4rem 0 0; }

/* Fragenliste auf /fuer-bettina/ */
.fragen { margin: 2rem 0 2.5rem; }
.fragen details { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .7rem; background: var(--white); }
.fragen summary {
  cursor: pointer; padding: 1rem 1.3rem; font-weight: 700; color: var(--navy);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary span {
  flex: none; background: var(--sun); color: var(--navy-ink); border-radius: 999px;
  min-width: 1.9em; padding: .1em .5em; text-align: center; font-size: .82rem;
}
.fragen details[open] summary { border-bottom: 1px solid var(--line); }
.fragen__body { padding: 1.1rem 1.3rem; }
.fragen__body ul { margin: 0; padding-left: 1.2rem; }
.fragen__body li { margin-bottom: .6rem; }
.fragen__body > p { font-size: .92rem; margin-bottom: .9rem; }

/* Der zugeklappte Rückblick auf der Bettina-Seite. Sie soll ihre Aufgabe sehen, nicht die
   Projektgeschichte — die steht weiter komplett drin, nur eben hinter einem Klick. */
.rueckblick {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--sky-pale); margin: 2.5rem 0; padding: 0 1.3rem;
}
.rueckblick > summary {
  cursor: pointer; list-style: none; padding: 1rem 0;
  font-weight: 700; color: var(--navy);
}
.rueckblick > summary::-webkit-details-marker { display: none; }
.rueckblick > summary::after { content: ' ▾'; color: var(--ink-soft); }
.rueckblick[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 1.2rem; }
.rueckblick[open] > summary::after { content: ' ▴'; }
.rueckblick > *:last-child { margin-bottom: 1.4rem; }
.rueckblick h2 { font-size: 1.35rem; margin-top: 2rem; }

/* Lange, zusammenhängende Zeichenketten (E-Mail-Adressen, URLs) sprengen sonst auf schmalen
   Displays die Zeile — der UI-Test schlägt genau darauf an. Mailto-Links trifft das immer,
   deshalb gilt die Regel dort generell und nicht nur per Klasse. */
.umbrechbar,
a[href^="mailto:"] { overflow-wrap: anywhere; }

/* Fortschrittsseite /fuer-bettina/ */
.delta { font-weight: 700; color: var(--ink-soft); }
.delta--gut { color: #1a7f37; }
.prose code { background: var(--sky-pale); padding: .1em .4em; border-radius: 4px; font-size: .9em; }

/* ---------- Fließtext ---------- */
.prose { max-width: var(--measure); margin-inline: auto; }
/* Artikel-Sektionen brauchen oben weniger Luft — der Seitenkopf liefert sie schon. */
.section--article { padding-block: clamp(2.2rem, 1.4rem + 2.5vw, 3.5rem) clamp(3rem, 1.6rem + 5.5vw, 6rem); }
/* Breite Variante: Text bleibt lesbar schmal, Kartenraster dürfen ausbrechen. */
.prose--breit { max-width: none; }
.prose--breit > :is(p, ul, ol, h2, h3, blockquote) { max-width: var(--measure); }
.prose--breit > :is(.grid, .table-scroll, .steps, .faq, .form) { max-width: none; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--navy); font-weight: 700; }
.prose strong { color: var(--navy-ink); }
.prose blockquote {
  margin: 2rem 0; padding: 1.35rem 1.7rem; border-left: 4px solid var(--sun);
  background: var(--sky-pale); border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--navy-ink);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.table-scroll { overflow-x: auto; margin: 1.6rem 0; -webkit-overflow-scrolling: touch; }
.prose th, .prose td { text-align: left; padding: .8rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--sky-pale); color: var(--navy); font-weight: 700; white-space: nowrap; }

/* ---------- Hinweis-Boxen ---------- */
.note { border-radius: var(--radius); padding: 1.35rem 1.6rem; margin: 1.9rem 0; font-size: 1rem; }
.note p:last-child { margin-bottom: 0; }
.note__title { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; margin: 0 0 .45rem; display: flex; align-items: center; gap: .5rem; }
.note--tip { background: var(--sky-pale); border: 1px solid var(--sky); }
.note--tip .note__title { color: var(--navy); }
.note--warn { background: #fff8e1; border: 1px solid #f2e0a0; }
.note--warn .note__title { color: #7a5c00; }
.note--legal { background: #f7f8fa; border: 1px solid var(--line); font-size: .93rem; color: var(--ink-soft); }
.note--legal .note__title { color: var(--ink); font-size: 1rem; }
.note--draft { background: #ffe9e9; border: 2px dashed #d33; color: #7a1010; }

/* Bettinas O-Ton — das, was keine Konkurrenzseite hat */
.bettina {
  display: grid; gap: 1.25rem; align-items: start;
  grid-template-columns: 64px 1fr;
  background: var(--sky-pale); border-radius: var(--radius-lg);
  padding: 1.6rem 1.8rem; margin: 2.2rem 0;
  border: 1px solid var(--sky);
}
.bettina img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.bettina__body { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--navy-ink); }
.bettina__body p:last-child { margin-bottom: 0; }
.bettina__who { display: block; font-family: var(--font-body); font-style: normal; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-top: .9rem; }

/* Schritt-für-Schritt */
.steps { list-style: none; padding: 0; counter-reset: s; }
.steps > li {
  counter-increment: s; position: relative; padding-left: 3.4rem; margin-bottom: 1.6rem;
}
.steps > li::before {
  content: counter(s); position: absolute; left: 0; top: -.1rem;
  width: 2.35rem; height: 2.35rem; border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
  display: grid; place-items: center;
}
.steps h3 { margin-bottom: .3rem; font-size: 1.18rem; }
.steps p:last-child { margin-bottom: 0; }

/* Warmer Abschluss unter jedem Ratgeber */
.abschluss {
  display: grid; grid-template-columns: 72px 1fr; gap: 1.4rem; align-items: start;
  margin: 3rem 0 2rem; padding: 1.9rem 2rem;
  background: linear-gradient(135deg, var(--sky-pale), color-mix(in srgb, var(--sun) 12%, var(--sky-pale)));
  border: 1px solid var(--sky); border-radius: var(--radius-lg);
}
.abschluss img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.abschluss h2 { font-size: 1.35rem !important; margin: 0 0 .5rem !important; }
.abschluss p { margin-bottom: 1.2rem; }
.abschluss .btn { padding: .75rem 1.4rem; font-size: .95rem; }
@media (max-width: 560px) {
  .abschluss { grid-template-columns: 1fr; padding: 1.5rem 1.4rem; }
  .abschluss img { width: 60px; height: 60px; }
}

/* Quellenblock */
.sources { font-size: .9rem; color: var(--ink-soft); }
.sources ul { list-style: none; padding: 0; }
.sources li { padding: .5rem 0; border-bottom: 1px solid var(--line); }
.sources li:last-child { border-bottom: 0; }
.sources .stand { display: inline-block; font-weight: 700; color: var(--navy); margin-right: .5rem; }

/* FAQ */
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .8rem; background: var(--white);
}
.faq summary {
  cursor: pointer; padding: 1.1rem 1.4rem; font-weight: 700; color: var(--navy);
  font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; line-height: 1; color: var(--sun); font-weight: 700; }
.faq details[open] summary::after { content: '−'; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .faq__body { padding: 1.2rem 1.4rem; }
.faq .faq__body > *:last-child { margin-bottom: 0; }

/* Inhaltsverzeichnis */
.toc { background: var(--sky-pale); border-radius: var(--radius); padding: 1.4rem 1.7rem; margin-bottom: 2.5rem; border: 1px solid var(--sky); }
.toc h2 { font-size: 1rem !important; font-family: var(--font-body); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 .8rem !important; }
.toc ol { margin: 0; padding-left: 1.2rem; font-size: 1rem; }
.toc li { margin-bottom: .35rem; }
.toc a { display: inline-block; padding: .3rem 0; }

/* Artikelkopf */
.page-head { background: var(--sky-pale); border-bottom: 1px solid var(--sky); padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.page-head p.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: var(--measure); margin-bottom: 0; }
.crumbs { font-size: .86rem; color: var(--ink-soft); margin-bottom: 1rem; }
.crumbs a { color: var(--ink-soft); }
.crumbs span { padding: 0 .4rem; opacity: .5; }
.page-head { position: relative; }
.page-head__meta {
  display: flex; flex-wrap: wrap; gap: 1.2rem; margin: 1.4rem 0 0;
  font-size: .84rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-soft);
}
.page-head__meta span { display: inline-flex; align-items: center; gap: .45rem; }
.page-head__meta span::before {
  content: ''; width: .55em; height: .55em; background: var(--sun); border-radius: 50%;
}
.page-head__bild {
  width: min(100% - 2.5rem, var(--wrap)); margin: clamp(1.8rem, 1rem + 3vw, 3rem) auto -1px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden;
}
.page-head__bild img { width: 100%; height: clamp(160px, 26vw, 300px); object-fit: cover; }

/* CTA-Band */
.cta-band { background: var(--navy-deep); color: var(--white); border-radius: var(--radius-lg); padding: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgb(255 255 255 / .85); max-width: 46ch; margin-inline: auto; margin-bottom: 1.8rem; }
.cta-band .btn-row { justify-content: center; }

/* Kontaktformular */
.form { display: grid; gap: 1.1rem; }
.form label { font-weight: 700; font-size: .95rem; color: var(--navy); display: block; margin-bottom: .35rem; }
.form input, .form textarea {
  width: 100%; padding: .85rem 1rem; font: inherit; font-size: 1rem;
  border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink);
}
.form input:focus, .form textarea:focus { border-color: var(--navy); }
.form textarea { min-height: 150px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }

/* Fußzeile */
.site-footer { background: var(--navy-ink); color: rgb(255 255 255 / .78); padding-block: 3.5rem 2rem; font-size: .96rem; }
.site-footer a { color: rgb(255 255 255 / .85); }
.site-footer a:hover { color: var(--sun); }
.site-footer h3 { color: var(--white); font-size: 1.05rem; margin-bottom: .9rem; }
.footer-grid { display: grid; gap: 2.2rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .5rem; }
.footer-bottom {
  margin-top: 2.8rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / .14);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .86rem; color: rgb(255 255 255 / .55);
}

/* WhatsApp-Schnellkontakt */
.wa-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 60;
  display: inline-flex; align-items: center; gap: .55rem;
  background: #25d366; color: #06331a; font-weight: 700; font-size: .95rem;
  padding: .8rem 1.25rem; border-radius: 999px; text-decoration: none;
  box-shadow: 0 8px 26px rgb(0 0 0 / .22);
}
.wa-float:hover { background: #1fbe5a; }
.wa-float svg { width: 20px; height: 20px; }
/* Beim Herunterscrollen aus dem Weg gehen — sonst legt sich der Knopf über den
   Text, den man gerade liest. Kommt beim Hochscrollen und am Seitenende zurück. */
.wa-float { transition: transform .22s ease, opacity .22s ease, background-color .16s ease; }
.wa-float.is-weg { transform: translateY(120%); opacity: 0; pointer-events: none; }
/* Auf den Kontaktseiten überflüssig — dort steht der Knopf ohnehin im Inhalt. */
body[data-kontaktseite] .wa-float { display: none; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: .95rem; } }
/* Platz am Seitenende, damit der letzte Absatz nie unter dem Knopf verschwindet. */
.site-footer { padding-bottom: 5.5rem; }

.u-center { text-align: center; }
.u-mt-0 { margin-top: 0; }
.lede { font-size: 1.2rem; color: var(--ink-soft); }


/* =========================================================================
   Druck. Bettinas Zielgruppe ist überwiegend über 55 — die drucken Ratgeber
   aus und legen sie auf den Küchentisch. Das soll dann auch lesbar sein.
   ========================================================================= */
@media print {
  .site-header, .site-footer, .wa-float, .cta-band, .skip,
  .page-head__bild, .card__bild, .section--sky .grid, .toc { display: none !important; }
  body { font-size: 11pt; line-height: 1.45; color: #000; background: #fff; }
  .wrap, .wrap--narrow { width: auto; max-width: none; }
  .prose { max-width: none; }
  section, .section--article { padding-block: 0; }
  h1 { font-size: 20pt; }
  h2 { font-size: 14pt; margin-top: 1.4em; break-after: avoid; }
  h3 { font-size: 12pt; break-after: avoid; }
  h1, h2, h3, .note, .bettina, table, .steps > li { break-inside: avoid; }
  .note, .bettina { border: 1px solid #999; background: none !important; }
  .prose table { font-size: 10pt; }
  .prose th { background: #eee !important; }
  /* Zieladressen ausschreiben — auf Papier nützt ein Link ohne Adresse nichts. */
  .prose a[href^="/"]::after { content: " (auswandernallesauseinerhand.com" attr(href) ")"; font-size: 9pt; color: #444; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #444; word-break: break-all; }
  .faq details { border: 0; }
  .faq details > div { display: block !important; }
  .page-head::after {
    content: "auswandernallesauseinerhand.com · Bettina Haupt · Estación Atlántida, Uruguay · +598 98 989 641";
    display: block; margin-top: 1em; padding-top: .6em; border-top: 1px solid #999;
    font-size: 9pt; color: #444;
  }
}


/* =========================================================================
   Bedienbarkeit am Handy. Listen aus reinen Links brauchen echte Tap-Flächen —
   im Fließtext ist ein Link dagegen Teil des Satzes und darf schmal bleiben.
   ========================================================================= */
@media (max-width: 640px) {
  .toc a { padding: .5rem 0; }
  .toc li { margin-bottom: .15rem; }
  .footer-grid li { margin-bottom: 0; }
  .footer-grid ul a { display: inline-block; padding: .5rem 0; }
  .sources li { padding: .7rem 0; }
  .crumbs a { display: inline-block; padding: .3rem 0; }
  .faq summary { padding: 1.15rem 1.2rem; }
  .form input, .form textarea { font-size: 16px; } /* verhindert Auto-Zoom auf iOS */

  /* Steht ein Link allein in seinem Absatz oder Listenpunkt, ist er ein
     eigenständiges Bedienelement und braucht eine Fläche zum Treffen. */
  p > a:only-child,
  .prose li > a:only-child,
  .card ul li > a:only-child,
  .sources li a { display: inline-block; padding: .45rem 0; }
}
