/* ============================================================
   Paar- und Sexualtherapie Sara Rüegg — Styles
   Farben: Creme #FAF7F4, Warmbraun #8B6E5A, Salbeigrün #7A9E8E,
           Terrakotta #C4856A, Dunkel #3D3530, Beige #E8DDD5
   Fonts: Cormorant Garant (Überschriften), Inter (Fliesstext)
   ============================================================ */

/* Self-hosted fonts (DSGVO/nDSG-konform, kein Google-Request) */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-v21-latin_latin-ext-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-v21-latin_latin-ext-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-v21-latin_latin-ext-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-v20-latin_latin-ext-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-v20-latin_latin-ext-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-v20-latin_latin-ext-600.woff2') format('woff2');
}

/* ── Reset & Box Model ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Variablen ── */
:root {
  --creme:      #FAF7F4;
  --warmbraun:  #8B6E5A;
  --salbei:     #7A9E8E;
  --terrakotta: #C4856A;
  --dunkel:     #3D3530;
  --beige:      #E8DDD5;
  --weiss:      #FFFFFF;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --max-text: 820px;
  --max-wide: 1100px;
  --radius:   6px;

  /* Kontraststeuerbare Farben (werden von Farbvarianten überschrieben) */
  --nav-link:         rgba(255, 255, 255, 0.65);
  --nav-border-hover: rgba(255, 255, 255, 0.35);
  --logo-sub:         rgba(255, 255, 255, 0.45);
  --lang-inactive:    rgba(255, 255, 255, 0.4);
  --lang-hover:       rgba(255, 255, 255, 0.75);
  --lang-border:      rgba(255, 255, 255, 0.3);
  --footer-text:      rgba(255, 255, 255, 0.7);
  --footer-link:      rgba(255, 255, 255, 0.6);
  --subnav-link:      #999;
  --cta-text:         rgba(248, 243, 236, 0.8);
  --muted:            #666;
  --placeholder:      #888;
}

/* ── Basis ── */
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--creme);
  color: var(--dunkel);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
}

/* ── Typografie ── */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--warmbraun);
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); font-family: var(--font-body); font-weight: 600; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; max-width: var(--max-text); }
p:last-child { margin-bottom: 0; }

a { color: var(--terrakotta); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { padding-left: 1.4rem; margin-bottom: 1rem; }
li { margin-bottom: 0.3rem; max-width: var(--max-text); }

/* ── Layout-Helfer ── */
.container {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 4rem 0;
}

section.beige {
  background-color: var(--beige);
}

section.weiss {
  background-color: var(--weiss);
}

/* ── Navigation ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--warmbraun);
}

.site-header .container {
  display: flex;
  align-items: stretch;
  padding: 0 1.5rem;
  gap: 0;
  max-width: var(--max-wide);
  margin: 0 auto;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  padding: 0.6rem 1.5rem 0.6rem 0;
  flex-shrink: 0;
}
.site-logo:hover { text-decoration: none; }

.site-logo-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--creme);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.site-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-logo-text { line-height: 1.2; }

.site-logo-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--creme);
  letter-spacing: 0.01em;
}

.site-logo-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.59rem;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--logo-sub);
  margin-top: 0.1rem;
}

/* Nav-Links */
.site-nav {
  display: flex;
  align-items: stretch;
  flex: 1;
  justify-content: flex-end;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav li { display: flex; }

.site-nav a {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nav-link);
  padding: 0 0.85rem;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  display: flex;
  align-items: center;
  transition: color 0.18s, border-color 0.18s;
  white-space: nowrap;
}
.site-nav a:hover {
  color: var(--creme);
  border-bottom-color: var(--nav-border-hover);
  text-decoration: none;
}
.site-nav a.active {
  color: var(--creme);
  border-bottom-color: var(--terrakotta);
}

/* Kontakt CTA */
.nav-cta {
  background: var(--terrakotta) !important;
  border: none !important;
  border-radius: var(--radius) !important;
  color: var(--weiss) !important;
  font-weight: 600 !important;
  padding: 0.35rem 1.1rem !important;
  align-self: center !important;
  margin-left: 0.6rem !important;
  transition: background 0.18s !important;
}
.nav-cta:hover {
  background: #b8735a !important;
  text-decoration: none !important;
}

/* Language toggle (Pill) */
.lang-toggle {
  display: flex;
  align-items: center;
  margin-left: 1rem;
  flex-shrink: 0;
  align-self: center;
}
.lang-toggle-inner {
  display: flex;
  align-items: center;
  border: 1px solid var(--lang-border);
  border-radius: 20px;
  overflow: hidden;
}
.lang-toggle button, .lang-toggle a {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  font-weight: 500;
  padding: 0.22rem 0.6rem;
  line-height: 1;
  transition: background 0.15s, color 0.15s;
}
.lang-toggle button.active, .lang-toggle a.active {
  background: rgba(255, 255, 255, 0.18);
  color: var(--creme);
}
.lang-toggle button:not(.active), .lang-toggle a:not(.active) {
  color: var(--lang-inactive);
  text-decoration: none;
}
.lang-toggle a.active { text-decoration: none; }
.lang-toggle button:hover:not(.active), .lang-toggle a:hover:not(.active) {
  background: rgba(255, 255, 255, 0.08);
  color: var(--lang-hover);
  text-decoration: none;
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--creme);
  border-radius: 2px;
  transition: 0.25s;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: background 0.15s, transform 0.1s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }

