/* =========================================================
   pt-volmer.de — Stylesheet
   Alle Ressourcen lokal. Keine externen Requests, keine Cookies.
   ========================================================= */

/* ---------- Fonts (lokal, SIL Open Font License) ---------- */

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('../fonts/sourceserif4-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('../fonts/sourceserif4-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Design-Tokens ---------- */

/* Palette „Wald & Sand“ (Redesign 1f): Sandtöne als Fläche,
   tiefes Grün und Honig als Akzente. */
:root {
  --ink: #2c3a32;
  --ink-soft: #47544b;
  --ink-muted: #7a7364;

  --paper: #e6d7c1;
  --paper-warm: #efe3d2;
  --surface: #efe3d2;

  --accent: #c4882f;
  --accent-deep: #1e3a31;
  --accent-soft: #d8c3a5;
  --accent-line: #d8c3a5;

  --sand: #c4882f;
  --sand-soft: #efe3d2;

  --cream: #efe3d2;
  --footer: #16281f;

  --line: #d8c3a5;

  --radius-sm: 6px;
  --radius: 20px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(44, 58, 50, 0.06);
  --shadow: 0 14px 40px -22px rgba(44, 58, 50, 0.4);
  --shadow-lg: 0 40px 90px -50px rgba(44, 58, 50, 0.55);

  --font-serif: 'Source Serif 4', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;

  --wrap: 1140px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(4.5rem, 10vw, 6rem);

  /* Logo: 6.5rem im großen Fenster, fließend bis 4rem auf schmalen Displays
     (4rem bei ~390px Viewport, 6.5rem ab ~1280px) */
  --logo-size: clamp(4rem, 2.9rem + 4.5vw, 6.5rem);

  color-scheme: light;
}

/* Styling für die Boxen der Liste */
ol.steps li {
  background-color: #e6d7c1; /* Ihre gewünschte Hintergrundfarbe */
  padding: 20px;             /* Innenabstand im Kasten */
  margin-bottom: 15px;       /* Abstand zwischen den Boxen */
  border-radius: 8px;        /* Abgerundete Ecken */
}

/* Abstand der Überschrift nach oben entfernen */
ol.steps li h3 {
  margin-top: 25px;
}

/* Abstand des letzten Absatzes nach unten entfernen */
ol.steps li p:last-child {
  margin-bottom: 0;
}



/* ---------- Reset / Basis ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Folgt der Höhe der Kopfzeile, die mit dem Logo wächst */
  scroll-padding-top: calc(var(--logo-size) + 2.5rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-feature-settings: 'kern', 'liga';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

p {
  margin: 0 0 1.15em;
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- Layout-Helfer ---------- */

.wrap {
  width: min(100% - var(--gutter) * 2, var(--wrap));
  margin-inline: auto;
}

.wrap--narrow {
  width: min(100% - var(--gutter) * 2, 760px);
  margin-inline: auto;
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

/*
  Sprungziel auf die Überschrift statt auf die Section-Oberkante legen.
  Das negative scroll-margin hebt das Section-Padding wieder auf; die
  6rem aus `scroll-padding-top` bleiben als Platz für die Kopfzeile
  plus etwas Luft darüber stehen.
*/
.section[id] {
  scroll-margin-top: calc(var(--section-y) * -1);
}

.section--paper {
  background: var(--paper-warm);
}

.section--surface {
  background: transparent;
}

/* Dunkelgrüne Sektion (Kontakt) nach Vorlage 1f */
.section--dark {
  background: var(--accent-deep);
  color: var(--cream);
}

.section--dark .eyebrow {
  color: var(--cream);
}

.section__head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

/* Trägt seit dem Inhalts-Update die Abschnittsüberschrift —
   im Redesign als große Serifen-Headline wie in Vorlage 1f */
.eyebrow {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.375rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-transform: none;
  color: var(--ink);
  margin-bottom: 0;
}

.eyebrow::before {
  content: none;
}

.section__head h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.lead {
  font-size: clamp(1.075rem, 1.6vw, 1.2rem);
  color: var(--ink-soft);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--accent-deep);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0;
  text-decoration: none;
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease, box-shadow 0.2s ease;
}

/* Primäraktion in Honig auf tiefem Grün (Vorlage 1f) */
.btn--primary {
  background: var(--accent);
  color: var(--accent-deep);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: #b57c25;
  color: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn--ghost {
  border-color: var(--accent-line);
  color: var(--accent-deep);
  background: transparent;
}

.btn--ghost:hover {
  background: var(--paper-warm);
  border-color: var(--accent);
}

/* ---------- Kopfzeile ---------- */

/* Kopfzeile in tiefem Grün nach Vorlage 1f */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--accent-deep);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-stuck {
  border-bottom-color: rgba(239, 227, 210, 0.15);
  box-shadow: 0 6px 24px -18px rgba(22, 40, 31, 0.7);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--cream);
}

.brand__mark {
  width: var(--logo-size);
  height: var(--logo-size);
  flex: none;
  object-fit: contain;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand__role {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(239, 227, 210, 0.6);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav a {
  position: relative;
  padding: 0.5rem 0.85rem;
  font-size: 0.925rem;
  color: rgba(239, 227, 210, 0.85);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a.is-active {
  color: #fff;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.15rem;
  height: 1.5px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a.is-active::after {
  transform: scaleX(1);
}

/* Höhere Spezifität als `.nav a`, damit die Button-Farben gewinnen */
.nav a.nav__cta {
  margin-left: 0.5rem;
  padding: 0.7rem 1.25rem;
  font-size: 0.9rem;
  color: var(--accent-deep);
}

.nav a.nav__cta:hover {
  color: var(--accent-deep);
}

.nav__cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(239, 227, 210, 0.3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--cream);
}

.nav-toggle__bars {
  position: relative;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: background-color 0.2s ease;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease;
}

.nav-toggle__bars::before {
  top: -6px;
}

.nav-toggle__bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded='true'] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded='true'] .nav-toggle__bars::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] .nav-toggle__bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    /* Oberkante folgt der Header-Höhe (mind. 4.75rem, sonst Logo-Höhe) */
    inset: max(4.75rem, var(--logo-size)) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--gutter) 2rem;
    background: var(--accent-deep);
    border-bottom: 1px solid rgba(239, 227, 210, 0.15);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.32s;
  }

  .nav.is-open {
    transform: translateY(0);
    visibility: visible;
  }

  .nav a {
    padding: 0.9rem 0.25rem;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(239, 227, 210, 0.15);
  }

  .nav a::after {
    display: none;
  }

  .nav a.nav__cta {
    margin: 1.25rem 0 0;
    border-bottom: 0;
    justify-content: center;
  }
}

