/*
Theme Name: CFR Getränkekarte
Theme URI: https://fxwoi.de/drinks/
Author: CFR
Description: Dunkles, elegantes Theme für die CFR-Getränkekarte. Getränke und Kategorien werden im Backend unter „Getränkekarte“ gepflegt – kein Canva-Bild mehr nötig. Schriften (Belleza, Montserrat) sind lokal eingebunden (keine Google-Fonts-Anfragen).
Version: 2.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cfr
*/

/* ---------- Schriften (lokal, DSGVO-freundlich) ---------- */
@font-face { font-family: "Belleza"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/belleza-400.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/montserrat-400.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/montserrat-500.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/montserrat-600.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/montserrat-700.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap; src: url("assets/fonts/montserrat-800.woff2") format("woff2"); }

/* ---------- Farben & Grundwerte ---------- */
:root {
	--fx-bg: #0b0b0f;
	--fx-bg-deep: #14141b;
	--fx-text: #ffffff;
	--fx-muted: #a9a9b3;
	--fx-soft: #c9c9d1;
	--fx-title: #ffffff;
	--fx-pink: #ff2d95;
	--fx-green: #39ff14;
	--fx-accent: var(--fx-green);
	--fx-line: #3a3a46;
	--fx-rule: #2a2a35;
	--fx-illu: rgba(201, 201, 209, 0.55);
	--fx-head: "Belleza", "Gill Sans", "Helvetica Neue", Arial, sans-serif;
	--fx-sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--fx-width: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--fx-bg);
	color: var(--fx-text);
	font-family: var(--fx-sans);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; height: auto; }
.fx-main { flex: 1 0 auto; }
a { color: inherit; }
a:hover, a:focus-visible { color: var(--fx-accent); }
:focus-visible { outline: 2px solid var(--fx-accent); outline-offset: 3px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto;
	top: 8px; left: 8px; z-index: 1000;
	padding: 8px 14px;
	background: var(--fx-text); color: var(--fx-bg);
	font-family: var(--fx-sans); font-size: 14px;
}

.fx-wrap {
	width: 100%;
	max-width: var(--fx-width);
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------- Kopfbereich (nur Impressum, Datenschutz …) ---------- */
.fx-header .fx-wrap {
	display: flex;
	align-items: center;
	padding-top: 32px;
}
.fx-brand { display: inline-block; line-height: 0; color: var(--fx-text); }
.fx-brand img, .fx-brand svg { width: auto; height: 40px; }

/* ---------- Getränkekarte ---------- */
.fx-menu { padding: 72px 0 40px; overflow: hidden; }

.fx-menu__head {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 48px;
	margin-bottom: 40px;
	min-height: 200px;
}
.fx-menu__title {
	position: relative;
	z-index: 1;
	margin: 0;
	font-family: var(--fx-head);
	font-weight: 400;
	font-size: clamp(30px, 4.6vw, 48px);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--fx-title);
	text-shadow: 0 0 18px var(--fx-bg), 0 0 6px var(--fx-bg);
}
.fx-menu__branch {
	position: absolute;
	left: 4%;
	top: -80px;
	width: 440px;
	opacity: 0.5;
	pointer-events: none;
}
.fx-menu__logo { justify-self: center; line-height: 0; color: var(--fx-text); }
.fx-menu__logo img, .fx-menu__logo svg { width: auto; height: 76px; }

.fx-menu__cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: start;
}

.fx-cat { position: relative; margin-bottom: 56px; }
.fx-cat:last-child { margin-bottom: 0; }

.fx-cat__title {
	position: relative;
	z-index: 1;
	margin: 0 0 22px;
	font-family: var(--fx-head);
	font-weight: 400;
	font-size: 17px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--fx-green);
}
.fx-cat--pink .fx-cat__title { color: var(--fx-pink); }

.fx-items { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; }

