/*
Theme Name: Daniel & Francesca Wedding
Theme URI: https://example.invalid/
Author: Daniel & Francesca
Description: Lightweight one-page WordPress theme for a private fine-art wedding website.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: df-wedding
*/

:root {
	--black: #0B0B0A;
	--black-soft: #151412;
	--ivory: #F4F0EA;
	--cream: #EEE9E3;
	--card: #FAF7F2;
	--text: #1F1D1A;
	--text-muted: #6F6860;
	--gold: #B89A6E;
	--gold-soft: #D1C2AA;
	--gold-hover: #A98355;
	--botanical: #DCCFC0;
	--champagne-border: #C8B28F;
	--black-overlay: rgba(11, 11, 10, 0.82);
	--color-cream: var(--ivory);
	--color-warm-white: var(--card);
	--color-sand: var(--cream);
	--color-stone: var(--gold-soft);
	--color-gold: var(--gold);
	--color-ink: var(--text);
	--color-muted: var(--text-muted);
	--color-line: rgba(209, 194, 170, 0.72);
	--shadow-soft: 0 22px 70px rgba(31, 29, 26, 0.13);
	--font-headline: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--font-body: "Lora", Georgia, "Times New Roman", serif;
	--font-serif: var(--font-headline);
	--font-sans: var(--font-body);
	--container: min(1120px, calc(100vw - 40px));
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--ivory);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.7;
}

body.admin-bar .site-header {
	top: 32px;
}

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

a {
	color: inherit;
	text-decoration-thickness: 0.06em;
	text-underline-offset: 0.22em;
}

p,
h1,
h2,
h3 {
	margin-top: 0;
}

h1,
h2,
h3 {
	font-family: var(--font-headline);
	font-weight: 400;
	line-height: 1.05;
}

h1 {
	max-width: 9ch;
	margin-bottom: 22px;
	font-size: 4.25rem;
}

h2 {
	margin-bottom: 20px;
	font-size: 2.45rem;
}

h3 {
	margin-bottom: 10px;
	font-size: 1.45rem;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: 12px;
	z-index: 30;
	padding: 10px 14px;
	background: var(--black);
	color: var(--card);
	transform: translateY(-140%);
}

.skip-link:focus {
	transform: translateY(0);
}

.site {
	overflow: hidden;
}

.site-header {
	position: fixed;
	left: 24px;
	top: 22px;
	z-index: 20;
	display: flex;
	align-items: center;
	gap: 26px;
	width: fit-content;
	max-width: calc(100vw - 48px);
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	transform: none;
	transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, padding 180ms ease, top 180ms ease;
}

.site-header--scrolled,
.site-header--solid {
	top: 14px;
	padding: 10px 14px;
	background: rgba(250, 247, 242, 0.94);
	border: 1px solid rgba(209, 194, 170, 0.64);
	border-radius: 999px;
	box-shadow: 0 12px 38px rgba(31, 29, 26, 0.12);
	backdrop-filter: blur(16px);
}

.site-logo {
	font-family: var(--font-headline);
	font-size: 1.15rem;
	text-decoration: none;
	white-space: nowrap;
	color: var(--card);
	transition: color 180ms ease;
}

.site-header--scrolled .site-logo,
.site-header--solid .site-logo {
	color: var(--text);
}

.site-logo span {
	color: var(--gold);
}

.site-nav {
	display: none;
	gap: 20px;
	align-items: center;
}

.site-nav a,
.language-switcher a {
	padding: 8px 0;
	border-radius: 0;
	color: rgba(250, 247, 242, 0.82);
	font-family: var(--font-body);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-decoration: none;
	text-transform: uppercase;
	transition: background 180ms ease, color 180ms ease;
}

