:root {
  --papier: #f8f5ef;
  --hell: #f1ece2;
  --flaeche: #fffdf9;
  --linie: #e4ddd0;
  --tinte: #1d1b19;
  --tinte-2: #6b645b;
  --bordeaux: #6b1e2c;
  --gold: #9a7b4f;
  --gruen: #1f3a2f;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Jost", "Avenir Next", "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(.22, .9, .24, 1);
  --radius: 22px;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { background: var(--papier); color: var(--tinte); font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; }
em { font-style: italic; color: var(--bordeaux); }
.rahmen { width: min(1120px, 100% - 32px); margin-inline: auto; }
.ueber { font-size: 12px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }

/* Pillen-Header */
.pille-wrap { position: fixed; top: 14px; left: 0; right: 0; z-index: 20; display: flex; justify-content: center; padding-inline: 12px; pointer-events: none; }
.pille { pointer-events: auto; display: flex; align-items: center; gap: 18px; max-width: 100%; padding: 8px 10px 8px 8px; background: rgba(255, 253, 249, .82); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border: 1px solid var(--linie); border-radius: 999px; box-shadow: 0 10px 40px -18px rgba(29, 27, 25, .35); }
.marke { display: flex; align-items: center; gap: 10px; flex: none; }
.marke-m { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--tinte); color: #f4ecdd; font-family: var(--serif); font-size: 20px; font-style: italic; }
.marke-t { font-family: var(--serif); font-size: 21px; font-weight: 500; letter-spacing: .01em; white-space: nowrap; }
.menue { display: flex; gap: 2px; list-style: none; padding: 0; overflow-x: auto; scrollbar-width: none; }
.menue::-webkit-scrollbar { display: none; }
.menue a { display: block; padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 400; color: var(--tinte-2); white-space: nowrap; transition: background .25s var(--ease), color .25s var(--ease); }
.menue a:hover { background: var(--hell); color: var(--tinte); }
.menue a.aktiv { background: var(--tinte); color: #f8f5ef; }
.stand { flex: none; margin-right: 8px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }

/* Hero */
.hero { padding: 150px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
h1 { font-size: clamp(46px, 7vw, 86px); letter-spacing: -.01em; margin: 18px 0 24px; }
.lead { font-size: 20px; line-height: 1.6; color: var(--tinte-2); max-width: 46ch; }
.hero-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.knopf { display: inline-block; padding: 13px 24px; border: 1px solid var(--tinte); border-radius: 999px; font-size: 15px; font-weight: 400; transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease); }
.knopf:hover { transform: translateY(-2px); background: var(--hell); }
.knopf-voll { background: var(--tinte); color: #f8f5ef; }
.knopf-voll:hover { background: var(--bordeaux); border-color: var(--bordeaux); }
.hero-bild img { width: 100%; border-radius: var(--radius); box-shadow: 0 40px 80px -40px rgba(29, 27, 25, .5); cursor: zoom-in; }
figcaption { margin-top: 12px; font-size: 13px; letter-spacing: .06em; color: var(--tinte-2); }

/* Kapitel */
.kapitel { padding: 110px 0; }
.kapitel.hell { background: var(--hell); }
.kopf { display: flex; align-items: flex-end; gap: 22px; margin-bottom: 34px; }
.nr { font-family: var(--serif); font-size: 64px; line-height: .8; color: var(--gold); opacity: .55; }
h2 { font-size: clamp(34px, 5vw, 56px); margin-top: 8px; }
.einleitung { max-width: 62ch; font-size: 19px; color: var(--tinte-2); margin-bottom: 44px; }
.hinweis { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--linie); font-size: 14px; color: var(--tinte-2); max-width: 72ch; }

/* Vision */
.drei { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.karte-s { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: 30px 28px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.karte-s:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(29, 27, 25, .4); }
.icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--hell); font-size: 21px; margin-bottom: 18px; }
.karte-s h3 { font-size: 28px; margin-bottom: 10px; }
.karte-s p { font-size: 16px; color: var(--tinte-2); }
.zitat { margin-top: 56px; padding-left: 28px; border-left: 2px solid var(--gold); max-width: 24em; }
.zitat p { font-family: var(--serif); font-style: italic; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.2; }
.zitat cite { display: block; margin-top: 14px; font-style: normal; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }

/* Haus */
.haus-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; align-items: stretch; }
.haus-foto img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); cursor: zoom-in; }
.etagen { list-style: none; padding: 0; display: grid; grid-template-rows: repeat(4, 1fr); gap: 10px; }
.etage { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px; padding: 22px 26px; border-radius: 18px; border: 1px solid var(--linie); background: var(--flaeche); }
.e-name { font-family: var(--serif); font-size: 28px; line-height: 1.1; }
.e-text { grid-column: 1; font-size: 15px; color: var(--tinte-2); }
.e-tag { grid-column: 2; grid-row: 1 / span 2; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; border: 1px solid currentColor; color: var(--gold); }
.e-cafe { background: var(--gruen); border-color: var(--gruen); color: #f4ecdd; }
.e-cafe .e-text { color: rgba(244, 236, 221, .72); }
.e-cafe .e-tag { color: #d8bd8a; }
.e-dach { margin-inline: 34px; }

/* Café */
.tag { display: grid; grid-template-columns: 170px 1fr; gap: 0; border-top: 1px solid var(--linie); margin-bottom: 44px; }
.tag > * { padding: 18px 0; border-bottom: 1px solid var(--linie); }
.tag-zeit b { display: block; font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.1; }
.tag-zeit span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.tag p { align-self: center; font-size: 18px; color: var(--tinte-2); }
.farben { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.farben span { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border: 1px solid var(--linie); border-radius: 999px; font-size: 14px; background: var(--flaeche); }
.farben i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); border: 1px solid rgba(0, 0, 0, .12); }
.galerie { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.galerie img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); cursor: zoom-in; }

