/* =========================================================================
   Bühner Frank – Bento Grid Theme
   Palette: kühles Off-White + Graphit + EIN Werkstatt-Kupfer-Akzent.
   ========================================================================= */

:root {
	--bg: #f4f5f7;
	--card-bg: #ffffff;
	--ink: #1b1e22;
	--muted: #5b6470;
	--graphite: #2b3440;
	--graphite-2: #37414f;
	--accent: #a8562a;
	--accent-dark: #7c4420;
	--accent-light: #c97a3d;
	--border: rgba(27, 30, 34, 0.08);
	--border-dark: rgba(255, 255, 255, 0.1);

	--shadow-sm: 0 1px 2px rgba(27, 30, 34, 0.06), 0 1px 1px rgba(27, 30, 34, 0.04);
	--shadow-md: 0 8px 24px rgba(27, 30, 34, 0.08), 0 2px 6px rgba(27, 30, 34, 0.05);
	--shadow-lg: 0 20px 48px rgba(27, 30, 34, 0.14), 0 4px 12px rgba(27, 30, 34, 0.06);

	--radius-lg: 24px;
	--radius-md: 16px;
	--radius-sm: 10px;
	--grid-gap: 20px;

	--font-display: "Manrope", "Segoe UI", system-ui, sans-serif;
	--font-body: "Public Sans", "Segoe UI", system-ui, sans-serif;

	--ease-out: cubic-bezier(0.23, 1, 0.32, 1);
	--ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
	--ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

	--header-h: 84px;
	--wrap-max: 1320px;
}

