/* ==========================================================================
   Fabi & Jan – Design-System „Gartenbrief"
   Romantisch, floral, klassisch: Elfenbein & Sepia mit Altrosa, Eukalyptus,
   Honiggold und Staubblau.
   Schrift: Cormorant Garamond (Display), Lora (Text), Great Vibes (Schmuck)
   ========================================================================== */

:root {
	--fj-paper: #FAF6F0;
	--fj-card: #FFFCF7;
	--fj-blush: #F6E9E3;
	--fj-ink: #43392F;
	--fj-muted: rgba(67, 57, 47, 0.66);
	--fj-line: rgba(67, 57, 47, 0.14);

	--fj-gold: #C09A5E;
	--fj-gold-tief: #97713A;
	--fj-gold-tint: #F7EFDF;

	--fj-rose: #C4808E;
	--fj-rose-tief: #9E5A6B;
	--fj-rose-tint: #F8ECEE;

	--fj-salbei: #8AA189;
	--fj-salbei-tief: #5C7360;
	--fj-salbei-tint: #EDF2EC;

	--fj-blau: #8496B8;
	--fj-blau-tief: #5D6F94;
	--fj-blau-tint: #EEF1F7;

	--fj-gruen-dunkel: #50655A;

	--fj-display: "Cormorant Garamond", "Times New Roman", serif;
	--fj-body: "Lora", Georgia, serif;
	--fj-script: "Great Vibes", "Brush Script MT", cursive;

	--fj-radius: 10px;
	--fj-content: 960px;
	--fj-schmal: 680px;
}

/* --------------------------------------------------------------------------
   Basis
   -------------------------------------------------------------------------- */

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

html {
	scroll-behavior: smooth;
}

html {
	overflow-x: clip;
}

body {
	margin: 0;
	overflow-x: clip;
	background:
		radial-gradient(1100px 520px at 50% -140px, var(--fj-blush) 0%, rgba(246, 233, 227, 0) 65%),
		var(--fj-paper);
	color: var(--fj-ink);
	font-family: var(--fj-body);
	font-size: 1.05rem;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--fj-gold-tief);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

:focus-visible {
	outline: 2.5px solid var(--fj-gold-tief);
	outline-offset: 3px;
	border-radius: 2px;
}

.fj-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--fj-ink);
	color: #fff;
	padding: 0.75rem 1.25rem;
	z-index: 100;
}

.fj-skip-link:focus {
	left: 1rem;
	top: 1rem;
}

/* --------------------------------------------------------------------------
   Ornamente
   -------------------------------------------------------------------------- */

.fj-orn {
	display: block;
}

.fj-orn--divider {
	width: min(240px, 60vw);
	margin: 0 auto;
	color: var(--fj-salbei);
}

.fj-orn--sprig {
	width: 90px;
	margin: 0 auto;
	color: var(--fj-salbei);
}

.fj-orn--branch {
	width: 220px;
	color: var(--fj-salbei);
}

.fj-orn-bluete circle {
	fill: var(--fj-rose);
}

.fj-orn-bluete .fj-orn-mitte {
	fill: var(--fj-gold);
}

/* --------------------------------------------------------------------------
   Header & Footer
   -------------------------------------------------------------------------- */

.fj-site-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: var(--fj-content);
	margin: 0 auto;
	padding: 1.5rem 1.5rem 0;
}

.fj-monogram {
	font-family: var(--fj-script);
	font-size: 1.9rem;
	line-height: 1;
	color: var(--fj-ink);
	text-decoration: none;
}

.fj-monogram-amp {
	color: var(--fj-rose);
}

.fj-header-cta {
	font-family: var(--fj-body);
	font-size: 0.74rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--fj-gold-tief);
	border: 1px solid var(--fj-gold);
	border-radius: 2px;
	padding: 0.6rem 1.4rem;
	transition: background 0.25s ease, color 0.25s ease;
}

.fj-header-cta:hover {
	background: var(--fj-gold-tief);
	border-color: var(--fj-gold-tief);
	color: var(--fj-card);
}

