/* ==========================================================================
   Zweirad Brade – Design-System
   60 % neutral (Papier/Weiß, dunkle Schrift) · 30 % Graphit (Flächen, Kopf, Fuß) · 10 % Brade-Rot (Handlungen)
   ========================================================================== */

@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(../fonts/barlow-condensed-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(../fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url(../fonts/barlow-condensed-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-latin-wght-normal.woff2) format("woff2"); }

:root {
	/* Farbe */
	--rot: #de0000;
	--rot-tief: #b10000;
	--rot-zart: #fdeceb;
	--graphit: #1c1d21;
	--graphit-2: #26282e;
	--graphit-3: #34363d;
	--auf-graphit: #f3f2ee;
	--auf-graphit-leise: #b6b8be;
	--papier: #f6f4ef;
	--flaeche: #ffffff;
	--text: #17181b;
	--text-leise: #50545c;
	--linie: #e3e0d8;
	--fokus: #0a58ff;

	/* Schrift */
	--f-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
	--f-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--t-xs: .8125rem;
	--t-s: .9375rem;
	--t-m: 1.0625rem;
	--t-l: clamp(1.125rem, 1rem + .4vw, 1.3125rem);
	--t-h4: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
	--t-h3: clamp(1.5rem, 1.25rem + 1vw, 2rem);
	--t-h2: clamp(2.125rem, 1.6rem + 2.2vw, 3.5rem);
	--t-h1: clamp(2.75rem, 1.8rem + 4.4vw, 5.75rem);
	--t-mega: clamp(3.5rem, 2rem + 7.5vw, 9rem);

	/* Raum */
	--s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem;
	--sektion: clamp(4rem, 2.5rem + 6vw, 8rem);
	--container: 1280px;
	--rand: 24px;
	--lese: 760px;

	/* Form */
	--r-s: 4px;
	--r-m: 8px;
	--r-l: 14px;
	--schatten: 0 1px 2px rgb(20 20 25 / .06), 0 8px 24px -8px rgb(20 20 25 / .14);
	--schatten-hoch: 0 2px 4px rgb(20 20 25 / .06), 0 22px 44px -16px rgb(20 20 25 / .28);
	--kopf-h: 76px;
	--weich: cubic-bezier(.2, .7, .2, 1);
	color-scheme: light;
}
@media (min-width: 768px) { :root { --rand: 32px; } }

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--papier); color: var(--text); font: 400 var(--t-m)/1.65 var(--f-text); font-feature-settings: "cv11", "ss01"; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--rot); }
:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--rot); color: #fff; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 800; line-height: 1; letter-spacing: -.005em; text-transform: uppercase; margin: 0 0 var(--s-4); text-wrap: balance; }
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); font-weight: 700; }
h4 { font-size: var(--t-h4); font-weight: 700; }
p { margin: 0 0 var(--s-4); text-wrap: pretty; }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke-width: 2; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: var(--rand); top: -100px; z-index: 100; background: var(--rot); color: #fff; padding: var(--s-3) var(--s-4); border-radius: var(--r-m); }
.sprung:focus { top: 12px; color: #fff; }

.huelle { width: 100%; max-width: calc(var(--container) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); }
.lese { max-width: var(--lese); }
.sektion { padding-block: var(--sektion); }
.sektion--weiss { background: var(--flaeche); }
.sektion--dunkel { background: var(--graphit); color: var(--auf-graphit); }
.sektion--dunkel a:hover { color: #fff; }
.sektion__kopf { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-5); margin-bottom: var(--s-7); }
.sektion__kopf h2 { margin: 0; }
.sektion__kopf p { margin: 0; color: var(--text-leise); max-width: 46ch; font-size: var(--t-l); }
.sektion--dunkel .sektion__kopf p { color: var(--auf-graphit-leise); }
.strich { display: inline-block; width: 56px; height: 4px; background: var(--rot); border-radius: 2px; margin-bottom: var(--s-4); }

/* ---------- Knöpfe ---------- */
.knopf, .wp-block-button__link, .wp-element-button { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .8em 1.35em; border-radius: var(--r-m); border: 2px solid transparent; font: 700 1.0625rem/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .2s var(--weich), background-color .2s, border-color .2s, color .2s; }
.knopf:hover { transform: translateY(-1px); }
.knopf--rot, .wp-block-button__link, .wp-element-button { background: var(--rot); color: #fff; }
.knopf--rot:hover, .wp-block-button__link:hover { background: var(--rot-tief); color: #fff; }
.knopf--hell { background: #fff; color: var(--graphit); }
.knopf--hell:hover { background: var(--papier); color: var(--graphit); }
.knopf--rand { border-color: currentColor; color: inherit; background: transparent; }
.knopf--rand:hover { color: var(--rot); }
.is-style-outline .wp-block-button__link { background: transparent; border-color: currentColor; color: inherit; }
.knopf .icon { width: 1.15em; height: 1.15em; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.textlink { display: inline-flex; align-items: center; gap: .4em; font: 700 1rem/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--rot); }
.textlink .icon { transition: transform .2s var(--weich); }
.textlink:hover .icon { transform: translateX(3px); }

/* ---------- Kopf ---------- */
.leiste { background: var(--flaeche); color: var(--text-leise); font-size: var(--t-xs); border-bottom: 1px solid var(--linie); }
.leiste .huelle { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 38px; }
.leiste a { color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: .4em; font-weight: 500; }
.leiste a:hover { color: var(--rot); }
.leiste__rechts { display: flex; align-items: center; gap: var(--s-5); }
.leiste .icon { width: 15px; height: 15px; color: var(--rot); }
@media (max-width: 640px) { .leiste__links { display: none; } .leiste .huelle { justify-content: center; } }

.status { display: inline-flex; align-items: center; gap: .5em; color: var(--text); }
.status__punkt { width: 8px; height: 8px; border-radius: 50%; background: #8a8d94; box-shadow: 0 0 0 3px rgb(138 141 148 / .25); }
.status.ist-offen .status__punkt { background: #2fbf5b; box-shadow: 0 0 0 3px rgb(47 191 91 / .25); }
.status.ist-zu .status__punkt { background: var(--rot); box-shadow: 0 0 0 3px rgb(222 0 0 / .25); }

.kopf { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--flaeche) 88%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--linie); }
.kopf .huelle { display: flex; align-items: center; gap: var(--s-5); height: var(--kopf-h); }
.marke { display: flex; align-items: center; gap: var(--s-3); text-decoration: none; color: var(--text); margin-right: auto; }
.marke img { width: 54px; height: 54px; }
.marke__name { font: 800 1.6rem/.9 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
.marke__name small { display: block; font: 600 .78rem/1.2 var(--f-display); letter-spacing: .14em; color: var(--text-leise); margin-top: 3px; }
.marke:hover { color: var(--text); }

.nav > ul { display: flex; align-items: center; gap: var(--s-1); list-style: none; margin: 0; padding: 0; }
.nav a, .nav button { display: flex; align-items: center; gap: .3em; padding: .6em .8em; border: 0; background: none; color: var(--text); font: 700 1.0625rem/1 var(--f-display); letter-spacing: .07em; text-transform: uppercase; text-decoration: none; border-radius: var(--r-s); cursor: pointer; }
.nav a:hover, .nav button:hover, .nav .ist-aktiv > a { color: var(--rot); }
.nav .ist-aktiv > a { box-shadow: inset 0 -3px 0 var(--rot); border-radius: 0; }
.nav li { position: relative; }
.nav > ul > li { display: flex; align-items: center; }
.nav .nav__auf { padding: .6em .2em; margin-left: -.5em; }
.nav .untermenue { position: absolute; top: 100%; left: -8px; min-width: 260px; list-style: none; margin: 0; padding: var(--s-2); background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-l); box-shadow: var(--schatten-hoch); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s var(--weich), visibility .18s; }
.nav li:hover > .untermenue, .nav li:focus-within > .untermenue, .nav li.ist-offen > .untermenue { opacity: 1; visibility: visible; transform: none; }
.nav .untermenue a { font: 500 var(--t-s)/1.3 var(--f-text); letter-spacing: 0; text-transform: none; padding: .7em .85em; border-radius: var(--r-m); box-shadow: none; }
.nav .untermenue a:hover { background: var(--papier); }
.nav .icon { width: 16px; height: 16px; transition: transform .2s; }
.nav li:hover > button .icon, .nav li.ist-offen > button .icon { transform: rotate(180deg); }
.kopf__anruf { display: none; }
@media (min-width: 1100px) { .kopf__anruf { display: inline-flex; min-height: 44px; } }
.menueknopf { display: none; width: 48px; height: 48px; border: 0; border-radius: var(--r-m); background: var(--papier); color: var(--text); align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 1023px) {
	.menueknopf { display: inline-flex; }
	.nav { position: fixed; inset: var(--kopf-h) 0 0; background: var(--flaeche); padding: var(--s-5) var(--rand) calc(var(--s-9) + env(safe-area-inset-bottom)); overflow-y: auto; transform: translateX(100%); transition: transform .28s var(--weich); visibility: hidden; }
	.nav.ist-offen { transform: none; visibility: visible; }
	.nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
	.nav > ul > li { border-bottom: 1px solid var(--linie); }
	.nav > ul > li { flex-wrap: wrap; }
	.nav a { flex: 1; font-size: 1.5rem; padding: .85em 0; }
	.nav .nav__auf { width: 48px; height: 48px; justify-content: center; margin: 0; }
	.nav .untermenue { flex-basis: 100%; }
	.nav .ist-aktiv > a { box-shadow: none; }
	.nav .untermenue { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 var(--s-4); display: none; min-width: 0; background: transparent; }
	.nav li.ist-offen > .untermenue { display: block; }
	.nav .untermenue a { font-size: 1.0625rem; padding: .65em .25em; }
	body.menue-offen { overflow: hidden; }
}

/* ---------- Bühne (Startseite) – hell, Foto im Rahmen ---------- */
.buehne { position: relative; background: linear-gradient(180deg, var(--flaeche) 0%, var(--papier) 100%); overflow: hidden; }
.buehne .huelle { display: grid; gap: var(--s-7); align-items: center; padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) var(--s-8); }
@media (min-width: 960px) { .buehne .huelle { grid-template-columns: 1fr 1.08fr; } }
.buehne__bild { position: relative; order: -1; }
@media (min-width: 960px) { .buehne__bild { order: 0; } }
.buehne__bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 60% 50%; border-radius: var(--r-l); box-shadow: var(--schatten-hoch); }
@media (min-width: 960px) { .buehne__bild img { aspect-ratio: 5 / 4; } }
.buehne__bild::before { content: ""; position: absolute; right: -16px; top: -16px; width: 46%; height: 46%; border-top: 5px solid var(--rot); border-right: 5px solid var(--rot); border-radius: 0 var(--r-l) 0 0; }
.buehne__siegel { position: absolute; left: -18px; bottom: -22px; width: 112px; height: 112px; border-radius: 50%; background: #fff; box-shadow: var(--schatten-hoch); display: grid; place-items: center; }
.buehne__siegel img { width: 96px; height: 96px; aspect-ratio: auto; box-shadow: none; border-radius: 0; }
@media (prefers-reduced-motion: no-preference) { .buehne__bild img:not(.buehne__siegel img) { animation: einzoomen 1.4s var(--weich) both; } }
@keyframes einzoomen { from { transform: scale(1.03); } to { transform: none; } }
.buehne h1 { font-size: var(--t-mega); line-height: .86; margin: 0 0 var(--s-5); color: var(--text); }
.buehne h1 span { display: block; color: var(--rot); }
.buehne h1 small { display: block; font-size: clamp(1.25rem, .9rem + 1.4vw, 2rem); line-height: 1.1; letter-spacing: .04em; color: var(--text-leise); margin-top: var(--s-4); font-weight: 700; }
.buehne__text { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-style: italic; max-width: 26ch; margin-bottom: var(--s-6); color: var(--text); }
.buehne .knopf--hell { border-color: var(--linie); }
.buehne__fakten { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--s-4); margin-top: var(--s-4); }
.buehne__fakten div { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-l); padding: var(--s-5); border-top: 3px solid var(--rot); }
.buehne__fakten strong { display: block; font: 800 clamp(1.75rem, 1.3rem + 1.5vw, 2.25rem)/1 var(--f-display); text-transform: uppercase; margin-bottom: 4px; }
.buehne__fakten span { font-size: var(--t-s); color: var(--text-leise); }

/* ---------- Seitenkopf (Unterseiten) – hell ---------- */
.seitenkopf { background: linear-gradient(180deg, var(--flaeche) 0%, var(--papier) 100%); color: var(--text); border-bottom: 1px solid var(--linie); }
.seitenkopf .huelle { display: grid; gap: var(--s-6); align-items: center; padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
@media (min-width: 900px) { .seitenkopf--bild .huelle { grid-template-columns: 1.1fr 1fr; } }
.seitenkopf__bild { position: relative; }
@media (min-width: 900px) { .seitenkopf__bild { order: 2; } }
.seitenkopf__bild img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-l); box-shadow: var(--schatten-hoch); }
.seitenkopf__bild::before { content: ""; position: absolute; right: -12px; top: -12px; width: 40%; height: 40%; border-top: 4px solid var(--rot); border-right: 4px solid var(--rot); border-radius: 0 var(--r-l) 0 0; }
.seitenkopf h1 { margin: 0; }
.seitenkopf h1::before { content: ""; display: block; width: 56px; height: 4px; background: var(--rot); border-radius: 2px; margin-bottom: var(--s-5); }
.seitenkopf__unter { font-size: var(--t-l); color: var(--text-leise); max-width: 60ch; margin: var(--s-4) 0 0; }
.krumen { display: flex; flex-wrap: wrap; gap: .4em; list-style: none; margin: 0 0 var(--s-5); padding: 0; font-size: var(--t-xs); letter-spacing: .04em; color: var(--text-leise); }
.krumen a { color: inherit; text-decoration: none; }
.krumen a:hover { color: var(--rot); text-decoration: underline; }
.krumen li + li::before { content: "/"; margin-right: .4em; opacity: .5; }
.seitenkopf__meta { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-4); font-size: var(--t-s); color: var(--text-leise); }

