/*
Theme Name: Burgcafé Langenfeld
Theme URI: https://burgcafe-langenfeld.lead.bummeltech.com/
Author: Burgcafé Langenfeld
Description: Individuelles Theme für das Burgcafé in der Wasserburg Haus Graven, Langenfeld. Historisch-elegantes Café mit Terrasse, Slider und Gutenberg-pflegbaren Inhalten.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: burgcafe
*/

/* =======================================================
   FONTS — lokal gehostet (DSGVO, keine Google-Anfrage)
   ======================================================= */
@font-face {
	font-family: 'Karla';
	src: url('fonts/karla-400.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Karla';
	src: url('fonts/karla-400italic.woff2') format('woff2');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: 'Karla';
	src: url('fonts/karla-500.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Karla';
	src: url('fonts/karla-600.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Karla';
	src: url('fonts/karla-700.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Playfair Display';
	src: url('fonts/playfair-600.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Playfair Display';
	src: url('fonts/playfair-700.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Playfair Display';
	src: url('fonts/playfair-800.woff2') format('woff2');
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Playfair Display';
	src: url('fonts/playfair-500italic.woff2') format('woff2');
	font-weight: 500;
	font-style: italic;
	font-display: swap;
}

/* =======================================================
   DESIGN TOKENS
   Committed color strategy: Flaschengrün (Fensterläden/Efeu der
   Wasserburg) als Primärfarbe, Bordeaux (Kaminzimmer) als Akzent,
   warmer Stein-Ton als Hintergrund. Keine AI-Cream-Standardpalette.
   ======================================================= */
:root {
	--color-primary: #2C4A38;
	--color-primary-dark: #1D3226;
	--color-primary-light: #3F6650;
	--color-accent: #7A2E2E;
	--color-accent-dark: #5E2222;
	--color-gold: #A9863E;

	--color-bg: #F6F1E6;
	--color-surface: #FFFDF8;
	--color-surface-alt: #EFE6D2;
	--color-ink: #1E2620;
	--color-ink-muted: #48544A;
	--color-border: #DED0AE;

	--font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--font-body: 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	--container-w: 1200px;
	--radius-sm: 8px;
	--radius-md: 14px;
	--radius-lg: 22px;

	--shadow-sm: 0 1px 2px rgba(30, 38, 32, 0.06), 0 2px 8px rgba(30, 38, 32, 0.05);
	--shadow-md: 0 8px 24px rgba(30, 38, 32, 0.10), 0 2px 6px rgba(30, 38, 32, 0.06);
	--shadow-lg: 0 24px 60px rgba(30, 38, 32, 0.16), 0 6px 16px rgba(30, 38, 32, 0.08);

	--ease-out: cubic-bezier(0.23, 1, 0.32, 1);
	--ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

	--z-nav: 50;
	--z-drawer: 60;
	--z-overlay: 55;
}

/* =======================================================
   RESET & BASE
   ======================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--color-ink);
	background: var(--color-bg);
	overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
svg { max-width: 100%; height: auto; }
.icon { width: 1.4em; height: 1.4em; flex: 0 0 auto; vertical-align: middle; }

a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; margin: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 0.5em;
	color: var(--color-primary-dark);
	text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 3.2vw + 1.4rem, 3.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 1.8vw + 1.2rem, 2.75rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.3rem, 0.6vw + 1.1rem, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; text-wrap: pretty; }
.lede { font-size: clamp(1.05rem, 0.4vw + 1rem, 1.25rem); color: var(--color-ink-muted); max-width: 62ch; }

.container {
	width: 100%;
	max-width: var(--container-w);
	margin-inline: auto;
	padding-inline: 24px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-accent);
}
.eyebrow::before {
	content: '';
	width: 26px;
	height: 1.5px;
	background: var(--color-gold);
}

section { position: relative; }

/* Focus states — sichtbar für Tastaturnutzung */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 2.5px solid var(--color-accent);
	outline-offset: 3px;
	border-radius: 4px;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	padding: 0.85em 1.6em;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.98rem;
	border: 1.5px solid transparent;
	transition: transform 200ms var(--ease-out), background-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out), color 200ms var(--ease-out);
	min-height: 44px;
	white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
	background: var(--color-accent);
	color: #FFF9F0;
	box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--color-accent-dark); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn-primary:active { transform: scale(0.97) translateY(0); }

.btn-ghost {
	background: transparent;
	color: var(--color-primary-dark);
	border-color: var(--color-border);
}
.btn-ghost:hover { background: var(--color-surface-alt); border-color: var(--color-primary-light); }

.btn-invert {
	background: #FFF9F0;
	color: var(--color-primary-dark);
}
.btn-invert:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }

.section-head {
	max-width: 640px;
	margin-bottom: 3rem;
}
.section-head.center { margin-inline: auto; text-align: center; }

.visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: 12px; top: -60px;
	background: var(--color-primary-dark);
	color: #fff;
	padding: 10px 18px;
	border-radius: var(--radius-sm);
	z-index: 200;
	transition: top 200ms var(--ease-out);
}
.skip-link:focus { top: 12px; }
