/* Sabine Kuhn-Behrenbeck – Website
   Farben abgeleitet von der dunkelblauen Praxiswand */

@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-latin-wght-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --wand: #1f3443;        /* Hauptfarbe – Wandblau */
  --wand-tief: #142430;   /* dunkler Ton für Footer / Hover */
  --wand-hell: #2d4757;
  --salbei: #a9bcc6;      /* helles Blau-Grau (Sideboard) */
  --nebel: #e9eff1;       /* sehr helles Blau-Grau */
  --papier: #f8f6f2;      /* warmes Off-White */
  --weiss: #ffffff;
  --holz: #b07c4c;        /* warmer Holzton als Akzent */
  --text: #1c2830;
  --text-leise: #52606a;
  --linie: #d9dfe2;

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --max: 1120px;
  --radius: 14px;
  --schatten: 0 10px 30px rgba(20, 36, 48, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--papier);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wand); text-underline-offset: 3px; }
a:hover { color: var(--holz); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--wand);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.schmal { max-width: 760px; }

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

:focus-visible { outline: 2px solid var(--holz); outline-offset: 3px; }

/* ---------- Header ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 246, 242, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.kopf.gescrollt { border-bottom-color: var(--linie); }
.kopf-innen {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 78px;
}
.marke { text-decoration: none; color: var(--wand); line-height: 1.15; }
.marke strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.3rem; }
.marke span { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-leise); }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .3rem; align-items: center; }
.nav a {
  display: inline-block; padding: .5rem .85rem; border-radius: 999px;
  text-decoration: none; color: var(--text); font-size: 1rem;
}
.nav a:hover { background: var(--nebel); color: var(--wand); }
.nav a[aria-current="page"] { color: var(--wand); font-weight: 600; }
.nav a.knopf { color: #fff; }
.nav a.knopf:hover { color: #fff; background: var(--wand-tief); }

.menue-knopf {
  display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--wand);
}
.menue-knopf svg { width: 28px; height: 28px; }

@media (max-width: 860px) {
  .menue-knopf { display: block; }
  .nav {
    position: fixed; inset: 78px 0 auto 0;
    background: var(--papier); border-bottom: 1px solid var(--linie);
    padding: 1rem 1.25rem 1.5rem;
    transform: translateY(-120%); transition: transform .25s ease;
    box-shadow: var(--schatten);
  }
  .nav.offen { transform: translateY(0); }
  .nav ul { flex-direction: column; align-items: stretch; gap: .2rem; }
  .nav a { display: block; padding: .8rem 1rem; border-radius: 10px; }
  .nav a.knopf { text-align: center; margin-top: .5rem; }
}

/* ---------- Buttons ---------- */
.knopf, .knopf-hell, .knopf-rand {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: 999px;
  font-family: var(--sans); font-size: 1rem; font-weight: 600;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.knopf { background: var(--wand); color: #fff; }
.knopf:hover { background: var(--wand-tief); color: #fff; }
.knopf-hell { background: #fff; color: var(--wand); }
.knopf-hell:hover { background: var(--nebel); color: var(--wand); }
.knopf-rand { border-color: currentColor; color: inherit; background: transparent; }
.knopf-rand:hover { background: rgba(255,255,255,.1); color: inherit; }

/* ---------- Hero ---------- */
.hero {
  background: var(--wand);
  color: #e8eef1;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -140px; top: -140px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(169,188,198,.18), rgba(169,188,198,0) 70%);
  pointer-events: none;
}
.hero-innen { padding: clamp(4rem, 10vw, 7.5rem) 0 clamp(3.5rem, 8vw, 6rem); position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 17ch; }
.hero .einleitung { font-size: 1.25rem; max-width: 52ch; color: #cfdbe1; }
.hero .knoepfe { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero .knopf-rand { color: #fff; }

.ueberzeile {
  display: inline-block; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--salbei); margin-bottom: 1rem; font-weight: 600;
}
.ueberzeile.dunkel { color: var(--holz); }

.seitenkopf { background: var(--wand); color: #d6e1e6; }
.seitenkopf .container { padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem); }
.seitenkopf h1 { color: #fff; max-width: 20ch; }
.seitenkopf p { max-width: 60ch; font-size: 1.2rem; margin: 0; }

/* ---------- Sektionen ---------- */
.sektion { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.sektion.nebel { background: var(--nebel); }
.sektion.weiss { background: var(--weiss); }
.sektion.dunkel { background: var(--wand); color: #d6e1e6; }
.sektion.dunkel h2, .sektion.dunkel h3 { color: #fff; }
.sektion-kopf { max-width: 680px; margin-bottom: 2.75rem; }
.sektion-kopf p { color: var(--text-leise); font-size: 1.15rem; }
.sektion.dunkel .sektion-kopf p { color: #c2d0d7; }

.raster-2 { display: grid; gap: 1.75rem; grid-template-columns: repeat(2, 1fr); }
.raster-3 { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, 1fr); }
.raster-4 { display: grid; gap: 1.25rem; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .raster-3, .raster-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .raster-2, .raster-3, .raster-4 { grid-template-columns: 1fr; } }

.zwei-spalten { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: 1fr 1fr; align-items: start; }
.zwei-spalten.mitte { align-items: center; }
@media (max-width: 860px) { .zwei-spalten { grid-template-columns: 1fr; } }

/* ---------- Karten ---------- */
.karte {
  background: #fff; border-radius: var(--radius); padding: 2rem;
  border: 1px solid var(--linie);
}
.karte h3 { margin-bottom: .4rem; }
.karte p:last-child { margin-bottom: 0; }

.leistung {
  background: #fff; border-radius: calc(var(--radius) + 4px); overflow: hidden;
  border: 1px solid var(--linie); display: flex; flex-direction: column;
  box-shadow: var(--schatten);
}
.leistung-kopf {
  background: var(--wand); color: #fff; padding: 2.25rem 2.25rem 2rem; position: relative;
}
.leistung-kopf.hell { background: var(--salbei); color: var(--wand-tief); }
.leistung-kopf .ueberzeile { margin-bottom: .5rem; }
.leistung-kopf.hell .ueberzeile { color: var(--wand); }
.leistung-kopf h3 { color: inherit; font-size: 1.75rem; margin: 0; }
.leistung-kopf svg { position: absolute; right: 1.75rem; top: 1.75rem; width: 44px; height: 44px; opacity: .55; }
.leistung-text { padding: 2rem 2.25rem 2.25rem; display: flex; flex-direction: column; flex: 1; }
.leistung-text ul { padding-left: 1.1rem; margin: 0 0 1.5rem; color: var(--text-leise); }
.leistung-text .knopf { margin-top: auto; align-self: flex-start; }

.liste-punkte { list-style: none; padding: 0; margin: 0; }
.liste-punkte li { position: relative; padding-left: 1.6rem; margin-bottom: .55rem; }
.liste-punkte li::before {
  content: ""; position: absolute; left: 0; top: .72em; width: .55rem; height: .55rem;
  border-radius: 50%; background: var(--holz);
}

.themen { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 0; list-style: none; }
.themen li {
  background: #fff; border: 1px solid var(--linie); border-radius: 999px;
  padding: .45rem 1rem; font-size: 1rem;
}

.zitat {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.45; color: var(--wand); margin: 0; max-width: 34ch;
}
.sektion.dunkel .zitat { color: #fff; }
.zitat-quelle { margin-top: 1rem; font-size: 1rem; color: var(--text-leise); }

.setting-nr {
  font-family: var(--serif); font-size: 2.4rem; color: var(--salbei); line-height: 1; margin-bottom: .75rem;
}

/* ---------- Ablauf / Schritte ---------- */
.schritte { counter-reset: schritt; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
.schritte li {
  counter-increment: schritt; position: relative; padding: 1.5rem 1.5rem 1.5rem 4.75rem;
  background: #fff; border-radius: var(--radius); border: 1px solid var(--linie);
}
.schritte li::before {
  content: counter(schritt); position: absolute; left: 1.5rem; top: 1.45rem;
  width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--wand); color: #fff;
  display: grid; place-items: center; font-family: var(--serif); font-size: 1.1rem;
}
.schritte h3 { font-size: 1.2rem; margin-bottom: .25rem; }
.schritte p { margin: 0; color: var(--text-leise); }

/* ---------- Ehrenamt ---------- */
.ehrenamt {
  display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: start;
  background: #fff; border-radius: calc(var(--radius) + 4px); padding: clamp(1.75rem, 4vw, 3rem);
  border-left: 5px solid var(--holz); box-shadow: var(--schatten);
}
.ehrenamt-symbol {
  width: 74px; height: 74px; border-radius: 50%; background: var(--nebel);
  display: grid; place-items: center; color: var(--wand);
}
.ehrenamt-symbol svg { width: 38px; height: 38px; }
@media (max-width: 600px) { .ehrenamt { grid-template-columns: 1fr; } }

/* ---------- Hinweisbox (Kosten offen) ---------- */
.hinweis {
  background: var(--nebel); border-radius: var(--radius); padding: 1.75rem 2rem;
  border: 1px dashed var(--salbei);
}
.hinweis h3 { font-size: 1.25rem; }
.hinweis p:last-child { margin-bottom: 0; }

/* ---------- Über mich ---------- */
.portrait {
  border-radius: calc(var(--radius) + 6px); overflow: hidden; aspect-ratio: 4 / 5;
  background: var(--nebel); position: relative; box-shadow: var(--schatten);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-rahmen { position: relative; }
.portrait-rahmen::before {
  content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 2px solid var(--salbei); border-radius: calc(var(--radius) + 6px); z-index: -1;
}

.zeitstrahl { list-style: none; margin: 0; padding: 0; position: relative; }
.zeitstrahl::before {
  content: ""; position: absolute; left: 11px; top: .6rem; bottom: .6rem; width: 2px; background: var(--linie);
}
.zeitstrahl li { position: relative; padding: 0 0 2rem 3rem; }
.zeitstrahl li:last-child { padding-bottom: 0; }
.zeitstrahl li::before {
  content: ""; position: absolute; left: 4px; top: .45rem; width: 16px; height: 16px; border-radius: 50%;
  background: var(--papier); border: 3px solid var(--wand);
}
.zeitstrahl .wann {
  display: block; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--holz); font-weight: 600;
}
.zeitstrahl h3 { font-size: 1.2rem; margin: .1rem 0 .2rem; }
.zeitstrahl p { margin: 0; color: var(--text-leise); }

.zertifikat {
  background: #fff; border: 1px solid var(--linie); border-radius: var(--radius);
  padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start;
}
.zertifikat svg { flex: none; width: 34px; height: 34px; color: var(--holz); }
.zertifikat h3 { font-size: 1.1rem; margin: 0 0 .2rem; }
.zertifikat p { margin: 0; font-size: 1rem; color: var(--text-leise); }

/* ---------- Kontakt ---------- */
.kontakt-daten { list-style: none; padding: 0; margin: 0 0 2rem; }
.kontakt-daten li { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.1rem; }
.kontakt-daten svg { flex: none; width: 24px; height: 24px; margin-top: .25rem; color: var(--salbei); }
.kontakt-daten a { color: #fff; }
.kontakt-daten a:hover { color: var(--salbei); }
.sektion:not(.dunkel) .kontakt-daten svg { color: var(--holz); }
.sektion:not(.dunkel) .kontakt-daten a { color: var(--wand); }

.formular {
  background: #fff; color: var(--text); border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.75rem, 4vw, 2.5rem); box-shadow: 0 20px 50px rgba(0,0,0,.18);
}
.formular h3 { margin-bottom: 1.25rem; }
.feld { margin-bottom: 1.1rem; }
.feld label { display: block; font-weight: 600; font-size: .98rem; margin-bottom: .35rem; }
.feld input, .feld select, .feld textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  padding: .8rem 1rem; border: 1.5px solid var(--linie); border-radius: 10px; background: var(--papier);
  transition: border-color .2s, background .2s;
}
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--wand); background: #fff; }
.feld textarea { min-height: 150px; resize: vertical; }
.feld-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .feld-reihe { grid-template-columns: 1fr; } }
.einwilligung { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; color: var(--text-leise); margin: .5rem 0 1.4rem; }
.einwilligung input { margin-top: .35rem; width: 18px; height: 18px; accent-color: var(--wand); flex: none; }
.honig { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.formular-status { margin-top: 1rem; font-size: 1rem; min-height: 1.5em; }
.formular-status.ok { color: #2f6b4a; }
.formular-status.fehler { color: #a33d2f; }
.formular .knopf[disabled] { opacity: .6; cursor: wait; }

/* ---------- Abschluss-CTA ---------- */
.cta {
  background: var(--wand); color: #d6e1e6; border-radius: calc(var(--radius) + 8px);
  padding: clamp(2.5rem, 6vw, 4rem); display: flex; gap: 2rem; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
}
.cta h2 { color: #fff; margin-bottom: .4rem; }
.cta p { margin: 0; max-width: 52ch; }

/* ---------- Rechtstexte ---------- */
.rechtstext h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.rechtstext h3 { font-size: 1.15rem; margin-top: 1.75rem; }
.rechtstext p, .rechtstext li { color: var(--text); }

/* ---------- Footer ---------- */
.fuss { background: var(--wand-tief); color: #aebcc4; font-size: 1rem; }
.fuss-innen { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding: 3.5rem 0 2.5rem; }
.fuss h4 { color: #fff; font-family: var(--sans); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; margin-bottom: 1rem; }
.fuss strong.name { display: block; color: #fff; font-family: var(--serif); font-weight: 500; font-size: 1.3rem; margin-bottom: .5rem; }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss li { margin-bottom: .4rem; }
.fuss a { color: #d6e1e6; text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss-unten {
  border-top: 1px solid rgba(255,255,255,.08); padding: 1.25rem 0 1.5rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .9rem;
}
@media (max-width: 760px) { .fuss-innen { grid-template-columns: 1fr; } }

/* ---------- Einblenden ---------- */
@media (prefers-reduced-motion: no-preference) {
  .einblenden { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
  .einblenden.sichtbar { opacity: 1; transform: none; }
}

.sektion.dunkel .formular h3 { color: var(--wand); }
.sektion.dunkel .formular a { color: var(--wand); }
.platzhalter { background: #fff3cd; padding: 0 .3em; border-radius: 4px; }

/* Hero mit Vertrauens-Kachel */
.hero-raster { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-karte {
  background: rgba(169, 188, 198, .12); border: 1px solid rgba(169, 188, 198, .3);
  border-radius: calc(var(--radius) + 6px); padding: 2rem 2rem 1.6rem; backdrop-filter: blur(6px);
}
.hero-karte ul { list-style: none; margin: 0; padding: 0; }
.hero-karte li { padding: 1rem 0; border-bottom: 1px solid rgba(169, 188, 198, .22); }
.hero-karte li:first-child { padding-top: .25rem; }
.hero-karte strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.55rem; color: #fff; line-height: 1.2; }
.hero-karte span:not(.ueberzeile) { font-size: 1rem; color: #c2d0d7; }
.hero-ort { margin: 1.1rem 0 0; font-size: .95rem; color: var(--salbei); }
.hero-ort::before { content: "●"; margin-right: .5rem; font-size: .7em; vertical-align: middle; }
@media (max-width: 900px) { .hero-raster { grid-template-columns: 1fr; } }

@media (max-width: 520px) {
  .marke strong { font-size: 1.1rem; }
  .marke span { font-size: .7rem; letter-spacing: .05em; }
  .portrait-rahmen::before { inset: .75rem -.6rem -.75rem .75rem; }
}
body { overflow-x: clip; }