/* ---------- Leistungs-Kacheln ---------- */
.kacheln { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.kachel { position: relative; display: flex; flex-direction: column; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-l); overflow: hidden; text-decoration: none; color: var(--text); transition: transform .25s var(--weich), box-shadow .25s var(--weich), border-color .25s; }
.kachel:hover { transform: translateY(-4px); box-shadow: var(--schatten-hoch); border-color: transparent; color: var(--text); }
.kachel__bild { aspect-ratio: 3 / 2; overflow: hidden; background: var(--graphit-3); }
.kachel__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--weich); }
.kachel:hover .kachel__bild img { transform: scale(1.05); }
.kachel__text { display: flex; flex-direction: column; flex: 1; padding: var(--s-5) var(--s-5) var(--s-6); }
.kachel h3 { font-size: 1.875rem; margin-bottom: var(--s-2); }
.kachel p { color: var(--text-leise); margin-bottom: var(--s-5); font-size: var(--t-s); }
.kachel .textlink { margin-top: auto; }
.kachel__marke { position: absolute; top: var(--s-4); left: var(--s-4); background: var(--rot); color: #fff; font: 700 .8125rem/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase; padding: .45em .7em; border-radius: var(--r-s); }
.kachel h3 a { text-decoration: none; }
.kachel h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* Leistungen kompakt (Liste mit Symbol) */
.leistungsliste { display: grid; gap: 1px; background: var(--linie); border: 1px solid var(--linie); border-radius: var(--r-l); overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.leistungsliste a { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-4); align-items: start; padding: var(--s-5); background: var(--flaeche); text-decoration: none; color: var(--text); }
.leistungsliste a:hover { background: var(--papier); color: var(--text); }
.leistungsliste .symbol { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-m); background: var(--rot-zart); color: var(--rot); }
.leistungsliste strong { display: block; font: 700 1.375rem/1.1 var(--f-display); text-transform: uppercase; margin-bottom: 4px; }
.leistungsliste span { font-size: var(--t-s); color: var(--text-leise); }
.leistungsliste .icon--pfeil { color: var(--rot); margin-top: 4px; }