.fx-item {
	display: grid;
	grid-template-columns: 1fr auto;
	column-gap: 16px;
	margin-bottom: 10px;
}
.fx-item__name {
	font-size: 16px;
	font-weight: 500;
	line-height: 1.35;
}
.fx-item__meta {
	grid-column: 1;
	font-size: 12px;
	line-height: 1.35;
	color: var(--fx-muted);
}
.fx-item__side {
	grid-column: 2;
	grid-row: 1;
	align-self: start;
	padding-top: 2px;
	font-size: 12px;
	color: var(--fx-muted);
	text-align: right;
	white-space: nowrap;
}
.fx-item__price { display: block; color: var(--fx-text); font-size: 14px; }

/* Stil „Box“ – doppelter Rahmen wie bei den Signature Drinks */
.fx-cat--box .fx-cat__box {
	position: relative;
	z-index: 1;
	padding: 30px 28px 26px;
	border: 4px double var(--fx-line);
	margin: 0;
	background: var(--fx-bg);
}
.fx-cat--box .fx-item { margin-bottom: 18px; }
.fx-cat--box .fx-item:last-child { margin-bottom: 0; }
.fx-cat--box .fx-item__name { font-weight: 600; font-size: 16px; }
.fx-cat--box .fx-item__meta { font-size: 12.5px; margin-top: 3px; }

/* Illustrationen */
.fx-illu { color: var(--fx-illu); pointer-events: none; line-height: 0; }
.fx-illu img { opacity: 0.55; }
.fx-menu__branch img, .fx-recipes__foot img { display: block; width: 100%; height: auto; }

.fx-cat--liste .fx-illu {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: auto;
	height: 100%;
	max-height: 320px;
	min-height: 140px;
	z-index: 0;
}
.fx-cat--liste .fx-illu svg, .fx-cat--liste .fx-illu img { height: 100%; width: auto; }
.fx-cat--liste.fx-cat--has-illu .fx-items { padding-right: 90px; }
.fx-cat--liste.fx-cat--has-illu.fx-cat--big .fx-items { padding-right: 0; }
.fx-cat--liste.fx-cat--big .fx-illu { right: 12%; max-height: 380px; }

.fx-cat--box .fx-illu {
	margin-top: 26px;
	color: var(--fx-text);
	opacity: 0.85;
}
.fx-cat--box .fx-illu img { opacity: 1; }
.fx-cocktails { display: flex; align-items: flex-end; max-width: 400px; }
.fx-cocktails img:first-child { width: 38%; height: auto; }
.fx-cocktails img:last-child { width: 56%; height: auto; margin-left: -4%; }

/* ---------- Zubereitung ---------- */
.fx-recipes {
	position: relative;
	padding: 70px 0 80px;
	border-top: 1px solid var(--fx-rule);
	overflow: hidden;
}
.fx-recipes__title {
	margin: 0 0 54px;
	text-align: center;
	font-family: var(--fx-head);
	font-weight: 400;
	font-size: clamp(17px, 2.3vw, 24px);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--fx-accent);
}
.fx-recipes__grid {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 300px));
	justify-content: center;
	column-gap: 140px;
	row-gap: 44px;
}
.fx-recipes__glass {
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 0;
	transform: translateX(-50%);
	color: var(--fx-illu);
	opacity: 0.45;
	pointer-events: none;
}
.fx-recipes__glass img { height: 100%; width: auto; max-width: none; opacity: 1; }
.fx-recipe { position: relative; z-index: 1; }
.fx-recipe__name { margin: 0 0 10px; font-size: 17px; font-weight: 600; line-height: 1.3; }
.fx-recipe ul {
	margin: 0;
	padding-left: 20px;
	font-size: 13px;
	line-height: 1.6;
	color: var(--fx-soft);
}
.fx-recipes__foot {
	margin: 60px auto 0;
	width: 260px;
	color: var(--fx-text);
	opacity: 0.9;
	line-height: 0;
}

