/* =========================================================
   Psychotherapie Carlstadt — Stylesheet
   Palette: Olivgrün & helles Beige, hell und schlicht
   Fonts:  Newsreader (Display/Serif) + Hanken Grotesk (Text)
   ========================================================= */

:root {
  --paper:      #FFFFFF;   /* Grundfläche, helles Beige */
  --paper-2:    #F3F4EF;   /* abgesetzte Abschnitte */
  --paper-3:    #FFFFFF;   /* Karten / Felder */
  --sand:       #E3E5DB;   /* feine Linien / Rahmen */
  --olive:      #6B8E24;   /* Primärakzent Olivgrün */
  --olive-deep: #557017;   /* Hover / kräftig */
  --olive-soft: #A6BE7E;   /* zurückhaltendes Oliv */
  --ink:        #2B2B22;   /* Text */
  --ink-soft:   #6B6753;   /* gedämpfter Text */

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", system-ui, -apple-system, Segoe UI, sans-serif;

  --wrap: 1180px;
  --gap: clamp(1.5rem, 4vw, 4rem);
  --radius: 4px;

  --shadow-soft: 0 1px 2px rgba(43,43,34,.04), 0 12px 34px rgba(84,88,48,.06);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1.02rem, .55rem + .6vw, 1.14rem);
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--olive-deep); text-decoration: none; }
a:hover { color: var(--olive); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
}

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

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

.eyebrow {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--olive);
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--olive-soft);
  display: inline-block;
}