.site-header--scrolled .site-nav a,
.site-header--solid .site-nav a,
.site-header--scrolled .language-switcher a,
.site-header--solid .language-switcher a {
	color: var(--text-muted);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.language-switcher a:hover,
.language-switcher a:focus-visible,
.language-switcher a.is-active {
	background: transparent;
	color: var(--gold);
}

.language-switcher {
	display: flex;
	gap: 9px;
	align-items: center;
	margin-left: 2px;
	padding-left: 20px;
	border-left: 1px solid rgba(200, 178, 143, 0.42);
}

.language-switcher a {
	text-decoration: none;
}

.hero {
	position: relative;
	display: grid;
	min-height: 62vw;
	max-height: 92svh;
	padding: 96px 20px 68px;
	background: var(--black);
	color: var(--card);
	overflow: hidden;
}

.hero__image {
	position: absolute;
	inset: 0;
	background: var(--black);
	border-radius: 0;
	overflow: hidden;
}

.hero__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.hero__image picture {
	display: block;
	width: 100%;
	height: 100%;
}

.hero__content {
	position: relative;
	z-index: 2;
	align-self: center;
	width: min(100%, 560px);
	padding-top: 36px;
	text-align: center;
}

.hero__content::before,
.hero__content::after {
	content: "";
	display: block;
	margin-right: auto;
	margin-left: auto;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	opacity: 0.92;
}

.hero__content::before {
	width: 42px;
	height: 40px;
	margin-bottom: 8px;
	background-image: url("assets/images/icons/hero-icon-herz-line-gold.png");
}

.hero__content::after {
	width: 185px;
	max-width: min(185px, 72vw);
	height: 48px;
	margin-top: 10px;
	background-image: url("assets/images/icons/hero-icon-botanischer-zweig-line-gold.png");
}

.hero h1 {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	clip: rect(0 0 0 0);
	overflow: hidden;
	white-space: nowrap;
}

.hero .wedding-date {
	display: none;
	margin-bottom: 16px;
	color: var(--gold);
	font-family: var(--font-body);
	font-size: 1.35rem;
}

.wedding-date {
	margin-bottom: 16px;
	color: var(--gold);
	font-family: var(--font-body);
	font-size: 1.35rem;
}

.hero__intro {
	display: none;
	max-width: 560px;
	margin-right: auto;
	margin-bottom: 28px;
	margin-left: auto;
	color: rgba(250, 247, 242, 0.76);
	font-size: 1.04rem;
}

.countdown {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	max-width: 560px;
	margin: 0 auto;
}

.countdown::before,
.countdown::after {
	content: "";
	grid-column: 1 / -1;
	width: 74px;
	height: 1px;
	margin: 0 auto 12px;
	background: var(--champagne-border);
}

.countdown::after {
	display: none;
	margin: 0;
}

.countdown div {
	min-height: auto;
	padding: 10px 16px;
	background: transparent;
	border: 0;
	border-right: 1px solid rgba(200, 178, 143, 0.58);
	border-radius: 0;
}

.countdown div:nth-child(2n) {
	border-right: 0;
}

.countdown strong {
	display: block;
	font-family: var(--font-headline);
	font-size: 2.55rem;
	font-weight: 400;
	line-height: 0.95;
}

.countdown span {
	display: block;
	margin-top: 10px;
	color: var(--gold);
	font-family: var(--font-body);
	font-size: 0.9rem;
	letter-spacing: 0;
	text-transform: none;
}

@media (max-width: 699px) {
	.site-header {
		left: 16px;
		top: 18px;
		width: fit-content;
		max-width: calc(100vw - 32px);
	}

	.site-logo {
		color: var(--card);
		text-shadow: 0 1px 18px rgba(11, 11, 10, 0.72);
	}

	.site-nav {
		display: flex;
		gap: 0;
	}

	.site-nav > a {
		display: none;
	}

	.language-switcher {
		gap: 8px;
		margin-left: 0;
		padding-left: 14px;
	}

	.language-switcher a {
		font-size: 0.68rem;
	}

	.site-header--scrolled .site-logo,
	.site-header--solid .site-logo {
		color: var(--text);
		text-shadow: none;
	}

	.hero {
		min-height: 100svh;
		max-height: none;
		padding: 0 16px 22px;
		align-items: end;
	}

	.hero__image::after {
		content: "";
		position: absolute;
		inset: 0;
		background:
			linear-gradient(180deg, rgba(11, 11, 10, 0.18) 0%, rgba(11, 11, 10, 0.02) 36%, rgba(11, 11, 10, 0.34) 72%, rgba(11, 11, 10, 0.74) 100%),
			linear-gradient(90deg, rgba(11, 11, 10, 0.28) 0%, rgba(11, 11, 10, 0) 48%);
		pointer-events: none;
	}

	.hero__image img {
		object-position: 51% center;
		filter: grayscale(100%) contrast(1.05);
	}

	.hero__content {
		align-self: end;
		width: min(100%, 360px);
		margin: 0 auto;
		padding: 0 0 calc(18px + env(safe-area-inset-bottom));
	}

	.hero__content::before,
	.hero__content::after {
		display: none;
	}

	.countdown {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		max-width: 340px;
		padding: 9px 10px 10px;
		background: radial-gradient(ellipse at center, rgba(11, 11, 10, 0.44) 0%, rgba(11, 11, 10, 0.28) 48%, rgba(11, 11, 10, 0) 74%);
	}

	.countdown::before,
	.countdown::after {
		display: none;
	}

	.countdown div {
		min-width: 0;
		padding: 3px 6px;
		border-right: 1px solid rgba(200, 178, 143, 0.42);
	}

	.countdown div:nth-child(2n) {
		border-right: 1px solid rgba(200, 178, 143, 0.42);
	}

	.countdown div:last-child {
		border-right: 0;
	}

	.countdown strong {
		font-size: clamp(1.45rem, 8vw, 2rem);
		line-height: 0.9;
	}

	.countdown span {
		margin-top: 6px;
		font-size: 0.68rem;
	}
}

.section {
	width: var(--container);
	margin: 0 auto;
	padding: 84px 0;
}

.section__intro {
	max-width: 760px;
	margin-bottom: 42px;
}

.section__intro--center {
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.ornament {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 10px auto 0;
	color: var(--gold);
}

.ornament::before,
.ornament::after {
	content: "";
	display: block;
	width: 54px;
	height: 1px;
	background: var(--champagne-border);
}

.ornament span {
	position: relative;
	width: 28px;
	height: 20px;
}

.ornament span::before {
	content: "♡";
	position: absolute;
	left: 50%;
	top: 50%;
	color: var(--gold);
	font-size: 1rem;
	line-height: 1;
	transform: translate(-50%, -54%);
}

.ornament--small {
	margin-top: 26px;
}

.section__intro p:not(.section__label) {
	max-width: 620px;
	color: var(--text-muted);
}

.section__label {
	margin-bottom: 14px;
	color: var(--gold);
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.story {
	position: relative;
	z-index: 0;
}

.story::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 0;
	z-index: -1;
	width: 100vw;
	height: 100%;
	background:
		linear-gradient(rgba(250, 247, 242, 0.32), rgba(250, 247, 242, 0.32)),
		url("assets/images/backgrounds/hintergrund-botanical-lineart-seitenrahmen.png") center center / cover no-repeat;
	transform: translateX(-50%);
}

.story__grid {
	display: grid;
	gap: 18px;
}

.story__image {
	aspect-ratio: 1 / 0.88;
	background: var(--black);
	border-radius: 0;
	box-shadow: 0 12px 28px rgba(31, 29, 26, 0.12);
	overflow: hidden;
}

.story__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(100%) contrast(1.06);
}

.story__copy {
	max-width: 720px;
	margin: 30px auto 0;
	color: var(--text-muted);
	text-align: center;
}

.timeline {
	display: grid;
	gap: 0;
	border-top: 1px solid var(--color-line);
}

.timeline__item {
	position: relative;
	padding: 24px 0 24px 28px;
	border-bottom: 1px solid var(--color-line);
}

.timeline__item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 32px;
	width: 9px;
	height: 9px;
	background: var(--gold);
	border-radius: 50%;
}

