/* Wildrose – Stylesheet
   Farben und Schriften laut Relaunch/03-Design-Brief.md (Kontraste WCAG AA geprüft). */

@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-hyperlegible-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-hyperlegible-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-hyperlegible-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --hintergrund: #FBF7F4;
  --flaeche: #F4E4EA;
  --text: #2B2230;
  --text-leise: #5E5462;
  --primaer: #8E2F5A;
  --primaer-dunkel: #6E2145;
  --blatt: #3D6660;
  --hilfe: #4A2545;
  --weiss: #FFFFFF;
  --linie: #E6D6DD;

  --schrift-text: "Atkinson Hyperlegible", system-ui, sans-serif;
  --schrift-titel: "Source Serif 4", Georgia, serif;

  --radius: 12px;
  --abstand: clamp(1.25rem, 4vw, 2rem);
  --abschnitt: clamp(3rem, 8vw, 5.5rem);
  --breite: 72rem;
  --lesebreite: 40rem;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--hintergrund);
  color: var(--text);
  font-family: var(--schrift-text);
  font-size: 1.125rem;            /* 18 px */
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--schrift-titel);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 6vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

a { color: var(--primaer); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--primaer-dunkel); text-decoration-thickness: 2px; }

:focus-visible {
  outline: 2px solid var(--primaer-dunkel);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--hilfe); color: var(--weiss);
  padding: 0.75rem 1rem; border-radius: var(--radius); z-index: 100;
}
.skip-link:focus { top: 1rem; color: var(--weiss); }

main:focus { outline: none; }

.innen { max-width: var(--breite); margin: 0 auto; padding: 0 var(--abstand); }
.lesespalte { max-width: var(--lesebreite); }
.abschnitt { padding: var(--abschnitt) 0; }
.abschnitt-flaeche { background: var(--flaeche); }
.einleitung { font-size: 1.25rem; color: var(--text-leise); }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0.6rem 1.25rem;
  border: 2px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primaer { background: var(--primaer); color: var(--weiss); }
.btn-primaer:hover { background: var(--primaer-dunkel); color: var(--weiss); }
.btn-hilfe { background: var(--hilfe); color: var(--weiss); }
.btn-hilfe:hover { background: var(--text); color: var(--weiss); }
.btn-exit { background: transparent; color: var(--hilfe); border-color: var(--hilfe); }
.btn-exit:hover { background: var(--hilfe); color: var(--weiss); }

/* ---------- Kopf ---------- */

.kopf { background: var(--hintergrund); border-bottom: 1px solid var(--linie); position: sticky; top: 0; z-index: 10; }
.kopf-innen {
  max-width: var(--breite); margin: 0 auto; padding: 0.75rem var(--abstand);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.75rem 1.5rem;
}
.marke { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--primaer); text-decoration: none; }
.marke:hover { color: var(--primaer-dunkel); }
.marke .rose { width: 2.5rem; height: 2.5rem; }

/* Logo „Wildrose“ (Variante A): Farben über Variablen, damit es auf hellem und dunklem Grund funktioniert */
.rose { --rose-farbe: var(--primaer); --rose-grund: var(--hintergrund); flex-shrink: 0; }
.rose-blaetter { fill: var(--rose-farbe); stroke: var(--rose-grund); }
.rose-mitte { fill: var(--rose-grund); }
.rose-staub { fill: var(--rose-farbe); }
.marke-name { font-family: var(--schrift-titel); font-weight: 600; font-size: 1.5rem; color: var(--text); }

.hilfe-leiste { display: flex; gap: 0.5rem; justify-self: end; grid-column: 3; }
.hilfe-leiste .btn { font-size: 1rem; padding: 0.5rem 1rem; }

.menue-knopf {
  display: none; align-items: center; gap: 0.5rem; min-height: 44px; padding: 0.5rem 0.75rem;
  background: none; border: 2px solid var(--linie); border-radius: var(--radius);
  font: inherit; font-weight: 700; color: var(--text); cursor: pointer;
}
.menue-symbol, .menue-symbol::before, .menue-symbol::after {
  display: block; width: 1.25rem; height: 2px; background: currentColor; border-radius: 2px; position: relative;
}
.menue-symbol::before, .menue-symbol::after { content: ""; position: absolute; left: 0; }
.menue-symbol::before { top: -6px; }
.menue-symbol::after { top: 6px; }

