/* --- Schriften, lokal eingebunden -------------------------------------
   Bewusst NICHT ueber fonts.googleapis.com, sondern aus dem eigenen
   Verzeichnis. Nur so bleibt die Seite datenschutzrechtlich sauber.
   Die Dateinamen entsprechen einem unveraenderten Google-Fonts-Download.
   Der Browser probiert die Quellen der Reihe nach durch: zuerst woff2
   (klein und schnell), dann die TTF-Dateien aus dem Download.
   -------------------------------------------------------------------- */

@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("Lora/Lora-VariableFont_wght.woff2") format("woff2"),
       url("Lora/Lora-VariableFont_wght.ttf") format("truetype"),
       url("Lora/static/Lora-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Lora";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("Lora/Lora-Italic-VariableFont_wght.woff2") format("woff2"),
       url("Lora/Lora-Italic-VariableFont_wght.ttf") format("truetype"),
       url("Lora/static/Lora-Italic.ttf") format("truetype");
}

@font-face {
  font-family: "Oxygen";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("Oxygen/Oxygen-Regular.woff2") format("woff2"),
       url("Oxygen/Oxygen-Regular.ttf") format("truetype"),
       url("Oxygen/static/Oxygen-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Oxygen";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("Oxygen/Oxygen-Bold.woff2") format("woff2"),
       url("Oxygen/Oxygen-Bold.ttf") format("truetype"),
       url("Oxygen/static/Oxygen-Bold.ttf") format("truetype");
}

:root {
  --papier: #f7f7f4;
  --papier-warm: #efece5;
  --weiss: #ffffff;
  --tinte: #23292a;
  --tinte-leise: #67716d;
  --gruen: #3a5a52;
  --gruen-tief: #2b423c;
  --linie: #ddded8;
  --linie-zart: #e9eae4;

  --serif: "Lora", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Oxygen", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --rand: 1.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: 66rem; margin: 0 auto; padding: 0 var(--rand); }

a { color: var(--gruen-tief); text-underline-offset: .18em; }
a:hover { color: var(--tinte); }

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

.skip { position: absolute; left: -9999px; background: #fff; padding: .75rem 1rem; z-index: 30; }
.skip:focus { left: 0; }

h1, h2, h3 {
  margin: 0;
  text-wrap: balance;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.005em;
}

/* Überschriftenmuster: Hauptteil, darunter der kursive Nachsatz.
   Eigene Zeile, weil nach einem Halbgeviertstrich sonst ein Umbruch
   mitten im Nachsatz möglich ist — auch mit geschütztem Leerzeichen. */
h1 .nach, h2 .nach, h3 .nach {
  display: block;
  font-style: italic;
  color: var(--tinte-leise);
}

p { margin: 0 0 1.05rem; max-width: 36rem; }
p:last-child { margin-bottom: 0; }

/* --- Kopfzeile --- */

.masthead {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247, 247, 244, .93);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linie-zart);
}
.masthead .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; padding-top: .85rem; padding-bottom: .85rem;
}
.wordmark {
  font-family: var(--serif); font-size: 1.15rem; text-decoration: none; color: var(--tinte);
}
.wordmark em { font-style: italic; color: var(--tinte-leise); font-size: .95rem; }
.masthead nav ul { list-style: none; display: flex; flex-wrap: wrap; column-gap: 1.35rem; row-gap: .3rem; margin: 0; padding: 0; font-size: .92rem; }
.masthead nav li { white-space: nowrap; }
.masthead nav a { text-decoration: none; color: var(--tinte-leise); }
.masthead nav a:hover { color: var(--gruen-tief); }

/* --- Bilder ueber die volle Fensterbreite --- */

/* Laeuft ueber die gesamte Fensterbreite, unabhaengig vom Satzspiegel.
   Kein 100vw, damit bei sichtbarer Scrollleiste kein Querscrollen entsteht. */
.vollbreite {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: auto;
}
body { overflow-x: hidden; }

.hero-bild, .bildband {
  position: relative;
  overflow: hidden;
  background: var(--papier-warm);
}
.hero-bild img, .bildband img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
/* Bildausschnitt: zweiter Wert verschiebt den sichtbaren Bereich nach
   oben (0%) oder unten (100%). Bei Bedarf hier anpassen. */
.hero-bild img { object-position: center 45%; }
.bildband img { object-position: center 50%; }

.hero-bild { height: clamp(28rem, 82vh, 38rem); }
.bildband { height: clamp(17rem, 42vh, 22rem); margin-top: 1rem; }

/* Platzhalter, solange kein Foto eingesetzt ist */
.bild-platzhalter {
  position: absolute; inset: 0;
  display: flex; align-items: flex-start; justify-content: flex-start;
  text-align: left; padding: 1.25rem 1.5rem;
  color: var(--tinte-leise); font-size: .9rem; line-height: 1.5;
  background: repeating-linear-gradient(45deg, #efece5, #efece5 12px, #eae7df 12px, #eae7df 24px);
}


.eyebrow { font-size: .95rem; color: var(--tinte-leise); margin-bottom: 1.1rem; }
.hero h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); max-width: 15em; margin-bottom: 1.35rem; }


