/* ==========================================================================
   Paarberatung Silberstreif — Design System
   Warm, calm, trustworthy. References the "silver lining after the storm"
   metaphor (Silberstreif) and the sea imagery used in the practice's own
   texts ("Paarbeziehungen sind wie das Meer").
   ========================================================================== */

:root {
  /* Colors */
  --color-bg: #FBF8F3;           /* warm ivory paper */
  --color-bg-alt: #F1ECE2;       /* soft sand — alternating sections */
  --color-bg-deep: #EDE7DC;
  --color-text: #2B3532;         /* deep charcoal-green, warm black */
  --color-text-soft: #5A645F;
  --color-primary: #3B7A57;      /* Grün — Struktur, Überschriften, Links (harmoniert mit Footer) */
  --color-primary-dark: #2C5C41;
  --color-primary-light: #E4EEE6;
  --color-accent: #D6B588;       /* helles Sand — Buttons/Aktionen (dunkle Schrift!) */
  --color-accent-hover: #C7A36C; /* Button-Hover */
  --color-accent-dark: #A97F3F;  /* lesbares dunkles Sand für Text-/Link-Hover */
  --color-accent-light: #ECD9B6;
  --color-on-accent: #2B3532;    /* dunkle Schrift auf hellem Sand-Button */
  --color-chip: #F1ECE2;         /* dunkelbeige — Buttons & Icon-Flächen (= Hintergrund „Ihr Berater-Duo") */
  --color-chip-border: #CDBB94;  /* tonaler Rahmen für Buttons & Chips */
  --color-chip-hover: #E7DFCF;
  --color-silver: #B9C6C6;       /* silberstreif accent for dividers/quotes */
  --color-border: #DDD5C7;
  --color-white: #FFFFFF;

  /* CTA-Band „Der erste Schritt ist ein Gespräch" — helles Salbei, dunkle Schrift */
  --color-ctaband: #B9CEAC;
  --color-ctaband-text: #33402C;

  /* Footer — Grün, klar als Seitenabschluss erkennbar */
  --color-footer: #3B7A57;
  --color-footer-text: #F1F7F2;
  --color-footer-heading: #FFFFFF;
  --color-footer-border: rgba(255, 255, 255, 0.22);

  /* Type */
  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Work Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Layout */
  --max-width: 1120px;
  --radius: 14px;
  --shadow-soft: 0 12px 30px -14px rgba(43, 53, 50, 0.25);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 1.0625rem;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-primary-dark);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1.2em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-primary-dark);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------------------------------- Header ------------------------------ */

.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--color-primary-dark);
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: none;
  display: block;
}

.brand-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.15;
}
.brand-text small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.72rem;
  color: var(--color-text-soft);
  letter-spacing: 0.02em;
}

.nav-toggle-cb { display: none; }
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1.5px solid var(--color-chip-border);
  background: var(--color-chip);
  color: var(--color-text);
  cursor: pointer;
  flex: none;
}

.main-nav { flex: 1 1 auto; min-width: 0; }
.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.main-nav a {
  display: inline-block;
  padding: 0.45rem 0.55rem;
  text-decoration: none;
  color: var(--color-text);
  border-radius: 8px;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: var(--color-chip);
  color: var(--color-primary-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex: none;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-primary-dark);
}
.header-phone:hover { color: var(--color-accent); }
.header-phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-chip);
  color: var(--color-text);
  border: 1px solid var(--color-chip-border);
  flex: none;
}

.header-cta {
  white-space: nowrap;
  background: var(--color-chip);
  color: var(--color-text) !important;
  border: 1.5px solid var(--color-chip-border);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.92rem;
}
.header-cta:hover { background: var(--color-chip-hover); }

/* Auf schmalen Screens (Handy) klappt die Navigation ins Menü (Hamburger);
   darüber steht sie einzeilig und bricht bei Bedarf auf eine zweite Zeile um. */
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    z-index: 90;
  }
  .nav-toggle-cb:checked ~ .main-nav { display: block; }
  .main-nav ul {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 0;
    font-size: 1rem;
    padding: 0.4rem 0;
  }
  .main-nav li { border-bottom: 1px solid var(--color-border); }
  .main-nav li:last-child { border-bottom: none; }
  .main-nav a { display: block; padding: 0.85rem 1.5rem; border-radius: 0; }
  .container > .main-nav { padding: 0; }
}
@media (max-width: 620px) {
  .header-cta { display: none; }
}
@media (max-width: 430px) {
  .header-phone span:not(.header-phone-icon) { display: none; }
  .brand-text small { display: none; }
}