/* ---------------------------------------------------------------------
   Reset & base
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
svg { max-width: 100%; height: auto; }
.icon { width: 1.4em; height: 1.4em; flex: 0 0 auto; vertical-align: middle; }
.icon--md { width: 26px; height: 26px; }
.icon--lg { width: 32px; height: 32px; }
.icon--brand { width: 26px; height: 26px; color: var(--accent); }
.icon--star { width: 18px; height: 18px; color: var(--accent); }

a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin: 0 0 0.5em;
	text-wrap: balance;
}

p { margin: 0 0 1em; color: var(--muted); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.wrap {
	max-width: var(--wrap-max);
	margin-inline: auto;
	padding-inline: clamp(20px, 4vw, 48px);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link {
	position: fixed;
	top: -100px;
	left: 12px;
	z-index: 200;
	background: var(--accent);
	color: #fff;
	padding: 12px 18px;
	border-radius: var(--radius-sm);
	transition: top 200ms var(--ease-out);
}
.skip-link:focus { top: 12px; }

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	border-radius: 4px;
}

.section-kicker {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent);
	margin: 0 0 0.75rem;
}

.section-title {
	font-size: clamp(1.7rem, 3.2vw, 2.5rem);
	max-width: 32ch;
}
.section-title--light { color: #fff; }

/* ---------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.98rem;
	white-space: nowrap;
	padding: 0.95rem 1.6rem;
	border-radius: 999px;
	border: 1px solid transparent;
	transition: transform 160ms var(--ease-out), box-shadow 200ms var(--ease-out), background-color 200ms var(--ease-out), color 200ms var(--ease-out);
	min-height: 44px;
}
.btn:active { transform: scale(0.97); }

.btn--accent { background: var(--accent-dark); color: #fff; box-shadow: var(--shadow-md); }
.btn--accent:hover { background: var(--accent); box-shadow: var(--shadow-lg); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn--ghost-light { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: var(--border-dark); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.14); }

.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }

.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.88rem; min-height: 38px; }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.02rem; }

/* ---------------------------------------------------------------------
   Header
   --------------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	width: 100%;
}

.site-header__bar {
	background: rgba(244, 245, 247, 0.85);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid transparent;
	transition: box-shadow 250ms var(--ease-out), border-color 250ms var(--ease-out), background-color 250ms var(--ease-out);
}
.site-header.is-scrolled .site-header__bar {
	box-shadow: var(--shadow-sm);
	border-bottom-color: var(--border);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	height: var(--header-h);
	transition: height 250ms var(--ease-out);
}
.site-header.is-scrolled .site-header__inner { height: 64px; }

.site-brand {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	flex: 0 0 auto;
}
.site-brand__mark {
	display: inline-flex;
	color: var(--accent);
}
.site-brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.site-brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.site-brand__tag { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; }
.custom-logo { max-height: 56px; width: auto; }

.primary-nav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
.primary-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(1.1rem, 2vw, 2rem);
	white-space: nowrap;
}
.primary-nav__list a {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.96rem;
	color: var(--ink);
	position: relative;
	padding: 0.3rem 0.1rem;
	transition: color 180ms var(--ease-out);
}
.primary-nav__list a::after {
	content: "";
	position: absolute;
	left: 0; right: 100%;
	bottom: -2px;
	height: 2px;
	background: var(--accent);
	transition: right 220ms var(--ease-out);
}
.primary-nav__list a:hover { color: var(--accent); }
.primary-nav__list a:hover::after { right: 0; }

.site-header__actions { display: flex; align-items: center; gap: 0.9rem; flex: 0 0 auto; }
.header-phone {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.92rem;
	color: var(--ink);
}
.header-phone .icon { width: 18px; height: 18px; color: var(--accent); }
.header-phone:hover { color: var(--accent); }

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--radius-sm);
	border: 1px solid var(--border);
	background: var(--card-bg);
	color: var(--ink);
	position: relative;
}
.nav-toggle__icon { display: flex; }
.nav-toggle__icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--close { display: flex; }

.mobile-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(340px, 86vw);
	background: var(--card-bg);
	z-index: 150;
	padding: calc(var(--header-h) + 1rem) 1.75rem 2rem;
	display: flex;
	flex-direction: column;
	gap: 2rem;
	transform: translateX(100%);
	transition: transform 320ms var(--ease-drawer, var(--ease-out));
	box-shadow: -20px 0 48px rgba(27, 30, 34, 0.18);
	overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer__list { display: flex; flex-direction: column; gap: 0.3rem; }
.mobile-drawer__list a {
	display: block;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.15rem;
	padding: 0.85rem 0.25rem;
	border-bottom: 1px solid var(--border);
}
.mobile-drawer__contact { display: flex; flex-direction: column; gap: 0.85rem; }
.mobile-drawer__contact a:first-child { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; }
.mobile-drawer__contact a:first-child .icon { color: var(--accent); width: 20px; height: 20px; }

.drawer-overlay {
	position: fixed;
	inset: 0;
	background: rgba(27, 30, 34, 0.4);
	border: 0;
	padding: 0;
	z-index: 140;
	opacity: 0;
	visibility: hidden;
	transition: opacity 300ms var(--ease-out), visibility 300ms;
}
.drawer-overlay.is-visible { opacity: 1; visibility: visible; }

@media (max-width: 900px) {
	.primary-nav, .header-phone { display: none; }
	.nav-toggle { display: inline-flex; }
	.site-header__inner { height: 72px; gap: 0.75rem; }
	.site-header.is-scrolled .site-header__inner { height: 64px; }
}

/* Bei sehr schmalen Screens (z.B. 375px) reicht Logo + CTA-Pille + Burger
   nicht nebeneinander – CTA weicht dem Toggle, damit dieser nicht abgeschnitten wird. */
@media (max-width: 480px) {
	.site-header__actions { gap: 0.6rem; }
	.header-cta { display: none; }
	.site-brand__tag { display: none; }
}

/* ---------------------------------------------------------------------
   Reveal animation
   --------------------------------------------------------------------- */
.reveal {
	opacity: 1;
	transform: none;
}
@media (prefers-reduced-motion: no-preference) {
	.reveal {
		opacity: 0;
		transform: translateY(28px);
		transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
	}
	.reveal.is-visible { opacity: 1; transform: translateY(0); }
}

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5.5rem); }
.hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}
.hero__kicker {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.82rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 1rem;
}
.hero__title {
	font-size: clamp(2.3rem, 4.6vw, 3.6rem);
	letter-spacing: -0.03em;
	margin-bottom: 1.1rem;
}
.hero__subtitle {
	font-size: 1.1rem;
	max-width: 46ch;
	margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__bento {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(2, minmax(120px, auto));
	gap: var(--grid-gap);
}
.hero-tile {
	border-radius: var(--radius-lg);
	position: relative;
	overflow: hidden;
	transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out);
}
.hero-tile:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }

.hero-tile--photo {
	grid-column: 1 / 3;
	grid-row: 1 / 2;
	aspect-ratio: 16 / 9;
	background: var(--graphite);
	box-shadow: var(--shadow-md);
}
.hero-tile--photo img { width: 100%; height: 100%; object-fit: cover; }