/* ---------- Normale Seiten (Impressum, Datenschutz …) ---------- */
.fx-page { padding: 64px 0 96px; }
.fx-page .fx-wrap { max-width: 820px; }
.fx-page__title {
	margin: 0 0 36px;
	font-family: var(--fx-sans);
	font-weight: 800;
	font-size: clamp(28px, 4vw, 40px);
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--fx-title);
}
.fx-content {
	font-family: var(--fx-sans);
	font-size: 16px;
	line-height: 1.7;
	color: #dfe1e6;
	overflow-wrap: break-word;
}
.fx-content h1, .fx-content h2, .fx-content h3, .fx-content h4 {
	font-family: var(--fx-sans);
	font-weight: 600;
	color: var(--fx-text);
	line-height: 1.25;
	margin: 2em 0 0.6em;
}
.fx-content h2 { font-size: 24px; }
.fx-content h3 { font-size: 20px; }
.fx-content h4 { font-size: 17px; }
.fx-content a { color: var(--fx-accent); }
.fx-content table { width: 100%; border-collapse: collapse; }
.fx-content td, .fx-content th { padding: 8px; border-bottom: 1px solid rgba(255,255,255,0.12); text-align: left; }
.fx-content .alignwide, .fx-content .alignfull { max-width: 100%; }
.fx-menu__intro { margin: 0 auto 40px; max-width: 760px; text-align: center; }

/* ---------- Fußbereich ---------- */
.fx-footer {
	background: var(--fx-bg-deep);
	padding: 36px 0;
	font-family: var(--fx-sans);
	font-size: 14px;
	color: var(--fx-muted);
}
.fx-footer .fx-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px 32px;
}
.fx-social { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }
.fx-social a { display: inline-flex; width: 22px; height: 22px; color: var(--fx-text); }
.fx-social a:hover, .fx-social a:focus-visible { color: var(--fx-accent); }
.fx-social svg { width: 100%; height: 100%; }
.fx-legal { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.fx-legal a { text-decoration: none; color: var(--fx-text); }
.fx-legal a:hover { color: var(--fx-accent); }

/* ---------- Mobil ---------- */
@media (max-width: 820px) {
	.fx-brand img, .fx-brand svg { height: 30px; }
	.fx-menu { padding-top: 56px; }
	.fx-menu__head { grid-template-columns: 1fr auto; gap: 20px; min-height: 140px; }
	.fx-menu__branch { width: 260px; left: 0; top: -50px; }
	.fx-menu__logo img, .fx-menu__logo svg { height: 34px; }
	.fx-menu__cols { grid-template-columns: 1fr; gap: 56px; }
	.fx-cat--box .fx-illu { display: none; }
	.fx-recipes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
	/* Glas als eigenes Motiv über den Rezepten statt gestreckt dahinter */
	.fx-recipes__title { margin-bottom: 28px; }
	.fx-recipes__glass {
		position: static;
		grid-column: 1 / -1;
		justify-self: center;
		transform: none;
		height: 240px;
		margin-bottom: 8px;
		opacity: 0.75;
	}
	.fx-recipes__glass img { height: 100%; width: auto; }
	.fx-recipes__foot { width: 200px; margin-top: 48px; }
	.fx-cat--liste.fx-cat--big .fx-illu { right: 0; opacity: 0.6; }
}
@media (max-width: 520px) {
	.fx-wrap { padding: 0 18px; }
	.fx-cat--box .fx-cat__box { padding: 24px 18px 20px; }
	.fx-recipes__grid { grid-template-columns: 1fr; row-gap: 32px; }
	.fx-recipes__glass { height: 200px; }
	.fx-cat--liste.fx-cat--has-illu .fx-items { padding-right: 56px; }
	.fx-footer .fx-wrap { flex-direction: column; text-align: center; }
}

@media print {
	body { background: #fff; color: #000; }
	.fx-header, .fx-footer, .fx-illu, .fx-menu__branch, .fx-recipes__glass, .fx-recipes__foot { display: none; }
	.fx-cat__title, .fx-recipes__title { color: #555; }
}