/* ---------------------------------- Hero --------------------------------- */

.hero {
  padding: 3.2rem 0 2.6rem;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
}
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.78rem;
  color: var(--color-accent-dark);
  font-weight: 600;
  margin-bottom: 0.8rem;
  display: inline-block;
}
.hero-lede {
  font-size: 1.15rem;
  color: var(--color-text-soft);
}
.hero-figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--color-bg-alt);
}
.hero-figure img { width: 100%; }
/* Nur mobil sichtbar – Desktop unverändert (Foto bleibt rechts in .hero-figure). */
.hero-mobile-photo { display: none; }
@media (max-width: 860px) {
  /* Mobil: Foto rechts ausblenden, stattdessen direkt unter der Überschrift
     zeigen – gleiche Abstände wie die .figure-banner-Fotos der Unterseiten.
     Steht bewusst NACH der display:none-Regel, damit sie im Kaskaden-Rang gewinnt. */
  .hero-figure { display: none; }
  .hero-mobile-photo {
    display: block;
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    margin-top: 1.6rem;
  }
  .hero-mobile-photo + .hero-lede { margin-top: 1.4rem; }
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.98rem;
  background: var(--color-chip);
  color: var(--color-text);
  border: 1.5px solid var(--color-chip-border);
}
.btn svg { flex: none; }
.btn-primary { background: var(--color-chip); color: var(--color-text); }
.btn-primary:hover { background: var(--color-chip-hover); color: var(--color-text); }
.btn-secondary { background: var(--color-chip); color: var(--color-text); }
.btn-secondary:hover { background: var(--color-chip-hover); }

/* ------------------------------ Sections --------------------------------- */

section { padding: 2.6rem 0; }
.section-alt { background: var(--color-bg-alt); }

.section-head { max-width: 720px; margin-bottom: 1.8rem; }
.section-head p { color: var(--color-text-soft); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
@media (max-width: 800px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.6rem;
}

/* Karte mit Foto (Tipps-Hub) */
.card-linked {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 0;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.card-thumb { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; display: block; }
.card-body { padding: 1.2rem 1.35rem 1.45rem; }
.card-linked:hover { border-color: var(--color-chip-border); box-shadow: var(--shadow-soft); }

/* Anfahrtskarte / Bild in Kontakt-Karten */
.card-map { width: 100%; border-radius: 10px; margin-bottom: 0.9rem; display: block; }

/* Banner-Foto (z. B. Über uns) */
.figure-banner {
  border-radius: var(--radius);
  margin-top: 1.6rem;
  box-shadow: var(--shadow-soft);
  width: 100%;
}
.figure-placeholder {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border: 1px dashed var(--color-chip-border);
  box-shadow: none;
  color: var(--color-text-soft);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
/* Abstand unter einem Hero-Foto (direkt unter der Überschrift) zum folgenden
   Text – identisch zum Abstand Text → Buttons (1.4rem). */
.hero picture + .hero-lede,
.hero .figure-banner + .hero-lede,
.hero .figure-placeholder + .hero-lede {
  margin-top: 1.4rem;
}

.feature-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.feature-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-chip);
  color: var(--color-text);
  border: 1px solid var(--color-chip-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Therapist bios */
.therapists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}
@media (max-width: 760px) { .therapists { grid-template-columns: 1fr; } }
.therapist-card {
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  padding: 1.6rem;
}
.therapist-card ul { padding-left: 1.1rem; margin: 0.6rem 0 0; color: var(--color-text-soft); }
.therapist-portrait {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.8rem;
  border: 3px solid var(--color-chip);
}

/* Quote / insights */
.quote-strip {
  border-left: 4px solid var(--color-silver);
  padding-left: 1.1rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-primary-dark);
  margin: 1.1rem 0;
}

/* Testimonials */
.testimonial {
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  padding: 1.4rem;
}
.testimonial .stars {
  display: flex;
  gap: 2px;
  color: #C9A45E;
  margin-bottom: 0.7rem;
}
.testimonial cite {
  display: block;
  margin-top: 0.8rem;
  font-style: normal;
  font-weight: 600;
  color: var(--color-primary-dark);
  font-size: 0.9rem;
}
.testimonial-person {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.9rem;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.testimonial-person cite { margin-top: 0; }

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 1.1rem 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-primary-dark);
  font-family: var(--font-heading);
  font-size: 1.05rem;
}
.faq-item[open] summary { margin-bottom: 0.6rem; }

/* Breadcrumbs */
.breadcrumbs {
  font-size: 0.85rem;
  color: var(--color-text-soft);
  padding: 0.9rem 0;
}
.breadcrumbs a { color: var(--color-text-soft); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem; padding: 0; margin: 0; }
.breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: 0.3rem; color: var(--color-border); }