.fj-site-footer {
	text-align: center;
	padding: 4rem 1.5rem 3.5rem;
	margin-top: 4rem;
}

.fj-footer-names {
	font-family: var(--fj-script);
	font-size: 2.4rem;
	line-height: 1.2;
	margin: 1.25rem 0 0.5rem;
	color: var(--fj-ink);
}

.fj-footer-date {
	font-family: var(--fj-body);
	font-size: 0.78rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--fj-muted);
	margin: 0;
}

/* --------------------------------------------------------------------------
   Layout-Grundlagen
   -------------------------------------------------------------------------- */

.fj-main {
	display: block;
}

.fj-section {
	margin-bottom: 3rem;
}

.fj-heading {
	font-family: var(--fj-display);
	font-size: clamp(2rem, 4.5vw, 2.7rem);
	font-weight: 500;
	line-height: 1.12;
	margin: 0;
}

.fj-eyebrow {
	font-family: var(--fj-body);
	font-size: 0.72rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	font-weight: 500;
}

.fj-eyebrow--blau { color: var(--fj-blau-tief); }
.fj-eyebrow--aprikose { color: var(--fj-gold-tief); }
.fj-eyebrow--salbei { color: var(--fj-salbei-tief); }
.fj-eyebrow--rose { color: var(--fj-rose-tief); }

.fj-script {
	font-family: var(--fj-script);
	font-weight: 400;
	color: var(--fj-rose-tief);
}

.fj-muted {
	color: var(--fj-muted);
}

.fj-prose {
	max-width: var(--fj-schmal);
}

.fj-prose p {
	margin: 0.85rem 0 0;
}

.fj-prose p:first-child {
	margin-top: 0;
}

.fj-prose a {
	color: inherit;
}

/* --------------------------------------------------------------------------
   Karten – wie klassische Einladungskarten mit innerer Haarlinie
   -------------------------------------------------------------------------- */

.fj-card {
	position: relative;
	background: var(--fj-card);
	border: 1px solid rgba(192, 154, 94, 0.4);
	border-radius: var(--fj-radius);
	padding: clamp(2rem, 5vw, 3.25rem) clamp(1.75rem, 5vw, 3.5rem);
}

.fj-card::before {
	content: "";
	position: absolute;
	inset: 9px;
	border: 1px solid rgba(192, 154, 94, 0.28);
	border-radius: calc(var(--fj-radius) - 6px);
	pointer-events: none;
}

.fj-card--blau { background: var(--fj-blau-tint); border-color: rgba(93, 111, 148, 0.35); }
.fj-card--blau::before { border-color: rgba(93, 111, 148, 0.25); }
.fj-card--aprikose { background: var(--fj-gold-tint); border-color: rgba(151, 113, 58, 0.35); }
.fj-card--aprikose::before { border-color: rgba(151, 113, 58, 0.25); }
.fj-card--salbei { background: var(--fj-salbei-tint); border-color: rgba(92, 115, 96, 0.35); }
.fj-card--salbei::before { border-color: rgba(92, 115, 96, 0.25); }
.fj-card--rose { background: var(--fj-rose-tint); border-color: rgba(158, 90, 107, 0.32); }
.fj-card--rose::before { border-color: rgba(158, 90, 107, 0.22); }

.fj-card-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.fj-card-subline {
	font-family: var(--fj-display);
	font-size: 1.5rem;
	font-weight: 500;
	margin: 1.35rem 0 0;
}

.fj-card-subline + .fj-prose {
	margin-top: 0.5rem;
}

.fj-card-head + .fj-prose {
	margin-top: 1.35rem;
}

.fj-card-figure {
	margin: 1.75rem 0 0;
}

.fj-card-img {
	border-radius: 6px;
	width: 100%;
}

/* --------------------------------------------------------------------------
   Buttons – klassisch: Umriss, Kapitälchen-Optik, dezente Füllung beim Hover
   -------------------------------------------------------------------------- */

.fj-button {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin-top: 1.75rem;
	padding: 0.85rem 2rem;
	border-radius: 2px;
	font-family: var(--fj-body);
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	text-decoration: none;
	background: transparent;
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease;
}

