/* Weinglueck Limburg — Farben und Formen stammen aus dem Laden selbst:
   Petrol vom Samtsofa, Holzton vom Akazientisch, Pink von den Orchideen.
   Das Regalraster der Galerie zitiert die schwarze Wuerfelregalwand. */

@font-face {
	font-family: 'Gloock';
	src: url('../fonts/gloock-latin.woff2') format('woff2');
	font-weight: 400;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Gloock';
	src: url('../fonts/gloock-latin-ext.woff2') format('woff2');
	font-weight: 400;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Karla';
	src: url('../fonts/karla-latin.woff2') format('woff2');
	font-weight: 200 800;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Karla';
	src: url('../fonts/karla-latin-ext.woff2') format('woff2');
	font-weight: 200 800;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--petrol: #1b4744;
	--petrol-tief: #10302e;
	--petrol-hell: #2f6360;
	--wand: #f7f1e4;
	--wand-tief: #ece2cd;
	--tinte: #211f1c;
	--holz: #b0743d;
	--gold: #b08a2c;        /* Markengold aus dem Logo */
	--gold-hell: #d6ae52;   /* fuer Flaechen und Schrift auf Petrol */
	--rand: rgba(33, 31, 28, 0.16);

	--display: 'Gloock', 'Iowan Old Style', Georgia, serif;
	--text: 'Karla', 'Segoe UI', system-ui, sans-serif;

	--spur: 0.18em;
	--breite: 1360px;
	--luft: clamp(4.5rem, 9vw, 8rem);
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 5rem;
}

body {
	margin: 0;
	background: var(--wand);
	color: var(--tinte);
	font-family: var(--text);
	font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: inherit;
}

h1,
h2,
h3 {
	font-family: var(--display);
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: -0.015em;
	margin: 0;
}

:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 3px;
}

.nur-fuer-screenreader {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.springmarke {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 20;
	padding: 0.6rem 1rem;
	background: var(--petrol);
	color: var(--wand);
	transition: top 0.2s;
}

.springmarke:focus {
	top: 1rem;
}

.bahn {
	width: min(100% - 2.5rem, var(--breite));
	margin-inline: auto;
}

.augenbraue {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: var(--spur);
	text-transform: uppercase;
	margin: 0 0 1.1rem;
	color: var(--petrol-hell);
}

/* ---------- Kopfzeile ---------- */

.kopf {
	position: sticky;
	top: 0;
	z-index: 10;
	background: rgba(247, 241, 228, 0.94);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--rand);
}

.kopf__bahn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 5.5rem;
}

.wortmarke {
	display: block;
	line-height: 0;
}

.wortmarke img {
	height: clamp(2.8rem, 4.5vw, 3.4rem);
	width: auto;
}

.navigation {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2.4vw, 2rem);
}

.navigation a {
	font-size: 0.9rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-decoration: none;
	padding-block: 0.3rem;
	border-bottom: 2px solid transparent;
}

.navigation a:hover {
	border-bottom-color: var(--gold);
}

.navigation__telefon {
	background: var(--petrol);
	color: var(--wand);
	border-radius: 999px;
	padding: 0.6rem 1.2rem !important;
	border-bottom: 0 !important;
}

.navigation__telefon:hover {
	background: var(--petrol-tief);
}

@media (max-width: 780px) {
	.navigation a:not(.navigation__telefon) {
		display: none;
	}
}

/* ---------- Buehne ---------- */

.buehne {
	position: relative;
	min-height: min(82vh, 720px);
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	background: var(--petrol-tief);
}

.buehne__bild {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 58%;
}

.buehne__schleier {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		100deg,
		rgba(12, 26, 25, 0.94) 0%,
		rgba(14, 36, 35, 0.74) 46%,
		rgba(20, 30, 28, 0.15) 100%
	);
}

