/* ==========================================================================
   ZiB Shopping – Theme-Stile
   Farben aus dem bisherigen Auftritt (p8blocks/variables.scss): Grün #86BC22,
   Türkis #14B0BF, Dunkelblau #252A33, Gelb #FFC20D.
   Formensprache (Matthias 23.10.2026, mit Codex abgestimmt): kantig (Radien 2–4 px), klare kurze Schatten,
   Kontur statt Weichzeichner. Auf Grün und Türkis steht dunkelblaue Schrift (Weiß hätte nur 2,3:1 bzw. 2,6:1).
   ========================================================================== */

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--green: #86bc22;
	--green-dark: #567916;      /* Text/Links in Grün: 5,1:1 auf Weiß, 4,6:1 auf --tint */
	--green-soft: #eef6e1;
	--teal: #14b0bf;
	--teal-dark: #0b7c87;
	--navy: #252a33;
	--navy-2: #303641;
	--yellow: #ffc20d;
	--ink: #1c1f24;
	--text: #3b4048;
	--muted: #6a707a;
	--line: #e1e4e8;
	--line-strong: #c9ced5;
	--field-border: #878e98;    /* Rahmen von Eingabefeldern: 3,3:1 auf Weiß (WCAG 1.4.11) */
	--tint: #f4f5f7;
	--white: #fff;
	--danger: #c62828;

	--radius-xs: 2px;   /* Badges */
	--radius-s: 3px;    /* Buttons, Felder, Reiter, Pfeile */
	--radius: 4px;      /* Karten, Kästen, Bilder */
	--radius-l: 4px;
	--shadow-s: 0 2px 0 rgba(37, 42, 51, .07);
	--shadow: 0 3px 6px rgba(37, 42, 51, .12);
	--shadow-l: 0 6px 12px rgba(37, 42, 51, .18);

	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(40px, 6vw, 72px);
	--header-h: 132px;
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
.site-main { flex: 1 0 auto; } /* Fußbereich bei kurzen Seiten am unteren Rand */
body.no-scroll { overflow: hidden; }
[hidden] { display: none !important; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--green-dark); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.015em; overflow-wrap: break-word; }
h1, .h1 { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -.02em; }
h2, .h2 { font-size: clamp(24px, 2.8vw, 34px); }
h3, .h3 { font-size: clamp(19px, 1.8vw, 22px); }
h4, .h4 { font-size: 18px; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
/* Fokusrahmen: dunkles Türkis auf hellen Flächen (4,9:1), helles Türkis auf Dunkelblau (5,5:1) – WCAG 1.4.11 */
:focus-visible { outline: 3px solid var(--teal-dark); outline-offset: 2px; border-radius: var(--radius-xs); }
:is(.hero, .site-footer, .embed) :focus-visible, .skip-link:focus-visible { outline-color: var(--teal); }

.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; float: none !important; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-s); }
.skip-link:focus { top: 12px; color: #fff; }
.center { text-align: center; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(880px + 2 * var(--gutter)); }
.section { padding-block: var(--section); background: var(--block-bg, transparent); }
.section--tint { background: var(--tint); }
.section-title { text-align: center; margin-bottom: .8em; }

/* ---------- Buttons & Links ---------- */
.btn {
	display: inline-flex; align-items: center; gap: .5em;
	padding: .75em 1.4em; border-radius: var(--radius-s);
	border: 2px solid var(--green); color: var(--green-dark) !important; background: transparent;
	font-weight: 700; font-size: 15px; line-height: 1.2; cursor: pointer;
	transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { background: var(--green); color: var(--navy) !important; }
.btn--solid { background: var(--green); color: var(--navy) !important; }
.btn--solid:hover { background: var(--navy); border-color: var(--navy); color: #fff !important; }
.btn--ghost { border-color: var(--line-strong); color: var(--ink) !important; }
.btn--ghost:hover { border-color: var(--green); background: var(--green-soft); color: var(--ink) !important; }
.btn--small { padding: .5em 1em; font-size: 14px; }
.btn .icon { width: 1em; height: 1em; }
.btn[disabled] { opacity: .6; cursor: progress; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* Pfeil- und Anhalten-Knöpfe (auf Dunkelblau; .logos__btn ist die helle Variante) */
.slider-btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: var(--radius-s);
	border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; cursor: pointer;
	transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.slider-btn:hover { background: #fff; border-color: #fff; color: var(--navy); }
.slider-btn .icon { width: 20px; height: 20px; }
.slider-btn--toggle .icon-when-paused,
.slider-btn--toggle.is-paused .icon-when-running { display: none; }
.slider-btn--toggle.is-paused .icon-when-paused { display: block; }

.badge {
	display: inline-block; padding: .3em .7em; border-radius: var(--radius-xs);
	font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3;
	background: var(--green); color: var(--navy);
}
.badge--news { background: var(--teal); color: var(--navy); }
.badge--event { background: var(--yellow); color: var(--ink); }
.badge--gewinnspiel { background: var(--navy); color: #fff; }

/* ---------- Kopfbereich ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97);
	backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px);
	border-bottom: 1px solid var(--line);
	transition: box-shadow .25s var(--ease);
}
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
.site-header.is-scrolled { box-shadow: 0 2px 6px rgba(37, 42, 51, .08); }

.topbar { border-bottom: 1px solid var(--line); font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar__group { display: flex; gap: 20px; }
.topbar__link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 500; }
.topbar__link:hover { color: var(--green-dark); }
.topbar__link .icon { width: 16px; height: 16px; color: var(--green); }

.masthead__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 92px; gap: 24px; }
.brand { display: block; justify-self: center; }
.brand img { height: 62px; width: auto; }

.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(12px, 2vw, 32px); }
.nav--left .nav__list { justify-content: flex-end; }
.nav--right .nav__list { justify-content: flex-start; }
.nav__item { position: relative; }
.nav__link {
	display: inline-flex; align-items: center; gap: 4px; padding: 10px 0; position: relative;
	color: var(--ink); font-size: 13.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
}
.nav__link::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
	background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav__link:hover, .nav__item.is-active > .nav__link { color: var(--green-dark); }
.nav__link:hover::after, .nav__item.is-active > .nav__link::after { transform: scaleX(1); }
.nav__caret { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.nav__sub {
	list-style: none; margin: 0; padding: 6px; position: absolute; top: 100%; left: -16px; min-width: 220px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-l);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav__item--parent:hover .nav__sub, .nav__item--parent:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__item--parent:hover .nav__caret { transform: rotate(180deg); }
.nav__sub a { display: block; padding: 9px 14px; border-radius: var(--radius-s); color: var(--ink); font-size: 15px; font-weight: 500; }
.nav__sub a:hover, .nav__sub a.is-active { background: var(--green-soft); color: var(--green-dark); }

.burger { display: none; justify-self: end; width: 46px; height: 46px; border-radius: var(--radius-s); border: 1px solid var(--line-strong); background: #fff; cursor: pointer; place-items: center; color: var(--ink); }
.burger .icon { width: 24px; height: 24px; }

/* Mobiles Menü */
.drawer { position: fixed; inset: 0; z-index: 200; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(20, 24, 31, .5); opacity: 0; transition: opacity .25s var(--ease); }
.drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: #fff; overflow-y: auto;
	padding: 20px 24px 32px; transform: translateX(100%); transition: transform .3s var(--ease); display: flex; flex-direction: column; gap: 20px;
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; }
.drawer__brand img { height: 40px; width: auto; }
.drawer__close { width: 44px; height: 44px; border-radius: var(--radius-s); border: 1px solid var(--line-strong); background: #fff; cursor: pointer; display: grid; place-items: center; }
.drawer__list { list-style: none; margin: 0; padding: 0; }
.drawer__item { border-bottom: 1px solid var(--line); }
.drawer__row { display: flex; align-items: center; justify-content: space-between; }
.drawer__row a { flex: 1; padding: 14px 0; color: var(--ink); font-weight: 600; font-size: 17px; }
.drawer__item.is-active > .drawer__row a { color: var(--green-dark); }
.drawer__toggle { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.drawer__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.drawer__toggle .icon { transition: transform .2s var(--ease); }
.drawer__sub { list-style: none; margin: 0 0 10px; padding: 0 0 0 12px; }
.drawer__sub a { display: block; padding: 9px 0; color: var(--text); }
.drawer__extra { display: grid; gap: 4px; margin-top: auto; padding-top: 8px; }
.drawer__extra a { display: flex; align-items: center; gap: 10px; padding: 10px 0; color: var(--text); font-weight: 500; }
.drawer__extra .icon { color: var(--green); }

/* ---------- Oberer Kasten: Startseiten-Slider / Beitragskopf ----------
   Bild immer im eigenen Seitenverhältnis (nichts beschnitten). Desktop ab 1101 px: flach nebeneinander, dunkelblaue
   Textspalte links, Bild rechts (Matthias 24.10.2026). Darunter gestapelt: Bild oben, Textfläche darunter.
   Folien liegen übereinander; die Textfläche gleicht unterschiedliche Bildhöhen aus. */
.hero { color: #fff; }
.hero__inner { position: relative; display: flex; flex-direction: column; }
.hero__track { display: grid; }
.hero__slide {
	grid-area: 1 / 1; display: grid; grid-template-rows: auto 1fr;
	opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__img { display: block; width: 100%; height: auto; }
.hero__media.is-narrow { display: flex; justify-content: center; background: var(--navy); }
.hero__media.is-narrow .hero__img { width: auto; max-width: 100%; max-height: 480px; }
.hero__text {
	display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 14px 56px;
	padding: clamp(22px, 3vw, 36px) clamp(20px, 3vw, 40px); background: var(--navy);
}
.hero__head > :last-child, .hero__body > :last-child { margin-bottom: 0; }
.hero__title, .hero__teaser, .card__title { overflow-wrap: anywhere; } /* überlange Wörter sprengen keine Spalte */
.hero__range { margin: 12px 0 0; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .72); }
.hero__title { margin: 10px 0 0; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.hero__teaser { margin: 0 0 20px; color: rgba(255, 255, 255, .85); font-size: 16px; max-width: 34em; }
.hero__cta {
	display: inline-flex; align-items: center; gap: 10px; padding: .75em 1.3em; border-radius: var(--radius-s);
	background: var(--green); color: var(--navy); font-weight: 700; transition: background-color .2s var(--ease), color .2s var(--ease);
}
.hero__cta:hover { background: #fff; color: var(--navy); }
.hero__cta .icon { transition: transform .2s var(--ease); }
.hero__cta:hover .icon { transform: translateX(3px); }
.hero__controls {
	order: 2; display: flex; align-items: center; justify-content: flex-end; gap: 10px;
	padding: 0 clamp(20px, 3vw, 40px) clamp(20px, 2.6vw, 32px); background: var(--navy);
	box-shadow: 0 -1px 0 var(--navy); /* keine Haarlinie zur Textfläche bei krummen Bildhöhen */
}
.dots { display: flex; align-items: center; gap: 6px; min-width: 0; }
/* bei vielen Folien werden die Striche schmäler statt aus der Textspalte zu laufen */
.dots__dot { position: relative; flex: 0 1 22px; min-width: 8px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; transition: flex-basis .3s var(--ease); }
.dots__dot::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; background: rgba(255, 255, 255, .35); transition: background-color .3s; }
.dots__dot:hover::before { background: rgba(255, 255, 255, .7); }
.dots__dot.is-active { flex-basis: 36px; }
.dots__dot.is-active::before { background: var(--green); }

/* ---------- Shop-Logos (Laufband) ---------- */
.logos { padding-block: 36px; border-bottom: 1px solid var(--line); }
.logos__inner { display: grid; grid-template-columns: minmax(180px, 240px) 1fr; gap: 32px; align-items: center; }
.logos__title { font-size: 22px; margin-bottom: .2em; }
.logos__head .link-arrow { font-size: 15px; }
.logos__rail { position: relative; display: flex; align-items: center; gap: 8px; min-width: 0; }
.logos__track {
	list-style: none; margin: 0; padding: 4px 0; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
	scrollbar-width: none; flex: 1; min-width: 0;
}
.logos__track::-webkit-scrollbar { display: none; }
.logos__track.is-loop {
	scroll-snap-type: none;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
	mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
}
.logos__item {
	flex: 0 0 auto; width: 120px; height: 84px; display: grid; place-items: center; padding: 12px; scroll-snap-align: start;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s var(--ease);
}
.logos__item:hover { border-color: var(--line-strong); }
.logos__item img { max-width: 100%; max-height: 56px; width: auto; object-fit: contain; }
.logos__btn { flex: none; border-color: var(--line-strong); background: #fff; color: var(--ink); }
.logos__btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Karten ----------
   Beitragsbilder in natürlicher Proportion (nichts beschnitten, keine Leerflächen); nur ungewöhnlich hohe
   Bilder werden begrenzt und vollständig auf hellem Grund gezeigt. */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card {
	position: relative; display: flex; flex-direction: column; background: #fff; overflow: hidden;
	border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-s);
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.card__media { display: block; background: var(--tint); }
.card__media img { display: block; width: 100%; height: auto; }
.card__media.is-narrow { display: flex; justify-content: center; }
.card__media.is-narrow img { width: auto; max-width: 100%; max-height: 300px; }
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.card__range { margin: 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.card__title { margin: 2px 0 0; font-size: 19px; line-height: 1.3; }
.card__title a { color: var(--ink); }
.card__title a::after { content: ""; position: absolute; inset: 0; } /* ganze Karte klickbar */
.card:hover .card__title a, .card__title a:hover { color: var(--green-dark); }
.card__teaser { margin: 0; color: var(--text); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Startseite: Beiträge + Öffnungszeiten ---------- */
.home-news__grid { display: grid; gap: 32px; }
.home-news__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.home-news__cards:has(> :only-child) { grid-template-columns: minmax(280px, 420px); }
.hours-card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px);
	display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 4px 32px;
}
.hours-card__title { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-size: 22px; margin-bottom: 8px; }
.hours-card__title .icon { color: var(--green); width: 26px; height: 26px; }
.hours-card__shop { padding: 12px 0; border-top: 1px solid var(--line); }
.hours-card__name { margin: 0 0 4px; font-weight: 700; color: var(--ink); font-size: 15px; }
.hours-card__time { margin: 0; font-size: 14px; color: var(--text); font-variant-numeric: tabular-nums; }
.hours-card__goodies { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.hours-card__goodies img { width: 40px; height: 40px; object-fit: contain; }

/* ---------- Seitenkopf ---------- */
.page-head { padding: clamp(36px, 5vw, 64px) 0 clamp(24px, 3vw, 40px); text-align: center; }
.page-head--grau { background: var(--tint); }
.page-head__overline { margin: 0 0 10px; color: var(--green-dark); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.page-head__title { margin: 0 auto; max-width: 20em; }
/* Direkt anschließender Inhalt ohne zweiten großen Abstand */
.page-head + .section:not(.section--tint):not(.textblock--bg):not(.textblock--image) { padding-top: 0; }
.page-head + .section--tint, .page-head--grau + .section { padding-top: clamp(24px, 3vw, 40px); }

/* ---------- Textblock / Fließtext ---------- */
.textblock { background: var(--block-bg, transparent); color: var(--block-fg, inherit); position: relative; }
.textblock--image { background: var(--block-bg, var(--navy)) var(--block-image) center / cover no-repeat; }
.textblock--image::before { content: ""; position: absolute; inset: 0; background: var(--block-bg, rgba(37, 42, 51, .6)); opacity: .75; }
.textblock__wrap { position: relative; }
.textblock__content { max-width: var(--block-max, 820px); margin-inline: auto; }
.textblock--xsmall .textblock__content { max-width: min(var(--block-max, 600px), 600px); }

.prose { color: inherit; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose h1, .prose h2, .prose h3, .prose h4 { margin-top: 1.4em; color: inherit; }
.textblock:not(.textblock--bg):not(.textblock--image) .prose :is(h1, h2, h3, h4, span.h1, span.h2, span.h3, span.h4) { color: var(--ink); }
.prose span.h1, .prose span.h2, .prose span.h3, .prose span.h4 { display: block; font-weight: 700; line-height: 1.2; letter-spacing: -.015em; margin: 1.2em 0 .5em; }
.prose span.h1 { font-size: clamp(28px, 3.6vw, 44px); }
.prose span.h2 { font-size: clamp(24px, 2.8vw, 34px); }
.prose span.h3 { font-size: clamp(19px, 1.8vw, 22px); }
.prose span.h4 { font-size: 18px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--green); }
.prose a:not(.btn) { color: var(--green-dark); text-decoration: underline !important; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius-s); max-width: 100%; height: auto; }
.prose img.aligncenter { margin-inline: auto; }
.prose .alignright { float: right; margin: 0 0 1em 1.5em; }
.prose .alignleft { float: left; margin: 0 1.5em 1em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 15px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; hyphens: auto; -webkit-hyphens: auto; }
.prose strong { color: inherit; font-weight: 700; }
.prose blockquote { margin: 1.5em 0; padding: .4em 0 .4em 1.2em; border-left: 4px solid var(--green); color: var(--muted); }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius-s); }

/* ---------- Karten-/Video-Einbettung ---------- */
.embed { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy); }
.embed--video { aspect-ratio: 16 / 9; margin: 0 0 1.5em; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed__consent {
	position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
	width: 100%; padding: 24px; border: 0; cursor: pointer; text-align: center; color: #fff;
	background: linear-gradient(160deg, var(--navy-2), var(--navy));
}
.embed__consent .icon { width: 44px; height: 44px; padding: 10px; border-radius: var(--radius-s); background: var(--green); color: var(--navy); box-sizing: content-box; transition: background-color .2s var(--ease); }
.embed__consent:hover .icon { background: #fff; }
.embed__consent-title { font-weight: 700; font-size: 18px; }
.embed__consent-note { font-size: 13px; color: rgba(255, 255, 255, .78); max-width: 30em; }

.map-block { background: var(--block-bg, var(--tint)); }
.map-block__head { text-align: center; margin-bottom: 28px; }
.map-block__frame { position: relative; }
.embed--map { height: var(--map-h, 450px); min-height: 320px; }
.map-block__info {
	position: absolute; left: 24px; bottom: 24px; max-width: 320px; padding: 20px 22px; background: #fff;
	border-radius: var(--radius); box-shadow: var(--shadow-l); pointer-events: none;
}
.map-block__info h3 { font-size: 17px; margin-bottom: .3em; }
.map-block__info p { margin: 0; font-size: 14px; }

/* ---------- Reiter ---------- */
.tabs { display: flex; gap: 4px; padding: 4px; margin: 0 auto 32px; width: fit-content; background: #e9ecef; border-radius: var(--radius); }
.tabs__tab { border: 0; background: transparent; padding: .65em 1.6em; border-radius: var(--radius-s); font-weight: 600; color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.tabs__tab:hover { color: var(--ink); }
.tabs__tab.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(37, 42, 51, .14); }

/* ---------- Shopfinder ---------- */
.shopfinder { padding-top: clamp(16px, 2vw, 32px); }
.shopfinder__map { position: relative; max-width: 900px; margin: 0 auto 40px; }
.zib-plan { display: block; width: 100%; height: auto; }
.zib-plan [data-shop] { cursor: pointer; }
.zib-plan .zib-area { transition: fill .2s var(--ease); }
.pin {
	position: absolute; z-index: 3; width: 240px; display: flex; gap: 12px; align-items: center; padding: 14px 40px 14px 14px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-l); animation: pin-in .2s var(--ease);
}
@keyframes pin-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pin__logo { flex: 0 0 64px; height: 64px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 6px; }
.pin__logo img { max-height: 100%; width: auto; object-fit: contain; }
.pin__name { margin: 0 0 6px; font-weight: 700; color: var(--ink); line-height: 1.25; font-size: 15px; }
.pin__close { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; display: grid; place-items: center; border: 0; background: none; border-radius: var(--radius-s); cursor: pointer; color: var(--muted); }
.pin__close:hover { background: var(--tint); color: var(--ink); }

.shopfinder__list { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.shopfinder__item {
	width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left;
	padding: 13px 4px; border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; color: var(--ink); font-size: 15px;
	transition: color .2s, background-color .2s, padding .2s;
}
.shopfinder__more { font-size: 13px; font-weight: 600; color: var(--green-dark); opacity: 0; transition: opacity .2s; }
.shopfinder__item:hover, .shopfinder__item:focus-visible, .shopfinder__item.is-hover { color: var(--green-dark); padding-left: 10px; }
.shopfinder__item:hover .shopfinder__more, .shopfinder__item.is-hover .shopfinder__more, .shopfinder__item.is-active .shopfinder__more { opacity: 1; }
.shopfinder__item.is-active { color: var(--green-dark); font-weight: 700; }

.shopfinder__details { max-width: 900px; margin: 0 auto; }
.shop-detail { margin-top: 48px; padding: clamp(24px, 4vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); outline: none; }
.shop-detail__title { text-align: center; }
.shop-detail__grid { display: grid; grid-template-columns: 220px 1fr 1fr; gap: 28px; align-items: start; margin-top: 20px; }
.shop-detail__logo { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; place-items: center; aspect-ratio: 1; }
.shop-detail__logo img { max-height: 100%; width: auto; object-fit: contain; }
.shop-detail__box { font-size: 15px; }
.shop-detail__text { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Kontakt ---------- */
.contact-list { list-style: none; margin: 0 0 40px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.contact-list a, .contact-list__static {
	display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: var(--radius-s);
	background: #fff; border: 1px solid var(--line-strong); color: var(--ink); font-weight: 600;
	transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.contact-list a:hover { border-color: var(--green); background: var(--green-soft); color: var(--ink); }
.contact-list .icon { color: var(--green-dark); }
.contact-list--compact { justify-content: flex-start; margin: 20px 0 0; }
.contact-data__image { margin: 0 auto; max-width: 720px; }
.contact-data__image img { border-radius: var(--radius); width: 100%; }

/* ---------- Öffnungszeiten ---------- */
.hours-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.hours-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.hours-item__name { font-size: 17px; margin-bottom: 10px; }
.hours-item__list { margin: 0; }
.hours-item__list div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 15px; }
.hours-item__list div:first-child { border-top: 0; }
.hours-item__list dt { color: var(--muted); }
.hours-item__list dd { margin: 0 0 0 auto; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }

/* ---------- Services ---------- */
.services__intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 56px); align-items: center; margin-bottom: clamp(40px, 6vw, 72px); }
.services__intro .section-title { text-align: left; }
.services__intro-image { margin: 0; }
.services__intro-image img { width: 100%; border-radius: var(--radius); }
.service-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 16px; }
.service { display: flex; gap: 20px; align-items: flex-start; padding: 24px; background: var(--tint); border-radius: var(--radius); }
.service__icon { flex: 0 0 84px; }
.service__icon img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.service__text h3 { font-size: 19px; margin-bottom: .4em; }
.service__text .prose { font-size: 15px; }

/* ---------- Formular ---------- */
.card-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 48px); }
.form { display: grid; gap: 22px; }
.form .section-title { margin-bottom: 0; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: grid; gap: 6px; }
.field label, .form__choice legend { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field textarea {
	width: 100%; font: inherit; color: var(--ink); background: #fff; padding: 12px 14px; border: 1.5px solid var(--field-border); border-radius: var(--radius-s);
	transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-dark); box-shadow: 0 0 0 3px rgba(134, 188, 34, .25); }
.is-invalid input, .is-invalid textarea, .field [aria-invalid="true"] { border-color: var(--danger); }
.form__choice { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.form__choice legend { float: left; width: 100%; margin-bottom: 6px; }
.form__choice.is-invalid legend, .form__choice.is-invalid .radio span, .checkbox.is-invalid span { color: var(--danger); }
.radio, .checkbox { display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.radio input, .checkbox input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green-dark); flex: none; }
.checkbox span { font-size: 14px; line-height: 1.5; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__actions { display: flex; justify-content: flex-start; }
.form__note { margin: -6px 0 0; font-size: 13px; color: var(--muted); }
.form__message { padding: 16px 18px; border-radius: var(--radius-s); font-size: 15px; }
.form__message p { margin: 0; }
.form__message--ok { background: var(--green-soft); color: #3e5c0b; }
.form__message--error { background: #fdecec; color: #8e1d1d; }
.btn.is-busy { position: relative; color: transparent !important; }
.btn.is-busy::after { content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border: 2px solid var(--navy); border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Beitrag ---------- */
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--muted); margin-bottom: 18px; }
.back-link:hover { color: var(--green-dark); }
.article__title { margin-bottom: .8em; }
.article__picture { margin: 0; }
.article__picture img { border-radius: var(--radius); width: 100%; }

/* ---------- Fußbereich ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .78); padding: clamp(40px, 6vw, 64px) 0; font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr 1fr; gap: 32px; align-items: start; }
.site-footer__logo { width: 110px; height: auto; }
.site-footer__contact { display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .85); }
.site-footer a:hover { color: var(--green); }
.site-footer__contact-link { display: inline-flex; align-items: center; gap: 10px; }
.site-footer__contact-link .icon { color: var(--green); }
.site-footer__social { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; }
.site-footer__social .icon { width: 24px; height: 24px; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__links a { font-weight: 600; }

/* ---------- Responsiv ---------- */
@media (min-width: 960px) {
	/* Steuerung als Teil der Textfläche statt eigener Zeile – der Kasten bleibt niedriger */
	.hero__controls { position: absolute; left: clamp(20px, 3vw, 40px); bottom: clamp(22px, 3vw, 36px); padding: 0; background: none; box-shadow: none; justify-content: flex-start; }
}
@media (min-width: 960px) and (max-width: 1100px) {
	/* gestapelt, Textfläche zweispaltig, Steuerung links unter dem Titel */
	.hero__text { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.hero[data-slider] .hero__head { padding-bottom: 64px; }
	.hero__controls { max-width: calc(50% - 68px); }
}
@media (min-width: 1101px) {
	/* Desktop: flach nebeneinander; das Bild steht senkrecht mittig, falls die Textspalte höher ist */
	.hero__slide { grid-template-columns: minmax(360px, 34%) minmax(0, 1fr); grid-template-rows: none; }
	.hero__media { order: 2; align-self: center; }
	.hero__text { align-content: center; gap: 14px; padding: 28px clamp(24px, 3vw, 48px); }
	.hero[data-slider] .hero__text { padding-bottom: 92px; }
	.hero__teaser { margin-bottom: 16px; }
	.hero__controls { left: clamp(24px, 3vw, 48px); bottom: 28px; max-width: calc(max(360px, 34%) - 2 * clamp(24px, 3vw, 48px)); }
}
@media (max-width: 1100px) {
	:root { --header-h: 108px; }
	.masthead__inner { grid-template-columns: 1fr auto 1fr; min-height: 72px; }
	.nav { display: none; }
	.brand { grid-column: 2; }
	.brand img { height: 42px; }
	.burger { display: grid; grid-column: 3; }
	.home-news__grid { grid-template-columns: 1fr; }
	.hours-card { position: static; }
	.shop-detail__grid { grid-template-columns: 180px 1fr; }
	.shop-detail__grid > :last-child:nth-child(3) { grid-column: 2; }
	.card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.map-block__info { position: static; max-width: none; margin-top: 12px; box-shadow: none; border: 1px solid var(--line); pointer-events: auto; }
}
@media (max-width: 960px) {
	.services__intro { grid-template-columns: 1fr; }
	.logos__inner { grid-template-columns: 1fr; gap: 16px; }
	.logos__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; }
}
@media (max-width: 800px) {
	.topbar__group:last-child { display: none; }
	.topbar__group { gap: 16px; }
	.hero__controls { justify-content: flex-start; }
	.form__grid { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__brand, .site-footer__contact { grid-column: span 2; }
}
@media (max-width: 700px) {
	.shopfinder__list { grid-template-columns: 1fr; }
	.pin { position: relative; left: auto !important; top: auto !important; width: auto; margin: 12px 0 0; }
	.shop-detail__grid { grid-template-columns: 1fr; }
	.shop-detail__grid > :last-child:nth-child(3) { grid-column: auto; }
	.shop-detail__logo { max-width: 200px; margin-inline: auto; width: 100%; }
}
@media (max-width: 640px) {
	.card-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.service { flex-direction: column; gap: 14px; padding: 20px; }
	.service__icon { flex: none; }
	.service__icon img { width: 56px; height: 56px; }
	/* Handy: Logos über die volle Breite, Knöpfe darunter */
	.logos__rail { flex-wrap: wrap; row-gap: 12px; }
	.logos__track { order: -1; flex: 1 0 100%; }
	.logos__item { width: 104px; height: 74px; padding: 10px; }
	.logos__item img { max-height: 50px; }
}
@media (max-width: 480px) {
	.topbar { display: none; }
	:root { --header-h: 72px; }
	.contact-list { flex-direction: column; align-items: stretch; }
	.contact-list a, .contact-list__static { display: flex; justify-content: flex-start; }
	.tabs { width: 100%; }
	.tabs__tab { flex: 1; padding-inline: .8em; }
	/* Lange Wörter wie „DATENSCHUTZERKLÄRUNG“ passen sonst nicht in die Zeile (Querscrollen) */
	.prose h1 { font-size: clamp(20px, 6.4vw, 28px); }
	.prose h2 { font-size: clamp(18px, 5.6vw, 24px); } /* bleibt kleiner als die H1 darüber */
	.prose th, .prose td { padding: 8px; }
	.prose th:first-child, .prose td:first-child { padding-left: 0; }
	.prose th:last-child, .prose td:last-child { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
	.site-header, .drawer, .hero__controls, .site-footer, .embed { display: none !important; }
}