.fj-button--blau { border: 1px solid var(--fj-blau-tief); color: var(--fj-blau-tief); }
.fj-button--blau:hover { background: var(--fj-blau-tief); color: var(--fj-card); }
.fj-button--aprikose { border: 1px solid var(--fj-gold-tief); color: var(--fj-gold-tief); }
.fj-button--aprikose:hover { background: var(--fj-gold-tief); color: var(--fj-card); }
.fj-button--salbei { border: 1px solid var(--fj-salbei-tief); color: var(--fj-salbei-tief); }
.fj-button--salbei:hover { background: var(--fj-salbei-tief); color: var(--fj-card); }
.fj-button--rose { border: 1px solid var(--fj-rose-tief); color: var(--fj-rose-tief); }
.fj-button--rose:hover { background: var(--fj-rose-tief); color: var(--fj-card); }

.fj-button--invers {
	border: 1px solid rgba(255, 253, 247, 0.75);
	color: #FFFDF7;
}

.fj-button--invers:hover {
	background: #FFFDF7;
	color: var(--fj-gruen-dunkel);
}

.fj-button--gross {
	padding: 1.05rem 2.6rem;
	font-size: 0.84rem;
}

/* --------------------------------------------------------------------------
   Block: Hero
   -------------------------------------------------------------------------- */

.fj-hero {
	position: relative;
	max-width: var(--fj-content);
	margin: 0 auto;
	padding: clamp(3.5rem, 9vw, 6.5rem) 1.5rem 2.5rem;
	text-align: center;
}

.fj-hero-branch {
	position: absolute;
	top: 1rem;
	width: clamp(120px, 18vw, 220px);
	opacity: 0.45;
	pointer-events: none;
}

.fj-hero-branch--links {
	left: -1.5rem;
	transform: scaleX(-1);
}

.fj-hero-branch--rechts {
	right: -1.5rem;
}

.fj-hero-script {
	font-family: var(--fj-script);
	font-size: clamp(1.9rem, 5vw, 2.6rem);
	line-height: 1.2;
	color: var(--fj-rose-tief);
	margin: 0;
}

.fj-hero-names {
	font-family: var(--fj-display);
	font-weight: 500;
	font-size: clamp(3.5rem, 12vw, 7.5rem);
	line-height: 1.02;
	margin: 0.75rem 0 0;
	letter-spacing: 0.01em;
}

.fj-hero-amp {
	display: inline-block;
	font-style: italic;
	font-weight: 400;
	color: var(--fj-gold);
	font-size: 0.78em;
	margin: 0 0.06em;
}

.fj-hero-tagline {
	font-family: var(--fj-display);
	font-style: italic;
	font-size: clamp(1.3rem, 3.2vw, 1.7rem);
	font-weight: 400;
	color: var(--fj-muted);
	margin: 1.25rem 0 0;
}

.fj-hero-meta {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: baseline;
	gap: 0.4rem 1.15rem;
	margin-top: 2.25rem;
	font-family: var(--fj-display);
	font-size: clamp(1.15rem, 2.6vw, 1.4rem);
}

.fj-hero-meta-item--strong {
	font-weight: 600;
}

.fj-hero-meta-item:not(:first-child)::before {
	content: "·";
	color: var(--fj-gold);
	margin-right: 1.15rem;
	font-weight: 600;
}

.fj-hero .fj-orn--divider {
	margin-top: 2.5rem;
}

.fj-hero-figure {
	margin: 2.75rem auto 0;
	width: min(320px, 70vw);
}

.fj-hero-image {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 50%;
	box-shadow: 0 0 0 7px var(--fj-card), 0 0 0 8px var(--fj-gold), 0 22px 44px -22px rgba(67, 57, 47, 0.35);
}

.fj-hero-figure--empty {
	aspect-ratio: 1;
	border-radius: 50%;
	border: 1.5px dashed rgba(192, 154, 94, 0.6);
	display: grid;
	place-items: center;
	color: var(--fj-muted);
	font-style: italic;
}

