/* ==========================================================
   SunnySide Marketing – Stylesheet
   Aufbau:
   1. Schriften (lokal)
   2. Farben & Grundwerte (hier zentral änderbar)
   3. Basis
   4. Hilfsklassen (Container, Buttons, Animation)
   5. Header & Navigation
   6. Hero
   7. Footer
   ========================================================== */


/* ---------- 1. Schriften (lokal, keine Google-Server) ---------- */
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}


/* ---------- 2. Farben & Grundwerte ---------- */
:root {
  /* Markenfarben aus dem Logo */
  --blau: #110272;          /* Headlines, Text, Buttons */
  --gelb: #FFDE59;          /* Sonne, Akzentflächen – nie als Text auf Hell */
  --gelb-hell: #FFF5D1;     /* abgesetzte Abschnitte */
  --hintergrund: #FFFBF2;   /* Seitenhintergrund */
  --text: #1E1A4D;          /* Fließtext: Blau, leicht abgemildert */
  --text-leise: #4A4673;    /* Nebentexte (Kontrast > 7:1 auf Hintergrund) */
  --weiss: #FFFFFF;

  --schrift-headline: "Playfair Display", Georgia, "Times New Roman", serif;
  --schrift-text: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --breite: 1180px;                         /* maximale Inhaltsbreite */
  --rand: clamp(1.25rem, 5vw, 3rem);        /* Seitenabstand links/rechts */
  --abschnitt: clamp(4.5rem, 10vw, 8rem);   /* Abstand zwischen Abschnitten */
  --header-hoehe: 4.75rem;
}


/* ---------- 3. Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-hoehe); /* Anker landen unter dem Header */
  -webkit-text-size-adjust: 100%;
}

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

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

h1, h2, h3 {
  font-family: var(--schrift-headline);
  font-weight: 600;
  color: var(--blau);
  line-height: 1.12;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

a { color: var(--blau); text-underline-offset: 0.2em; }
a[href^="tel:"] { white-space: nowrap; } /* Telefonnummer nie umbrechen */

/* Gut sichtbare Fokus-Markierung für Tastaturbedienung */
:focus-visible {
  outline: 3px solid var(--blau);
  outline-offset: 3px;
  border-radius: 4px;
}

/* "Zum Inhalt springen" – erscheint nur bei Tastaturfokus */
.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  background: var(--blau); color: var(--weiss);
  padding: 0.75rem 1.25rem; border-radius: 0.5rem;
  font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* Nur für Screenreader sichtbar */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}


/* ---------- 4. Hilfsklassen ---------- */
.container {
  width: 100%;
  max-width: var(--breite);
  margin-inline: auto;
  padding-inline: var(--rand);
}

/* Hauptbutton: Blau, beim Darüberfahren Gelb */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.75rem;
  border: 2px solid var(--blau);
  border-radius: 999px;
  background: var(--blau); color: var(--weiss);
  font-family: var(--schrift-text);
  font-size: 1.0625rem; font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.button:hover { background: var(--gelb); color: var(--blau); }

.button--umriss { background: transparent; color: var(--blau); }
.button--umriss:hover { background: var(--gelb); color: var(--blau); }

.button--klein { min-height: 2.75rem; padding: 0.5rem 1.25rem; font-size: 1rem; }

/* Dezentes Einblenden beim Scrollen.
   Elemente mit data-einblenden werden per JS sichtbar gemacht.
   Ohne JS oder bei "reduzierter Bewegung" sind sie sofort sichtbar. */
.js [data-einblenden] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
}
.js [data-einblenden].ist-sichtbar { opacity: 1; transform: none; }


/* ---------- 5. Header & Navigation ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 251, 242, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.header.ist-gescrollt { border-bottom-color: rgba(17, 2, 114, 0.1); }

.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-hoehe);
}

.header__logo { flex-shrink: 0; }
.header__logo img { width: 112px; }

/* Menü-Button (nur mobil sichtbar) */
.nav-toggle {
  display: inline-flex; align-items: center; gap: 0.6rem;
  min-height: 2.75rem; padding: 0.4rem 0.9rem;
  border: 2px solid var(--blau); border-radius: 999px;
  background: transparent; color: var(--blau);
  font: 500 1rem var(--schrift-text);
  cursor: pointer;
}
.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  display: block; width: 18px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle__icon { position: relative; }
.nav-toggle__icon::before,
.nav-toggle__icon::after { content: ""; position: absolute; left: 0; }
.nav-toggle__icon::before { top: -6px; }
.nav-toggle__icon::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after  { transform: translateY(-6px) rotate(-45deg); }

