/* Wohnungfindenlassen.de - warmes Creme, Gold, Schwarzbraun. */

@font-face { font-family: "Caslon"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("schriften/libre-caslon-display-latin-400-normal.501e6faa53c2.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215; }
@font-face { font-family: "Caslon"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("schriften/libre-caslon-display-latin-ext-400-normal.41de81893202.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("schriften/jost-latin-wght-normal.928f4210aa48.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("schriften/jost-latin-ext-wght-normal.7f44f6fd229b.woff2") format("woff2-variations");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --creme: #FBF6EF;
  --creme-tief: #F4EBDF;
  --sand: #EADCC8;
  --linie: #E3D4BF;
  --weiss: #FFFDF9;
  --gold: #A47A3F;          /* Schrift-Akzent, Linien, Icons */
  --gold-text: #866428;     /* kleine Goldschrift: 5,3 / 5,05 / 4,6 :1 auf Weiss / Creme / Creme-tief */
  --gold-knopf: #8A672A;    /* Flaechen mit heller Schrift: 5,1:1 */
  --gold-knopf-hover: #745520;
  --gold-hell: #C9A56E;
  --tinte: #211913;
  --text: #3B3029;
  --leise: #75665A;
  --fehler: #9B3B2A;
  --ok: #4F6B3A;

  --serif: "Caslon", "Libre Caslon Display", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --bahn: 1240px;
  --rand: clamp(20px, 5vw, 56px);
  --abschnitt: clamp(72px, 10vw, 132px);
  --radius: 4px;
  --schatten: 0 1px 2px rgba(33, 25, 19, .04), 0 12px 32px -12px rgba(33, 25, 19, .16);
  --weich: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--creme); color: var(--text);
  font: 400 17px/1.65 var(--sans); letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }

.sprung { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--tinte); color: var(--weiss); padding: 10px 16px; }
.sprung:focus { left: 8px; }

.bahn { width: 100%; max-width: var(--bahn); margin-inline: auto; padding-inline: var(--rand); }

/* ---------------------------------------------------------------- Schrift */
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; color: var(--tinte); letter-spacing: -.012em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(44px, 6.4vw, 86px); line-height: 1.02; }
h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.08; }
h3 { font-size: clamp(22px, 2vw, 26px); line-height: 1.2; }
.gold { color: var(--gold); }
p { margin: 0 0 1em; }
p, li, summary, legend { text-wrap: pretty; }
.vorzeile, .frage summary { text-wrap: balance; }
/* Punkt-Zeilen: Umbruch nur zwischen Begriffen, der Punkt am Zeilenanfang wird weggeschnitten */
.punkte, .vorzeile.punkte { display: flex; flex-wrap: wrap; column-gap: 1.1em; overflow: hidden; }
.punkte > span { white-space: nowrap; margin-left: -1.1em; }
.punkte > span::before { content: "·"; display: inline-block; width: 1.1em; text-align: center; }
.fuss-marke .claim { max-width: none; }
.vorzeile {
  display: block; margin: 0 0 22px; font: 500 12px/1.4 var(--sans);
  letter-spacing: .24em; text-transform: uppercase; color: var(--leise);
}
.vorzeile.gold { color: var(--gold-text); }
.einleitung { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.6; color: var(--text); max-width: 36em; }
.leise { color: var(--leise); }
.claim { font: 500 12px/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--leise); }
.zierlinie { width: 48px; height: 1px; background: var(--gold); border: 0; margin: 26px 0; }
.mitte .zierlinie { margin-inline: auto; }
.mitte { text-align: center; }
.mitte .einleitung { margin-inline: auto; }

