/* Rabenfeld GmbH – gemeinsames Stylesheet
   Farben und Schriften laut Markenrichtlinie (Dez. 2025).
   Schriften lokal eingebunden (kein Google-Fonts-Aufruf, DSGVO). */

@font-face { font-family: "Lato"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/lato-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/lato-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 900; font-style: normal; font-display: swap; src: url("../fonts/lato-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); }

:root {
  /* Markenfarben */
  --braun: #5b4a41;        /* Primärfarbe */
  --braun-dunkel: #231f20; /* Sekundär, für Text */
  --braun-mittel: #725e53;
  --rosé: #ccb0a6;         /* Primärfarbe */
  --terra: #a87f73;
  --sand: #ceae87;
  --taupe: #b29a91;
  --creme: #dcc7a3;
  --grau: #6f6f70;

  /* Anwendung */
  --bg: #F4F0EA;
  --flaeche: #FFFFFF;
  --flaeche-warm: #EBE3D8;
  --text: var(--braun-dunkel);
  --text-leise: #5a5150;
  --linie: #DDD3C7;
  --akzent: var(--braun);
  --akzent-hell: var(--creme);

  --font-titel: "Lato", system-ui, sans-serif;
  --font-text: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 22px;
  --breite: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-text); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-titel); font-weight: 900; margin: 0; line-height: 1.12; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--braun); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--braun); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }

.container { max-width: var(--breite); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0 24px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--braun-mittel); margin-bottom: 14px; }
.section-head { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; }
.section-head h2 { flex: 1 1 520px; font-size: clamp(32px, 4.2vw, 54px); }
.section-head > p { flex: 1 1 300px; max-width: 440px; color: var(--text-leise); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; font-weight: 700; font-size: 17px; text-decoration: none; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.btn svg { width: 18px; height: 18px; }
.btn-primaer { background: var(--braun); color: #fff; }
.btn-primaer:hover { background: var(--braun-dunkel); }
.btn-rahmen { border-color: var(--braun); color: var(--braun); }
.btn-rahmen:hover { background: var(--braun); color: #fff; }
.btn-hell { background: var(--creme); color: var(--braun-dunkel); }
.btn-hell:hover { background: #fff; }
.btn-klein { min-height: 44px; padding: 0 20px; font-size: 15px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 240, 234, 0.96); backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(91, 74, 65, .06), 0 8px 24px -6px rgba(91, 74, 65, .18); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; }
.logo img { height: 54px; width: auto; }
@media (max-width: 600px) { .header-inner { min-height: 80px; } .logo img { height: 44px; } }
.hauptnav { display: flex; align-items: center; gap: 28px; }
.hauptnav ul { display: flex; gap: 26px; font-weight: 700; font-size: 16px; }
.hauptnav ul a { text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.hauptnav ul a:hover, .hauptnav ul a[aria-current="page"] { border-bottom-color: var(--braun); }
.social { display: flex; gap: 6px; }
.social a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; color: var(--braun); }
.social a:hover { background: var(--flaeche-warm); }
.social svg { width: 20px; height: 20px; }
.menu-toggle { display: none; background: none; border: 0; width: 48px; height: 48px; border-radius: 12px; color: var(--braun-dunkel); cursor: pointer; }
.menu-toggle svg { width: 26px; height: 26px; }

@media (max-width: 1020px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .hauptnav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--linie); flex-direction: column; align-items: stretch; gap: 16px; padding: 12px 24px 28px; }
  .hauptnav.offen { display: flex; }
  .hauptnav ul { flex-direction: column; gap: 0; font-size: 19px; }
  .hauptnav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--linie); }
  .hauptnav ul a[aria-current="page"] { color: var(--braun); border-bottom-color: var(--linie); }
}