/* Mobile Navigation: klappt unter dem Header auf */
.nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--hintergrund);
  border-bottom: 1px solid rgba(17, 2, 114, 0.1);
  padding: 0.5rem var(--rand) 1.5rem;
}
.nav[hidden] { display: none; }

.nav__liste { list-style: none; margin: 0; padding: 0; }
.nav__liste a {
  display: block;
  padding: 0.75rem 0;
  font-weight: 500;
  text-decoration: none;
  color: var(--blau);
}
.nav__liste a:hover { text-decoration: underline; }
.nav__cta { margin-top: 0.75rem; }
.nav__liste .button { color: var(--weiss); text-decoration: none; padding: 0.5rem 1.25rem; display: inline-flex; }
.nav__liste .button:hover { color: var(--blau); }

/* Desktop-Navigation */
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .nav, .nav[hidden] {
    display: flex; position: static;
    padding: 0; border: 0; background: none;
  }
  .nav__liste { display: flex; align-items: center; gap: 1.75rem; }
  .nav__liste a { padding: 0.5rem 0; font-size: 1rem; }
  .nav__cta { margin: 0 0 0 0.5rem; }
  .header__logo img { width: 124px; }
}


/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 9vw, 7.5rem) clamp(4.5rem, 11vw, 9rem);
}

/* Die Sonne: großer gelber Kreis wie der Punkt im Logo.
   Sie geht beim Laden der Seite einmal langsam auf. */