.btn-primary {
  background-color: var(--terrakotta);
  color: var(--weiss);
}
.btn-primary:hover { background-color: #b8735a; }

.btn-secondary {
  background-color: transparent;
  color: var(--warmbraun);
  border: 1.5px solid var(--warmbraun);
}
.btn-secondary:hover { background-color: var(--beige); }

/* ── Hero ── */
.hero {
  background-color: var(--beige);
  padding: 5rem 0 4rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  margin-bottom: 0.4rem;
}

.hero-sub {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--salbei);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.hero-body {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-img {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background-color: var(--warmbraun);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--weiss);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-style: italic;
  text-align: center;
  padding: 2rem;
  opacity: 0.7;
}

/* ── Kacheln / Cards ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.card {
  background: var(--weiss);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 1px 4px rgba(61,53,48,0.07);
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 4px 16px rgba(61,53,48,0.12); }

.card-icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

/* Nummerierte Schritt-Icons (z. B. Ablauf-Schritte 1–5) */
.card-icon-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--warmbraun);
}

.card h3 {
  color: var(--warmbraun);
  margin-bottom: 0.5rem;
}

.card p { font-size: 0.95rem; }

.card .card-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--terrakotta);
}

/* ── Karten-Trennlinie & Themen-Grid ── */
.card-divider {
  border: none;
  border-top: 1px solid var(--beige);
  margin: 1rem 0;
}

.themen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 2rem;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.themen-grid span::before {
  content: "· ";
  color: var(--warmbraun);
}

/* ── Mini-Kacheln (Ansätze) ── */
.mini-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (max-width: 800px) {
  .mini-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .mini-cards { grid-template-columns: 1fr; }
}

.mini-card {
  background: var(--weiss);
  border-radius: 8px;
  padding: 1.2rem 1.4rem;
  box-shadow: 0 1px 4px rgba(61,53,48,0.07);
}

.mini-card-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--salbei);
  margin-bottom: 0.25rem;
}

.mini-card h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--warmbraun);
  margin-bottom: 0.3rem;
}

.mini-card p {
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
  color: var(--dunkel);
}

a.mini-card-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, border-color 0.2s;
  border: 1px solid transparent;
}
a.mini-card-link:hover {
  box-shadow: 0 4px 16px rgba(61,53,48,0.12);
  border-color: var(--warmbraun);
  text-decoration: none;
}
a.mini-card-link .card-link {
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.85rem;
}

a.card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, border-color 0.2s;
  border: 1px solid transparent;
  color: var(--dunkel);
}
a.card:hover {
  box-shadow: 0 4px 16px rgba(61,53,48,0.12);
  border-color: var(--warmbraun);
  text-decoration: none;
}
a.card .card-link {
  margin-top: auto;
  padding-top: 0.75rem;
}

