/* Finanz-Käptn – Gestaltung
   Designsystem 21HAVN: Marine aus dem Logo, Messing als Akzent für Linien und Marker,
   Systemschriften (Georgia für Überschriften), die auf jedem Gerät vorhanden sind.
   Farben der Finanztreppe (--s1 bis --s5) gehören zum Treppenbild und bleiben wie sie sind. */

:root {
  /* Farben */
  --papier: #FFFFFF;        /* Seitengrund */
  --weiss: #FFFFFF;
  --tinte: #13263A;         /* Fließtext */
  --schiefer: #51657A;      /* Sekundärtext */
  --marine: #002545;        /* Primär aus dem Logo */
  --marine-hover: #0D3A63;
  --marine-tief: #001A33;   /* Fuß, oberer Balken */
  --messing: #B08A45;       /* Akzent: Linien und Marker */
  --messing-dunkel: #7A5D27;/* Akzent als Text auf Hell */
  --messing-hell: #D2B47A;  /* Akzent auf Marine */
  --nebel: #EEF3F6;         /* Abschnittsgrund */
  --linie: #D3DDE6;
  --auf-marine: #E9EFF4;
  --auf-marine-leise: #A9BACB;

  /* Stufen der Finanztreppe (passend zum Treppenbild) */
  --s1: #0F3B4C;
  --s2: #2F7385;
  --s3: #6A9FAA;
  --s4: #A9C6C9;
  --s5: #B08A45;

  /* Schrift */
  --titel: "Tenor Sans", "Optima", "Candara", "Segoe UI", sans-serif;
  --sans: "Albert Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: var(--titel); /* alter Name, damit nichts bricht */
  --fs-h1: clamp(2.5rem, 1.55rem + 3.4vw, 4.375rem);
  --fs-h2: clamp(1.875rem, 1.35rem + 1.9vw, 2.875rem);
  --fs-h3: clamp(1.25rem, 1.1rem + .55vw, 1.5rem);
  --fs-lead: clamp(1.125rem, 1.02rem + .45vw, 1.375rem);
  --fs-text: clamp(1.0625rem, 1rem + .22vw, 1.1875rem);
  --fs-klein: .9375rem;
  --fs-label: .8125rem;

  /* Abstand */
  --abschnitt: clamp(72px, 9vw, 136px);
  --luecke: clamp(24px, 3vw, 40px);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--sans);
  font-size: var(--fs-text);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }
main:focus { outline: none; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--marine); text-decoration-color: var(--messing); text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
a:hover { color: var(--marine-hover); text-decoration-color: var(--marine); }

:focus-visible { outline: 2.5px solid var(--messing); outline-offset: 3px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }

.sprung {
  position: absolute; left: -999px; top: 0;
  background: var(--marine); color: #fff; padding: .6rem 1rem; z-index: 30;
}
.sprung:focus { left: 0; }

h1, h2, h3 { font-family: var(--titel); font-weight: 400; color: var(--marine); margin: 0 0 .6em; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.06; }
h2 { font-size: var(--fs-h2); line-height: 1.14; }
h3 { font-size: var(--fs-h3); line-height: 1.25; margin-bottom: .3em; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }

/* Overline mit Messing-Strich (für .kicker) */
.kicker {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-style: normal; font-size: var(--fs-label); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--messing-dunkel);
  margin: 0 0 18px; line-height: 1.4;
}
.kicker::before { content: ""; flex: none; width: 28px; height: 1.5px; background: var(--messing); }

/* ---------- Oberer Balken ---------- */
.topbar { background: var(--marine-tief); color: var(--auf-marine-leise); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.topbar-innen { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .25rem 2rem; padding-top: .65rem; padding-bottom: .65rem; }
.topbar .gold { color: var(--messing-hell); }

/* ---------- Kopf ---------- */
.kopf { background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--linie); position: relative; z-index: 20; }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; min-height: 76px; padding-top: .6rem; padding-bottom: .6rem; }
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.marke .marke-bild { width: 58px; height: auto; }
.marke .marke-schrift { width: 140px; height: auto; }
.wortmarke { font-family: var(--titel); font-size: 1.4rem; color: var(--marine); }
.wortmarke .gold { color: var(--marine); }