.hero__sonne {
  position: absolute;
  z-index: 0;
  width: clamp(220px, 46vw, 600px);
  aspect-ratio: 1;
  right: calc(var(--rand) * -1 - 4vw);
  top: clamp(1rem, 4vw, 3rem);
  border-radius: 50%;
  background: var(--gelb);
  animation: sonnenaufgang 1.6s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes sonnenaufgang {
  from { transform: translateY(35%); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

.hero__inhalt { position: relative; z-index: 1; }

.hero__titel {
  font-size: clamp(2.375rem, 6.4vw, 4.75rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  max-width: 15ch;
  margin-bottom: 0.45em;
}
/* zweiter Satz der Headline in eigener Zeile, gleiche Gestaltung */
.hero__titel span { display: block; }
/* "Shopify-Shop" nie am Bindestrich trennen */
.hero__titel .ohne-umbruch { display: inline; white-space: nowrap; }

.hero__text {
  font-size: clamp(1.1875rem, 2vw, 1.375rem);
  line-height: 1.5;
  color: var(--text);
  max-width: 40ch;
  margin-bottom: 2rem;
}

@media (min-width: 960px) {
  .hero__sonne { right: -6vw; top: 1.5rem; }
}


/* ---------- Abschnitte allgemein ---------- */
.abschnitt { padding-block: var(--abschnitt); }

.abschnitt__titel {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  letter-spacing: -0.01em;
  max-width: 20ch;
}

.abschnitt__intro {
  font-size: 1.1875rem;
  max-width: 46ch;
  color: var(--text);
}


/* ---------- Abschnitt 2: Für wen ---------- */
.fuer-wen { padding-top: 0; } /* schließt direkt an den Hero an */
.fuer-wen .abschnitt__titel { font-size: clamp(2rem, 3.6vw, 2.75rem); }

.fuer-wen__raster {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.fuer-wen__liste { list-style: none; margin: 0; padding: 0; }

.fuer-wen__liste li {
  position: relative;
  padding: 1.75rem 0 1.5rem 2.5rem;
  border-top: 1px solid rgba(17, 2, 114, 0.15);
}
.fuer-wen__liste li:last-child { border-bottom: 1px solid rgba(17, 2, 114, 0.15); }

/* kleine Sonne als Aufzählungszeichen */
.fuer-wen__liste li::before {
  content: "";
  position: absolute; left: 0; top: 2.15rem;
  width: 1.1rem; height: 1.1rem;
  border-radius: 50%;
  background: var(--gelb);
}

.fuer-wen__liste h3 {
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  margin-bottom: 0.35em;
}
.fuer-wen__liste p { margin: 0; color: var(--text-leise); max-width: 44ch; }

@media (min-width: 960px) {
  .fuer-wen__raster { grid-template-columns: 5fr 6fr; align-items: start; }
  .fuer-wen__kopf { position: sticky; top: calc(var(--header-hoehe) + 2rem); }
}


/* ---------- Abschnitte 3–5: Leistungen ---------- */
.leistungen { background: var(--gelb-hell); }

.leistung__hinweis {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-leise);
  margin-bottom: 0.4rem;
}

/* Shop-Audit: das Hauptangebot, darum als große Fläche */
.audit {
  display: grid;
  gap: 2.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: clamp(1.75rem, 4.5vw, 3.5rem);
  background: var(--weiss);
  border-radius: 1.75rem;
}

.audit__titel { font-size: clamp(2rem, 3.8vw, 2.75rem); }
.audit__lead { font-size: 1.1875rem; max-width: 36ch; }

.audit__ergebnis {
  margin-top: 1.75rem;
  padding-left: 1.25rem;
  border-left: 4px solid var(--gelb);
}
.audit__ergebnis p { max-width: 40ch; }
.audit__ergebnis p:last-child { margin-bottom: 0; }

.audit__bereiche-titel {
  font-family: var(--schrift-text);
  font-size: 1rem; font-weight: 700;
  color: var(--blau);
  margin: 0 0 1rem;
}
.audit__bereiche ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1.1rem 2rem;
}
.audit__bereiche li { font-size: 1rem; line-height: 1.5; color: var(--text-leise); }
.audit__bereiche li strong {
  display: block;
  font-size: 1.0625rem; font-weight: 700;
  color: var(--blau);
}
.audit__fussnote { margin: 1.5rem 0 0; font-size: 0.9375rem; color: var(--text-leise); }

@media (min-width: 640px) {
  .audit__bereiche ul { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .audit { grid-template-columns: 5fr 7fr; gap: 4rem; }
}

/* Folgeangebote: bewusst ruhiger als das Audit */
.folgeangebote {
  display: grid;
  gap: 2.5rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
}
.folgeangebot {
  padding-top: 1.5rem;
  border-top: 2px solid var(--blau);
}
.folgeangebot h3 { font-size: clamp(1.625rem, 2.8vw, 2.125rem); }
.folgeangebot > p:not(.leistung__hinweis) { max-width: 42ch; }

.folgeangebot__fakten { margin: 1.5rem 0 0; }
.folgeangebot__fakten div {
  display: flex; gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(17, 2, 114, 0.15);
  font-size: 1rem;
}
.folgeangebot__fakten dt { min-width: 5.5rem; font-weight: 700; color: var(--blau); }
.folgeangebot__fakten dd { margin: 0; }

@media (min-width: 760px) {
  .folgeangebote { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.leistungen__cta { margin: clamp(3rem, 6vw, 4rem) 0 0; }


/* ---------- Abschnitt 6: Ablauf ---------- */
.ablauf__liste {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding: 0;
  display: grid;
  gap: 2.25rem;
}

/* Mobil: senkrechte Linie links, Sonnen als Stationen */
.ablauf__schritt {
  position: relative;
  padding-left: 4.25rem;
}
.ablauf__schritt::before {
  content: "";
  position: absolute;
  left: 1.5rem; top: 3rem; bottom: -2.25rem;
  width: 2px;
  background: rgba(17, 2, 114, 0.18);
}
.ablauf__schritt:last-child::before { display: none; }

.ablauf__nummer {
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: var(--gelb);
  color: var(--blau);
  font-family: var(--schrift-headline);
  font-size: 1.375rem; font-weight: 600;
  font-variant-numeric: lining-nums;
}
/* Optionaler Schritt: Sonne nur als Umriss */
.ablauf__schritt--optional .ablauf__nummer {
  background: var(--hintergrund);
  box-shadow: inset 0 0 0 2px var(--blau);
}

.ablauf__schritt h3 { font-size: 1.5rem; padding-top: 0.55rem; margin-bottom: 0.4em; }
.ablauf__optional {
  font-family: var(--schrift-text);
  font-size: 1rem; font-weight: 400;
  color: var(--text-leise);
}
.ablauf__schritt p { margin: 0; font-size: 1.0625rem; color: var(--text-leise); max-width: 40ch; }

/* Desktop: waagerechter Zeitstrahl */
@media (min-width: 960px) {
  .ablauf__liste { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
  .ablauf__schritt { padding-left: 0; padding-top: 4.5rem; }
  .ablauf__schritt::before {
    left: 3.75rem; right: -2.5rem; top: 1.5rem; bottom: auto;
    width: auto; height: 2px;
  }
  .ablauf__schritt h3 { padding-top: 0; }
}


/* ---------- Abschnitt 7: Erfahrung & Referenzen (dunkler Abschnitt) ---------- */
.referenzen {
  background: var(--blau);
  color: var(--weiss);
}
.referenzen h2, .referenzen h3 { color: var(--weiss); }
.referenzen .abschnitt__intro { color: rgba(255, 255, 255, 0.86); }
.referenzen :focus-visible { outline-color: var(--gelb); }

.referenzen__raster {
  display: grid;
  gap: 2.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.referenzen__block {
  padding-top: 1.25rem;
  border-top: 2px solid var(--gelb);
}
.referenzen__block h3 {
  font-family: var(--schrift-text);
  font-size: 1rem; font-weight: 700;
  color: var(--gelb);
  margin-bottom: 0.75rem;
}
.referenzen__name {
  font-family: var(--schrift-headline);
  font-size: clamp(1.625rem, 2.8vw, 2.125rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 0.35em;
}
.referenzen__block p { max-width: 42ch; }
.referenzen__platzhalter { color: rgba(255, 255, 255, 0.75); }

.referenzen__stationen { list-style: none; margin: 0; padding: 0; }
.referenzen__stationen li {
  padding-bottom: 1rem; margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.86);
  max-width: 46ch;
}
.referenzen__stationen li:last-child { border-bottom: 0; margin-bottom: 0; }
.referenzen__stationen strong {
  display: block;
  font-family: var(--schrift-headline);
  font-size: 1.375rem; font-weight: 600;
  color: var(--weiss);
}

/* Zahlen: Gelb auf Blau, gut lesbar */
.referenzen__zahlen {
  list-style: none;
  margin: clamp(3.5rem, 7vw, 5rem) 0 0; padding: 0;
  display: grid; gap: 2rem;
}
.referenzen__zahlen li { font-size: 1.0625rem; color: rgba(255, 255, 255, 0.86); max-width: 26ch; }
.referenzen__zahl {
  display: block;
  font-family: var(--schrift-headline);
  font-size: clamp(2.75rem, 5vw, 3.75rem);
  font-weight: 600;
  font-variant-numeric: lining-nums;
  line-height: 1.05;
  color: var(--gelb);
  margin-bottom: 0.3rem;
}

/* Kundenstimmen */
.referenzen__stimmen {
  display: grid; gap: 2rem;
  margin-top: clamp(3.5rem, 7vw, 5rem);
}
.stimme {
  margin: 0;
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 1.25rem;
}
.stimme blockquote { margin: 0 0 1rem; }
.stimme blockquote p {
  font-family: var(--schrift-headline);
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  line-height: 1.4;
  margin: 0;
}
.stimme figcaption { font-size: 1rem; color: rgba(255, 255, 255, 0.8); }

@media (min-width: 760px) {
  .referenzen__raster { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .referenzen__zahlen { grid-template-columns: repeat(3, 1fr); }
  .referenzen__stimmen { grid-template-columns: 1fr 1fr; }
}


/* ---------- Abschnitt 8: Kurz über mich ---------- */
.kurz-ueber-mich__raster {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

/* Rundes Porträt mit versetzter Sonne dahinter */
.portrait {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  margin-inline: auto;
}
.portrait__sonne {
  position: absolute;
  width: 46%; aspect-ratio: 1;
  right: -4%; top: -4%;
  border-radius: 50%;
  background: var(--gelb);
}
.portrait__bild {
  position: relative;
  width: 88%; height: 88%;
  margin: 12% 0 0 0;
  border-radius: 50%;
  object-fit: cover;
}
.portrait__bild--platzhalter {
  display: grid; place-items: center;
  background: var(--gelb-hell);
  border: 2px dashed rgba(17, 2, 114, 0.3);
  color: var(--text-leise);
  font-size: 1rem;
}

.kurz-ueber-mich__text p { font-size: 1.1875rem; max-width: 44ch; }
.kurz-ueber-mich__text .button { margin-top: 0.75rem; }

@media (min-width: 860px) {
  .kurz-ueber-mich__raster { grid-template-columns: 5fr 7fr; }
}


/* ---------- Abschnitt 9: FAQ ---------- */
.faq { background: var(--gelb-hell); }

.faq__raster { display: grid; gap: clamp(2rem, 5vw, 4rem); }

.faq__eintrag { border-bottom: 1px solid rgba(17, 2, 114, 0.18); }
.faq__eintrag:first-child { border-top: 1px solid rgba(17, 2, 114, 0.18); }

.faq__eintrag summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0;
  cursor: pointer;
  list-style: none;
}
.faq__eintrag summary::-webkit-details-marker { display: none; }
.faq__eintrag summary h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
}

/* Plus-Zeichen im Kreis, wird beim Öffnen zum Minus */
.faq__eintrag summary::after {
  content: "";
  flex-shrink: 0;
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  background:
    linear-gradient(var(--blau), var(--blau)) center / 12px 2px no-repeat,
    linear-gradient(var(--blau), var(--blau)) center / 2px 12px no-repeat,
    var(--weiss);
  transition: background-color .2s ease;
}
.faq__eintrag[open] summary::after {
  background:
    linear-gradient(var(--blau), var(--blau)) center / 12px 2px no-repeat,
    var(--gelb);
}
.faq__eintrag summary:hover::after { background-color: var(--gelb); }

.faq__antwort p { margin: 0 0 1.5rem; max-width: 56ch; color: var(--text); }

@media (min-width: 960px) {
  .faq__raster { grid-template-columns: 4fr 7fr; align-items: start; }
  .faq__kopf { position: sticky; top: calc(var(--header-hoehe) + 2rem); }
}


/* ---------- Abschnitt 10: Kontakt ---------- */
.kontakt { position: relative; overflow: hidden; }

/* Die Sonne vom Anfang geht hier unten links wieder unter */
.kontakt__sonne {
  position: absolute; z-index: 0;
  width: clamp(240px, 38vw, 520px);
  aspect-ratio: 1;
  left: -10vw; bottom: -18%;
  border-radius: 50%;
  background: var(--gelb);
}

.kontakt__raster {
  position: relative; z-index: 1;
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.kontakt__daten { font-style: normal; line-height: 1.8; margin-top: 2rem; }

/* Formular */
.formular {
  background: var(--weiss);
  border-radius: 1.75rem;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: 0 1px 0 rgba(17, 2, 114, 0.08);
}

.formular__honig { position: absolute; left: -9999px; }

.formular__hinweis { font-size: 0.9375rem; color: var(--text-leise); margin-bottom: 1.25rem; }

.formular__reihe { display: grid; gap: 0 1.25rem; }
@media (min-width: 560px) { .formular__reihe { grid-template-columns: 1fr 1fr; } }

.formular__feld { margin-bottom: 1.25rem; }
.formular__feld label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1rem; font-weight: 500;
  color: var(--blau);
}
.formular input[type="text"],
.formular input[type="email"],
.formular textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid rgba(17, 2, 114, 0.35);
  border-radius: 0.75rem;
  background: var(--hintergrund);
  color: var(--text);
  font: 400 1.0625rem/1.5 var(--schrift-text);
}
.formular textarea { resize: vertical; min-height: 8rem; }
.formular input:focus-visible,
.formular textarea:focus-visible {
  outline: 3px solid var(--blau);
  outline-offset: 1px;
  border-color: var(--blau);
  background: var(--weiss);
}
/* Fehlermarkierung erst nach einem Absendeversuch (Klasse per JS) */
.formular.wurde-geprueft :invalid { border-color: #B3261E; }

.formular__tipp { margin: 0.4rem 0 0; font-size: 0.9375rem; color: var(--text-leise); }

.formular__check {
  display: flex; gap: 0.75rem; align-items: flex-start;
  margin: 0.5rem 0 1.75rem;
  font-size: 0.9375rem; line-height: 1.5;
}
.formular__check input {
  flex-shrink: 0;
  width: 1.25rem; height: 1.25rem;
  margin-top: 0.15rem;
  accent-color: var(--blau);
}

.formular__senden { width: 100%; }
@media (min-width: 560px) { .formular__senden { width: auto; } }

@media (min-width: 960px) {
  .kontakt__raster { grid-template-columns: 5fr 6fr; }
  .kontakt__sonne { left: -8vw; bottom: -22%; }
}


/* ---------- Unterseite Über mich ---------- */
.nav__liste a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--gelb);
  text-decoration-thickness: 3px;
}

.ueber-intro { padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3rem, 7vw, 5rem); }
.ueber-intro__raster { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.ueber-intro__titel {
  font-size: clamp(2.375rem, 5.6vw, 4.25rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  max-width: 15ch;
}
.ueber-intro__lead { font-size: clamp(1.1875rem, 2vw, 1.375rem); line-height: 1.5; max-width: 38ch; }
.ueber-intro__text p:not(.ueber-intro__lead) { font-size: 1.125rem; max-width: 46ch; }
@media (min-width: 860px) {
  .ueber-intro__raster { grid-template-columns: 7fr 5fr; }
}

/* Stationen & Ausbildung: Überschrift links, Liste rechts */
.stationen { background: var(--gelb-hell); }
.stationen__raster { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 960px) {
  .stationen__raster { grid-template-columns: 4fr 7fr; align-items: start; }
}

/* Zeitstrahl mit Sonnen */
.stationen__liste { list-style: none; margin: 0; padding: 0; }
.station {
  position: relative;
  padding: 0 0 2.5rem 2.75rem;
}
.station::before {
  content: "";
  position: absolute; left: 0.5rem; top: 0.6rem;
  width: 1.1rem; height: 1.1rem;
  border-radius: 50%;
  background: var(--gelb);
  box-shadow: 0 0 0 4px var(--gelb-hell);
  z-index: 1;
}
.station::after {
  content: "";
  position: absolute; left: calc(0.5rem + 0.55rem - 1px); top: 1rem; bottom: 0;
  width: 2px;
  background: rgba(17, 2, 114, 0.18);
}
.station:last-child { padding-bottom: 0; }
.station:last-child::after { display: none; }
.station h3 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); margin-bottom: 0.25em; }
.station__branche { font-weight: 700; color: var(--blau); margin-bottom: 0.5rem; }
.station p:not(.station__branche) { color: var(--text-leise); max-width: 48ch; margin: 0; }

.ausbildung__liste { list-style: none; margin: 0; padding: 0; }
.ausbildung__liste li {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(17, 2, 114, 0.15);
}
.ausbildung__liste li:first-child { border-top: 1px solid rgba(17, 2, 114, 0.15); }
.ausbildung__liste h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); margin-bottom: 0.2em; }
.ausbildung__liste p { margin: 0; color: var(--text-leise); }

.ueber-abschluss { background: var(--gelb-hell); }
.ueber-abschluss .abschnitt__titel { max-width: 22ch; }


/* ---------- Hinweisseiten: Danke & 404 ---------- */
.hinweisseite {
  position: relative; overflow: hidden;
  min-height: 70vh;
  display: flex; align-items: center;
  padding-block: clamp(4rem, 10vw, 8rem);
}
.hinweisseite__sonne {
  position: absolute; z-index: 0;
  width: clamp(200px, 34vw, 460px); aspect-ratio: 1;
  right: -6vw; top: 8%;
  border-radius: 50%;
  background: var(--gelb);
}
.hinweisseite__inhalt { position: relative; z-index: 1; }
.hinweisseite__titel {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  line-height: 1.08;
  max-width: 16ch;
}
.hinweisseite__text { font-size: 1.1875rem; max-width: 44ch; margin-bottom: 2rem; }


/* ---------- Impressum & Datenschutz ---------- */
.rechtstext {
  max-width: calc(46rem + 2 * var(--rand));
  padding-block: clamp(3.5rem, 8vw, 6rem) var(--abschnitt);
}
.rechtstext h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); margin-bottom: 1.25em; }
.rechtstext h2 { font-size: clamp(1.5rem, 2.6vw, 1.875rem); margin: 2.25em 0 0.6em; }
.rechtstext h3 { font-size: 1.25rem; margin: 1.75em 0 0.5em; }
.rechtstext p, .rechtstext li { font-size: 1.0625rem; max-width: 70ch; overflow-wrap: anywhere; }
.rechtstext ul { padding-left: 1.25rem; margin: 0 0 1em; }
.rechtstext li { margin-bottom: 0.35em; }
.rechtstext__platzhalter {
  padding: 1.5rem;
  border: 2px dashed rgba(17, 2, 114, 0.3);
  border-radius: 1rem;
  color: var(--text-leise);
}


/* ---------- 404-Seite ---------- */
.fehler {
  min-height: 72vh;
  display: flex; align-items: center;
  padding-block: clamp(3rem, 8vw, 6rem);
  text-align: center;
}
.fehler__inhalt { display: flex; flex-direction: column; align-items: center; }

.fehler__zahl {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(0.5rem, 2vw, 1.25rem);
  margin: 0 0 1.5rem;
  font-family: var(--schrift-headline);
  font-weight: 600;
  font-size: clamp(7rem, 22vw, 14rem);
  font-variant-numeric: lining-nums;
  line-height: 1;
  color: var(--blau);
}
/* Die Sonne als Null – sie geht beim Laden einmal auf */
.fehler__sonne {
  display: block;
  width: 0.72em; aspect-ratio: 1;
  margin-top: 0.1em; /* optisch auf Höhe der Ziffern */
  border-radius: 50%;
  background: var(--gelb);
  animation: sonnenaufgang 1.6s cubic-bezier(.2, .7, .2, 1) both;
}

.fehler__titel { font-size: clamp(2rem, 4.6vw, 3.25rem); }
.fehler__text { font-size: 1.1875rem; max-width: 40ch; margin-bottom: 2rem; }

.fehler__links {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem;
}


/* ---------- 7. Footer ---------- */
.footer {
  background: var(--blau);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--weiss);
  padding-block: 3rem;
  font-size: 1rem;
}
.footer a { color: var(--weiss); }
.footer :focus-visible { outline-color: var(--gelb); }

