/* ============================================================================
   Rückbildungskurs – Gestaltung
   Richtung „Ruhe nach der Geburt": Creme, Salbei, das Grün des Logos; weiche Radien, viel Luft.
   Outfit (Titel) · Nunito Sans (Text), selbst gehostet.
   ========================================================================== */
:root {
	--creme: #f7f4ee;
	--creme-tief: #efe9df;
	--weiss: #ffffff;
	--tinte: #2a2d2a;
	--gruen: #3fb79b;        /* Logo-Grün – Flächen, Linien */
	--gruen-tief: #1f8a71;   /* Knöpfe, Links (Kontrast ≥ 4,5:1) */
	--salbei: #dfeee8;
	--koralle: #e07a5f;
	--grau: #5f665f;
	--linie: #e3ddd2;
	--schatten: 0 18px 46px -26px rgba(42,45,42,.35);
	--schrift-titel: 'Outfit', 'Helvetica Neue', Arial, sans-serif;
	--schrift-text: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--breite: 1120px; --lesebreite: 70ch; --rand: clamp(18px, 4vw, 40px); --radius: 18px;
	--t-1: clamp(2.3rem, 1.4rem + 3.4vw, 3.8rem); --t-2: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); --t-3: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); --text: clamp(1rem, .96rem + .25vw, 1.0875rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--creme); color: var(--tinte); font: 400 var(--text)/1.7 var(--schrift-text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gruen-tief); text-decoration-thickness: 1px; text-underline-offset: .15em; }
