/* Praxis Bergunde – Logopädie & Lerntherapie
   Premium-"Flaggschiff"-Stil, eingefärbt in die Kundenpalette (Orange/Gelb).
   Voll responsiv, Kontraste gegen den warmen Hintergrund neu gerechnet (WCAG AA). */

:root {
  --accent: #b8460a;          /* Links, Akzentwörter, Icons – ~5.4:1 auf --bg */
  --accent-deep: #7a2e0a;
  --accent-bright: #ee6f12;   /* dekorative Flächen / Verläufe */
  --accent-soft: rgba(238, 111, 18, 0.10);
  --accent-line: rgba(238, 111, 18, 0.28);

  --brand-yellow: #f2b009;
  --brand-orange: #f0930b;
  --brand-orange-strong: #ee6f12;
  --grad: linear-gradient(135deg, #f2b009 0%, #f0930b 52%, #ee6f12 100%);
  --grad-hero: linear-gradient(155deg, #f3b30a 0%, #f19a0b 48%, #ef8613 100%);
  --grad-soft: linear-gradient(180deg, #fff3da 0%, #ffe7c6 45%, #ffffff 100%);
  /* Sektions-Wash: startet und endet exakt in der Seitenfarbe -> nahtlose Übergänge */
  --wash-warm: linear-gradient(180deg, #fdf9f2 0%, #fdefda 16%, #fdefda 84%, #fdf9f2 100%);

  --ink: #2a1206;
  --bg: #fdf9f2;
  --white: #ffffff;
  --gray: #5c5049;
  --line: rgba(42, 18, 6, 0.09);
  --card-line: #eee2d3;

  --radius-pill: 100px;
  --radius-card: 16px;
  --radius-lg: 26px;

  --f-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --f-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Legacy (Impressum / Datenschutz) */
  --text: var(--ink);
  --text-light: var(--gray);
  --orange-900: var(--accent-deep);
  --orange-800: var(--accent);
  --border: var(--card-line);
  --max-width: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
  /* Scrollbalken ausblenden (Seite scrollt weiter per Rad / Touch / Tastatur) */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body {
  font-family: var(--f-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar { width: 0; height: 0; display: none; }

a { color: var(--accent); text-decoration: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap,
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 28px);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent-deep);
  color: #fff;
  padding: 0.75em 1.25em;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Reveal (Progressive Enhancement) ---------- */
/* Standard (auch ohne JavaScript): alles sichtbar. */
html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
html.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Navbar ---------- */
.navbar-outer {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0 14px;
}
nav.pill {
  position: relative;
  width: 100%;
  max-width: 1020px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: var(--radius-pill);
  padding: 10px 12px 10px 22px;
  box-shadow: 0 1px 3px rgba(42, 18, 6, 0.05), 0 10px 34px rgba(42, 18, 6, 0.08);
}
.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.brand small {
  display: block;
  font-weight: 500;
  font-size: 0.66rem;
  color: var(--gray);
  letter-spacing: 0.005em;
}
nav.pill ul {
  display: flex;
  gap: clamp(16px, 2.4vw, 26px);
  list-style: none;
  margin-left: auto;
}
nav.pill ul a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray);
  white-space: nowrap;
}
nav.pill ul a:hover { color: var(--ink); }
nav.pill ul a[aria-current="page"] { color: var(--ink); font-weight: 700; }

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex: none;
  background: var(--grad);
  color: var(--ink);
  border-radius: var(--radius-pill);
  padding: 9px 18px 9px 14px;
  white-space: nowrap;
  box-shadow: rgba(255, 255, 255, 0.28) 0 0 0 2px inset, rgba(238, 111, 18, 0.3) 0 8px 20px;
  transition: transform 0.25s ease;
}
.nav-phone:hover { transform: translateY(-2px); }
.nav-phone .tel-ic { font-size: 1.05rem; line-height: 1; }
.nav-phone strong { font-size: 0.98rem; letter-spacing: -0.01em; line-height: 1.05; display: block; }
.nav-phone .np-lbl {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.72;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex: none;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.nav-toggle .ic-close { display: none; }
.nav-toggle[aria-expanded="true"] .ic-open { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: block; }

@media (max-width: 1000px) {
  nav.pill { padding-left: 18px; }
  .brand small { display: none; }
  .nav-phone .np-lbl { display: none; }
  .nav-phone { margin-left: auto; }
  .nav-toggle { display: inline-flex; }

  nav.pill ul {
    display: flex;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 10px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 1px 3px rgba(42, 18, 6, 0.05), 0 18px 44px rgba(42, 18, 6, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    pointer-events: none;
  }
  nav.pill ul.open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  nav.pill ul li { list-style: none; }
  nav.pill ul a {
    display: block;
    padding: 13px 16px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
  }
  nav.pill ul a:hover,
  nav.pill ul a:focus-visible { background: var(--bg); }
}
@media (max-width: 1000px) and (prefers-reduced-motion: reduce) {
  nav.pill ul { transition: none; }
}
@media (max-width: 400px) {
  nav.pill { padding: 8px 8px 8px 14px; gap: 8px; }
  .brand { font-size: 0.9rem; }
  .nav-phone { padding: 8px 13px 8px 10px; }
  .nav-phone strong { font-size: 0.9rem; }
  .nav-toggle { width: 38px; height: 38px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius-pill);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: -0.03em;
  line-height: 1.5;
  padding: 13px 13px 13px 22px;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  box-shadow: rgba(255, 255, 255, 0.14) 0 0 0 3px inset;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent-deep); color: #fff; }
.btn-primary:hover { box-shadow: rgba(255, 255, 255, 0.14) 0 0 0 3px inset, rgba(122, 46, 10, 0.4) 0 10px 26px; }
.btn-outline {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--card-line);
  box-shadow: none;
  padding: 13px 22px;
}
.btn-outline:hover { box-shadow: 0 10px 24px rgba(42, 18, 6, 0.1); }
.btn-arrow {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--white);
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: var(--accent);
}
.btn-outline .btn-arrow { background: var(--bg); color: var(--ink); }
.btn-block { display: flex; justify-content: center; width: 100%; }

/* ---------- Hero (volle Orange-Fläche) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--grad-hero);
  padding: clamp(92px, 14vw, 138px) 0 clamp(84px, 12vw, 120px);
  text-align: left;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}
@media (max-width: 1000px) {
  .hero { text-align: center; }
  .hero-grid { grid-template-columns: 1fr; gap: clamp(22px, 6vw, 38px); }
  .hero .badge, .hero .sub { margin-left: auto; margin-right: auto; }
  .hero .ctas, .hero-chips { justify-content: center; }
  .hero h1 { margin-left: auto; margin-right: auto; }
  .hero-figure { order: 2; }
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.22) 1.3px, transparent 1.6px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}

/* Unscharfes Praxis-Bild hinter dem Foto */
.hero-photo {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  right: 0;
  width: 60%;
  overflow: hidden;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 42%, #000 100%);
  pointer-events: none;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(6px) saturate(1.1) brightness(1.02);
  transform: scale(1.1);
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(240, 147, 11, 0.62) 0%, rgba(240, 147, 11, 0.18) 46%, rgba(240, 147, 11, 0) 78%);
}
@media (max-width: 1000px) {
  .hero-photo {
    width: 100%;
    opacity: 0.32;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 38%, #000 82%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 38%, #000 82%, transparent 100%);
  }
  .hero-photo::after {
    background: linear-gradient(180deg, rgba(240, 147, 11, 0.5) 0%, rgba(240, 147, 11, 0.1) 40%, rgba(240, 147, 11, 0.5) 100%);
  }
}

.hero-deco { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-deco span { position: absolute; border-radius: 50%; }
.hero-deco .c1 { width: clamp(240px, 40vw, 460px); height: clamp(240px, 40vw, 460px); top: -14%; right: -8%; border: 2px solid rgba(255, 255, 255, 0.35); }
.hero-deco .c2 { width: clamp(160px, 28vw, 300px); height: clamp(160px, 28vw, 300px); bottom: -16%; left: -6%; background: rgba(255, 255, 255, 0.09); }

.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-pill);
  padding: 5px 16px 5px 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-deep);
  margin-bottom: 24px;
  box-shadow: 0 6px 18px rgba(122, 46, 10, 0.16);
}
.hero .badge .yr {
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
@media (max-width: 480px) {
  .hero .badge { font-size: 0.78rem; padding: 4px 14px 4px 5px; margin-bottom: 20px; }
  .hero .badge .yr { font-size: 0.74rem; padding: 3px 9px; }
}

.hero h1 {
  color: var(--ink);
  font-weight: 800;
  font-size: clamp(2.5rem, 6.4vw, 4.3rem);
  line-height: 1.04;
  letter-spacing: -0.028em;
  max-width: 14ch;
  margin: 0 0 20px;
}
@media (max-width: 1000px) { .hero h1 { max-width: 15ch; margin-left: auto; margin-right: auto; } }
.hero h1 em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  color: #ffffff;
}
.hero .sub {
  color: var(--ink);
  font-weight: 500;
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  max-width: 44ch;
  margin: 0 0 28px;
}
.hero .ctas {
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero .btn-primary { background: var(--ink); color: #fff; }
.hero .btn-primary .btn-arrow { color: var(--ink); }
.hero .btn-outline { background: rgba(255, 255, 255, 0.96); border: none; color: var(--accent-deep); }
.hero .btn-outline .btn-arrow { background: var(--accent-soft); color: var(--accent-deep); }

.hero-chips {
  display: flex;
  gap: 10px 22px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(42, 18, 6, 0.14);
  max-width: 42ch;
}
@media (max-width: 1000px) { .hero-chips { margin-left: auto; margin-right: auto; } }

/* Hero-Foto (Freisteller auf der Orange-Fläche) */
.hero-figure { position: relative; display: flex; justify-content: center; }
.hero-figure::before {
  content: "";
  position: absolute;
  width: min(82%, 380px);
  aspect-ratio: 1;
  top: 34%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.hero-figure img {
  position: relative;
  width: 100%;
  max-width: 430px;
  filter: drop-shadow(0 22px 40px rgba(42, 18, 6, 0.3));
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 56%, rgba(0, 0, 0, 0.35) 82%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 56%, rgba(0, 0, 0, 0.35) 82%, transparent 100%);
}
@media (max-width: 1000px) { .hero-figure img { max-width: min(340px, 64vw); } }
.hero-figure .float-card {
  position: absolute;
  left: 50%;
  bottom: -22px;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(42, 18, 6, 0.22);
  padding: 11px 18px 11px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  text-align: left;
}
.hero-figure .float-card .fc-ic {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.hero-figure .float-card .fc-ic svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 2; }
.hero-figure .float-card b { font-size: 0.84rem; display: block; color: var(--ink); line-height: 1.25; }
.hero-figure .float-card .fc-sub { font-size: 0.74rem; color: var(--gray); }
@media (max-width: 520px) { .hero-figure .float-card { display: none; } }

.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-bright); position: relative; flex: none; }
.pulse-dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--accent-bright);
  animation: pulse-ring 2s ease infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .pulse-dot::after { animation: none; display: none; } }
