/* ==========================================================================
   Festfabrik 2.0 – Sofortbild trifft Hochzeitsmagazin
   Farben/Schriften: theme.json (--wp--preset--*). Logo-Töne: Taupe + Kakao.
   ========================================================================== */

:root {
	--ff-paper: var(--wp--preset--color--paper);
	--ff-sand: var(--wp--preset--color--sand);
	--ff-white: var(--wp--preset--color--white);
	--ff-ink: var(--wp--preset--color--ink);
	--ff-cocoa: var(--wp--preset--color--cocoa);
	--ff-taupe: var(--wp--preset--color--taupe);
	--ff-taupe-dark: var(--wp--preset--color--taupe-dark);
	--ff-muted: var(--wp--preset--color--muted);
	--ff-line: #E2DBCF;
	--ff-display: var(--wp--preset--font-family--display);
	--ff-body: var(--wp--preset--font-family--body);
	--ff-section-y: clamp(4.5rem, 10vw, 8.5rem);
	--ff-header-h: 5rem;
	--ff-shadow-photo: 0 1px 1px rgba(43, 33, 23, 0.08), 0 6px 12px -4px rgba(43, 33, 23, 0.12), 0 30px 50px -24px rgba(43, 33, 23, 0.35);
	--ff-radius: 14px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--ff-header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }

.wp-site-blocks > * + *,
.ff-main > * + * { margin-block-start: 0; }

:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
	outline: 2px solid var(--ff-cocoa);
	outline-offset: 3px;
	border-radius: 4px;
}
::selection { background: var(--ff-taupe); color: var(--ff-ink); }

/* ---------- Typo-Helfer ---------- */

.ff-lead { font-size: var(--wp--preset--font-size--large); color: var(--ff-muted); line-height: 1.6; max-width: 36rem; }
.ff-small { font-size: var(--wp--preset--font-size--small); }
.ff-muted { color: var(--ff-muted); }
h3.ff-h-sm, .ff-h-sm { font-size: clamp(1.65rem, 1.3rem + 1vw, 2.1rem); }
h2 + .ff-lead, h2 + p { margin-block-start: 1.25rem; }

/* ---------- Sektionen ---------- */

.ff-section { padding-block: var(--ff-section-y); }
.ff-section--sand { background: var(--ff-sand); }
.ff-section > h2 { text-wrap: balance; }
.ff-section:has(> .alignwide) > h2,
.ff-section:has(> .alignwide) > .ff-lead,
.ff-section:has(> .alignfull) > h2,
.ff-section:has(> .alignfull) > .ff-lead {
	max-width: var(--wp--style--global--wide-size, 78rem) !important;
	box-sizing: border-box;
	padding-inline-end: max(0px, calc(min(100%, 78rem) - 42rem));
}

/* ---------- Logo: so, wie es ist – ohne Form, ohne Rahmen ---------- */

.ff-logo img,
.ff-contact__logo,
.ff-footer__logo img {
	display: block;
	width: auto !important;
	object-fit: contain;
	border-radius: 0;
	background: none;
	box-shadow: none;
}

/* ---------- Header ---------- */

.ff-site-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 50;
	background: rgba(248, 246, 242, 0.85);
	-webkit-backdrop-filter: saturate(1.5) blur(14px);
	backdrop-filter: saturate(1.5) blur(14px);
	border-bottom: 1px solid rgba(43, 33, 23, 0.07);
}
@media (max-width: 600px) { .ff-site-header { top: 0; } }

.ff-header {
	min-height: var(--ff-header-h);
	padding-inline: clamp(1.25rem, 4vw, 2.5rem);
	max-width: 84rem;
	margin-inline: auto;
	gap: 1.5rem;
}
.ff-brand { gap: 0.9rem; }
.ff-logo img { height: 64px !important; max-width: 220px; }
.ff-header { min-height: 5.5rem; }
.ff-brand__name { margin: 0; font-family: var(--ff-display); font-size: 2rem; line-height: 1; letter-spacing: -0.01em; }
.ff-brand__name a { text-decoration: none; color: var(--ff-ink); }