.button {
  display: inline-block; background: var(--gruen); color: var(--weiss);
  text-decoration: none; padding: .9rem 1.8rem; font-size: 1rem;
  border: 1px solid var(--gruen);
  transition: background .18s ease;
}
.button:hover { background: var(--gruen-tief); color: var(--weiss); }

.portrait {
  width: 100%; aspect-ratio: 4/5;
  background: var(--papier-warm); border: 1px solid var(--linie);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem; text-align: center; font-size: .85rem; color: var(--tinte-leise);
}
img.portrait { display: block; object-fit: cover; padding: 0; border: 0; }


/* --- Text auf dem Bild --- */

/* Dunkler Verlauf, damit die Schrift auf jedem Foto lesbar bleibt.
   Unten staerker, weil der Text dort sitzt. */
.bild-schleier {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(26, 32, 30, .30) 0%,
    rgba(26, 32, 30, .18) 35%,
    rgba(26, 32, 30, .62) 100%);
}

.bild-text {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding-bottom: 2.5rem;
  color: #fff;
}
.bild-text .wrap { width: 100%; }
.bild-text .eyebrow { color: rgba(255,255,255,.82); margin-bottom: .9rem; }
.bild-text h1 { color: #fff; text-wrap: balance; }
.bild-text h1 .nach { color: rgba(255,255,255,.78); }

.button.hell { background: #fff; color: var(--gruen-tief); border-color: #fff; margin-top: 1.6rem; }
.button.hell:hover { background: var(--papier-warm); color: var(--gruen-tief); }

/* Kernsatz auf dem Bildband */
.band-satz {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1.34;
  color: #fff;
  max-width: 24em;
  margin: 0;
}

.hero-text { padding: 2.25rem var(--rand) 3rem; }
.hero-text .lede { font-size: 1.15rem; color: var(--tinte-leise); }

/* --- Abschnitte --- */

section { padding: 4.5rem 0; border-top: 1px solid var(--linie-zart); }
.tinted { background: var(--papier-warm); border-top: 0; }

.section-head { margin-bottom: 2.5rem; max-width: 40rem; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: .8rem; }
.section-head p { color: var(--tinte-leise); }

/* --- Zitate --- */

.voices { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.voices li {
  background: var(--weiss);
  border: 1px solid var(--linie-zart);
  padding: 1.5rem 1.6rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.42;
}

/* --- Angebot --- */

.offer { display: grid; gap: 2.25rem; }
/* Spalte als Flexbox, damit der Mehr-Link in allen drei Spalten
   auf derselben Hoehe am unteren Ende steht. */
.offer article {
  border-top: 1px solid var(--linie); padding-top: 1.1rem;
  display: flex; flex-direction: column;
}
.offer h3 { font-size: 1.35rem; margin-bottom: .55rem; }
.offer article p { color: var(--tinte-leise); font-size: 1rem; }
.offer .mark { display: none; }
.offer .mehr { margin-top: auto; padding-top: 1.4rem; }
.offer .mehr a {
  font-family: var(--serif); font-size: 1.05rem; color: var(--gruen-tief);
  text-decoration: none; border-bottom: 1px solid var(--gruen); padding-bottom: 2px;
}
.offer .mehr a:hover { color: var(--tinte); border-bottom-color: var(--tinte); }

/* --- Haltung --- */

.stance p { color: var(--tinte-leise); }
.stance .pull {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.35rem, 3.4vw, 1.95rem);
  line-height: 1.34; color: var(--tinte);
  max-width: 21em; margin-bottom: 1.75rem;
}


/* --- Person --- */

/* Oben Foto und Einleitung nebeneinander, darunter
   Qualifikationen und Schwerpunkte als zwei Spalten. */
.person-kopf { display: grid; gap: 2rem; align-items: center; margin-bottom: 3.5rem; }
.person-kopf .portrait { aspect-ratio: 4/3; }
.person-listen { display: grid; gap: 2.5rem; align-items: start; }
.person-listen h3 { font-size: 1.3rem; }
.credentials { list-style: none; margin: 1rem 0 0; padding: 0; font-size: 1rem; color: var(--tinte-leise); }
.credentials li { padding: .65rem 0; border-top: 1px solid var(--linie); }
.person .badge-row { margin-top: 2.5rem; }

/* --- Honorar --- */

.fees { width: 100%; max-width: 36rem; border-collapse: collapse; margin-bottom: 1.4rem; }
.fees td { padding: .9rem 0; border-bottom: 1px solid var(--linie); vertical-align: top; }
.fees td:last-child { text-align: right; white-space: nowrap; }
.fees caption { position: absolute; left: -9999px; }
.note { font-size: .95rem; color: var(--tinte-leise); }

/* --- Kontakt --- */

.contact-list { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; gap: 1.4rem; }
.contact-list .label { display: block; font-size: .82rem; color: var(--tinte-leise); margin-bottom: .15rem; }
.contact-list .value { font-size: 1.15rem; font-family: var(--serif); }

/* --- Fuß --- */

footer { background: var(--gruen-tief); color: #c2cdc8; padding: 2.5rem 0; font-size: .95rem; }
footer ul { list-style: none; display: flex; gap: 1.5rem; margin: 0 0 .7rem; padding: 0; }
footer a { color: #eef1ec; }
footer p { margin: 0; }

/* --- Unterseiten --- */

.crumb { font-size: .9rem; color: var(--tinte-leise); margin-bottom: 1.4rem; }
.crumb a { color: var(--tinte-leise); }

.article { padding: 3rem 0 4.5rem; }
.article h1 { font-size: clamp(2rem, 5.2vw, 3.2rem); max-width: 16em; margin-bottom: 1.3rem; }
.article .lede { font-size: 1.12rem; color: var(--tinte-leise); max-width: 34rem; margin-bottom: 2.5rem; }
/* An die Startseite angeglichen: groessere Zwischenueberschriften,
   Fliesstext in 1rem und im leiseren Grau wie Angebot und Ablauf. */
.article h2 { font-size: clamp(1.6rem, 3.8vw, 2.2rem); margin: 3rem 0 .9rem; }
.article h3 { font-size: 1.15rem; margin: 1.8rem 0 .5rem; }
.article p, .article li { max-width: 37rem; color: var(--tinte-leise); font-size: 1rem; }
/* Brotkrumen und Kleingedrucktes behalten ihre kleinere Groesse. */
.article .crumb { font-size: .9rem; }
.article .note { font-size: .95rem; }
.article ul { padding-left: 1.1rem; }
.article li { margin-bottom: .45rem; }

.cta-band { background: var(--papier-warm); padding: 3rem 0; }
.cta-band h2 { font-size: 1.55rem; margin-bottom: .65rem; }
.cta-band p { color: var(--tinte-leise); margin-bottom: 1.4rem; }

/* --- Fragen --- */

.faq details { border-top: 1px solid var(--linie); padding: 1.05rem 0; max-width: 40rem; }
.faq details:last-of-type { border-bottom: 1px solid var(--linie); }
.faq summary {
  cursor: pointer; font-family: var(--serif); font-size: 1.15rem;
  list-style: none; display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--tinte-leise); font-family: var(--sans); font-size: 1.25rem; line-height: 1.4; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin-top: .8rem; color: var(--tinte-leise); }

/* --- Hilfsraster --- */

.split { display: grid; gap: 2.5rem; }
.split h3 { font-size: 1.15rem; margin-bottom: .55rem; }
.split p, .split ul { color: var(--tinte-leise); font-size: 1rem; }
.split ul { margin: 0; padding-left: 1.1rem; }
.split li { margin-bottom: .35rem; }

.badge-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.75rem; font-size: .9rem; color: var(--tinte-leise); }
.siegel { width: 104px; height: auto; display: block; }
.badge-row p { margin: 0; max-width: 22rem; font-size: .88rem; }

.deep-links { list-style: none; margin: 2.25rem 0 0; padding: 0; display: grid; gap: .6rem; }
.deep-links a { font-family: var(--serif); font-size: 1.05rem; text-decoration: none; border-bottom: 1px solid var(--gruen); padding-bottom: 2px; }

/* --- Rechtsseiten --- */

.legal { padding: 3rem 0 4.5rem; }
.legal h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); margin-bottom: 1.8rem; }
.legal h2 { font-size: 1.2rem; margin: 2.4rem 0 .7rem; }
.legal p, .legal li { max-width: 38rem; color: var(--tinte-leise); }
.legal .todo { background: var(--papier-warm); padding: 1.15rem 1.4rem; font-size: .95rem; max-width: 38rem; }