.hero-chips span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.hero-chips span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-deep);
  flex: none;
}

.hero-wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: clamp(38px, 6vw, 64px);
  display: block;
  z-index: 1;
}

/* ---------- Unterseiten-Kopf ---------- */
.subhero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--grad-hero);
  padding: clamp(96px, 15vw, 150px) 0 clamp(56px, 9vw, 92px);
  color: var(--ink);
}
.subhero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.22) 1.3px, transparent 1.6px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 82%);
  mask-image: linear-gradient(180deg, #000, transparent 82%);
}
.subhero .deco-circle {
  position: absolute; z-index: -1;
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  width: clamp(220px, 38vw, 440px);
  height: clamp(220px, 38vw, 440px);
  top: -18%; right: -6%;
  pointer-events: none;
}
.subhero .crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-deep);
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  margin-bottom: 20px;
  text-decoration: none;
}
.subhero .crumb:hover { background: #fff; }
.subhero h1 {
  font-weight: 800;
  font-size: clamp(2.3rem, 5.6vw, 3.9rem);
  line-height: 1.05;
  letter-spacing: -0.028em;
  max-width: 18ch;
  margin: 0 0 16px;
}
.subhero h1 em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: #fff; }
.subhero p {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--ink);
  font-weight: 500;
  max-width: 54ch;
  margin: 0 0 26px;
}
.subhero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.subhero .btn-primary { background: var(--ink); color: #fff; }
.subhero .btn-primary .btn-arrow { color: var(--ink); }
.subhero .btn-outline { background: rgba(255, 255, 255, 0.96); border: none; color: var(--accent-deep); }
.subhero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(34px, 5vw, 56px); display: block; z-index: 1; }
.subhero.subhero-full { min-height: 72vh; display: flex; align-items: center; padding-bottom: clamp(56px, 9vw, 92px); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 9vw, 88px) 0; }
.section.tight { padding-top: 0; }
.section.pt-flow { padding-top: clamp(56px, 9vw, 88px); }
.section.pt-gap { padding-top: 20px; }
.section.warm { background: var(--wash-warm); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto clamp(36px, 6vw, 52px); }
.section-head h2 {
  font-weight: 800;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.section-head h2 em,
.final-cta h2 em,
.trust h3 em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.section-head p { color: var(--gray); font-size: clamp(1rem, 1.4vw, 1.06rem); }
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ---------- Zwei Bereiche ---------- */
.bereich-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 780px) { .bereich-grid { grid-template-columns: 1fr; } }
.bereich-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.6vw, 38px);
  position: relative;
  overflow: hidden;
  color: var(--ink);
  transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.3s ease;
}
.bereich-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; right: 0;
  height: 5px;
  background: var(--grad);
}
.bereich-card.lern::before { background: linear-gradient(90deg, var(--brand-orange), var(--accent-deep)); }
/* dezente 3D-Deko in der Ecke */
.bereich-card::after {
  content: "";
  position: absolute;
  right: -50px; bottom: -50px;
  width: 160px; height: 160px;
  border-radius: 32px;
  background: var(--grad-soft);
  transform: rotate(25deg);
  opacity: 0.5;
  transition: transform 0.4s ease;
  pointer-events: none;
}
.bereich-card:hover { transform: translateY(-5px); box-shadow: 0 24px 50px rgba(42, 18, 6, 0.14); }
.bereich-card:hover::after { transform: rotate(18deg) scale(1.12); }
.bereich-card:hover .bereich-ic { transform: translateY(-2px) rotate(-4deg); }
.bereich-card:hover .go { gap: 12px; }