.ff-nav { font-size: 0.95rem; font-weight: 500; gap: 1.9rem; }
.ff-nav .wp-block-navigation-item__content { text-decoration: none; padding-block: 0.4rem; }
.ff-nav .wp-block-navigation-item__content:hover { color: var(--ff-taupe-dark); }
.ff-nav .ff-nav-cta .wp-block-navigation-item__content {
	background: var(--ff-ink);
	color: var(--ff-paper);
	padding: 0.65rem 1.35rem;
	border-radius: 999px;
}
.ff-nav .ff-nav-cta .wp-block-navigation-item__content:hover { background: var(--ff-cocoa); color: var(--ff-white); }
.ff-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--ff-paper); padding: 2rem clamp(1.25rem, 6vw, 3rem); }
.ff-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 1.1rem; font-family: var(--ff-display); font-size: 2.4rem; font-weight: 400; }
.ff-nav .wp-block-navigation__responsive-container.is-menu-open .ff-nav-cta .wp-block-navigation-item__content { font-family: var(--ff-body); font-size: 1.05rem; font-weight: 600; margin-top: 1rem; }

/* ---------- Buttons ---------- */

.wp-block-buttons { gap: 0.75rem; margin-block-start: 2.25rem; }
.wp-block-button__link { transition: background-color 0.2s ease, transform 0.2s ease; }
.wp-block-button__link:active { transform: scale(0.98); }
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--ff-ink);
	border: 1.5px solid var(--ff-ink);
	padding: calc(0.9rem - 1.5px) calc(1.75rem - 1.5px);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--ff-ink); color: var(--ff-paper); }

/* ---------- Sofortbild (Polaroid) ---------- */

.wp-block-image.ff-pola {
	margin: 0;
	background: var(--ff-white);
	padding: clamp(0.65rem, 1.3vw, 1.1rem) clamp(0.65rem, 1.3vw, 1.1rem) 0;
	box-shadow: var(--ff-shadow-photo);
	border-radius: 2px;
}
.ff-pola img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	background: #D9D2C5;
}
.ff-pola .wp-element-caption,
.ff-pola figcaption {
	margin: 0;
	padding: 0.85em 0.25em 1.1em;
	min-height: 1.4em;
	text-align: center;
	font-family: var(--ff-display);
	font-style: italic;
	font-size: clamp(1.15rem, 0.9rem + 0.8vw, 1.5rem);
	line-height: 1.2;
	color: var(--ff-taupe-dark);
}
.ff-pola:not(:has(figcaption)) { padding-bottom: clamp(2.2rem, 4vw, 3.2rem); }
.ff-pola--tilt { transform: rotate(-2deg); max-width: 34rem; margin-inline: auto; }
.ff-pola--hero { transform: rotate(2deg); max-width: 32rem; margin-inline: auto; }

/* Das Foto „entwickelt“ sich – der eine bewusste Animationsmoment. */
.ff-develop img { animation: ff-develop 2.8s cubic-bezier(.25, .6, .3, 1) both; }
.ff-stack__2.ff-develop img { animation-delay: 0.35s; }
.ff-stack__3.ff-develop img { animation-delay: 0.7s; }
@keyframes ff-develop {
	0% { filter: brightness(1.7) saturate(0) contrast(0.55) sepia(0.4) blur(4px); }
	55% { filter: brightness(1.15) saturate(0.6) contrast(0.85) sepia(0.2) blur(0.5px); }
	100% { filter: none; }
}
@media (prefers-reduced-motion: reduce) { .ff-develop img { animation: none; } }
.editor-styles-wrapper .ff-develop img { animation: none; }

/* ---------- Hero ---------- */

.ff-hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(5rem, 10vw, 8rem); }
.ff-hero__cols { gap: clamp(2.5rem, 6vw, 6rem); }
.ff-hero__cols > .wp-block-column:first-child { flex-basis: 52%; flex-grow: 0; }
.ff-hero__title {
	font-size: clamp(3.1rem, 1.4rem + 5.2vw, 6rem);
	line-height: 0.98;
	letter-spacing: -0.025em;
	max-width: 12ch;
	text-wrap: balance;
	hyphens: manual;
}
.ff-hero .ff-lead { margin-block-start: 1.75rem; }

.ff-facts {
	list-style: none;
	padding: 0;
	margin-block-start: 2.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	font-size: var(--wp--preset--font-size--small);
}
.ff-facts li {
	padding: 0.45rem 0.95rem;
	border: 1px solid var(--ff-line);
	border-radius: 999px;
	background: var(--ff-white);
	color: var(--ff-ink);
}

