/* --------------------------------------------------------------------------
   Aurelia Restaurant – layout, header fade, responsive
   -------------------------------------------------------------------------- */

:root {
	--aurelia-gold: #c9a227;
	--aurelia-gold-soft: #e6d08a;
	--aurelia-ink: #1a1612;
	--aurelia-ink-soft: #3b342c;
	--aurelia-cream: #f6f1e7;
	--aurelia-paper: #fbf8f2;
	--aurelia-overlay: 0.45;
	--aurelia-header-height: 168px;
	--aurelia-header-image: none;
	--aurelia-hero-logo-width: 420px;
	--font-serif: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
	--font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--aurelia-ink);
	background: var(--aurelia-paper);
	font-family: var(--font-sans);
	font-weight: 400;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

h1, h2, h3, h4 {
	font-family: var(--font-serif);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: 0.01em;
	margin: 0 0 0.6em;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.skip-link:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 10000;
	width: auto;
	height: auto;
	clip: auto;
	padding: 8px 14px;
	background: #fff;
	color: #000;
}

/* --------------------------------------------------------------------------
   Hero media (homepage only) – full viewport, fades out on scroll
   -------------------------------------------------------------------------- */

.hero-media {
	position: fixed;
	inset: 0;
	z-index: 1;
	overflow: hidden;
	pointer-events: none;
	opacity: 1;
	transition: opacity 0.15s linear;
}

.hero-media .hero-video,
.hero-media .hero-image,
.hero-media .hero-fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-fallback {
	background:
		radial-gradient(ellipse at 30% 20%, rgba(201, 162, 39, 0.25), transparent 50%),
		linear-gradient(160deg, #1a1612 0%, #3b2a14 45%, #1a1612 100%);
}

.hero-scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(10, 8, 6, 0.25) 0%, rgba(10, 8, 6, 0.15) 40%, rgba(10, 8, 6, 0.55) 100%);
}

body.aurelia-front.is-scrolled .hero-media {
	opacity: 0;
}

/* --------------------------------------------------------------------------
   Header – identical on all pages; golden; menu at bottom edge
   -------------------------------------------------------------------------- */

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 40;
	height: var(--aurelia-header-height);
	color: #fff;
	isolation: isolate;
}

.header-bg,
.header-gold {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.header-bg {
	background-image: var(--aurelia-header-image);
	background-size: cover;
	background-position: center;
}

.header-gold {
	background: var(--aurelia-gold);
	opacity: 1;
}

.header-gold-bar {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: var(--aurelia-gold);
	z-index: 5;
	pointer-events: none;
}

/* When a header image exists, gold becomes a translucent overlay */
body:not(.no-header-image) .header-gold {
	background: var(--aurelia-gold);
	opacity: var(--aurelia-overlay);
	mix-blend-mode: multiply;
}

body:not(.no-header-image) .site-header::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(26, 22, 18, 0.15), rgba(26, 22, 18, 0.45));
	pointer-events: none;
}

/* Homepage: header chrome starts invisible so the video can fill the screen */
body.aurelia-front:not(.is-scrolled) .site-header .header-bg,
body.aurelia-front:not(.is-scrolled) .site-header .header-gold,
body.aurelia-front:not(.is-scrolled) .site-header .header-gold-bar,
body.aurelia-front:not(.is-scrolled) .site-header::after {
	opacity: 0;
}

body.aurelia-front .site-header .header-bg,
body.aurelia-front .site-header .header-gold,
body.aurelia-front .site-header .header-gold-bar,
body.aurelia-front .site-header::after {
	transition: opacity 0.45s var(--ease);
}

body.aurelia-front.is-scrolled .site-header .header-bg {
	opacity: 1;
}

body.aurelia-front.is-scrolled .site-header .header-gold {
	opacity: var(--aurelia-overlay);
}

body.aurelia-front.is-scrolled .site-header .header-gold-bar {
	opacity: 1;
}

body.no-header-image.aurelia-front.is-scrolled .site-header .header-gold {
	opacity: 1;
}

.header-inner {
	position: relative;
	z-index: 3;
	height: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 14px 28px 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.header-brand {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 56px;
}

.header-brand .custom-logo-link img,
.header-brand .custom-logo {
	max-height: 56px;
	width: auto;
}

.site-title {
	font-family: var(--font-serif);
	font-size: clamp(1.6rem, 2.4vw, 2.2rem);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

.site-tagline {
	display: none;
	font-size: 0.78rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	opacity: 0.85;
}

/* Navigation sits on the bottom edge of the header */
.site-navigation {
	border-top: 1px solid rgba(255, 255, 255, 0.28);
	padding: 8px 0 12px;
}

.site-navigation .menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 28px;
}

.site-navigation .menu > .menu-item > a {
	display: inline-block;
	padding: 8px 0;
	font-size: 0.78rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #fff;
	position: relative;
}

.site-navigation .menu > .menu-item > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 4px;
	height: 1px;
	background: #fff;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--ease);
}

