/* ==========================================================================
   Schwangerschafts-Rechner – Haupt-Stylesheet (mobile first)
   Alle Farben, Abstände und Schriften kommen aus CSS-Variablen, die über
   den Customizer gesetzt werden (siehe inc/helpers.php → sr_dynamic_css()).
   ========================================================================== */

:root {
	--sr-primary: #49364F;
	--sr-secondary: #E8B9C6;
	--sr-bg: #FFF9F4;
	--sr-heading: #34313A;
	--sr-text: #3F3B45;
	--sr-btn: #49364F;
	--sr-btn-hover: #2F2133;
	--sr-header-bg: #FFFFFF;
	--sr-footer-bg: #49364F;
	--sr-footer-text: #FFFFFF;
	--sr-lavender: #EDE7F6;
	--sr-peach: #F6DDD2;
	--sr-sage: #DDE9DF;
	--sr-calc-bg: #EDE7F6;
	--sr-container: 1200px;
	--sr-radius: 20px;
	--sr-shadow: 0 6px 22px rgba(73, 54, 79, .09);
	--sr-section-y: 4.75rem;
	--sr-font-heading: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	--sr-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--sr-fs: 17px;
	--sr-lh: 1.7;
	--sr-heading-weight: 700;
	--sr-body-weight: 400;
	--sr-btn-weight: 600;
	--sr-logo-h: 44px;
	--sr-nav-fs: 16px;
	--sr-muted: #5E5967;
	--sr-line: rgba(73, 54, 79, .12);
	--sr-white: #fff;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0;
	background: var(--sr-bg);
	color: var(--sr-text);
	font-family: var(--sr-font-body);
	font-size: var(--sr-fs);
	line-height: var(--sr-lh);
	font-weight: var(--sr-body-weight);
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--sr-primary); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--sr-font-heading);
	font-weight: var(--sr-heading-weight);
	color: var(--sr-heading);
	line-height: 1.2;
	margin: 0 0 .6em;
	overflow-wrap: break-word;
	hyphens: manual;
}
@media (max-width: 40em) { h1, h2, h3, h4 { hyphens: auto; } }
h1 { font-size: clamp(1.85rem, 1.25rem + 2.6vw, 3rem); }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }
:focus-visible { outline: 3px solid var(--sr-primary); outline-offset: 3px; border-radius: 4px; }
.sr-footer :focus-visible { outline-color: var(--sr-secondary); }
::selection { background: var(--sr-secondary); color: #2b2230; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute;
	width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; width: auto; height: auto; margin: 0;
	background: var(--sr-primary); color: #fff; padding: .9rem 1.2rem; left: .75rem; top: .75rem;
	z-index: 100000; border-radius: 10px; text-decoration: none; font-weight: 600;
}
.sr-icon { flex: none; display: inline-block; vertical-align: middle; }