/* --------------------------------------------------------------------------
   Blöcke: gemeinsame Breite
   -------------------------------------------------------------------------- */

.fj-textblock,
.fj-bild,
.fj-galerie,
.fj-ablauf,
.fj-infokarte,
.fj-cta,
.fj-rsvp {
	max-width: var(--fj-content);
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

/* --------------------------------------------------------------------------
   Block: Text
   -------------------------------------------------------------------------- */

.fj-textblock {
	text-align: center;
}

.fj-textblock .fj-heading {
	margin-bottom: 1rem;
}

.fj-textblock .fj-prose {
	margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Block: Bild
   -------------------------------------------------------------------------- */

.fj-bild-figure {
	margin: 0;
}

.fj-bild-img {
	width: 100%;
	border-radius: var(--fj-radius);
}

.fj-bild--standard .fj-bild-figure {
	padding: 10px;
	background: var(--fj-card);
	border: 1px solid rgba(192, 154, 94, 0.4);
	border-radius: var(--fj-radius);
}

.fj-bild--standard .fj-bild-img {
	border-radius: calc(var(--fj-radius) - 6px);
}

.fj-bild--rund .fj-bild-img {
	width: min(360px, 100%);
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 50%;
	margin: 0 auto;
	box-shadow: 0 0 0 7px var(--fj-card), 0 0 0 8px var(--fj-gold);
}

.fj-bild--polaroid .fj-bild-figure {
	background: #fff;
	padding: 0.9rem 0.9rem 3rem;
	border-radius: 4px;
	box-shadow: 0 18px 40px -20px rgba(67, 57, 47, 0.4);
	transform: rotate(-2deg);
	width: min(440px, 100%);
	margin: 0 auto;
}

.fj-bild--polaroid .fj-bild-img {
	border-radius: 2px;
}

.fj-bild-caption {
	text-align: center;
	font-size: 0.95rem;
	color: var(--fj-muted);
	margin-top: 0.85rem;
	font-style: italic;
	font-family: var(--fj-display);
	font-size: 1.1rem;
}

.fj-bild-figure--empty {
	border: 1.5px dashed rgba(192, 154, 94, 0.6);
	border-radius: var(--fj-radius);
	padding: 3rem;
	text-align: center;
	color: var(--fj-muted);
	font-style: italic;
}

/* --------------------------------------------------------------------------
   Block: Galerie
   -------------------------------------------------------------------------- */

.fj-galerie .fj-heading {
	text-align: center;
	margin-bottom: 1.75rem;
}

.fj-galerie-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.1rem;
}

.fj-galerie-item {
	margin: 0;
	background: var(--fj-card);
	border: 1px solid rgba(192, 154, 94, 0.35);
	border-radius: 8px;
	padding: 8px;
}

.fj-galerie-item:nth-child(6n + 1) {
	grid-column: span 2;
}

.fj-galerie-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 4px;
	aspect-ratio: 4 / 3;
}

.fj-galerie-item:nth-child(6n + 1) .fj-galerie-img {
	aspect-ratio: 16 / 9;
}

.fj-galerie-caption {
	font-family: var(--fj-display);
	font-style: italic;
	font-size: 1.02rem;
	color: var(--fj-muted);
	margin: 0.5rem 0.25rem 0.25rem;
	text-align: center;
}

.fj-galerie-grid--empty {
	display: block;
	border: 1.5px dashed rgba(192, 154, 94, 0.6);
	border-radius: var(--fj-radius);
	padding: 3rem;
	text-align: center;
	color: var(--fj-muted);
	font-style: italic;
}

/* --------------------------------------------------------------------------
   Block: Ablauf (Zeitleiste)
   -------------------------------------------------------------------------- */

.fj-timeline {
	list-style: none;
	margin: 2rem 0 0;
	padding: 0;
	position: relative;
}

.fj-timeline::before {
	content: "";
	position: absolute;
	top: 16px;
	bottom: 16px;
	left: calc(96px + 1rem + 5px);
	width: 1px;
	background: rgba(192, 154, 94, 0.45);
}

