/* ═══════════════════════════════════════════════════════
   JuMa Steinkuhl — Urban Playground Design
   ═══════════════════════════════════════════════════════ */

/* Lokal gehostete Schriften (DSGVO Art. 6 + EuGH C-129/21 — keine
   Pre-Consent-Anfrage an fonts.googleapis.com / fonts.gstatic.com) */
@font-face {
	font-family: 'Fredoka';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('/static/fonts/fredoka-v17-latin-regular.woff2') format('woff2');
}
@font-face {
	font-family: 'Fredoka';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('/static/fonts/fredoka-v17-latin-500.woff2') format('woff2');
}
@font-face {
	font-family: 'Fredoka';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('/static/fonts/fredoka-v17-latin-600.woff2') format('woff2');
}
@font-face {
	font-family: 'Fredoka';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('/static/fonts/fredoka-v17-latin-700.woff2') format('woff2');
}
@font-face {
	font-family: 'Nunito';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('/static/fonts/nunito-v32-latin-regular.woff2') format('woff2');
}
@font-face {
	font-family: 'Nunito';
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url('/static/fonts/nunito-v32-latin-italic.woff2') format('woff2');
}
@font-face {
	font-family: 'Nunito';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('/static/fonts/nunito-v32-latin-600.woff2') format('woff2');
}
@font-face {
	font-family: 'Nunito';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('/static/fonts/nunito-v32-latin-700.woff2') format('woff2');
}

/* Skip-Link für Tastaturnavigation (WCAG 2.4.1) */
.skip-link {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
	z-index: 999;
}

.skip-link:focus {
	position: absolute;
	left: 1em;
	top: 1em;
	width: auto;
	height: auto;
	padding: 0.5em 1em;
	background: #fff;
	color: #000;
	border: 2px solid #000;
	text-decoration: none;
	font-weight: bold;
}

:root {
	/* JuMa Logo-Farben */
	--color-red: #CC1B1B;
	--color-red-light: #E84444;
	--color-red-dark: #B01515;	/* a11y-tauglicher Rot-Ton für Fließ-/Link-Text auf hellem Grund */
	--color-green: #157015;
	--color-green-light: #3AB83A;
	--color-green-pale: #E8F5E8;
	--color-blue: #1B3FCC;
	--color-blue-light: #4466E8;
	--color-blue-dark: #142E99;
	--color-yellow: #D4A800;
	--color-yellow-light: #FFD633;
	--color-yellow-pale: #FFF8DC;

	--color-navy: #1E2A3A;
	--color-navy-light: #2E3F5A;
	--color-cream: #FAFAF6;
	--color-white: #FFFFFF;
	--color-gray-100: #F5F4F0;
	--color-gray-200: #E8E6E0;
	--color-gray-400: #7A7261;
	--color-gray-600: #6B6358;
	--color-gray-800: #3A352E;

	--font-display: 'Fredoka', sans-serif;
	--font-body: 'Nunito', sans-serif;

	--radius-sm: 8px;
	--radius-md: 16px;
	--radius-lg: 24px;
	--radius-xl: 40px;
	--radius-pill: 100px;

	--shadow-soft: 0 4px 20px rgba(26, 39, 68, 0.08);
	--shadow-medium: 0 8px 32px rgba(26, 39, 68, 0.12);
	--shadow-strong: 0 16px 48px rgba(26, 39, 68, 0.18);
	--shadow-glow-green: 0 0 30px rgba(27, 140, 27, 0.2);
	--shadow-glow-red: 0 0 30px rgba(204, 27, 27, 0.2);
}

/* ── Reset ── */
*, *::before, *::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
}

body {
	font-family: var(--font-body);
	color: var(--color-navy);
	background: var(--color-cream);
	line-height: 1.7;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-blue-light); }
ul, ol { list-style-position: inside; }
table { border-collapse: collapse; }

/* ── Layout ── */
.wrap {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ── Typography ── */
.headline {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	color: var(--color-navy);
	margin-bottom: 1em;
	position: relative;
	display: inline-block;
}

.headline::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 60px;
	height: 5px;
	background: var(--color-green);
	border-radius: 3px;
}

.subline {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(1.2rem, 2.5vw, 1.6rem);
	color: var(--color-navy);
	margin-bottom: 0.5em;
}