@media (max-width: 700px) {
	/* Auf schmalen Schirmen liegt der Text ueber dem ganzen Bild,
	   deshalb der Schleier von unten statt von der Seite. */
	.buehne__schleier {
		background: linear-gradient(
			10deg,
			rgba(12, 26, 25, 0.94) 12%,
			rgba(14, 36, 35, 0.78) 55%,
			rgba(20, 30, 28, 0.45) 100%
		);
	}
}

.buehne__inhalt {
	position: relative;
	color: var(--wand);
	padding-block: clamp(3.5rem, 8vw, 6rem);
	max-width: 40rem;
}

.buehne__inhalt .augenbraue {
	color: rgba(247, 241, 228, 0.75);
}

.buehne h1 {
	font-size: clamp(2.9rem, 6.4vw, 4.6rem);
	max-width: 13ch;
	text-wrap: balance;
	margin-bottom: 1.2rem;
}

.buehne p {
	font-size: clamp(1.05rem, 1.6vw, 1.25rem);
	max-width: 34rem;
	margin: 0 0 2rem;
	color: rgba(247, 241, 228, 0.92);
}

.knopfreihe {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
}

.knopf {
	display: inline-block;
	padding: 0.85rem 1.6rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	border: 2px solid transparent;
	transition: transform 0.15s ease, background 0.15s ease;
}

.knopf:hover {
	transform: translateY(-2px);
}

.knopf--voll {
	background: var(--gold-hell);
	color: var(--petrol-tief);
}

.knopf--linie {
	border-color: rgba(247, 241, 228, 0.55);
	color: var(--wand);
}

.knopf--linie:hover {
	border-color: var(--wand);
}

.knopf--dunkel {
	background: var(--petrol);
	color: var(--wand);
}

/* ---------- Allgemeine Abschnitte ---------- */

.abschnitt {
	padding-block: var(--luft);
}

.abschnitt--dunkel {
	background: var(--petrol);
	color: var(--wand);
}

.abschnitt--dunkel .augenbraue {
	color: rgba(247, 241, 228, 0.7);
}

.abschnitt__titel {
	font-size: clamp(2.1rem, 4.4vw, 3.2rem);
	max-width: 22ch;
	margin-bottom: 1.5rem;
}

.zweispalt {
	display: grid;
	gap: clamp(2.5rem, 5vw, 4.5rem);
	align-items: center;
	grid-template-columns: 1fr;
}

@media (min-width: 900px) {
	.zweispalt {
		grid-template-columns: 1fr 1fr;
	}

	.zweispalt--bild-links .zweispalt__bild {
		order: -1;
	}
}

.zweispalt p {
	max-width: 42ch;
}

.zweispalt__bild {
	position: relative;
}

.zweispalt__bild img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.zweispalt__bildunterschrift {
	font-size: 0.8rem;
	letter-spacing: 0.05em;
	color: var(--petrol-hell);
	margin: 0.7rem 0 0;
}

/* ---------- Sortiment ---------- */

.sortiment {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	margin-top: 3rem;
}

.karte {
	background: var(--wand-tief);
	/* Farbe setzen, sonst erbt die Karte im dunklen Abschnitt die helle Schrift */
	color: var(--tinte);
	display: flex;
	flex-direction: column;
}

.karte img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.karte__text {
	padding: 1.4rem 1.5rem 1.8rem;
}

.karte h3 {
	font-size: 1.5rem;
	margin-bottom: 0.6rem;
}

.karte p {
	margin: 0;
	font-size: 0.95rem;
}

/* ---------- Galerie als Regalraster ---------- */

.regal {
	margin-top: 3rem;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 3px;
	background: var(--petrol);
	padding: 3px;
}

.regal__fach {
	position: relative;
	margin: 0;
	padding: 0;
	border: 0;
	background: var(--petrol-tief);
	cursor: zoom-in;
	overflow: hidden;
	aspect-ratio: 1;
}

@media (min-width: 700px) {
	.regal {
		grid-template-columns: repeat(4, 1fr);
	}

	.regal__fach--breit {
		grid-column: span 2;
		aspect-ratio: 2 / 1;
	}
}



.regal__fach img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease, opacity 0.3s ease;
}