.bereich-ic {
  width: 58px; height: 58px;
  border-radius: 16px;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 22px rgba(238, 111, 18, 0.32), inset 0 2px 4px rgba(255, 255, 255, 0.4);
  margin-bottom: 18px;
  position: relative; z-index: 1;
  transition: transform 0.3s ease;
}
.bereich-ic svg { width: 30px; height: 30px; stroke: #fff; fill: none; stroke-width: 2; }
.bereich-card .tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  position: relative; z-index: 1;
}
.bereich-card h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.6rem);
  font-weight: 700;
  margin: 5px 0 10px;
  letter-spacing: -0.015em;
  position: relative; z-index: 1;
}
.bereich-card > p { color: var(--gray); font-size: 0.98rem; margin-bottom: 16px; position: relative; z-index: 1; }
.bereich-feat {
  list-style: none;
  margin: 0 0 20px;
  display: grid;
  gap: 8px;
  position: relative; z-index: 1;
}
.bereich-feat li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.92rem;
  color: var(--ink);
}
.bereich-feat li::before {
  content: "";
  flex: none;
  margin-top: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23b8460a' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.bereich-card .go {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--accent);
  font-size: 0.95rem;
  position: relative; z-index: 1;
  transition: gap 0.25s ease;
}
.bereich-card .go svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Gestaffelte Scroll-Animation für Grids ---------- */
html.js .stagger.reveal > * { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.34, 1.4, 0.64, 1); }
html.js .stagger.reveal.is-visible > * { opacity: 1; transform: none; }
html.js .stagger.reveal.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
html.js .stagger.reveal.is-visible > *:nth-child(2) { transition-delay: 0.13s; }
html.js .stagger.reveal.is-visible > *:nth-child(3) { transition-delay: 0.21s; }
html.js .stagger.reveal.is-visible > *:nth-child(4) { transition-delay: 0.29s; }
html.js .stagger.reveal.is-visible > *:nth-child(5) { transition-delay: 0.37s; }
html.js .stagger.reveal.is-visible > *:nth-child(6) { transition-delay: 0.45s; }
@media (prefers-reduced-motion: reduce) {
  html.js .stagger.reveal > * { opacity: 1; transform: none; transition: none; }
}