.lead { font-size: 1.16em; color: var(--ink-soft); }
.muted { color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .96rem;
  letter-spacing: .01em;
  padding: .82em 1.5em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
/* Erstgespräch/Termin/Anfrage = grün */
.btn--primary { background: var(--olive); color: #ffffff; }
.btn--primary:hover { background: var(--olive-deep); color: #fff; transform: translateY(-1px); }
/* Links zu Leistungen/Ablauf/Über uns = invertiert (weiß, grüne Schrift) */
.btn--invert { background: #ffffff; color: var(--olive-deep); border-color: var(--olive); }
.btn--invert:hover { background: var(--olive); color: #fff; border-color: var(--olive); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--olive-deep); border-color: var(--sand); }
.btn--ghost:hover { border-color: var(--olive); color: var(--olive-deep); background: rgba(107,142,36,.06); }
.btn--light { background: #ffffff; color: var(--olive-deep); }
.btn--light:hover { background: #fff; transform: translateY(-1px); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.textlink {
  font-weight: 600;
  color: var(--olive-deep);
  text-decoration: underline;
  text-decoration-color: var(--olive);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.textlink:hover { color: var(--olive); text-decoration-color: var(--olive-deep); }
.textlink .arrow { display: inline-block; text-decoration: none; margin-left: .4rem; transition: transform .25s ease; }
.textlink:hover .arrow { transform: translateX(3px); }

/* Interne Textlinks im Fließtext: grün + grün unterstrichen */
.ilink {
  color: var(--olive-deep);
  text-decoration: underline;
  text-decoration-color: var(--olive);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.ilink:hover { color: var(--olive); text-decoration-color: var(--olive-deep); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--sand); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.05rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--serif);
  font-size: 1.18rem;
  color: var(--ink);
  letter-spacing: -.01em;
}
.brand:hover { color: var(--ink); }
.brand .mark {
  width: 30px; height: 30px;
  flex: none;
}
.brand b { font-weight: 500; }
.brand span { display: block; font-size: .68rem; font-family: var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--olive); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-family: var(--sans);
  font-size: .96rem;
  color: var(--ink);
  padding: .35rem 0;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1.5px; background: var(--olive);
  transition: width .25s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a[aria-current="page"] { color: var(--olive-deep); }

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

.nav-toggle {
  display: none;
  background: none; border: none;
  width: 42px; height: 42px;
  cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: .25rem;
    background: var(--paper);
    border-bottom: 1px solid var(--sand);
    padding: .5rem 4% 1.5rem;
    box-shadow: var(--shadow-soft);
    display: none;
  }
  .nav-links.open { display: flex; max-height: calc(100dvh - 68px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .nav-links a { display: block; width: 100%; padding: .7rem 0; border-bottom: 1px solid color-mix(in srgb, var(--sand) 50%, transparent); }
  .nav-links a::after { display: none; }
  .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(30,34,18,.74) 0%, rgba(30,34,18,.58) 42%, rgba(30,34,18,.22) 72%, rgba(30,34,18,0) 100%),
    linear-gradient(180deg, rgba(30,34,18,0) 55%, rgba(30,34,18,.38) 100%);
}
@media (max-width: 700px) {
  .hero::after {
    background: linear-gradient(180deg, rgba(30,34,18,.34) 0%, rgba(30,34,18,.66) 100%);
  }
}
/* Hero-Text linksbündig – exakt an der linken Kante von Logo/Menü,
   die Textbreite wird über hero__inner begrenzt, NICHT zentriert */
.hero__inner {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
  padding-top: 5rem;
  color: #fbfaf3;
  max-width: 880px;
  text-shadow: 0 1px 2px rgba(18,20,8,.5), 0 2px 30px rgba(18,20,8,.4);
}
.hero__display {
  font-family: var(--serif);
  color: #ffffff;
  font-size: clamp(2.6rem, 1.6rem + 4.6vw, 5rem);
  line-height: 1.03;
  font-weight: 400;
  letter-spacing: -.01em;
  margin: 0 0 .35em;
  text-wrap: balance;
}
/* kleine, dezente SEO-Überschrift oberhalb der Display-Zeile */
.hero__kicker {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #f0ecdd;
  margin: 0 0 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.hero__kicker::before {
  content: "";
  width: 26px; height: 1px;
  background: #e6e1cf;
  display: inline-block;
}
.hero .hero__sub {
  font-family: var(--sans);
  font-size: clamp(1.05rem, .9rem + .45vw, 1.28rem);
  color: #f3efe2;
  font-weight: 600;
  margin-bottom: 1.1em;
}
.hero .hero__text { color: #f1ede0; max-width: 60ch; margin-bottom: 1.8em; }
.hero .btn { box-shadow: var(--shadow-soft); }
.hero .eyebrow { color: #f0ecdd !important; }
.hero .eyebrow::before { background: #e6e1cf; }

.hero__note {
  position: absolute;
  right: 12px; bottom: 12px;
  z-index: 3;
  font-family: var(--sans);
  font-size: .68rem;
  color: rgba(253,252,245,.72);
  background: rgba(43,43,34,.35);
  padding: .3rem .6rem;
  border-radius: 3px;
}

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(3.5rem, 7vw, 7rem) 0; }
.section--tint { background: var(--paper-2); }
.section--olive { background: var(--olive); color: #f3f1e6; }
.section--olive h2, .section--olive h3 { color: #fdfcf5; }
.section--olive .eyebrow { color: #d6d8bf; }
.section--olive .eyebrow::before { background: #b7ba95; }
.section--olive .muted { color: #dcdcc9; }

/* ---------- CTA-Banner (Abschluss der Unterseiten) ---------- */
.cta-banner {
  background: #e9efda;               /* helles Grün – hebt sich vom beigen Footer ab */
  padding: clamp(3rem, 6vw, 5.5rem) 0;
  text-align: center;
}
.cta-banner .eyebrow { justify-content: center; }
.cta-banner h2 { font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.7rem); }
.cta-banner p { max-width: 58ch; margin-inline: auto; color: var(--ink-soft); }
.cta-banner .btn { margin-top: 2rem; }

/* ---------- FAQ / Akkordeon ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__group + .faq__group { margin-top: 3rem; }
.faq__group > h2 { font-size: clamp(1.4rem, 1rem + 1.2vw, 1.9rem); margin-bottom: 1.2rem; }
.faq details {
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  background: #ffffff;
  margin-bottom: .8rem;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: var(--olive-soft); box-shadow: var(--shadow-soft); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.3rem;
  font-family: var(--serif);
  font-size: 1.12rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus {
  flex: none;
  width: 22px; height: 22px;
  position: relative;
  transition: transform .25s ease;
  color: var(--olive);
}
.faq summary .plus::before,
.faq summary .plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
}
.faq summary .plus::before { top: 10px; left: 2px; right: 2px; height: 2px; }
.faq summary .plus::after  { left: 10px; top: 2px; bottom: 2px; width: 2px; transition: transform .25s ease; }
.faq details[open] summary .plus::after { transform: scaleY(0); }
.faq .faq__body { padding: 0 1.3rem 1.2rem; color: var(--ink-soft); }
.faq .faq__body p { margin-bottom: .8rem; }
@media (prefers-reduced-motion: reduce) {
  .faq summary .plus, .faq summary .plus::after { transition: none; }
}

.section-head { max-width: 660px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head h2 { font-size: clamp(1.85rem, 1.2rem + 2vw, 2.9rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* path divider signature */
.path-divider { display: block; width: 100%; height: 46px; color: var(--olive-soft); }
.path-divider path { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; opacity: .55; stroke-dasharray: 4 7; }

/* ---------- Split (text + media) ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split.reverse .split__media { order: -1; }
.split__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); position: relative; }
.split__media .ph { aspect-ratio: 4 / 5; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split__media { order: 0; }
  .split__media .ph { aspect-ratio: 16 / 11; }
}

/* ---------- Placeholder media ---------- */
.ph {
  position: relative;
  width: 100%;
  background: var(--paper-3);
  display: grid; place-items: center;
  overflow: hidden;
}
.ph svg.scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph__label {
  position: relative; z-index: 2;
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--olive-deep);
  background: rgba(253,252,245,.72);
  padding: .35rem .7rem;
  border-radius: 3px;
}

/* ---------- Leistungs-Kacheln ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
@media (max-width: 900px){ .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .tiles { grid-template-columns: 1fr; } }
.tile {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  display: flex; flex-direction: column; gap: .7rem;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.section--tint .tile { background: #fdfcf6; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--olive-soft); }
.tile__icon { width: 40px; height: 40px; color: var(--olive); }
.tile h3 { font-size: 1.28rem; margin: 0; }
.tile p { font-size: .98rem; color: var(--ink-soft); margin: 0; }

/* ---------- Leistungsdetails ---------- */
.service {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(1.2rem, 4vw, 3.5rem);
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--sand);
}
.service:first-of-type { border-top: none; }
.service__title { position: sticky; top: 100px; align-self: start; }
.service__title .num { font-family: var(--serif); font-size: 1rem; color: var(--olive); display:block; margin-bottom:.3rem; }
.service__title h3 { font-size: clamp(1.5rem, 1rem + 1.4vw, 2rem); }
.service__title .icon { width: 34px; height: 34px; color: var(--olive); margin-bottom: .8rem; }
@media (max-width: 720px){
  .service { grid-template-columns: 1fr; gap: 1rem; }
  .service__title { position: static; }
}

/* ---------- Steps (Ablauf) ---------- */
.steps { display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.6rem, 3.5vw, 2.6rem) 0;
  border-top: 1px solid var(--sand);
}
.step:first-child { border-top: none; }
.step__num {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: var(--olive);
  line-height: 1;
  opacity: .85;
}
.step h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.step p { color: var(--ink-soft); margin: 0; }
@media (max-width: 560px){
  .step { grid-template-columns: 1fr; gap: .4rem; }
  .step__num { font-size: 2rem; }
}

/* ---------- Chips / Schwerpunkte ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  background: #fdfcf6;
  border: 1px solid var(--sand);
  border-radius: 999px;
  padding: .5rem 1.1rem;
  font-size: .95rem;
  color: var(--ink);
}
.section--tint .chip { background: var(--paper); }

/* ---------- Info list (Behandlung für / Kontakt) ---------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist li svg { flex: none; width: 20px; height: 20px; color: var(--olive); margin-top: .2rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 820px){ .contact-grid { grid-template-columns: 1fr; } }

.contact-list { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1.2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list svg { flex: none; width: 22px; height: 22px; color: var(--olive); margin-top: .25rem; }
.contact-list .k { display: block; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--olive); margin-bottom: .1rem; }
.contact-list .v { font-size: 1.06rem; }

/* ---------- Form ---------- */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .82rem; letter-spacing: .05em; color: var(--ink-soft); font-weight: 600; }
.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: #fdfcf6;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: .8rem .9rem;
  width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(110,115,70,.14);
}
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); }
.consent input { margin-top: .25rem; }

/* ---------- Card panel ---------- */
.panel {
  background: #fdfcf6;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.4rem);
}
.section--olive .panel { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
@media (max-width: 780px){ .team { grid-template-columns: 1fr; } }
.member__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); margin-bottom: 1.3rem; }
.member__media .ph { aspect-ratio: 3 / 4; }
.member h3 { font-size: 1.5rem; margin-bottom: .1rem; }
.member .role { font-family: var(--sans); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--olive); margin-bottom: 1rem; }
.member h4 { font-family: var(--sans); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin: 1.2rem 0 .5rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--paper-2);
  border-top: 1px solid var(--sand);
  padding: clamp(3rem, 5vw, 4.5rem) 0 2rem;
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 2.5rem;
}
@media (max-width: 720px){ .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.footer-grid h4 { font-family: var(--sans); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-grid a { color: var(--ink); }
.footer-grid a:hover { color: var(--olive-deep); }
.footer-brand { font-family: var(--serif); font-size: 1.3rem; margin-bottom: .6rem; }
.footer-bottom {
  border-top: 1px solid var(--sand);
  padding-top: 1.4rem;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  color: var(--ink-soft);
  font-size: .85rem;
}
.footer-bottom a { color: var(--ink-soft); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Page hero (Unterseiten) ---------- */
.page-hero { padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.page-hero h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.8rem); max-width: 16ch; }
.page-hero .lead { max-width: 62ch; margin-top: .8rem; }

/* focus visibility */
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; border-radius: 2px; }

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

/* =========================================================
   Cookie-Banner (mittig, modal, nicht wegklickbar)
   ========================================================= */
.cc-overlay {
  position: fixed; inset: 0; z-index: 1000;
  display: none;
  align-items: center; justify-content: center;
  padding: 1.2rem;
  background: rgba(30, 33, 18, .55);
  backdrop-filter: blur(3px);
}
.cc-overlay.is-open { display: flex; }
.cc-modal {
  background: #ffffff;
  width: min(540px, 100%);
  max-height: calc(100dvh - 2.4rem);
  overflow-y: auto;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(30,33,18,.35);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border: 1px solid var(--sand);
}
.cc-modal h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  margin: 0 0 .7rem;
}
.cc-modal p { color: var(--ink-soft); font-size: .96rem; margin: 0 0 1rem; }
.cc-modal a { color: var(--olive-deep); text-decoration: underline; }
.cc-actions {
  display: flex; flex-wrap: wrap; gap: .7rem;
  margin-top: 1.4rem;
}
.cc-actions .btn { flex: 1 1 auto; justify-content: center; }
.cc-detail { border-top: 1px solid var(--sand); margin-top: 1.3rem; padding-top: 1.1rem; }
.cc-detail summary {
  cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--ink);
  list-style: none; display: inline-flex; align-items: center; gap: .4rem;
}
.cc-detail summary::-webkit-details-marker { display: none; }
.cc-row { display: flex; gap: .8rem; align-items: flex-start; margin-top: .9rem; font-size: .9rem; }
.cc-row .cc-txt .n { font-weight: 600; display: block; color: var(--ink); }
.cc-row .cc-txt .d { color: var(--ink-soft); }
.cc-badge {
  flex: none; font-size: .72rem; font-weight: 600; color: var(--olive-deep);
  background: #eef2e3; border: 1px solid var(--olive-soft);
  padding: .15rem .55rem; border-radius: 999px; margin-top: .1rem;
}
@media (max-width: 460px) {
  .cc-actions .btn { flex-basis: 100%; }
}

/* Footer-Link „Cookie-Einstellungen“ (öffnet Banner erneut) */
.cc-reopen { background: none; border: none; padding: 0; font: inherit; color: var(--ink); cursor: pointer; }
.cc-reopen:hover { color: var(--olive-deep); }

/* =========================================================
   Inhaltsblöcke & Zurück-Link (Leistungs-Unterseiten)
   ========================================================= */
.job-block { margin-top: 2.2rem; }
.job-block h2 { font-size: clamp(1.4rem, 1rem + 1.2vw, 1.85rem); margin-bottom: .9rem; }
.back-link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; margin-bottom: .5rem; }

/* =========================================================
   Dropdown im Hauptmenü (Leistungen)
   ========================================================= */
.nav-links .has-sub { position: relative; }
.nav-links .has-sub > a { display: inline-flex; align-items: center; gap: .3rem; }
.nav-links .has-sub > a::after {
  content: "";
  position: static; left: auto; bottom: auto;
  display: inline-block; vertical-align: middle;
  width: 7px; height: 7px; background: transparent;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  border-radius: 1px;
  transform: rotate(45deg); margin: -3px 0 0 .45rem;
  transition: transform .2s ease;
}
.subnav {
  position: absolute; top: 100%; left: -.6rem;
  min-width: 246px; margin: 0; padding: .5rem; list-style: none;
  background: #ffffff; border: 1px solid var(--sand); border-radius: 10px;
  box-shadow: var(--shadow-soft);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 60;
}
.subnav::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 12px; }
.nav-links .has-sub:hover > a::after,
.nav-links .has-sub:focus-within > a::after { transform: rotate(225deg); margin-top: 2px; }
.nav-links .has-sub:hover .subnav,
.nav-links .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: none; }
.subnav li { margin: 0; }
.subnav a { display: block; padding: .55rem .75rem; border-radius: 6px; font-size: .95rem; color: var(--ink); }
.subnav a::after { display: none; }
.subnav a:hover { background: var(--paper-2); color: var(--olive-deep); }
.subnav a[aria-current="page"] { color: var(--olive-deep); background: var(--paper-2); }
.sub-toggle { display: none; }