.kopf nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem 1.6rem; flex-wrap: wrap; }
.kopf nav a {
  display: block; padding: .5rem 0; text-decoration: none; color: var(--tinte); font-weight: 500; font-size: 1rem;
  border-bottom: 1.5px solid transparent;
}
.kopf nav a:hover { color: var(--marine); border-bottom-color: var(--linie); }
.kopf nav a[aria-current="page"] { color: var(--marine); border-bottom-color: var(--messing); }

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px;
  background: var(--marine); color: #fff; text-decoration: none;
  border: 1.5px solid var(--marine); border-radius: 4px;
  font-family: var(--sans); font-size: 1.0625rem; font-weight: 600; line-height: 1.2; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--marine-hover); border-color: var(--marine-hover); color: #fff; }
.btn.zweit { background: transparent; color: var(--marine); }
.btn.zweit:hover { background: var(--nebel); color: var(--marine); border-color: var(--marine); }
.btn-aus {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border: 1px dashed var(--messing); border-radius: 4px;
  color: var(--messing-dunkel); font-weight: 600; font-size: .9375rem; white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--nebel); padding: clamp(48px, 7vw, 104px) 0 clamp(96px, 11vw, 160px); }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: clamp(110px, 15vw, 210px);
  background: url("bilder/welle.svg") center bottom / 100% 100% no-repeat; pointer-events: none;
}
.hero-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 80px); align-items: center; position: relative; z-index: 1; }
.hero h1 { margin-bottom: .4em; }
.einleitung { font-size: var(--fs-lead); line-height: 1.55; max-width: 36em; color: var(--tinte); }
.hero-knoepfe { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 2rem; }
.hero-bild { margin: 0; }
.hero-bild img { width: 100%; }

/* Häkchenliste im Hero */
.haken { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .7rem; max-width: 34em; }
.haken li { position: relative; padding-left: 2.1rem; }
.haken li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.35rem; height: 1.35rem; border-radius: 50%;
  border: 1.5px solid var(--messing); background: transparent;
}
.haken li::after {
  content: ""; position: absolute; left: .5rem; top: .47em; width: .34rem; height: .62rem;
  border: solid var(--marine); border-width: 0 1.75px 1.75px 0; transform: rotate(40deg);
}
.hero-hinweis { display: flex; align-items: center; gap: .6rem; margin: 1.6rem 0 0; font-size: var(--fs-klein); color: var(--schiefer); }
.hero-hinweis img { width: 40px; height: auto; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: var(--abschnitt) 0; }
.abschnitt.hell { background: var(--nebel); }
.abschnitt-text { max-width: 62ch; color: var(--tinte); font-size: var(--fs-lead); line-height: 1.55; }
.mehr { margin: 2rem 0 0; font-weight: 600; }
.mehr a { text-decoration: none; border-bottom: 1.5px solid var(--messing); padding-bottom: 2px; }
.mehr a:hover { border-color: var(--marine); }