/* ── Zweispaltiger Text-Block ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* ── Preis-Tabelle ── */
.preise-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin-top: 1.5rem;
}

.preise-table th,
.preise-table td {
  text-align: left;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--beige);
}

.preise-table th {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--warmbraun);
  background: var(--beige);
}

.preise-table tbody tr:last-child td { border-bottom: none; }

.preise-table .preis-chf {
  font-weight: 600;
  white-space: nowrap;
}

/* ── Info-Box ── */
.infobox {
  background: var(--beige);
  border-left: 3px solid var(--salbei);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  max-width: var(--max-text);
}

.infobox p { font-size: 0.95rem; }

.beige .infobox { background: var(--creme); }

/* ── Angebot-Seite: Leistungs-Sektionen ── */
.angebot-section {
  padding: 0;
}
.angebot-section + .angebot-section {
  border-top: 1px solid var(--beige);
}

/* ── Über-mich Foto-Block ── */
.ueber-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: start;
}

.portrait-placeholder {
  border-radius: 8px;
  aspect-ratio: 3/4;
  background-color: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warmbraun);
  font-family: var(--font-heading);
  font-style: italic;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.95rem;
  border: 1.5px dashed var(--warmbraun);
}

/* ── Kontaktformular ── */
.form-group {
  margin-bottom: 1.2rem;
}

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--dunkel);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  max-width: var(--max-text);
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--beige);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dunkel);
  background: var(--weiss);
  transition: border-color 0.15s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--salbei);
}
textarea { min-height: 130px; resize: vertical; }