/* Hero */
.hero { padding: 80px 0 72px; }
.hero-inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-text { flex: 1 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1.5px solid var(--braun); border-radius: 999px; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--braun); }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--terra); }
.hero h1 { font-size: clamp(42px, 5.8vw, 80px); font-weight: 900; line-height: 1.02; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--braun); }
.hero-lead { font-size: 21px; color: var(--text-leise); max-width: 600px; }
.btn-reihe { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 6px; }
.hero-vergleich { flex: 1 1 360px; min-width: 0; max-width: 500px; position: relative; display: flex; flex-direction: column; gap: 14px; }
.stempel { position: absolute; top: -30px; right: -10px; z-index: 1; width: 108px; height: 108px; border-radius: 50%; background: var(--creme); color: var(--braun-dunkel); display: flex; align-items: center; justify-content: center; text-align: center; font-family: var(--font-titel); font-weight: 700; font-size: 13px; line-height: 1.2; transform: rotate(-12deg); }
.vergleich { border-radius: 26px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.vergleich h2 { font-family: var(--font-text); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.vergleich-intern { background: var(--flaeche); color: var(--text-leise); }
.vergleich-intern h2 { color: var(--grau); }
.vergleich-rabenfeld { background: var(--braun); color: #fff; }
.vergleich-rabenfeld h2 { color: var(--creme); }
.check-liste { display: flex; flex-direction: column; gap: 10px; font-size: 17px; }
.check-liste li { display: flex; gap: 12px; align-items: flex-start; }
.check-liste svg { flex: none; width: 20px; height: 20px; margin-top: 4px; }

/* Logo-Laufband */
.logoband { background: var(--flaeche); border-block: 1px solid var(--linie); padding: 34px 0 38px; }
.logoband .eyebrow { margin-bottom: 22px; }
/* Ränder per Verlauf statt mask-image: Safari/iOS malt eine Animation unter einer Maske oft erst nach dem Scrollen neu */
.laufband { --laufband-bg: var(--flaeche); position: relative; overflow: hidden; }
.laufband::before, .laufband::after { content: ""; position: absolute; top: 0; bottom: 0; width: 8%; z-index: 1; pointer-events: none; }
.laufband::before { left: 0; background: linear-gradient(to right, var(--laufband-bg), transparent); }
.laufband::after { right: 0; background: linear-gradient(to left, var(--laufband-bg), transparent); }
.laufband-spur { display: flex; width: max-content; animation: laufband 40s linear infinite; will-change: transform; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.laufband-gruppe { display: flex; flex: none; align-items: center; gap: 72px; padding-right: 72px; }
.laufband-gruppe img { width: auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.laufband-gruppe a { display: block; border-radius: 8px; }
.laufband-gruppe img:hover, .laufband-gruppe a:focus-visible img { filter: none; opacity: 1; }
@keyframes laufband { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* Karten */
.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.karte { background: var(--flaeche); border-radius: var(--radius); padding: 34px; display: flex; flex-direction: column; gap: 12px; }
.karte .nummer { font-family: var(--font-titel); font-weight: 700; font-size: 15px; color: var(--terra); }
.karte h3 { font-size: 23px; }
.karte p { color: var(--text-leise); }

/* Kundenstimmen */
.stimmen { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 20px; }
.stimme { margin: 0; background: var(--flaeche); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 22px; }
.stimme .zeichen { font-family: var(--font-titel); font-weight: 700; font-size: 64px; line-height: .6; color: var(--terra); height: 28px; }
.stimme blockquote { margin: 0; font-size: 18px; }
.stimme figcaption { margin-top: auto; display: flex; gap: 14px; align-items: center; font-size: 15px; }
.stimme figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.stimme figcaption span { display: flex; flex-direction: column; }
.stimme figcaption .rolle { color: var(--text-leise); }

/* Leistungen */
.leistungen { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.leistung { background: var(--flaeche); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 16px; border: 2px solid transparent; }
.leistung.hervor { border-color: var(--braun); }
.leistung-kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.leistung h3 { font-size: 26px; }
.etikett { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--creme); color: var(--braun-dunkel); font-size: 13px; font-weight: 700; }
.leistung > p { color: var(--text-leise); }
.punkte { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--linie); padding-top: 18px; }
.punkte li { display: flex; gap: 12px; }
.punkte li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 10px; border-radius: 50%; background: var(--terra); }

/* Ablauf */
.ablauf { display: flex; flex-direction: column; border-top: 1px solid var(--linie); }
.ablauf li { display: flex; flex-wrap: wrap; gap: 12px 40px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--linie); }
.ablauf .nummer { flex: 0 0 72px; font-family: var(--font-titel); font-weight: 700; font-size: 34px; color: var(--terra); }
.ablauf h3 { flex: 1 1 260px; font-size: 26px; }
.ablauf p { flex: 1 1 360px; color: var(--text-leise); }

/* Preise */
.preise { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: stretch; }
.preis { background: var(--flaeche); border-radius: var(--radius); padding: 34px; display: flex; flex-direction: column; gap: 14px; border: 2px solid transparent; }
.preis.empfohlen { background: var(--braun); color: #fff; }
.preis-kopf { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.preis h3 { font-size: 22px; }
.preis .betrag { font-family: var(--font-titel); font-weight: 700; font-size: 44px; letter-spacing: -0.03em; line-height: 1; }
.preis .betrag span { font-family: var(--font-text); font-size: 16px; font-weight: 400; letter-spacing: 0; }
.preis .info { color: var(--text-leise); }
.preis.empfohlen .info { color: var(--creme); }
.preis .btn { margin-top: auto; }
.hinweis { margin-top: 20px; font-size: 15px; color: var(--text-leise); }
.hinweis a { font-weight: 700; }

/* Projekte */
.projekte { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
.projekt-liste { display: flex; flex-direction: column; border-top: 1px solid var(--linie); }
.projekt-liste button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; background: none; border: 0; border-bottom: 1px solid var(--linie); font: 900 clamp(20px, 2.2vw, 28px)/1.2 var(--font-titel); letter-spacing: -0.02em; color: #9a8f88; text-align: left; cursor: pointer; }
.projekt-liste button[aria-pressed="true"] { color: var(--braun-dunkel); }
.projekt-liste button .pfeil { opacity: 0; color: var(--terra); transition: opacity .2s; }
.projekt-liste button[aria-pressed="true"] .pfeil { opacity: 1; }
.projekt-mehr { margin-top: 24px; font-size: 16px; color: var(--text-leise); }
.projekt-mehr a { font-weight: 700; color: var(--braun); }
.projekt-karte { border-radius: 28px; padding: 40px; min-height: 420px; display: flex; flex-direction: column; gap: 18px; background: var(--braun); color: #fff; transition: background .3s; }
.projekt-karte .zeile { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.projekt-karte .beschreibung { font-size: 20px; max-width: 560px; }
.projekt-karte .kennzahl { margin-top: auto; font-family: var(--font-titel); font-weight: 700; font-size: clamp(44px, 5vw, 72px); line-height: 1; letter-spacing: -0.03em; }
.projekt-karte .kennzahl.lang { font-size: clamp(30px, 3.2vw, 44px); }
.projekt-karte[data-ton="hell"] { color: var(--braun-dunkel); }
@media (max-width: 860px) { .projekte { grid-template-columns: 1fr; } .projekt-karte { min-height: 320px; } }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.person { background: var(--flaeche); border-radius: var(--radius); padding: 18px 18px 28px; display: flex; flex-direction: column; gap: 10px; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; margin-bottom: 8px; background: var(--flaeche-warm); }
.person h3 { font-size: 23px; padding: 0 8px; }
.person .rolle { font-weight: 700; color: var(--braun-mittel); padding: 0 8px; }
.person p { padding: 0 8px; color: var(--text-leise); font-size: 16px; }
.person .sprachen { margin-top: auto; font-size: 14px; color: var(--grau); }

/* Abschluss */
.abschluss { padding: 104px 0; }
.abschluss-box { background: var(--braun); color: #fff; border-radius: 32px; padding: clamp(40px, 6vw, 80px); display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.abschluss-box h2 { font-size: clamp(32px, 4.6vw, 60px); font-weight: 900; max-width: 900px; }
.abschluss-box p { font-size: 20px; color: var(--creme); max-width: 640px; }

/* Footer */
.site-footer { background: var(--braun-dunkel); color: #e9e2da; padding: 64px 0 32px; font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.footer-grid h2 { font-family: var(--font-text); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--creme); margin-bottom: 14px; }
.footer-grid ul { display: flex; flex-direction: column; gap: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.site-footer .logo img { height: 40px; }
.site-footer .social a { color: #e9e2da; }
.site-footer .social a:hover { background: rgba(255,255,255,.1); }
.footer-unten { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); font-size: 14px; color: #b9ada4; }

@media (max-width: 600px) {
  body { font-size: 17px; }
  .section { padding-top: 80px; }
  .hero { padding-top: 48px; }
  .hero-lead { font-size: 19px; }
  .karte, .leistung, .preis, .stimme { padding: 28px; }
  .projekt-karte { padding: 28px; }
  .stempel { width: 92px; height: 92px; font-size: 12px; right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .laufband-spur { animation: none; }
}
.btn-rahmen-hell { border-color: var(--creme); color: #fff; }
.btn-rahmen-hell:hover { background: var(--creme); color: var(--braun-dunkel); }
.preis.empfohlen .etikett { background: var(--creme); }

.stundensatz { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; background: var(--flaeche-warm); border-radius: var(--radius); padding: 26px 34px; }
.stundensatz h3 { font-size: 22px; }
.stundensatz p { color: var(--text-leise); }
.stundensatz .betrag { font-family: var(--font-titel); font-weight: 900; font-size: 34px; color: var(--braun-dunkel); }
.stundensatz .betrag span { font-family: var(--font-text); font-size: 15px; font-weight: 400; }
.stundensatz > div { flex: 1 1 460px; display: flex; flex-direction: column; gap: 6px; }
.stundensatz .betrag { flex: none; }
.stempel { top: -48px; }
.check-liste { font-size: 16px; }

/* ---------- Handschrift-Zeile mit Kritzel-Markierung ---------- */
@font-face { font-family: "Caveat"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/caveat-latin-600-normal.woff2") format("woff2"); }
.handschrift { position: relative; align-self: flex-start; margin: 0 0 4px; padding: 10px 26px 12px 22px; font-family: "Caveat", cursive; font-weight: 600; font-size: clamp(28px, 3vw, 36px); line-height: 1; color: var(--braun); transform: rotate(-2deg); }
.handschrift-text { display: inline-block; white-space: nowrap; clip-path: inset(0 100% 0 0); animation: schreiben 1.8s steps(28, end) .3s forwards; }
.kritzel { position: absolute; inset: -6px -14px -10px -12px; width: calc(100% + 26px); height: calc(100% + 16px); overflow: visible; pointer-events: none; }
.kritzel path { fill: none; stroke: var(--terra); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; opacity: 0; animation: kritzeln 1.1s ease-in-out 2.2s both; }
@keyframes schreiben { to { clip-path: inset(0 0 0 0); } }
@keyframes kritzeln { 0% { stroke-dashoffset: 1; opacity: 0; } 2% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 1; } }

/* ---------- Vergleich: Stempel und Rabe im Rabenfeld-Rahmen ---------- */
.hero-vergleich { position: static; }
.vergleich-rabenfeld { position: relative; overflow: visible; isolation: isolate; }
.vergleich-rabenfeld .stempel { top: -40px; right: -14px; }
.vergleich-rabenfeld .check-liste li { position: relative; }

/* ---------- Bereichsnavigation unten ---------- */
.bereichsnav { position: fixed; left: 50%; bottom: 18px; z-index: 60; max-width: calc(100% - 24px); transform: translate(-50%, 140%); opacity: 0; transition: transform .35s ease, opacity .35s ease; background: rgba(35, 31, 32, .92); backdrop-filter: blur(10px); border-radius: 999px; padding: 6px; box-shadow: 0 10px 30px rgba(35, 31, 32, .25); }
.bereichsnav.sichtbar { transform: translate(-50%, 0); opacity: 1; }
.bereichsnav ul { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.bereichsnav ul::-webkit-scrollbar { display: none; }
.bereichsnav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; white-space: nowrap; text-decoration: none; font-size: 14px; font-weight: 500; color: #e9e2da; transition: background .2s, color .2s; }
.bereichsnav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.bereichsnav a[aria-current="true"] { background: var(--creme); color: var(--braun-dunkel); font-weight: 700; }
body { padding-bottom: 0; }
.site-footer { padding-bottom: 96px; }

@media (prefers-reduced-motion: reduce) {
  .handschrift-text { animation: none; clip-path: none; }
  .kritzel path { animation: none; stroke-dashoffset: 0; opacity: 1; }
  .bereichsnav { transition: none; }
}

/* ---------- Kundenstimmen: weiß, beim Darüberfahren braun ---------- */
.section-head-rechts { flex: 1 1 300px; max-width: 440px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.section-head-rechts p { max-width: none; }
.stimme-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sprach-knopf { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--linie); background: transparent; color: var(--braun-mittel); font: 500 13px/1 var(--font-text); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.sprach-knopf svg { width: 15px; height: 15px; }
.sprach-knopf:hover { border-color: currentColor; }
.stimme:hover .sprach-knopf { color: var(--creme); border-color: rgba(220,199,163,.5); }
.sprach-knopf[aria-pressed="true"] { background: var(--creme); border-color: var(--creme); color: var(--braun-dunkel); }
.stimme { transition: background .3s ease, color .3s ease, transform .3s ease; }
.stimme blockquote p { margin: 0; }
.stimme figcaption .rolle, .stimme .zeichen { transition: color .3s ease; }
.stimme:hover { background: var(--braun); color: #fff; transform: translateY(-4px); }
.stimme:hover .zeichen { color: var(--creme); }
.stimme:hover figcaption .rolle { color: var(--creme); }

/* ---------- Ablauf als Laufplan ---------- */
.laufplan { position: relative; }
.laufplan ol { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.laufplan-schritt { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.laufplan-nummer { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; border-radius: 50%; background: var(--flaeche); border: 2px solid var(--braun); font-family: "Caveat", cursive; font-weight: 600; font-size: 46px; line-height: 1; color: var(--braun); transform: rotate(-4deg); box-shadow: 0 6px 0 var(--creme); transition: background .3s, color .3s; }
.laufplan-schritt:hover .laufplan-nummer { background: var(--braun); color: #fff; }
.laufplan-label { font-family: "Caveat", cursive; font-weight: 600; font-size: 24px; color: var(--terra); line-height: 1; margin-bottom: 6px; }
.laufplan-schritt h3 { font-size: 22px; margin-bottom: 10px; }
.laufplan-schritt div > p:last-child { color: var(--text-leise); font-size: 16px; }
.laufplan-linie { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: visible; pointer-events: none; }
.laufplan-linie path { fill: none; stroke: var(--terra); stroke-width: 3; stroke-linecap: round; }
.laufplan.bereit .laufplan-linie path { transition: stroke-dashoffset 2.4s ease-in-out; }
@media (max-width: 860px) {
  .laufplan ol { grid-template-columns: 1fr; gap: 36px; }
  .laufplan-schritt { flex-direction: row; align-items: flex-start; text-align: left; gap: 20px; }
  .laufplan-nummer { flex: none; width: 72px; height: 72px; font-size: 36px; }
}

/* ---------- Preise: Leistungen und Kontakt-Knopf ---------- */
.enthalten { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--braun-mittel); margin-top: 4px; }
.preis .punkte { border-top: 1px solid var(--linie); padding-top: 14px; margin-bottom: 10px; font-size: 15px; gap: 8px; }
.preis.empfohlen .enthalten { color: var(--creme); }
.preis.empfohlen .punkte { border-top-color: rgba(255,255,255,.2); }
.preis.empfohlen .punkte li::before { background: var(--creme); }
.stundensatz-rechts { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }

/* ---------- Abschluss: Symbol verwandelt sich ins ganze Logo ---------- */
.abschluss-box { position: relative; }
.logo-wandel { --h: 80px; align-self: flex-end; display: block; height: calc(var(--h) + 36px); width: calc(var(--h) * 0.83 + 44px); padding: 18px 22px; border-radius: 22px; background: var(--creme); overflow: hidden; transition: width .6s cubic-bezier(.4,0,.2,1), background .3s; position: absolute; right: clamp(24px, 4vw, 48px); bottom: clamp(24px, 4vw, 48px); }
.logo-wandel-svg { display: block; height: var(--h); width: auto; aspect-ratio: 3000 / 630; fill: var(--braun); }
.lw-symbol { transform-box: fill-box; transform-origin: left center; }
.lw-text { opacity: 0; transform: translateX(-60px); transition: opacity .45s ease .1s, transform .55s cubic-bezier(.4,0,.2,1); }
.logo-wandel:hover, .logo-wandel:focus-visible { width: calc(var(--h) * 4.76 + 44px); background: var(--bg); }
.logo-wandel:hover .lw-text, .logo-wandel:focus-visible .lw-text { opacity: 1; transform: none; }
@media (max-width: 900px) { .logo-wandel { --h: 64px; position: static; align-self: flex-start; margin-top: 8px; } }
@media (prefers-reduced-motion: reduce) { .logo-wandel, .lw-text, .laufplan-linie path, .stimme { transition: none; } .laufplan-linie path { stroke-dashoffset: 0 !important; } }

/* ---------- Sprachumschalter unten rechts, im Stil der Bereichsnavigation ---------- */
.sprachwahl { position: fixed; right: 18px; bottom: 18px; z-index: 61; display: inline-flex; gap: 2px; padding: 6px; border-radius: 999px; background: rgba(35, 31, 32, .92); backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(35, 31, 32, .25); transition: bottom .35s ease; }
.sprachwahl a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 500; color: #e9e2da; transition: background .2s, color .2s; }
.sprachwahl a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.sprachwahl a[aria-current="true"] { background: var(--creme); color: var(--braun-dunkel); font-weight: 700; }
@media (max-width: 1180px) {
  .bereichsnav { left: 12px; transform: translate(0, 140%); max-width: calc(100% - 200px); }
  .bereichsnav.sichtbar { transform: translate(0, 0); }
}
@media (max-width: 600px) {
  .bereichsnav { max-width: calc(100% - 24px); }
  body.bereichsnav-an .sprachwahl { bottom: 80px; }
  .sprachwahl a { min-height: 36px; padding: 0 12px; font-size: 13px; }
}
@media (min-width: 1021px) and (max-width: 1240px) { .hauptnav { gap: 18px; } .hauptnav ul { gap: 18px; } .social { display: none; } }

.stimme:hover .sprach-knopf[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--braun-dunkel); }

/* ---------- Mobil: Projekte als Akkordeon ---------- */
@media (max-width: 860px) {
  .projekt-liste li .projekt-karte { margin: 4px 0 18px; min-height: 0; }
  .projekte > .projekt-karte-platz:empty { display: none; }
}
/* ---------- Mobil: Sprachumschalter blendet bei Bereichsleiste aus ---------- */
@media (max-width: 600px) {
  .sprachwahl { transition: bottom .35s ease, opacity .3s ease, transform .3s ease; }
  body.bereichsnav-an .sprachwahl { opacity: 0; transform: translateY(16px); pointer-events: none; }
  body.bereichsnav-an.hochscrollen .sprachwahl { opacity: 1; transform: none; pointer-events: auto; }
}
.laufband.pausiert .laufband-spur { animation-play-state: paused; }

/* ---------- BackOffice: Laufplan mit 3 Schritten (Marketing nutzt 4) ---------- */
.laufplan-drei ol { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .laufplan-drei ol { grid-template-columns: 1fr; } }

/* ---------- Häufige Fragen (aufklappbar, ohne JavaScript) ---------- */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--linie); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--linie); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-family: var(--font-titel); font-weight: 900; font-size: clamp(19px, 2vw, 23px); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--braun); color: var(--braun); font-family: var(--font-text); font-weight: 500; font-size: 22px; line-height: 1; transition: transform .25s, background .2s, color .2s; }
.faq summary:hover::after { background: var(--braun); color: #fff; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 56px 24px 0; color: var(--text-leise); max-width: 760px; }
@media (max-width: 600px) { .faq details p { padding-right: 0; } }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
.leistungen-vier { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1020px) { .leistungen-vier { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .leistungen-vier { grid-template-columns: 1fr; } }
.leistungen-vier .leistung { padding: 30px; }
.leistungen-vier .leistung h3 { font-size: 22px; }
.team-drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .team-drei { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .team-drei { grid-template-columns: 1fr; } }

/* ================================================================
   Kontaktseite (/kontakt/, /en/contact/) – nur neue Klassen
   ================================================================ */
.ansprech { flex: 1 1 340px; max-width: 460px; background: var(--flaeche); border-radius: 26px; padding: 30px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 6px 0 var(--creme); }
.ansprech-kopf { display: flex; gap: 18px; align-items: center; }
.ansprech-kopf img { flex: none; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: var(--flaeche-warm); }
.ansprech-label { font-family: "Caveat", cursive; font-weight: 600; font-size: 24px; line-height: 1; color: var(--terra); margin-bottom: 6px; }
.ansprech h2 { font-size: 26px; }
.ansprech-rolle { font-size: 15px; font-weight: 700; color: var(--braun-mittel); }
.ansprech-text { color: var(--text-leise); }
.ansprech .btn { align-self: flex-start; }
.ansprech-hinweis { display: flex; gap: 10px; align-items: flex-start; padding-top: 16px; border-top: 1px solid var(--linie); font-size: 15px; color: var(--grau); }
.ansprech-hinweis svg { flex: none; width: 20px; height: 20px; margin-top: 2px; }

.kontaktwege { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.kontaktweg { background: var(--flaeche); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; border: 2px solid transparent; transition: border-color .2s, transform .2s; }
.kontaktweg:hover { border-color: var(--braun); transform: translateY(-3px); }
.kontaktweg-icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 8px; border-radius: 50%; background: var(--bg); color: var(--braun); transition: background .2s, color .2s; }
.kontaktweg:hover .kontaktweg-icon { background: var(--braun); color: #fff; }
.kontaktweg-icon svg { width: 24px; height: 24px; }
.kontaktweg h3 { font-size: 22px; }
.kontaktweg-wert { font-weight: 700; color: var(--braun); overflow-wrap: anywhere; }
.kontaktweg p { font-size: 16px; color: var(--text-leise); }

/* Formular */
.anfrage { width: 100%; }
.formular { position: relative; background: var(--flaeche); border-radius: 26px; padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 22px; }
.formular-falle { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.formular-wahl { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; }
.formular-wahl legend { float: left; width: 100%; padding: 0; margin-bottom: 10px; font-weight: 700; }
.formular-wahl label { position: relative; cursor: pointer; }
.formular-wahl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.formular-wahl span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--linie); font-weight: 600; transition: background .2s, border-color .2s, color .2s; }
.formular-wahl label:hover span { border-color: var(--braun); }
.formular-wahl input:checked + span { background: var(--braun); border-color: var(--braun); color: #fff; }
.formular-wahl input:focus-visible + span { outline: 3px solid var(--terra); outline-offset: 2px; }
.formular-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.feld { display: flex; flex-direction: column; gap: 6px; }
.feld-breit { grid-column: 1 / -1; }
.feld label { font-size: 15px; font-weight: 600; }
.feld input, .feld textarea { width: 100%; padding: 13px 16px; border: 1.5px solid var(--linie); border-radius: 14px; background: var(--bg); color: var(--text); font: inherit; font-size: 16px; transition: border-color .2s, background .2s, box-shadow .2s; }
.feld textarea { min-height: 150px; resize: vertical; }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--braun); background: #fff; box-shadow: 0 0 0 3px rgba(91, 74, 65, .15); }
.formular-zustimmung { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-leise); cursor: pointer; }
.formular-zustimmung input { flex: none; width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--braun); }
.formular-zustimmung a { color: var(--braun); font-weight: 600; }
.formular-fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.formular-fuss .btn { cursor: pointer; font-family: inherit; }
.formular-fuss .btn[disabled] { opacity: .6; cursor: wait; }
.formular-pflicht { font-size: 14px; color: var(--grau); }
.formular-status { padding: 14px 18px; border-radius: 14px; background: #f6e3df; color: #7a2e22; font-size: 15px; }
.formular-status:empty { display: none; }
.formular-erfolg { display: none; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(28px, 4vw, 44px); border-radius: 26px; background: var(--braun); color: #fff; }
.formular-erfolg:target, .formular-erfolg.sichtbar { display: flex; }
.anfrage.gesendet .formular, .anfrage:has(.formular-erfolg:target) .formular { display: none; }
.formular-erfolg h3 { font-size: clamp(24px, 3vw, 30px); }
.formular-erfolg p { color: var(--creme); }
.formular-erfolg-icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--creme); color: var(--braun-dunkel); }
.formular-erfolg-icon svg { width: 26px; height: 26px; }
@media (max-width: 600px) { .formular-raster { grid-template-columns: 1fr; } }

/* Buchungstool (Elfsight) */
.erstgespraech-fakten { flex-direction: row; flex-wrap: wrap; gap: 12px 32px; margin-bottom: 32px; }
.buchung { min-height: 420px; padding: clamp(12px, 3vw, 32px); border-radius: 26px; background: var(--flaeche); }
.buchung-alternativ { margin-top: 18px; color: var(--text-leise); }
.buchung-alternativ a, .buchung a { color: var(--braun); font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .kontaktweg, .kontaktweg-icon, .formular-wahl span { transition: none; } .kontaktweg:hover { transform: none; } }

/* ================================================================
   Über-uns-Seite (/about/, /en/about/) – nur neue Klassen
   ================================================================ */
.ueber-fakten { flex: 1 1 360px; min-width: 0; max-width: 500px; background: var(--braun); color: #fff; border-radius: 26px; padding: 30px; display: flex; flex-direction: column; gap: 26px; box-shadow: 0 6px 0 var(--creme); }
.fakten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.fakten > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 2px; padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, .08); }
.fakten dd { margin: 0; font-family: var(--font-titel); font-weight: 900; font-size: clamp(44px, 5vw, 60px); line-height: 1; letter-spacing: -0.03em; color: #fff; }
.fakten dd.fakt-wort { font-size: clamp(26px, 2.6vw, 32px); line-height: 1.3; padding-top: 10px; letter-spacing: -0.01em; }
.fakten dt { font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--creme); }
.fakten-sprachen p { font-family: "Caveat", cursive; font-weight: 600; font-size: 26px; line-height: 1; color: var(--creme); margin-bottom: 12px; }
.sprach-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.sprach-chips li { padding: 6px 14px; border-radius: 999px; border: 1.5px solid rgba(220, 199, 163, .55); font-size: 14px; font-weight: 500; color: #fff; }

.bereiche { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.bereich { background: var(--flaeche); border-radius: var(--radius); padding: clamp(30px, 4vw, 44px); display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: inherit; border: 2px solid transparent; transition: border-color .2s, transform .2s; }
.bereich:hover { border-color: var(--braun); transform: translateY(-3px); }
.bereich-label { font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--terra); }
.bereich h3 { font-size: clamp(26px, 2.8vw, 34px); font-weight: 900; }
.bereich p { color: var(--text-leise); }
.bereich-link { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--braun); }
.bereich-link svg { width: 18px; height: 18px; transition: transform .2s; }
.bereich:hover .bereich-link svg { transform: translateX(4px); }
.bereich-dunkel { background: var(--braun); color: #fff; }
.bereich-dunkel:hover { border-color: var(--creme); }
.bereich-dunkel .bereich-label { color: var(--creme); }
.bereich-dunkel p { color: #efe7de; }
.bereich-dunkel .bereich-link { color: var(--creme); }
@media (max-width: 760px) { .bereiche { grid-template-columns: 1fr; } }

.team-vier { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .team-vier { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .team-vier { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .team-vier { grid-template-columns: 1fr; } }
.person .person-notiz { font-size: 15px; color: var(--text); background: var(--bg); border-radius: 14px; padding: 12px 14px; margin: 4px 8px 0; }
.person-notiz span { display: block; font-family: "Caveat", cursive; font-weight: 600; font-size: 21px; line-height: 1.1; color: var(--terra); margin-bottom: 4px; }
.person-du { background: transparent; border: 2px dashed var(--taupe); align-items: flex-start; justify-content: center; text-decoration: none; color: inherit; padding: 28px; transition: border-color .2s, background .2s; }
.person-du:hover { border-color: var(--braun); background: var(--flaeche); }
.person-du-kreis { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: var(--creme); color: var(--braun-dunkel); font-family: var(--font-titel); font-weight: 900; font-size: 34px; margin-bottom: 6px; }
.person-du h3, .person-du p { padding: 0; }
.person-du-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--braun); margin-top: 6px; }
.person-du-link svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) { .bereich, .bereich-link svg, .person-du { transition: none; } .bereich:hover { transform: none; } }
.person .person-abschluss { font-size: 14px; line-height: 1.45; color: var(--braun-dunkel); font-weight: 500; padding-left: 10px; margin-left: 8px; border-left: 3px solid var(--creme); }

/* ================================================================
   Startseite (/, /en/) – nur neue Klassen
   ================================================================ */
.start-karte { flex: 1 1 360px; min-width: 0; max-width: 500px; background: var(--braun); color: #fff; border-radius: 26px; padding: 30px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 6px 0 var(--creme); }
.start-karte-titel { font-family: "Caveat", cursive; font-weight: 600; font-size: 28px; line-height: 1; color: var(--creme); }
.start-gesichter { display: flex; padding-left: 12px; }
.start-gesichter img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin-left: -12px; border: 3px solid var(--braun); background: var(--flaeche-warm); }
.start-karte-text { font-size: 18px; color: #efe7de; }
.start-wege { display: flex; flex-direction: column; gap: 10px; }
.start-weg { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-radius: 18px; background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; border: 1.5px solid transparent; transition: background .2s, border-color .2s; }
.start-weg:hover, .start-weg:focus-visible { background: rgba(255, 255, 255, .14); border-color: var(--creme); }
.start-weg span { display: flex; flex-direction: column; gap: 2px; }
.start-weg strong { font-family: var(--font-titel); font-size: 19px; }
.start-weg small { font-size: 14px; color: var(--creme); }
.start-weg svg { flex: none; width: 20px; height: 20px; color: var(--creme); transition: transform .2s; }
.start-weg:hover svg { transform: translateX(4px); }

.bereich-punkte { display: flex; flex-direction: column; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: 16px; }
.bereich-punkte li { display: flex; gap: 10px; align-items: flex-start; }
.bereich-punkte svg { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--terra); }
.bereich-dunkel .bereich-punkte svg { color: var(--creme); }
.bereich .bereich-preis { font-family: var(--font-titel); font-weight: 700; font-size: 18px; color: var(--braun); padding-top: 6px; border-top: 1px solid var(--linie); }
.bereich-dunkel .bereich-preis { color: #fff; border-top-color: rgba(255, 255, 255, .2); }

.karten-drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .karten-drei { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .karten-drei { grid-template-columns: 1fr; } }

.team-band { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 64px); align-items: center; background: var(--flaeche); border-radius: 26px; padding: clamp(28px, 5vw, 56px); }
.team-band-text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.team-band-text .eyebrow { margin-bottom: 0; }
.team-band-text h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 900; line-height: 1.1; }
.team-band-text p { color: var(--text-leise); }
.team-gesichter { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 14px; list-style: none; margin: 0; padding: 0; }
.team-gesichter li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 14px; font-weight: 600; color: var(--braun-dunkel); }
.team-gesichter img { width: 100%; max-width: 110px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; background: var(--flaeche-warm); }
@media (max-width: 860px) { .team-band { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .team-gesichter { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .start-weg, .start-weg svg { transition: none; } .start-weg:hover svg { transform: none; } }
@media (max-width: 600px) { .start-gesichter img { width: 48px; height: 48px; margin-left: -10px; } .start-karte { padding: 24px; } }
/* Handschrift: Oberlängen (z. B. „d“) nicht abschneiden – gilt für alle Seiten */
.handschrift-text { clip-path: inset(-0.3em 100% -0.3em 0); animation-name: schreiben-hoch; }
@keyframes schreiben-hoch { to { clip-path: inset(-0.3em -0.3em -0.3em 0); } }
@media (prefers-reduced-motion: reduce) { .handschrift-text { animation: none; clip-path: none; } }

/* ---------- Cookie-Hinweis (Einwilligung für externe Inhalte) ---------- */
.einwilligung { position: fixed; z-index: 90; left: 20px; bottom: 20px; width: min(440px, calc(100% - 40px)); background: var(--flaeche); color: var(--text); border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: 0 18px 50px rgba(35, 31, 32, .2); padding: 24px 26px 22px; font-size: 15px; line-height: 1.55; }
.einwilligung[hidden] { display: none; }
.einwilligung h2 { font-size: 20px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.einwilligung h2 svg { width: 22px; height: 22px; color: var(--terra); flex: none; }
.einwilligung p { margin: 0; color: var(--text-leise); }
.einwilligung a { color: var(--braun); text-decoration: underline; text-underline-offset: 2px; }
.einwilligung-knoepfe { display: flex; gap: 10px; margin-top: 18px; }
.einwilligung-knoepfe .btn { flex: 1 1 0; min-height: 46px; padding: 0 16px; font-size: 15px; }
@media (max-width: 600px) { .einwilligung { left: 12px; bottom: 12px; width: calc(100% - 24px); padding: 20px 20px 18px; font-size: 14px; } }
.footer-cookie { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.footer-cookie:hover { text-decoration: underline; }
.buchung-platzhalter { background: var(--flaeche); border: 1px dashed var(--taupe); border-radius: var(--radius); padding: 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.buchung-platzhalter h3 { font-size: 21px; }
.buchung-platzhalter p { margin: 0; max-width: 520px; color: var(--text-leise); font-size: 15px; }
.buchung-platzhalter[hidden] { display: none; }
button.btn { font-family: inherit; cursor: pointer; }
button.btn-rahmen { background: transparent; }
@media (max-width: 600px) { .einwilligung h2 { font-size: 18px; } .einwilligung { font-size: 13.5px; line-height: 1.5; } .einwilligung-knoepfe { margin-top: 14px; } }

/* ---------- Rechtstexte: Impressum, Datenschutz ---------- */
.rechtstext-kopf { padding-bottom: 0; }
.rechtstext-kopf h1 { font-size: clamp(38px, 6vw, 64px); hyphens: manual; }
.rechtstext-intro { max-width: 720px; margin-top: 20px; font-size: 19px; color: var(--text-leise); }
.rechtstext-bereich { padding-top: 40px; }
.rechtstext > * { max-width: 800px; }
.rechtstext h2 { font-size: 24px; margin: 44px 0 12px; scroll-margin-top: 100px; }
.rechtstext h2:first-of-type { margin-top: 32px; }
.rechtstext p { margin: 0 0 14px; color: var(--text-leise); }
.rechtstext ul { list-style: disc; padding-left: 22px; margin: 0 0 14px; color: var(--text-leise); }
.rechtstext li { margin-bottom: 4px; }
.rechtstext a { color: var(--braun); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.rechtstext strong { color: var(--text); }
.rechtstext-inhalt { background: var(--flaeche); border-radius: var(--radius); padding: 24px 28px; }
.rechtstext-inhalt ol { list-style: decimal; margin: 0; padding-left: 22px; columns: 2 240px; column-gap: 32px; }
.rechtstext-inhalt li { margin-bottom: 6px; break-inside: avoid; }
.rechtstext-stand { margin-top: 40px !important; font-size: 14px; }
.link-knopf { background: none; border: 0; padding: 0; font: inherit; color: var(--braun); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

/* ---------- Cookie-Banner: Kategorien verwalten ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.einwilligung { max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain; }
.einwilligung.offen { width: min(520px, calc(100% - 40px)); }
.einwilligung-unten { margin-top: 12px; text-align: center; font-size: 14px; }
.einwilligung-unten .link-knopf { font-weight: 600; }
.einwilligung-liste { display: flex; flex-direction: column; gap: 0; margin: 4px 0 0; }
.einwilligung-liste li { padding: 14px 0; border-bottom: 1px solid var(--linie); }
.einwilligung-liste li:last-child { border-bottom: 0; }
.einwilligung-zeile { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.einwilligung-zeile h3 { font-size: 16px; letter-spacing: 0; }
.einwilligung-liste p { font-size: 13.5px; line-height: 1.5; }
.einwilligung-immer { font-size: 13px; font-weight: 700; color: var(--braun-mittel); white-space: nowrap; }
.schalter { position: relative; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; flex: none; }
.schalter input { position: absolute; opacity: 0; width: 44px; height: 26px; margin: 0; cursor: pointer; }
.schalter-bahn { width: 44px; height: 26px; border-radius: 999px; background: var(--linie); position: relative; transition: background .2s; }
.schalter-bahn::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(35,31,32,.25); transition: transform .2s; }
.schalter input:checked + .schalter-bahn { background: var(--braun); }
.schalter input:checked + .schalter-bahn::after { transform: translateX(18px); }
.schalter input:focus-visible + .schalter-bahn { outline: 3px solid var(--braun); outline-offset: 2px; }
.schalter-text { font-size: 13px; font-weight: 700; color: var(--braun-mittel); min-width: 24px; }
.schalter-text::before { content: attr(data-aus); }
.schalter input:checked ~ .schalter-text::before { content: attr(data-an); }
@media (max-width: 600px) { .einwilligung { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); } .einwilligung.offen { width: calc(100% - 24px); } }