/* ---------- Layout ---------- */
.sr-container { width: min(100% - 2rem, var(--sr-container)); margin-inline: auto; }
.sr-container--medium { width: min(100% - 2rem, 920px); }
.sr-container--narrow { width: min(100% - 2rem, 800px); }
.sr-main { display: block; outline: none; }
.sr-section { padding-block: calc(var(--sr-section-y) * .62); }
.sr-section--tight { padding-block: calc(var(--sr-section-y) * .45); }
.sr-section--flush-top { padding-top: 0; }
.sr-section--flush-bottom { padding-bottom: 0; }
.sr-section--lav { background: var(--sr-lavender); }
.sr-section--sage { background: var(--sr-sage); }
.sr-section--cream { background: #fff; }
.sr-section__head { max-width: 720px; margin: 0 auto 2rem; text-align: center; }
.sr-section__title { margin-bottom: .45em; }
.sr-section__lead { color: var(--sr-muted); font-size: 1.05em; margin: 0; }
.sr-section__action { text-align: center; margin: 2rem 0 0; }
.sr-lead { font-size: 1.15em; color: var(--sr-muted); }
.sr-note { max-width: 640px; margin: 2rem auto 0; text-align: center; color: var(--sr-muted); font-size: .95em; }
.sr-empty-note { text-align: center; color: var(--sr-muted); background: #fff; border-radius: var(--sr-radius); padding: 2rem 1.25rem; box-shadow: var(--sr-shadow); }
@media (min-width: 48em) { .sr-section { padding-block: calc(var(--sr-section-y) * .8); } .sr-section--tight { padding-block: calc(var(--sr-section-y) * .5); } }
@media (min-width: 64em) { .sr-section { padding-block: var(--sr-section-y); } .sr-section--tight { padding-block: calc(var(--sr-section-y) * .6); } .sr-section__head { margin-bottom: 2.75rem; } }

/* ---------- Buttons ---------- */
.sr-btn, .wp-block-button__link, .comment-form .submit, .sr-search__submit {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 48px; padding: .75rem 1.6rem; border-radius: 999px;
	background: var(--sr-btn); color: #fff; border: 2px solid var(--sr-btn);
	font: inherit; font-weight: var(--sr-btn-weight); line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.sr-btn:hover, .wp-block-button__link:hover, .comment-form .submit:hover, .sr-search__submit:hover { background: var(--sr-btn-hover); border-color: var(--sr-btn-hover); color: #fff; }
.sr-btn--ghost, .is-style-sr-ghost .wp-block-button__link { background: transparent; color: var(--sr-primary); border-color: var(--sr-primary); }
.sr-btn--ghost:hover, .is-style-sr-ghost .wp-block-button__link:hover { background: var(--sr-primary); color: #fff; border-color: var(--sr-primary); }
.sr-btn--small { min-height: 44px; padding: .55rem 1.25rem; font-size: .95rem; }
.sr-btn--large { min-height: 54px; padding: .9rem 2.2rem; font-size: 1.08em; }
.sr-more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--sr-primary); text-decoration: none; min-height: 44px; }
.sr-more:hover { text-decoration: underline; }
.sr-more .sr-icon { transition: transform .2s; }
.sr-more:hover .sr-icon { transform: translateX(3px); }

/* ---------- Kopfzeile ---------- */
.sr-header { position: relative; z-index: 100; background: var(--sr-header-bg); border-bottom: 1px solid var(--sr-line); transition: box-shadow .25s; }
.sr-header.is-sticky { position: sticky; top: 0; }
.admin-bar .sr-header.is-sticky { top: 32px; }
@media (max-width: 782px) { .admin-bar .sr-header.is-sticky { top: 46px; } }
@media (max-width: 600px) { .admin-bar .sr-header.is-sticky { top: 0; } }
.sr-header.is-scrolled { box-shadow: 0 6px 24px rgba(73, 54, 79, .12); }
.sr-header__inner { display: flex; align-items: center; gap: 1rem; min-height: 68px; padding-block: .5rem; }
.sr-header__brand { flex: 0 1 auto; min-width: 0; }

.sr-logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--sr-heading); font-family: var(--sr-font-heading); font-weight: 700; font-size: clamp(1.05rem, .9rem + .8vw, 1.35rem); line-height: 1.15; }
.sr-logo__mark { width: calc(var(--sr-logo-h) * .9); height: calc(var(--sr-logo-h) * .9); flex: none; }
.sr-logo__text { overflow-wrap: anywhere; }
.sr-logo--light { color: var(--sr-footer-text); }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { height: var(--sr-logo-h); width: auto; max-width: min(60vw, 320px); object-fit: contain; }
.sr-logo__img { height: calc(var(--sr-logo-h) * 1.1); width: auto; max-width: 260px; }

.sr-nav-toggle { position: relative; z-index: 3; margin-left: auto; width: 48px; height: 48px; padding: 0; border: 0; background: var(--sr-lavender); border-radius: 14px; display: grid; place-items: center; cursor: pointer; color: var(--sr-primary); }
.sr-nav-toggle__bars { display: grid; gap: 5px; width: 22px; }
.sr-nav-toggle__bars span { display: block; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .25s, opacity .2s; }
.sr-nav-toggle[aria-expanded="true"] .sr-nav-toggle__bars span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.sr-nav-toggle[aria-expanded="true"] .sr-nav-toggle__bars span:nth-child(2) { opacity: 0; }
.sr-nav-toggle[aria-expanded="true"] .sr-nav-toggle__bars span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.sr-header__cta { display: none; }

/* Mobiles Menü (Standard: Ausklappmenü) */
.sr-nav { position: absolute; top: 100%; left: 0; right: 0; z-index: 2; background: var(--sr-header-bg); box-shadow: 0 18px 30px rgba(73, 54, 79, .12); display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .3s ease, visibility 0s linear .3s; max-height: calc(100vh - 68px); }
.sr-nav.is-open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .3s ease, visibility 0s; overflow-y: auto; }
.sr-nav__inner { overflow: hidden; min-height: 0; }
.sr-menu { list-style: none; margin: 0; padding: .5rem 1rem; }
.sr-menu li { margin: 0; }
.sr-menu > li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--sr-line); }
.sr-menu > li:last-child { border-bottom: 0; }
.sr-menu a { display: block; flex: 1 1 0; min-width: 0; padding: .85rem .75rem; color: var(--sr-heading); font-size: var(--sr-nav-fs); font-weight: 600; text-decoration: none; border-radius: 12px; }
.sr-menu a:hover { background: var(--sr-lavender); color: var(--sr-primary); }
.sr-menu .current-menu-item > a, .sr-menu .current-menu-ancestor > a, .sr-menu .current_page_item > a { background: var(--sr-lavender); color: var(--sr-primary); }
.sr-submenu-toggle { flex: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--sr-primary); border-radius: 12px; display: grid; place-items: center; cursor: pointer; }
.sr-submenu-toggle .sr-icon { transition: transform .2s; }
.is-open > .sr-submenu-toggle .sr-icon { transform: rotate(180deg); }
.sr-menu .sub-menu { display: none; flex-basis: 100%; list-style: none; margin: 0 0 .5rem; padding: 0 0 0 1rem; border-left: 3px solid var(--sr-secondary); }
.sr-menu .is-open > .sub-menu { display: block; }
.sr-menu .sub-menu a { font-weight: 500; }
.sr-nav__cta { display: flex; margin: .5rem 1rem 1.25rem; }