.paragraph p,
.text-content p {
	margin-bottom: 1em;
	color: var(--color-gray-600);
	font-size: 1.05rem;
}

.text-content h2 {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.5rem;
	margin: 2em 0 0.6em;
	color: var(--color-navy);
}

.text-content h3 {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 1.15rem;
	margin: 1.5em 0 0.4em;
	color: var(--color-navy-light);
}

.hint { color: var(--color-gray-400); font-size: 0.9rem; margin-top: 0.5em; }
.empty-hint { color: var(--color-gray-400); font-style: italic; text-align: center; padding: 2em; }

/* ═══════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════ */
.header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--color-navy);
	padding: 0;
	box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.header .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 72px;
}

.logo-wrap {
	display: flex;
  justify-content: center;
  align-items: center;
    height: 100%;
    padding: 10px;
    background-color: #f2f2f2;
}

.logo-wrap img{
	display: flex;
    height: 40px;
}

.site-title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 2rem;
	letter-spacing: -0.02em;
}

/* JuMa Logo-Farben per Buchstabe */
.site-title .c-j { color: var(--color-red); }
.site-title .c-u { color: var(--color-green); }
.site-title .c-m { color: var(--color-blue); }
.site-title .c-a { color: var(--color-yellow-light); }

.site-subtitle {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1rem;
	color: var(--color-white);
	opacity: 0.7;
}

.mainmenu {
	display: flex;
	gap: 8px;
}

.mM-item {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 0.95rem;
	color: var(--color-white);
	padding: 8px 18px;
	border-radius: var(--radius-pill);
	transition: all 0.25s ease;
	text-decoration: none;
}

.mM-item:hover {
	background: var(--color-yellow-light);
	color: var(--color-navy);
}

.burger {
	display: none;
	cursor: pointer;
	width: 36px;
	height: 36px;
	position: relative;
}

.burger span {
	font-size: 0;
	display: block;
	width: 28px;
	height: 3px;
	background: var(--color-white);
	border-radius: 2px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.burger span::before,
.burger span::after {
	content: '';
	display: block;
	width: 28px;
	height: 3px;
	background: var(--color-white);
	border-radius: 2px;
	position: absolute;
}

.burger span::before { top: -9px; }
.burger span::after { top: 9px; }

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero {
	background: var(--color-navy);
	background-size: cover;
	background-position: center;
	padding: clamp(60px, 12vw, 140px) 0 clamp(60px, 10vw, 120px);
	position: relative;
	overflow: hidden;
}

.hero::before,
.hero::after {
	/* Glows bleiben, aber dunkleres Overlay über dem Bild */
}

.hero > .wrap {
	position: relative;
	z-index: 2;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(30, 42, 58, 0.88) 0%, rgba(30, 42, 58, 0.65) 100%);
	z-index: 1;
}

.hero::before {
	content: '';
	position: absolute;
	top: -40%;
	right: -15%;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, var(--color-green) 0%, transparent 70%);
	opacity: 0.12;
	pointer-events: none;
}

.hero::after {
	content: '';
	position: absolute;
	bottom: -30%;
	left: -10%;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, var(--color-red) 0%, transparent 70%);
	opacity: 0.08;
	pointer-events: none;
}

.hero-headline {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(2.5rem, 7vw, 5rem);
	color: var(--color-white);
	line-height: 1.1;
	margin-bottom: 0.3em;
	position: relative;
}

.hero-headline::after {
	content: '✦';
	position: absolute;
	top: -0.2em;
	right: -0.4em;
	font-size: 0.4em;
	color: var(--color-yellow-light);
	animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
	0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
	50% { opacity: 0.5; transform: scale(0.8) rotate(15deg); }
}

.hero-sub {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(1.1rem, 2.5vw, 1.5rem);
	color: var(--color-green-light);
	margin-bottom: 1.2em;
}

.hero-cta {
	font-size: 1.05rem;
	color: rgba(255,255,255,0.75);
	line-height: 1.8;
}

.hero-cta strong {
	display: inline-block;
	margin-top: 0.5em;
	background: var(--color-yellow-light);
	color: var(--color-navy);
	padding: 6px 20px;
	border-radius: var(--radius-pill);
	font-weight: 700;
	font-family: var(--font-display);
	font-size: 0.95rem;
}