/* Fotostapel */
.wp-block-group.ff-stack {
	position: relative;
	min-height: clamp(26rem, 46vw, 40rem);
	margin: 0;
}
.ff-stack > .ff-pola { position: absolute; margin: 0 !important; }
.ff-stack__1 { width: 58%; left: 0; top: 4%; transform: rotate(-7deg); z-index: 1; }
.ff-stack__2 { width: 50%; right: 0; top: 0; transform: rotate(5deg); z-index: 2; }
.ff-stack__3 { width: 54%; left: 22%; bottom: 0; transform: rotate(-1.5deg); z-index: 3; }

/* ---------- Produktkarten ---------- */

.ff-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(2rem, 4vw, 3.5rem);
	margin-block-start: clamp(3rem, 6vw, 4.5rem);
}
.ff-cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ff-cards > .ff-card { margin: 0; }
.ff-card .ff-pola { transition: transform 0.35s cubic-bezier(.3, .7, .3, 1); }
.ff-card:nth-child(3n+1) .ff-pola { transform: rotate(-2deg); }
.ff-card:nth-child(3n+2) .ff-pola { transform: rotate(1.5deg); }
.ff-card:nth-child(3n) .ff-pola { transform: rotate(-1deg); }
.ff-card:hover .ff-pola { transform: rotate(0) translateY(-4px); }
@media (prefers-reduced-motion: reduce) { .ff-card .ff-pola { transition: none; } }
.ff-card__title { font-size: clamp(1.9rem, 1.5rem + 1vw, 2.4rem); margin: 1.75rem 0 0.75rem; }
.ff-card__title a { text-decoration: none; }
.ff-card__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
.ff-card p { color: var(--ff-muted); }
.ff-card__meta { border-top: 1px solid var(--ff-line); padding-top: 1rem; margin-top: 1.25rem; font-size: var(--wp--preset--font-size--small); }
.ff-card__meta strong { font-family: var(--ff-display); font-weight: 400; font-size: 1.9rem; color: var(--ff-ink); }
.ff-more {
	display: inline-block;
	font-weight: 600;
	text-decoration: none;
	color: var(--ff-ink);
	border-bottom: 1.5px solid var(--ff-taupe);
	padding-bottom: 2px;
}
.ff-more:hover { border-color: var(--ff-cocoa); color: var(--ff-ink); }
@media (max-width: 900px) {
	.ff-cards, .ff-cards--two { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; }
}

/* ---------- Momente (dunkles Band) ---------- */

