/* =========================================================
   Brau Loft Freiburg – Hauptstyles
   Farben: Anthrazit, Gold, Creme  ·  Schriften lokal (DSGVO)
   ========================================================= */

@font-face { font-family: "Cormorant Garamond"; src: url(../fonts/cormorant-garamond-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(../fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(../fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(../fonts/cormorant-garamond-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(../fonts/cormorant-garamond-latin-500-italic.woff2) format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url(../fonts/jost-latin-300-normal.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Jost"; src: url(../fonts/jost-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jost"; src: url(../fonts/jost-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
	--anth: #1E1F21;
	--anth-2: #26272A;
	--anth-3: #313236;
	--gold: #C9A24D;
	--gold-dark: #A9842F;
	--cream: #F4EFE6;
	--cream-2: #EAE2D4;
	--text: #2A2A2C;
	--text-light: #E9E4DA;
	--muted-light: rgba(233, 228, 218, .68);
	--serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--sans: "Jost", "Helvetica Neue", Arial, sans-serif;
	--max: 1200px;
	--ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
	margin: 0;
	background: var(--anth);
	color: var(--text-light);
	font-family: var(--sans);
	font-weight: 300;
	font-size: 17px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .25s; }
a:hover { color: #E3C27A; }

h1, h2, h3, h4 {
	font-family: var(--serif);
	font-weight: 500;
	line-height: 1.12;
	margin: 0 0 .5em;
	letter-spacing: .01em;
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.3rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1.2em; }

.kicker {
	font-family: var(--serif);
	font-style: italic;
	font-size: 1.45rem;
	color: var(--gold);
	margin: 0 0 .3em;
	letter-spacing: .02em;
}
.muted { color: var(--muted-light); }
.center { text-align: center; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.container.narrow { max-width: 820px; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 999; background: var(--gold); color: var(--anth); padding: 8px 14px; }

/* Ornament-Trenner */
.divider { display: flex; justify-content: center; margin: 18px 0 30px; }
.divider span { position: relative; width: 90px; height: 1px; background: var(--gold); }
.divider span::after {
	content: ""; position: absolute; left: 50%; top: 50%;
	width: 7px; height: 7px; border: 1px solid var(--gold); background: inherit;
	transform: translate(-50%, -50%) rotate(45deg);
}
.section-dark .divider span::after, .site-footer .divider span::after { background: var(--anth); }
.section-cream .divider span::after { background: var(--cream); }
.divider.left { justify-content: flex-start; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 34px;
	font-family: var(--sans); font-weight: 500; font-size: .78rem;
	letter-spacing: .22em; text-transform: uppercase;
	border: 1px solid transparent; border-radius: 0;
	transition: all .3s var(--ease); cursor: pointer;
}
.btn-small { padding: 10px 20px; font-size: .7rem; }
.btn-gold { background: var(--gold); color: var(--anth); border-color: var(--gold); }
.btn-gold:hover { background: transparent; color: var(--gold); }
.btn-outline { border-color: var(--gold); color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--anth); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--anth); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.btn-row.center { justify-content: center; }

/* ---------------- Header ---------------- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 50;
	background: rgba(30, 31, 33, .96);
	border-bottom: 1px solid rgba(201, 162, 77, .18);
	transition: background .4s, border-color .4s, padding .4s;
}
.site-header.is-transparent:not(.is-scrolled) { background: transparent; border-color: transparent; }
.header-inner {
	max-width: 1400px; margin: 0 auto; padding: 18px 32px;
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	transition: padding .4s;
}
.is-scrolled .header-inner { padding-top: 11px; padding-bottom: 11px; }
.site-logo img { height: 52px; width: auto; transition: height .4s; }
.is-scrolled .site-logo img { height: 42px; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.menu-toggle {
	display: flex; align-items: center; gap: 12px;
	background: none; border: 0; color: #fff; cursor: pointer; padding: 6px 0;
	font-family: var(--sans); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase;
}
.burger { position: relative; width: 30px; height: 12px; }
.burger span { position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .35s var(--ease), top .35s; }
.burger span:first-child { top: 0; }
.burger span:last-child { top: 11px; }
.menu-open .burger span:first-child { top: 6px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 6px; transform: rotate(-45deg); }
.menu-open .site-header { background: transparent; border-color: transparent; }

/* Vollbild-Menü */
.fullmenu {
	position: fixed; inset: 0; z-index: 40;
	background: var(--anth);
	opacity: 0; visibility: hidden;
	transition: opacity .5s var(--ease), visibility .5s;
	overflow-y: auto;
}
.menu-open .fullmenu { opacity: 1; visibility: visible; }
.fullmenu-inner {
	min-height: 100%; max-width: 1200px; margin: 0 auto; padding: 130px 32px 60px;
	display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center;
}
.fullmenu-nav ul { list-style: none; margin: 0; padding: 0; }
.fullmenu-nav li { overflow: hidden; }
.fullmenu-nav a {
	display: inline-block; color: var(--text-light);
	font-family: var(--serif); font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.3;
	transform: translateY(100%); transition: transform .6s var(--ease), color .25s;
}
.fullmenu-nav a:hover { color: var(--gold); }
.menu-open .fullmenu-nav a { transform: none; }
.fullmenu-nav li:nth-child(2) a { transition-delay: .04s; }
.fullmenu-nav li:nth-child(3) a { transition-delay: .08s; }
.fullmenu-nav li:nth-child(4) a { transition-delay: .12s; }
.fullmenu-nav li:nth-child(5) a { transition-delay: .16s; }
.fullmenu-nav li:nth-child(6) a { transition-delay: .2s; }
.fullmenu-nav li:nth-child(7) a { transition-delay: .24s; }
.fullmenu-aside { border-left: 1px solid rgba(201, 162, 77, .3); padding-left: 50px; color: var(--muted-light); }
.fullmenu-logo img { width: 220px; margin-bottom: 30px; }
body.menu-open { overflow: hidden; }

/* ---------------- Hero ---------------- */
.hero {
	position: relative; min-height: 100vh; min-height: 100svh;
	display: flex; align-items: center; justify-content: center; text-align: center;
	background: var(--hero) center/cover no-repeat;
	padding: 140px 24px 100px;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 20, 22, .72) 0%, rgba(20, 20, 22, .56) 45%, rgba(20, 20, 22, .82) 100%); }
.hero-content { position: relative; max-width: 860px; }
.hero h1 { color: #fff; }
.hero-text { font-size: 1.15rem; color: rgba(255, 255, 255, .88); max-width: 640px; margin: 0 auto; }
.hero .btn-row { justify-content: center; }
.hero .kicker { font-size: 1.7rem; }
.scroll-hint { position: absolute; bottom: 34px; left: 50%; width: 1px; height: 60px; background: rgba(255, 255, 255, .25); transform: translateX(-50%); overflow: hidden; }
.scroll-hint span { position: absolute; left: 0; top: -30px; width: 1px; height: 30px; background: var(--gold); animation: scrollhint 2.2s infinite var(--ease); }
@keyframes scrollhint { to { top: 60px; } }

/* ---------------- Sections ---------------- */
.section { padding: 120px 0; }
.section-dark { background: var(--anth); }
.section-cream { background: var(--cream); color: var(--text); }
.section-cream h2, .section-cream h3 { color: var(--anth); }
.section-cream .kicker { color: var(--gold-dark); }
.lead { font-size: 1.12rem; }
.section-dark .lead { color: var(--muted-light); }

.facts {
	list-style: none; margin: 70px auto 0; padding: 0;
	display: flex; flex-wrap: wrap; justify-content: center;
	border-top: 1px solid rgba(201, 162, 77, .25); border-bottom: 1px solid rgba(201, 162, 77, .25);
}
.facts li {
	flex: 1 1 200px; text-align: center; padding: 28px 16px;
	font-family: var(--serif); font-size: 1.45rem; color: #fff;
}
.facts li + li { border-left: 1px solid rgba(201, 162, 77, .25); }

/* Galerie */
.gallery-section { background: var(--anth); padding: 0 0 8px; }
.gallery { display: grid; gap: 8px; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 26vw; max-height: none; }
.gallery-item { position: relative; overflow: hidden; display: block; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.gallery-item:hover img { transform: scale(1.05); filter: brightness(1.08); }
.gallery-item::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(201, 162, 77, 0); transition: border-color .5s; pointer-events: none; }
.gallery-item:hover::after { border-color: rgba(201, 162, 77, .7); }
.gallery-4 .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-4 .gallery-item:nth-child(2) { grid-column: span 2; }
.gallery-4 .gallery-item:nth-child(3), .gallery-4 .gallery-item:nth-child(4) { grid-column: span 1; }
.gallery-1, .gallery-2, .gallery-3 { grid-template-columns: repeat(var(--cols, 3), 1fr); grid-auto-rows: 32vw; }
.gallery-1 { --cols: 1; } .gallery-2 { --cols: 2; }
.gallery-5 .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-6 { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 24vw; }

/* Ausstattung */
.amenities {
	list-style: none; margin: 30px 0 0; padding: 0;
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
	background: var(--cream-2); border: 1px solid var(--cream-2);
}
.amenities li {
	background: var(--cream); padding: 38px 26px; text-align: center;
	display: flex; flex-direction: column; align-items: center; gap: 16px;
	font-size: .98rem; line-height: 1.5;
}
.amenities .icon { width: 40px; height: 40px; color: var(--gold-dark); }

/* Split (Das Haus) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.split-media { margin: 0; position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split-media::before { content: ""; position: absolute; inset: -22px 22px 22px -22px; border: 1px solid rgba(201, 162, 77, .45); z-index: 0; pointer-events: none; }
.split-media img { position: relative; z-index: 1; }
.split-text p { color: var(--muted-light); }

/* Bild-Sektion (Lage) */
.section-image { position: relative; background: var(--bg) center/cover fixed no-repeat; color: #fff; padding: 160px 0; }
.section-image::before { content: ""; position: absolute; inset: 0; background: rgba(20, 20, 22, .78); }
.section-image > * { position: relative; }
.section-image .lead { color: rgba(255, 255, 255, .85); }
.section-image .divider span::after { background: #2a2a2c; }
address { font-style: normal; font-family: var(--serif); font-size: 1.35rem; margin: 10px 0 24px; }
@media (hover: none) { .section-image { background-attachment: scroll; } }

/* Buchen */
#buchen { border-top: 1px solid rgba(201, 162, 77, .15); }
.price { font-family: var(--serif); font-size: 2rem; color: var(--gold); margin: 10px 0 0; }
.booking-embed { margin-top: 30px; }
.booking-embed iframe { width: 100%; min-height: 600px; border: 0; background: #fff; }
.times { margin-top: 26px; font-size: .9rem; letter-spacing: .08em; }

/* Unterseiten */
.page-hero {
	position: relative; padding: 200px 0 90px; color: #fff;
	background: var(--anth) var(--bg, none) center/cover no-repeat;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(20, 20, 22, .7); }
.page-hero > * { position: relative; }
.entry-content { font-size: 1.05rem; }
.entry-content h2 { font-size: 2rem; margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.post-teaser { padding: 30px 0; border-bottom: 1px solid var(--cream-2); }
.post-teaser h2 a { color: var(--anth); }

/* ---------------- Footer ---------------- */
.site-footer { background: #161718; color: var(--muted-light); padding-top: 90px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 60px; padding-bottom: 70px; }
.footer-logo img { width: 230px; }
.site-footer h3 { font-family: var(--sans); font-size: .75rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; line-height: 2; }
.contact-list a { color: var(--text-light); }
.contact-list a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .07); padding: 22px 0; font-size: .82rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.footer-bottom a { color: var(--muted-light); }
.footer-bottom a:hover { color: var(--gold); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12, 12, 13, .95); display: flex; align-items: center; justify-content: center; padding: 40px 70px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; max-width: 100%; width: auto; box-shadow: 0 20px 80px rgba(0, 0, 0, .6); }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 3rem; line-height: 1; cursor: pointer; padding: 10px; opacity: .75; }
.lightbox button:hover { opacity: 1; color: var(--gold); }
.lightbox-close { top: 18px; right: 24px; }
.lightbox-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* Einblend-Animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; transition: none; }
	html { scroll-behavior: auto; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1000px) {
	.amenities { grid-template-columns: repeat(2, 1fr); }
	.split { grid-template-columns: 1fr; gap: 60px; }
	.split-media { max-width: 520px; margin: 0 auto; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
	.fullmenu-inner { grid-template-columns: 1fr; gap: 40px; align-content: center; }
	.fullmenu-aside { border-left: 0; padding-left: 0; border-top: 1px solid rgba(201, 162, 77, .3); padding-top: 30px; }
	.fullmenu-logo { display: none; }
}
@media (max-width: 700px) {
	body { font-size: 16px; }
	.section { padding: 84px 0; }
	.header-inner { padding: 14px 20px; }
	.site-logo img, .is-scrolled .site-logo img { height: 38px; }
	.header-book, .menu-toggle-label { display: none; }
	.gallery, .gallery-4, .gallery-5, .gallery-6 { grid-template-columns: 1fr 1fr; grid-auto-rows: 46vw; }
	.gallery-4 .gallery-item:nth-child(1), .gallery-5 .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
	.gallery-4 .gallery-item:nth-child(2) { grid-column: span 2; }
	.facts li { flex-basis: 50%; }
	.facts li:nth-child(odd) { border-left: 0; }
	.facts li:nth-child(n+3) { border-top: 1px solid rgba(201, 162, 77, .25); }
	.amenities li { padding: 28px 14px; font-size: .9rem; }
	.footer-grid { grid-template-columns: 1fr; gap: 40px; }
	.footer-bottom-inner { flex-direction: column; text-align: center; }
	.split-media::before { inset: -12px 12px 12px -12px; }
	.lightbox { padding: 20px 10px; }
}