.timeline__item span {
	display: block;
	margin-bottom: 8px;
	color: var(--text-muted);
	font-size: 0.76rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.timeline__item p,
.schedule__item p {
	margin-bottom: 0;
	color: var(--text-muted);
}

.schedule {
	width: 100%;
	padding: 74px max(20px, calc((100vw - 1120px) / 2));
	background: var(--cream);
}

.schedule__list {
	display: grid;
	gap: 0;
	background: transparent;
	border: 0;
}

.schedule__item {
	position: relative;
	display: grid;
	gap: 14px;
	justify-items: center;
	padding: 30px 18px;
	background: transparent;
	text-align: center;
}

.schedule__item + .schedule__item {
	border-top: 1px solid var(--champagne-border);
}

.schedule__icon {
	width: 118px;
	height: 118px;
	object-fit: contain;
	opacity: 1;
}

.schedule__item time {
	color: var(--gold-hover);
	font-family: var(--font-body);
	font-size: 1.08rem;
	font-weight: 700;
	line-height: 1.2;
}

.schedule__item h3 {
	margin-bottom: 0;
	font-family: var(--font-body);
	font-size: 1.02rem;
	font-weight: 600;
	line-height: 1.3;
}

.gallery {
	width: 100%;
	padding-right: max(20px, calc((100vw - 1120px) / 2));
	padding-left: max(20px, calc((100vw - 1120px) / 2));
	background:
		linear-gradient(rgba(250, 247, 242, 0.72), rgba(250, 247, 242, 0.84)),
		url("assets/images/backgrounds/hintergrund-botanical-lineart-untere-ecken.png") center bottom / cover no-repeat;
}

.gallery .section__intro {
	max-width: 760px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.gallery .section__intro p:not(.section__label) {
	margin-right: auto;
	margin-left: auto;
}

.gallery__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	align-items: start;
	max-width: 980px;
	margin-right: auto;
	margin-left: auto;
}

.gallery__item {
	position: relative;
	margin: 0;
	aspect-ratio: 4 / 5;
	padding: 8px 8px 32px;
	background: var(--card);
	border: 1px solid rgba(209, 194, 170, 0.52);
	border-radius: 6px;
	box-shadow: 0 18px 45px rgba(31, 29, 26, 0.1);
}

.gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 3px;
	filter: grayscale(100%) contrast(1.05);
}