a:hover { color: var(--tinte); }
h1, h2, h3, h4 { font-family: var(--schrift-titel); font-weight: 600; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: var(--t-1); } h2 { font-size: var(--t-2); } h3 { font-size: var(--t-3); }
p, ul, ol { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--gruen); outline-offset: 3px; border-radius: 3px; }
.sprung { position: absolute; left: -999px; top: 0; background: var(--tinte); color: #fff; padding: .6em 1em; z-index: 100; } .sprung:focus { left: 12px; top: 12px; }
.innen, .kopf-innen, .fuss-innen { max-width: var(--breite); margin-inline: auto; padding-inline: var(--rand); }
.lesebreite { max-width: var(--lesebreite); margin-inline: auto; padding-inline: var(--rand); }
.hero-innen > *, .zweispaltig > *, .merkmale > *, .karten > *, .fuss-innen > *, .themen > *, .wpcf7 form > *, .formular-raster > * { min-width: 0; }

.knopf { display: inline-flex; align-items: center; justify-content: center; gap: .5em; background: var(--gruen-tief); color: #fff; font: 600 .95rem/1 var(--schrift-titel); padding: .9em 1.5em; border: 0; border-radius: 999px; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.knopf:hover { background: var(--tinte); color: #fff; transform: translateY(-1px); }
.knopf-zweit { background: transparent; color: var(--tinte); box-shadow: inset 0 0 0 2px var(--tinte); } .knopf-zweit:hover { background: var(--tinte); color: #fff; }
.knopf-hell { background: #fff; color: var(--tinte); } .knopf-hell:hover { background: var(--creme-tief); color: var(--tinte); }

.kopf { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--creme) 92%, transparent); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.kopf.gescrollt { border-bottom-color: var(--linie); }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.logo img { height: 56px; width: auto; }
.navigation { display: flex; align-items: center; gap: 28px; }
.menue { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.menue a { color: var(--tinte); text-decoration: none; font-weight: 600; font-size: .95rem; padding: .3em 0; border-bottom: 2px solid transparent; }
.menue a:hover, .menue .current-menu-item > a { border-bottom-color: var(--gruen); }
.knopf-kopf { padding: .7em 1.2em; font-size: .88rem; }
.menue-schalter { display: none; background: none; border: 0; font: 600 .9rem var(--schrift-titel); color: var(--tinte); align-items: center; gap: 10px; cursor: pointer; padding: 8px 0; }
.menue-balken { position: relative; width: 22px; height: 2px; background: currentColor; display: block; }
.menue-balken::before, .menue-balken::after { content: ''; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; transition: transform .2s; }
.menue-balken::before { top: -7px; } .menue-balken::after { top: 7px; }
.menue-schalter[aria-expanded="true"] .menue-balken { background: transparent; }
.menue-schalter[aria-expanded="true"] .menue-balken::before { transform: translateY(7px) rotate(45deg); }
.menue-schalter[aria-expanded="true"] .menue-balken::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 860px) {
	.menue-schalter { display: inline-flex; }
	.navigation { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--creme); border-bottom: 1px solid var(--linie); padding: 14px var(--rand) 22px; flex-direction: column; align-items: flex-start; gap: 14px; box-shadow: var(--schatten); }
	.navigation.offen { display: flex; } .menue { flex-direction: column; gap: 4px; width: 100%; } .menue a { display: block; padding: .6em 0; border-bottom: 1px solid var(--linie); }
}

.abschnitt { padding-block: clamp(56px, 8vw, 104px); } .abschnitt-eng { padding-block: clamp(36px, 5vw, 64px); }
.abschnitt-weiss { background: var(--weiss); } .abschnitt-salbei { background: var(--salbei); } .abschnitt-tinte { background: var(--tinte); color: #fff; }
.abschnitt-tinte h2 { color: #fff; } .abschnitt-tinte a { color: #fff; }
.vorzeile { display: block; font: 600 .78rem/1.3 var(--schrift-titel); letter-spacing: .14em; text-transform: uppercase; color: var(--gruen-tief); margin-bottom: .8em; }
.abschnitt-tinte .vorzeile { color: var(--gruen); }
.abschnitt-kopf { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); } .abschnitt-kopf p { color: var(--grau); font-size: 1.08rem; }
.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.zweispaltig > figure { margin: 0; } .zweispaltig figure img { border-radius: var(--radius); }
.prosa { max-width: 60ch; } .prosa > :last-child { margin-bottom: 0; }
@media (max-width: 820px) { .zweispaltig { grid-template-columns: 1fr; } .zweispaltig > figure { order: -1; max-width: 460px; } }

/* Hero: Text links, Illustration rechts in einem weichen Kreis */
.hero { padding-block: clamp(40px, 6vw, 80px); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; right: -10vw; top: -20%; width: 60vw; height: 140%; background: radial-gradient(closest-side, var(--salbei), transparent 72%); pointer-events: none; }
.hero-innen { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 1.5rem + 3.8vw, 4.2rem); margin-bottom: .4em; }
.hero h1 em { font-style: normal; color: var(--gruen-tief); }
.hero-unter { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: var(--grau); max-width: 46ch; margin-bottom: 1.6em; }
.hero-wege { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.4em; }
.hero-hinweis { font-size: .88rem; color: var(--grau); margin: 0; }
.hero-figur { margin: 0; display: grid; place-items: center; }
.hero-figur img { max-width: min(100%, 460px); }
@media (max-width: 820px) { .hero-innen { grid-template-columns: 1fr; } .hero-figur { order: -1; } .hero-figur img { max-width: 300px; } }

.band { background: var(--gruen); color: var(--tinte); }
.band-innen { max-width: var(--breite); margin-inline: auto; padding: 22px var(--rand); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; }
.band p { margin: 0; font-weight: 600; } .band .knopf { background: var(--tinte); color: #fff; }

.merkmale { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.merkmal { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--schatten); }
.merkmal-zahl { font-family: var(--schrift-titel); font-size: 2rem; font-weight: 700; color: var(--gruen-tief); line-height: 1; margin-bottom: .5em; }
.merkmal h3 { margin-bottom: .4em; } .merkmal p { margin: 0; color: var(--grau); }
@media (max-width: 820px) { .merkmale { grid-template-columns: 1fr; } }

details.akkordeon { background: #fff; border-radius: 14px; margin-bottom: 10px; box-shadow: var(--schatten); }
details.akkordeon summary { list-style: none; cursor: pointer; padding: 1em 3em 1em 1.4em; position: relative; font-family: var(--schrift-titel); font-size: 1.15rem; font-weight: 600; }
details.akkordeon summary::-webkit-details-marker { display: none; }
details.akkordeon summary::after { content: ''; position: absolute; right: 1.4em; top: 50%; width: .6em; height: .6em; border-right: 2px solid var(--gruen-tief); border-bottom: 2px solid var(--gruen-tief); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
details.akkordeon[open] summary::after { transform: translateY(-30%) rotate(225deg); }
details.akkordeon .akkordeon-inhalt { padding: 0 1.4em 1.3em; color: var(--grau); }
.akkordeon-inhalt p:last-child { margin-bottom: 0; }

.themen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.thema { background: #fff; border-radius: 14px; padding: 18px 20px; font-weight: 600; display: flex; align-items: center; gap: 12px; box-shadow: var(--schatten); }
.thema::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--gruen); flex: 0 0 auto; }
@media (max-width: 900px) { .themen { grid-template-columns: repeat(2, 1fr); } }

.karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.karte { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--schatten); }
.karte-bild img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.karte-text { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; }
.karte-ueber { font: 600 .74rem/1.2 var(--schrift-titel); letter-spacing: .12em; text-transform: uppercase; color: var(--gruen-tief); margin: 0; }
.karte-titel { font-size: 1.3rem; margin: 0; } .karte-titel a { color: var(--tinte); text-decoration: none; } .karte-titel a:hover { color: var(--gruen-tief); }
.karte-anriss { color: var(--grau); margin: 0; font-size: .95rem; }
.karte-weiter { margin-top: auto; padding-top: 6px; font-weight: 600; text-decoration: none; }
.blaettern { margin-top: 36px; } .blaettern .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.blaettern .page-numbers { padding: .5em .9em; border: 1px solid var(--linie); border-radius: 999px; text-decoration: none; color: var(--tinte); background: #fff; }
.blaettern .page-numbers.current { background: var(--tinte); color: #fff; border-color: var(--tinte); }

.seitenkopf { background: var(--weiss); border-bottom: 1px solid var(--linie); padding-block: clamp(36px, 5vw, 64px); }
.pfad { font-size: .85rem; color: var(--grau); margin: 0 0 .8em; } .pfad a { color: var(--grau); text-decoration: none; }
.seitenkopf h1 { max-width: 22ch; margin-bottom: .2em; } .seitenkopf-anriss { font-size: 1.1rem; color: var(--grau); max-width: 60ch; margin: .6em 0 0; } .seitenkopf-meta { color: var(--grau); font-size: .9rem; margin: .4em 0 0; }
.seite-inhalt { padding-block: clamp(36px, 5vw, 64px); }
.seite-inhalt h2 { margin-top: 1.6em; } .seite-inhalt h2:first-child { margin-top: 0; } .seite-inhalt h3 { margin-top: 1.3em; }
.seite-inhalt img { border-radius: var(--radius); margin: 1.2em 0; } .seite-inhalt ul, .seite-inhalt ol { padding-left: 1.3em; }
.beitrag-bild { margin-block: 0; padding-top: clamp(24px, 3vw, 40px); } .beitrag-bild img { border-radius: var(--radius); width: 100%; }
.beitrag-aufruf { padding-bottom: clamp(24px, 3vw, 40px); }
.aufruf-karte { background: var(--salbei); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.beitrag-nachbarn { display: flex; justify-content: space-between; gap: 20px; padding-bottom: clamp(36px, 5vw, 64px); font-size: .95rem; } .beitrag-nachbarn p { margin: 0; } .beitrag-nachbarn .weiter { margin-left: auto; text-align: right; }
.liste-innen { padding-block: clamp(36px, 5vw, 64px); }
.aufruf { text-align: center; } .aufruf h2 { max-width: 24ch; margin-inline: auto; } .aufruf p { max-width: 50ch; margin-inline: auto; } .aufruf .knopf { margin-top: .8em; }

.formular-raster { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.formular-karte { background: #fff; border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); box-shadow: var(--schatten); }
.wpcf7 form { display: grid; gap: 14px; } .wpcf7 form > p { margin: 0; }
.wpcf7 label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35em; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea, .suche-feld { width: 100%; font: inherit; color: var(--tinte); padding: .75em .9em; border: 1.5px solid #d6d1c6; border-radius: 12px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.wpcf7 input:focus, .wpcf7 textarea:focus, .suche-feld:focus { border-color: var(--gruen-tief); box-shadow: 0 0 0 3px rgba(63,183,155,.22); outline: 0; }
.wpcf7 textarea { min-height: 130px; }
.wpcf7 input[type="submit"] { width: 100%; background: var(--gruen-tief); color: #fff; border: 0; border-radius: 999px; font: 600 1rem/1 var(--schrift-titel); padding: 1em 1.4em; cursor: pointer; } .wpcf7 input[type="submit"]:hover { background: var(--tinte); }
.wpcf7-spinner { display: none; } .wpcf7-not-valid-tip { font-size: .82rem; color: #b3261e; margin-top: .3em; }
.wpcf7 form .wpcf7-response-output { margin: 0; padding: .8em 1em; border-radius: 12px; border: 1.5px solid var(--linie); font-size: .93rem; }
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--gruen-tief); background: var(--salbei); }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-color: #b3261e; background: #fbeeec; }
.formular-fuss { font-size: .8rem; color: var(--grau); margin: 0; }
.kontakt-punkte { list-style: none; margin: 1.2em 0 0; padding: 0; display: grid; gap: .6em; }
.kontakt-punkte li { position: relative; padding-left: 1.6em; }
.kontakt-punkte li::before { content: ''; position: absolute; left: .1em; top: .6em; width: .8em; height: .4em; border-left: 2.5px solid var(--gruen-tief); border-bottom: 2.5px solid var(--gruen-tief); transform: rotate(-45deg); }
@media (max-width: 860px) { .formular-raster { grid-template-columns: 1fr; } }
.suche { margin-top: 2em; } .suche-label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4em; } .suche-zeile { display: flex; gap: 10px; }

.fuss { background: var(--tinte); color: rgba(255,255,255,.78); margin-top: clamp(40px, 6vw, 80px); }
.fuss-innen { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-block: clamp(40px, 5vw, 64px); }
.fuss-wort { font-family: var(--schrift-titel); font-weight: 700; font-size: 1.25rem; color: #fff; margin: 0; } .fuss-wort span { color: var(--gruen); }
.fuss-marke p + p { margin: .8em 0 0; max-width: 34ch; font-size: .93rem; }
.fuss-titel { font: 600 .76rem/1.3 var(--schrift-titel); letter-spacing: .14em; text-transform: uppercase; color: var(--gruen); margin-bottom: 1em; }
.fuss-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .5em; font-size: .95rem; } .fuss-liste a { color: #fff; text-decoration: none; } .fuss-liste a:hover { color: var(--gruen); }
.fuss-zeile { border-top: 1px solid rgba(255,255,255,.12); } .fuss-zeile p { max-width: var(--breite); margin-inline: auto; padding: 18px var(--rand); font-size: .8rem; color: rgba(255,255,255,.5); }
@media (max-width: 820px) { .fuss-innen { grid-template-columns: 1fr 1fr; } .fuss-marke { grid-column: 1 / -1; } } @media (max-width: 480px) { .fuss-innen { grid-template-columns: 1fr; } }
@media print { .kopf, .fuss, .knopf, .band { display: none !important; } }