/* Mobiles Menü: Seitenmenü */
@media (max-width: 59.99em) {
	.sr-mobile--panel .sr-nav { position: fixed; top: 0; right: 0; bottom: 0; left: auto; width: min(88vw, 380px); max-height: none; display: block; grid-template-rows: none; transform: translateX(105%); transition: transform .3s ease, visibility 0s linear .3s; overflow-y: auto; }
	.sr-mobile--panel .sr-nav.is-open { transform: none; transition: transform .3s ease, visibility 0s; }
	.sr-mobile--panel .sr-nav__inner { overflow: visible; padding-top: 78px; padding-bottom: 1rem; }
	.sr-nav-overlay { position: fixed; inset: 0; z-index: 1; background: rgba(52, 49, 58, .5); }
	.sr-nav-overlay[hidden] { display: none; }
	.sr-mobile--dropdown .sr-nav-overlay { display: none; }
}
body.sr-nav-locked { overflow: hidden; }

/* Desktop-Navigation */
@media (min-width: 60em) {
	.sr-nav-toggle, .sr-nav-overlay { display: none !important; }
	.sr-header__inner { min-height: 82px; gap: 1.5rem; }
	.sr-header__brand { flex: none; }
	.sr-logo__text { white-space: nowrap; }
	.sr-nav { position: static; display: block; visibility: visible; box-shadow: none; background: transparent; max-height: none; overflow: visible; transition: none; flex: 1 1 auto; }
	.sr-header--right .sr-nav { margin-left: auto; }
	.sr-header--right .sr-nav__inner { display: flex; justify-content: flex-end; }
	.sr-header--center .sr-nav__inner { display: flex; justify-content: center; }
	.sr-nav__inner { overflow: visible; }
	.sr-nav__cta { display: none; }
	.sr-header__cta { flex: none; }
	.sr-menu { display: flex; align-items: center; gap: .15rem; padding: 0; }
	.sr-menu > li { position: relative; flex-wrap: nowrap; border: 0; }
	.sr-menu a { flex: none; padding: .55rem .85rem; border-radius: 999px; white-space: nowrap; }
	.sr-submenu-toggle { width: 28px; height: 36px; margin-left: -.55rem; border-radius: 999px; }
	.sr-menu .sub-menu { display: block; position: absolute; top: 100%; left: 0; z-index: 20; min-width: 240px; margin: 0; padding: .5rem; background: #fff; border: 0; border-radius: calc(var(--sr-radius) * .7); box-shadow: 0 16px 40px rgba(73, 54, 79, .18); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility 0s linear .2s; }
	.sr-menu li:hover > .sub-menu, .sr-menu li:focus-within > .sub-menu, .sr-menu li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s, visibility 0s; }
	.sr-menu .sub-menu a { white-space: normal; border-radius: 12px; }
}

/* Kopfzeile auf mittleren Desktop-Breiten kompakter, Button erst auf sehr breiten Bildschirmen */
@media (min-width: 60em) {
	.sr-header__cta { display: none; }
}
@media (min-width: 60em) and (max-width: 79.99em) {
	.sr-header__inner { gap: 1rem; }
	.sr-menu a { padding: .5rem .5rem; font-size: .92rem; }
	.sr-logo__text { font-size: .98rem; }
	.sr-logo__mark { width: 34px; height: 34px; }
}
@media (min-width: 90em) {
	.sr-header__cta { display: inline-flex; }
	.sr-header .sr-container { width: min(100% - 3rem, max(var(--sr-container), 1400px)); }
}

/* ---------- Hero ---------- */
.sr-hero { background: linear-gradient(135deg, var(--sr-lavender) 0%, var(--sr-peach) 100%); overflow: hidden; }
.sr-hero__grid { display: grid; gap: 1.75rem; align-items: center; padding-block: 2.5rem 2.75rem; }
.sr-hero__title { font-size: clamp(1.75rem, 1.1rem + 3.2vw, 3.1rem); margin-bottom: .55em; }
.sr-hero__lead { font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); color: var(--sr-text); max-width: 34em; margin-bottom: 1.6rem; }
.sr-hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.sr-hero__actions .sr-btn { flex: 1 1 100%; }
.sr-hero__media { order: -1; }
.sr-hero__img { width: min(100%, 360px); margin-inline: auto; }
@media (min-width: 30em) { .sr-hero__actions .sr-btn { flex: 0 1 auto; } }
@media (min-width: 56em) {
	.sr-hero__grid { grid-template-columns: 1.1fr .9fr; gap: 3rem; padding-block: 4.5rem; }
	.sr-hero__media { order: 0; }
	.sr-hero__img { width: min(100%, 520px); margin-inline: auto 0; }
}