.hero-tile--stat {
	background: var(--card-bg);
	box-shadow: var(--shadow-md);
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 1.4rem;
	min-height: 140px;
}
.hero-tile__number {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 2.1rem;
	letter-spacing: -0.02em;
	color: var(--ink);
}
.hero-tile__number--light { color: #fff; }
.hero-tile__label { font-size: 0.88rem; color: var(--muted); font-weight: 600; }
.hero-tile__label--light { color: rgba(255, 255, 255, 0.72); }

.hero-tile--dark {
	background: var(--graphite);
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.6rem;
	padding: 1.4rem;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.98rem;
	box-shadow: var(--shadow-md);
}
.hero-tile--dark .icon { color: var(--accent-light); }

@media (max-width: 900px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__bento { order: -1; }
}
@media (max-width: 600px) {
	.hero__actions .btn { width: 100%; }
	.hero__bento { grid-template-columns: 1fr 1fr; }
}

/* ---------------------------------------------------------------------
   Slider (CPT slide)
   --------------------------------------------------------------------- */
.slides-section { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.slides-section .section-title { margin-bottom: 2rem; }

.slider { position: relative; }
.slider__track {
	display: flex;
	gap: var(--grid-gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 0.25rem clamp(20px, 4vw, 48px) 1.5rem;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.slider__track::-webkit-scrollbar { display: none; }

.slide-card {
	scroll-snap-align: start;
	flex: 0 0 min(340px, 82vw);
	background: var(--card-bg);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-md);
	transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.slide-card:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
.slide-card__media { aspect-ratio: 4 / 3; background: var(--bg); overflow: hidden; }
.slide-card__media img { width: 100%; height: 100%; object-fit: cover; }
.slide-card__body { padding: 1.4rem 1.5rem 1.6rem; }
.slide-card__body h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.slide-card__text p { font-size: 0.94rem; margin: 0; }

.slider__controls { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: 0.5rem; }
.slider__arrow {
	width: 44px; height: 44px;
	border-radius: 50%;
	border: 1px solid var(--border);
	background: var(--card-bg);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--ink);
	transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), transform 160ms var(--ease-out);
}
.slider__arrow:hover { background: var(--accent-dark); color: #fff; }
.slider__arrow:active { transform: scale(0.94); }
.slider__arrow--prev svg { transform: rotate(180deg); }
.slider__dots { display: flex; gap: 0.5rem; }
.slider__dots button {
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--border);
	border: 0;
	padding: 0;
	transition: background-color 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.slider__dots button.is-active { background: var(--accent); transform: scale(1.3); }

/* ---------------------------------------------------------------------
   Bento grid (Leistungen)
   --------------------------------------------------------------------- */
.services-bento { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.services-bento .section-title { margin-bottom: 2.5rem; }

.bento-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--grid-gap);
}
.bento-cell {
	background: var(--card-bg);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
a.bento-cell:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }

/* Vier Zellen füllen das Raster lückenlos: Zelle 1 breit, 2+3 quadratisch,
   4 als schließende Vollbreite-Kachel (siehe BENTO CELL COUNT RULE). */
.bento-cell--wide { grid-column: span 2; }
.bento-grid > .bento-cell:nth-child(4) { grid-column: span 4; }

@media (max-width: 900px) {
	.bento-grid { grid-template-columns: repeat(2, 1fr); }
	.bento-grid > .bento-cell:nth-child(4) { grid-column: span 2; }
}
@media (max-width: 600px) {
	.bento-grid { grid-template-columns: 1fr; }
	.bento-grid > .bento-cell,
	.bento-cell--wide,
	.bento-grid > .bento-cell:nth-child(4) { grid-column: span 1; }
}

.bento-cell__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg); }
.bento-cell__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
a.bento-cell:hover .bento-cell__media img { transform: scale(1.06); }