@media (min-width: 50rem) {
  .hero-bild { height: clamp(32rem, 76vh, 44rem); }
  .bildband { height: clamp(16rem, 36vh, 24rem); margin-top: 2rem; }
  .hero-text { padding: 3rem var(--rand) 4.5rem; }
  .bild-text { padding-bottom: 4rem; }
  section { padding: 6rem 0; }
  .voices { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .offer { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .person-kopf { grid-template-columns: .85fr 1.15fr; gap: 3.5rem; }
  .person-listen { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .contact-list { grid-template-columns: 1fr 1fr; gap: 1.75rem 3rem; }
  .deep-links { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

/* --- Parallax (nur auf der Startseite aktiv) --- */

/* Die Bildebene ist oben und unten groesser als ihr Rahmen,
   damit beim Verschieben keine Luecke entsteht. */
.parallax .bild-inhalt {
  position: absolute;
  left: 0; right: 0;
  top: -11vh; bottom: -11vh;
  will-change: transform;
}
.parallax .bild-inhalt img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.parallax .bild-platzhalter { position: absolute; inset: 0; }

/* Schleier und Text bleiben unbewegt ueber der Bildebene */
.parallax .bild-schleier { z-index: 1; }
.parallax .bild-text { z-index: 2; }

@media (prefers-reduced-motion: reduce) {
  .parallax .bild-inhalt { top: 0; bottom: 0; transform: none !important; }
}