.gallery__item--2,
.gallery__item--4 {
	margin-top: 32px;
}

.approved-gallery {
	margin-top: 36px;
	padding-top: 36px;
	border-top: 1px solid var(--color-line);
}

.gallery__actions,
.gallery-page__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: center;
	margin-top: 34px;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin-top: 8px;
	padding: 12px 22px;
	background: var(--black);
	border: 1px solid var(--champagne-border);
	border-radius: 999px;
	color: var(--card);
	font-family: var(--font-body);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
	transition: background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
	background: var(--gold-hover);
	border-color: var(--gold-hover);
	color: var(--card);
}

.button--ghost {
	background: transparent;
	color: var(--text);
}

.button--ghost:hover,
.button--ghost:focus-visible {
	background: var(--card);
	border-color: var(--gold);
	color: var(--text);
}

.button--disabled,
.button--disabled:hover,
.button--disabled:focus-visible {
	cursor: not-allowed;
	background: rgba(250, 247, 242, 0.68);
	border-color: rgba(200, 178, 143, 0.72);
	color: var(--text-muted);
}

.gallery-page {
	background: var(--ivory);
}

.gallery-page__hero {
	position: relative;
	display: grid;
	place-items: center;
	min-height: min(70svh, 680px);
	padding: 122px max(20px, calc((100vw - 820px) / 2)) 76px;
	background:
		linear-gradient(rgba(11, 11, 10, 0.76), rgba(11, 11, 10, 0.68)),
		url("assets/images/hero/hero-save-the-date-soft-black-verlauf.png") center center / cover no-repeat;
	color: var(--card);
	text-align: center;
}

.gallery-page__hero .section__label,
.gallery-page__hero h1,
.gallery-page__hero p {
	position: relative;
	z-index: 1;
}

.gallery-page__hero h1 {
	position: static;
	width: auto;
	height: auto;
	max-width: none;
	margin: 0 0 22px;
	clip: auto;
	overflow: visible;
	font-size: clamp(4.2rem, 11vw, 8rem);
	white-space: normal;
}

.gallery-page__hero p:not(.section__label) {
	max-width: 660px;
	margin-right: auto;
	margin-left: auto;
	color: rgba(250, 247, 242, 0.8);
}

.gallery-page__hero .button--ghost {
	color: var(--card);
}

.gallery-page__hero .button--ghost:hover,
.gallery-page__hero .button--ghost:focus-visible {
	color: var(--text);
}

.gallery-page__album {
	padding-top: 86px;
}

.gallery-page__placeholder {
	max-width: 760px;
	margin: 0 auto 42px;
	text-align: center;
}

.gallery-page__placeholder p:not(.section__label) {
	max-width: 620px;
	margin-right: auto;
	margin-left: auto;
	color: var(--text-muted);
}

.gallery-page__admin-note {
	margin-top: 14px;
	font-size: 0.92rem;
}

.gallery__grid--page {
	max-width: 980px;
	margin-right: auto;
	margin-left: auto;
}

.guest-gallery {
	margin-top: 82px;
	padding-top: 68px;
	border-top: 1px solid var(--color-line);
}

.guest-gallery__grid {
	column-count: 2;
	column-gap: 14px;
	max-width: 1040px;
	margin: 0 auto;
}