@media (max-width: 900px) {
  .nav-links .has-sub { position: relative; }
  .nav-links .has-sub > a::after { display: none; }
  .sub-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    position: absolute; right: 0; top: .3rem; width: 42px; height: 42px;
    background: none; border: none; color: var(--ink); cursor: pointer;
  }
  .sub-toggle svg { width: 20px; height: 20px; transition: transform .2s ease; }
  .has-sub.sub-open .sub-toggle svg { transform: rotate(180deg); }
  .subnav {
    position: static; opacity: 1; visibility: visible; transform: none;
    display: none; min-width: 0;
    background: transparent; border: none; box-shadow: none;
    padding: 0 0 .4rem .9rem; margin: 0;
  }
  .has-sub.sub-open .subnav { display: block; }
  .subnav::before { display: none; }
  .subnav a { padding: .6rem 0; border-bottom: 1px solid color-mix(in srgb, var(--sand) 55%, transparent); }
}

/* =========================================================
   Betonungen, Fließtext-Aufzählungen, Timeline
   ========================================================= */
strong { font-weight: 700; }

/* Aufzählungen im Fließtext (Leistungs-Unterseiten) */
.prose-list { list-style: none; margin: .4rem 0 1.4rem; padding: 0; display: grid; gap: .6rem; }
.prose-list li { position: relative; padding-left: 1.6rem; color: var(--ink); }
.prose-list li strong { color: var(--ink); }
.prose-list li::before {
  content: ""; position: absolute; left: .15rem; top: .55em;
  width: 8px; height: 8px; background: var(--olive);
  border-radius: 2px; transform: rotate(45deg);
}