/* ---------------------------------------------------------------- Knoepfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 30px; border: 1px solid var(--gold-knopf); border-radius: var(--radius);
  background: var(--gold-knopf); color: var(--weiss); text-decoration: none; cursor: pointer;
  font: 500 14px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  transition: background .25s var(--weich), border-color .25s var(--weich), transform .25s var(--weich), box-shadow .25s var(--weich);
  box-shadow: 0 10px 24px -14px rgba(127, 95, 38, .7);
  -webkit-tap-highlight-color: transparent;
}
.knopf:hover { background: var(--gold-knopf-hover); border-color: var(--gold-knopf-hover); }
.knopf:active { transform: translateY(1px); }
.knopf .pfeil { transition: transform .25s var(--weich); }
.knopf:hover .pfeil { transform: translateX(4px); }
.knopf-hell { background: transparent; color: var(--tinte); border-color: var(--tinte); box-shadow: none; }
.knopf-hell:hover { background: var(--tinte); color: var(--weiss); border-color: var(--tinte); }
.knopf-klein { min-height: 44px; padding: 0 20px; font-size: 12.5px; }
.knopf[disabled], .knopf[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.textlink { color: var(--tinte); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; font-weight: 500; }
.textlink:hover { color: var(--gold); }

/* ------------------------------------------------------------------- Kopf */
.kopf {
  position: sticky; top: 0; z-index: 50; background: rgba(251, 246, 239, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.kopf.gescrollt { border-bottom-color: var(--linie); box-shadow: 0 8px 28px -22px rgba(33, 25, 19, .5); }
.kopf-bahn { display: flex; align-items: center; gap: 32px; min-height: 84px; max-width: 1400px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--tinte); flex-shrink: 0; }
.zeichen { width: 46px; height: 46px; color: var(--gold); flex-shrink: 0; }
.logo-wort { font-family: var(--serif); font-size: 25px; line-height: 1; letter-spacing: -.015em; white-space: nowrap; }
.logo-wort em { font-style: normal; color: var(--gold); }
.navi { display: flex; gap: clamp(18px, 2.2vw, 34px); margin-left: auto; }
.navi a { position: relative; text-decoration: none; font-size: 14.5px; font-weight: 450; color: var(--text); padding: 8px 0; white-space: nowrap; }
.navi a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--weich); }
.navi a:hover::after, .navi a[aria-current="page"]::after { transform: scaleX(1); }
.kopf-knopf { flex-shrink: 0; }
.menue-schalter { display: none; }
.menue { display: none; }

/* ------------------------------------------------------------------- Held */
.held { position: relative; overflow: hidden; background: var(--creme); }
.held-bild { position: absolute; inset: 0; }
.held-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 55%; }
/* Das Bild laeuft ueber die ganze Breite; links nur ein Cremeschleier fuer die Lesbarkeit. */
.held-bild::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(251, 246, 239, .93) 0%, rgba(251, 246, 239, .86) 30%, rgba(251, 246, 239, .45) 46%, rgba(251, 246, 239, 0) 62%);
}
.held-inhalt { position: relative; z-index: 2; min-height: min(86vh, 820px); display: flex; flex-direction: column; justify-content: center; padding-block: 88px 104px; max-width: 680px; }
.held h1 { margin-bottom: 30px; font-size: clamp(44px, 5.5vw, 80px); }
@media (min-width: 901px) { .held h1 .gold { white-space: nowrap; } }
.held .einleitung { margin-bottom: 38px; max-width: 30em; }
.held-vertrauen { margin-top: 26px; font-size: 13.5px; color: var(--leise); letter-spacing: .02em; }
.siegel {
  position: absolute; z-index: 2; right: clamp(24px, 5vw, 72px); top: 56px; width: 128px; height: 128px; border-radius: 50%;
  border: 1px solid rgba(255, 253, 249, .75); background: rgba(164, 122, 63, .78);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: grid; place-items: center; text-align: center; color: var(--weiss);
  font: 500 11px/1.55 var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 18px;
}
.siegel::after { content: ""; display: block; width: 22px; height: 1px; background: currentColor; margin: 8px auto 0; }

/* ---------------------------------------------------------------- Unterseiten-Kopf */
.seitenkopf { position: relative; overflow: hidden; }
.seitenkopf-raster { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 88px); align-items: center; padding-block: clamp(56px, 8vw, 104px); }
.seitenkopf h1 { font-size: clamp(42px, 5.4vw, 72px); margin-bottom: 26px; }
.seitenkopf-bild { position: relative; aspect-ratio: 4 / 5; max-height: 640px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); }
.seitenkopf-bild.quer { aspect-ratio: 16 / 11; }
.seitenkopf-bild img { width: 100%; height: 100%; object-fit: cover; }