/* ---------- Rechner-Bereich ---------- */
.sr-calc { background: var(--sr-calc-bg); border-radius: calc(var(--sr-radius) * 1.4); box-shadow: var(--sr-shadow); padding: clamp(1.1rem, 4vw, 2.75rem); }
.sr-calc__head { text-align: center; margin-bottom: 1.5rem; }
.sr-calc__head .sr-section__title { margin-bottom: .35em; }
.sr-calc__area { background: #fff; border-radius: var(--sr-radius); padding: clamp(1rem, 3vw, 2rem); min-height: 120px; overflow-x: auto; }
.sr-calc__area input, .sr-calc__area select, .sr-calc__area textarea, .sr-calc__area button { max-width: 100%; font: inherit; }
.sr-calc__area table { width: 100%; }
.sr-calc__placeholder { margin: 0; padding: 1.5rem 1rem; text-align: center; color: var(--sr-muted); border: 2px dashed rgba(73, 54, 79, .25); border-radius: calc(var(--sr-radius) * .75); }
.sr-admin-note { margin: .75rem 0 0; padding: .7rem 1rem; background: #FFF3CD; color: #5c4400; border-radius: 12px; font-size: .9rem; }

/* ---------- Raster & Karten ---------- */
.sr-grid { display: grid; gap: 1.1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40em) {
	.sr-grid--4, .sr-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
}
@media (min-width: 64em) {
	.sr-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.sr-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.sr-card { display: flex; flex-direction: column; align-items: flex-start; padding: 1.6rem; border-radius: var(--sr-radius); background: var(--sr-lavender); transition: transform .25s, box-shadow .25s; }
.sr-card--lav { background: var(--sr-lavender); }
.sr-card--peach { background: var(--sr-peach); }
.sr-card--sage { background: var(--sr-sage); }
.sr-card--rose { background: var(--sr-secondary); }
.sr-card__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: rgba(255, 255, 255, .75); color: var(--sr-primary); margin-bottom: 1.1rem; }
.sr-card__title { margin-bottom: .4em; }
.sr-card__text { color: var(--sr-text); margin-bottom: 1rem; }
.sr-card .sr-more { margin-top: auto; }
.sr-cards-section { padding-top: calc(var(--sr-section-y) * .35); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.sr-card:hover, .sr-week:hover, .sr-topic:hover, .sr-card-post:hover { transform: translateY(-4px); box-shadow: var(--sr-shadow); }
}

/* Wochen / Trimester */
.sr-week { display: flex; flex-direction: column; border-radius: var(--sr-radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.sr-week__art svg { width: 100%; height: auto; display: block; }
.sr-week__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.6rem 1.6rem; }
.sr-week .sr-more { margin-top: auto; }

/* Schritte */
.sr-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem; counter-reset: step; }
.sr-step { position: relative; text-align: center; padding: 0 .5rem; }
.sr-step__icon { position: relative; display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 1rem; border-radius: 50%; background: #fff; color: var(--sr-primary); box-shadow: var(--sr-shadow); }
.sr-step__num { position: absolute; top: -4px; right: -4px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sr-primary); color: #fff; font-size: .85rem; font-weight: 700; }
.sr-step__title { margin-bottom: .35em; }
.sr-step__text { margin: 0 auto; max-width: 28em; color: var(--sr-text); }
@media (min-width: 48em) {
	.sr-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
	.sr-step:not(:last-child)::after { content: ""; position: absolute; top: 38px; left: calc(50% + 52px); width: calc(100% - 104px + 2rem); border-top: 2px dashed rgba(73, 54, 79, .3); }
}

/* Themen */
.sr-topic { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem 1.3rem; background: var(--sr-bg); border: 1px solid var(--sr-line); border-radius: var(--sr-radius); text-decoration: none; color: var(--sr-text); transition: transform .25s, box-shadow .25s, border-color .25s; }
.sr-topic:hover { border-color: var(--sr-secondary); }
.sr-topic__icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--sr-lavender); color: var(--sr-primary); }
.sr-topic__body { display: block; min-width: 0; }
.sr-topic__title { display: block; font-family: var(--sr-font-heading); font-weight: var(--sr-heading-weight); color: var(--sr-heading); font-size: 1.12rem; line-height: 1.3; margin-bottom: .25rem; overflow-wrap: anywhere; }
.sr-topic__text { display: block; font-size: .95em; color: var(--sr-muted); line-height: 1.55; }

/* Vertrauen */
.sr-trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.sr-trust__item { background: rgba(255, 255, 255, .7); border-radius: var(--sr-radius); padding: 1.5rem; text-align: center; }
.sr-trust__icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto .9rem; border-radius: 50%; background: #fff; color: var(--sr-primary); }
.sr-trust__title { font-size: 1.15rem; margin-bottom: .35em; }
.sr-trust__text { margin: 0; color: var(--sr-text); font-size: .98em; }
@media (min-width: 48em) { .sr-trust { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* FAQ (details/summary) */
.sr-faq { display: grid; gap: .8rem; }
.sr-faq__item { background: #fff; border: 1px solid var(--sr-line); border-radius: var(--sr-radius); overflow: hidden; }
.sr-faq__item[open] { box-shadow: var(--sr-shadow); border-color: var(--sr-secondary); }
.sr-faq__q { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; padding: 1rem 1.25rem; cursor: pointer; list-style: none; font-weight: 600; color: var(--sr-heading); }
.sr-faq__q::-webkit-details-marker { display: none; }
.sr-faq__q .sr-icon { transition: transform .25s; color: var(--sr-primary); }
.sr-faq__item[open] .sr-faq__q .sr-icon { transform: rotate(180deg); }
.sr-faq__q:hover { background: var(--sr-bg); }
.sr-faq__a { padding: 0 1.25rem 1.2rem; color: var(--sr-text); }
.sr-faq__a > :last-child { margin-bottom: 0; }

/* Abschluss-Bereich */
.sr-cta { text-align: center; padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 5vw, 3rem); border-radius: calc(var(--sr-radius) * 1.5); background: linear-gradient(135deg, var(--sr-secondary) 0%, var(--sr-peach) 60%, var(--sr-lavender) 100%); box-shadow: var(--sr-shadow); }
.sr-cta__title { margin-bottom: .4em; }
.sr-cta__text { max-width: 34em; margin: 0 auto 1.6rem; font-size: 1.08em; color: var(--sr-heading); }

/* Hinweis */
.sr-disclaimer { padding-block: 0 2.25rem; }
.sr-disclaimer__box { display: flex; gap: .9rem; align-items: flex-start; background: var(--sr-sage); color: var(--sr-heading); border-radius: var(--sr-radius); padding: 1.1rem 1.25rem; font-size: .93rem; line-height: 1.6; }
.sr-disclaimer__box p { margin: 0; }
.sr-disclaimer__icon { flex: none; color: var(--sr-primary); margin-top: .1rem; }

/* ---------- Seitenkopf / Brotkrumen ---------- */
.sr-page-header { background: linear-gradient(135deg, var(--sr-lavender), var(--sr-peach)); padding-block: 1.75rem 2.25rem; }
.sr-page-header__title { margin: .25rem 0 0; font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem); }
.sr-page-header__desc { margin-top: .75rem; max-width: 46em; color: var(--sr-text); font-size: 1.05em; }
.sr-page-header__desc > :last-child { margin-bottom: 0; }
.sr-breadcrumbs { font-size: .88rem; color: var(--sr-muted); margin-bottom: .5rem; }
.sr-breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; }
.sr-breadcrumbs li + li::before { content: "›"; margin-right: .5rem; opacity: .6; }
.sr-breadcrumbs a { color: var(--sr-muted); }
.sr-breadcrumbs [aria-current] { color: var(--sr-heading); overflow-wrap: anywhere; }
.sr-section .sr-breadcrumbs { margin-bottom: 1.25rem; }

/* ---------- Blog ---------- */
.sr-layout { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 64em) { .sr-layout--sidebar { grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; align-items: start; } }
.sr-posts { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40em) { .sr-posts--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) {
	.sr-posts--home, .sr-posts--grid.sr-posts--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.sr-card-post { display: flex; flex-direction: column; background: #fff; border-radius: var(--sr-radius); overflow: hidden; box-shadow: var(--sr-shadow); transition: transform .25s, box-shadow .25s; min-width: 0; }
.sr-card-post__media { display: block; aspect-ratio: 16 / 10; background: var(--sr-lavender); overflow: hidden; }
.sr-card-post__media img { width: 100%; height: 100%; object-fit: cover; }
.sr-card-post__placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--sr-primary); background: linear-gradient(135deg, var(--sr-lavender), var(--sr-peach)); }
.sr-card-post__body { display: flex; flex-direction: column; flex: 1; padding: 1.2rem 1.35rem 1.35rem; }
.sr-card-post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; font-size: .85rem; color: var(--sr-muted); margin-bottom: .6rem; }
.sr-card-post__title { font-size: 1.22rem; margin-bottom: .45em; }
.sr-card-post__title a { color: inherit; text-decoration: none; }
.sr-card-post__title a:hover { color: var(--sr-primary); text-decoration: underline; }
.sr-card-post__excerpt { color: var(--sr-text); font-size: .97em; margin-bottom: .9rem; }
.sr-card-post .sr-more { margin-top: auto; }
.sr-chip { display: inline-block; padding: .15rem .7rem; border-radius: 999px; background: var(--sr-lavender); color: var(--sr-primary); font-size: .8rem; font-weight: 600; text-decoration: none; line-height: 1.6; }
a.sr-chip:hover { background: var(--sr-secondary); }
.sr-posts--list { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40em) {
	.sr-posts--list .sr-card-post { flex-direction: row; }
	.sr-posts--list .sr-card-post__media { flex: 0 0 38%; aspect-ratio: auto; min-height: 100%; }
}
.sr-empty { text-align: center; padding-block: 1rem; }