.hauptmenue { grid-column: 1 / -1; }
.hauptmenue ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.nav-link {
  display: inline-block; padding: 0.5rem 0; min-height: 44px;
  color: var(--text); text-decoration: none; font-weight: 700;
  border-bottom: 3px solid transparent;
}
.nav-link:hover { color: var(--primaer); border-bottom-color: var(--flaeche); }
.nav-link[aria-current] { color: var(--primaer); border-bottom-color: var(--primaer); }

@media (max-width: 52rem) {
  .kopf-innen { grid-template-columns: 1fr auto; }
  .hilfe-leiste { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; }
  .hilfe-leiste .btn { flex: 1; }
  .menue-knopf { display: inline-flex; grid-column: 2; grid-row: 1; }
  .js .hauptmenue { display: none; }
  .js .hauptmenue.offen { display: block; }
  .hauptmenue ul { flex-direction: column; gap: 0; }
  .nav-link { display: block; padding: 0.75rem 0; border-bottom: 1px solid var(--linie); }
  .nav-link[aria-current] { border-bottom-color: var(--linie); text-decoration: underline; text-decoration-thickness: 2px; }
}
@media (max-width: 22rem) {
  .marke-name { font-size: 1.25rem; }
  .hilfe-leiste .btn { padding: 0.5rem 0.6rem; }
}

/* ---------- Startseite ---------- */

.hero { padding: var(--abschnitt) 0 calc(var(--abschnitt) * 0.6); }
.hero-raster { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--abstand); align-items: center; }
.hero h1 { margin-bottom: 0.4em; }
.hero .rose-gross { width: 100%; max-width: 18rem; justify-self: center; }
.hero .rose-gross .rose { width: 100%; height: auto; }
@media (max-width: 52rem) {
  .hero { padding-top: 1.5rem; }
  .hero-raster { grid-template-columns: 1fr; }
  .hero .rose-gross { display: none; }
}

.wege { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--abstand); margin-top: 2rem; }
@media (max-width: 40rem) {
  .wege { grid-template-columns: 1fr; gap: 0.75rem; margin-top: 1.25rem; }
  .weg { padding: 1rem 1.25rem; gap: 0.25rem; }
  .weg-pfeil { display: none; }
}
.weg {
  display: flex; flex-direction: column; gap: 0.5rem;
  padding: clamp(1.25rem, 4vw, 2rem); border-radius: var(--radius);
  text-decoration: none; color: var(--text);
  background: var(--flaeche); border: 2px solid transparent;
  transition: border-color 0.15s, transform 0.15s;
}
.weg:hover { border-color: var(--primaer); color: var(--text); }
.weg-angehoerige { background: #E3ECEA; }
.weg-angehoerige:hover { border-color: var(--blatt); }
.weg-titel { font-family: var(--schrift-titel); font-size: clamp(1.3rem, 3.5vw, 1.6rem); font-weight: 600; line-height: 1.25; }
.weg-text { color: var(--text-leise); }
.weg-pfeil { margin-top: auto; font-weight: 700; color: var(--primaer); }
.weg-angehoerige .weg-pfeil { color: var(--blatt); }

.punkte { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--abstand); }
@media (max-width: 52rem) { .punkte { grid-template-columns: 1fr; } }
.punkte h3 { margin-bottom: 0.3em; }
.punkte p { color: var(--text-leise); margin: 0; }
.punkte li { border-top: 3px solid var(--blatt); padding-top: 1rem; }

.zitat { margin: 0; max-width: var(--lesebreite); }
.zitat blockquote { margin: 0; font-family: var(--schrift-titel); font-size: clamp(1.25rem, 3vw, 1.5rem); line-height: 1.45; }
.zitat blockquote p::before { content: "„"; }
.zitat blockquote p::after { content: "“"; }
.zitat figcaption { margin-top: 1rem; color: var(--text-leise); }