.site-navigation .menu > .menu-item > a:hover::after,
.site-navigation .menu > .current-menu-item > a::after {
	transform: scaleX(1);
}

.site-navigation .sub-menu {
	list-style: none;
	margin: 0;
	padding: 8px 0;
	position: absolute;
	min-width: 200px;
	background: #1a1612;
	border: 1px solid var(--aurelia-gold);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: 0.2s var(--ease);
	z-index: 20;
}

.site-navigation .menu-item-has-children {
	position: relative;
}

.site-navigation .menu-item-has-children:hover > .sub-menu,
.site-navigation .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.site-navigation .sub-menu a {
	display: block;
	padding: 8px 16px;
	font-size: 0.82rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
}

.site-navigation .sub-menu a:hover {
	color: var(--aurelia-gold-soft);
}

.nav-toggle {
	display: none;
	position: absolute;
	top: 18px;
	right: 20px;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.4);
	background: transparent;
	cursor: pointer;
	z-index: 5;
}

.nav-toggle-bar {
	display: block;
	width: 18px;
	height: 1px;
	margin: 5px auto;
	background: #fff;
}

/* Homepage: brand + menu start over the video, then lock into the compact header */
body.aurelia-front:not(.is-scrolled) .site-header {
	height: 100vh;
	pointer-events: none;
}

body.aurelia-front:not(.is-scrolled) .header-inner {
	pointer-events: auto;
	padding-top: 28px;
}

body.aurelia-front:not(.is-scrolled) .site-navigation {
	border-top-color: rgba(255, 255, 255, 0.35);
}

body.aurelia-front .site-header {
	transition: height 0.55s var(--ease), background 0.45s var(--ease);
}

body.aurelia-front.is-scrolled .site-header {
	height: var(--aurelia-header-height);
	box-shadow: 0 8px 30px rgba(26, 22, 18, 0.18);
}

/* Inner pages already show the compact golden header */
body.aurelia-inner .site-header {
	box-shadow: 0 8px 30px rgba(26, 22, 18, 0.18);
}

/* --------------------------------------------------------------------------
   Hero stage (homepage copy sitting in the viewport)
   -------------------------------------------------------------------------- */

.hero-stage {
	position: relative;
	z-index: 2;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #fff;
	padding: calc(var(--aurelia-header-height) + 24px) 24px 80px;
}

.hero-copy {
	max-width: 860px;
}

.hero-title {
	font-size: clamp(3rem, 8vw, 7rem);
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin: 0 0 12px;
	text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.hero-title-logo {
	text-shadow: none;
	letter-spacing: 0;
	text-transform: none;
	margin: 0 auto 16px;
	max-width: min(var(--aurelia-hero-logo-width), 90vw);
}

.hero-title-logo img {
	width: 100%;
	height: auto;
	margin: 0 auto;
	filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.35));
}

.hero-subtitle {
	margin: 0 auto 28px;
	max-width: 32em;
	font-size: clamp(0.95rem, 1.6vw, 1.15rem);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	opacity: 0.92;
}

.btn-gold {
	display: inline-block;
	padding: 14px 28px;
	border: 1px solid var(--aurelia-gold);
	background: var(--aurelia-gold);
	color: #1a1612;
	font-size: 0.78rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	transition: 0.25s var(--ease);
}

.btn-gold:hover {
	background: transparent;
	color: #fff;
}

.scroll-hint {
	display: block;
	margin: 48px auto 0;
	width: 28px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 16px;
	background: transparent;
	cursor: pointer;
	position: relative;
}

.scroll-hint span {
	position: absolute;
	top: 8px;
	left: 50%;
	width: 4px;
	height: 8px;
	margin-left: -2px;
	border-radius: 2px;
	background: #fff;
	animation: aurelia-pulse 1.6s var(--ease) infinite;
}

@keyframes aurelia-pulse {
	0% { transform: translateY(0); opacity: 1; }
	70% { transform: translateY(14px); opacity: 0; }
	100% { transform: translateY(14px); opacity: 0; }
}

/* --------------------------------------------------------------------------
   Page content
   -------------------------------------------------------------------------- */

.site {
	position: relative;
	z-index: 3;
	background: var(--aurelia-paper);
}

body.aurelia-inner .site-content,
body.aurelia-front.is-scrolled .site-content {
	padding-top: 0;
}

body.aurelia-inner .site-content {
	padding-top: 0;
}

body.aurelia-inner .content-wrap {
	padding-top: calc(var(--aurelia-header-height) + 48px);
}

body.aurelia-front .front-content {
	position: relative;
	z-index: 3;
	background: var(--aurelia-paper);
	padding-top: 72px;
}