/* ── Footer ── */
.site-footer {
  background-color: var(--dunkel);
  color: var(--footer-text);
  padding: 2.5rem 0;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer .copyright a {
  color: var(--footer-copyright-link, rgba(255,255,255,0.6));
  text-decoration: underline;
  text-decoration-color: var(--footer-copyright-link-underline, rgba(255,255,255,0.25));
  text-underline-offset: 3px;
}
.site-footer .copyright a:hover {
  color: var(--footer-copyright-link-hover, #fff);
  text-decoration-color: var(--footer-copyright-link-hover, #fff);
}

.footer-links a {
  color: var(--footer-link);
  font-size: 0.85rem;
}
.footer-links a:hover { color: #fff; }

/* ── Walk & Talk Intro-Layout ── */
.walk-talk-intro {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}

/* ── CTA-Button (Outline auf Petrol) ── */
.cta-outline-btn:hover {
  background: rgba(248, 243, 236, 0.15) !important;
  text-decoration: none !important;
}

/* ── Trennlinie / Divider ── */
.divider {
  height: 3px;
  background: linear-gradient(to right, var(--salbei), transparent);
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-inner,
  .two-col,
  .ueber-grid,
  .walk-talk-intro,
  .cta-section .cta-grid {
    grid-template-columns: 1fr;
  }
  .cta-section .cta-grid { gap: 1.25rem; }

  .hero-img { aspect-ratio: 3/4; max-width: 320px; margin: 0 auto; order: -1; }

  .footer-inner { flex-direction: column; align-items: flex-start; }

  /* SubNav an Mobile-Header-Höhe anpassen (kein Lücken-Streifen) */
  .subnav-sticky { top: 48px; }

  /* Kompaktere Seiten-Header auf Mobile */
  .page-header { padding: 2rem 0 1.5rem; }
  .page-header-lead { font-size: 1rem; }

  /* Lange E-Mail-Adressen umbrechen (Kontakt) */
  .kontakt-list a[href^="mailto:"],
  a[href^="mailto:"] { word-break: break-word; overflow-wrap: anywhere; }

  /* Tap-Targets: Buttons und Card-Links mindestens 44px */
  .btn { min-height: 44px; display: inline-flex; align-items: center; }

  /* Hero-Buttons auf Mobile gestapelt, gleiche Breite */
  .hero-buttons .btn { width: 100%; justify-content: center; }

  /* Hero-Bild: Hochformat, Gesicht zentriert */
  .hero-img img { object-fit: cover !important; object-position: center 35% !important; }
}

@media (max-width: 480px) {
  section { padding: 2.5rem 0; }
  .hero { padding: 3rem 0 2.5rem; }
}

/* ── Hoher Kontrast (prefers-contrast: more) ── */
@media (prefers-contrast: more) {
  :root {
    --creme:      #FFFFFF;
    --warmbraun:  #3D1A0D;  /* Kontrast auf Weiss: ~16:1 */
    --salbei:     #1A5940;  /* Kontrast auf Weiss: ~9:1  */
    --terrakotta: #7A2D00;  /* Kontrast auf Weiss: ~9:1  */
    --dunkel:     #000000;
    --beige:      #C8B8AC;  /* als Hintergrund: dunkler für Abgrenzung */
    --weiss:      #FFFFFF;

    --nav-link:         #FFFFFF;
    --nav-border-hover: rgba(255, 255, 255, 0.6);
    --logo-sub:         #FFFFFF;
    --lang-inactive:    rgba(255, 255, 255, 0.85);
    --lang-hover:       #FFFFFF;
    --lang-border:      rgba(255, 255, 255, 0.6);
    --footer-text:      #FFFFFF;
    --footer-link:      #FFFFFF;
    --subnav-link:      #000000;
    --cta-text:         #FFFFFF;
    --muted:            #000000;
    --placeholder:      #000000;
  }

  /* Links immer unterstrichen */
  a { text-decoration: underline; }
  a:hover { text-decoration: underline; }

  /* Navigation: aktiver Link deutlicher */
  .site-nav a.active { text-decoration: underline; font-weight: 600; }

  /* Header-Trennlinie verstärken */
  .site-header { border-bottom: 2px solid var(--dunkel); }
  .site-nav a { color: var(--nav-link); }
  .nav-cta { border-color: var(--nav-link) !important; border-bottom-color: var(--nav-link) !important; }

  /* Buttons: klarer Rahmen */
  .btn-primary { outline: 2px solid var(--dunkel); }
  .btn-secondary { border-width: 2px; }

  /* Cards: Schatten durch Rahmen ersetzen */
  .card {
    box-shadow: none;
    border: 2px solid var(--dunkel);
  }
  .card:hover { box-shadow: none; }

  /* Formularfelder */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea,
  select {
    border: 2px solid var(--dunkel);
  }
  input:focus, textarea:focus, select:focus {
    border-color: var(--dunkel);
    outline: 3px solid var(--terrakotta);
    outline-offset: 1px;
  }

  /* Infobox Rahmen verstärken, Hintergrund wie Abschnitt */
  .infobox { border-left-width: 5px; border-left-color: var(--salbei); background: var(--creme); }
  .beige .infobox { background: var(--beige); }

  /* Preise-Tabelle */
  .preise-table th,
  .preise-table td { border-bottom: 1px solid var(--dunkel); }

  /* Abschnitt-Trennlinien */
  .angebot-section + .angebot-section { border-top-color: var(--dunkel); }

  /* Footer: maximaler Kontrast */
  .site-footer {
    background-color: #000000;
    color: #FFFFFF;
  }
  .footer-links a { color: #FFFFFF; }
  .footer-links a:hover { text-decoration: underline; }

  /* Divider sichtbarer */
  .divider { background: var(--salbei); opacity: 1; }

  /* Portrait-Platzhalter Rahmen */
  .portrait-placeholder { border: 2px solid var(--dunkel); }
}

/* ── Sticky Subnav (globale Komponente) ── */
.subnav-sticky {
  position: fixed;
  top: 52px;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--weiss);
  border-bottom: 1px solid var(--beige);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
  overflow: hidden;
}
.subnav-scroll {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.subnav-scroll::-webkit-scrollbar { display: none; }
.subnav-sticky::before,
.subnav-sticky::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 32px;
  pointer-events: none;
  z-index: 2;
}
.subnav-sticky::before {
  left: 0;
  background: linear-gradient(to right, var(--weiss) 30%, transparent);
}
.subnav-sticky::after {
  right: 0;
  background: linear-gradient(to left, var(--weiss) 30%, transparent);
}
@media (max-width: 768px) {
  .subnav-sticky { top: 44px; }
}

/* Header: schon früher auf Burger-Modus umschalten, sonst wird DE/EN/Kontakt abgeschnitten */
@media (max-width: 960px) {
  .site-header { position: sticky; top: 0; }
  .site-header .container { padding: 0 1rem; align-items: center; }

  .site-logo { padding: 0.5rem 0; }
  .site-logo-badge { width: 28px; height: 28px; }
  .site-logo-sub { display: none; }
  .site-logo-name { font-size: 1rem; }

  .lang-toggle { margin-left: auto; margin-right: 0.25rem; order: 2; }
  .lang-toggle-inner { border: none; border-radius: 0; }
  .lang-toggle a {
    padding: 0.3rem 0.35rem;
    font-size: 0.72rem;
    color: var(--lang-inactive);
  }
  .lang-toggle a.active {
    background: transparent;
    color: var(--creme);
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .nav-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    padding: 0;
    align-items: center;
    justify-content: center;
    order: 3;
  }
  .nav-toggle span { width: 22px; height: 2px; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--warmbraun);
    border-top: 1px solid rgba(255,255,255,0.15);
    flex-direction: column;
    padding: 0.5rem 1.5rem 1rem;
    gap: 0;
    z-index: 99;
  }
  .site-nav.open { display: flex; }
  .site-nav li { display: block; }
  .site-nav a {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    text-align: left;
    width: 100%;
  }
  .site-nav a:hover { border-bottom-color: rgba(255,255,255,0.08); }
  .site-nav a.active { border-bottom-color: rgba(255,255,255,0.08); color: var(--terrakotta); }
  .nav-cta {
    margin-left: 0 !important;
    margin-top: 0.6rem !important;
    align-self: flex-start !important;
    border-bottom: 1.5px solid rgba(255,255,255,0.55) !important;
  }
}
.subnav-sticky.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.subnav-sticky .container {
  display: flex;
  gap: 0;
}
.subnav-sticky a {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--subnav-link);
  padding: 0.6rem 1rem;
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.subnav-sticky a:hover {
  color: var(--warmbraun);
  text-decoration: none;
}
.subnav-sticky a.active {
  color: var(--warmbraun);
  border-bottom-color: var(--warmbraun);
}
.subnav-sticky .sep {
  width: 1px;
  background: var(--beige);
  margin: 0.5rem 0.25rem;
  flex-shrink: 0;
}
/* Anchor-Ziele unter Header (52px) + SubNav (~40px) verschieben,
   damit der Titel beim Klick nicht hinter der Leiste verschwindet. */
section[id] {
  scroll-margin-top: 96px;
}

/* ── CTA-Section (warmbraun, globale Komponente) ── */
.cta-section {
  background-color: var(--warmbraun);
  padding: 4rem 0;
}
.cta-section .cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}
.cta-section h2 {
  color: var(--creme);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.4rem;
  text-align: left;
}
.cta-section p {
  color: var(--cta-text);
  font-size: 0.95rem;
  margin: 0;
  text-align: left;
  max-width: none;
}
.cta-section .btn {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .cta-section .cta-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .cta-section { padding: 3rem 0; }
  .cta-section h2 { text-align: center; }
  .cta-section p { text-align: center; }
  .cta-section .cta-grid > div:last-child { justify-self: center; }
}

/* ── Hero-Buttons ── */
.hero-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* ── Seiten-Header (beiger Intro-Block oben auf Unterseiten) ── */
.page-header {
  padding: 3rem 0 2.5rem;
}
.page-header-lead {
  font-size: 1.05rem;
  max-width: var(--max-text);
  margin-top: 0.5rem;
}

/* ── Kursiver Salbei-Untertitel unter H2 (Methoden-/Abschnitts-Label) ── */
.methode-header {
  margin-bottom: 1.2rem;
}

.methode-sub {
  font-style: italic;
  color: var(--salbei);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-top: -0.5rem;
  margin-bottom: 0;
}
