/* ============================================
   Jennifer Mayrhofer – Psychotherapie
   Farbpalette aus dem Canva-Design
   ============================================ */

/* Self-hosted Fonts (WOFF2 in /fonts/) – via @fontsource (offizieller Google-Fonts-Mirror) */
@font-face {
  font-family: 'Dosis';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/dosis-latin-300-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Dosis';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/dosis-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Dosis';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/dosis-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Dosis';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/dosis-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Dosis';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/dosis-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Ephesis';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ephesis-latin-400-normal.woff2') format('woff2');
}

:root {
	color-scheme: light only;
  --cream:        #FAF6F1;
  --cream-deep:   #F3EBE0;
  --terracotta:   #C9956A;
  --terracotta-d: #B07C50;
  --sage:         #9BAE98;
  --sage-deep:    #7E927B;
  --sage-wash:    #EAEFE4;
  --mauve:        #D4B4C4;
  --gold:         #C9A869;
  --brown:        #5C4437;
  --brown-soft:   #7A6855;
  --brown-light:  #6B5A48; /* WCAG AA ≥ 4.5:1 auf --cream Hintergrund */
  --brown-footer: #2D1E16; /* WCAG AA ~6:1 auf --terracotta Footer-Hintergrund */
  --white:        #FFFFFF;

  --font-body:   'Dosis', system-ui, sans-serif;
  --font-script: 'Ephesis', cursive;

  --maxw:   1080px;
  --radius: 18px;
  --shadow: 0 10px 40px rgba(92, 68, 55, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px;overflow-x: hidden; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.75;
  color: var(--brown-soft);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

p { margin-bottom: 1rem; }
a { color: inherit; }
.muted { color: var(--brown-light); }
strong { color: var(--brown); font-weight: 600; }

/* ============================================
   SKIP NAVIGATION
   ============================================ */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--terracotta);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-nav:focus { top: 0; }

/* ============================================
   FOCUS-VISIBLE – globale Stile
   ============================================ */
:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 4px;
}
/* Browser-Default für Elemente die keinen extra Stil brauchen */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 246, 241, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 149, 106, 0.14);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(92,68,55,0.07); }
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--brown);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
.nav-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.nav-links a {
  text-decoration: none;
  color: var(--brown-soft);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.25s;
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--terracotta);
  transition: width 0.25s;
}
.nav-links a:not(.nav-cta):hover { color: var(--brown); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  background: var(--terracotta);
  color: var(--white) !important;
  padding: 0.5rem 1.3rem;
  border-radius: 100px;
  transition: background 0.25s, transform 0.2s;
}
.nav-cta:hover { background: var(--terracotta-d); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 101;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: 0.3s;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 4rem;
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }

.hero-script {
  font-family: var(--font-script);
  font-size: clamp(2.8rem, 7.5vw, 5.2rem);
  color: var(--brown);
  line-height: 1;
  margin-bottom: 0.2rem;
  overflow-wrap: break-word;
}
.hero-name-sub {
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 3.8vw, 2.2rem);
  color: var(--brown-soft);
  line-height: 1;
  margin-bottom: 1.3rem;
  font-weight: 400;
  overflow-wrap: break-word;
}
.hero-subtitle {
  font-size: clamp(0.95rem, 2.4vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brown-soft);
  margin-bottom: 1.4rem;
}
.hero-methods {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.6rem;
}
.hero-method {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--terracotta-d);
  padding: 0.35rem 1.4rem;
  border: 1.5px solid var(--terracotta);
  border-radius: 100px;
}

/* Hero logo – großes Dekorationselement links hinter dem Text */
.hero-logo-bg {
  position: absolute;
  left: -16px;
  bottom: -3vh;
  top: auto;
  transform: none;
  width: min(500px, 30vw, max(0px, max(24px, 50vw - 380px) - 40px));
  height: auto;
  z-index: 1;
  pointer-events: none;
  opacity: 0.88;
}

/* Hero quote / intro text – wieder zentriert */
.hero-quote {
  font-size: clamp(0.92rem, 2vw, 1.06rem);
  font-style: italic;
  font-weight: 400;
  color: var(--brown);
  line-height: 1.8;
  margin-bottom: 2.8rem;
  position: relative;
  text-align: center;
}
.hero-quote p { margin-bottom: 0.65rem; }
.hero-quote p:last-child { margin-bottom: 0; }

.btn-primary {
  display: inline-block;
  background: var(--terracotta);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  padding: 0.9rem 2.4rem;
  border-radius: 100px;
  box-shadow: 0 8px 24px rgba(201, 149, 106, 0.32);
  transition: transform 0.22s, box-shadow 0.22s, background 0.22s;
}
.btn-primary:hover {
  background: var(--terracotta-d);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201, 149, 106, 0.42);
}