/* ---------- Geteilte Abschnitte (Bild/Text) ---------- */
.teiler { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
@media (min-width: 900px) { .teiler { grid-template-columns: 1fr 1fr; } .teiler--umgekehrt > :first-child { order: 2; } }
.teiler__bild { position: relative; }
.teiler__bild img { width: 100%; border-radius: var(--r-l); aspect-ratio: 4 / 3; object-fit: cover; }
.teiler__bild::after { content: ""; position: absolute; left: -14px; bottom: -14px; width: 42%; height: 42%; border-left: 4px solid var(--rot); border-bottom: 4px solid var(--rot); border-radius: 0 0 0 var(--r-l); z-index: -1; }
.teiler__text p { font-size: var(--t-l); }
.unterschrift { font: 700 1.5rem/1.2 var(--f-display); text-transform: uppercase; letter-spacing: .02em; }
.unterschrift small { display: block; font: 400 var(--t-s)/1.4 var(--f-text); text-transform: none; color: var(--text-leise); }

/* ---------- Simson-Band ---------- */
.simson { position: relative; overflow: hidden; }
.simson__raster { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 900px) { .simson__raster { grid-template-columns: 1.05fr 1fr; } }
.simson__bilder { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s-4); }
.simson__bilder img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-l); aspect-ratio: 4 / 5; }
.simson__bilder img:last-child { margin-top: var(--s-8); }
.simson h2 span { color: var(--rot); }
.simson ul { list-style: none; padding: 0; margin: var(--s-5) 0 var(--s-6); display: grid; gap: var(--s-3); }
.simson li { display: flex; gap: var(--s-3); align-items: start; }
.simson li .icon { color: var(--rot); margin-top: 3px; }
.simson__gross { position: absolute; right: -2vw; bottom: -4vw; font: 800 22vw/.8 var(--f-display); color: rgb(255 255 255 / .03); pointer-events: none; text-transform: uppercase; z-index: 0; }
.simson .huelle { position: relative; z-index: 1; }