/* ---------- Über mich (als dunkelgrüner Hero-Auftakt, Vorlage 1f) ---------- */

/* Die Überschrift in Hero-Größe */
#ueber-mich .eyebrow {
  font-size: clamp(2.5rem, 6vw, 3.875rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.section--dark .about__text p {
  color: rgba(239, 227, 210, 0.85);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: start;
}

.about__text p {
  text-align: justify;
  hyphens: auto;
}

.about__text p:first-of-type {
  font-size: 1.15rem;
}

.creds {
  padding: clamp(1.75rem, 3vw, 2.25rem);
  background: var(--surface);
  border: 0;
  border-top: 5px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: none;
}

/* Heller Sand-Kasten behält dunkle Schrift, auch in dunkler Sektion */
.section--dark .creds {
  color: var(--ink);
}

.creds h3 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.creds li {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  line-height: 1.55;
}

.creds li:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.creds li svg {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.25rem;
  color: var(--accent-deep);
  flex: none;
}

.creds li strong {
  display: block;
  font-weight: 600;
}

.creds li span {
  color: var(--ink-muted);
  font-size: 0.875rem;
}

@media (max-width: 880px) {
  .about__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Angebot ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1.25rem;
}

/* Karten auf hellem Sand, mit farbiger Oberkante (Honig / Grün) wie in 1f */
.card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--paper);
  border: 0;
  border-top: 5px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cards .card:nth-child(even) {
  border-top-color: var(--accent-deep);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card__icon {
  width: 2.85rem;
  height: 2.85rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.35rem;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.card__icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.card h3 {
  font-size: 1.28rem;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.975rem;
  text-align: justify;
  hyphens: auto;
}

.card__note {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---------- Schwerpunkte / Themen ---------- */

/* Behandlungsspektrum als sanfte Pill-Kacheln (Vorlage 1f) */
.topics {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: 0.625rem;
}

.topics li {
  display: grid;
  place-items: center;
  padding: 1rem 1.375rem;
  background: var(--paper-warm);
  border-radius: 16px;
  text-align: center;
}

/* Handlungsaufforderung am Ende eines Abschnitts */
.section__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.5rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}

.section__cta-hint {
  margin: 0;
  font-size: 0.925rem;
  color: var(--ink-muted);
}

.note {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--sand-soft);
  border-top: 5px solid var(--accent-deep);
  border-radius: var(--radius);
  font-size: 0.95rem;
  text-align: justify;
  hyphens: auto;
}

/* Heller Hinweis-Kasten behält dunkle Schrift, auch in dunkler Sektion;
   die grüne Oberkante würde dort mit dem Hintergrund verschmelzen → Honig */
.section--dark .note {
  color: var(--ink);
  border-top-color: var(--accent);
}

.note2 {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--paper);
  border-top: 5px solid var(--accent-deep);
  border-radius: var(--radius);
  font-size: 0.95rem;
  text-align: justify;
  hyphens: auto;
}