.navigation.pagination { margin-top: 2.5rem; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--sr-line); color: var(--sr-heading); text-decoration: none; font-weight: 600; }
.page-numbers.current, .page-numbers:hover { background: var(--sr-primary); color: #fff; border-color: var(--sr-primary); }
.page-numbers.dots { background: transparent; border: 0; }

/* Einzelner Beitrag */
.sr-article { min-width: 0; }
.sr-article__header { margin-bottom: 1.5rem; }
.sr-article__cats { margin-bottom: .75rem; }
.sr-article__title { font-size: clamp(1.8rem, 1.2rem + 2.6vw, 2.8rem); margin-bottom: .5em; }
.sr-meta { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; color: var(--sr-muted); font-size: .92rem; align-items: center; }
.sr-meta__author { display: inline-flex; align-items: center; gap: .3rem; }
.sr-featured { margin: 0 0 2rem; border-radius: var(--sr-radius); overflow: hidden; box-shadow: var(--sr-shadow); }
.sr-featured img { width: 100%; height: auto; }

/* Lesbarer Inhalt */
.sr-entry-content { font-size: 1.04em; line-height: 1.8; overflow-wrap: break-word; }
.sr-entry-content > * { max-width: 100%; }
.sr-entry-content h2 { margin-top: 2.2em; }
.sr-entry-content h3 { margin-top: 1.8em; }
.sr-entry-content h2:first-child, .sr-entry-content h3:first-child { margin-top: 0; }
.sr-entry-content a { text-decoration: underline; }
.sr-entry-content img { border-radius: calc(var(--sr-radius) * .6); }
.sr-entry-content ul, .sr-entry-content ol { margin: 0 0 1.3em; }
.sr-entry-content li { margin-bottom: .4em; }
.sr-entry-content li::marker { color: var(--sr-primary); }
.sr-entry-content blockquote { margin: 1.8em 0; padding: 1.1rem 1.4rem; border-left: 5px solid var(--sr-secondary); background: #fff; border-radius: 0 var(--sr-radius) var(--sr-radius) 0; font-style: italic; }
.sr-entry-content blockquote p:last-child { margin-bottom: 0; }
.sr-entry-content table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; margin: 0 0 1.5em; font-size: .96em; }
.sr-entry-content th, .sr-entry-content td { padding: .7rem .9rem; border: 1px solid var(--sr-line); text-align: left; vertical-align: top; }
.sr-entry-content th { background: var(--sr-lavender); color: var(--sr-heading); }
.sr-entry-content tr:nth-child(even) td { background: rgba(255, 255, 255, .6); }
.sr-entry-content figure { margin: 1.5em 0; }
.sr-entry-content figcaption, .wp-caption-text { font-size: .88rem; color: var(--sr-muted); text-align: center; margin-top: .5rem; }
.sr-entry-content pre { overflow-x: auto; padding: 1rem; background: #fff; border-radius: 12px; }
.sr-entry-content details { background: #fff; border: 1px solid var(--sr-line); border-radius: 14px; padding: .8rem 1.1rem; margin-bottom: .7rem; }
.sr-entry-content summary { cursor: pointer; font-weight: 600; color: var(--sr-heading); }
.alignwide { width: 100%; }
.alignleft { float: left; margin: .3em 1.4em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.4em; }
.aligncenter { margin-inline: auto; }
@media (max-width: 40em) { .alignleft, .alignright { float: none; margin-inline: 0; } }

/* Hinweisboxen (Gutenberg-Block-Stile) */
.sr-box, .is-style-sr-info-box, .is-style-sr-tipp-box, .is-style-sr-hinweis-box { margin: 1.8em 0; padding: 1.15rem 1.4rem; border-radius: var(--sr-radius); border-left: 6px solid var(--sr-primary); background: var(--sr-lavender); }
.is-style-sr-tipp-box { background: var(--sr-sage); border-left-color: #6f9a7a; }
.is-style-sr-hinweis-box { background: var(--sr-peach); border-left-color: #c0715f; }
.sr-box > :last-child, .is-style-sr-info-box > :last-child, .is-style-sr-tipp-box > :last-child, .is-style-sr-hinweis-box > :last-child { margin-bottom: 0; }
.is-style-sr-info-box > h3:first-child, .is-style-sr-tipp-box > h3:first-child { margin-top: 0; }

/* Inhaltsverzeichnis */
.sr-toc { margin: 0 0 2rem; background: #fff; border: 1px solid var(--sr-line); border-radius: var(--sr-radius); padding: .25rem 1.25rem; }
.sr-toc summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; font-weight: 700; color: var(--sr-heading); font-family: var(--sr-font-heading); font-size: 1.1rem; }
.sr-toc ol { margin: 0 0 1rem; padding-left: 1.25rem; font-size: .97rem; line-height: 1.5; }
.sr-toc ol ol { margin: .35rem 0 .35rem; list-style: lower-alpha; }
.sr-toc li { margin-bottom: .4rem; }
.sr-toc a { text-decoration: none; }
.sr-toc a:hover { text-decoration: underline; }
.sr-sidebar-toc:empty { display: none; }
.sr-sidebar-toc .sr-toc { margin: 0; max-height: calc(100vh - 140px); overflow-y: auto; }
@media (min-width: 64em) { .sr-sidebar-toc { position: sticky; top: 104px; } .admin-bar .sr-sidebar-toc { top: 136px; } }

/* Teilen, Tags, Autor */
.sr-article__footer { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--sr-line); display: grid; gap: 1.1rem; }
.sr-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.sr-tags a { display: inline-block; padding: .25rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--sr-line); color: var(--sr-text); text-decoration: none; font-size: .88rem; }
.sr-tags a:hover { background: var(--sr-lavender); }
.sr-share { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.sr-share__label { font-weight: 600; color: var(--sr-heading); }
.sr-share ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.sr-share a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border-radius: 999px; background: var(--sr-lavender); color: var(--sr-primary); font-weight: 600; font-size: .92rem; text-decoration: none; }
.sr-share a:hover { background: var(--sr-primary); color: #fff; }
.sr-author { display: flex; gap: 1.1rem; align-items: center; margin-top: 2rem; padding: 1.25rem; background: #fff; border-radius: var(--sr-radius); box-shadow: var(--sr-shadow); }
.sr-author__avatar img { border-radius: 50%; width: 72px; height: 72px; }
.sr-author__name { font-weight: 700; margin: 0 0 .25rem; }
.sr-author__bio { margin: 0; font-size: .95rem; color: var(--sr-muted); }
.sr-after-post { margin-top: 2rem; }

.post-navigation { margin-top: 2.5rem; }
.post-navigation .nav-links { display: grid; gap: .9rem; justify-content: stretch; }
.post-navigation a { display: block; height: 100%; padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--sr-line); border-radius: var(--sr-radius); text-decoration: none; color: var(--sr-heading); }
.post-navigation a:hover { border-color: var(--sr-secondary); box-shadow: var(--sr-shadow); }
.post-navigation .nav-next { text-align: right; }
.sr-postnav__label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--sr-muted); }
.sr-postnav__title { display: block; font-weight: 600; line-height: 1.35; }
@media (min-width: 40em) { .post-navigation .nav-links { grid-template-columns: 1fr 1fr; } }

.sr-related { margin-top: 3rem; }
.sr-related__title { margin-bottom: 1rem; }

/* Seitenleiste */
.sr-sidebar { display: grid; gap: 1.5rem; min-width: 0; }
.sr-widget { background: #fff; border-radius: var(--sr-radius); padding: 1.3rem 1.4rem; box-shadow: var(--sr-shadow); min-width: 0; }
.sr-widget__title { font-size: 1.15rem; margin-bottom: .8rem; padding-bottom: .6rem; border-bottom: 2px solid var(--sr-secondary); }
.sr-widget ul { list-style: none; margin: 0; padding: 0; }
.sr-widget li { margin-bottom: .5rem; }
.sr-widget--newsletter { background: var(--sr-lavender); }
.sr-cat-list li { display: flex; justify-content: space-between; gap: .5rem; border-bottom: 1px dashed var(--sr-line); padding-bottom: .5rem; }
.sr-cat-list li:last-child { border: 0; }
.sr-cat-list a { text-decoration: none; }
.sr-cat-list a:hover { text-decoration: underline; }
.sr-mini-list { display: grid; gap: .9rem; }
.sr-mini { display: flex; gap: .8rem; align-items: center; margin: 0 !important; }
.sr-mini__thumb { flex: none; width: 64px; height: 64px; border-radius: 14px; overflow: hidden; background: var(--sr-lavender); display: grid; place-items: center; color: var(--sr-primary); }
.sr-mini__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sr-mini__text { min-width: 0; }
.sr-mini__title { display: block; font-weight: 600; line-height: 1.35; color: var(--sr-heading); text-decoration: none; }
.sr-mini__title:hover { text-decoration: underline; }
.sr-mini time { font-size: .8rem; color: var(--sr-muted); }

/* Suche & Formulare */
.sr-search { display: flex; gap: .5rem; max-width: 520px; margin: 1.25rem 0; }
.sr-search__field { flex: 1 1 auto; min-width: 0; }
.sr-search__submit { width: 48px; padding: 0; flex: none; }
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="number"], input[type="date"], input[type="password"], select, textarea {
	width: 100%; max-width: 100%; min-height: 48px; padding: .65rem 1rem; font: inherit; color: var(--sr-heading);
	background: #fff; border: 2px solid rgba(73, 54, 79, .22); border-radius: calc(var(--sr-radius) * .6);
}
textarea { min-height: 140px; }
input:focus, select:focus, textarea:focus { border-color: var(--sr-primary); outline: 3px solid rgba(73, 54, 79, .2); outline-offset: 1px; }
label { font-weight: 600; color: var(--sr-heading); }
.sr-contact-form { margin-top: 2rem; }
.sr-contact-form input[type="submit"], .sr-contact-form button[type="submit"], .wpcf7-submit {
	min-height: 48px; padding: .75rem 1.8rem; border-radius: 999px; border: 2px solid var(--sr-btn); background: var(--sr-btn); color: #fff; font: inherit; font-weight: var(--sr-btn-weight); cursor: pointer;
}
.sr-contact-form input[type="submit"]:hover, .sr-contact-form button[type="submit"]:hover, .wpcf7-submit:hover { background: var(--sr-btn-hover); }
.sr-404 { text-align: center; }
.sr-404 .sr-search { margin-inline: auto; }
.sr-404__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 1.5rem; }
.sr-page-links { margin-top: 1.5rem; }

/* Kommentare */
.sr-comments { margin-top: 3rem; }
.sr-comments__list { list-style: none; padding: 0; }
.sr-comments__list .comment-body { background: #fff; border-radius: var(--sr-radius); padding: 1.1rem 1.3rem; margin-bottom: 1rem; }
.sr-comments__list .children { list-style: none; padding-left: 1.25rem; }
.comment-meta { font-size: .88rem; color: var(--sr-muted); }
.comment-author .avatar { float: left; margin-right: .8rem; border-radius: 50%; }
.comment-form p { margin-bottom: 1rem; }
.comment-form label { display: block; margin-bottom: .3rem; }

/* ---------- Footer ---------- */
.sr-footer { background: var(--sr-footer-bg); color: var(--sr-footer-text); padding-top: clamp(2.5rem, 6vw, 4rem); }
.sr-footer a { color: var(--sr-footer-text); text-decoration-color: rgba(255, 255, 255, .4); }
.sr-footer a:hover { color: var(--sr-secondary); }
.sr-footer__grid { display: grid; gap: 2.25rem; grid-template-columns: minmax(0, 1fr); padding-bottom: 2.5rem; }
.sr-footer__title { font-size: 1.08rem; margin-bottom: 1rem; color: var(--sr-secondary); font-family: var(--sr-font-heading); }
.sr-footer__text { margin: 1rem 0 .6rem; opacity: .92; max-width: 30em; }
.sr-footer__tagline { font-family: var(--sr-font-heading); font-style: italic; color: var(--sr-secondary); margin: 0 0 1rem; }
.sr-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.sr-footer__menu a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; opacity: .92; }
.sr-footer__menu a:hover { text-decoration: underline; opacity: 1; }
.sr-social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.sr-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.sr-social a:hover { background: var(--sr-secondary); color: var(--sr-primary); }
.sr-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .18); padding-block: 1.25rem 1.5rem; font-size: .9rem; opacity: .9; text-align: center; }
.sr-footer__bottom p { margin: 0; }
@media (min-width: 40em) { .sr-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .sr-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; } .sr-footer__bottom { text-align: left; } }

/* ---------- Sehr kleine Bildschirme (320 px) ---------- */
@media (max-width: 22.5em) {
	.sr-container, .sr-container--medium, .sr-container--narrow { width: min(100% - 1.5rem, var(--sr-container)); }
	.sr-card, .sr-widget { padding: 1.2rem; }
	.sr-logo__text { font-size: 1rem; }
	.sr-btn { padding-inline: 1.1rem; }
}

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
	.sr-header, .sr-footer, .sr-sidebar, .sr-share, .sr-nav-toggle { display: none !important; }
	body { background: #fff; }
}

/* Lange deutsche Wörter in Karten sicher umbrechen */
.sr-card__title, .sr-step__title, .sr-trust__title, .sr-card-post__title, .sr-topic__title, .sr-widget__title, .sr-faq__q span {
	hyphens: auto;
	overflow-wrap: anywhere;
}