/* ---------- Beiträge ---------- */
.beitraege { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.beitrag { position: relative; display: flex; flex-direction: column; background: var(--flaeche); border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--linie); transition: box-shadow .25s, transform .25s var(--weich); }
.beitrag:hover { box-shadow: var(--schatten-hoch); transform: translateY(-3px); }
.beitrag__bild { aspect-ratio: 16 / 10; background: var(--graphit-3); overflow: hidden; }
.beitrag__bild img { width: 100%; height: 100%; object-fit: cover; }
.beitrag__bild--freigestellt img { object-fit: contain; background: #fff; padding: var(--s-4); }
.beitrag__text { padding: var(--s-5); display: flex; flex-direction: column; flex: 1; }
.beitrag__meta { font-size: var(--t-xs); color: var(--text-leise); letter-spacing: .04em; text-transform: uppercase; margin-bottom: var(--s-2); display: flex; gap: var(--s-3); }
.beitrag__meta .marke-angebot { color: var(--rot); font-weight: 600; }
.beitrag h3 { font-size: 1.625rem; line-height: 1.05; margin-bottom: var(--s-3); }
.beitrag h3 a { text-decoration: none; }
.beitrag h3 a::after { content: ""; position: absolute; inset: 0; }
.beitrag p { color: var(--text-leise); font-size: var(--t-s); }
.beitrag .textlink { margin-top: auto; }
.seitenwahl { display: flex; justify-content: center; gap: var(--s-2); margin-top: var(--s-7); }
.seitenwahl .page-numbers { min-width: 44px; min-height: 44px; display: grid; place-items: center; padding: 0 .8em; border-radius: var(--r-m); background: var(--flaeche); border: 1px solid var(--linie); text-decoration: none; font-weight: 600; }
.seitenwahl .current { background: var(--graphit); color: #fff; border-color: var(--graphit); }

/* ---------- Marken ---------- */
.marken { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3) var(--s-7); }
.marken span { font: 800 clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem)/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; color: var(--text-leise); opacity: .75; transition: color .2s, opacity .2s; }
.marken span:hover { color: var(--text); opacity: 1; }