/* Timeline (Ablauf) */
.timeline { position: relative; max-width: 780px; margin-inline: auto; }
.tl-item { position: relative; padding: 0 0 2.6rem 5rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: 23px; top: 12px; bottom: -12px;
  width: 2px; background: var(--sand);
}
.tl-item:last-child::before { display: none; }
.tl-num {
  position: absolute; left: 0; top: 0;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--olive); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.15rem; line-height: 1;
  box-shadow: 0 0 0 6px #fff; z-index: 1;
}
.tl-item h3 { font-size: 1.32rem; margin: .2rem 0 .5rem; }
.tl-item p { color: var(--ink-soft); margin: 0; }
@media (max-width: 520px) {
  .tl-item { padding-left: 4.2rem; }
  .tl-num { width: 42px; height: 42px; font-size: 1.05rem; }
  .tl-item::before { left: 20px; }
}

/* =========================================================
   Leistungs-Kacheln (Übersicht) – 3 pro Reihe (3+2)
   ========================================================= */
.leistung-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 900px) { .leistung-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .leistung-grid { grid-template-columns: 1fr; } }

.leistung-card {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  background: #ffffff;
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  color: var(--ink);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.leistung-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--olive-soft);
  color: var(--ink);
}
.leistung-card .l-icon { width: 40px; height: 40px; color: var(--olive); margin-bottom: .3rem; }
.leistung-card h3 { font-size: 1.32rem; margin: 0; }
.leistung-card p { font-size: .97rem; color: var(--ink-soft); margin: 0; }
.leistung-card .l-more {
  margin-top: auto;
  padding-top: .9rem;
  color: var(--olive-deep);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.leistung-card .l-more .arrow { transition: transform .25s ease; }
.leistung-card:hover .l-more .arrow { transform: translateX(3px); }

/* =========================================================
   Ankündigungs-Banner (über dem Menü) + Hinweis-Box
   ========================================================= */
.announce {
  background: #b0472f; /* gedämpftes Terrakotta-Rot – fällt auf, bleibt aber warm */
  color: #fdfcf5;
  font-family: var(--sans);
  font-size: .9rem;
  line-height: 1.45;
}
.announce__inner { padding: .6rem 0; text-align: center; }
.announce strong { font-weight: 700; }
.announce a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}
.announce a:hover { color: #ffffff; opacity: .85; }
@media (max-width: 520px) {
  .announce { font-size: .82rem; }
  .announce__inner { padding: .55rem 0; }
}

/* Hinweis-Box (z. B. Kontaktseite) */
.notice {
  background: #f7e7e1;
  border: 1px solid #d59d8c;
  border-left: 4px solid #b0472f;
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  color: var(--ink);
  font-size: 1rem;
}
.notice strong { color: #8f3822; }