.handlung { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: 1.5rem; }
.handlung-alternative { color: var(--text-leise); margin: 0; }

/* ---------- Termine ---------- */

.termin-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.termin-karte {
  background: var(--weiss); border-radius: var(--radius); padding: 1.5rem;
  border-top: 4px solid var(--blatt); display: flex; flex-direction: column;
}
.termin-gruppe { margin: 0; }
.termin-zielgruppe { color: var(--text-leise); margin: 0 0 1rem; }
.termin-zeiten { margin: 0 0 1rem; }
.termin-zeiten div { padding: 0.5rem 0; border-bottom: 1px solid var(--linie); }
.termin-zeiten div:first-child { border-top: 1px solid var(--linie); }
.termin-zeiten dt { font-weight: 700; }
.termin-zeiten dd { margin: 0; }
.termin-ort, .termin-hinweis { color: var(--text-leise); }
.termin-hinweis { background: var(--flaeche); color: var(--text); padding: 0.75rem 1rem; border-radius: 8px; }
.termin-link { margin-top: auto; font-weight: 700; }
.hinweis-adresse { margin-top: 1.5rem; color: var(--text-leise); }

/* ---------- Inhaltsseiten ---------- */

.seitenkopf { padding: clamp(2rem, 6vw, 4rem) 0 clamp(1.5rem, 4vw, 2.5rem); }
.seitenkopf h1 { margin-bottom: 0.4em; }
.pfad { font-size: 1rem; color: var(--text-leise); margin-bottom: 1rem; }
.pfad ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.25rem; }
.pfad li + li::before { content: "›"; margin-right: 0.25rem; }
.pfad a { color: var(--text-leise); }

.text h2 { margin-top: 2rem; }
.text ul { padding-left: 1.25rem; }
.text li { margin-bottom: 0.4rem; }