/* ---------- Besuch / Kontakt ---------- */
.besuch { display: grid; gap: var(--s-6); }
@media (min-width: 960px) { .besuch { grid-template-columns: 1fr 1.25fr; align-items: stretch; } }
.besuch__karte { position: relative; display: block; border-radius: var(--r-l); overflow: hidden; min-height: 320px; background: var(--graphit-3); }
.besuch__karte img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.besuch__karte figcaption { position: absolute; left: var(--s-4); bottom: var(--s-4); right: var(--s-4); display: flex; justify-content: space-between; gap: var(--s-3); align-items: end; }
.besuch__karte .knopf { box-shadow: var(--schatten); }
.besuch__karte small { background: rgb(255 255 255 / .9); color: #333; font-size: 11px; padding: 2px 6px; border-radius: 3px; }
.infokarte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-l); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.infokarte dl { margin: 0; display: grid; gap: var(--s-5); }
.infokarte dt { display: flex; align-items: center; gap: var(--s-2); font: 700 .9375rem/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: var(--text-leise); margin-bottom: var(--s-2); }
.infokarte dt .icon { color: var(--rot); width: 18px; height: 18px; }
.infokarte dd { margin: 0; font-size: var(--t-l); }
.infokarte dd a { text-decoration: none; font-weight: 600; }
.zeiten { width: 100%; border-collapse: collapse; font-size: var(--t-m); }
.zeiten td { padding: .35em 0; border-bottom: 1px dashed var(--linie); }
.zeiten td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.zeiten tr.ist-heute td { font-weight: 700; color: var(--text); }
.zeiten__hinweis { font-size: var(--t-s); color: var(--text-leise); margin: var(--s-3) 0 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--s-3); }
.faq details, .wp-block-details { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r-l); padding: 0 var(--s-5); }
.faq summary, .wp-block-details summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: var(--s-5) 0; font: 700 1.375rem/1.15 var(--f-display); text-transform: uppercase; }
.faq summary::-webkit-details-marker, .wp-block-details summary::-webkit-details-marker { display: none; }
.faq summary::after, .wp-block-details summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--rot-zart); color: var(--rot); font: 600 1.4rem/1 var(--f-text); transition: transform .2s; }
.faq details[open] summary::after, .wp-block-details[open] summary::after { transform: rotate(45deg); }
.faq details > :not(summary), .wp-block-details > :not(summary) { margin-top: 0; padding-bottom: var(--s-5); color: var(--text-leise); }