.guest-gallery__item {
	display: block;
	margin-bottom: 14px;
	padding: 8px;
	background: var(--card);
	border: 1px solid rgba(209, 194, 170, 0.52);
	border-radius: 6px;
	box-shadow: 0 18px 45px rgba(31, 29, 26, 0.1);
	break-inside: avoid;
	overflow: hidden;
}

.guest-gallery__item img {
	width: 100%;
	height: auto;
	border-radius: 3px;
}

.has-lightbox {
	overflow: hidden;
}

.site-lightbox {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 54px 18px 24px;
	background: rgba(11, 11, 10, 0.9);
}

.site-lightbox--open {
	display: flex;
}

.site-lightbox__figure {
	display: grid;
	place-items: center;
	width: min(100%, 1180px);
	height: 100%;
	margin: 0;
}

.site-lightbox__image {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: calc(100svh - 92px);
	object-fit: contain;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.site-lightbox__close,
.site-lightbox__nav {
	position: absolute;
	z-index: 2;
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	background: rgba(250, 247, 242, 0.12);
	border: 1px solid rgba(209, 194, 170, 0.52);
	border-radius: 999px;
	color: var(--card);
	font-family: var(--font-headline);
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
	transition: background 180ms ease, color 180ms ease;
}

.site-lightbox__close:hover,
.site-lightbox__close:focus-visible,
.site-lightbox__nav:hover,
.site-lightbox__nav:focus-visible {
	background: var(--card);
	color: var(--text);
}

.site-lightbox__close {
	right: 18px;
	top: 18px;
}

.site-lightbox__nav {
	top: 50%;
	transform: translateY(-50%);
}

.site-lightbox__nav--prev {
	left: 18px;
}

.site-lightbox__nav--next {
	right: 18px;
}

.site-lightbox__nav[hidden] {
	display: none;
}

.upload-page {
	min-height: 100svh;
	padding: 120px 0 72px;
	background:
		linear-gradient(rgba(244, 240, 234, 0.9), rgba(244, 240, 234, 0.96)),
		url("assets/images/backgrounds/hintergrund-botanical-lineart-untere-ecken.png") center bottom / cover no-repeat;
}

.upload-page__content {
	width: min(760px, calc(100vw - 40px));
	margin: 0 auto;
	padding: 52px clamp(22px, 5vw, 58px);
	background: rgba(250, 247, 242, 0.82);
	border: 1px solid rgba(200, 178, 143, 0.48);
	border-radius: 8px;
	box-shadow: var(--shadow-soft);
}

.upload-page h1 {
	position: static;
	width: auto;
	height: auto;
	max-width: none;
	margin: 0 0 22px;
	clip: auto;
	overflow: visible;
	color: var(--text);
	font-size: clamp(3.4rem, 9vw, 5.6rem);
	white-space: normal;
}

.upload-page__intro,
.upload-page__note,
.upload-page__status {
	color: var(--text-muted);
}

.upload-page__status {
	min-height: 1.5em;
	margin: 4px 0 0;
	font-size: 0.92rem;
}

.guest-upload-form {
	display: grid;
	gap: 14px;
	margin-top: 34px;
}

.guest-upload-form label {
	color: var(--text);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.guest-upload-form input[type="text"],
.guest-upload-form input[type="file"] {
	width: 100%;
	padding: 14px 16px;
	background: var(--card);
	border: 1px solid rgba(200, 178, 143, 0.72);
	border-radius: 6px;
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1rem;
}

.guest-upload-form .guest-upload-form__consent {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 12px;
	align-items: start;
	margin-top: 6px;
	color: var(--text-muted);
	font-size: 0.92rem;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.55;
	text-transform: none;
}

.guest-upload-form .guest-upload-form__consent input {
	width: 18px;
	height: 18px;
	margin-top: 4px;
	accent-color: var(--gold);
}

.guest-upload-form .guest-upload-form__consent a {
	color: var(--text);
	font-weight: 600;
}

.guest-upload-form--submitting {
	opacity: 0.72;
	pointer-events: none;
}

.button:disabled {
	cursor: not-allowed;
	background: var(--gold-soft);
	border-color: var(--gold-soft);
	color: var(--text);
	opacity: 0.68;
}

.guest-upload-form--submitting .button {
	cursor: wait;
}

.guest-upload-form__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.upload-message {
	margin: 28px 0 8px;
	padding: 24px 22px;
	border: 1px solid rgba(200, 178, 143, 0.64);
	border-radius: 6px;
	color: var(--text);
}

.upload-message h2 {
	margin-bottom: 10px;
	font-size: clamp(2rem, 7vw, 3rem);
}

.upload-message p {
	margin-bottom: 0;
	color: var(--text-muted);
}

.upload-message__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 20px;
}

.upload-message--success {
	background: rgba(220, 207, 192, 0.42);
}

.upload-message--error {
	background: rgba(184, 154, 110, 0.18);
}

.legal-page {
	min-height: 100svh;
	padding: 120px 0 72px;
	background:
		linear-gradient(rgba(244, 240, 234, 0.92), rgba(244, 240, 234, 0.96)),
		url("assets/images/backgrounds/hintergrund-botanical-lineart-untere-ecken.png") center bottom / cover no-repeat;
}

.legal-page__content {
	width: min(760px, calc(100vw - 40px));
	margin: 0 auto;
	padding: 52px clamp(22px, 5vw, 58px);
	background: rgba(250, 247, 242, 0.78);
	border: 1px solid rgba(200, 178, 143, 0.48);
	border-radius: 8px;
	box-shadow: var(--shadow-soft);
}

.legal-page h1 {
	position: static;
	width: auto;
	height: auto;
	max-width: none;
	margin: 0 0 22px;
	clip: auto;
	overflow: visible;
	color: var(--text);
	font-size: clamp(3.4rem, 9vw, 5.6rem);
	white-space: normal;
}

.legal-page__intro {
	max-width: 620px;
	margin-bottom: 42px;
	color: var(--text-muted);
	font-size: 1.04rem;
}

.legal-block {
	padding-top: 28px;
	border-top: 1px solid var(--color-line);
}

.legal-block + .legal-block {
	margin-top: 30px;
}

.legal-block h2 {
	margin-bottom: 12px;
	font-size: clamp(1.8rem, 6vw, 2.5rem);
}

.legal-block p {
	margin-bottom: 0;
	color: var(--text-muted);
}

.site-footer {
	display: grid;
	gap: 12px;
	width: var(--container);
	margin: 0 auto;
	padding: 30px 0 42px;
	border-top: 1px solid var(--color-line);
	color: var(--text-muted);
	font-size: 0.9rem;
}

.site-footer p {
	margin-bottom: 0;
}

.site-footer nav {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
}

@media (min-width: 700px) {
	.site-nav {
		display: flex;
	}

	.hero {
		grid-template-columns: minmax(320px, 0.42fr) minmax(0, 0.58fr);
		gap: 0;
		align-items: center;
		min-height: min(62vw, 92svh);
		padding: 0 max(28px, calc((100vw - 1180px) / 2));
	}

	.hero__image {
		min-height: 100%;
	}

	.hero__content {
		grid-column: 1;
		grid-row: 1;
		justify-self: center;
		width: min(100%, 520px);
		padding: 94px 18px 44px 0;
	}

	h1 {
		font-size: 4.95rem;
	}

	h2 {
		font-size: 3.8rem;
	}

	h3 {
		font-size: 1.7rem;
	}

	.wedding-date {
		font-size: 1.65rem;
	}

	.hero__intro {
		font-size: 1.14rem;
	}

	.countdown {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.countdown div:nth-child(2n) {
		border-right: 1px solid rgba(200, 178, 143, 0.58);
	}

	.countdown div:last-child {
		border-right: 0;
	}

	.countdown strong {
		font-size: 3rem;
	}

	.story__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 22px;
	}

	.story__image {
		aspect-ratio: 1 / 0.88;
	}

	.schedule__list {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.schedule__item {
		min-height: 230px;
		padding: 28px 20px;
	}

	.schedule__item + .schedule__item {
		border-top: 0;
		border-left: 1px solid var(--champagne-border);
	}

	.gallery__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 18px;
	}

	.guest-gallery__grid {
		column-count: 4;
		column-gap: 18px;
	}

	.gallery__item--1,
	.gallery__item--3 {
		margin-top: 46px;
	}

	.site-footer {
		grid-template-columns: 1fr auto;
		align-items: center;
	}
}

@media (min-width: 1100px) {
	.section {
		padding-top: 116px;
		padding-bottom: 116px;
	}

	h1 {
		font-size: 5.75rem;
	}

	h2 {
		font-size: 5.15rem;
	}

	.wedding-date {
		font-size: 2rem;
	}

	.hero__intro {
		font-size: 1.22rem;
	}

	.countdown strong {
		font-size: 3.55rem;
	}

	.hero__content {
		padding-bottom: 44px;
	}
}

@media (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
