/*
Theme Name: Braumeister Onepager
Theme URI: https://example.com
Author: Lebe Games
Description: Dunkler Onepager für „Braumeister – Der Brauerei-Tycoon“. Keine Google Fonts, Custom-Logo über den Customizer.
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: braumeister-onepage
*/

:root {
	--bg: #0c0e11;
	--bg-elevated: #14181f;
	--text: #e6e2dc;
	--text-muted: #9a948a;
	--accent: #c9a227;
	--accent-dim: #8f7419;
	--border: #2a3038;
	--radius: 12px;
	--space: clamp(1rem, 4vw, 2rem);
	--max: 52rem;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-height: 100vh;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif;
	font-size: 1.05rem;
	line-height: 1.6;
	color: var(--text);
	background: var(--bg);
	background-image:
		radial-gradient(ellipse 120% 80% at 50% -20%, rgba(201, 162, 39, 0.12), transparent),
		linear-gradient(180deg, var(--bg) 0%, #08090b 100%);
}

a {
	color: var(--accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

a:hover {
	color: #ddb83a;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

.site-header {
	padding: var(--space);
	border-bottom: 1px solid var(--border);
	background: rgba(12, 14, 17, 0.85);
	backdrop-filter: blur(8px);
	position: sticky;
	top: 0;
	z-index: 10;
}

.site-header__inner {
	max-width: 72rem;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.custom-logo-link {
	display: block;
	line-height: 0;
}

.custom-logo-link img {
	max-height: 56px;
	width: auto;
}

.site-title {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.site-title a {
	color: var(--text);
	text-decoration: none;
}

.site-title a:hover {
	color: var(--accent);
}

.site-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	font-size: 0.95rem;
}

.site-nav .menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav .menu li {
	margin: 0;
	padding: 0;
	position: relative;
}

.site-nav .menu .sub-menu {
	position: absolute;
	left: 0;
	top: 100%;
	margin: 0.35rem 0 0;
	padding: 0.5rem 0;
	min-width: 10rem;
	list-style: none;
	background: var(--bg-elevated);
	border: 1px solid var(--border);
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
	z-index: 20;
}

.site-nav .menu .sub-menu a {
	display: block;
	padding: 0.35rem 0.85rem;
}

.site-nav .menu li:hover > .sub-menu,
.site-nav .menu li:focus-within > .sub-menu {
	display: block;
}

.site-nav .menu .sub-menu {
	display: none;
}

.site-nav a {
	color: var(--text-muted);
	text-decoration: none;
}

.site-nav a:hover {
	color: var(--accent);
}

main {
	max-width: 72rem;
	margin: 0 auto;
	padding: clamp(2rem, 6vw, 4rem) var(--space);
}

.hero {
	text-align: center;
	padding: clamp(2rem, 8vw, 5rem) 0;
}

.hero__logo {
	margin: 0 auto 1.5rem;
	max-width: 280px;
}

.hero__logo img {
	margin: 0 auto;
	max-height: 120px;
	width: auto;
}

.hero h1 {
	margin: 0 0 0.5rem;
	font-size: clamp(1.75rem, 5vw, 2.5rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.hero__tagline {
	margin: 0;
	font-size: 1.15rem;
	color: var(--text-muted);
	max-width: 36rem;
	margin-left: auto;
	margin-right: auto;
}

.section {
	margin-top: clamp(2.5rem, 6vw, 4rem);
	padding: clamp(1.5rem, 4vw, 2.25rem);
	background: var(--bg-elevated);
	border: 1px solid var(--border);
	border-radius: var(--radius);
}

.section h2 {
	margin: 0 0 1rem;
	font-size: 1.25rem;
	color: var(--accent);
	font-weight: 600;
}

.section p:last-child {
	margin-bottom: 0;
}

.feature-list {
	margin: 0;
	padding-left: 1.25rem;
	color: var(--text-muted);
}

.feature-list li {
	margin-bottom: 0.5rem;
}

.feature-list li:last-child {
	margin-bottom: 0;
}

.cta-box {
	margin-top: clamp(2rem, 5vw, 3rem);
	text-align: center;
	padding: 1.5rem;
	border: 1px dashed var(--border);
	border-radius: var(--radius);
	color: var(--text-muted);
	font-size: 0.95rem;
}

.site-footer {
	margin-top: auto;
	padding: var(--space);
	border-top: 1px solid var(--border);
	background: #08090b;
}

.site-footer__inner {
	max-width: 72rem;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	font-size: 0.9rem;
	color: var(--text-muted);
}

.site-footer a {
	color: var(--text-muted);
}

.site-footer a:hover {
	color: var(--accent);
}

.page-legal .legal-content {
	max-width: var(--max);
	margin: 0 auto;
}

.page-legal .legal-content h1 {
	font-size: 1.75rem;
	margin-top: 0;
	color: var(--text);
}

.page-legal .legal-content h2 {
	font-size: 1.1rem;
	margin-top: 1.75rem;
	color: var(--accent);
}

.page-legal .legal-content p,
.page-legal .legal-content li {
	color: var(--text-muted);
}

.screen-reader-text {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	white-space: nowrap;
}

body.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}
}