/* ---------- Aufruf „Interesse geweckt?“ ---------- */
.aufruf { background: var(--papier); padding-block: var(--s-8); }
.aufruf .huelle > div { }
.aufruf__karte { display: grid; gap: var(--s-5); align-items: center; background: var(--graphit); color: var(--auf-graphit); border-radius: var(--r-l); padding: clamp(2rem, 1.5rem + 3vw, 3.5rem); position: relative; overflow: hidden; }
.aufruf__karte::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--rot); }
@media (min-width: 900px) { .aufruf__karte { grid-template-columns: 1fr auto; } }
.aufruf h2 { margin: 0 0 var(--s-2); color: #fff; }
.aufruf p { margin: 0; font-size: var(--t-l); color: var(--auf-graphit-leise); }
.aufruf .knopf--rand { color: #fff; }
.aufruf .knopf--rand:hover { color: #fff; background: rgb(255 255 255 / .1); }

/* ---------- Inhalt (Block-Editor) ---------- */
.inhalt { font-size: var(--t-m); }
.inhalt > * { max-width: var(--lese); margin-inline: auto; }
.inhalt > .alignwide, .inhalt > .wp-block-columns, .inhalt > .team, .inhalt > .zeitleiste, .inhalt > .wp-block-gallery { max-width: var(--container); }
.inhalt > .alignfull { max-width: none; }
.inhalt h2 { font-size: var(--t-h3); margin-top: var(--s-7); }
.inhalt h3 { font-size: var(--t-h4); margin-top: var(--s-6); }
.inhalt h2:first-child, .inhalt h3:first-child { margin-top: 0; }
.inhalt ul, .inhalt ol { padding-left: 1.25em; margin: 0 0 var(--s-5); }
.inhalt li { margin-bottom: var(--s-2); }
.inhalt li::marker { color: var(--rot); }
.inhalt a { color: var(--rot); }
.inhalt a:hover { color: var(--rot-tief); }
.inhalt img { border-radius: var(--r-m); }
.inhalt figure { margin: var(--s-6) auto; }
.inhalt figcaption { font-size: var(--t-xs); color: var(--text-leise); margin-top: var(--s-2); }
.inhalt blockquote, .inhalt .tipp { border-left: 4px solid var(--rot); background: var(--flaeche); padding: var(--s-5) var(--s-6); border-radius: 0 var(--r-m) var(--r-m) 0; margin: var(--s-6) auto; font: 700 var(--t-h4)/1.2 var(--f-display); text-transform: uppercase; }
.inhalt blockquote p { margin: 0; }
.inhalt .einleitung, .inhalt > p.has-gross-font-size { font-size: var(--t-l); color: var(--text); }
.inhalt table { width: 100%; border-collapse: collapse; font-size: var(--t-s); }
.inhalt td, .inhalt th { border-bottom: 1px solid var(--linie); padding: .55em .5em; text-align: left; vertical-align: top; }
.inhalt tr td:first-child { font-weight: 600; white-space: nowrap; width: 40%; }
.inhalt .wp-block-columns { display: flex; flex-wrap: wrap; gap: var(--s-6); margin-block: var(--s-6); }
.inhalt .wp-block-column { flex: 1 1 260px; min-width: 0; }
.inhalt .wp-block-buttons { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-block: var(--s-5); }
.inhalt .wp-block-video video { border-radius: var(--r-m); width: 100%; }
.inhalt hr { border: 0; height: 1px; background: var(--linie); margin: var(--s-7) auto; }
.linkliste { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.linkliste li { margin: 0; }
.linkliste a { display: inline-flex; align-items: center; gap: .35em; padding: .5em .85em; border: 1px solid var(--linie); border-radius: 999px; background: var(--flaeche); color: var(--text) !important; text-decoration: none; font-size: var(--t-s); font-weight: 500; }
.linkliste a:hover { border-color: var(--rot); color: var(--rot) !important; }

/* Team & Zeitleiste (Über uns) */
.team { display: grid !important; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); margin-block: var(--s-6) !important; }
.team figure, .team .wp-block-image { margin: 0 !important; }
.team img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: var(--r-l) !important; }
.team figcaption { margin-top: var(--s-3) !important; font-size: var(--t-s) !important; text-align: left; color: var(--text-leise); }
.team figcaption strong { display: block; font: 700 1.5rem/1.1 var(--f-display); text-transform: uppercase; color: var(--text); }
.zeitleiste { position: relative; margin-block: var(--s-6) !important; padding-left: 0 !important; display: grid; gap: var(--s-6); }
.zeitleiste > .wp-block-group, .zeitleiste > div { position: relative; display: grid; gap: var(--s-5); grid-template-columns: 1fr; padding-left: var(--s-7); }
@media (min-width: 800px) { .zeitleiste > .wp-block-group, .zeitleiste > div { grid-template-columns: 220px 1fr; } }
.zeitleiste > div::before { content: ""; position: absolute; left: 9px; top: 10px; bottom: calc(-1 * var(--s-6)); width: 2px; background: var(--linie); }
.zeitleiste > div:last-child::before { bottom: 0; }
.zeitleiste > div::after { content: ""; position: absolute; left: 2px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--rot); box-shadow: 0 0 0 5px var(--papier); }
.zeitleiste figure { margin: 0 !important; }
.zeitleiste img { border-radius: var(--r-m); aspect-ratio: 3 / 2; object-fit: cover; filter: grayscale(.2) sepia(.15); }
.zeitleiste h3 { margin-top: 0 !important; }

/* Galerie */
.inhalt .wp-block-gallery { display: grid !important; gap: var(--s-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); }
.inhalt .wp-block-gallery figure { margin: 0 !important; width: auto !important; }
.inhalt .wp-block-gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; height: 100% !important; }