.fj-timeline-item {
	display: grid;
	grid-template-columns: 96px 12px 1fr;
	gap: 0 1.25rem;
	align-items: baseline;
	padding: 0.85rem 0;
	position: relative;
}

.fj-timeline-time {
	font-family: var(--fj-display);
	font-size: 1.4rem;
	font-weight: 600;
	text-align: right;
}

.fj-timeline-dot {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	align-self: center;
	box-shadow: 0 0 0 4px var(--fj-card);
}

.fj-timeline-item--blau .fj-timeline-dot { background: var(--fj-blau); }
.fj-timeline-item--blau .fj-timeline-time { color: var(--fj-blau-tief); }
.fj-timeline-item--aprikose .fj-timeline-dot { background: var(--fj-gold); }
.fj-timeline-item--aprikose .fj-timeline-time { color: var(--fj-gold-tief); }
.fj-timeline-item--salbei .fj-timeline-dot { background: var(--fj-salbei); }
.fj-timeline-item--salbei .fj-timeline-time { color: var(--fj-salbei-tief); }
.fj-timeline-item--rose .fj-timeline-dot { background: var(--fj-rose); }
.fj-timeline-item--rose .fj-timeline-time { color: var(--fj-rose-tief); }

.fj-timeline-label {
	font-size: 1.08rem;
}

/* --------------------------------------------------------------------------
   Block: CTA-Banner
   -------------------------------------------------------------------------- */

.fj-cta-inner {
	position: relative;
	overflow: hidden;
	background: var(--fj-gruen-dunkel);
	color: #FFFDF7;
	border-radius: var(--fj-radius);
	padding: clamp(2.75rem, 6vw, 4rem);
	text-align: center;
}

.fj-cta-inner::before {
	content: "";
	position: absolute;
	inset: 9px;
	border: 1px solid rgba(255, 253, 247, 0.3);
	border-radius: calc(var(--fj-radius) - 6px);
	pointer-events: none;
}

.fj-cta-amp {
	position: absolute;
	top: -0.32em;
	right: -0.05em;
	font-family: var(--fj-display);
	font-style: italic;
	font-size: 12rem;
	line-height: 1;
	color: rgba(255, 253, 247, 0.08);
	pointer-events: none;
	user-select: none;
}

.fj-cta-inner .fj-orn--sprig {
	color: rgba(255, 253, 247, 0.85);
	margin-bottom: 1rem;
}

.fj-cta-inner .fj-orn-bluete circle {
	fill: rgba(255, 253, 247, 0.65);
}

.fj-cta-heading {
	position: relative;
	font-family: var(--fj-script);
	font-size: clamp(2.1rem, 5.5vw, 3.1rem);
	line-height: 1.25;
	margin: 0;
}