/* blobs */
.blob { position: absolute; z-index: 1; pointer-events: none; opacity: 0.85; height: auto; }
.blob-hero-1 { width: 460px; top: -120px; left: -160px; }
.blob-hero-2 { width: 300px; top: -80px; right: -70px; }
.blob-hero-3 { width: 380px; bottom: -150px; right: -120px; opacity: 0.7; }

.scroll-hint {
  position: absolute;
  bottom: 0.75rem; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--brown-light);
  border-radius: 100px;
  z-index: 2;
}
.scroll-hint span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  background: var(--brown-light);
  border-radius: 4px;
  transform: translateX(-50%);
  animation: scroll-bounce 1.8s infinite;
}
@keyframes scroll-bounce {
  0%   { opacity: 0; transform: translate(-50%, 0); }
  40%  { opacity: 1; }
  80%  { opacity: 0; transform: translate(-50%, 14px); }
  100% { opacity: 0; }
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  position: relative;
  padding: 6rem 1.5rem;
  overflow: hidden;
}
.section-wash { background: var(--sage-wash); }
.container { max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 2; }
.container-narrow { max-width: 760px; }
.center { text-align: center; }

.section-label {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.5rem;
}
.section-script {
  text-align: center;
  font-family: var(--font-script);
  font-size: clamp(2.6rem, 6vw, 3.8rem);
  font-weight: 400;
  color: var(--brown);
  line-height: 1;
  margin-bottom: 3rem;
}
.section-heading {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 2rem;
  line-height: 1.3;
  overflow-wrap: break-word;
}

/* ============================================
   ÜBER MICH
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3.5rem;
  align-items: start;
}
.about-photo { position: sticky; top: 100px; }
.about-photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}
.photo-note {
  text-align: center;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--brown);
  margin-top: 1rem;
}
.about-block { margin-bottom: 2.2rem; }
.about-block:last-child { margin-bottom: 0; }
.about-block h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--terracotta-d);
  margin-bottom: 0.7rem;
  letter-spacing: 0.01em;
}
.about-block ul { list-style: none; }
.about-block li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.6rem;
  line-height: 1.6;
}
.about-block li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.65em;
  width: 7px; height: 7px;
  background: var(--sage);
  border-radius: 50%;
}
.about-block .two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
}

/* ============================================
   PREISE
   ============================================ */
.price-cards {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.2rem 2.8rem;
  text-align: center;
  box-shadow: var(--shadow);
  min-width: 220px;
  max-width: 280px;
  margin: 0 auto;
  border: 1px solid rgba(155, 174, 152, 0.25);
}
.price-name {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brown-soft);
  margin-bottom: 0.6rem;
}
.price-amount {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.price-detail { font-size: 1rem; color: var(--brown-light); margin: 0; }
.price-note { text-align: center; margin-bottom: 0.4rem; }

/* ============================================
   AKTUELLES
   ============================================ */
#aktuelles {
  overflow: visible;
  z-index: 1;
}
.aktuelles-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--terracotta);
  margin-bottom: 3rem;
  text-align: center;
}
.aktuelles-main {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 0.5rem;
}
.aktuelles-sub { font-size: 1.1rem; color: var(--brown-soft); margin: 0; }
.quote-script {
  font-family: var(--font-script);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: var(--sage-deep);
  line-height: 1.5;
  text-align: right;
  overflow-wrap: break-word;
}
.blob-akt-1 { width: 300px; top: -60px; left: -130px; opacity: 0.55; }
.blob-akt-2 { width: 320px; bottom: -120px; right: -120px; opacity: 0.5; }

/* ============================================
   INFO
   ============================================ */
#info p { text-align: center; }
.info-divider {
  width: 60px; height: 3px;
  background: var(--sage);
  border-radius: 3px;
  margin: 2.5rem auto;
}
.info-subhead {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--terracotta-d);
  margin-bottom: 1rem;
  overflow-wrap: break-word;
}
.text-link {
  color: var(--terracotta-d);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid rgba(201,149,106,0.35);
  transition: border-color 0.25s;
}
.text-link:hover { border-color: var(--terracotta); }

/* ============================================
   KONTAKT
   ============================================ */