/* -------------------------------------------------------------- Abschnitte */
.abschnitt { padding-block: var(--abschnitt); }
.abschnitt.eng { padding-block: clamp(56px, 7vw, 88px); }
.abschnitt.tief { background: var(--creme-tief); }
.abschnitt.weiss { background: var(--weiss); }
.abschnitt-kopf { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.abschnitt-kopf.mitte { margin-inline: auto; }
.abschnitt-kopf p { margin-top: 22px; }

/* Vier Vorteile mit feinen Trennlinien */
.vorteile { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vorteil { padding: 8px clamp(18px, 2.4vw, 36px) 4px; text-align: center; border-left: 1px solid var(--linie); }
.vorteil:first-child { border-left: 0; }
.vorteil .symbol { width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%; background: var(--creme-tief); display: grid; place-items: center; color: var(--gold); }
.vorteil .symbol svg { width: 32px; height: 32px; }
.vorteil h3 { font-size: 23px; margin-bottom: 12px; }
.vorteil p { font-size: 15.5px; color: var(--leise); margin: 0 auto; max-width: 17em; }

/* Karten "Kommt Ihnen das bekannt vor?" */
.karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.karte { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(33, 25, 19, .03); }
.karte-bild { aspect-ratio: 16 / 11; overflow: hidden; }
.karte-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--weich); }
.karte:hover .karte-bild img { transform: scale(1.035); }
.karte-text { padding: 30px clamp(22px, 2.4vw, 34px) 34px; display: flex; flex-direction: column; flex: 1; }
.karte-kopf { display: flex; gap: 18px; align-items: baseline; margin-bottom: 18px; }
.karte-kopf .ziffer { font-family: var(--serif); font-size: 46px; line-height: .9; color: var(--gold); }
.karte-kopf h3 { font-size: 23px; }
.karte p { font-size: 15.5px; }
.karte strong { color: var(--tinte); font-weight: 550; }
.karte .zitat { margin-top: auto; background: var(--creme-tief); padding: 18px 20px; border-radius: var(--radius); font-size: 15px; color: var(--tinte); }
.karte .zitat em { font-style: normal; color: var(--gold-text); font-weight: 550; }

/* Bild + Text nebeneinander */
.geteilt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; background: var(--creme-tief); }
.geteilt.umgekehrt .geteilt-bild { order: 2; }
.geteilt-bild { position: relative; min-height: 520px; overflow: hidden; }
.geteilt-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.geteilt-text { display: flex; flex-direction: column; justify-content: center; padding: clamp(56px, 7vw, 112px) clamp(28px, 6vw, 96px); max-width: 720px; }
.geteilt-text h2 { margin-bottom: 18px; }
.geteilt-text .unterzeile { font-family: var(--serif); font-size: clamp(21px, 1.9vw, 25px); line-height: 1.35; color: var(--gold-text); margin-bottom: 26px; }
.geteilt-text .knopfreihe { margin-top: 18px; }
.geteilt.dunkel { background: var(--tinte); color: #E9DFD2; }
.geteilt.dunkel h2 { color: var(--weiss); }
.geteilt.dunkel .vorzeile { color: var(--gold-hell); }

/* Ablauf mit nummerierten Schritten */
.ablauf { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; position: relative; counter-reset: schritt; }
.ablauf::before { content: ""; position: absolute; top: 23px; left: 8%; right: 8%; height: 1px; background: var(--gold-hell); opacity: .7; }
.ablauf.vier { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ablauf.vier::before { left: 12%; right: 12%; }
.schritt { position: relative; text-align: center; padding: 0 clamp(8px, 1.4vw, 18px); }
.schritt .nummer { position: relative; z-index: 1; width: 46px; height: 46px; margin: 0 auto 26px; border-radius: 50%; background: var(--gold-knopf); color: var(--weiss); display: grid; place-items: center; font: 500 14px/1 var(--sans); letter-spacing: .06em; box-shadow: 0 0 0 8px var(--creme); }
.abschnitt.tief .schritt .nummer { box-shadow: 0 0 0 8px var(--creme-tief); }
.schritt h3 { font-size: 21px; margin-bottom: 10px; }
.schritt p { font-size: 15px; color: var(--leise); margin: 0; }

/* Liste mit Haken */
.haken { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 14px; }
.haken li { position: relative; padding-left: 38px; color: var(--tinte); }
.haken li::before { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--gold-knopf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFDF9' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9'/%3E%3C/svg%3E") center/18px no-repeat; }
.haken.fein li::before { background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A47A3F' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M7.5 12.5l3 3L16.5 9'/%3E%3C/svg%3E") center/24px no-repeat; }

/* Handschrift-Akzent */
.handschrift { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; transform: rotate(-7deg); display: inline-block; }

/* Abschluss-Band mit Bild */
.abschluss { position: relative; overflow: hidden; }
.abschluss-bild { position: absolute; inset: 0; }
.abschluss-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.abschluss-bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(251, 246, 239, .97) 0%, rgba(251, 246, 239, .88) 36%, rgba(251, 246, 239, .2) 66%, rgba(251, 246, 239, 0) 80%); }
.abschluss-inhalt { position: relative; padding-block: clamp(88px, 11vw, 152px); max-width: 620px; }
.abschluss-inhalt h2 { margin-bottom: 24px; }
.abschluss-inhalt .einleitung { margin-bottom: 34px; }

/* Eigentuemer-Band */
.band { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: clamp(28px, 4vw, 56px); box-shadow: var(--schatten); }
.band-bild { aspect-ratio: 16 / 11; border-radius: var(--radius); overflow: hidden; }
.band-bild img { width: 100%; height: 100%; object-fit: cover; }

/* Kacheln mit Text (Leistungen) */
.kacheln { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--linie); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; }
.kachel { background: var(--weiss); padding: clamp(28px, 3vw, 44px); }
.kachel .symbol { color: var(--gold); width: 34px; height: 34px; margin-bottom: 22px; }
.kachel h3 { font-size: 23px; margin-bottom: 12px; }
.kachel p { font-size: 15.5px; color: var(--leise); margin: 0; }

/* Zitat */
.leitsatz { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 44px); line-height: 1.22; color: var(--tinte); max-width: 22em; margin: 0 auto; text-align: center; text-wrap: balance; }
.leitsatz .gold { display: inline; }