/* ---------- Ablauf ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1.5rem;
  /* Nummerierung übernehmen die Kreise via CSS-Counter, nicht der Browser-Marker */
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}

.steps li {
  position: relative;
  counter-increment: step;
  padding-top: 3.25rem;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent);
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent-line);
  border-radius: 50%;
  background: var(--surface);
}

.steps li::after {
  content: '';
  position: absolute;
  top: 1.15rem;
  left: 2.85rem;
  right: -1.5rem;
  height: 1px;
  background: var(--accent-line);
}

.steps li:last-child::after {
  display: none;
}

.steps h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.steps p {
  font-size: 0.95rem;
  text-align: justify;
  hyphens: auto;
}

@media (max-width: 720px) {
  .steps li::after {
    display: none;
  }
}

/* ---------- Krisenhinweis ---------- */

.crisis {
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  background: var(--surface);
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: none;
}

.crisis__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.35rem;
  max-width: 52rem;
}

.crisis__icon {
  width: 2.85rem;
  height: 2.85rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.crisis__icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.crisis h2 {
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
  margin-bottom: 0.45em;
}

.crisis__head p {
  font-size: 1rem;
}

/* Nummernliste: auf breiten Schirmen zweispaltig, sonst gestapelt */
.crisis__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  column-gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
}

.crisis__list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.15rem 1.25rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.crisis__name {
  font-size: 0.975rem;
  line-height: 1.45;
}

.crisis__name small {
  display: block;
  font-size: 0.825rem;
  color: var(--ink-muted);
}

.crisis__number {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--accent-deep);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid var(--accent-line);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.crisis__number:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

@media (max-width: 560px) {
  .crisis__head {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ---------- Kontakt ---------- */

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: start;
}

/* Kontaktliste auf dunkelgrünem Grund (Vorlage 1f) */
.contact-list li {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(239, 227, 210, 0.15);
}

.contact-list li:first-child {
  padding-top: 0;
}

.contact-list .ico {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(196, 136, 47, 0.18);
  color: #e0ac5c;
}

.contact-list .ico svg {
  width: 1.15rem;
  height: 1.15rem;
}

.contact-list .label {
  margin: 0 0 0.15rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(239, 227, 210, 0.55);
}

.contact-list .value {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.5;
}

.contact-list .value a {
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 136, 47, 0.55);
}

.contact-list .value a:hover {
  color: #fff;
  border-bottom-color: #e0ac5c;
}

.contact-list .value small {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.85rem;
  color: rgba(239, 227, 210, 0.6);
}

/* Heller Sand-Kasten in der dunklen Kontakt-Sektion (Vorlage 1f);
   Honig-Oberkante wie bei den übrigen Sand-Boxen */
.contact-panel {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--paper-warm);
  color: var(--ink);
  border-top: 5px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: none;
}

.contact-panel h3 {
  color: var(--ink);
  font-size: 1.4rem;
}

.contact-panel p {
  color: var(--ink);
  font-size: 1rem;
  text-align: justify;
  hyphens: auto;
}

.contact-panel .btn--primary {
  margin-top: 0.75rem;
}

.contact-panel__hint {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem !important;
  color: var(--ink-soft) !important;
}

@media (max-width: 880px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }
}

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

.site-footer {
  padding-block: 3.5rem 2.5rem;
  background: var(--footer);
  color: rgba(239, 227, 210, 0.72);
  font-size: 0.925rem;
}

.site-footer__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(239, 227, 210, 0.12);
}

.site-footer .brand {
  color: var(--cream);
}

.site-footer .brand__role {
  color: rgba(239, 227, 210, 0.55);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
}

.site-footer a {
  color: rgba(239, 227, 210, 0.82);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.75rem;
  font-size: 0.85rem;
  color: rgba(239, 227, 210, 0.5);
}

/* ---------- Rechtsseiten (Impressum / Datenschutz) ---------- */

.legal {
  padding-block: clamp(3rem, 7vw, 5rem);
}

.legal h1 {
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  margin-bottom: 0.5em;
}

.legal h2 {
  font-size: 1.35rem;
  margin-top: 2.5rem;
}

.legal h3 {
  font-size: 1.08rem;
  margin-top: 1.75rem;
}

.legal p,
.legal li {
  font-size: 1rem;
}

.legal ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1.15em;
}

.legal li {
  margin-bottom: 0.35em;
}

.legal address {
  font-style: normal;
  margin-bottom: 1.15em;
}

.legal .back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  text-decoration: none;
}

.legal .back:hover {
  text-decoration: underline;
}

/* ---------- Scroll-Animation ---------- */

/* Nur wenn JavaScript läuft, wird ausgeblendet und eingeblendet.
   Ohne JS bleiben alle Inhalte sofort sichtbar. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Druck ---------- */

@media print {
  .site-header,
  .nav-toggle,
  .btn {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .section {
    padding-block: 1.5rem;
    break-inside: avoid;
  }
}