/* Artikel */
.artikel { display: grid; gap: var(--s-7); }
@media (min-width: 1100px) { .artikel { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } .artikel .inhalt > * { margin-inline: 0; } }
.seitenleiste { display: grid; gap: var(--s-5); position: sticky; top: calc(var(--kopf-h) + 24px); }
.seitenleiste .infokarte h2 { font-size: 1.75rem; }

/* ---------- Formular ---------- */
.formular { display: grid; gap: var(--s-4); }
.formular__reihe { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .formular__reihe { grid-template-columns: 1fr 1fr; } }
.feld label { display: block; font-weight: 600; font-size: var(--t-s); margin-bottom: var(--s-2); }
.feld input, .feld select, .feld textarea { width: 100%; min-height: 50px; padding: .75em .9em; border: 1.5px solid var(--linie); border-radius: var(--r-m); background: var(--flaeche); color: var(--text); font: inherit; transition: border-color .2s, box-shadow .2s; }
.feld textarea { min-height: 140px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 4px color-mix(in srgb, var(--rot) 18%, transparent); }
.formular__falle { position: absolute; left: -9999px; }
.formular__klein { font-size: var(--t-xs); color: var(--text-leise); margin: 0; }
.formular .knopf { justify-self: start; }
.hinweis { padding: var(--s-4) var(--s-5); border-radius: var(--r-m); margin-bottom: var(--s-4); }
.hinweis--ok { background: #e7f6ec; color: #11542a; }
.hinweis--fehler { background: var(--rot-zart); color: var(--rot-tief); }

/* ---------- Fuß ---------- */
.fuss { background: var(--graphit); color: var(--auf-graphit-leise); font-size: var(--t-s); padding-block: var(--s-8) var(--s-5); }
.fuss a { color: var(--auf-graphit); text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss__raster { display: grid; gap: var(--s-7); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-bottom: var(--s-7); border-bottom: 1px solid var(--graphit-3); }
.fuss h2 { font-size: 1.125rem; letter-spacing: .12em; color: #fff; margin-bottom: var(--s-4); }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.fuss__marke img { width: 96px; height: 96px; margin-bottom: var(--s-4); }
.fuss address { font-style: normal; display: grid; gap: var(--s-2); }
.fuss__unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-4); padding-top: var(--s-5); font-size: var(--t-xs); }
.fuss .zeiten td { border-color: var(--graphit-3); color: var(--auf-graphit-leise); }
.fuss .zeiten tr.ist-heute td { color: #fff; }

/* Aktionsleiste mobil */
.aktionsleiste { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--graphit); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -8px 24px rgb(0 0 0 / .18); }
.aktionsleiste a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px 9px; color: #fff; text-decoration: none; font: 700 .8125rem/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase; }
.aktionsleiste a:first-child { background: var(--rot); }
.aktionsleiste .icon { width: 20px; height: 20px; }
@media (min-width: 1024px) { .aktionsleiste { display: none; } }
@media (max-width: 1023px) { body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); } }

