/*
Theme Name: Nürnberger Spezialitäten
Theme URI: https://nuernberger-wurst.at
Author: Peter Horänder
Description: Coming-Soon-Auftritt im Look der Visitenkarte. Burgunderrotes Leder, Gold und das Markenzeichen.
Version: 1.0.3
Requires at least: 6.4
Text Domain: nuernberger
*/

@font-face {
	font-family: "Playfair Display";
	src: url("assets/fonts/PlayfairDisplay.woff2") format("woff2");
	font-weight: 400 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Playfair Display";
	src: url("assets/fonts/PlayfairDisplay-Italic.woff2") format("woff2");
	font-weight: 400 900;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Cormorant Garamond";
	src: url("assets/fonts/CormorantGaramond.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Cormorant Garamond";
	src: url("assets/fonts/CormorantGaramond-Italic.woff2") format("woff2");
	font-weight: 400 700;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Great Vibes";
	src: url("assets/fonts/GreatVibes-Regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

:root {
	color-scheme: dark;
	--cream: #fbf6ee;
	--cream-soft: #f3e7d6;
	--gold: #e0c17a;
	--gold-deep: #a67c3a;
	--ink: #14110f;
	--burgundy: #5a1618;
	--serif: "Playfair Display", "Iowan Old Style", Palatino, "Palatino Linotype", serif;
	--text: "Cormorant Garamond", Palatino, "Palatino Linotype", "Times New Roman", serif;
	--script: "Great Vibes", "Snell Roundhand", "Segoe Script", cursive;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-height: 100dvh;
	background: var(--burgundy);
	color: var(--cream);
	font-family: var(--text);
	font-weight: 500;
	line-height: 1.45;
	text-rendering: optimizeLegibility;
}

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

a {
	color: inherit;
}

::selection {
	background: #f0d48a;
	color: #3a1012;
}

.skip {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 10;
	background: var(--cream);
	color: #3a1012;
	padding: 0.4rem 0.75rem;
	text-decoration: none;
}

.skip:focus {
	top: 1rem;
}

.page {
	position: relative;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	overflow-x: clip;
	background-color: var(--burgundy);
	background-image:
		radial-gradient(ellipse at 50% 42%, rgba(90, 22, 24, 0) 36%, rgba(24, 6, 8, 0.62) 100%),
		url("assets/leather-red.jpg");
	background-size: cover, cover;
	background-position: center, center;
	background-repeat: no-repeat;
}

.page::before {
	content: "";
	position: fixed;
	inset: 11px;
	border: 1px solid rgba(224, 193, 122, 0.62);
	box-shadow:
		inset 0 0 0 4px rgba(28, 8, 8, 0.18),
		inset 0 0 0 5px rgba(224, 193, 122, 0.28);
	pointer-events: none;
	z-index: 6;
}

.corner {
	position: absolute;
	top: 0;
	right: 0;
	width: min(48vw, 500px);
	height: auto;
	z-index: 2;
	pointer-events: none;
}

.hero {
	position: relative;
	z-index: 1;
	flex: 1;
	display: grid;
	grid-template-columns: minmax(200px, 340px) minmax(320px, 640px);
	justify-content: center;
	align-items: center;
	column-gap: clamp(1.75rem, 4.5vw, 4.5rem);
	width: min(1080px, calc(100% - 3rem));
	margin: 0 auto;
	padding: clamp(3.2rem, 7vh, 5rem) 0 1.25rem;
}

.logo {
	width: min(100%, 340px);
	margin-inline: auto;
	filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.38));
}

.copy {
	min-width: 0;
}

.tagline {
	margin: 0 0 0.2rem;
	font-family: var(--script);
	font-size: clamp(2rem, 3.5vw, 2.9rem);
	font-weight: 400;
	line-height: 1.2;
	color: var(--cream);
}

h1 {
	margin: 0;
	font-family: var(--serif);
	font-weight: 500;
	font-style: italic;
	font-size: clamp(2.2rem, 4.15vw, 3.65rem);
	line-height: 1.02;
	letter-spacing: -0.02em;
	color: #fffaf3;
	text-wrap: balance;
	text-shadow: 0 2px 16px rgba(30, 6, 8, 0.28);
}

.eyebrow {
	display: inline-block;
	margin: 1.05rem 0 0;
	padding: 0.28rem 0.72rem 0.18rem;
	border: 1px solid rgba(224, 193, 122, 0.72);
	color: #f3e4bc;
	font-family: var(--text);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.lede {
	margin: 0.95rem 0 0;
	max-width: 36rem;
	font-size: clamp(1.22rem, 1.7vw, 1.48rem);
	line-height: 1.4;
	color: var(--cream-soft);
}

.ornament {
	display: block;
	width: 196px;
	height: 16px;
	margin: 1.15rem 0 0.95rem;
	color: var(--gold);
}

.card-address {
	margin: 0;
	font-style: normal;
}

.name {
	display: block;
	font-family: var(--serif);
	font-style: italic;
	font-weight: 500;
	font-size: clamp(1.55rem, 2vw, 1.85rem);
	line-height: 1.15;
	color: #fffaf3;
}

.street,
.town,
.region {
	display: block;
	font-size: 1.32rem;
	line-height: 1.3;
	color: #f6ecdf;
}

.reach {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.15rem;
	margin-top: 0.75rem;
}

.reach a {
	color: var(--cream);
	font-size: 1.28rem;
	text-decoration: none;
	border-bottom: 1px solid rgba(224, 193, 122, 0.55);
}

.reach a:hover,
.reach a:focus-visible {
	color: #fff;
	border-bottom-color: #f6e7bf;
}

.wave {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: clamp(72px, 9vw, 108px);
	margin-top: auto;
}

.wave-fill {
	fill: #14110f;
}

.site-foot {
	position: relative;
	z-index: 1;
	margin-top: -1px;
	padding: 0.45rem 1.25rem 1.35rem;
	text-align: center;
	background-color: #14110f;
	background-image: linear-gradient(rgba(20, 17, 15, 0.35), rgba(20, 17, 15, 0.55)), url("assets/leather-black.jpg");
	background-size: cover;
	background-position: center;
}

.site-foot a {
	font-family: var(--text);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	text-decoration: none;
	color: #e7d09a;
}

.site-foot a:hover,
.site-foot a:focus-visible {
	color: #fff6e4;
}

.legal-wrap {
	position: relative;
	z-index: 1;
	flex: 1;
	width: min(760px, calc(100% - 2.4rem));
	margin: 0 auto;
	padding: clamp(2.4rem, 6vh, 4rem) 0 2.5rem;
}

.legal-brand {
	display: flex;
	justify-content: center;
	margin-bottom: 1.25rem;
}

.logo--sm {
	width: 118px;
	filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.35));
}