.fj-cta-text {
	position: relative;
	margin: 1rem 0 0;
	color: rgba(255, 253, 247, 0.88);
	font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   Block: RSVP
   -------------------------------------------------------------------------- */

.fj-rsvp {
	scroll-margin-top: 2rem;
}

.fj-rsvp-deadline {
	font-family: var(--fj-display);
	font-style: italic;
	font-size: 1.25rem;
	color: var(--fj-rose-tief);
	margin: 1.25rem 0 0;
}

.fj-notice {
	position: relative;
	margin-top: 1.75rem;
	padding: 1.2rem 1.5rem;
	border-radius: 6px;
	font-weight: 500;
}

.fj-notice--ok {
	background: var(--fj-salbei-tint);
	border: 1px solid rgba(92, 115, 96, 0.45);
	color: var(--fj-salbei-tief);
}

.fj-notice--fehler {
	background: var(--fj-card);
	border: 1px solid rgba(158, 90, 107, 0.5);
	color: var(--fj-rose-tief);
}

.fj-form {
	position: relative;
	margin-top: 2rem;
}

.fj-form-honeypot {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.fj-form-choice {
	border: 0;
	margin: 0 0 1.75rem;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.fj-form-legend {
	font-family: var(--fj-body);
	font-size: 0.72rem;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--fj-muted);
	margin-bottom: 0.85rem;
}

.fj-choice {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	padding: 1.1rem;
	background: var(--fj-card);
	border: 1px solid var(--fj-line);
	border-radius: 6px;
	font-family: var(--fj-display);
	font-size: 1.2rem;
	font-weight: 500;
	cursor: pointer;
	text-align: center;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.fj-choice input {
	accent-color: currentcolor;
}

.fj-choice--ja:has(input:checked) {
	background: var(--fj-salbei-tint);
	border-color: var(--fj-salbei-tief);
	color: var(--fj-salbei-tief);
}

.fj-choice--nein:has(input:checked) {
	background: var(--fj-rose-tint);
	border-color: var(--fj-rose-tief);
	color: var(--fj-rose-tief);
}

.fj-choice:focus-within {
	outline: 2.5px solid var(--fj-gold-tief);
	outline-offset: 2px;
}

.fj-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr minmax(100px, 0.5fr);
	gap: 1rem;
}

.fj-form-field {
	margin: 0 0 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.fj-form-field label {
	font-size: 0.92rem;
	font-weight: 500;
}

.fj-form-field input,
.fj-form-field textarea {
	font: inherit;
	color: var(--fj-ink);
	background: var(--fj-card);
	border: 1px solid var(--fj-line);
	border-radius: 4px;
	padding: 0.75rem 1rem;
	width: 100%;
}

.fj-form-field input:focus,
.fj-form-field textarea:focus {
	outline: none;
	border-color: var(--fj-gold);
	box-shadow: 0 0 0 3px rgba(192, 154, 94, 0.2);
}

.fj-form textarea {
	resize: vertical;
}

/* --------------------------------------------------------------------------
   Sonstiges
   -------------------------------------------------------------------------- */

.fj-article-title {
	font-family: var(--fj-display);
	font-weight: 500;
	font-size: clamp(2.2rem, 5vw, 3rem);
	max-width: var(--fj-content);
	margin: 3rem auto 1.5rem;
	padding: 0 1.5rem;
}

.fj-empty {
	max-width: var(--fj-content);
	margin: 4rem auto;
	padding: 0 1.5rem;
	text-align: center;
}

.fj-empty h1 {
	font-family: var(--fj-display);
	font-weight: 500;
}

.fj-content > p,
.fj-content > h2,
.fj-content > h3,
.fj-content > ul,
.fj-content > ol {
	max-width: var(--fj-schmal);
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.fj-content > h2,
.fj-content > h3 {
	font-family: var(--fj-display);
	font-weight: 500;
}

/* --------------------------------------------------------------------------
   Editor-Anpassungen
   -------------------------------------------------------------------------- */

.editor-styles-wrapper {
	background: var(--fj-paper);
	font-family: var(--fj-body);
}

/* --------------------------------------------------------------------------
   Responsiv
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
	.fj-galerie-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.fj-galerie-item:nth-child(6n + 1) {
		grid-column: span 2;
	}
}

@media (max-width: 640px) {
	.fj-hero-branch {
		width: 100px;
		opacity: 0.3;
	}

	/* Datum, Uhrzeit und Ort untereinander, ohne Punkt-Trenner. */
	.fj-hero-meta {
		flex-direction: column;
		align-items: center;
		gap: 0.3rem;
	}

	.fj-hero-meta-item:not(:first-child)::before {
		content: none;
	}

	.fj-form-grid {
		grid-template-columns: 1fr;
	}

	.fj-form-choice {
		grid-template-columns: 1fr;
	}

	.fj-timeline::before {
		left: calc(64px + 1rem + 5px);
	}

	.fj-timeline-item {
		grid-template-columns: 64px 12px 1fr;
	}

	.fj-timeline-time {
		font-size: 1.2rem;
	}

	.fj-galerie-grid {
		grid-template-columns: 1fr;
	}

	.fj-galerie-item:nth-child(6n + 1) {
		grid-column: auto;
	}
}

/* --------------------------------------------------------------------------
   Reduzierte Bewegung
   -------------------------------------------------------------------------- */

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

	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
	}
}
