/*
Theme Name: mobby
Theme URI: https://mobby-akademie.de/
Author: MainWeb Design
Author URI: https://www.mainweb-design.de/
Description: Block-Theme der mobby Akademie für Mobbing-Prophylaxe. Gestaltung nach dem freigegebenen Entwurf 1 (Stand 22.09.2026). Termine, Team und Dashboard liefert das Plugin mobby-core.
Version: 1.0.8
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: mobby
*/

/*
 * Aufbau folgt previews/current/assets/variant-1.css. Klassen der Vorschau
 * sind auf Core-Blöcke übertragen (className), damit Texte und Bilder im Editor
 * pflegbar bleiben. Abstände setzt dieses Stylesheet, nicht der globale
 * blockGap (theme.json: 0).
 */

:root {
	--green: var(--wp--preset--color--gruen);
	--green-dark: var(--wp--preset--color--gruen-dunkel);
	--sage: var(--wp--preset--color--salbei);
	--cream: var(--wp--preset--color--creme);
	--ink: var(--wp--preset--color--tinte);
	--muted: var(--wp--preset--color--grau);
	--line: var(--wp--preset--color--linie);
	--white: #fff;
	--gutter: clamp(18px, 5vw, 62px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; }
a { text-underline-offset: .24em; }
::selection { background: var(--sage); color: var(--green-dark); }
:focus-visible { outline: 3px solid #b56636; outline-offset: 4px; }

h1, h2, h3 { margin-top: 0; font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

figure.wp-block-image { margin: 0; }
figure.wp-block-image img, .mobby-bild img { display: block; width: 100%; height: auto; }
figure.wp-block-image figcaption.wp-element-caption,
.mobby-bild figcaption { margin: 10px 0 0; color: var(--muted); font-size: .78rem; text-align: left; }

/* Schaltflächen ------------------------------------------------------------ */

.wp-block-button__link {
	min-height: 48px; display: inline-flex; align-items: center; justify-content: center;
	text-decoration: none;
	transition: color .2s ease, background-color .2s ease, transform .2s ease;
}
.wp-block-button__link:hover { transform: translateY(-2px); background: var(--green-dark); color: var(--white); }
.wp-block-button.is-style-textlink .wp-block-button__link {
	min-height: 0; padding: 0; border: 0; background: none; color: var(--green);
	font-size: 1rem; text-decoration: underline; text-decoration-thickness: 1px;
}
.wp-block-button.is-style-textlink .wp-block-button__link::after {
	content: "→"; display: inline-block; margin-left: 12px; text-decoration: none;
}
.wp-block-button.is-style-textlink .wp-block-button__link:hover { transform: none; background: none; color: var(--green-dark); }
.wp-block-button.is-style-hell .wp-block-button__link { border-color: var(--white); background: var(--white); color: var(--green); }
.wp-block-button.is-style-hell .wp-block-button__link:hover { background: var(--white); color: var(--green-dark); }

/* Kopfbereich -------------------------------------------------------------- */

.site-header {
	max-width: 1440px; min-height: 94px; margin: auto; padding: 20px clamp(18px, 5vw, 72px);
	display: flex; align-items: center; justify-content: space-between; gap: 32px;
	border-bottom: 1px solid var(--line);
}
.site-header .logo { display: flex; align-items: center; gap: 15px; line-height: 1.15; }
.site-header .logo .wp-block-site-title { margin: 0; font-size: 2rem; font-weight: 700; letter-spacing: -.04em; line-height: 1.15; }
.site-header .logo .wp-block-site-title a { color: var(--green); text-decoration: none; }
.site-header .logo .wp-block-site-tagline {
	max-width: 150px; margin: 0; padding-left: 15px; border-left: 1px solid var(--line);
	color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: .03em; line-height: 1.15;
}
/* Kopfzeile bleibt beim Scrollen stehen, Hintergrund leicht durchscheinend. */
.wp-site-blocks > header.wp-block-template-part {
	position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50;
	background: rgba(251, 252, 250, .86);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.site-header { position: relative; }
.mobby-menue--hauptmenue .menue-liste { display: flex; gap: clamp(18px, 3vw, 38px); }
.menue-knopf { display: none; }
.mobby-menue--hauptmenue a { text-decoration: none; font-size: .82rem; font-weight: 700; }
.mobby-menue--hauptmenue a:hover,
.mobby-menue--hauptmenue a[aria-current="page"] { color: var(--green); text-decoration: underline; }

/* Startseite: Einstieg ----------------------------------------------------- */

.hero {
	max-width: 1440px; margin: auto;
	padding: clamp(64px, 9vw, 132px) clamp(18px, 5vw, 72px) clamp(70px, 9vw, 120px);
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr);
	gap: clamp(50px, 8vw, 120px); align-items: center;
}
.hero h1 { margin: 0; max-width: 850px; font-size: clamp(3rem, 5.9vw, 5.8rem); line-height: .98; }
.hero .intro { max-width: 66ch; margin: 32px 0 0; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.18rem); }
.hero .actions { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
/* Längere Einstiegstexte: Absätze mit Abstand, Themenüberschriften abgesetzt, leere Absätze ausgeblendet. */
.hero-copy > p { max-width: 56ch; margin: 12px 0 0; color: var(--muted); }
.hero-copy > p.intro { margin-top: 28px; }
.hero-copy > p.hero-thema { margin-top: 22px; color: var(--green); }
.hero-copy > p:empty { display: none; }
.hero .hero-image img { aspect-ratio: 4 / 5; object-fit: cover; object-position: right center; filter: saturate(.72); }

/*
 * Die Abschnitte der Startseite stehen auf „volle Breite“ (alignfull). Sonst setzt
 * der Seiten-Editor sie auf die Textbreite von 760 px: Er übernimmt das Layout aus
 * page.html, nicht aus front-page.html. alignfull hebt im Editor aber jede
 * max-width auf; die Obergrenzen hier deshalb mit höherer Spezifität (:root wird
 * im Editor zu .editor-styles-wrapper).
 */
:root .wp-block-group.hero.alignfull { max-width: 1440px; }
:root .wp-block-group.section.alignfull { max-width: 1300px; }
:root .wp-block-group.faq.alignfull { max-width: none; }

/* Einstieg, Blockstil „Einstieg: großes Bild“ --------------------------------- */
/*
 * Gleiches Markup wie der Standard-Einstieg: Das Bild wird zum Hintergrund des
 * ganzen Abschnitts, links liegt ein heller Verlauf in der Hintergrundfarbe für
 * Überschrift und Buttons. Mobil steht das Bild oben, der Text darunter.
 */
:root .wp-block-group.hero.alignfull.is-style-grosses-bild,
:root .wp-block-group.hero.is-style-grosses-bild {
	position: relative; isolation: isolate; max-width: none;
	min-height: min(86vh, 860px);
	grid-template-columns: minmax(0, 1fr);
	padding-block: clamp(80px, 11vw, 160px);
	padding-inline: max(clamp(18px, 5vw, 72px), calc((100% - 1440px) / 2 + clamp(18px, 5vw, 72px)));
}
:root .wp-block-group.hero.is-style-grosses-bild::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: linear-gradient(90deg, rgba(251, 252, 250, .97) 0%, rgba(251, 252, 250, .94) 46%, rgba(251, 252, 250, .66) 56%, rgba(251, 252, 250, 0) 72%);
}
.hero.is-style-grosses-bild .hero-copy { max-width: 620px; }
.hero.is-style-grosses-bild h1 { font-size: clamp(3rem, 5vw, 4.9rem); }
.hero.is-style-grosses-bild .intro { max-width: 52ch; }
.hero.is-style-grosses-bild .hero-image { position: absolute; inset: 0; z-index: -2; }
/* !important nur für die Höhe: Der Editor setzt am Bild inline height:auto. */
.hero.is-style-grosses-bild .hero-image img {
	width: 100%; height: 100% !important; aspect-ratio: auto; object-fit: cover; object-position: right center; filter: saturate(.85);
}
.hero.is-style-grosses-bild .hero-image figcaption {
	position: absolute; right: clamp(18px, 5vw, 72px); bottom: 18px; margin: 0;
	padding: 4px 10px; background: rgba(251, 252, 250, .88);
}

/* Startseite: Merkmale ----------------------------------------------------- */

.facts { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--green-dark); color: var(--white); }
.facts > .wp-block-group {
	min-height: 142px; padding: 34px clamp(20px, 5vw, 68px);
	display: flex; flex-direction: column; justify-content: center;
	border-right: 1px solid rgba(255, 255, 255, .16);
}
.facts > .wp-block-group:last-child { border-right: 0; }
.facts .fact-title { margin: 0; font-size: 1.4rem; font-weight: 600; line-height: 1.2; }
.facts .fact-text { max-width: 30ch; margin: 6px 0 0; color: #c5d8d1; font-size: .86rem; }

/* Abschnitte --------------------------------------------------------------- */

.section { width: 100%; max-width: 1300px; margin: auto; padding: clamp(82px, 10vw, 150px) var(--gutter); }
.section h2 { margin: 0; font-size: clamp(2.7rem, 5vw, 5rem); line-height: 1.03; }

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

.schedule-section { padding: clamp(82px, 10vw, 150px) var(--gutter); background: var(--cream); }
.schedule-inner { width: 100%; max-width: 1300px; margin: auto; }
.schedule-head {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
	gap: clamp(36px, 8vw, 120px); align-items: end; margin-bottom: 58px;
}
.schedule-head h2 { margin: 0; font-size: clamp(1.65rem, 4.4vw, 4.4rem); line-height: 1.03; white-space: nowrap; }
.schedule-head p { max-width: 64ch; margin: 0; color: var(--muted); }

.event-list { border-top: 1px solid #bac8c0; }
.event {
	min-height: 190px; padding: 34px 0;
	display: grid; grid-template-columns: 200px minmax(0, 1fr) 170px;
	gap: clamp(28px, 6vw, 84px); align-items: center;
	border-bottom: 1px solid #bac8c0;
}
.event-date time { display: flex; flex-direction: column; }
.event-date .event-day { color: var(--green); font-size: 3rem; font-weight: 700; line-height: .95; letter-spacing: -.04em; }
.event.is-zeitraum .event-date .event-day { font-size: 2.1rem; }
.event-date time strong { margin-top: 8px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.event-date small { display: block; margin-top: 6px; color: var(--muted); font-size: .875rem; }
.event-copy h3 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.35rem); line-height: 1.12; }
.event-copy p { max-width: 62ch; margin: 12px 0 0; color: var(--muted); }
.event-copy .event-meta { color: var(--green); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.event-action { justify-self: end; text-align: right; }
.event-price { margin: 0 0 6px; font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; }
.event-link { padding-bottom: 4px; color: var(--green); font-size: .82rem; font-weight: 700; text-decoration-thickness: 1px; }
.event-link:hover { color: var(--green-dark); }
.event-list-leer { margin: 0; padding: 34px 0; color: var(--muted); border-bottom: 1px solid #bac8c0; }

/* Team --------------------------------------------------------------------- */

.team {
	display: grid; grid-template-columns: minmax(360px, 1fr) minmax(0, .92fr);
	gap: clamp(50px, 9vw, 130px); align-items: center;
}
.team .team-image img { aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.68); }
.team-copy p { max-width: 66ch; margin: 0; color: var(--muted); }
.team-copy p.large {
	margin: 28px 0 20px; color: var(--green); font-size: clamp(1.4rem, 2.4vw, 2rem);
	font-weight: 600; line-height: 1.34; letter-spacing: -.02em;
}
.team-copy .wp-block-buttons { margin-top: 28px; }
.team-copy .team-vorstellung p { margin-top: 14px; }

.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
/* Nur eine Person: Porträt füllt die linke Spalte und steht oben bündig mit der Überschrift. */
.team-grid.is-einzeln { grid-template-columns: minmax(0, 440px); }
.team:has(.team-grid.is-einzeln) { align-items: start; }
.team-member img { aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.8); }
.team-member figcaption strong { display: block; color: var(--ink); font-size: 1.05rem; font-weight: 600; }
.team-member figcaption span { display: block; }

.team-list { border-top: 1px solid var(--line); }
.team-profile {
	padding: 40px 0; display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
	gap: clamp(24px, 5vw, 56px); align-items: start; border-bottom: 1px solid var(--line);
}
.team-profile.ohne-bild { grid-template-columns: minmax(0, 1fr); }
.team-profile img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.page-main .team-profile h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.15; }
.team-profile .team-role { margin: 8px 0 0; color: var(--green); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.team-profile .team-text p { margin: 16px 0 0; color: var(--muted); }

/* Wissenswertes ------------------------------------------------------------ */

.faq {
	max-width: none;
	padding-right: max(clamp(18px, 5vw, 72px), calc((100vw - 1300px) / 2));
	padding-left: max(clamp(18px, 5vw, 72px), calc((100vw - 1300px) / 2));
	background: var(--sage);
}
.faq-head {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
	gap: clamp(36px, 8vw, 120px); align-items: end; margin-bottom: 52px;
}
.faq-head p { max-width: 58ch; margin: 0; color: #40534c; }
.faq-list { border-top: 1px solid #aebfb6; }
.faq-item {
	padding: clamp(30px, 4vw, 46px) 0;
	display: grid; grid-template-columns: minmax(260px, .75fr) minmax(320px, 1.25fr);
	gap: clamp(34px, 7vw, 110px); border-bottom: 1px solid #aebfb6;
}
.faq-item h3 { margin: 0; font-size: clamp(1.35rem, 2.25vw, 2.05rem); line-height: 1.2; }
.faq-item p { max-width: 72ch; margin: 0; color: #40534c; }
.faq-item p + p { margin-top: 18px; }

/* Kontakt ------------------------------------------------------------------ */

.contact { padding: clamp(78px, 10vw, 130px) clamp(20px, 8vw, 120px); text-align: center; background: var(--green); color: var(--white); }
.contact h2 { max-width: 900px; margin: 0 auto 28px; font-size: clamp(2.8rem, 6vw, 5.8rem); line-height: 1; }
.contact p { max-width: 64ch; margin: 0 auto 12px; color: #edf5f2; }
.contact .wp-block-buttons { margin-top: 24px; justify-content: center; }

/* Kontaktformular (Startseite im grünen Bereich, Kontaktseite auf Weiß) */
.mobby-kontakt { max-width: 640px; margin: 40px auto 0; text-align: left; }
.mobby-kontakt form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.mobby-kontakt form > :not(.is-name):not(.is-email) { grid-column: 1 / -1; }
.mobby-kontakt-feld { display: grid; gap: 6px; margin: 0 !important; }
.mobby-kontakt label { font-size: .86rem; font-weight: 600; }
.mobby-kontakt input, .mobby-kontakt textarea {
	width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 0;
	background: var(--white); color: var(--ink); font: inherit; font-size: 1rem;
}
.mobby-kontakt textarea { resize: vertical; min-height: 150px; }
.mobby-kontakt input:focus-visible, .mobby-kontakt textarea:focus-visible { outline: 3px solid var(--sage); outline-offset: 1px; border-color: var(--green); }
.mobby-kontakt [aria-invalid="true"] { border-color: #b3261e; }
.mobby-kontakt-fehler { color: #b3261e; font-size: .86rem; }
.mobby-kontakt-hinweis { margin: 0 !important; max-width: none !important; font-size: .86rem; }
.mobby-kontakt .wp-block-button__link { border: 0; cursor: pointer; font: inherit; }
.mobby-kontakt-meldung { margin: 0 0 18px !important; max-width: none !important; padding: 14px 18px; border-left: 3px solid currentColor; }
.mobby-kontakt-meldung.is-erfolg { background: var(--sage); color: var(--green-dark) !important; }
.mobby-kontakt-meldung.is-fehler { background: #fbeceb; color: #8c1d18 !important; }
.mobby-kontakt-falle { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact .mobby-kontakt input, .contact .mobby-kontakt textarea { border-color: transparent; }
.contact .mobby-kontakt input:focus-visible, .contact .mobby-kontakt textarea:focus-visible { outline-color: var(--white); }
.contact .mobby-kontakt-fehler { padding: 2px 8px; justify-self: start; background: #fbeceb; color: #8c1d18; }
.contact .mobby-kontakt-hinweis a { color: var(--white); }
.contact .mobby-kontakt .wp-block-button__link { background: var(--white); color: var(--green); }
.contact .mobby-kontakt .wp-block-button__link:hover { background: var(--white); color: var(--green-dark); }
@media (max-width: 700px) { .mobby-kontakt form { grid-template-columns: 1fr; } }

/* Unterseiten -------------------------------------------------------------- */

.page-head {
	max-width: calc(760px + 2 * var(--gutter)); margin: auto;
	padding: clamp(56px, 8vw, 110px) var(--gutter) clamp(28px, 4vw, 44px);
}
.page-head h1 {
	margin: 0; font-size: clamp(2.4rem, 4.6vw, 3.8rem); line-height: 1.04;
	overflow-wrap: break-word; hyphens: auto;
}
.page-content { padding: 0 var(--gutter) clamp(82px, 10vw, 140px); }
.page-main .page-content > * + * { margin-block-start: 1.1em; }
.page-main .page-content > h2 { margin-block-start: 2.1em; font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.2; }
.page-main .page-content > h3 { margin-block-start: 1.8em; font-size: 1.2rem; line-height: 1.3; }
.page-main .page-content > :first-child { margin-block-start: 0; }
.page-content a:not(.wp-block-button__link) { color: var(--green); }
.page-content .intro { color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.18rem); }
.page-content ul { padding-left: 1.2em; }
.page-content .hinweis { padding: 20px 24px; background: var(--cream); border-left: 3px solid var(--green); }
.page-main .page-content > .wp-block-mobby-termine,
.page-main .page-content > .wp-block-mobby-team { margin-block-start: 2.4em; }

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

.site-footer {
	padding: 44px clamp(18px, 5vw, 72px); display: grid; grid-template-columns: minmax(280px, 1fr) auto;
	gap: 20px 40px; color: var(--muted); font-size: .78rem;
}
.footer-brand > p { max-width: 60ch; margin: 16px 0 0; }
.footer-logo { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.footer-logo .wp-block-site-title { margin: 0; color: var(--green); font-size: 1.4rem; font-weight: 700; letter-spacing: -.04em; line-height: 1.2; }
.footer-logo .wp-block-site-tagline { margin: 0; }
.mobby-menue--rechtliches { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.mobby-menue--rechtliches a { color: var(--ink); font-weight: 700; text-decoration: none; }
.mobby-menue--rechtliches a:hover,
.mobby-menue--rechtliches a[aria-current="page"] { text-decoration: underline; }

/* Responsiv ---------------------------------------------------------------- */

@media (max-width: 980px) {
	.hero { grid-template-columns: 1fr; }
	.hero .hero-image img { aspect-ratio: 16 / 9; }
	:root .wp-block-group.hero.alignfull.is-style-grosses-bild,
	:root .wp-block-group.hero.is-style-grosses-bild { min-height: 0; padding: 0 0 clamp(48px, 8vw, 80px); gap: 36px; }
	:root .wp-block-group.hero.is-style-grosses-bild::before { content: none; }
	.hero.is-style-grosses-bild .hero-image { position: relative; inset: auto; z-index: auto; order: -1; }
	.hero.is-style-grosses-bild .hero-image img { height: auto !important; aspect-ratio: 16 / 10; }
	.hero.is-style-grosses-bild .hero-copy { padding-inline: clamp(18px, 5vw, 72px); }
	.hero.is-style-grosses-bild .hero-image figcaption { position: static; margin-top: 10px; padding: 0 clamp(18px, 5vw, 72px); background: none; }
	.schedule-head, .team, .faq-head { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 700px) {
	html { scroll-padding-top: 90px; }
	.site-header { align-items: flex-start; gap: 20px; }
	.site-header:has(.ist-bereit) { align-items: center; min-height: 0; }
	.mobby-menue--hauptmenue.ist-bereit .menue-knopf {
		display: inline-flex; align-items: center; justify-content: center;
		width: 44px; height: 44px; margin-right: -10px; padding: 0;
		border: 0; background: none; color: var(--green); cursor: pointer;
	}
	.menue-knopf-linien, .menue-knopf-linien::before, .menue-knopf-linien::after {
		display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px;
		transition: transform .2s ease, background-color .2s ease;
	}
	.menue-knopf-linien { position: relative; }
	.menue-knopf-linien::before, .menue-knopf-linien::after { content: ""; position: absolute; left: 0; }
	.menue-knopf-linien::before { top: -7px; }
	.menue-knopf-linien::after { top: 7px; }
	.ist-offen .menue-knopf-linien { background: transparent; }
	.ist-offen .menue-knopf-linien::before { transform: translateY(7px) rotate(45deg); }
	.ist-offen .menue-knopf-linien::after { transform: translateY(-7px) rotate(-45deg); }
	.mobby-menue--hauptmenue.ist-bereit .menue-liste {
		display: none; position: absolute; top: 100%; left: 0; right: 0;
		flex-direction: column; gap: 0; padding: 8px clamp(18px, 5vw, 72px) 16px;
		background: #fbfcfa; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(27, 40, 36, .08);
	}
	.mobby-menue--hauptmenue.ist-offen .menue-liste { display: flex; }
	.mobby-menue--hauptmenue.ist-bereit .menue-liste a { padding: 12px 0; font-size: 1rem; border-bottom: 1px solid var(--line); }
	.mobby-menue--hauptmenue.ist-bereit .menue-liste a:last-child { border-bottom: 0; }
	.site-header .logo { gap: 10px; }
	.site-header .logo .wp-block-site-title { font-size: 1.7rem; }
	.site-header .logo .wp-block-site-tagline { max-width: none; padding-left: 10px; }
	.mobby-menue--hauptmenue:not(.ist-bereit) .menue-liste { flex-direction: column; gap: 2px; text-align: right; }
	.hero { padding-top: 58px; }
	.hero h1 { font-size: clamp(2.7rem, 12vw, 4.1rem); }
	.facts { grid-template-columns: 1fr; }
	.facts > .wp-block-group { min-height: 105px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
	.event { grid-template-columns: 1fr; gap: 18px; }
	.event-date time { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 10px; }
	.event-action { justify-self: start; text-align: left; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
	.event-price { margin: 0; }
	.team { grid-template-columns: 1fr; }
	.team .team-image img { aspect-ratio: 16 / 11; }
	.faq-item { grid-template-columns: 1fr; gap: 16px; }
	.team-profile { grid-template-columns: 1fr; }
	.team-profile img { max-width: 220px; }
	.site-footer { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
	.site-header:not(:has(.ist-bereit)) { flex-direction: column; align-items: stretch; gap: 18px; }
	.mobby-menue--hauptmenue:not(.ist-bereit) .menue-liste { width: 100%; flex-direction: row; flex-wrap: wrap; gap: 8px 18px; text-align: left; }
	.section h2 { font-size: clamp(2.1rem, 11vw, 2.5rem); }
	.team-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; }
}