.legal {
	padding: clamp(1.4rem, 3vw, 2.3rem) clamp(1.15rem, 3vw, 2.2rem) 1.6rem;
	background: linear-gradient(180deg, rgba(32, 8, 10, 0.46), rgba(18, 6, 8, 0.4));
	border: 1px solid rgba(224, 193, 122, 0.32);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.legal .tagline {
	text-align: center;
	font-size: clamp(1.7rem, 3vw, 2.15rem);
	margin-bottom: 0.1rem;
}

.legal h1 {
	text-align: center;
	font-size: clamp(2.4rem, 5vw, 3.4rem);
	margin-bottom: 0.35rem;
}

.legal .stand {
	margin: 0 0 0.4rem;
	text-align: center;
	color: #e7d3a8;
	font-size: 1.05rem;
	letter-spacing: 0.04em;
}

.legal h2 {
	margin: 1.55rem 0 0.35rem;
	font-family: var(--text);
	font-size: 0.82rem;
	font-weight: 600;
	font-style: normal;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #e6cf98;
}

.legal p,
.legal address {
	margin: 0 0 0.7rem;
	font-size: 1.28rem;
	line-height: 1.42;
	font-style: normal;
	color: #f6eee4;
	hyphens: manual;
}

.legal a {
	color: #f4e3b4;
	text-underline-offset: 0.16em;
	hyphens: none;
}

.legal a:hover,
.legal a:focus-visible {
	color: #fff;
}

a:focus-visible,
.eyebrow:focus-visible {
	outline: 2px solid #f6e7bf;
	outline-offset: 3px;
}

@media (max-width: 800px) {
	.page::before {
		inset: 7px;
	}

	.hero {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
		row-gap: 0.4rem;
		width: min(640px, calc(100% - 2rem));
		padding-top: 3.4rem;
	}

	.logo {
		width: min(62vw, 230px);
	}

	.lede {
		margin-inline: auto;
	}

	.ornament {
		margin-inline: auto;
	}

	.reach {
		justify-content: center;
	}

	.corner {
		width: 52vw;
		opacity: 0.9;
	}
}

@media (max-width: 420px) {
	h1 {
		font-size: 2.05rem;
	}

	.reach {
		flex-direction: column;
		align-items: center;
		gap: 0.15rem;
	}
}

@media print {
	.corner,
	.wave,
	.site-foot,
	.page::before,
	.skip {
		display: none !important;
	}

	.page {
		background: #fff !important;
		min-height: 0;
	}

	.legal {
		background: none;
		border: 0;
		box-shadow: none;
	}

	.legal h1,
	.legal h2,
	.legal p,
	.legal address,
	.legal a,
	.tagline {
		color: #1a1a1a !important;
		text-shadow: none;
	}
}
