/* Jooke Antimobbing Coach – Gestaltung
   Farben laut Branding (wiki/themen/branding.md) */
:root {
  --waldgruen: #14240D;
  --dunkeloliv: #3D3F26;
  --grau: #B7B5A8;
  --grau-hell: #E7E4D8;
  --oliv: #736B10;
  --senf: #F4B600;
  --senf-dunkel: #D99F00;
  --creme: #FBF7EC;
  --weiss: #FFFFFF;
  --schatten: 0 10px 30px rgba(20, 36, 13, .10);
  --rund: 18px;
  --breite: 1120px;
  --titel: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --text: 'Poppins', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--dunkeloliv);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--oliv); }
a:hover { color: var(--waldgruen); }
:focus-visible { outline: 3px solid var(--senf); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--titel); color: var(--waldgruen); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.35rem; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--oliv); }
.dunkel h1 em, .dunkel h2 em, .dunkel h3 em { color: var(--senf); }
p { margin: 0 0 1.1em; }
strong { color: var(--waldgruen); font-weight: 600; }

.innen { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 16px; }
.schmal { max-width: 760px; }
section { padding: clamp(56px, 8vw, 96px) 0; }
.dunkel { background: var(--waldgruen); color: var(--creme); }
.dunkel h1, .dunkel h2, .dunkel h3, .dunkel strong { color: var(--creme); }
.dunkel a { color: var(--senf); }
.ruhig { background: var(--grau-hell); }
.weiss { background: var(--weiss); }
.mitte { text-align: center; }
.dachzeile { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--oliv); font-weight: 600; margin-bottom: .8em; display: block; }
.dunkel .dachzeile { color: var(--senf); }
.gross { font-size: 1.15rem; }
.klein { font-size: .88rem; opacity: .85; }

/* Sprunglink für Tastatur */
.sprung { position: absolute; left: -9999px; }
.sprung:focus { left: 16px; top: 16px; background: var(--senf); color: var(--waldgruen); padding: 8px 14px; z-index: 100; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 236, .96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--grau-hell); }
.kopf .innen { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 64px; width: auto; }
@media (max-width: 900px) { .logo img { height: 56px; } }
html, body { overflow-x: clip; }
[id] { scroll-margin-top: 90px; }

.menue { display: flex; align-items: center; gap: 26px; }
.menue a { text-decoration: none; color: var(--waldgruen); font-weight: 500; font-size: .95rem; }
.menue a[aria-current="page"] { border-bottom: 2px solid var(--senf); }
.menue .knopf { color: var(--waldgruen); }
.menue-knopf { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--waldgruen); }
.menue-knopf svg { width: 28px; height: 28px; }
@media (max-width: 900px) {
  .menue-knopf { display: block; }
  .menue { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--creme); border-bottom: 1px solid var(--grau-hell); padding: 8px 16px 20px; box-shadow: var(--schatten); }
  .menue.offen { display: flex; }
  .menue a { padding: 12px 4px; border-bottom: 1px solid var(--grau-hell); }
  .menue a[aria-current="page"] { border-bottom: 1px solid var(--grau-hell); color: var(--oliv); }
  .menue .knopf { margin-top: 14px; text-align: center; border-bottom: 0; }
}

/* Knöpfe */
.knopf {
  display: inline-block; background: var(--senf); color: var(--waldgruen);
  font-weight: 600; text-decoration: none; padding: 14px 28px; border-radius: 999px;
  border: 2px solid var(--senf); transition: background .2s, transform .2s; cursor: pointer; font-family: var(--text); font-size: 1rem; line-height: 1.3;
}
.knopf:hover { background: var(--senf-dunkel); border-color: var(--senf-dunkel); color: var(--waldgruen); transform: translateY(-1px); }
.knopf.rand { background: transparent; color: var(--waldgruen); border-color: var(--waldgruen); }
.knopf.rand:hover { background: var(--waldgruen); color: var(--creme); }
.dunkel .knopf.rand { color: var(--creme); border-color: var(--creme); }
.dunkel .knopf.rand:hover { background: var(--creme); color: var(--waldgruen); }
.knopf-zeile { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 8px; }
.knopf-hinweis { font-size: .85rem; margin-top: 10px; opacity: .85; }

/* Oberer Bereich */
.held { padding: clamp(40px, 6vw, 80px) 0; }
.held .innen { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.held-bild { position: relative; }
.held-bild img { border-radius: var(--rund); box-shadow: var(--schatten); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.held-bild::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--senf); border-radius: var(--rund); z-index: -1; }
@media (max-width: 860px) {
  .held .innen { grid-template-columns: 1fr; }
  .held-bild { max-width: 420px; margin: 0 auto; }
  .held-bild::before { inset: 12px -12px -12px 12px; }
}

/* Zwei Spalten */
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.zwei.bild-links > :first-child { order: 0; }
.zwei img { border-radius: var(--rund); box-shadow: var(--schatten); }
@media (max-width: 860px) { .zwei { grid-template-columns: 1fr; } .zwei .bild-rahmen { max-width: 420px; margin: 0 auto; } }