.content-wrap {
	width: min(1120px, calc(100% - 40px));
	margin: 0 auto 80px;
}

body.elementor-page .content-wrap,
body.elementor-page .front-content {
	width: 100%;
	max-width: none;
	margin: 0;
	padding-left: 0;
	padding-right: 0;
}

body.elementor-page.aurelia-inner .content-wrap {
	padding-top: var(--aurelia-header-height);
}

body.elementor-page .entry-header {
	display: none;
}

.page-title {
	font-size: clamp(2.2rem, 4vw, 3.4rem);
	margin-bottom: 0.4em;
}

.eyebrow {
	font-size: 0.75rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--aurelia-gold);
	margin: 0 0 10px;
}

.intro-block {
	text-align: center;
	padding: 40px 16px 80px;
	max-width: 720px;
	margin: 0 auto;
}

.intro-block h2 {
	font-size: clamp(2rem, 4vw, 3rem);
}

.entry-content > * + * {
	margin-top: 1.1em;
}

.entry-content h2,
.entry-content h3 {
	margin-top: 1.4em;
}

.featured-media img {
	width: 100%;
	max-height: 520px;
	object-fit: cover;
	margin: 8px 0 28px;
}

.posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 28px;
}

.card {
	background: #fff;
	border: 1px solid rgba(26, 22, 18, 0.08);
}

.card-media img {
	width: 100%;
	height: 220px;
	object-fit: cover;
}

.card-body {
	padding: 22px;
}

.card-title {
	font-size: 1.6rem;
}

.text-link {
	display: inline-block;
	margin-top: 10px;
	font-size: 0.75rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--aurelia-gold);
	border-bottom: 1px solid currentColor;
}

.empty-state {
	text-align: center;
	padding: 80px 16px;
}

.pagination-wrap {
	margin-top: 40px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
	background: var(--aurelia-ink);
	color: #f6f1e7;
	padding: 64px 0 24px;
}

.footer-inner {
	width: min(1120px, calc(100% - 40px));
	margin: 0 auto;
}

.footer-widgets {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

.widget-title {
	font-size: 1.4rem;
	color: var(--aurelia-gold-soft);
}

.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-menu a:hover {
	color: var(--aurelia-gold-soft);
}

.footer-bar {
	margin-top: 48px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.85rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.footer-bar .copyright {
	opacity: 0.8;
	margin: 0;
}

.footer-social-list,
.footer-col .footer-social-list,
.widget .footer-social-list,
.widget ul.footer-social-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.footer-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--aurelia-gold);
	color: var(--aurelia-gold-soft);
	transition: 0.2s var(--ease);
}

.footer-social-link svg {
	width: 18px;
	height: 18px;
	display: block;
}

.footer-social-link:hover {
	background: var(--aurelia-gold);
	color: var(--aurelia-ink);
}

/* Custom-HTML / Listen-Widgets horizontal, wenn Klasse footer-social gesetzt ist */
.footer-social ul,
.widget.footer-social ul,
.footer-col .social-icons,
.footer-col .wp-block-social-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.footer-social li,
.widget.footer-social li {
	display: inline-flex;
	margin: 0;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

input, textarea, select, button {
	font: inherit;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 880px) {
	:root {
		--aurelia-header-height: 132px;
	}

	.header-inner {
		padding: 10px 16px 0;
	}

	.nav-toggle {
		display: block;
	}

	.site-navigation {
		display: none;
		border-top: 0;
		padding: 0;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--aurelia-gold);
		box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
	}

	body:not(.no-header-image) .site-navigation {
		background: color-mix(in srgb, var(--aurelia-gold) 92%, #1a1612);
	}

	.site-header.is-open .site-navigation {
		display: block;
	}

	.site-navigation .menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px 0 16px;
	}

	.site-navigation .menu > .menu-item > a {
		padding: 12px 22px;
	}

	.site-navigation .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		border: 0;
		background: rgba(0, 0, 0, 0.12);
		min-width: 0;
	}

	body.aurelia-front:not(.is-scrolled) .site-header {
		height: auto;
		min-height: 88px;
		background: transparent;
	}

	body.aurelia-front:not(.is-scrolled) .header-inner {
		min-height: 88px;
	}

	body.aurelia-front:not(.is-scrolled) .site-navigation {
		background: rgba(26, 22, 18, 0.92);
	}

	.hero-stage {
		min-height: 100svh;
		padding-top: 120px;
	}

	.footer-widgets {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.hero-title {
		letter-spacing: 0.08em;
	}

	.hero-subtitle {
		letter-spacing: 0.08em;
	}

	.content-wrap {
		width: calc(100% - 28px);
	}
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.hero-media,
	.site-header,
	.header-bg,
	.header-gold,
	.scroll-hint span {
		transition: none !important;
		animation: none !important;
	}
}