/* ═══════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════ */
.section {
	padding: clamp(50px, 8vw, 100px) 0;
}

.section-highlight {
	background: var(--color-navy);
	color: var(--color-white);
	position: relative;
}

.section-highlight .headline {
	color: var(--color-white);
}

.section-highlight .headline::after {
	background: var(--color-red);
}

.section-highlight p,
.section-highlight td {
	color: rgba(255,255,255,0.8);
}

.section-highlight a {
	color: var(--color-yellow-light);
}

.section-highlight a:hover {
	color: var(--color-yellow);
}

/* ═══════════════════════════════════════════════════════
   CONTENT BLOCKS (Scroller)
   ═══════════════════════════════════════════════════════ */
.content-block {
	display: grid;
	gap: 40px;
	align-items: center;
	margin-bottom: 60px;
	padding: 32px;
	background: var(--color-white);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-soft);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-block:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-medium);
}

.content-block:last-child { margin-bottom: 0; }

.content-block.left {
	grid-template-columns: 1fr 1.2fr;
}

.content-block.right {
	grid-template-columns: 1.2fr 1fr;
}

.content-block.right .content-img-wrap {
	order: 2;
}

.content-block.right .content-text {
	order: 1;
}

.content-block.center {
	grid-template-columns: 1fr;
	text-align: center;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.content-block.fullwidth {
	grid-template-columns: 1fr;
}

.content-img-wrap {
	border-radius: var(--radius-md);
	overflow: hidden;
	aspect-ratio: 4/3;
	background: linear-gradient(135deg, var(--color-yellow-pale) 0%, var(--color-green-pale) 100%);
}

.content-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.content-text .subline {
	position: relative;
	padding-left: 16px;
}

.content-text .subline::before {
	content: '';
	position: absolute;
	left: 0;
	top: 4px;
	width: 5px;
	height: 1.2em;
	background: var(--color-green);
	border-radius: 3px;
}

.content-text .paragraph {
	color: var(--color-gray-600);
}

/* ═══════════════════════════════════════════════════════
   ÖFFNUNGSZEITEN
   ═══════════════════════════════════════════════════════ */
.opening-hours {
	max-width: 500px;
}

.opening-hours table {
	width: 100%;
	margin-bottom: 1em;
}

.opening-hours td {
	padding: 12px 0;
	border-bottom: 1px solid rgba(255,255,255,0.1);
	font-size: 1.05rem;
}

.opening-hours td:first-child {
	font-weight: 600;
	font-family: var(--font-display);
	padding-right: 24px;
}

.opening-hours strong {
	color: var(--color-yellow-light);
}

/* ═══════════════════════════════════════════════════════
   KALENDER
   ═══════════════════════════════════════════════════════ */
.kalender-grid {
	display: grid;
	gap: 20px;
}

.kalender-card {
	display: flex;
	gap: 24px;
	padding: 24px;
	background: var(--color-white);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-soft);
	border-left: 5px solid var(--color-green);
	transition: all 0.3s ease;
}

.kalender-card:hover {
	transform: translateX(6px);
	box-shadow: var(--shadow-medium);
	border-left-color: var(--color-blue);
}

.kalender-date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 80px;
	padding: 12px;
	background: var(--color-navy);
	border-radius: var(--radius-md);
	text-align: center;
	flex-shrink: 0;
}

.kalender-day {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 2rem;
	color: var(--color-yellow-light);
	line-height: 1;
}

.kalender-month {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 0.85rem;
	color: rgba(255,255,255,0.7);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.kalender-year {
	font-size: 0.75rem;
	color: rgba(255,255,255,0.5);
}

.kalender-info { flex: 1; }

.kalender-title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.2rem;
	color: var(--color-navy);
	margin-bottom: 4px;
}

.kalender-meta {
	font-size: 0.9rem;
	color: var(--color-gray-400);
	margin-bottom: 8px;
}

.kalender-time { font-weight: 600; color: var(--color-red); }

.kalender-descr {
	color: var(--color-gray-600);
	font-size: 0.95rem;
}

.kalender-descr p { margin: 0; }

.ical-download {
	display: inline-block;
	margin-top: 10px;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--color-blue);
	padding: 4px 12px;
	border: 1px solid var(--color-blue-light);
	border-radius: var(--radius-pill);
	transition: all 0.2s;
}