/* Listen */
.haken, .kreuz, .punkte { list-style: none; padding: 0; margin: 0 0 1.2em; }
.haken li, .kreuz li, .punkte li { position: relative; padding-left: 34px; margin-bottom: .7em; }
.haken li::before { content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%; background: var(--senf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%2314240D' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.kreuz li::before { content: ""; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%; background: var(--grau) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 6l8 8M14 6l-8 8' fill='none' stroke='%2314240D' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.punkte li::before { content: ""; position: absolute; left: 8px; top: .7em; width: 9px; height: 9px; border-radius: 50%; background: var(--senf); }

/* Karten und Kacheln */
.raster { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.raster.drei { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.karte { background: var(--weiss); border-radius: var(--rund); padding: 28px; box-shadow: var(--schatten); }
.dunkel .karte { background: rgba(251, 247, 236, .07); box-shadow: none; border: 1px solid rgba(251, 247, 236, .18); }
.karte h3 { margin-bottom: .4em; }
.karte .zahl { font-family: var(--titel); font-size: 2.4rem; color: var(--senf); line-height: 1; display: block; margin-bottom: 10px; font-style: italic; }

.kachel { display: flex; flex-direction: column; background: var(--weiss); border-radius: var(--rund); overflow: hidden; box-shadow: var(--schatten); text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.kachel:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(20, 36, 13, .16); color: inherit; }
.kachel img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.kachel .kachel-text { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.kachel h3 { font-size: 1.25rem; margin-bottom: .35em; }
.kachel p { font-size: .95rem; margin-bottom: 1em; }
.kachel .preis { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 600; color: var(--waldgruen); }
.kachel .mehr { color: var(--oliv); font-weight: 600; font-size: .95rem; }
.marke { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--grau-hell); color: var(--waldgruen); margin-bottom: 10px; align-self: flex-start; }
.marke.gelb { background: var(--senf); }
.kachel.empfehlung { outline: 3px solid var(--senf); }

.gruppe-titel { margin: 48px 0 18px; font-size: 1.5rem; }
.gruppe-titel:first-child { margin-top: 0; }

/* Zitate */
.stimme { background: var(--weiss); border-radius: var(--rund); padding: 30px 30px 26px; box-shadow: var(--schatten); margin: 0; position: relative; }
.stimme::before { content: "„"; font-family: var(--titel); font-size: 5rem; line-height: 1; color: var(--senf); position: absolute; top: -6px; left: 20px; }
.stimme p { font-family: var(--titel); font-style: italic; font-size: 1.15rem; color: var(--waldgruen); margin: 26px 0 14px; line-height: 1.5; }
.stimme footer { font-size: .9rem; color: var(--oliv); font-weight: 500; }
.grosses-zitat { font-family: var(--titel); font-style: italic; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.4; color: var(--creme); margin: 0 auto; max-width: 820px; text-align: center; }
.grosses-zitat footer { font-family: var(--text); font-style: normal; font-size: .95rem; color: var(--senf); margin-top: 16px; }

/* Schritte */
.schritte { counter-reset: schritt; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.schritte li { counter-increment: schritt; position: relative; padding: 22px 22px 22px 84px; background: var(--weiss); border-radius: var(--rund); box-shadow: var(--schatten); }
.schritte li::before { content: counter(schritt); position: absolute; left: 22px; top: 20px; width: 44px; height: 44px; border-radius: 50%; background: var(--senf); color: var(--waldgruen); font-family: var(--titel); font-weight: 700; font-size: 1.3rem; display: grid; place-items: center; }
.schritte strong { display: block; font-size: 1.05rem; }

/* Fragen (aufklappbar) */
.fragen details { background: var(--weiss); border-radius: 14px; margin-bottom: 12px; box-shadow: 0 4px 14px rgba(20, 36, 13, .06); }
.fragen summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 22px; font-weight: 600; color: var(--waldgruen); position: relative; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--oliv); }
.fragen details[open] summary::after { content: "–"; }
.fragen details > div { padding: 0 22px 18px; }

/* Hinweiskasten */
.kasten { border-left: 5px solid var(--senf); background: var(--weiss); padding: 22px 26px; border-radius: 0 var(--rund) var(--rund) 0; box-shadow: var(--schatten); margin: 28px 0; }
.kasten h3 { margin-bottom: .3em; }
.notfall { background: #FFF6DA; border-left-color: var(--senf-dunkel); font-size: .95rem; }

/* Quiz */
.quiz { background: var(--waldgruen); color: var(--creme); border-radius: 26px; padding: clamp(28px, 5vw, 52px); box-shadow: var(--schatten); }
.quiz h2 { color: var(--creme); }
.quiz h2 em { color: var(--senf); }
.quiz-schritt { display: none; }
.quiz-schritt.aktiv { display: block; animation: rein .35s ease; }
@keyframes rein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.quiz-frage { font-family: var(--titel); font-size: clamp(1.3rem, 3vw, 1.7rem); color: var(--creme); margin-bottom: 18px; }
.quiz-antworten { display: grid; gap: 12px; }
.quiz-antworten button { text-align: left; background: rgba(251, 247, 236, .08); border: 1.5px solid rgba(251, 247, 236, .3); color: var(--creme); font-family: var(--text); font-size: 1rem; padding: 16px 20px; border-radius: 14px; cursor: pointer; transition: background .2s, border-color .2s; line-height: 1.5; }
.quiz-antworten button:hover { background: rgba(244, 182, 0, .16); border-color: var(--senf); }
.quiz-fortschritt { font-size: .85rem; color: var(--senf); margin-bottom: 8px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.quiz-ergebnis { background: var(--creme); color: var(--dunkeloliv); border-radius: var(--rund); padding: 28px; }
.quiz-ergebnis h3 { color: var(--waldgruen); font-size: 1.6rem; }
.quiz-zurueck { background: none; border: 0; color: var(--senf); text-decoration: underline; cursor: pointer; font-family: var(--text); font-size: .95rem; margin-top: 16px; padding: 0; }

/* Formulare */
.formular { display: grid; gap: 14px; }
.formular label { font-weight: 500; font-size: .95rem; color: var(--waldgruen); display: block; margin-bottom: 4px; }
.dunkel .formular label { color: var(--creme); }
.formular input, .formular textarea, .formular select { width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--grau); background: var(--weiss); font-family: var(--text); font-size: 1rem; color: var(--dunkeloliv); }
.formular textarea { min-height: 150px; resize: vertical; }
.formular input:focus, .formular textarea:focus, .formular select:focus { outline: none; border-color: var(--oliv); box-shadow: 0 0 0 3px rgba(244, 182, 0, .35); }
.formular .zustimmung { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; }
.formular .zustimmung input { width: auto; margin-top: 5px; }
.formular .feld-falle { position: absolute; left: -9999px; }
.formular-meldung { font-weight: 600; margin-top: 6px; }
.newsletter-reihe { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
@media (max-width: 720px) { .newsletter-reihe { grid-template-columns: 1fr; } }

/* Produktseiten */
.produkt-kopf .innen { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.produkt-kopf img { border-radius: var(--rund); box-shadow: var(--schatten); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .produkt-kopf .innen { grid-template-columns: 1fr; } .produkt-kopf .bild-rahmen { max-width: 400px; margin: 0 auto; } }
.preisbox { display: inline-flex; align-items: baseline; gap: 10px; background: var(--weiss); padding: 10px 18px; border-radius: 12px; box-shadow: var(--schatten); margin: 4px 0 18px; }
.preisbox .betrag { font-family: var(--titel); font-size: 1.8rem; color: var(--waldgruen); font-weight: 700; }
.preisbox .zusatz { font-size: .72rem; color: var(--oliv); opacity: .85; }
.kachel .preis small { font-size: .68rem; font-weight: 400; color: var(--oliv); opacity: .85; }
.kasten.duo .preisbox { box-shadow: none; background: var(--creme); }
.brotkrumen { font-size: .85rem; margin-bottom: 18px; }
.brotkrumen a { color: var(--oliv); text-decoration: none; }
.brotkrumen a:hover { text-decoration: underline; }

/* Instagram-Streifen */
.insta-streifen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.insta-streifen a { display: block; border-radius: 14px; overflow: hidden; position: relative; }
.insta-streifen img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .3s; }
.insta-streifen a:hover img { transform: scale(1.04); }
@media (max-width: 700px) { .insta-streifen { grid-template-columns: repeat(2, 1fr); } }

/* Fuß */
.fuss { background: var(--waldgruen); color: var(--creme); padding: 64px 0 28px; font-size: .95rem; }
.fuss a { color: var(--creme); text-decoration: none; }
.fuss a:hover { color: var(--senf); }
.fuss-raster { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
.fuss-raster h4 { font-family: var(--titel); color: var(--senf); font-size: 1.1rem; margin: 0 0 12px; }
.fuss-raster ul { list-style: none; padding: 0; margin: 0; }
.fuss-raster li { margin-bottom: 8px; }
.fuss-logo { height: 70px; width: auto; margin-bottom: 14px; }
.sozial { display: flex; gap: 12px; margin-top: 14px; }
.sozial a { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(251, 247, 236, .4); display: grid; place-items: center; }
.sozial a:hover { border-color: var(--senf); }
.sozial svg { width: 20px; height: 20px; fill: currentColor; }
.fuss-unten { border-top: 1px solid rgba(251, 247, 236, .18); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .85rem; opacity: .85; }
@media (max-width: 800px) { .fuss-raster { grid-template-columns: 1fr; } }

/* Rechtstexte */
.rechtstext h2 { font-size: 1.5rem; margin-top: 1.6em; }
.rechtstext h3 { font-size: 1.15rem; margin-top: 1.3em; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