.regal__fach:hover img,
.regal__fach:focus-visible img {
	transform: scale(1.05);
	opacity: 0.88;
}

/* ---------- Grossansicht ---------- */

.lupe {
	border: 0;
	padding: 0;
	background: transparent;
	max-width: 94vw;
	max-height: 94vh;
}

.lupe::backdrop {
	background: rgba(16, 48, 46, 0.94);
}

.lupe img {
	max-width: 94vw;
	max-height: 88vh;
	width: auto;
	object-fit: contain;
}

.lupe__zu {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	border: 0;
	background: var(--wand);
	color: var(--tinte);
	font-size: 1.3rem;
	cursor: pointer;
}

/* ---------- Besuch ---------- */

.besuch {
	display: grid;
	gap: clamp(2.5rem, 5vw, 4rem);
	grid-template-columns: 1fr;
}

@media (min-width: 900px) {
	.besuch {
		grid-template-columns: 1.1fr 1fr;
	}
}

.zeiten {
	width: 100%;
	border-collapse: collapse;
	margin-top: 1.5rem;
}

.zeiten th,
.zeiten td {
	text-align: left;
	padding: 0.7rem 0;
	border-bottom: 1px solid rgba(247, 241, 228, 0.22);
	font-size: 1rem;
}

.zeiten th {
	font-weight: 500;
	width: 45%;
}

.zeiten td {
	font-variant-numeric: tabular-nums;
}

.kontaktliste {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
}

.kontaktliste li {
	padding-block: 0.45rem;
	border-bottom: 1px solid rgba(247, 241, 228, 0.22);
}

.kontaktliste a {
	text-decoration: none;
	border-bottom: 1px solid rgba(247, 241, 228, 0.5);
}

.platzhalter {
	display: inline-block;
	background: rgba(194, 78, 134, 0.25);
	border-bottom: 2px dashed var(--gold);
	padding-inline: 0.3rem;
}

.karte-halter {
	margin-top: 2rem;
	aspect-ratio: 4 / 3;
	background: var(--petrol-tief);
	border: 1px solid rgba(214, 174, 82, 0.4);
}

.karte-vorschau {
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 1rem;
	padding: clamp(1.25rem, 3vw, 2rem);
}

.karte-vorschau__titel {
	font-family: var(--display);
	font-size: 1.4rem;
	margin: 0;
}

.karte-vorschau__text {
	margin: 0;
	font-size: 0.9rem;
	max-width: 38ch;
	color: rgba(247, 241, 228, 0.8);
}

.karte-halter iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.siegel {
	display: block;
	width: min(230px, 60%);
	margin: 2.5rem 0 0;
}

/* ---------- Fusszeile ---------- */

.fuss {
	background: var(--petrol-tief);
	color: rgba(247, 241, 228, 0.8);
	padding-block: 3rem;
	font-size: 0.9rem;
}

.fuss__bahn {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	justify-content: space-between;
	align-items: center;
}

.fuss a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid rgba(247, 241, 228, 0.4);
}

.fuss a:hover {
	color: var(--wand);
}

.fuss__links {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
}

/* ---------- Textseiten (Impressum, Datenschutz) ---------- */

.textseite {
	max-width: 44rem;
	padding-block: clamp(3rem, 7vw, 5rem);
}

.textseite h1 {
	font-size: clamp(2.2rem, 5vw, 3rem);
	margin-bottom: 2rem;
}

.textseite h2 {
	font-size: 1.5rem;
	margin: 2.5rem 0 0.75rem;
}

.textseite p,
.textseite li {
	max-width: 62ch;
}

/* ---------- Bewegung ---------- */
/* Nur wenn JavaScript laeuft, wird versteckt und eingeblendet. Ohne JS
   bleibt jeder Abschnitt sichtbar — Inhalt geht nie verloren. */

.js .auftritt {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .auftritt.sichtbar {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.js .auftritt {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.knopf:hover,
	.regal__fach:hover img {
		transform: none;
	}
}