.ical-download:hover {
	background: var(--color-blue);
	color: var(--color-white);
}

.kalender-abo {
	margin-top: 40px;
	padding: 24px 32px;
	background: var(--color-white);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-soft);
	text-align: center;
}

.kalender-abo p {
	font-family: var(--font-display);
	font-weight: 600;
	color: var(--color-navy);
	margin-bottom: 12px;
}

.btn-abo {
	display: inline-block;
	padding: 10px 28px;
	background: var(--color-green);
	color: var(--color-white) !important;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1rem;
	border-radius: var(--radius-pill);
	transition: all 0.25s;
}

.btn-abo:hover {
	background: var(--color-green-light);
	transform: translateY(-2px);
	box-shadow: var(--shadow-medium);
}

.abo-hint {
	display: block;
	margin-top: 8px;
	font-size: 0.8rem;
	color: var(--color-gray-400);
}

/* ═══════════════════════════════════════════════════════
   KONTAKT
   ═══════════════════════════════════════════════════════ */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 48px;
	align-items: start;
}

.contact-info p {
	margin-bottom: 1.2em;
	line-height: 1.8;
}

.contact-info a {
	color: var(--color-yellow-light);
	font-weight: 600;
}

.contact-map {
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-medium);
}

.contact-map iframe {
	display: block;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.footer {
	background: var(--color-gray-800);
	color: rgba(255,255,255,0.7);
	padding: 48px 0 32px;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	margin-bottom: 32px;
	padding-bottom: 32px;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col {
	font-size: 0.9rem;
	line-height: 1.9;
}

.footer-col strong {
	color: var(--color-white);
	font-family: var(--font-display);
}

.footer-col a {
	color: rgba(255,255,255,0.7);
	transition: color 0.2s;
}

.footer-col a:hover {
	color: var(--color-yellow-light);
}

.footer-copy {
	font-size: 0.8rem;
	color: var(--color-white);
	text-align: center;
}

/* ═══════════════════════════════════════════════════════
   COOKIE CONSENT
   ═══════════════════════════════════════════════════════ */
.cookie-popup {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	display: none;
	justify-content: center;
	align-items: flex-end;
	z-index: 9999;
	padding: 24px;
}

.cookie-popup.is-active {
	display: flex;
}

.cookie-popup-box {
	background: var(--color-white);
	border-radius: var(--radius-lg);
	max-width: 600px;
	width: 100%;
	box-shadow: var(--shadow-strong);
	overflow: hidden;
}

.cookie-popup-header {
	padding: 20px 24px 0;
	font-family: var(--font-display);
	font-size: 1.1rem;
}

.cookie-popup-content {
	padding: 12px 24px;
	font-size: 0.9rem;
	color: var(--color-gray-600);
}

.cookie-popup-content p { margin: 0 0 12px; }
.cookie-popup-content p:last-of-type { margin-bottom: 16px; }
.cookie-popup-content a { text-decoration: underline; }

.cookie-input-group {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 6px 0;
	font-size: 0.9rem;
}

.cookie-input-group input[type="checkbox"] {
	width: 18px;
	height: 18px;
	cursor: pointer;
}

.cookie-input-group input[type="checkbox"]:disabled {
	cursor: not-allowed;
	opacity: 0.6;
}

.cookie-input-group label {
	cursor: pointer;
	color: var(--color-gray-600);
}

.cookie-input-group input[type="checkbox"]:disabled + label {
	cursor: not-allowed;
}

.cookie-input-hint {
	color: var(--color-gray-400);
	font-size: 0.85em;
}

.cookie-popup-footer {
	padding: 12px 24px 20px;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
}

.btn-cookie-accept,
.btn-cookie-accept-all,
.btn-cookie-reject {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.95rem;
	padding: 10px 22px;
	border: none;
	border-radius: var(--radius-pill);
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.btn-cookie-accept-all {
	background: var(--color-green);
	color: var(--color-white);
}

.btn-cookie-accept-all:hover {
	background: var(--color-green-light);
}

.btn-cookie-accept {
	background: var(--color-gray-200);
	color: var(--color-gray-600);
}

.btn-cookie-accept:hover {
	background: var(--color-gray-400);
	color: var(--color-white);
}

.btn-cookie-reject {
	background: transparent;
	color: var(--color-gray-600);
	border: 1px solid var(--color-gray-400);
}

.btn-cookie-reject:hover {
	background: var(--color-gray-200);
}

/* ═══════════════════════════════════════════════════════
   GOOGLE MAPS DSGVO
   ═══════════════════════════════════════════════════════ */
.maps-consent {
	background: var(--color-gray-200);
	border-radius: var(--radius-lg);
	min-height: 300px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 32px;
}

.maps-consent.is-hidden { display: none; }

.maps-consent-text p {
	color: var(--color-gray-600);
	margin-bottom: 8px;
	font-size: 0.95rem;
}

.btn-maps-accept {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.95rem;
	padding: 10px 24px;
	background: var(--color-blue);
	color: var(--color-white);
	border: none;
	border-radius: var(--radius-pill);
	cursor: pointer;
	margin: 12px 0 8px;
	transition: background 0.2s;
}

.btn-maps-accept:hover {
	background: var(--color-blue-light);
}

/* a.maps-external-link statt .maps-external-link — sonst überschreibt
   .section-highlight a (höhere Specificity 0,1,1 > 0,1,0) die Link-Farbe. */
a.maps-external-link {
	display: block;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--color-red-dark);
	text-decoration: underline;
}

.maps-iframe {
	display: none !important;
	border-radius: var(--radius-lg);
}

.maps-iframe.is-active {
	display: block !important;
}

/* ═══════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════ */
@keyframes fadeInUp {
	from { opacity: 0; transform: translateY(30px); }
	to { opacity: 1; transform: translateY(0); }
}

.hero-headline { animation: fadeInUp 0.8s ease-out; }
.hero-sub { animation: fadeInUp 0.8s ease-out 0.15s both; }
.hero-cta { animation: fadeInUp 0.8s ease-out 0.3s both; }

.content-block { animation: fadeInUp 0.6s ease-out both; }
.content-block:nth-child(2) { animation-delay: 0.1s; }
.content-block:nth-child(3) { animation-delay: 0.2s; }

.kalender-card { animation: fadeInUp 0.5s ease-out both; }
.kalender-card:nth-child(1) { animation-delay: 0s; }
.kalender-card:nth-child(2) { animation-delay: 0.06s; }
.kalender-card:nth-child(3) { animation-delay: 0.12s; }
.kalender-card:nth-child(4) { animation-delay: 0.18s; }
.kalender-card:nth-child(5) { animation-delay: 0.24s; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
	.mainmenu {
		display: none;
		position: absolute;
		top: 72px;
		left: 0;
		right: 0;
		background: var(--color-navy);
		flex-direction: column;
		padding: 16px 24px 24px;
		border-top: 2px solid var(--color-green);
		box-shadow: var(--shadow-strong);
	}

	.mainmenu.is-open { display: flex; }

	.burger { display: block; }

	.content-block.left,
	.content-block.right {
		grid-template-columns: 1fr;
	}

	.content-block.right .content-img-wrap,
	.content-block.right .content-text {
		order: unset;
	}

	.contact-grid {
		grid-template-columns: 1fr;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.kalender-card {
		flex-direction: column;
		gap: 16px;
	}

	.kalender-date {
		flex-direction: row;
		gap: 8px;
		min-width: unset;
		padding: 10px 20px;
		border-radius: var(--radius-pill);
		align-self: flex-start;
	}

	.kalender-day { font-size: 1.4rem; }
}

@media (max-width: 480px) {
	.hero-headline { font-size: 2.2rem; }
	.header .wrap { padding: 0 16px; }
	.wrap { padding: 0 16px; }
}

/* ═══════════════════════════════════════════════════════
   FOOTER — BARRIERE-MELDEN
   ═══════════════════════════════════════════════════════ */
.footer-barrier-report {
	margin: 16px 0 8px;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.5;
}

.footer-barrier-report a {
	color: var(--color-white);
	font-weight: 600;
	text-decoration: underline;
}

.footer-barrier-report a:hover {
	color: var(--color-yellow-light);
}

/* ═══════════════════════════════════════════════════════
   ACCESSIBILITY-WIDGET (Floating-Button + Drawer)
   ═══════════════════════════════════════════════════════ */
:root {
	--a11y-font-size: 16px;
}

body {
	font-size: var(--a11y-font-size);
}

html.a11y-high-contrast {
	filter: contrast(1.3);
}

html.a11y-reduce-motion *,
html.a11y-reduce-motion *::before,
html.a11y-reduce-motion *::after {
	animation-duration: 0.001s !important;
	animation-iteration-count: 1 !important;
	transition-duration: 0.001s !important;
}

.accessability-btn {
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--color-blue);
	color: var(--color-white);
	border: none;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
	/* Barrierefreiheit muss immer erreichbar sein — auch über dem
	   Cookie-Banner-Overlay (z-index 9999). Sonst können User mit
	   Sehschwierigkeiten nicht erst Schrift vergrößern, bevor sie das
	   Banner lesen müssen. */
	z-index: 10000;
	font-size: 1.6rem;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s, box-shadow 0.2s;
}

.accessability-btn:hover {
	transform: scale(1.05);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.accessability-btn:focus-visible {
	outline: 3px solid var(--color-yellow);
	outline-offset: 2px;
}

/* Hover/Focus-Tooltip via data-tooltip-Attribut (kurze Form). Voller
   aria-label bleibt für Screen-Reader und Long-Hover via title.
   Pure CSS, kein zusätzliches Markup. */
.accessability-btn::after {
	content: attr(data-tooltip);
	position: absolute;
	right: calc(100% + 12px);
	top: 50%;
	transform: translateY(-50%);
	padding: 8px 14px;
	border-radius: var(--radius-pill);
	background: var(--color-gray-800);
	color: var(--color-white);
	font-family: var(--font-display);
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.15s;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.accessability-btn:hover::after,
.accessability-btn:focus-visible::after {
	opacity: 1;
}

/* Touch-Devices haben keinen Hover-State — Tooltip permanent oberhalb
   des Buttons als Coach-Affordance einblenden, damit auch sehende
   Mobile-User sofort sehen was das ♿-Icon ist.
   `any-hover: none` (statt `hover: none, pointer: coarse`) ist
   präziser: matched nur Geräte ohne Hover-fähiges Eingabegerät, und
   schließt Hybrid-Devices (Touch-Laptop, Stylus-Tablet) aus. */
@media (any-hover: none) {
	.accessability-btn::after {
		opacity: 1;
		top: auto;
		bottom: calc(100% + 10px);
		right: 0;
		transform: none;
	}
}

/* Wenn der Drawer offen ist, ist der Tooltip-Hint überflüssig (User
   hat die Funktion bereits aktiviert) und konkurriert visuell mit dem
   Drawer-Header. Ausblenden auch im Touch-Modus. */
body.a11y-drawer-open .accessability-btn::after {
	opacity: 0;
}

.drawer__panel {
	position: fixed;
	top: 0;
	right: 0;
	height: 100vh;
	width: 360px;
	max-width: 92vw;
	background: var(--color-white);
	border-left: 1px solid rgba(58, 53, 46, 0.10);
	box-shadow: -16px 0 48px rgba(0, 0, 0, 0.32);
	transform: translateX(100%);
	transition: transform 0.25s ease-out;
	/* Drawer auch über dem Banner-Overlay — Widget muss bedienbar
	   bleiben, sobald geöffnet, auch wenn Banner gleichzeitig aktiv ist. */
	z-index: 10100;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	color: var(--color-gray-800);
}

/* Wenn der Drawer offen ist, tritt der Cookie-Banner zurück:
   - Backdrop-Overlay weg (sonst zwei konkurrierende Overlays)
   - Banner-Box etwas verkleinert + leicht transluzent → bleibt
     erreichbar wenn der User sich entscheidet, kämpft aber nicht
     mehr mit dem Drawer um Aufmerksamkeit. */
body.a11y-drawer-open .cookie-popup.is-active {
	background: transparent;
}

body.a11y-drawer-open .cookie-popup.is-active .cookie-popup-box {
	transform: scale(0.95);
	opacity: 0.78;
	transition: transform 0.25s, opacity 0.25s;
}

body.a11y-drawer-open .cookie-popup.is-active .cookie-popup-box:hover,
body.a11y-drawer-open .cookie-popup.is-active .cookie-popup-box:focus-within {
	transform: scale(1);
	opacity: 1;
}

.drawer__panel.is-open {
	transform: translateX(0);
}

.drawer__panel[aria-hidden="true"] {
	visibility: hidden;
}

.drawer__panel.is-open[aria-hidden="false"] {
	visibility: visible;
}

.drawer__header {
	padding: 24px;
	background: var(--color-gray-800);
	color: var(--color-white);
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-family: var(--font-display);
}

.drawer__header h2 {
	margin: 0;
	font-size: 1.4rem;
	font-weight: 600;
	color: var(--color-white);
}

.drawer__close {
	background: rgba(255, 255, 255, 0.15);
	border: none;
	color: var(--color-white);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
}

.drawer__close:hover {
	background: rgba(255, 255, 255, 0.3);
}

.drawer__close:focus-visible {
	outline: 3px solid var(--color-yellow-light);
	outline-offset: 2px;
}

.drawer__body {
	padding: 30px 24px 32px;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.a11y-option {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.a11y-option > label {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.0625rem;
	color: var(--color-gray-800);
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	min-height: 44px;
}

.a11y-option-controls {
	display: flex;
	gap: 8px;
}

.a11y-option-controls button {
	flex: 1;
	min-height: 48px;
	padding: 10px 16px;
	border: 2px solid #d9d3c7;
	background: var(--color-white);
	color: var(--color-gray-800);
	border-radius: var(--radius-pill);
	cursor: pointer;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1rem;
	transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.a11y-option-controls button:hover {
	background: var(--color-gray-200);
	border-color: var(--color-gray-400);
}

.a11y-option-controls button:focus-visible {
	outline: 3px solid var(--color-blue);
	outline-offset: 2px;
}

/* Aktiver Pill-Zustand (für Schriftgröße: das aktuell gewählte Level
   wird via aria-pressed=true markiert). Gelber Fill statt Outline →
   sofort erkennbar welcher Modus aktiv ist. */
.a11y-option-controls button[aria-pressed="true"],
.a11y-option-controls button.is-active {
	background: var(--color-yellow-light);
	border-color: var(--color-yellow);
	color: var(--color-gray-800);
	box-shadow: 0 0 0 2px rgba(212, 168, 0, 0.18);
}

/* Custom-Toggle-Switch statt Default-Checkbox — touch-freundlicher
   und visuell ansprechender. Versteckt die echte Checkbox visuell,
   stellt sie aber barrierefrei zur Verfügung. */
.a11y-option input[type="checkbox"] {
	position: relative;
	width: 52px;
	height: 28px;
	appearance: none;
	-webkit-appearance: none;
	background: #d8d3c7;
	box-shadow: inset 0 0 0 1px rgba(58, 53, 46, 0.14);
	border-radius: 9999px;
	cursor: pointer;
	flex-shrink: 0;
	transition: background 0.2s, box-shadow 0.2s;
	margin: 0;
}

.a11y-option input[type="checkbox"]::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 22px;
	height: 22px;
	background: var(--color-white);
	border-radius: 50%;
	box-shadow:
		0 2px 6px rgba(58, 53, 46, 0.22),
		0 0 0 1px rgba(58, 53, 46, 0.12);
	transition: transform 0.2s;
}

.a11y-option input[type="checkbox"]:checked {
	background: var(--color-green);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.a11y-option input[type="checkbox"]:checked::after {
	transform: translateX(24px);
}

.a11y-option input[type="checkbox"]:focus-visible {
	outline: 3px solid var(--color-blue);
	outline-offset: 2px;
}

/* Hint-Block als eigener Info-Bereich (nicht „Resttext") — eigener
   Hintergrund, Padding, Border-Radius, klar abgegrenzt unter den
   Optionen. Color gray-600 statt gray-400 für WCAG-AA-Lesbarkeit
   (Kontrast-Ratio ~5.2:1 auf #f5f2ea, gegen 4.5:1 Mindestanforderung). */
.a11y-hint {
	margin: 4px 0 0;
	padding: 14px 16px;
	background: #f5f2ea;
	border: 1px solid var(--color-gray-200);
	border-radius: var(--radius-md);
	color: var(--color-gray-600);
	font-size: 0.85rem;
	line-height: 1.5;
}