.ff-moments { background: var(--ff-ink); color: #E9E3D8; overflow: hidden; }
.ff-moments h2 { color: var(--ff-paper); }
.ff-moments .ff-lead { color: #BDB4A4; }
.wp-block-group.ff-reel {
	display: flex;
	gap: clamp(1.5rem, 3vw, 2.5rem);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 3.5rem max(1.25rem, calc((100vw - 78rem) / 2)) 2.5rem;
	margin-block-start: 1rem !important;
	scrollbar-width: thin;
	scrollbar-color: var(--ff-taupe) transparent;
}
.ff-reel > .ff-pola {
	flex: 0 0 clamp(14rem, 22vw, 18rem);
	scroll-snap-align: center;
	margin: 0 !important;
	box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.6);
}
.ff-reel > .ff-pola:nth-child(odd) { transform: rotate(-2.5deg); }
.ff-reel > .ff-pola:nth-child(even) { transform: rotate(2deg) translateY(1.5rem); }

/* ---------- Split / Feature ---------- */

.ff-split { gap: clamp(2.5rem, 7vw, 6.5rem); }
.ff-split > .wp-block-column:first-child { flex-basis: 44%; flex-grow: 0; }
@media (max-width: 781px) { .ff-split > .wp-block-column:first-child { flex-basis: 100%; } }

.ff-checks { list-style: none; padding: 0; margin-block-start: 1.75rem; }
.ff-checks li { position: relative; padding-left: 1.75rem; margin-block: 0.6rem; }
.ff-checks li::before {
	content: "";
	position: absolute;
	left: 0.15rem;
	top: 0.4em;
	width: 0.45rem;
	height: 0.8rem;
	border-right: 2px solid var(--ff-cocoa);
	border-bottom: 2px solid var(--ff-cocoa);
	transform: rotate(40deg);
}
.ff-checks--cols { columns: 2 16rem; column-gap: 2.5rem; max-width: 42rem; }
.ff-checks--cols li { break-inside: avoid; margin-block: 0 0.75rem; }

/* ---------- Preise als Menükarte ---------- */

.ff-prices { background: var(--ff-sand); }
.ff-prices__cols { gap: clamp(2.5rem, 7vw, 6rem); }
.ff-menu {
	position: relative;
	background: var(--ff-white);
	padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem, 5vw, 3.5rem) clamp(2rem, 5vw, 3rem);
	outline: 1px solid var(--ff-taupe);
	outline-offset: -0.7rem;
	box-shadow: var(--ff-shadow-photo);
	transform: rotate(0.8deg);
}
.ff-menu__head { text-align: center; font-family: var(--ff-display); font-size: 2.4rem; margin: 0 0 1.5rem; }
.ff-menu__list { list-style: none; margin: 0; padding: 0; }
.ff-menu__row { display: flex; align-items: baseline; gap: 0.6rem; padding-block: 0.95rem; }
.ff-menu__row + .ff-menu__row { border-top: 1px solid #F1ECE3; }
.ff-menu__name { font-weight: 600; }
.ff-menu__name small { display: block; font-weight: 400; color: var(--ff-muted); font-size: 0.85rem; }
.ff-menu__dots { flex: 1; border-bottom: 1.5px dotted #C9C0AE; transform: translateY(-0.35em); min-width: 1rem; }
.ff-menu__price { font-family: var(--ff-display); font-size: 1.85rem; white-space: nowrap; }
@media (max-width: 781px) { .ff-menu { transform: none; margin-top: 2.5rem; } }

/* ---------- Ablauf ---------- */

.ff-steps {
	list-style: none;
	counter-reset: ff-step;
	padding: 0;
	margin-block-start: clamp(2.5rem, 5vw, 4rem);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
	gap: 2.5rem 2rem;
}
.ff-steps li { counter-increment: ff-step; border-top: 1.5px solid var(--ff-ink); padding-top: 1.25rem; }
.ff-steps li::before {
	content: counter(ff-step);
	display: block;
	font-family: var(--ff-display);
	font-style: italic;
	font-size: 4rem;
	line-height: 1;
	color: var(--ff-taupe-dark);
	margin-bottom: 0.75rem;
}
.ff-steps__title { font-family: var(--ff-body); font-size: 1.1rem; font-weight: 650; margin: 0 0 0.4rem; letter-spacing: 0; line-height: 1.3; }
.ff-steps p { margin: 0; color: var(--ff-muted); font-size: var(--wp--preset--font-size--small); }

/* ---------- Einsatzgebiet als Gästeliste ---------- */

.ff-area__card {
	background: var(--ff-white);
	padding: clamp(2rem, 6vw, 4.5rem);
	border-radius: var(--ff-radius);
	box-shadow: 0 0 0 1px var(--ff-line);
}
.ff-area__intro { max-width: 42rem; color: var(--ff-muted); }
.ff-towns {
	list-style: none;
	padding: 0;
	margin: 2rem 0 1.5rem;
	columns: 3 12rem;
	column-gap: 2.5rem;
	font-family: var(--ff-display);
	font-size: 1.5rem;
	line-height: 1.25;
}
.ff-towns li { break-inside: avoid; padding: 0.5rem 0; border-bottom: 1px solid #F1ECE3; }

/* ---------- Raster ---------- */

.ff-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(2rem, 4vw, 3.5rem) clamp(2rem, 6vw, 6rem);
	margin-block-start: clamp(2.5rem, 5vw, 3.5rem);
}
.ff-grid > .ff-grid__item { margin: 0; max-width: 32rem; padding-top: 1.25rem; border-top: 1px solid var(--ff-line); }
.ff-grid__item h3 { margin-bottom: 0.6rem; }
.ff-grid__item p { color: var(--ff-muted); margin: 0; }
@media (max-width: 781px) { .ff-grid { grid-template-columns: 1fr; } }

.ff-compare__cols { margin-block-start: 2.5rem; gap: 1.5rem; }
.ff-panel {
	background: var(--ff-white);
	border-radius: var(--ff-radius);
	box-shadow: 0 0 0 1px var(--ff-line);
	padding: clamp(1.75rem, 4vw, 2.75rem);
	height: 100%;
	box-sizing: border-box;
}
.ff-panel--accent { box-shadow: 0 0 0 2px var(--ff-taupe), var(--ff-shadow-photo); }
.ff-panel__price { font-family: var(--ff-display); font-size: 2.4rem; margin: 0.25rem 0 0.75rem; }
.ff-compare .ff-checks--cols { margin-block-start: 3rem; }

/* ---------- Produkt-Hero ---------- */

.ff-phero { padding-block: clamp(2.5rem, 6vw, 5rem) var(--ff-section-y); }
.ff-phero__cols { gap: clamp(2.5rem, 7vw, 6rem); }
.ff-phero__title { font-size: clamp(2.8rem, 1.4rem + 4vw, 5rem); line-height: 1; letter-spacing: -0.02em; max-width: 13ch; text-wrap: balance; margin-top: 0.75rem; }
.ff-phero .ff-lead { margin-block-start: 1.5rem; }
.ff-crumb { font-size: var(--wp--preset--font-size--small); color: var(--ff-muted); margin: 0; }
.ff-crumb a { color: var(--ff-muted); }

/* ---------- FAQ ---------- */

.ff-faq h2 { margin-bottom: 2rem; }
.ff-faq__item { border-top: 1px solid var(--ff-line); margin: 0; }
.ff-faq__item:last-of-type { border-bottom: 1px solid var(--ff-line); }
.ff-faq__item summary {
	list-style: none;
	cursor: pointer;
	padding: 1.4rem 3rem 1.4rem 0;
	position: relative;
	font-weight: 600;
	font-size: 1.1rem;
}
.ff-faq__item summary::-webkit-details-marker { display: none; }
.ff-faq__item summary::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background:
		linear-gradient(var(--ff-ink), var(--ff-ink)) center / 0.75rem 1.5px no-repeat,
		linear-gradient(var(--ff-ink), var(--ff-ink)) center / 1.5px 0.75rem no-repeat,
		var(--ff-sand);
	transform: translateY(-50%);
	transition: transform 0.25s ease;
}
.ff-faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.ff-faq__item > p { margin: 0 0 1.5rem; color: var(--ff-muted); max-width: 42rem; }
@media (prefers-reduced-motion: reduce) { .ff-faq__item summary::after { transition: none; } }

/* ---------- Kontakt & Formular ---------- */

.ff-contact { background: var(--ff-sand); }
.ff-contact__card {
	background: var(--ff-white);
	border-radius: calc(var(--ff-radius) * 1.5);
	padding: clamp(1.75rem, 5vw, 4rem);
	box-shadow: var(--ff-shadow-photo);
}
.ff-contact__cols { gap: clamp(2rem, 6vw, 5rem); margin: 0; }
.ff-contact__cols > .wp-block-column:first-child { flex-basis: 38%; flex-grow: 0; }
@media (max-width: 781px) { .ff-contact__cols > .wp-block-column:first-child { flex-basis: 100%; } }
.ff-contact__logo { height: 96px; max-width: 240px; margin-bottom: 2rem; }
.ff-contact__call { margin-block-start: 2rem; color: var(--ff-muted); }
.ff-phone { font-family: var(--ff-display); font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem); text-decoration: none; line-height: 1.2; color: var(--ff-ink); }
.ff-contact__mail a { font-weight: 600; }