#kontakt {
  overflow: visible;
  z-index: 1;
}
.kontakt-intro {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--brown);
  line-height: 1.7;
}
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: start;
}
.kontakt-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  box-shadow: var(--shadow);
}
.kontakt-item {
  display: block;
  text-decoration: none;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(155,174,152,0.22);
  transition: padding-left 0.2s;
}
.kontakt-item:last-of-type { border-bottom: none; }
a.kontakt-item:hover { padding-left: 0.4rem; }
.kontakt-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.2rem;
}
.kontakt-value {
  display: block;
  font-size: 1.1rem;
  color: var(--brown);
  font-weight: 500;
  word-break: break-word;
}
.kontakt-features {
  list-style: none;
  padding-top: 0.9rem;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(155,174,152,0.22);
}
.kontakt-features li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 0.7rem;
  font-size: 1.05rem;
}
.feat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  background: var(--sage-wash);
  border-radius: 50%;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Map preview (in contact card) */
.map-preview {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 0.8rem;
  cursor: pointer;
  height: 130px;
  border: 1px solid rgba(155,174,152,0.25);
  transition: box-shadow 0.25s;
}
.map-preview:hover { box-shadow: 0 6px 20px rgba(92,68,55,0.12); }
.map-preview iframe {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  border: none;
}
.map-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0.7rem;
  background: linear-gradient(to bottom, transparent 50%, rgba(92,68,55,0.15));
  transition: background 0.25s;
}
.map-overlay span {
  background: rgba(250,246,241,0.95);
  color: var(--terracotta-d);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(92,68,55,0.12);
}
.map-preview:hover .map-overlay {
  background: linear-gradient(to bottom, transparent 30%, rgba(92,68,55,0.25));
}

/* Map modal */
.map-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(92,68,55,0.55);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.map-modal.active { display: flex; }
.map-modal-inner {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: min(540px, 80vh);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(92,68,55,0.4);
}
.map-modal-inner iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
#map-modal-content {
  width: 100%;
  height: 100%;
}
.map-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cream);
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  color: var(--brown);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(92,68,55,0.15);
  line-height: 1;
}
.map-modal-close:hover { background: var(--cream-deep); }

/* ============================================
   GOOGLE MAPS CONSENT-GATE
   ============================================ */
.map-consent-gate {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-deep);
  cursor: pointer;
  transition: background 0.2s;
}
.map-consent-gate:hover { background: #EAE0D4; }
.map-consent-gate-modal {
  position: static;
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  background: var(--cream-deep);
}
.map-consent-inner {
  text-align: center;
  padding: 1.2rem 1.5rem;
}
.map-consent-title {
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 0.3rem;
  font-size: 1rem;
}
.map-consent-info {
  font-size: 0.82rem;
  color: var(--brown-soft);
  margin-bottom: 0.9rem;
  line-height: 1.5;
}
.map-consent-btn {
  display: inline-block;
  background: var(--terracotta);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  letter-spacing: 0.02em;
  transition: background 0.2s;
}
.map-consent-gate:hover .map-consent-btn { background: var(--terracotta-d); }

/* ============================================
   DSGVO CHECKBOX IM FORMULAR
   ============================================ */
.form-group-check { margin-bottom: 1.2rem; }
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--brown-soft);
}
.check-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0.15em;
  accent-color: var(--terracotta);
  cursor: pointer;
  border-radius: 4px;
}

/* ============================================
   FOOTER LINK
   ============================================ */
.footer-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-link:hover { color: var(--cream); }

/* Kontakt form wrap */
.kontakt-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  box-shadow: var(--shadow);
}
.kontakt-hint {
  background: rgba(212, 180, 196, 0.18);
  border-radius: 14px;
  padding: 1.1rem 1.3rem;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.4rem;
}

/* Form */
.honeypot-field { display: none !important; }
.nav-backdrop { display: none; }
.kontakt-form { display: flex; flex-direction: column; }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.72rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--brown);
  background: var(--cream);
  border: 1.5px solid rgba(155,174,152,0.4);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(155,174,152,0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--brown-light);
  font-style: italic;
}
.optional {
  color: var(--brown-light);
  font-weight: 400;
  font-size: 0.9em;
  text-transform: none;
  letter-spacing: 0;
}
.btn-submit {
  width: 100%;
  background: var(--terracotta);
  color: var(--white);
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  cursor: pointer;
  margin-top: 0.5rem;
  box-shadow: 0 8px 24px rgba(201,149,106,0.25);
  transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
}
.btn-submit:hover {
  background: var(--terracotta-d);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(201,149,106,0.35);
}
.form-datenschutz {
  font-size: 0.8rem;
  color: var(--brown-light);
  text-align: center;
  margin-top: 0.8rem;
  line-height: 1.5;
  margin-bottom: 0;
}
.blob-kontakt-1 { width: 300px; top: -80px; right: -120px; opacity: 0.5; }