/* ---------- Finanztreppe ---------- */
.treppe {
  list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0;
  display: flex; flex-direction: column-reverse; gap: 14px;
}
.treppe li { --v: 0; margin-left: calc(var(--v) * clamp(1.5rem, 5vw, 4.5rem)); }
.treppe li:nth-child(2) { --v: 1; }
.treppe li:nth-child(3) { --v: 2; }
.treppe li:nth-child(4) { --v: 3; }
.treppe li:nth-child(5) { --v: 4; }
.treppe a {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 24px; align-items: baseline;
  text-decoration: none; color: var(--tinte);
  padding: 20px 24px 20px 22px;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-left: 6px solid var(--c, var(--marine));
  border-bottom: 3px solid var(--c, var(--marine));
  transition: transform .2s ease, border-color .2s ease;
}
.treppe a:hover { transform: translateX(4px); border-top-color: var(--marine); border-right-color: var(--marine); }
.treppe-stufe { grid-row: 1 / span 2; align-self: start; font-family: var(--titel); font-size: 1rem; color: var(--messing-dunkel); white-space: nowrap; padding-top: .35rem; }
.treppe-kopf { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.treppe-titel { font-family: var(--titel); font-size: var(--fs-h3); color: var(--marine); line-height: 1.25; }
.treppe-anzahl { font-size: .875rem; color: var(--schiefer); white-space: nowrap; font-variant-numeric: tabular-nums; }
.treppe-text { grid-column: 2; display: block; color: var(--schiefer); font-size: 1rem; max-width: 60ch; }
.treppe-link { grid-row: 1 / span 2; grid-column: 3; align-self: center; font-weight: 600; font-size: .9375rem; color: var(--marine); border-bottom: 1.5px solid var(--messing); padding-bottom: 2px; white-space: nowrap; }
.treppe a:hover .treppe-link { border-color: var(--marine); }

[data-stufe="grundlagen"]     { --c: var(--s1); }
[data-stufe="kurzfristig"]    { --c: var(--s2); }
[data-stufe="mittelfristig"]  { --c: var(--s3); }
[data-stufe="altersvorsorge"] { --c: var(--s4); }
[data-stufe="geldanlage"]     { --c: var(--s5); }

/* ---------- Download-Karten ---------- */
.liste { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 12px; }
.karte {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem 1.5rem; align-items: center;
  background: var(--weiss); border: 1px solid var(--linie); border-left: 4px solid var(--c, var(--marine));
  padding: 22px 26px;
}
.karte h3 { font-size: clamp(1.1875rem, 1.1rem + .3vw, 1.3125rem); margin-bottom: .25em; }
.badge {
  min-width: 3.9rem; text-align: center; padding: .5rem .45rem;
  background: transparent; border: 1px solid var(--linie); color: var(--marine);
  font-weight: 600; font-size: .75rem; letter-spacing: .1em;
}
.karte-text p { margin: 0 0 .5rem; color: var(--schiefer); font-size: 1rem; }
.meta { display: flex; flex-wrap: wrap; gap: .2rem 1.1rem; font-size: .875rem; color: var(--schiefer); }
.meta-stufe { font-weight: 600; color: var(--marine); }
.meta-stufe::before {
  content: ""; display: inline-block; width: .6rem; height: .6rem; margin-right: .45rem;
  background: var(--c, var(--marine)); border-radius: 50%; vertical-align: .05em;
}

/* ---------- Download-Seite: Werkzeuge ---------- */
.werkzeuge { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; align-items: end; margin-top: 2.4rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--linie); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: inherit; font-size: .9375rem; font-weight: 600; min-height: 42px; padding: 0 18px; border-radius: 4px;
  border: 1px solid var(--linie); background: var(--weiss); color: var(--tinte); cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.chip:hover { border-color: var(--marine); }
.chip[aria-pressed="true"] { background: var(--marine); border-color: var(--marine); color: #fff; }
.suchfeld { display: flex; flex-direction: column; gap: .3rem; min-width: min(100%, 18rem); }
.suchfeld label { font-size: var(--fs-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--messing-dunkel); }
.suchfeld input {
  font: inherit; font-size: 1rem; min-height: 46px; padding: 0 14px; border: 1px solid var(--linie); border-radius: 4px; background: var(--weiss); color: var(--tinte);
}
.suchfeld input:focus { border-color: var(--marine); }
.status { margin: 1.6rem 0 0; font-size: .875rem; color: var(--schiefer); }
.status + .liste { margin-top: .7rem; }
.leer { margin-top: 1.5rem; padding: 1.2rem 1.4rem; border: 1px dashed var(--messing); background: var(--weiss); color: var(--messing-dunkel); }

/* ---------- Leseproben ---------- */
.proben { margin-top: clamp(56px, 7vw, 96px); }
.probe {
  background: var(--weiss); border: 1px solid var(--linie); border-left: 4px solid var(--c, var(--marine));
  margin-top: 12px;
}
.probe summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem 1.5rem;
  align-items: center; padding: 22px 26px;
}
.probe summary::-webkit-details-marker { display: none; }
.probe summary::after {
  content: "Leseprobe ansehen"; display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px;
  font-weight: 600; font-size: .9375rem; color: var(--marine); border: 1.5px solid var(--marine);
  border-radius: 4px; white-space: nowrap; transition: background .2s;
}
.probe summary:hover::after { background: var(--nebel); }
.probe[open] summary::after { content: "Schließen"; }
.probe .karte-text { display: block; }
.probe-titel { display: block; font-family: var(--titel); font-weight: 400; font-size: clamp(1.1875rem, 1.1rem + .3vw, 1.3125rem); color: var(--marine); }
.probe-text { display: block; color: var(--schiefer); font-size: 1rem; margin: .2rem 0 .5rem; }
.probe-inhalt { padding: 6px 26px 26px; border-top: 1px solid var(--linie); }
.tabelle-rahmen { overflow-x: auto; margin: 1.2rem 0; }
.probe table { border-collapse: collapse; width: 100%; min-width: 22rem; font-size: 1rem; }
.probe th, .probe td { text-align: left; padding: .7rem 1rem; border-bottom: 1px solid var(--linie); vertical-align: top; }
.probe th { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--schiefer); background: transparent; border-bottom: 1.5px solid var(--marine); }
.probe td:first-child { white-space: nowrap; font-weight: 600; color: var(--marine); font-variant-numeric: tabular-nums; }
.seiten-leiste {
  --h: clamp(260px, 34vw, 400px); --w: calc(var(--h) * .7071);
  display: flex; gap: 1rem; align-items: flex-start; overflow: hidden; margin: 1.2rem 0; padding: 0 .5rem .8rem 0;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 80%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0, #000 80%, transparent 100%);
}
.seite-bild { margin: 0; flex: 0 0 auto; width: var(--w); position: relative; }
.seite-bild img { width: 100%; height: auto; display: block; border: 1px solid var(--linie); background: #fff; box-shadow: 0 18px 40px -28px rgba(0, 37, 69, .45); }
.seite-knopf { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.seite-bild figcaption { font-size: .875rem; color: var(--schiefer); margin-top: .6rem; }
.seite-bild.unscharf { z-index: var(--z, 0); margin-left: calc(var(--w) * -.7); }
.seite-bild.erste + .seite-bild.unscharf { margin-left: 0; }

.lupe { border: 0; padding: 0; background: #fff; max-width: min(96vw, 860px); max-height: 96vh; }
.lupe::backdrop { background: rgba(0, 26, 51, .82); }
.lupe img { display: block; max-width: 100%; max-height: calc(96vh - 3.6rem); margin: 0 auto; object-fit: contain; }
.lupe-zu { display: block; margin: .5rem .5rem .5rem auto; font: inherit; font-size: .9375rem; font-weight: 600; min-height: 42px; padding: 0 18px; background: var(--marine); color: #fff; border: 0; border-radius: 4px; cursor: pointer; }

@media (max-width: 700px) {
  .seiten-leiste { --w: min(78vw, 320px); overflow-x: auto; scroll-snap-type: x mandatory; -webkit-mask-image: none; mask-image: none; }
  .seite-bild { scroll-snap-align: start; }
  .seite-bild.unscharf { margin-left: 0; }
}
.probe-hinweis { font-size: .875rem; color: var(--schiefer); margin: 0; padding-left: 14px; border-left: 2px solid var(--messing); }

/* ---------- Über ---------- */
.ueber { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: 2.5rem; align-items: center; }
.ueber-logo { border: 0; }

/* ---------- Textseiten (Kontakt, Impressum, Datenschutz) ---------- */
.text { max-width: 46rem; }
.text h1 { margin-bottom: .5em; }
.text h2 { margin-top: 2.4rem; font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); }
.text h3 { margin-top: 1.6rem; font-size: 1.1875rem; }
.text address { font-style: normal; margin-bottom: 1em; }
.text ul { padding-left: 1.2rem; }

.entwurf {
  background: var(--weiss); border: 1px dashed var(--messing); border-left: 3px solid var(--messing);
  padding: 1rem 1.2rem; margin-bottom: 2.4rem; font-size: var(--fs-klein); color: var(--tinte);
}
.entwurf strong { color: var(--messing-dunkel); }
.platzhalter { background: #F3E7CC; color: var(--messing-dunkel); padding: 0 .3em; border-radius: 2px; }

.kontakt-raster { display: grid; grid-template-columns: minmax(200px, 340px) 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; margin-top: 2.4rem; }
.kontakt-liste { margin: 0; }
.kontakt-liste dt { font-size: var(--fs-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--messing-dunkel); margin-top: 1.4rem; }
.kontakt-liste dt:first-child { margin-top: 0; }
.kontakt-liste dd { margin: .2rem 0 0; font-size: var(--fs-lead); font-family: var(--titel); }

/* ---------- Fuß ---------- */
.fuss { background: var(--marine-tief); color: var(--auf-marine-leise); }
.fuss-innen { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem 3rem; align-items: end; padding-top: clamp(48px, 6vw, 72px); padding-bottom: 32px; }
.fuss a { color: var(--auf-marine); text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.fuss-name { margin: 0; }
.fuss-name img { width: 170px; height: auto; }
.fuss-hinweis { font-size: .9rem; margin: 0; max-width: 34em; }
.fuss-links { list-style: none; margin: 0 0 .8rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; justify-content: flex-end; }
.fuss-copy { font-size: .875rem; margin: 0; text-align: right; }

/* ---------- Der Käptn ---------- */
.kaeptn { display: grid; grid-template-columns: minmax(200px, 340px) 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.kaeptn-bild { margin: 0; }
.kaeptn-bild img { width: 100%; height: auto; }
.kaeptn-text { max-width: 62ch; }
.kaeptn-text h2 { margin-bottom: .55em; }
.signatur { display: flex; flex-direction: column; margin-top: 1.6rem; }
.signatur-name { font-family: var(--titel); font-size: 1.5rem; color: var(--marine); }
.signatur-rolle { font-size: .9375rem; color: var(--schiefer); }

/* ---------- Wirklich kostenlos? ---------- */
.kostenlos { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.kostenlos-text { max-width: 62ch; }
.kostenlos-text h2 { margin-bottom: .55em; }
.kostenlos-text strong { color: var(--marine); }
.meer { margin: 0; position: relative; }
.meer img { width: 100%; height: auto; }
.meer figcaption {
  position: absolute; left: clamp(-1.5rem, -2vw, -.6rem); bottom: 1.4rem; background: var(--weiss); color: var(--marine);
  font-family: var(--titel); font-size: 1.125rem; padding: .7rem 1.1rem; border-left: 2px solid var(--messing);
}
.qr { margin: .5rem 0 1rem; border: 1px solid var(--linie); background: #fff; padding: .4rem; }
.schluss { font-family: var(--titel); font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); color: var(--marine); margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--linie); }

/* ---------- Kontakt-Block auf der Startseite ---------- */
.kontakt-karten { list-style: none; margin: 1.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem; }
.kontakt-karten li { display: flex; flex-direction: column; gap: .15rem; min-width: min(100%, 17rem); background: var(--weiss); border: 1px solid var(--linie); padding: .9rem 1.3rem; }
.kontakt-label { font-size: .875rem; font-weight: 600; color: var(--schiefer); }
.kontakt-karten a { font-size: 1.125rem; font-weight: 600; }

.kontakt-block {
  display: grid; grid-template-columns: minmax(200px, 380px) 1fr;
  background: var(--marine); color: var(--auf-marine); overflow: hidden; position: relative;
}
.kontakt-inhalt::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: -1;
  background: url("bilder/welle-hell.svg") center bottom / 100% 100% no-repeat; pointer-events: none;
}
.kontakt-bild { width: 100%; height: 100%; min-height: 360px; object-fit: cover; object-position: 50% 62%; }
.kontakt-inhalt { padding: clamp(32px, 5vw, 64px) clamp(32px, 5vw, 64px) clamp(72px, 8vw, 104px); align-self: stretch; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 1; isolation: isolate; }
.kontakt-inhalt > * { max-width: 36rem; }
.kontakt-inhalt h2 { color: #fff; }
.kontakt-inhalt .kicker { color: var(--messing-hell); }
.kontakt-inhalt .kicker::before { background: var(--messing-hell); }
.kontakt-inhalt p { font-size: var(--fs-lead); line-height: 1.55; }
.kontakt-zeilen { margin: 1.8rem 0 0; display: grid; grid-template-columns: max-content 1fr; gap: .7rem 1.6rem; border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 1.4rem; }
.kontakt-zeilen dt { font-size: var(--fs-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--messing-hell); padding-top: .35em; }
.kontakt-zeilen dd { margin: 0; }
.kontakt-zeilen a { color: #fff; font-weight: 500; font-size: 1.125rem; text-decoration-color: var(--messing-hell); }
.kontakt-zeilen a:hover { color: #fff; text-decoration-color: #fff; }

/* ---------- Kleingedrucktes ---------- */
.klein { background: var(--nebel); padding: clamp(40px, 5vw, 64px) 0; }
.klein p { font-size: .9375rem; color: var(--schiefer); margin: 0 0 .5rem; max-width: 70ch; line-height: 1.6; }
.klein .klein-titel { font-size: var(--fs-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--messing-dunkel); margin-bottom: 1rem; }
.klein + .fuss { margin-top: 0; }

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 860px) {
  .hero-raster, .ueber, .kontakt-raster, .fuss-innen, .kaeptn, .kostenlos { grid-template-columns: 1fr; }
  .kaeptn-bild { max-width: 300px; }
  .kontakt-block { grid-template-columns: 1fr; }
  .kontakt-bild { min-height: 0; height: 240px; object-position: 50% 55%; }
  .kontakt-zeilen { grid-template-columns: 1fr; gap: .1rem; }
  .kontakt-zeilen dd { margin-bottom: .8rem; }
  .meer figcaption { left: .8rem; }
  .hero-bild { order: -1; }
  .ueber-logo { max-width: 260px; }
  .treppe li { margin-left: 0; }
  .treppe a { grid-template-columns: minmax(0, 1fr); }
  .treppe-stufe, .treppe-link, .treppe-text { grid-row: auto; grid-column: auto; }
  .treppe-stufe { padding-top: 0; font-size: .9375rem; }
  .treppe-link { justify-self: start; margin-top: .4rem; }
  .karte { grid-template-columns: auto minmax(0, 1fr); }
  .karte-aktion { grid-column: 1 / -1; }
  .probe summary { grid-template-columns: auto minmax(0, 1fr); }
  .probe summary::after { grid-column: 1 / -1; justify-self: start; }
  .fuss-links { justify-content: flex-start; }
  .fuss-copy { text-align: left; }
}
@media (max-width: 480px) {
  .karte { grid-template-columns: 1fr; padding: 20px; }
  .badge { justify-self: start; }
  .kopf nav ul { gap: .2rem 1.2rem; }
  .marke .marke-bild { width: 50px; }
  .marke .marke-schrift { width: 118px; }
  .topbar { letter-spacing: .08em; }
  .hero-knoepfe .btn { width: 100%; }
}

@media print {
  .kopf nav, .fuss, .hero-knoepfe, .werkzeuge, .hero::after, .kontakt-inhalt::after { display: none; }
}
.hero-bild img { border: 1px solid var(--linie); }


/* ==========================================================================
   Mischung: Basis Style B, dazu Treppe, Schriften und Schatten aus Style A
   ========================================================================== */
:root {
  --titel: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: var(--titel);
  --fs-h1: clamp(2.3rem, 1.5rem + 3vw, 3.7rem);
  --fs-h2: clamp(1.7rem, 1.3rem + 1.7vw, 2.5rem);
  --abschnitt: clamp(64px, 8vw, 112px);
  --welle: clamp(56px, 7vw, 100px);
}
h1, h2, h3 { font-weight: 700; letter-spacing: 0; }
.wortmarke { font-size: 1.6rem; font-weight: 700; }
.wortmarke .gold { color: var(--messing-dunkel); }
.marke img { width: auto; height: 50px; }
.kopf nav a { font-weight: 600; }
.treppe-titel, .probe-titel, .kontakt-liste dd, .schluss, .signatur-name { font-weight: 700; }
.hero-hinweis img { width: auto; height: 30px; }

/* Treppe: kräftige Stufen mit Kante, Stirnseite und Schatten */
[data-stufe="grundlagen"]     { --riser: #082633; }
[data-stufe="kurzfristig"]    { --riser: #1F5160; }
[data-stufe="mittelfristig"]  { --riser: #4A7983; }
[data-stufe="altersvorsorge"] { --riser: #7F9FA3; }
[data-stufe="geldanlage"]     { --riser: #8A6A27; }
.treppe { gap: 1.3rem; padding-bottom: .5rem; }
.treppe li { margin-left: calc(var(--v) * 3.2rem); margin-right: 8px; }
.treppe a {
  display: block; padding: 1rem 1.3rem 1rem 1.4rem;
  background: linear-gradient(180deg, #FFFFFF 0%, #F1F6FB 100%);
  border: 1px solid var(--linie); border-left: 10px solid var(--c, var(--marine)); border-radius: 3px 6px 6px 3px;
  box-shadow: inset 0 3px 0 rgba(255,255,255,.95), 7px 8px 0 var(--riser, #082633), 10px 16px 20px -2px rgba(20,40,75,.30);
  transition: transform .15s ease, box-shadow .15s ease;
}
.treppe a:hover {
  transform: translate(-2px, -3px); border-color: var(--linie); border-left-color: var(--c, var(--marine));
  box-shadow: inset 0 3px 0 rgba(255,255,255,.95), 9px 11px 0 var(--riser, #082633), 12px 20px 24px -2px rgba(20,40,75,.32);
}
.treppe-stufe { display: block; padding: 0; font-family: var(--sans); font-size: .85rem; font-weight: 600; color: var(--schiefer); }
.treppe-titel { font-size: 1.4rem; }
.treppe-text { margin: .15rem 0 .5rem; color: #3A465C; max-width: none; }
.treppe-link { display: block; padding: 0; border: 0; font-size: .95rem; color: #1D6E96; }
.treppe a:hover .treppe-link { text-decoration: underline; text-underline-offset: .2em; }

/* Bilder mit Schatten */
.hero-bild { background: #fff; border: 1px solid var(--linie); border-radius: 8px; padding: .8rem; box-shadow: 8px 8px 0 rgba(0,37,69,.14); }
.hero-bild img { border: 0; border-radius: 4px; }
.kaeptn-bild img, .meer img { border: 1px solid var(--linie); border-radius: 6px; box-shadow: 8px 8px 0 var(--marine); }
.meer figcaption { left: -1rem; bottom: 1.4rem; background: #D8B566; color: var(--marine); border: 0; font-weight: 400; box-shadow: 4px 4px 0 rgba(20,40,75,.35); }
.seite-bild img { box-shadow: 4px 4px 0 rgba(20,40,75,.18); border-radius: 3px; }
.kontakt-block { border-radius: 6px; }

/* Wellen an allen Übergängen */
.abschnitt.hell { padding: calc(var(--abschnitt) + 24px) 0; }
.abschnitt.hell, .klein, .fuss { position: relative; }
.abschnitt.hell::before, .abschnitt.hell::after, .klein::before, .fuss::before {
  content: ""; position: absolute; left: 0; right: 0; height: var(--welle); pointer-events: none;
  background-size: 100% 100%; background-repeat: no-repeat;
}
.abschnitt.hell::before, .klein::before { top: 0; background-image: url("bilder/welle-oben.svg"); }
.abschnitt.hell::after { bottom: 0; background-image: url("bilder/welle.svg"); }
.fuss::before { top: 0; height: clamp(36px, 5vw, 64px); background-image: url("bilder/welle-nebel-oben.svg"); }

/* Kleingedrucktes: klein, kursiv, mit ganz leichten Wellen */
.klein {
  padding: calc(var(--welle) + 20px) 0 clamp(72px, 9vw, 120px);
  background: var(--nebel) url("bilder/welle-leicht.svg") center bottom / 100% clamp(70px, 8vw, 110px) no-repeat;
}
.klein p { font-family: "Helvetica Neue", Arial, "Liberation Sans", sans-serif; font-size: clamp(.7rem, calc((100vw - 120px) / 80), .9rem); font-style: italic; line-height: 1.6; max-width: none; }
@media (min-width: 1040px) { .klein p { white-space: nowrap; } }
.klein .klein-titel { font-style: normal; font-size: .75rem; }

/* Fuß mit leichten Wellen */
.fuss { background: var(--marine-tief) url("bilder/welle-hell.svg") center bottom / 100% 90px no-repeat; }
.fuss-innen { padding-top: clamp(64px, 8vw, 104px); }
.fuss-name { font-family: var(--titel); font-size: 1.35rem; font-weight: 700; color: #fff; }

@media (max-width: 860px) {
  .treppe { flex-direction: column; }
  .treppe li { margin-left: 0; }
  .meer figcaption { left: .8rem; }
}

/* verhindert eine feine Linie zwischen den Kästen */
.klein + .fuss { margin-top: -1px; }

.nur-lesen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