/* Video (Klick-zum-Laden, datensparsam) */
.video-embed {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-primary-light);
}
.video-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  border: none;
  cursor: pointer;
  background: var(--color-primary) center / cover no-repeat;
  color: #fff;
}
.video-facade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 30, 25, 0.32);
}
.video-facade:hover::after { background: rgba(20, 30, 25, 0.18); }
.video-play {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-facade-text {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}
.video-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-note {
  max-width: 540px;
  margin: 0.7rem auto 0;
  font-size: 0.8rem;
  color: var(--color-text-soft);
  text-align: center;
}

/* Final CTA band */
.cta-band {
  background: var(--color-ctaband);
  color: var(--color-ctaband-text);
  border-radius: var(--radius);
  padding: 2.2rem;
  text-align: center;
}
.cta-band h2 { color: var(--color-primary-dark); }
.cta-band p { color: var(--color-ctaband-text); }
.cta-band .btn:hover { background: var(--color-chip-hover); }

/* ---------------------------------- Footer ------------------------------- */

.site-footer {
  background: var(--color-footer);
  border-top: none;
  padding: 3rem 0 1.8rem;
  font-size: 0.92rem;
  color: var(--color-footer-text);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.6rem;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h3 {
  font-size: 0.95rem;
  color: var(--color-footer-heading);
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.4rem; }
.footer-grid a { color: var(--color-footer-text); text-decoration: none; }
.footer-grid a:hover { color: var(--color-accent-light); }
.site-footer p { color: var(--color-footer-text); }

.footer-bottom {
  border-top: 1px solid var(--color-footer-border);
  padding-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
}
.footer-bottom ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
}
.footer-bottom a { color: var(--color-footer-text); }
.footer-bottom a:hover { color: var(--color-accent-light); }

/* Dezente, aufklappbare Standort-/Bezirksliste im Footer */
.footer-orte {
  border-top: 1px solid var(--color-footer-border);
  padding-top: 1rem;
  margin-bottom: 1.4rem;
}
.footer-orte summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-footer-text);
  opacity: 0.85;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-orte summary:hover { opacity: 1; color: var(--color-accent-light); }
.footer-orte summary::-webkit-details-marker { display: none; }
.footer-orte summary::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 5px solid currentColor;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  transition: transform 0.15s ease;
}
.footer-orte[open] summary::before { transform: rotate(90deg); }
.footer-orte-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
  margin-top: 1rem;
}
@media (max-width: 620px) { .footer-orte-grid { grid-template-columns: 1fr; } }
.footer-orte-group h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-footer-heading);
  margin: 0 0 0.5rem;
}
.footer-orte-group h4 a { color: var(--color-footer-heading); text-decoration: none; }
.footer-orte-group h4 a:hover { color: var(--color-accent-light); }
.footer-orte-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 1.5rem;
  font-size: 0.82rem;
}
@media (max-width: 400px) { .footer-orte-group ul { columns: 1; } }
.footer-orte-group li { margin-bottom: 0.3rem; break-inside: avoid; }
.footer-orte-group a { color: var(--color-footer-text); text-decoration: none; opacity: 0.9; }
.footer-orte-group a:hover { color: var(--color-accent-light); opacity: 1; }

/* Regionen-Verlinkung (Hub-Seiten & Kontakt) */
.region-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
@media (max-width: 800px) { .region-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .region-grid { grid-template-columns: 1fr; } }
.region-link {
  padding: 0.85rem 1.1rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  text-decoration: none;
}
.region-link:hover {
  border-color: var(--color-chip-border);
  background: var(--color-chip);
  color: var(--color-primary-dark);
}

/* Kontaktformular */
.contact-form { max-width: 720px; }
.form-field { margin-bottom: 1.3rem; }
.form-field > label,
.check-group legend {
  display: block;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 0.4rem;
  padding: 0;
}
.form-field input[type="text"],
.form-field input[type="email"],
.form-field textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font: inherit;
  color: var(--color-text);
  background: var(--color-white);
}
.form-field textarea { resize: vertical; }
.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  border-color: var(--color-primary);
}
.req { color: #B4322A; }
.check-group { border: 0; margin: 0 0 1.3rem; padding: 0; }
.check-row,
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.5rem; }
.check-row input[type="checkbox"],
.form-consent input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  flex: none;
  accent-color: var(--color-primary);
}
.check-row label,
.form-consent label { margin: 0; font-weight: 400; color: var(--color-text); }

/* Utility */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