/* ---------- Karten ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 820px) { .cards3 { grid-template-columns: 1fr; } }
.card {
  background: var(--white);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-card);
  padding: clamp(24px, 4vw, 30px);
}
.card .ic {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card .ic svg { width: 26px; height: 26px; stroke: var(--accent); fill: none; }
.card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--gray); font-size: 0.95rem; }

.card.mockup { padding: 0; overflow: hidden; }
.card.mockup .mockup-bg {
  height: 190px;
  padding: 18px;
  background:
    radial-gradient(120% 90% at 50% 0%, #fff6e6 0%, #ffe9cd 55%, #ffe0bb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
/* feines Punkteraster für Tiefe */
.card.mockup .mockup-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(122, 46, 10, 0.12) 1px, transparent 1.6px);
  background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 55%, #000, transparent 75%);
  mask-image: radial-gradient(70% 70% at 50% 55%, #000, transparent 75%);
}
.card.mockup .mockup-body { padding: 22px 26px 26px; }
.card.mockup svg { overflow: visible; position: relative; width: 100%; height: 100%; }

.mi-el { transform-box: fill-box; transform-origin: center; }
html.js .mi-el { opacity: 0; transform: translateY(8px) scale(0.96); }
.card.reveal.is-visible .mi-el { animation: mi-in 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.card.reveal.is-visible .mi-el.d1 { animation-delay: 0.08s; }
.card.reveal.is-visible .mi-el.d2 { animation-delay: 0.2s; }
.card.reveal.is-visible .mi-el.d3 { animation-delay: 0.34s; }
.card.reveal.is-visible .mi-el.d4 { animation-delay: 0.48s; }
.card.reveal.is-visible .mi-el.d5 { animation-delay: 0.6s; }
@keyframes mi-in { to { opacity: 1; transform: none; } }

.mi-breathe { transform-box: fill-box; transform-origin: center; }
.card.reveal.is-visible .mi-breathe {
  animation: mi-in 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, mi-breathe 3.6s ease-in-out 1.4s infinite;
}
@keyframes mi-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }

/* schwebende 3D-Deko-Elemente */
.iso-bob { transform-box: fill-box; transform-origin: center; }
.card.reveal.is-visible .iso-bob {
  animation: mi-in 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, iso-bob 4.2s ease-in-out 1.4s infinite;
}
.card.reveal.is-visible .iso-bob.d3 { animation-delay: 0.34s, 1.4s; }
.card.reveal.is-visible .iso-bob.d4 { animation-delay: 0.48s, 1.6s; }
@keyframes iso-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* 3D-Balken (wachsen von unten) */
.bar3d { transform-box: fill-box; transform-origin: 50% 100%; }
html.js .bar3d { transform: scaleY(0.04); opacity: 0; }
.card.reveal.is-visible .bar3d {
  animation: bar-grow 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.card.reveal.is-visible .bar3d.d1 { animation-delay: 0.1s; }
.card.reveal.is-visible .bar3d.d2 { animation-delay: 0.22s; }
.card.reveal.is-visible .bar3d.d3 { animation-delay: 0.34s; }
.card.reveal.is-visible .bar3d.d4 { animation-delay: 0.46s; }
.card.reveal.is-visible .bar3d.d5 { animation-delay: 0.58s; }
@keyframes bar-grow { to { transform: scaleY(1); opacity: 1; } }
.card.reveal.is-visible .bar3d.hi { animation: bar-grow 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.58s forwards, glow-pulse 2.6s ease-in-out 1.6s infinite; }
@keyframes glow-pulse { 0%, 100% { filter: drop-shadow(0 0 3px rgba(238, 111, 18, 0.5)); } 50% { filter: drop-shadow(0 0 12px rgba(238, 111, 18, 0.85)); } }

@media (prefers-reduced-motion: reduce) {
  html.js .mi-el { opacity: 1; transform: none; animation: none; }
  html.js .bar3d { opacity: 1; transform: none; }
  .mi-breathe, .iso-bob { animation: none !important; }
  .card.reveal.is-visible .bar3d, .card.reveal.is-visible .bar3d.hi { animation: none; }
  html.js .mini-bars i { height: var(--h); }
}

/* wachsende Balken (neurologische Erkrankung) */
.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 100px;
  width: 100%;
  max-width: 210px;
}
.mini-bars i {
  flex: 1;
  background: #f2ddc5;
  border-radius: 5px 5px 0 0;
  height: var(--h);
  transition: height 1s cubic-bezier(0.16, 1, 0.3, 1);
}
html.js .mini-bars i { height: 10px; }
.mini-bars i.hi { background: var(--accent-bright); }
.mini-bars i:nth-child(1) { --h: 34%; }
.mini-bars i:nth-child(2) { --h: 52%; }
.mini-bars i:nth-child(3) { --h: 44%; }
.mini-bars i:nth-child(4) { --h: 72%; }
.mini-bars i:nth-child(5) { --h: 96%; }
.card.reveal.is-visible .mini-bars i { height: var(--h); }
.card.reveal.is-visible .mini-bars i:nth-child(1) { transition-delay: 0.05s; }
.card.reveal.is-visible .mini-bars i:nth-child(2) { transition-delay: 0.15s; }
.card.reveal.is-visible .mini-bars i:nth-child(3) { transition-delay: 0.25s; }
.card.reveal.is-visible .mini-bars i:nth-child(4) { transition-delay: 0.35s; }
.card.reveal.is-visible .mini-bars i:nth-child(5) { transition-delay: 0.45s; }
@media (prefers-reduced-motion: reduce) { .mini-bars i { transition: none; } }