/* Einblenden beim Scrollen */
@media (prefers-reduced-motion: no-preference) {
	.js .einblenden { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--weich), transform .7s var(--weich); }
	.js .einblenden.ist-sichtbar { opacity: 1; transform: none; }
}

/* 404 / Suche */
.leer { text-align: center; padding-block: var(--s-9); }
.leer .gross { font: 800 clamp(6rem, 4rem + 10vw, 14rem)/.8 var(--f-display); color: var(--rot); }
.suchfeld { display: flex; gap: var(--s-2); max-width: 520px; margin: var(--s-5) auto 0; }
.suchfeld input { flex: 1; min-height: 50px; padding: 0 1em; border: 1.5px solid var(--linie); border-radius: var(--r-m); font: inherit; background: var(--flaeche); color: var(--text); }

@media print { .kopf, .leiste, .fuss, .aktionsleiste, .aufruf { display: none !important; } body { background: #fff; } }

/* Nachbesserungen nach Sichtprüfung */
.fuss__marke img { background: #fff; border-radius: 50%; padding: 6px; }
.fuss address a { display: inline-flex; align-items: center; gap: .3em; }
.fuss address .icon { width: 14px; height: 14px; }
.fuss .zeiten__hinweis { color: var(--auf-graphit-leise); }
.team { grid-template-columns: repeat(2, 1fr) !important; }
@media (min-width: 800px) { .team { grid-template-columns: repeat(3, 1fr) !important; } }
@media (min-width: 800px) {
	.zeitleiste > div { grid-template-columns: 260px 1fr !important; grid-template-rows: auto 1fr; column-gap: var(--s-6); row-gap: var(--s-2) !important; }
	.zeitleiste > div > figure { grid-row: 1 / 3; }
	.zeitleiste > div > p { grid-column: 2; }
}
.zeitleiste > div > p { margin: 0; }

.artikel__bild { margin: 0 0 var(--s-6) !important; }
.artikel__bild img { width: 100%; border-radius: var(--r-l); max-height: 560px; object-fit: cover; }
.artikel__bild--frei img { object-fit: contain; background: #fff; padding: var(--s-5); }
.seitenkopf__meta span { display: inline-flex; align-items: center; gap: .4em; }
.seitenkopf__meta .icon { width: 16px; height: 16px; }
.inhalt .wp-block-gallery img { aspect-ratio: 4 / 3; object-fit: contain; background: #fff; }
.inhalt .wp-block-gallery figure { border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--linie); }
.leiste a, .status { white-space: nowrap; }
@media (max-width: 640px) {
	.leiste__rechts > a { display: none; } /* Telefon steht mobil in der Aktionsleiste unten */
	.buehne__fakten { grid-template-columns: 1fr 1fr; gap: var(--s-3); }
	.buehne__fakten div { padding: var(--s-4); }
	.buehne__fakten strong { font-size: 1.5rem; }
	.buehne .knopfreihe .knopf { flex: 1 1 100%; }
	.marke__name { font-size: 1.35rem; }
	.marke img { width: 46px; height: 46px; }
}
/* Glas-Effekt auf eigener Ebene, damit das fixierte Mobilmenü nicht im Kopf eingesperrt wird */
.kopf { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.kopf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--flaeche) 88%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); }
.kopf { isolation: isolate; }
@media (max-width: 1023px) { .nav { z-index: 60; } body.menue-offen .aktionsleiste { display: none; } }
/* Palettenfarben aus theme.json (global-styles ist im Frontend abgeschaltet) */
.has-rot-color { color: var(--rot) !important; } .has-rot-background-color { background-color: var(--rot) !important; color: #fff; }
.has-graphit-color { color: var(--graphit) !important; } .has-graphit-background-color { background-color: var(--graphit) !important; color: var(--auf-graphit); }
.has-papier-background-color { background-color: var(--papier) !important; } .has-weiss-background-color { background-color: var(--flaeche) !important; }
.has-klein-font-size { font-size: var(--t-s) !important; } .has-gross-font-size { font-size: var(--t-l) !important; }
.leistungsliste { gap: 0; background: var(--flaeche); }
.leistungsliste a { border-right: 1px solid var(--linie); border-bottom: 1px solid var(--linie); margin: 0 -1px -1px 0; }