/* FAQ */
.fragen { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--linie); }
.frage { border-bottom: 1px solid var(--linie); }
.frage summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 4px; font-family: var(--serif); font-size: clamp(20px, 2vw, 24px); color: var(--tinte); line-height: 1.3; }
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after { content: ""; flex-shrink: 0; width: 14px; height: 14px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--weich); }
.frage[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.frage-antwort { padding: 0 4px 28px; max-width: 46em; }
.frage-antwort p:last-child { margin: 0; }

/* Rechtstexte */
.rechtstext { max-width: 780px; margin: 0 auto; }
.rechtstext h1 { font-size: clamp(40px, 5vw, 60px); margin-bottom: 40px; }
.rechtstext h2 { font-size: 27px; margin: 46px 0 14px; }
.rechtstext h3 { font-size: 21px; margin: 30px 0 10px; }
.rechtstext a { color: var(--gold-text); }
.rechtstext ul { padding-left: 1.2em; }

/* ------------------------------------------------------------------- Fuss */
.fuss { background: var(--tinte); color: #CDBFAE; padding-top: clamp(64px, 8vw, 96px); font-size: 15px; }
.fuss .logo { color: var(--weiss); }
.fuss .zeichen { color: var(--gold-hell); }
.fuss .logo-wort em { color: var(--gold-hell); }
.fuss-raster { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 56px; }
.fuss-marke p { margin: 22px 0 0; max-width: 26em; }
.fuss-marke .claim { color: var(--gold-hell); margin-top: 18px; }
.fuss-spalte { display: flex; flex-direction: column; gap: 10px; }
.fuss-spalte h2 { font: 500 12px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--weiss); margin-bottom: 8px; }
.fuss-spalte a { text-decoration: none; color: #CDBFAE; overflow-wrap: anywhere; }
.fuss-spalte a:hover { color: var(--weiss); }
.fuss-unten { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px 28px; font-size: 13.5px; }
.fuss-unten::before { content: ""; position: absolute; top: 0; left: var(--rand); right: var(--rand); height: 1px; background: rgba(255, 253, 249, .12); }
.fuss-schmal .fuss-unten::before { display: none; }
.fuss-unten a { color: #CDBFAE; text-decoration: none; }
.fuss-unten a:hover { color: var(--weiss); }

/* ------------------------------------------------------- Formular-Strecke */
.strecke-seite { background: var(--creme); }
.strecke { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(32px, 5vw, 72px); padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 104px); align-items: start; }
.strecke-haupt { min-width: 0; }
.strecke-kopf { margin-bottom: 34px; }
.strecke-kopf h1 { font-size: clamp(36px, 4.4vw, 56px); margin-bottom: 14px; }
.fortschritt { margin-bottom: 36px; }
.fortschritt-text { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--leise); margin-bottom: 12px; }
.fortschritt-text strong { color: var(--tinte); font-weight: 550; letter-spacing: .14em; }
.fortschritt-balken { height: 3px; background: var(--sand); border-radius: 3px; overflow: hidden; }
.fortschritt-balken span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .5s var(--weich); }
.fortschritt-punkte { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-top: 14px; }
.fortschritt-punkte li { list-style: none; font-size: 12px; color: var(--leise); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fortschritt-punkte li.erreicht { color: var(--tinte); }
.fortschritt-punkte li.jetzt { color: var(--gold-text); font-weight: 550; }
.fortschritt-punkte { padding: 0; margin-bottom: 0; }
.fortschritt-punkte.vier { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.blatt { background: var(--weiss); border: 1px solid var(--linie); border-radius: 6px; padding: clamp(24px, 4vw, 52px); box-shadow: var(--schatten); }
.schrittfeld { border: 0; padding: 0; margin: 0; min-width: 0; }
.schrittfeld legend { padding: 0; margin-bottom: 8px; font-family: var(--serif); font-size: clamp(28px, 3vw, 38px); color: var(--tinte); line-height: 1.12; }
.schrittfeld .hinweis { color: var(--leise); margin-bottom: 30px; }
.schrittfeld.betreten { animation: hinein .45s var(--weich); }
@keyframes hinein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .schrittfeld.betreten { animation: none; } }

.feld { margin-bottom: 26px; min-width: 0; }
.feld > label, .feld > .feld-name { display: block; margin-bottom: 9px; font-size: 14.5px; font-weight: 550; color: var(--tinte); letter-spacing: .01em; }
.feld .optional { font-weight: 400; color: var(--leise); }
.feld-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.feld-raster.drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.eingabe, select.eingabe, textarea.eingabe {
  width: 100%; min-height: 54px; padding: 13px 16px; border: 1px solid #D9C9B3; border-radius: var(--radius);
  background: var(--weiss); font-size: 16px; color: var(--tinte); transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
textarea.eingabe { min-height: 120px; resize: vertical; line-height: 1.55; }
select.eingabe { background: var(--weiss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A47A3F' stroke-width='1.8'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center/18px no-repeat; padding-right: 44px; }
.eingabe:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(164, 122, 63, .18); }
.eingabe[aria-invalid="true"] { border-color: var(--fehler); }
.mit-einheit { position: relative; }
.mit-einheit .eingabe { padding-right: 52px; }
.mit-einheit .einheit { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--leise); pointer-events: none; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid #D9C9B3; border-radius: 999px; background: var(--weiss); font-size: 15px; color: var(--text); transition: all .2s var(--weich); user-select: none; }
.chip input:checked + span { background: var(--tinte); border-color: var(--tinte); color: var(--weiss); }
.chip input:checked + span::before { content: "✓"; font-size: 13px; }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (hover: hover) { .chip:hover span { border-color: var(--gold); } }

.kacheln-wahl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kacheln-wahl.zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wahl { position: relative; }
.wahl input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.wahl span { display: flex; flex-direction: column; justify-content: center; min-height: 64px; padding: 12px 18px; border: 1px solid #D9C9B3; border-radius: var(--radius); background: var(--weiss); font-size: 15.5px; color: var(--tinte); transition: all .2s var(--weich); }
.wahl span small { color: var(--leise); font-size: 13px; margin-top: 2px; }
.wahl input:checked + span { border-color: var(--gold); background: #FBF3E6; box-shadow: inset 0 0 0 1px var(--gold); }
.wahl input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
[data-pflicht][aria-invalid="true"] .wahl span, [data-pflicht][aria-invalid="true"] .chip span { border-color: var(--fehler); }

.zaehler { display: inline-flex; align-items: center; border: 1px solid #D9C9B3; border-radius: var(--radius); background: var(--weiss); overflow: hidden; }
.zaehler button { width: 50px; height: 52px; border: 0; background: transparent; font-size: 22px; color: var(--gold); cursor: pointer; }
.zaehler button:hover { background: var(--creme-tief); }
.zaehler output { min-width: 44px; text-align: center; font-size: 18px; color: var(--tinte); font-weight: 500; }

.schalter-zeile { display: flex; align-items: flex-start; gap: 14px; cursor: pointer; font-size: 15px; line-height: 1.55; }
.schalter-zeile input { flex-shrink: 0; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--gold-knopf); }
.einwilligung { background: var(--creme); border: 1px solid var(--linie); border-radius: var(--radius); padding: 18px 20px; margin-top: 8px; }
.einwilligung a { color: var(--gold-text); }

.strecke-fuss { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--linie); }
.zurueck { background: none; border: 0; padding: 12px 4px; cursor: pointer; color: var(--leise); font-size: 15px; display: inline-flex; gap: 8px; align-items: center; }
.zurueck:hover { color: var(--tinte); }
.fehlermeldung { color: var(--fehler); font-size: 14.5px; margin-top: 8px; }
.meldung { padding: 14px 18px; border-radius: var(--radius); background: #F7E9E4; color: var(--fehler); margin-top: 20px; font-size: 15px; }
.honig { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Seitenleiste der Strecke */
.strecke-seite-leiste { position: sticky; top: 112px; }
.leiste-bild { aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; margin-bottom: 26px; box-shadow: var(--schatten); }
.leiste-bild img { width: 100%; height: 100%; object-fit: cover; }
.leiste-karte { background: var(--creme-tief); border-radius: 6px; padding: 26px 26px 10px; }
.leiste-karte h2 { font-size: 22px; margin-bottom: 14px; }
.leiste-karte .haken { gap: 10px; font-size: 15px; }
.leiste-karte .haken li { padding-left: 32px; }
.leiste-karte .haken li::before { width: 20px; height: 20px; background-size: 15px; }

/* Bewerbermappe */
.mappe { display: grid; gap: 12px; }
.mappe-zeile { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--linie); border-radius: var(--radius); background: var(--weiss); transition: border-color .2s; }
.mappe-zeile.hat-dateien { border-color: var(--gold-hell); background: #FFFBF3; }
.mappe-zeile .mappe-name { font-weight: 550; color: var(--tinte); font-size: 15.5px; }
.mappe-zeile .mappe-name small { display: block; font-weight: 400; color: var(--leise); font-size: 13px; margin-top: 2px; }
.mappe-zeile label.knopf { min-height: 42px; padding: 0 16px; font-size: 12px; cursor: pointer; }
.mappe-zeile input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dateien { grid-column: 1 / -1; display: grid; gap: 8px; }
.datei { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; font-size: 14.5px; }
.datei-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--tinte); }
.datei-status { font-size: 13px; color: var(--leise); white-space: nowrap; }
.datei-status.ok { color: var(--ok); }
.datei-status.fehler { color: var(--fehler); white-space: normal; grid-column: 1 / -1; }
.datei-balken { grid-column: 1 / -1; height: 3px; background: var(--sand); border-radius: 3px; overflow: hidden; }
.datei-balken span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .2s linear; }
.datei-weg { background: none; border: 0; color: var(--leise); cursor: pointer; padding: 4px 6px; font-size: 13px; text-decoration: underline; }
.sicher { display: flex; gap: 14px; align-items: flex-start; background: var(--creme-tief); padding: 18px 20px; border-radius: var(--radius); font-size: 14.5px; margin-bottom: 26px; }
.sicher svg { flex-shrink: 0; width: 26px; height: 26px; color: var(--gold); margin-top: 1px; }

/* Bestaetigung */
.danke { text-align: center; padding: clamp(8px, 2vw, 24px) 0; }
.danke-zeichen { width: 76px; height: 76px; margin: 0 auto 28px; border-radius: 50%; background: var(--gold-knopf); color: var(--weiss); display: grid; place-items: center; box-shadow: 0 0 0 10px #F3E8D7; }
.danke-zeichen svg { width: 34px; height: 34px; }
.danke h2 { font-size: clamp(34px, 4vw, 48px); margin-bottom: 10px; }
.danke .unterzeile { font-family: var(--serif); font-size: 24px; color: var(--gold); margin-bottom: 22px; }
.danke p { max-width: 34em; margin-inline: auto; }
.status-leiste { list-style: none; padding: 0; margin: 40px auto 36px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; max-width: 760px; }
.status-leiste::before { content: ""; position: absolute; top: 15px; left: 10%; right: 10%; height: 1px; background: var(--sand); }
.status-leiste li { position: relative; font-size: 13.5px; color: var(--leise); line-height: 1.35; padding: 0 4px; }
.status-leiste li::before { content: ""; display: block; position: relative; width: 30px; height: 30px; margin: 0 auto 12px; border-radius: 50%; background: var(--weiss); border: 1px solid var(--sand); }
.status-leiste li.erledigt { color: var(--tinte); font-weight: 550; }
.status-leiste li.erledigt::before { background: var(--gold-knopf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFDF9' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9'/%3E%3C/svg%3E") center/20px no-repeat; border-color: var(--gold-knopf); }
.status-leiste li.naechster::before { border-color: var(--gold); box-shadow: inset 0 0 0 5px var(--weiss), inset 0 0 0 15px var(--gold-hell); }

/* Einblenden beim Scrollen */
.auftritt { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--weich), transform .9s var(--weich); }
.auftritt.sichtbar { opacity: 1; transform: none; }
.auftritt.v1 { transition-delay: .08s; } .auftritt.v2 { transition-delay: .16s; } .auftritt.v3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .auftritt { opacity: 1; transform: none; transition: none; } }
.held-inhalt > * { animation: einschweben 1.1s var(--weich) both; }
.held-inhalt > *:nth-child(2) { animation-delay: .08s; } .held-inhalt > *:nth-child(3) { animation-delay: .16s; }
.held-inhalt > *:nth-child(4) { animation-delay: .24s; } .held-inhalt > *:nth-child(5) { animation-delay: .32s; }
.held-bild img { animation: bildruhe 2.4s var(--weich) both; }
@keyframes einschweben { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes bildruhe { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .held-inhalt > *, .held-bild img { animation: none; } }

/* Abstaende (statt Inline-Styles - die CSP erlaubt keine) */
.abstand-gross { margin-top: 56px; }
.abstand-text { margin-top: 22px; }
.abstand-knopf { margin-top: 30px; }
.geteilt.frei { background: transparent; gap: clamp(32px, 5vw, 72px); }
.geteilt.frei .geteilt-text { padding: 0; }
.geteilt.frei .geteilt-bild { border-radius: var(--radius); min-height: 620px; box-shadow: var(--schatten); }

.fuss-schmal { padding-top: 0; }
.fuss-schmal .fuss-unten { border-top: 0; }

.abschnitt.tief .vorteil .symbol { background: var(--weiss); }

/* 404 */
.leer { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }

/* ========================================================================
   Tablet und Handy - bewusst am Dateiende, damit nichts darueber gewinnt.
   ======================================================================== */
@media (max-width: 1180px) {
  .navi { display: none; }
  .kopf-knopf { margin-left: auto; }
  .menue-schalter {
    display: grid; place-items: center; width: 48px; height: 48px; margin-right: -10px;
    border: 0; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent;
  }
  .menue-schalter span, .menue-schalter span::before, .menue-schalter span::after {
    content: ""; display: block; width: 24px; height: 1.5px; background: var(--tinte); border-radius: 2px;
    transition: transform .3s var(--weich), background .2s;
  }
  .menue-schalter span { position: relative; }
  .menue-schalter span::before { position: absolute; top: -7px; }
  .menue-schalter span::after { position: absolute; top: 7px; }
  .menue-schalter[aria-expanded="true"] span { background: transparent; }
  .menue-schalter[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
  .menue-schalter[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
  .menue {
    display: block; position: fixed; inset: 76px 0 0 0; background: var(--creme); overflow-y: auto;
    padding: 18px var(--rand) calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linie);
  }
  .menue nav { display: flex; flex-direction: column; }
  .menue nav a { padding: 18px 2px; border-bottom: 1px solid var(--linie); text-decoration: none; font-family: var(--serif); font-size: 28px; color: var(--tinte); }
  .menue nav a[aria-current="page"] { color: var(--gold); }
  .menue-knoepfe { display: grid; gap: 12px; margin-top: 30px; }
  .menue-claim { text-align: center; margin-top: 26px; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--leise); }
  body.menue-offen { overflow: hidden; }
  body.menue-offen .kopf { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--creme); }
  .kopf-bahn { min-height: 76px; }
  .ablauf { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
  .ablauf::before { display: none; }
  .fuss-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fuss-marke { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  body { font-size: 16.5px; }
  .held { display: flex; flex-direction: column; }
  .held-bild { position: relative; inset: auto; order: -1; aspect-ratio: 4 / 3.4; }
  .held-bild::before { background: linear-gradient(180deg, rgba(251, 246, 239, 0) 55%, rgba(251, 246, 239, .7) 85%, var(--creme) 100%); }
  .held-bild img { object-position: 60% 60%; }
  .held-inhalt { min-height: 0; padding-block: 0 64px; margin-top: -36px; }
  .held h1 { margin-bottom: 22px; }
  .held .einleitung { margin-bottom: 30px; }
  .held .knopfreihe { flex-direction: column; align-items: stretch; }
  .siegel { width: 98px; height: 98px; top: 18px; right: 18px; font-size: 9.5px; padding: 8px; letter-spacing: .12em; }
  .seitenkopf-raster { grid-template-columns: minmax(0, 1fr); padding-block: 40px 64px; }
  .seitenkopf-bild { aspect-ratio: 4 / 3.2; order: -1; }
  .vorteile { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .vorteil:nth-child(3) { border-left: 0; }
  .karten { grid-template-columns: minmax(0, 1fr); }
  .karte-bild { aspect-ratio: 16 / 10; }
  .geteilt, .geteilt.umgekehrt { grid-template-columns: minmax(0, 1fr); }
  .geteilt.umgekehrt .geteilt-bild { order: 0; }
  .geteilt-bild { min-height: 0; aspect-ratio: 4 / 3.2; }
  .geteilt-text { padding: 52px var(--rand) 64px; }
  .geteilt.frei .geteilt-bild { min-height: 0; order: -1; }
  .geteilt.frei .geteilt-text { padding: 0; }
  .band { grid-template-columns: minmax(0, 1fr); }
  .band-bild { order: -1; }
  .kacheln { grid-template-columns: minmax(0, 1fr); }
  .ablauf, .ablauf.vier { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .schritt { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 4px 20px; text-align: left; padding: 0 0 34px; }
  .schritt::before { content: ""; position: absolute; left: 22.5px; top: 46px; bottom: 0; width: 1px; background: var(--gold-hell); opacity: .7; }
  .schritt:last-child::before { display: none; }
  .schritt .nummer { grid-row: span 2; margin: 0; box-shadow: none; }
  .schritt h3 { margin: 10px 0 6px; }
  .abschluss-bild { position: relative; inset: auto; aspect-ratio: 4 / 3; }
  .abschluss-bild::after { background: linear-gradient(180deg, rgba(251, 246, 239, 0) 60%, var(--creme) 100%); }
  .abschluss { display: flex; flex-direction: column; }
  .abschluss-inhalt { padding-block: 8px 72px; }
  .abschluss .knopfreihe { flex-direction: column; align-items: stretch; }
  .strecke { grid-template-columns: minmax(0, 1fr); padding-top: 28px; }
  .strecke-seite-leiste { position: static; }
  .leiste-bild { display: none; }
  .fortschritt { position: sticky; top: 76px; z-index: 6; margin: 0 calc(-1 * var(--rand)) 20px; padding: 12px var(--rand) 14px; background: rgba(251, 246, 239, .96); }
  .fortschritt-text { margin-bottom: 10px; font-size: 12px; }
  .fortschritt-balken { display: none; }
  .fortschritt-punkte { display: grid; gap: 4px; margin-top: 0; }
  .fortschritt-punkte li { height: 4px; border-radius: 2px; background: var(--sand); font-size: 0; transition: background .4s var(--weich); }
  .fortschritt-punkte li.erreicht, .fortschritt-punkte li.jetzt { background: var(--gold); }
  .fuss-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  :root { --rand: 20px; }
  h1 { font-size: clamp(40px, 11.6vw, 52px); }
  .logo-wort { font-size: 19px; }
  .zeichen { width: 38px; height: 38px; }
  .logo { gap: 9px; }
  .kopf-knopf { display: none; }
  .menue-schalter { margin-left: auto; }
  .knopf { width: 100%; }
  .knopfreihe { flex-direction: column; align-items: stretch; }
  .vorteile { grid-template-columns: minmax(0, 1fr); }
  .vorteil { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 18px; text-align: left; padding: 22px 0; border-left: 0; border-top: 1px solid var(--linie); }
  .vorteil:first-child { border-top: 0; padding-top: 0; }
  .vorteil .symbol { grid-row: span 2; width: 52px; height: 52px; margin: 0; }
  .vorteil .symbol svg { width: 24px; height: 24px; }
  .vorteil h3 { font-size: 21px; margin: 2px 0 4px; }
  .vorteil p { margin: 0; max-width: none; }
  .knopfreihe .textlink { align-self: center; margin-top: 6px; }
  .fuss-spalte { gap: 2px; }
  .fuss-spalte a { padding-block: 8px; }
  .blatt { padding: 24px 18px 26px; margin-inline: -4px; }
  .feld-raster, .feld-raster.drei { grid-template-columns: minmax(0, 1fr); }
  .kacheln-wahl, .kacheln-wahl.zwei { grid-template-columns: minmax(0, 1fr); }
  .kacheln-wahl.kompakt { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strecke-fuss { position: sticky; bottom: 0; z-index: 5; flex-direction: row; align-items: center; margin: 30px -18px -26px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 253, 249, .96); border-top: 1px solid var(--linie); border-radius: 0 0 6px 6px; box-shadow: 0 -10px 24px -18px rgba(33, 25, 19, .35); }
  .strecke-fuss .knopf { flex: 1; width: auto; }
  .strecke-fuss .zurueck { flex: 0 0 auto; padding-inline: 4px 8px; }
  .feld-raster.paar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mappe-zeile { grid-template-columns: minmax(0, 1fr); }
  .mappe-zeile label.knopf { width: 100%; }
  .status-leiste { grid-template-columns: minmax(0, 1fr); gap: 14px; text-align: left; max-width: 300px; }
  .status-leiste::before { display: none; }
  .status-leiste li { display: flex; align-items: center; gap: 14px; }
  .status-leiste li::before { margin: 0; flex-shrink: 0; }
  .fuss-raster { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .fuss-unten { flex-direction: column; }
  .handschrift { font-size: 28px; }
}