/* ---------- Störungsbilder ---------- */
.category-group { margin-bottom: 52px; }
.category-group:last-child { margin-bottom: 0; }
.category-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.category-head h3 { flex: 1 1 auto; min-width: 0; overflow-wrap: break-word; }
.category-head .cic { flex: none; }
.category-head .cic {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  flex: none;
  box-shadow: 0 8px 18px rgba(238, 111, 18, 0.3), inset 0 2px 3px rgba(255, 255, 255, 0.4);
}
.category-head .cic svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 2; }
.category-head h3 { font-size: clamp(1.1rem, 2.2vw, 1.32rem); font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.category-head .count {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  white-space: nowrap;
}
.disorder-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); gap: 16px; }
.disorder-card {
  background: var(--white);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-card);
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.disorder-card h4 { overflow-wrap: break-word; hyphens: auto; }
.disorder-card::before {
  content: "";
  position: absolute;
  left: 0; top: 18px; bottom: 18px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.disorder-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(42, 18, 6, 0.1); border-color: var(--accent-line); }
.disorder-card:hover::before { opacity: 1; }
.disorder-card h4 { font-size: 1.02rem; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.disorder-card p { margin: 0; color: var(--gray); font-size: 0.92rem; }

.info-box {
  background: var(--white);
  border: 1px solid var(--card-line);
  border-left: 4px solid var(--accent-bright);
  border-radius: 12px;
  padding: 22px 26px;
  margin-top: 28px;
  color: var(--gray);
}
.info-box strong { color: var(--ink); }

/* ---------- Timeline (Ablauf) ---------- */
.timeline { display: flex; flex-direction: column; max-width: 660px; margin: 0 auto; }
.tstep { display: flex; gap: 20px; padding-bottom: 40px; position: relative; }
.tstep:last-child { padding-bottom: 0; }
.tstep::before {
  content: "";
  position: absolute;
  left: 19px; top: 44px; bottom: 0;
  width: 1.5px;
  background: var(--line);
}
.tstep:last-child::before { display: none; }
.tstep::after {
  content: "";
  position: absolute;
  left: 19px; top: 44px;
  height: 0; width: 1.5px;
  background: var(--accent-bright);
  transition: height 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.tstep:last-child::after { display: none; }
.timeline.is-visible .tstep::after { height: calc(100% - 44px); }
.timeline.is-visible .tstep:nth-child(1)::after { transition-delay: 0.1s; }
.timeline.is-visible .tstep:nth-child(2)::after { transition-delay: 0.5s; }
.timeline.is-visible .tstep:nth-child(3)::after { transition-delay: 0.9s; }
.timeline.is-visible .tstep:nth-child(4)::after { transition-delay: 1.3s; }
.tnum {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1.5px solid var(--accent-line);
  color: var(--accent-deep);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.tstep h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 6px; }
.tstep p { color: var(--gray); font-size: 0.95rem; margin-bottom: 6px; }
.tstep .calls { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 8px; }
.tstep .calls a { font-weight: 700; color: var(--accent); white-space: nowrap; }

/* ---------- Foto-Grid ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.photo-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--card-line);
  box-shadow: 0 14px 34px rgba(42, 18, 6, 0.08);
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-card figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.9rem 1.1rem;
  background: linear-gradient(0deg, rgba(42, 18, 6, 0.82), rgba(42, 18, 6, 0));
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---------- Team ---------- */
.diff-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin-bottom: 36px; }
.diff-item {
  background: var(--white);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-card);
  padding: 18px 20px;
  text-align: center;
}
.diff-item strong { display: block; color: var(--accent); font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 1.3rem; }
.diff-item span { color: var(--gray); font-size: 0.88rem; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.team-card {
  background: var(--white);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-card);
  padding: 30px 26px;
  text-align: center;
}
.team-photo {
  width: 130px; height: 130px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 3px solid var(--accent-line);
  background: var(--grad-soft);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
/* Platzhalter mit Initialen, solange kein Foto vorliegt */
.team-photo-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-soft);
  color: var(--accent);
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 2.5rem;
  letter-spacing: 0.01em;
  user-select: none;
}
.team-card h3 { font-size: 1.12rem; font-weight: 700; }
.team-card .role { color: var(--accent); font-weight: 700; font-size: 0.86rem; margin: 4px 0 10px; }
.team-card p { color: var(--gray); font-size: 0.92rem; }