.bento-cell__body { padding: 1.6rem 1.7rem 1.8rem; flex: 1; display: flex; flex-direction: column; }
.bento-cell__icon { display: inline-flex; color: var(--accent); margin-bottom: 0.9rem; }
.bento-cell__body h3 { font-size: 1.18rem; margin-bottom: 0.5rem; }
.bento-cell__body p { font-size: 0.95rem; margin-bottom: 1rem; }
.bento-cell__more {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--accent);
}
.bento-cell__more .icon { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
a.bento-cell:hover .bento-cell__more .icon { transform: translateX(4px); }

/* Stats bento (dark) */
.stats-bento { background: var(--graphite); padding: clamp(3rem, 6vw, 5.5rem) 0; }
.stats-bento .section-title { margin-bottom: 2.5rem; }
.bento-cell--dark {
	background: var(--graphite-2);
	color: #fff;
	padding: 1.9rem 1.8rem;
	box-shadow: none;
	border: 1px solid var(--border-dark);
}
.bento-cell--dark:hover { transform: scale(1.02); }
.bento-cell--dark h3 { color: #fff; font-size: 1.1rem; margin-bottom: 0.5rem; }
.bento-cell--dark p { color: rgba(255, 255, 255, 0.68); font-size: 0.94rem; max-width: 60ch; }
.bento-cell--dark .bento-cell__icon { color: var(--accent-light); }
.bento-cell--dark.bento-cell--wide { display: flex; flex-direction: column; justify-content: center; }

/* ---------------------------------------------------------------------
   Testimonial
   --------------------------------------------------------------------- */
.testimonial { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.testimonial-card {
	max-width: 720px;
	margin-inline: auto;
	text-align: center;
	background: var(--card-bg);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	padding: clamp(2rem, 5vw, 3.2rem);
}
.testimonial-card__stars { display: flex; justify-content: center; gap: 0.2rem; margin-bottom: 1.2rem; }
.testimonial-card__quote {
	font-family: var(--font-display);
	font-size: clamp(1.15rem, 2.4vw, 1.5rem);
	font-weight: 600;
	color: var(--ink);
	letter-spacing: -0.01em;
	margin-bottom: 1.2rem;
}
.testimonial-card__author { font-size: 0.92rem; color: var(--muted); font-weight: 600; }

/* ---------------------------------------------------------------------
   Team band
   --------------------------------------------------------------------- */
.team-band { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.team-band__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}
.team-band__media {
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-md);
	aspect-ratio: 4 / 3;
	background: var(--graphite);
}
.team-band__media img { width: 100%; height: 100%; object-fit: cover; }
.team-band__content .section-title { margin-bottom: 1rem; }
.team-band__content p { font-size: 1.03rem; margin-bottom: 1.6rem; max-width: 50ch; }

@media (max-width: 900px) {
	.team-band__inner { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------
   CTA band
   --------------------------------------------------------------------- */
.cta-band { background: var(--ink); padding: clamp(3rem, 6vw, 5rem) 0; }
.cta-band__inner { text-align: center; max-width: 640px; margin-inline: auto; }
.cta-band__inner h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 0.9rem; }
.cta-band__inner p { color: rgba(255, 255, 255, 0.68); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* ---------------------------------------------------------------------
   Page hero / content (Unterseiten)
   --------------------------------------------------------------------- */
.page-hero { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(1.5rem, 3vw, 2rem); }
.page-hero__title { font-size: clamp(2rem, 4.2vw, 3rem); max-width: 26ch; }

.page-content { padding: 0 0 clamp(3rem, 6vw, 5rem); }
.page-content__inner { max-width: 780px; }
.page-content__inner h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: 2.2rem; }
.page-content__inner h3 { font-size: 1.25rem; margin-top: 1.6rem; }
.page-content__inner p { color: var(--ink); font-size: 1.05rem; }
.page-content__inner ul { margin: 1rem 0 1.4rem; }
.page-content__inner ul li {
	position: relative;
	padding-left: 1.6rem;
	margin-bottom: 0.6rem;
	color: var(--ink);
}
.page-content__inner ul li::before {
	content: "";
	position: absolute;
	left: 0; top: 0.55em;
	width: 7px; height: 7px;
	border-radius: 50%;
	background: var(--accent);
}
.page-content__inner figure { margin: 2rem 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.page-content__inner a:not(.btn) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.page-content__inner .wp-block-column figure,
.page-content__inner .wp-block-image { border-radius: var(--radius-md); overflow: hidden; }
.page-content__inner .wp-block-group {
	background: var(--card-bg);
	border-radius: var(--radius-md);
	padding: 1.6rem 1.8rem;
	box-shadow: var(--shadow-sm);
	margin: 1.8rem 0;
}
.page-content__inner .wp-block-separator { border-color: var(--border); margin: 2.4rem 0; }

/* ---------------------------------------------------------------------
   Kontakt-Bento
   --------------------------------------------------------------------- */
.contact-bento { padding: 0 0 clamp(3rem, 6vw, 5rem); }
.contact-bento__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--grid-gap);
}
.contact-info-card, .contact-map-card, .contact-form-card {
	background: var(--card-bg);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	padding: 1.9rem 2rem;
}
.contact-map-card { padding: 0; overflow: hidden; min-height: 320px; }
.contact-map-card iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.contact-form-card { grid-column: 1 / -1; }
.contact-info-card h2, .contact-form-card h2 { font-size: 1.3rem; margin-bottom: 1.1rem; }
.contact-info-card__list { display: flex; flex-direction: column; gap: 1rem; }

@media (max-width: 720px) {
	.contact-bento__grid { grid-template-columns: 1fr; }
}

/* Kontaktformular-Plugin ([kontaktformular]) druckt sein eigenes
   <style>.wpscp-form...</style> direkt vor dem Formular (später im DOM als
   unser main.css) – bei gleicher Spezifität gewinnt Quellreihenfolge, daher
   hier mit doppelter Klassenspezifität + !important überschreiben.
   Echte Selektoren: .wpscp-form, .wpscp-form__btn, .wpscp-form label
   (siehe Memory wpx-kontaktformular-plugin-css-override). */
.contact-form-card.contact-form-card .wpscp-form {
	max-width: none;
	padding: 0;
	box-shadow: none;
	background: transparent;
}
.contact-form-card.contact-form-card .wpscp-form input,
.contact-form-card.contact-form-card .wpscp-form textarea {
	border: 1px solid var(--border) !important;
	border-radius: var(--radius-sm) !important;
	padding: 0.8rem 1rem !important;
	font-family: var(--font-body) !important;
	font-size: 1rem !important;
	font-weight: 400 !important;
	color: var(--ink) !important;
	background: var(--bg) !important;
}
.contact-form-card.contact-form-card .wpscp-form label {
	font-family: var(--font-body) !important;
	color: var(--ink) !important;
}
.contact-form-card.contact-form-card .wpscp-form__btn {
	background: var(--accent-dark) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 999px !important;
	padding: 0.9rem 1.8rem !important;
	font-family: var(--font-display) !important;
	font-weight: 700 !important;
	font-size: 0.98rem !important;
	filter: none !important;
	transition: background-color 200ms var(--ease-out), transform 160ms var(--ease-out);
}
.contact-form-card.contact-form-card .wpscp-form__btn:hover { background: var(--accent) !important; }
.contact-form-card.contact-form-card .wpscp-form__btn:active { transform: scale(0.97); }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.site-footer { background: var(--graphite); color: rgba(255, 255, 255, 0.82); padding: clamp(3rem, 5vw, 4.5rem) 0 0; }
.site-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 2.5rem;
	padding-bottom: 3rem;
	border-bottom: 1px solid var(--border-dark);
}
.site-footer__brand { display: flex; flex-direction: column; gap: 0.8rem; }
.site-footer__brand .site-brand__name { color: #fff; font-size: 1.1rem; }
.site-footer__brand p { color: rgba(255, 255, 255, 0.6); font-size: 0.92rem; max-width: 34ch; }
.site-footer__col h3 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.1rem; }
.site-footer__col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.site-footer__col a { color: rgba(255, 255, 255, 0.72); font-size: 0.95rem; transition: color 180ms var(--ease-out); }
.site-footer__col a:hover { color: var(--accent-light); }

.footer-contact-list { display: flex; flex-direction: column; gap: 0.9rem; }
.footer-contact-list li, .footer-contact-list a {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.95rem;
}
.footer-contact-list .icon { color: var(--accent-light); flex-shrink: 0; width: 20px; height: 20px; }
.contact-info-card .icon { color: var(--accent); }

.site-footer__bottom { padding: 1.5rem 0; text-align: center; font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); }

@media (max-width: 900px) {
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.site-footer__grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------
   Responsive: Tablet & Mobile
   --------------------------------------------------------------------- */
@media (max-width: 600px) {
	body { font-size: 16px; }
	.wrap { padding-inline: 18px; }
	.hero__actions, .cta-band__actions { flex-direction: column; align-items: stretch; }
	.cta-band__actions .btn { width: 100%; }
	.slide-card { flex-basis: 84vw; }
	.contact-info-card, .contact-map-card, .contact-form-card { padding: 1.5rem; }
}

/* Kein horizontales Scrollen */
html, body { overflow-x: hidden; }