.footer__inner {
  display: flex; flex-direction: column; gap: 1.5rem;
}
.footer__nap { font-style: normal; line-height: 1.7; }
.footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; }
/* "Cookie-Einstellungen" sieht aus wie ein Link */
.footer__cookie {
  padding: 0; border: 0; background: none;
  color: var(--weiss);
  font: inherit;
  text-decoration: underline; text-underline-offset: 0.2em;
  cursor: pointer;
}

@media (min-width: 760px) {
  .footer__inner { flex-direction: row; justify-content: space-between; align-items: flex-end; }
}


/* ---------- Cookie-Banner ---------- */
.cookie-banner {
  position: fixed; z-index: 200;
  left: 1rem; right: 1rem; bottom: 1rem;
  max-width: 34rem;
  margin-left: auto;
  background: var(--weiss);
  color: var(--text);
  border: 2px solid var(--blau);
  border-radius: 1.25rem;
  box-shadow: 0 10px 30px rgba(17, 2, 114, 0.18);
  padding: 1.5rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__titel {
  font-family: var(--schrift-headline);
  font-size: 1.375rem; font-weight: 600;
  color: var(--blau);
  margin-bottom: 0.5rem;
}
.cookie-banner__text { font-size: 0.9375rem; line-height: 1.55; margin-bottom: 1.25rem; }
/* Beide Knöpfe gleich gestaltet – so verlangen es die Datenschutzbehörden */
.cookie-banner__knoepfe { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cookie-banner__knoepfe .button { flex: 1 1 8rem; }


/* ---------- Reduzierte Bewegung respektieren ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-einblenden] { opacity: 1; transform: none; }
}
.footer__copy { margin: 1rem 0 0; }