.ff-form { display: grid; gap: 1.25rem; }
.ff-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1rem; }
@media (max-width: 600px) { .ff-form__grid { grid-template-columns: 1fr; } }
.ff-field { display: grid; gap: 0.4rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.ff-field > span, .ff-field > legend { font-size: 0.9rem; font-weight: 600; padding: 0; }
.ff-field em { font-style: normal; font-weight: 400; color: var(--ff-muted); }
.ff-field input, .ff-field select, .ff-field textarea {
	width: 100%;
	box-sizing: border-box;
	font: inherit;
	font-size: 1rem;
	color: var(--ff-ink);
	background: var(--ff-paper);
	border: 1px solid #D8D0C2;
	border-radius: 10px;
	padding: 0.85rem 0.95rem;
	min-height: 3.1rem;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.ff-field textarea { min-height: 7rem; resize: vertical; }
.ff-field input:focus, .ff-field select:focus, .ff-field textarea:focus {
	outline: none;
	background: var(--ff-white);
	border-color: var(--ff-cocoa);
	box-shadow: 0 0 0 3px rgba(168, 159, 132, 0.45);
}
.ff-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.25rem; }
.ff-chip { position: relative; cursor: pointer; }
.ff-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ff-chip span {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.6rem 1rem;
	border: 1px solid #D8D0C2;
	border-radius: 999px;
	font-size: 0.95rem;
	background: var(--ff-paper);
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.ff-chip input:checked + span { background: var(--ff-ink); border-color: var(--ff-ink); color: var(--ff-paper); }
.ff-chip input:checked + span::before { content: "✓"; font-size: 0.85em; }
.ff-chip input:focus-visible + span { outline: 2px solid var(--ff-cocoa); outline-offset: 2px; }
.ff-check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.9rem; color: var(--ff-muted); cursor: pointer; }
.ff-check input { width: 1.2rem; height: 1.2rem; margin-top: 0.15rem; accent-color: var(--ff-cocoa); flex: none; }
.ff-form .is-invalid input, .ff-form .is-invalid select, .ff-form .is-invalid .ff-chip span { border-color: #A3392B; }
.ff-form .is-invalid > span, .ff-form .is-invalid > legend, .ff-check.is-invalid { color: #A3392B; }
.ff-form__submit {
	appearance: none;
	border: 0;
	cursor: pointer;
	font: inherit;
	font-weight: 600;
	font-size: 1.05rem;
	background: var(--ff-ink);
	color: var(--ff-paper);
	padding: 1.05rem 2rem;
	border-radius: 999px;
	transition: background-color 0.2s ease, transform 0.2s ease;
}
.ff-form__submit:hover { background: var(--ff-cocoa); }
.ff-form__submit:active { transform: scale(0.99); }
.ff-form__submit:disabled { opacity: 0.6; cursor: wait; }
.ff-form__status { padding: 1rem 1.2rem; border-radius: 10px; font-weight: 500; }
.ff-form__status--ok { background: #E8EFE3; color: #2F4A25; }
.ff-form__status--error { background: #F6E4E0; color: #7A2A1F; }
.ff-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Einfache Seiten (Impressum, Datenschutz …) ---------- */

.ff-page { padding-block: clamp(3rem, 7vw, 5rem) var(--ff-section-y); }
.ff-page__title { font-size: var(--wp--preset--font-size--xx-large); }

/* ---------- Footer ---------- */

.ff-site-footer { margin-block-start: 0; }
.ff-footer {
	background: var(--ff-ink);
	color: #D6CFC2;
	padding: clamp(4rem, 8vw, 6rem) clamp(1.25rem, 4vw, 2.5rem) 2rem;
	margin: 0;
}
.ff-footer a { color: #F4F0E8; text-decoration-color: rgba(168, 159, 132, 0.7); }
.ff-footer a:hover { color: var(--ff-taupe); }
.ff-footer__cols { max-width: 78rem; margin-inline: auto; gap: clamp(2rem, 5vw, 4rem); }
.ff-footer__cols > .wp-block-column:first-child { flex-basis: 40%; flex-grow: 0; }
.ff-footer__logo {
	display: inline-block;
	margin-bottom: 1.75rem;
	padding: 1.1rem;
	background: var(--ff-paper);
	border-radius: 12px;
}
.ff-footer__logo img { height: 110px; max-width: 260px; }
.ff-footer__nap { margin-top: 1.25rem; }
.ff-footer h2.ff-footer__h { font-family: var(--ff-body); font-size: 0.95rem; font-weight: 600; color: var(--ff-taupe); letter-spacing: 0.02em; margin: 0 0 1rem; }
.ff-footer__list { list-style: none; padding: 0; margin: 0; }
.ff-footer__list li { margin-block: 0.5rem; }
.ff-footer__legal { max-width: 78rem; margin: clamp(2.5rem, 5vw, 4rem) auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.85rem; color: #A69D8D; }
@media (max-width: 781px) { .ff-footer__cols > .wp-block-column:first-child { flex-basis: 100%; } }

/* ---------- Mobile Schnellkontakt-Leiste ---------- */

.ff-mobilebar { display: none; }
@media (max-width: 781px) {
	.ff-mobilebar {
		display: grid;
		grid-template-columns: 1fr 1.6fr;
		gap: 0.5rem;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 60;
		padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
		background: rgba(248, 246, 242, 0.92);
		-webkit-backdrop-filter: blur(12px);
		backdrop-filter: blur(12px);
		border-top: 1px solid var(--ff-line);
	}
	.ff-mobilebar a { display: flex; align-items: center; justify-content: center; min-height: 3rem; border-radius: 999px; text-decoration: none; font-weight: 600; }
	.ff-mobilebar__call { border: 1.5px solid var(--ff-ink); color: var(--ff-ink); }
	.ff-mobilebar__ask { background: var(--ff-ink); color: var(--ff-paper); }
	body { padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px)); }
	.ff-logo img { height: 50px !important; }
	.ff-brand__name { font-size: 1.7rem; }
}