.hinweis {
  background: var(--flaeche); border-radius: var(--radius);
  padding: 1rem 1.25rem; margin: 0 0 1.5rem;
}
.hinweis p:last-child { margin-bottom: 0; }
.hinweis-blatt { background: #E3ECEA; }

.gruppen { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.gruppe-kachel {
  display: flex; flex-direction: column; gap: 0.35rem; padding: 1.5rem; border-radius: var(--radius);
  background: var(--weiss); color: var(--text); text-decoration: none; border: 2px solid var(--linie);
}
.gruppe-kachel:hover { border-color: var(--primaer); color: var(--text); }
.gruppe-kachel strong { font-family: var(--schrift-titel); font-size: 1.3rem; }
.gruppe-kachel span { color: var(--text-leise); }

.gruppen-zitat { margin: 0 0 2rem; padding-left: 1.25rem; border-left: 4px solid var(--primaer); }
.gruppen-zitat blockquote { margin: 0; font-family: var(--schrift-titel); font-size: 1.3rem; line-height: 1.45; }
.gruppen-zitat figcaption { margin-top: 0.5rem; color: var(--text-leise); font-size: 1rem; }

.termin-einzeln { max-width: 26rem; margin: 1rem 0 2rem; }
.termin-einzeln .termin-link { display: none; }
.termin-einzeln .termin-karte { background: var(--flaeche); }

/* Fragen & Antworten */
.faq-gruppe { margin-bottom: 2.5rem; }
.faq { border-top: 1px solid var(--linie); }
.faq:last-child { border-bottom: 1px solid var(--linie); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1rem 2.5rem 1rem 0; min-height: 44px;
  font-weight: 700; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0.25rem; top: 0.75rem;
  font-size: 1.5rem; line-height: 1; color: var(--primaer);
}
.faq[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--primaer); }
.faq-antwort { padding: 0 0 1rem; }
.faq-antwort p:last-child { margin-bottom: 0; }

/* Sofort Hilfe */
.notruf {
  background: var(--hilfe); color: var(--weiss); border-radius: var(--radius);
  padding: 1.25rem 1.5rem; margin-bottom: 2rem;
}
.notruf p { margin: 0 0 0.75rem; }
.notruf a { color: var(--weiss); }
.notruf .tel-gross { font-size: 1.6rem; font-weight: 700; }
.nummern { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.nummer {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.5rem 1rem;
  background: var(--weiss); border-radius: var(--radius); padding: 1rem 1.25rem; border: 1px solid var(--linie);
}
.nummer-name { font-weight: 700; display: block; }
.nummer-info { color: var(--text-leise); font-size: 1rem; display: block; }
.nummer .btn { white-space: nowrap; }
@media (max-width: 30rem) { .nummer { grid-template-columns: 1fr; } .nummer .btn { width: 100%; } }

/* Weitere Hilfe */
.linkliste { list-style: none; padding: 0; margin: 0 0 2rem; }
.linkliste li { padding: 1rem 0; border-top: 1px solid var(--linie); }
.linkliste li:last-child { border-bottom: 1px solid var(--linie); }
.linkliste a { font-weight: 700; }
.linkliste p { margin: 0.25rem 0 0; color: var(--text-leise); }

/* Formular */
.formular { display: grid; gap: 1.25rem; max-width: var(--lesebreite); }
.feld label, .feld legend { display: block; font-weight: 700; margin-bottom: 0.35rem; }
.feld .optional { font-weight: 400; color: var(--text-leise); }
.feld input[type=text], .feld input[type=email], .feld input[type=tel], .feld select, .feld textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--weiss);
  border: 2px solid #B9A9B1; border-radius: 8px; padding: 0.65rem 0.8rem; min-height: 48px;
}
.feld textarea { min-height: 9rem; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { border-color: var(--primaer); outline: 2px solid var(--primaer-dunkel); outline-offset: 1px; }
.feld-hilfe { font-size: 1rem; color: var(--text-leise); margin: 0.35rem 0 0; }
.honigtopf { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.formular-hinweis { font-size: 1rem; color: var(--text-leise); }

.zwei-spalten { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 52rem) { .zwei-spalten { grid-template-columns: 1fr; } }
.seitenkasten { background: var(--flaeche); border-radius: var(--radius); padding: 1.5rem; }
.seitenkasten h2 { font-size: 1.3rem; }
.seitenkasten .kontaktdaten a { color: var(--primaer); }
.seitenkasten .kontakt-art { color: var(--text-leise); }

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

.fuss { background: var(--text); color: #EDE6EA; margin-top: var(--abschnitt); }
.fuss a { color: var(--weiss); }
.fuss-innen {
  max-width: var(--breite); margin: 0 auto; padding: var(--abschnitt) var(--abstand) 2rem;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--abstand);
}
@media (max-width: 40rem) { .fuss-innen { grid-template-columns: 1fr; } }
.fuss-titel { font-family: var(--schrift-titel); font-size: 1.5rem; font-weight: 600; color: var(--weiss); }
.kontaktdaten { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.kontaktdaten li { padding: 0.25rem 0; }
.kontakt-art { display: block; font-size: 0.9375rem; color: #CFC3CA; }
.fuss .btn-primaer { background: var(--weiss); color: var(--primaer); }
.fuss .btn-primaer:hover { background: var(--flaeche); color: var(--primaer-dunkel); }
.fuss-links ul { list-style: none; padding: 0; margin: 0; }
.fuss-links a { display: inline-block; padding: 0.5rem 0; min-height: 44px; }
.fuss-zeile {
  max-width: var(--breite); margin: 0 auto; padding: 1.5rem var(--abstand) 2rem; border-top: 1px solid #4A3F4F;
  color: #CFC3CA; font-size: 0.9375rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem;
}
.fuss-marke { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--schrift-titel); font-weight: 600; font-size: 1.25rem; color: var(--weiss); }
.fuss-marke .rose { width: 2rem; height: 2rem; --rose-farbe: var(--weiss); --rose-grund: var(--text); }
.fuss :focus-visible { outline-color: var(--weiss); }