.bio-box {
  margin-top: 34px;
  background: var(--white);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-card);
  padding: clamp(24px, 4vw, 34px);
}
.bio-box .eyebrow { margin-bottom: 20px; }
.timeline-compact { list-style: none; display: grid; gap: 14px; }
.timeline-compact li {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 16px;
  align-items: start;
  font-size: 0.94rem;
  color: var(--gray);
}
.timeline-compact li b {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--accent);
  line-height: 1.3;
}

/* ---------- Trust ---------- */
.trust {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
  border: 1px solid var(--line);
}
@media (max-width: 800px) { .trust { grid-template-columns: 1fr; } }
.trust .photo { position: relative; background: var(--accent-deep); min-height: 300px; }
.trust .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.trust .copy {
  background: var(--accent-deep);
  color: #fff;
  padding: clamp(28px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.trust .copy h3 { font-family: var(--f-serif); font-weight: 400; font-style: italic; font-size: clamp(1.4rem, 3vw, 1.75rem); line-height: 1.32; margin-bottom: 16px; }
.trust .copy h3 em { color: #ffd9b0; font-style: italic; }
.trust .copy p { color: rgba(255, 255, 255, 0.82); margin-bottom: 24px; }
.trust .copy .btn-primary { background: #fff; color: var(--accent-deep); width: fit-content; }
.trust .copy .btn-primary .btn-arrow { background: var(--accent-soft); color: var(--accent-deep); }

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 8vw, 70px) 24px;
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(circle, rgba(238, 111, 18, 0.16) 1px, transparent 1.4px);
  background-size: 22px 22px;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 50% 50%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 100% at 50% 50%, #000 40%, transparent 100%);
}
.final-cta h2 { font-weight: 800; font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 10px; letter-spacing: -0.02em; }
.final-cta p { color: var(--gray); margin-bottom: 26px; }
.final-cta .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Kontakt ---------- */
.location-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.location-card {
  background: var(--white);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-card);
  padding: clamp(24px, 4vw, 30px);
}
.location-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.location-card p { color: var(--gray); }
.location-card .loc-services {
  margin-top: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
}
.location-card .btn { margin-top: 14px; }
.location-card a:not(.btn) { color: var(--accent); font-weight: 700; }
.location-card .btn-primary { color: #fff; }
.map-embed { margin-top: 16px; }
.map-placeholder {
  background: var(--grad-soft);
  border: 1px dashed var(--accent-line);
  border-radius: 12px;
  padding: 16px;
}
.map-placeholder p { font-size: 0.8rem; color: var(--gray); margin-bottom: 12px; }
.btn-map {
  display: inline-flex;
  align-items: center;
  background: var(--accent-deep);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.15rem;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}
.map-embed iframe { width: 100%; height: 260px; border: 0; border-radius: 12px; display: block; }
.contact-note {
  margin-top: 26px;
  padding: 22px 26px;
  background: var(--accent-deep);
  color: #fff;
  border-radius: var(--radius-card);
}
.contact-note a { color: #fff; font-weight: 700; text-decoration: underline; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--ink);
  color: #f6ece1;
  padding: clamp(48px, 8vw, 72px) 0 40px;
  position: relative;
  overflow: hidden;
}
.foot-links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.85rem;
  color: rgba(246, 236, 225, 0.72);
  position: relative;
  z-index: 2;
}
.foot-links a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.foot-links a:hover { border-color: #fff; }
.foot-links .fl-right { display: flex; flex-wrap: wrap; gap: 12px 20px; }
@media (max-width: 640px) {
  .foot-links { flex-direction: column; align-items: flex-start; gap: 16px; }
}
.foot-wordmark {
  font-family: var(--f-sans);
  font-weight: 800;
  font-size: clamp(2.4rem, 12vw, 8.5rem);
  color: #fff;
  opacity: 0.06;
  text-align: center;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-top: clamp(24px, 5vw, 44px);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

/* ---------- Einwilligungs-Hinweis ---------- */
.consent[hidden] { display: none; }
.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  max-width: 620px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--card-line);
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(42, 18, 6, 0.28);
  padding: 20px 22px;
  transform: translateY(calc(100% + 24px));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.consent.show { transform: none; }
.consent-text {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--gray);
  margin-bottom: 14px;
}
.consent-text strong { color: var(--ink); }
.consent-text code { font-size: 0.85em; background: var(--bg); padding: 1px 5px; border-radius: 5px; }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent-actions .btn { font-size: 0.9rem; padding: 10px 18px; }
.consent-actions .btn-outline { padding: 10px 18px; }
@media (prefers-reduced-motion: reduce) { .consent { transition: none; } }

/* Dauerhaft erreichbarer Datenschutz-Schalter (unten links) */
.privacy-fab {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 150;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--card-line);
  background: var(--white);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(42, 18, 6, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.privacy-fab svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
}
.privacy-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(42, 18, 6, 0.22);
}
.privacy-fab[hidden] { display: none; }
@media (max-width: 520px) {
  .privacy-fab { width: 40px; height: 40px; left: 12px; bottom: 12px; }
  .privacy-fab svg { width: 19px; height: 19px; }
}
@media (prefers-reduced-motion: reduce) { .privacy-fab { transition: none; } }

.consent-reopen {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
}
.foot-links .consent-reopen { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.3); text-decoration: none; }
.foot-links .consent-reopen:hover { border-color: #fff; }
.legal-note .consent-reopen { color: var(--accent); font-weight: 700; }

/* ---------- Legal pages ---------- */
.legal-page .site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}
.legal-page .logo { font-weight: 800; color: var(--ink); }
.legal-page main { padding: 3rem 0 5rem; }
.legal-page h1 { color: var(--ink); margin-bottom: 1.5rem; letter-spacing: -0.02em; }
.legal-page h2 { font-size: 1.3rem; margin-top: 2.2rem; margin-bottom: 0.6rem; color: var(--ink); }
.legal-page p { margin-bottom: 0.8rem; color: var(--gray); }
.legal-page .container { max-width: 780px; }
.back-link { display: inline-block; margin-bottom: 2rem; font-weight: 700; }
.legal-page ul { margin: 0 0 0.8rem 1.4rem; color: var(--gray); }
.legal-note { margin-top: 3rem; font-size: 0.85rem; color: var(--text-light); }