/* Speisekarte */
.reiter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.reiter button { font: inherit; font-size: 14px; font-weight: 400; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--linie); background: var(--flaeche); color: var(--tinte-2); cursor: pointer; transition: all .25s var(--ease); }
.reiter button:hover { border-color: var(--tinte); color: var(--tinte); }
.reiter button.aktiv { background: var(--tinte); border-color: var(--tinte); color: #f8f5ef; }
.gerichte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gericht { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.gericht:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(29, 27, 25, .45); }
.gericht img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; cursor: zoom-in; }
.gericht > div { padding: 20px 22px 24px; }
.kat { font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.gericht h3 { font-size: 27px; margin: 6px 0 8px; }
.gericht p { font-size: 15px; line-height: 1.55; color: var(--tinte-2); }
.gericht[hidden] { display: none; }

/* Finanzierung */
.fluss { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; margin-bottom: 30px; }
.fluss-quelle { display: grid; gap: 12px; }
.fluss-pfeil { font-family: var(--serif); font-size: 44px; color: var(--gold); }
.box { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 18px; padding: 20px 24px; }
.box small, .zahl small { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.box b { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.2; }
.box.gross { background: var(--tinte); border-color: var(--tinte); color: #f4ecdd; padding: 36px 28px; }
.box.gross b { font-size: 30px; }
.zahlen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.zahl { background: var(--flaeche); border: 1px dashed #cfc5b3; border-radius: 16px; padding: 18px 20px; }
.zahl b { font-family: var(--serif); font-weight: 500; font-size: 22px; }
.zahl .offen { color: #a89c88; font-style: italic; font-weight: 400; }

.unter { font-size: 30px; margin: 52px 0 16px; }
.klein-abstand { margin-bottom: 26px; }
.klein { font-size: 13px; color: var(--tinte-2); font-style: normal; display: block; margin-top: 2px; }
.zahlen-4 { grid-template-columns: repeat(4, 1fr); }
.zahl { border-style: solid; border-color: var(--linie); }
.zahl.hervor { background: var(--tinte); border-color: var(--tinte); color: #f4ecdd; }
.zahl.hervor .klein { color: rgba(244, 236, 221, .7); }
.zahl.hervor small { color: #d8bd8a; }
.rechner { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: 28px 30px 30px; }
.regler { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-bottom: 28px; }
.regler label { display: grid; gap: 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.regler output { font-family: var(--serif); font-size: 30px; letter-spacing: 0; text-transform: none; color: var(--tinte); line-height: 1; }
input[type=range] { width: 100%; accent-color: var(--bordeaux); }
.ergebnis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ergebnis > div { background: var(--hell); border-radius: 16px; padding: 18px 20px; }
.ergebnis small { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.ergebnis b { font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1.1; }
.ergebnis .fehl { background: var(--bordeaux); color: #f8ece8; }
.ergebnis .fehl small { color: #e7c9a0; }
.ergebnis .fehl .klein { color: rgba(248, 236, 232, .75); }
.balken { display: flex; height: 12px; border-radius: 999px; overflow: hidden; margin-top: 22px; background: var(--hell); }
.balken i { display: block; height: 100%; transition: width .5s var(--ease); }
#b-miete { background: var(--gruen); }
#b-cafe { background: var(--bordeaux); }
.faelle { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fall { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 18px; padding: 22px 24px; }
.fall small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.fall > b { display: block; font-family: var(--serif); font-weight: 500; font-size: 34px; margin: 2px 0 12px; }
.fall dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 15px; }
.fall dt { color: var(--tinte-2); }
.fall dd { margin: 0; text-align: right; }
.fall dd.rot { color: var(--bordeaux); font-weight: 500; }

/* Weg */
.schritte { list-style: none; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 18px; margin-bottom: 44px; }
.schritte li { counter-increment: s; position: relative; display: grid; gap: 2px; padding: 20px 22px 20px 74px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 18px; }
.schritte li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 22px; top: 50%; transform: translateY(-50%); font-family: var(--serif); font-size: 34px; color: var(--gold); }
.schritte b { font-family: var(--serif); font-weight: 500; font-size: 23px; line-height: 1.15; }
.schritte span { font-size: 15px; color: var(--tinte-2); }
.offen-box { background: var(--gruen); color: #f4ecdd; border-radius: var(--radius); padding: 32px 36px; }
.offen-box h3 { font-size: 30px; margin-bottom: 12px; }
.offen-box ul { padding-left: 20px; display: grid; gap: 6px; color: rgba(244, 236, 221, .85); }

/* Fuß */
.fuss { padding: 36px 0 48px; border-top: 1px solid var(--linie); font-size: 14px; color: var(--tinte-2); }
.fuss .rahmen { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; justify-content: space-between; }
.fuss .marke-t { color: var(--tinte); }

/* Bildansicht */
dialog { position: fixed; inset: 0; margin: auto; border: 0; padding: 0; background: transparent; width: fit-content; height: fit-content; max-width: 94vw; max-height: 92vh; overflow: visible; }
dialog[open] { animation: bild-ein .35s var(--ease); }
@keyframes bild-ein { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
dialog::backdrop { background: rgba(20, 18, 16, .82); backdrop-filter: blur(4px); }
dialog img { display: block; max-width: 94vw; max-height: 90vh; width: auto; height: auto; border-radius: 14px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); }
dialog .zu { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fffdf9; font-size: 24px; line-height: 1; cursor: pointer; }

/* Einblenden */
.einblenden { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.einblenden.da { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .einblenden { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

/* Handy & Tablet */
@media (max-width: 960px) {
  .zahlen-4 { grid-template-columns: 1fr 1fr; }
  .regler, .ergebnis, .faelle { grid-template-columns: 1fr; }
  .hero-grid, .haus-grid { grid-template-columns: 1fr; }
  .drei, .zahlen { grid-template-columns: 1fr 1fr; }
  .gerichte { grid-template-columns: 1fr 1fr; }
  .stand { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .pille { gap: 8px; }
  .marke-t { display: none; }
  .hero { padding: 120px 0 60px; }
  .kapitel { padding: 76px 0; }
  .kopf { gap: 14px; }
  .nr { font-size: 46px; }
  .drei, .zahlen, .zahlen-4, .gerichte, .galerie, .schritte { grid-template-columns: 1fr; }
  .tag { grid-template-columns: 1fr; }
  .tag > :nth-child(odd) { padding-bottom: 0; border-bottom: 0; }
  .tag p { padding-top: 4px; }
  .fluss { grid-template-columns: 1fr; }
  .fluss-pfeil { transform: rotate(90deg); justify-self: center; }
  .e-dach { margin-inline: 14px; }
  .offen-box { padding: 26px 22px; }
}

.fall dd.gruen { color: var(--gruen); font-weight: 500; }
.ergebnis .fehl.plus { background: var(--gruen); }
.hinweis.kurz { margin-top: 14px; border-top: 0; padding-top: 0; }

/* Zeitstrahl */
.weg-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.weg-info b { display: block; font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.1; }
.weg-info span { font-size: 14px; color: var(--tinte-2); }
.klein-knopf { font: inherit; font-size: 14px; background: var(--flaeche); cursor: pointer; padding: 9px 18px; }
.weg-bar { height: 8px; border-radius: 999px; background: var(--linie); overflow: hidden; }
.weg-bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--gruen), var(--bordeaux)); transition: width .6s var(--ease); }
.phasen { display: grid; grid-template-columns: 4fr 3fr 1fr; margin: 10px 0 36px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.zeitstrahl { --fortschritt: 0%; position: relative; list-style: none; padding: 0; display: grid; gap: 14px; margin-bottom: 44px; }
.zeitstrahl::before, .zeitstrahl::after { content: ""; position: absolute; left: 29px; top: 30px; width: 2px; border-radius: 2px; }
.zeitstrahl::before { bottom: 30px; background: var(--linie); }
.zeitstrahl::after { height: var(--fortschritt); max-height: calc(100% - 60px); background: linear-gradient(var(--gruen), var(--bordeaux)); transition: height .15s linear; }
.schritt { position: relative; display: grid; grid-template-columns: 60px 1fr; gap: 14px; align-items: start; }
.s-punkt { position: relative; z-index: 1; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--flaeche); border: 2px solid var(--linie); font-family: var(--serif); font-size: 24px; color: var(--tinte-2); transition: all .4s var(--ease); }
.schritt.im-blick .s-punkt { border-color: var(--gold); color: var(--tinte); transform: scale(1.06); box-shadow: 0 10px 26px -12px rgba(154, 123, 79, .7); }
.schritt.fertig .s-punkt { background: var(--gruen); border-color: var(--gruen); color: transparent; }
.schritt.fertig .s-punkt::after { content: "✓"; position: absolute; color: #f4ecdd; font-family: var(--sans); font-size: 24px; }
.s-karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 20px; transition: border-color .3s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease); }
.schritt.im-blick .s-karte, .s-karte:hover { border-color: #cdbd9f; box-shadow: 0 22px 44px -30px rgba(29, 27, 25, .45); }
.schritt.fertig .s-karte { background: #f3f6f2; border-color: #c7d4c9; }
.schritt.fertig .s-titel b { text-decoration: line-through; text-decoration-color: rgba(31, 58, 47, .4); color: var(--tinte-2); }
.s-kopf { all: unset; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 18px 22px; cursor: pointer; border-radius: 20px; }
.s-kopf:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 2px; }
.s-titel { display: grid; gap: 1px; }
.s-phase { font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; }
.p-klaeren .s-phase { color: var(--gold); }
.p-bauen .s-phase { color: var(--bordeaux); }
.p-starten .s-phase { color: var(--gruen); }
.s-titel b { font-family: var(--serif); font-weight: 500; font-size: 27px; line-height: 1.15; }
.s-titel em { font-style: normal; font-size: 15px; color: var(--tinte-2); }
.s-pfeil { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--hell); position: relative; transition: transform .4s var(--ease), background .3s; }
.s-pfeil::before { content: ""; position: absolute; left: 13px; top: 12px; width: 8px; height: 8px; border-right: 2px solid var(--tinte); border-bottom: 2px solid var(--tinte); transform: rotate(45deg); }
.s-kopf[aria-expanded=true] .s-pfeil { transform: rotate(180deg); background: var(--tinte); }
.s-kopf[aria-expanded=true] .s-pfeil::before { border-color: #f8f5ef; }
.s-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.s-body.offen { grid-template-rows: 1fr; }
.s-innen { overflow: hidden; display: grid; grid-template-columns: 1.2fr 1fr; gap: 0 36px; padding: 0 22px; }
.s-body.offen .s-innen { padding-bottom: 22px; }
.s-todo { list-style: none; padding: 0; display: grid; gap: 8px; align-content: start; font-size: 16px; }
.s-todo li { position: relative; padding-left: 22px; }
.s-todo li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.s-meta { display: grid; gap: 2px; align-content: start; background: var(--hell); border-radius: 14px; padding: 16px 18px; }
.s-meta dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-top: 8px; }
.s-meta dt:first-child { margin-top: 0; }
.s-meta dd { margin: 0; font-size: 15px; }
.s-haken { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--linie); font-size: 15px; cursor: pointer; width: fit-content; min-width: 100%; }
.s-haken input { width: 20px; height: 20px; accent-color: var(--gruen); cursor: pointer; }
@media (max-width: 760px) {
  .zeitstrahl::before, .zeitstrahl::after { left: 21px; }
  .schritt { grid-template-columns: 44px 1fr; gap: 10px; }
  .s-punkt { width: 44px; height: 44px; font-size: 18px; }
  .zeitstrahl::before, .zeitstrahl::after { top: 22px; }
  .s-titel b { font-size: 23px; }
  .s-innen { grid-template-columns: 1fr; gap: 16px; }
  .phasen { font-size: 10px; letter-spacing: .12em; }
}

/* Tilgung */
#tilgung { margin-top: 0; }
.regler-eins { grid-template-columns: 1fr; }
.ergebnis .plus { background: var(--gruen); color: #f4ecdd; }
.ergebnis .plus small { color: #d8bd8a; }
.ergebnis .plus .klein { color: rgba(244, 236, 221, .75); }
.verlauf { margin: 26px 0 0; }
.verlauf svg { width: 100%; height: auto; display: block; overflow: visible; }
.verlauf text { font-family: var(--sans); font-size: 11px; fill: var(--tinte-2); }
.verlauf .achse { stroke: var(--linie); stroke-width: 1; }
.verlauf .l-ohne, .verlauf .l-mit { display: inline-block; width: 22px; height: 3px; border-radius: 2px; margin-right: 8px; vertical-align: middle; }
.l-ohne { background: #b7ad9c; }
.l-mit { background: var(--bordeaux); }
.legende { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; margin-top: 8px; font-size: 13px; color: var(--tinte-2); }
.legende .klein { margin: 0 0 0 auto; }
#t-chart .linie-ohne { fill: none; stroke: #b7ad9c; stroke-width: 2.5; stroke-linejoin: round; }
#t-chart .linie-mit { fill: none; stroke: var(--bordeaux); stroke-width: 3; stroke-linejoin: round; }
#t-chart .flaeche-mit { fill: rgba(107, 30, 44, .08); }

/* Familie */
.kapitel.wir { background: linear-gradient(180deg, var(--papier), var(--hell) 40%, var(--papier)); }
.fam-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fam-karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.fam-karte:hover { transform: translateY(-5px); box-shadow: 0 30px 56px -32px rgba(29, 27, 25, .5); }
.fam-karte img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; cursor: zoom-in; transition: transform .8s var(--ease); }
.fam-karte:hover img { transform: scale(1.03); }
.fam-karte { overflow: hidden; }
.fam-text { padding: 20px 22px 26px; display: grid; gap: 6px; align-content: start; flex: 1; }
.alter { font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.fam-text h3 { font-size: 30px; }
.rolle { font-size: 14px; font-weight: 400; color: var(--bordeaux); line-height: 1.4; }
.fam-text p:last-child { font-size: 15px; line-height: 1.55; color: var(--tinte-2); margin-top: 6px; }
.paar { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; margin-top: 64px; }
.paar img { width: 100%; max-height: 640px; object-fit: cover; object-position: 50% 25%; border-radius: var(--radius); cursor: zoom-in; box-shadow: 0 40px 70px -40px rgba(29, 27, 25, .5); }
.paar blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.25; margin: 14px 0 28px; padding-left: 24px; border-left: 2px solid var(--gold); }
.werte { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--linie); }
.werte li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--linie); }
.werte b { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.1; }
.werte span { font-size: 16px; color: var(--tinte-2); }
@media (max-width: 960px) {
  .fam-grid { grid-template-columns: 1fr 1fr; }
  .paar { grid-template-columns: 1fr; gap: 28px; }
  .paar img { max-height: 520px; }
}
@media (max-width: 640px) {
  .fam-grid { grid-template-columns: 1fr; }
  .werte li { grid-template-columns: 1fr; gap: 2px; }
}

/* Zentriert und auf voller Breite */
.hero-grid { grid-template-columns: 1fr; gap: 44px; text-align: center; justify-items: center; }
.hero-text { max-width: 900px; }
.lead { max-width: none; margin-inline: auto; }
.hero-knoepfe { justify-content: center; }
.hero-bild { width: 100%; max-width: 980px; }
.hero-bild figcaption { text-align: center; }
.kopf { flex-direction: column; align-items: center; text-align: center; gap: 6px; margin-bottom: 30px; }
.nr { font-size: 56px; line-height: 1; }
.einleitung { max-width: none; width: 100%; text-align: center; margin-inline: auto; font-size: 20px; }
.hinweis { max-width: none; text-align: center; }
.hinweis.kurz { text-align: center; }
.karte-s, .gericht > div, .fam-text, .zahl, .box, .fall, .rechner .ergebnis > div, .offen-box h3 { text-align: center; }
.icon { margin-inline: auto; }
.fam-text { justify-items: center; }
.zitat { margin-inline: auto; max-width: 900px; border-left: 0; padding: 26px 0 0; text-align: center; position: relative; }
.zitat::before { content: ""; display: block; width: 56px; height: 2px; background: var(--gold); margin: 0 auto 22px; }
.paar-text { text-align: center; }
.paar blockquote { border-left: 0; padding-left: 0; }
.werte li { text-align: center; grid-template-columns: 1fr; gap: 4px; }
.tag-zeit { text-align: left; }
.fall dl { text-align: left; }
.regler label { text-align: center; }
.weg-kopf { justify-content: center; text-align: center; flex-direction: column; }
.offen-box { text-align: center; }
.offen-box ul { justify-items: center; list-style-position: inside; padding-left: 0; }
.fuss .rahmen { justify-content: center; text-align: center; }
.kat { display: block; }
.s-karte, .s-meta { text-align: left; }
.wuensche { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 44px; }
.wunsch { background: var(--gruen); color: #f4ecdd; border-radius: var(--radius); padding: 34px 32px; text-align: center; }
.wunsch .icon { background: rgba(244, 236, 221, .14); color: #f4ecdd; font-family: var(--serif); font-size: 24px; }
.wunsch h3 { font-size: 32px; margin-bottom: 10px; }
.wunsch p { font-size: 17px; line-height: 1.6; color: rgba(244, 236, 221, .88); }
@media (max-width: 760px) { .wuensche { grid-template-columns: 1fr; } }

.unter { text-align: center; }
.klein-abstand { text-align: center; }

/* Digital / Automatisierung */
.kapitel.dunkel { background: #17150f; color: #f1ece2; background-image: radial-gradient(900px 400px at 80% -5%, rgba(154, 123, 79, .22), transparent 70%), radial-gradient(700px 400px at 0% 100%, rgba(107, 30, 44, .22), transparent 70%); }
.dunkel .ueber { color: #d8bd8a; }
.dunkel h2, .dunkel h3, .dunkel h4 { color: #f8f5ef; }
.dunkel em { color: #e3b9a8; }
.dunkel .nr { color: #d8bd8a; opacity: .6; }
.dunkel .einleitung { color: rgba(241, 236, 226, .78); }
.dunkel .unter { color: #f8f5ef; }
.dunkel .hinweis { border-color: rgba(241, 236, 226, .16); color: rgba(241, 236, 226, .65); }
.mehr { display: inline-block; margin-top: 6px; color: var(--bordeaux); font-weight: 400; border-bottom: 1px solid currentColor; }
.beweis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.beweis > div { border: 1px solid rgba(241, 236, 226, .14); background: rgba(255, 255, 255, .04); border-radius: 20px; padding: 26px 20px; text-align: center; }
.beweis b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5vw, 58px); line-height: 1; color: #f8f5ef; margin-bottom: 8px; background: linear-gradient(120deg, #f4ecdd, #d8bd8a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.beweis span { font-size: 14px; line-height: 1.5; color: rgba(241, 236, 226, .72); }
.quelle { text-align: center; font-size: 13px; color: rgba(241, 236, 226, .55); margin-top: 14px; }
.demo { display: grid; grid-template-columns: 360px 1fr; gap: 44px; align-items: center; }
.handy { background: #0f0e0a; border: 1px solid rgba(241, 236, 226, .16); border-radius: 34px; padding: 18px 16px 14px; box-shadow: 0 40px 80px -40px #000; }
.handy-kopf { display: flex; align-items: center; gap: 12px; padding: 4px 6px 14px; border-bottom: 1px solid rgba(241, 236, 226, .1); }
.handy-kopf b { display: block; font-weight: 500; font-size: 16px; color: #f8f5ef; }
.handy-kopf small { color: #7fd1a0; font-size: 12px; }
.avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #f1ece2; color: #17150f; font-family: var(--serif); font-style: italic; font-size: 22px; }
.chat { display: grid; gap: 9px; padding: 16px 4px 8px; min-height: 380px; align-content: start; }
.blase { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; opacity: 0; transform: translateY(10px) scale(.97); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.blase.da { opacity: 1; transform: none; }
.blase.gast { justify-self: end; background: #dcf8c6; color: #1d1b19; border-bottom-right-radius: 4px; }
.blase.bot { justify-self: start; background: #2a2823; color: #f1ece2; border-bottom-left-radius: 4px; }
.blase.spaeter { border: 1px dashed rgba(216, 189, 138, .5); background: transparent; color: #d8bd8a; font-size: 13px; }
.demo-hinweis { text-align: center; font-size: 12px; color: rgba(241, 236, 226, .45); padding-top: 8px; }
.ablauf { list-style: none; padding: 0; counter-reset: a; display: grid; gap: 12px; }
.ablauf li { counter-increment: a; position: relative; padding: 16px 20px 16px 70px; border: 1px solid rgba(241, 236, 226, .12); border-radius: 18px; background: rgba(255, 255, 255, .03); display: grid; gap: 1px; }
.ablauf li::before { content: counter(a); position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #d8bd8a; color: #17150f; font-family: var(--serif); font-size: 20px; }
.ablauf li span { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: #d8bd8a; }
.ablauf li b { font-family: var(--serif); font-weight: 500; font-size: 23px; line-height: 1.2; color: #f8f5ef; }
.ablauf li em { font-style: normal; font-size: 14.5px; color: rgba(241, 236, 226, .66); }
.reiter-hell { justify-content: center; }
.reiter-hell button { background: transparent; color: rgba(241, 236, 226, .75); border-color: rgba(241, 236, 226, .2); }
.reiter-hell button:hover { border-color: #f8f5ef; color: #f8f5ef; }
.reiter-hell button.aktiv { background: #f1ece2; color: #17150f; border-color: #f1ece2; }
.autos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.auto { border: 1px solid rgba(241, 236, 226, .13); background: rgba(255, 255, 255, .04); border-radius: 20px; padding: 22px 24px 26px; transition: transform .4s var(--ease), border-color .3s, background .3s; }
.auto:hover { transform: translateY(-4px); border-color: rgba(216, 189, 138, .6); background: rgba(255, 255, 255, .07); }
.auto[hidden] { display: none; }
.stat { display: inline-block; font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(241, 236, 226, .3); color: rgba(241, 236, 226, .75); margin-bottom: 12px; }
.stat.laeuft { background: rgba(127, 209, 160, .14); border-color: rgba(127, 209, 160, .5); color: #7fd1a0; }
.auto h4 { font-family: var(--serif); font-weight: 500; font-size: 25px; line-height: 1.15; margin-bottom: 8px; }
.auto p { font-size: 15px; line-height: 1.55; color: rgba(241, 236, 226, .7); }
.zeit { border: 1px solid rgba(241, 236, 226, .14); background: rgba(255, 255, 255, .04); border-radius: var(--radius); padding: 28px 30px 30px; }
.dunkel .regler label { color: #d8bd8a; }
.dunkel .regler output { color: #f8f5ef; }
.dunkel input[type=range] { accent-color: #d8bd8a; }
.dunkel .ergebnis > div { background: rgba(255, 255, 255, .06); }
.dunkel .ergebnis b { color: #f8f5ef; }
.dunkel .ergebnis small { color: #d8bd8a; }
.dunkel .ergebnis .klein { color: rgba(241, 236, 226, .6); }
.dunkel .ergebnis .plus { background: #d8bd8a; }
.dunkel .ergebnis .plus b, .dunkel .ergebnis .plus small, .dunkel .ergebnis .plus .klein { color: #17150f; }
.zeit-regler { margin-bottom: 24px; }
@media (max-width: 960px) {
  .beweis { grid-template-columns: 1fr 1fr; }
  .demo { grid-template-columns: 1fr; justify-items: center; }
  .handy { width: min(360px, 100%); }
  .ablauf { width: 100%; }
  .autos { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) { .beweis, .autos { grid-template-columns: 1fr; } .ablauf li { padding-left: 64px; } }

/* Digital, kurze Fassung */
.demo-kurz { margin-top: 56px; align-items: start; }
.listen { display: grid; gap: 18px; }
.liste { border: 1px solid rgba(241, 236, 226, .13); background: rgba(255, 255, 255, .04); border-radius: 20px; padding: 22px 26px 12px; }
.liste h3 { display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: rgba(241, 236, 226, .85); margin-bottom: 8px; }
.punkt { width: 9px; height: 9px; border-radius: 50%; }
.punkt.gruen { background: #7fd1a0; box-shadow: 0 0 0 4px rgba(127, 209, 160, .18); }
.punkt.gold { background: #d8bd8a; box-shadow: 0 0 0 4px rgba(216, 189, 138, .18); }
.liste ul { list-style: none; padding: 0; }
.liste li { display: grid; gap: 1px; padding: 13px 0; border-top: 1px solid rgba(241, 236, 226, .09); text-align: left; }
.liste li b { font-family: var(--serif); font-weight: 500; font-size: 23px; color: #f8f5ef; }
.liste li span { font-size: 14.5px; color: rgba(241, 236, 226, .65); }
.onyx { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 26px; margin-top: 56px; padding: 30px 34px; border-radius: 26px; color: #fff; overflow: hidden; background: linear-gradient(120deg, #3a0f8f 0%, #641ddf 55%, #8a4bff 100%); box-shadow: 0 40px 80px -40px rgba(100, 29, 223, .8); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.onyx::after { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 200px at 90% 0%, rgba(255, 255, 255, .22), transparent 70%); pointer-events: none; }
.onyx:hover { transform: translateY(-4px); box-shadow: 0 50px 90px -40px rgba(100, 29, 223, .95); }
.onyx-logo { position: relative; z-index: 1; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 20px; background: #0b0b0f; color: #fff; font-family: var(--serif); font-size: 40px; font-style: italic; border: 1px solid rgba(255, 255, 255, .25); }
.onyx-text { position: relative; z-index: 1; display: grid; gap: 2px; text-align: left; }
.onyx-text small { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.onyx-text b { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4vw, 42px); line-height: 1.05; color: #fff; }
.onyx-text em { font-style: normal; font-size: 16px; color: rgba(255, 255, 255, .85); max-width: 52ch; margin-top: 4px; }
.onyx-pfeil { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; background: #fff; color: #2a0a6b; font-weight: 500; font-size: 15px; white-space: nowrap; transition: gap .3s var(--ease); }
.onyx:hover .onyx-pfeil { gap: 14px; }
.fuss-link { color: var(--bordeaux); border-bottom: 1px solid currentColor; }
@media (max-width: 960px) { .onyx { grid-template-columns: 1fr; text-align: center; justify-items: center; } .onyx-text { text-align: center; } }

/* OnyxOne-Hinweis, dezent */
.onyx { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; max-width: 760px; margin: 64px auto 0; padding: 18px 24px 18px 20px; border-radius: 22px; color: #f1ece2; overflow: visible; background: rgba(255, 255, 255, .035); border: 1px solid rgba(241, 236, 226, .12); box-shadow: none; text-align: left; backdrop-filter: blur(6px); transition: border-color .5s var(--ease), background .5s var(--ease), transform .5s var(--ease); }
.onyx::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(120deg, rgba(139, 92, 255, 0), rgba(139, 92, 255, .9), rgba(216, 189, 138, .6), rgba(139, 92, 255, 0)); background-size: 220% 100%; background-position: 100% 0; opacity: 0; transition: opacity .5s var(--ease); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: onyx-glanz 4.5s linear infinite paused; }
.onyx::after { display: none; }
.onyx:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .06); border-color: transparent; box-shadow: 0 24px 60px -34px rgba(139, 92, 255, .7); }
.onyx:hover::before { opacity: 1; animation-play-state: running; }
@keyframes onyx-glanz { to { background-position: -120% 0; } }
.onyx-logo { width: 46px; height: 46px; border-radius: 14px; font-size: 26px; background: #0b0b0f; border: 1px solid rgba(255, 255, 255, .16); color: #fff; position: relative; box-shadow: inset 0 0 0 1px rgba(139, 92, 255, .25); }
.onyx-text small { font-size: 10.5px; letter-spacing: .26em; color: rgba(241, 236, 226, .5); }
.onyx-text b { font-size: 26px; font-weight: 500; line-height: 1.1; color: #f8f5ef; letter-spacing: .005em; }
.onyx-text em { font-size: 14px; color: rgba(241, 236, 226, .6); margin-top: 1px; max-width: none; }
.onyx-pfeil { padding: 0; background: none; color: rgba(241, 236, 226, .85); font-size: 14px; font-weight: 400; gap: 6px; }
.onyx-pfeil span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); padding-bottom: 2px; }
.onyx:hover .onyx-pfeil span { background-size: 100% 1px; }
.onyx-pfeil i { font-style: normal; display: inline-block; transition: transform .4s var(--ease); color: #a98bff; }
.onyx:hover .onyx-pfeil i { transform: translate(3px, -3px); }
.onyx:hover .onyx-pfeil { gap: 6px; }
@media (max-width: 640px) { .onyx { grid-template-columns: auto 1fr; } .onyx-pfeil { grid-column: 1 / -1; justify-content: flex-end; } }
@media (prefers-reduced-motion: reduce) { .onyx::before { animation: none; } }

/* Made-by-Pille, dezent */
.madeby-wrap { display: flex; justify-content: center; margin-top: 64px; }
.madeby { position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 7px 8px 7px 8px; border-radius: 999px; color: #f1ece2; background: linear-gradient(180deg, rgba(20, 18, 28, .9), rgba(11, 10, 15, .9)); border: 1px solid rgba(241, 236, 226, .09); box-shadow: inset 0 1px 0 rgba(150, 110, 255, .22), 0 14px 34px -22px rgba(100, 29, 223, .55); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease); overflow: hidden; }
.madeby::before { content: ""; position: absolute; left: 18%; right: 18%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(160, 120, 255, .85), transparent); opacity: .55; transition: opacity .5s var(--ease), left .6s var(--ease), right .6s var(--ease); }
.madeby::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(120px 40px at 18% 50%, rgba(110, 50, 230, .22), transparent 70%); pointer-events: none; }
.madeby:hover { transform: translateY(-2px); border-color: rgba(160, 120, 255, .28); box-shadow: inset 0 1px 0 rgba(170, 130, 255, .38), 0 20px 40px -20px rgba(110, 50, 230, .75); }
.madeby:hover::before { opacity: 1; left: 6%; right: 6%; }
.mb-logo { position: relative; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(120, 70, 240, .1); border: 1px solid rgba(160, 120, 255, .22); }
.mb-logo img { width: 24px; height: 24px; border-radius: 6px; display: block; }
.mb-text { position: relative; z-index: 1; display: grid; line-height: 1.15; text-align: left; padding-right: 8px; }
.mb-text small { font-size: 9px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: rgba(241, 236, 226, .45); }
.mb-text b { font-family: var(--sans); font-weight: 500; font-size: 14.5px; letter-spacing: .005em; color: rgba(248, 245, 239, .92); }
.mb-pfeil { position: relative; z-index: 1; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .06); color: rgba(241, 236, 226, .7); transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease); }
.madeby:hover .mb-pfeil { background: rgba(255, 255, 255, .14); color: #fff; transform: translateX(2px); }

/* Karten ohne Icons: feine Goldlinie als Akzent */
.karte-s::before, .wunsch::before { content: ""; display: block; width: 34px; height: 2px; background: var(--gold); margin: 0 auto 18px; border-radius: 2px; }
.wunsch::before { background: #d8bd8a; }

/* Vorher-Nachher */
.vn { position: relative; width: 100%; height: 100%; border-radius: 0; overflow: hidden; user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize; background: #ddd; }
.vn-bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.vn-nachher { clip-path: inset(0 0 0 var(--pos)); }
.vn-label { position: absolute; top: 16px; padding: 6px 14px; border-radius: 999px; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: #f8f5ef; background: rgba(20, 18, 16, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .18); pointer-events: none; transition: opacity .3s; }
.vn-l1 { left: 16px; }
.vn-l2 { right: 16px; }
.vn-griff { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 44px; margin-left: -22px; display: grid; place-items: center; outline: none; }
.vn-griff::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: rgba(255, 255, 255, .92); box-shadow: 0 0 18px rgba(0, 0, 0, .35); }
.vn-knopf { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 253, 249, .95); color: var(--tinte); box-shadow: 0 8px 24px -6px rgba(0, 0, 0, .5); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.vn:hover .vn-knopf, .vn-griff:focus-visible .vn-knopf { transform: scale(1.08); }
.vn-griff:focus-visible .vn-knopf { box-shadow: 0 0 0 3px var(--bordeaux), 0 8px 24px -6px rgba(0, 0, 0, .5); }
.vn.zieht { cursor: grabbing; }
.vn.zieht .vn-knopf { transform: scale(.94); }
.vn.hinweis .vn-nachher, .vn.hinweis .vn-griff { transition: clip-path 1.1s var(--ease), left 1.1s var(--ease); }
.moodboard { margin: 0 0 16px; }
.moodboard img { width: 100%; border-radius: var(--radius); cursor: zoom-in; box-shadow: 0 30px 60px -40px rgba(29, 27, 25, .45); }
.moodboard figcaption { text-align: center; }

/* Karussell: Vorher/Nachher und Moodboard */
.hero-bild { width: 100%; max-width: 980px; }
.kar { position: relative; width: 100%; aspect-ratio: 7 / 5; border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(29, 27, 25, .55); background: var(--hell); }
.kar-spur { display: flex; width: 100%; height: 100%; transition: transform .7s var(--ease); }
.kar-slide { flex: 0 0 100%; width: 100%; height: 100%; position: relative; }
.kar-mood img { width: 100%; height: 100%; object-fit: contain; background: #fffdf9; cursor: zoom-in; display: block; }
.kar-leiste { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 18px; }
.kar-pfeil { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--linie); background: var(--flaeche); color: var(--tinte); cursor: pointer; transition: all .3s var(--ease); }
.kar-pfeil:hover { background: var(--tinte); color: #f8f5ef; border-color: var(--tinte); transform: scale(1.06); }
.kar-reiter { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--linie); background: var(--flaeche); }
.kar-reiter button { font: inherit; font-size: 14px; font-weight: 400; padding: 8px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--tinte-2); cursor: pointer; transition: all .35s var(--ease); }
.kar-reiter button.aktiv { background: var(--tinte); color: #f8f5ef; }
.kar-reiter button:not(.aktiv):hover { color: var(--tinte); }
@media (max-width: 520px) { .kar-reiter button { padding: 8px 12px; font-size: 13px; } }

.kar-aussen img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }

/* Passwortschutz */
.schloss { display: none; }
html.gesperrt, html.gesperrt body { overflow: hidden; height: 100%; }
html.gesperrt body > :not(.schloss):not(script) { display: none !important; }
html.gesperrt .schloss { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: radial-gradient(ellipse at 20% 10%, rgba(154, 123, 79, .22), transparent 55%), radial-gradient(ellipse at 90% 100%, rgba(107, 30, 44, .5), transparent 60%), var(--gruen); }
.schloss-karte { width: min(440px, 100%); padding: 44px 36px 30px; text-align: center; background: rgba(255, 253, 249, .96); border: 1px solid rgba(154, 123, 79, .45); border-radius: calc(var(--radius) + 6px); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); animation: schloss-rein .8s var(--ease) both; }
.schloss-karte .marke-m { width: 56px; height: 56px; margin: 0 auto 22px; font-size: 32px; }
.schloss-karte h2 { margin: 12px 0 14px; font-size: clamp(30px, 6vw, 38px); }
.schloss-text { margin-bottom: 26px; color: var(--tinte-2); font-size: 15.5px; }
.schloss-karte form { display: flex; gap: 8px; padding: 6px; background: var(--papier); border: 1px solid var(--linie); border-radius: 999px; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.schloss-karte form:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(154, 123, 79, .18); }
.schloss-karte input { flex: 1; min-width: 0; padding: 10px 16px; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--tinte); outline: none; }
.schloss-karte button { flex: none; padding: 10px 24px; border: 0; border-radius: 999px; background: var(--tinte); color: #f8f5ef; font: inherit; font-size: 15px; font-weight: 400; cursor: pointer; transition: background .25s var(--ease), transform .2s var(--ease); }
.schloss-karte button:hover { background: var(--bordeaux); }
.schloss-karte button:active { transform: scale(.97); }
.schloss-fehler { margin-top: 14px; color: var(--bordeaux); font-size: 14px; }
.schloss-fuss { margin-top: 26px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.schloss-karte.wackeln { animation: schloss-wackeln .4s var(--ease); }
@keyframes schloss-rein { from { opacity: 0; transform: translateY(18px) scale(.98); } }
@keyframes schloss-wackeln { 20% { transform: translateX(-9px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }
@media (prefers-reduced-motion: reduce) { .schloss-karte, .schloss-karte.wackeln { animation: none; } }