.krisen-box {
  background: rgba(201, 149, 106, 0.10);
  border: 1.5px solid rgba(201, 149, 106, 0.3);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  max-width: 720px;
  margin: 0 auto;
}
.krisen-title {
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
}
.krisen-box ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
}
.krisen-box li {
  line-height: 1.5;
  color: var(--brown-soft);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--terracotta);
  color: var(--brown-footer);
  padding: 3.5rem 1.5rem 2rem;
}
.footer p { margin-bottom: 0; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(92,68,55,0.2);
  margin-bottom: 2rem;
}
.footer-name {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--cream);
  line-height: 1;
  overflow-wrap: break-word;
}
.footer-role {
  font-size: 0.95rem;
  color: var(--brown-footer);
  letter-spacing: 0.02em;
}
.footer-up {
  width: 44px; height: 44px;
  border: 1.5px solid rgba(92,68,55,0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--brown);
  font-size: 1.3rem;
  transition: background 0.25s;
  flex-shrink: 0;
}
.footer-up:hover { background: rgba(92,68,55,0.1); }
.footer-legal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}
.footer-legal h4 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown-footer);
  margin-bottom: 0.8rem;
}
.footer-legal p { font-size: 0.95rem; line-height: 1.7; color: var(--brown-footer); overflow-wrap: break-word; }
.footer-note { font-size: 0.85rem; color: var(--brown-footer); margin-bottom: 0.6rem !important; }
.footer-copy { font-size: 0.85rem; color: var(--brown-footer); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-photo { position: static; max-width: 300px; margin: 0 auto; }
  .about-block .two-col { grid-template-columns: 1fr; gap: 0; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .krisen-box ul { grid-template-columns: 1fr; }
  .footer-legal { grid-template-columns: 1fr; gap: 1.8rem; }
}

@media (max-width: 680px) {
  body { font-size: 17px; }
  .section-legal { padding-top: 6rem; }

  /* ---- Nav: Touch-Optimierung ---- */
  .nav-toggle { display: flex; }
  .nav-logo { min-height: 44px; }

  /* ---- Hero-Quote auf Mobile ausblenden ---- */
  .hero-quote {
    display: none;
  }
  .hero-methods {
    margin-bottom: 2rem;
  }
.nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: var(--cream);
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.3rem;
    box-shadow: -10px 0 40px rgba(92,68,55,0.15);
    transition: right 0.3s ease;
    padding: 5.5rem 1.5rem 2rem;
    overflow-y: auto;
  }
  .nav-links.open { right: 0; }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(58, 43, 34, 0.32);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .nav-backdrop.active { opacity: 1; pointer-events: auto; }
  /* Echte Touch-Targets ≥44px für alle Menüpunkte außer CTA */
  .nav-links a:not(.nav-cta) {
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
    min-height: 44px;
    padding: 0.85rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* CTA bleibt als Pill erkennbar, bekommt aber eigenes Touch-Target */
  .nav-cta {
    width: 100%;
    min-height: 48px;
    font-size: 1.15rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ---- Hero: Stabilität & Touch-Optimierung ---- */
  .hero {
    padding: 6rem 1.3rem 4rem;
    min-height: 100dvh;       /* Fallback 100vh erbt die Basisregel automatisch */
  }
  .hero-logo-bg {
    width: 110px;
    height: 110px;
    object-fit: contain;
    left: -20px;
    bottom: 0;
    opacity: 0.55;
  }

  /* Dekorative Blobs verkleinert – weniger Unruhe auf kleinen Screens */
  .blob-hero-1 { width: 220px; top: -60px; left: -90px; }
  .blob-hero-2 { width: 160px; top: -40px; right: -50px; }
  .blob-hero-3 { width: 200px; bottom: -90px; right: -70px; opacity: 0.55; }

  /* Scroll-Hint-Link: unsichtbare Klickfläche auf ≥44px erweitert,
     ohne die sichtbare Kapsel optisch zu verändern */
  .scroll-hint { display: none; }

  /* ---- Preise: Karten nutzen volle Breite auf Phones ---- */
  .price-cards {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .price-card {
    min-width: 0;
    padding: 1.8rem 1.5rem;
  }

  /* ---- Aktuelles: Platz-Optimierung & kleinere Blobs ---- */
  .aktuelles-box { padding: 2rem 1.3rem; }
  .blob-akt-1 { width: 150px; top: -30px; left: -60px; }
  .blob-akt-2 { width: 160px; bottom: -60px; right: -60px; }
  .quote-script { text-align: center; }

  /* ---- Info: Lesbarkeit & Touch-Target für den Gesetzes-Link ---- */
  #info p:not(.section-label) { text-align: left; }
  #info .text-link {
    display: inline-block;
    padding: 0.6rem 0;
    min-height: 44px;
  }

  /* ---- Kontakt: Touch-Targets & Platzoptimierung ---- */
  .kontakt-card,
  .kontakt-form-wrap,
  .krisen-box {
    padding: 1.6rem 1.3rem;
  }
  .kontakt-intro { text-align: left; }
  .blob-kontakt-1 { width: 150px; top: -40px; right: -60px; }

  .form-group input,
  .form-group textarea {
    padding: 0.85rem 1rem;
  }

  .check-label input[type="checkbox"] {
    width: 22px;
    height: 22px;
  }
  .form-group-check .text-link {
    display: inline-block;
    padding: 4px 0;
  }

  .map-modal { padding: 1rem; }
  .map-modal-inner {
    height: min(540px, 80dvh);   /* Fallback 80vh erbt die Basisregel automatisch */
  }
  .map-modal-close {
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
    top: 0.5rem;
    right: 0.5rem;
  }

  /* ---- Footer: Touch-Target E-Mail-Link & Platzoptimierung ---- */
  .footer { padding: 3rem 1.3rem 2rem; }
  .footer-link {
    display: inline-block;
    padding: 0.5rem 0;
  }
  .footer-top { flex-direction: column; gap: 1.5rem; text-align: center; }
}

/* ---- Schutz vor Overflow bei sehr kleinen Screens: Nav-Logo ---- */
@media (max-width: 420px) {
  .nav-inner { padding: 0.7rem 1rem; }
  .nav-logo { min-width: 0; }
  .nav-logo span {
    font-size: 0.92rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
  }
}

/* ---- Schutz vor Overflow bei sehr kleinen Screens: Script-Headlines ---- */
@media (max-width: 380px) {
  .hero-script { font-size: 2.3rem; }
  .hero-name-sub { font-size: 1.35rem; }
  .quote-script { font-size: 1.5rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-hint span { animation: none; }
}
/* ============================================
   FORCED COLORS (Windows Kontrastmodus)
   ============================================ */
@media (forced-colors: active) {
  .btn-primary,
  .btn-submit,
  .nav-cta {
    border: 2px solid ButtonText;
    forced-color-adjust: none;
    background: ButtonFace;
    color: ButtonText;
  }
  .btn-primary:hover,
  .btn-submit:hover,
  .nav-cta:hover {
    background: Highlight;
    color: HighlightText;
  }
}
/* ============================================
   BARRIEREFREIHEIT – nur für Screenreader
   ============================================ */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
@media (prefers-color-scheme: dark) {
  html.sb-dark-ok {
    --cream:        #2B221A;
    --cream-deep:   #332822;
    --sage-wash:    #2F2B21;
    --brown:        #F5EBDF;
    --brown-soft:   #D9C9B8;
    --brown-light:  #B6A28C;
    --terracotta-d: #CB9A6E;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  }
  html.sb-dark-ok .hero {
    background: #3A2E23;
  }
  html.sb-dark-ok .price-card,
  html.sb-dark-ok .kontakt-card,
  html.sb-dark-ok .aktuelles-box,
  html.sb-dark-ok .kontakt-form-wrap {
    background: #3A2E23;
    border-color: rgba(217, 201, 184, 0.14);
  }
  html.sb-dark-ok .feat-icon {
    background: rgba(217, 201, 184, 0.10);
  }
  html.sb-dark-ok .nav {
    background: rgba(43, 34, 26, 0.85);
    border-bottom-color: rgba(217, 201, 184, 0.12);
  }
  html.sb-dark-ok .form-group input,
  html.sb-dark-ok .form-group textarea {
    background: #322820;
    border-color: rgba(217, 201, 184, 0.22);
    color: var(--brown-soft);
  }
  html.sb-dark-ok .form-group input::placeholder,
  html.sb-dark-ok .form-group textarea::placeholder {
    color: var(--brown-light);
  }
  html.sb-dark-ok .map-consent-gate,
  html.sb-dark-ok .map-consent-gate-modal {
    background: #322820;
  }
  html.sb-dark-ok .map-consent-gate:hover { background: #3A2E23; }
  html.sb-dark-ok .map-modal-close {
    background: #3A2E23;
    color: var(--brown-soft);
  }
  html.sb-dark-ok .map-modal-close:hover { background: #453629; }
}