/*
 * Stockinger Theme – main.css
 *
 * Aufbau übernommen aus dem Friedrich-Sailer-Theme (dort 8.800 Zeilen,
 * strikt in kommentierte Sektionen pro Pattern-Familie gegliedert):
 *
 *   1. Design Tokens (:root)
 *   2. Base
 *   3. Header / Footer
 *   4. Button Styles (.is-style-st-*)
 *   5. Pattern-Sektionen (eine Sektion pro Pattern-Familie)
 *
 * Konventionen (aus dem FS-Projekt übernommen):
 * - BEM mit st-Präfix: .st-block__element (KEIN "--" in Klassennamen,
 *   die im Pattern-Markup stehen – Gutenberg-Kommentare brechen sonst!
 *   Modifier daher als eigenes Suffix schreiben: .st-block-variante)
 * - Pattern-CSS streng auf die Pattern-Hauptklasse scopen, damit ein
 *   Pattern-Fix keine fremden Blöcke beeinflusst.
 * - !important nur dort, wo Gutenbergs generierte Layout-Styles
 *   (is-layout-flex / is-layout-constrained) überstimmt werden müssen.
 * - Beim Übernehmen eines FS-Patterns: die zugehörige CSS-Sektion aus
 *   der FS-main.css hierher kopieren (Sektionen sind dort kommentiert;
 *   Responsive-Regeln der FS-KERN-Sektionen 3-11 liegen separat im
 *   zentralen Block "Responsive Breakpoints", Z. 1936-3258).
 */

/* ==========================================================================
   1. Design Tokens
   ========================================================================== */

:root {
	/* Farben (aus der statischen Stockinger-Seite, css/style.css) */
	--st-primary: #1c4a8c;
	--st-primary-dark: #123a6e;
	--st-akzent: #d62828;
	--st-akzent-hover: #b71f1f;
	--st-text: #2b2e34;
	--st-text-grau: #5a5f68;
	--st-weiss: #ffffff;
	--st-hellgrau: #f4f6f9;
	--st-hellblau: #dce7f6;
	--st-border: #e1e5eb;

	/* Typografie */
	--st-font-display: 'Bebas Neue', sans-serif;
	--st-font-base: 'Inter', sans-serif;

	/* Layout */
	--st-content-width: 1180px;
	--st-radius: 6px;
	--st-shadow: 0 8px 24px rgba(18, 58, 110, 0.08);
	--st-section-padding: 80px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */

html {
	scroll-behavior: smooth;
	scroll-padding-top: 120px; /* Anker-Sprünge unter dem Sticky-Header */
}

body {
	margin: 0;
	font-family: var(--st-font-base);
	color: var(--st-text);
	-webkit-font-smoothing: antialiased;
}

@media (max-width: 800px) {
	html {
		scroll-padding-top: 108px;
	}
}

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

/* ==========================================================================
   3. Header / Footer
   ========================================================================== */

.st-header {
	border-bottom: 1px solid var(--st-border);
}

.st-footer a {
	color: var(--st-hellblau);
}

.st-footer a:hover {
	color: var(--st-weiss);
}

/* ==========================================================================
   4. Button Styles
   ========================================================================== */

.wp-block-button .wp-block-button__link {
	background-color: var(--st-primary);
	color: var(--st-weiss);
	border-radius: var(--st-radius);
	padding: 13px 27px;
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.03em;
	transition: background-color 0.2s ease;
}

.wp-block-button .wp-block-button__link:hover {
	background-color: var(--st-primary-dark);
}

/* Das globale blockGap:0px (theme.json) nullt auch den Gap von
   Button-Gruppen — Abstand wie die statische Vorlage (16px). */
.wp-block-buttons {
	gap: 16px !important;
}

/* Download-Button (Flyer): Icon wie .doc-link der statischen Seite */
.st-btn-download .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.st-btn-download .wp-block-button__link::before {
	content: "";
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m0 0l-4-4m4 4l4-4M5 21h14'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m0 0l-4-4m4 4l4-4M5 21h14'/%3E%3C/svg%3E") no-repeat center / contain;
}

.wp-block-button.is-style-st-outline-blau .wp-block-button__link {
	background: transparent;
	color: var(--st-primary);
	border: 2px solid var(--st-primary);
}

.wp-block-button.is-style-st-outline-blau .wp-block-button__link:hover {
	background: var(--st-primary);
	color: var(--st-weiss);
}

.wp-block-button.is-style-st-outline-weiss .wp-block-button__link {
	background: transparent;
	color: var(--st-weiss);
	border: 2px solid var(--st-weiss);
}

.wp-block-button.is-style-st-outline-weiss .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.15);
	color: var(--st-weiss);
}

/* ==========================================================================
   5.1 Pattern: 1-spaltig – Headline + Fließtext  (.st-headline-text)
   H2-Typografie kommt global aus theme.json (Bebas, Versalien, Blau —
   wie die statische Vorlage); hier kein Override mehr.
   ========================================================================== */

/* ==========================================================================
   5.2 Pattern: 2-spaltig – Eyebrow, Headline, Text | Bild  (.st-text-bild)
   ========================================================================== */

.st-text-bild__eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.st-text-bild__image img {
	width: 100%;
	display: block;
	border-radius: var(--st-radius);
	object-fit: cover;
}

@media (max-width: 768px) {
	.st-text-bild__columns {
		flex-wrap: wrap !important;
	}
}

/* ==========================================================================
   5.3 Pattern: 1-spaltig – Aufzählung mit Häkchen  (.st-aufzaehlung)
   ========================================================================== */

.st-aufzaehlung__list {
	list-style: none;
	padding-left: 0;
}

.st-aufzaehlung__list li {
	position: relative;
	padding-left: 36px;
	margin-bottom: 12px;
}

.st-aufzaehlung__list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 2px;
	width: 22px;
	height: 22px;
	background-color: var(--st-primary);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ==========================================================================
   3b. Header-Part: Topbar, Logo, Navigation, Telefon  (.st-header-wrap)
   ========================================================================== */

.st-header-wrap {
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 8px 30px rgba(18, 58, 110, 0.08);
}

.st-topbar a {
	color: var(--st-hellblau);
	text-decoration: none;
}

.st-topbar a:hover {
	color: var(--st-weiss);
}

.st-topbar__meta {
	gap: 26px !important;
}

.st-header__inner {
	min-height: 68px;
}

.st-header__logo {
	margin: 0;
}

/* Das globale blockGap:0px (theme.json) nullt auch den Gap des
   Navigation-Blocks — hier den Menüabstand wiederherstellen. */
.st-header__nav,
.st-header__nav .wp-block-navigation__container {
	gap: 24px !important;
}

.st-header__nav .wp-block-navigation-item__content {
	font-family: var(--st-font-base);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.055em;
	text-transform: uppercase;
	color: var(--st-text);
}

.st-header__nav .wp-block-navigation-item__content:hover {
	color: var(--st-primary);
}

/* Telefon-CTA (portiert von .header-phone der statischen Seite) */
.st-header__phone {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--st-font-base);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.1;
	color: var(--st-weiss);
	white-space: nowrap;
	padding: 11px 15px;
	border-radius: var(--st-radius);
	background: var(--st-primary);
	box-shadow: 0 6px 16px rgba(28, 74, 140, 0.2);
	text-decoration: none;
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.st-header__phone:hover {
	color: var(--st-weiss);
	background: var(--st-primary-dark);
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(18, 58, 110, 0.25);
}

.st-header__phone svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex: 0 0 auto;
}

.st-header__phone small {
	display: block;
	margin-bottom: 3px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--st-hellblau);
}

/* Facebook-Icon in der Topbar (Kreis) */
.st-social-top {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 50%;
	color: var(--st-hellblau);
}

.st-social-top:hover {
	background: rgba(255, 255, 255, 0.12);
	color: var(--st-weiss);
}

.st-social-top svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

/* Social-Link mit Icon + Text (Footer, Kontakt-Karte) */
.st-social-text {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
}

.st-social-text svg {
	width: 17px;
	height: 17px;
	fill: currentColor;
	flex: 0 0 auto;
}

.st-kontakt__social {
	margin: 0;
	font-size: 16px;
}

@media (max-width: 1120px) {
	.st-header__phone {
		display: none;
	}
}

/* ==========================================================================
   5.4 Pattern: Hero-Slider  (.st-hero)
   JS (assets/js/main.js) erzeugt Dots + Autoplay und toggelt
   .st-hero-aktiv; ohne JS zeigt CSS den ersten Slide statisch.
   ========================================================================== */

.st-hero {
	position: relative;
	overflow: hidden;
}

.st-hero__slides {
	display: grid;
}

.st-hero__slide {
	grid-area: 1 / 1;
	position: relative;
	height: clamp(560px, 64vw, 764px);
	max-height: calc(100vh - 120px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 1.4s ease, visibility 1.4s ease;
}

.st-hero__slides:not(.st-hero-init) .st-hero__slide:first-child,
.st-hero__slide.st-hero-aktiv {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

.st-hero__bild {
	position: absolute;
	inset: 0;
	margin: 0;
}

.st-hero__bild img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: 0;
	transform: scale(1.025);
	transition: transform 8s ease-out;
}

.st-hero__slide.st-hero-aktiv .st-hero__bild img,
.st-hero__slides:not(.st-hero-init) .st-hero__slide:first-child .st-hero__bild img {
	transform: scale(1);
}

/* Abdunkelnder Verlauf über dem Bild (aus der statischen Seite) */
.st-hero__slide::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(90deg, rgba(8, 24, 48, 0.86) 0%, rgba(10, 29, 57, 0.72) 38%, rgba(10, 28, 54, 0.2) 72%, rgba(8, 20, 40, 0.32) 100%),
		linear-gradient(0deg, rgba(8, 20, 40, 0.46) 0%, transparent 42%);
	pointer-events: none;
}

.st-hero__inhalt {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: var(--st-content-width);
	margin: 0 auto;
	padding: 0 24px;
}

.st-hero__copy {
	max-width: 690px;
	padding: 42px 46px 46px;
	border-left: 4px solid rgba(255, 255, 255, 0.9);
	background: linear-gradient(90deg, rgba(12, 43, 83, 0.52), rgba(12, 43, 83, 0));
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.22);
}

.st-hero__headline {
	font-size: clamp(3.1rem, 6.2vw, 5.25rem);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.st-hero__actions .wp-block-button__link {
	text-shadow: none;
}

.st-hero__dots {
	position: absolute;
	z-index: 4;
	left: 50%;
	bottom: 30px;
	display: flex;
	align-items: center;
	gap: 9px;
	transform: translateX(-50%);
}

.st-hero__dot {
	position: relative;
	width: 34px;
	height: 18px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.st-hero__dot::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 8px;
	height: 2px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.48);
	transition: height 0.2s ease, background 0.2s ease;
}

.st-hero__dot:hover::after,
.st-hero__dot:focus-visible::after {
	background: rgba(255, 255, 255, 0.8);
}

.st-hero__dot.st-hero-dot-aktiv::after {
	height: 4px;
	top: 7px;
	background: var(--st-weiss);
}

.st-hero__dot:focus-visible {
	outline: 2px solid var(--st-weiss);
	outline-offset: 3px;
}

@media (max-width: 800px) {
	.st-hero__slide {
		height: min(calc(100svh - 108px), 700px);
		min-height: 560px;
	}

	.st-hero__inhalt {
		justify-content: flex-end;
		padding-bottom: 92px;
	}

	.st-hero__copy {
		padding: 26px 0 0 22px;
		background: none;
	}
}

/* Scroll-Indikator rechts unten (portiert von .hero-scroll-cue) */
.st-hero__cue {
	position: absolute;
	z-index: 4;
	right: max(24px, calc((100vw - var(--st-content-width)) / 2 + 24px));
	bottom: 27px;
	width: 24px;
	height: 38px;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 14px;
}

.st-hero__cue span {
	position: absolute;
	top: 8px;
	left: 10px;
	width: 2px;
	height: 7px;
	border-radius: 2px;
	background: var(--st-weiss);
	animation: st-hero-scroll 1.8s ease-in-out infinite;
}

@keyframes st-hero-scroll {
	0%, 100% { opacity: 0.35; transform: translateY(0); }
	50% { opacity: 1; transform: translateY(10px); }
}

@media (max-width: 800px) {
	.st-hero__cue {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.st-hero__slide,
	.st-hero__bild img {
		transition: none;
	}

	.st-hero__cue span {
		animation: none;
	}
}

/* ==========================================================================
   5.5 Pattern: 2-spaltig – Über uns mit Fakten-Kacheln  (.st-ueber-uns)
   ========================================================================== */

.st-ueber-uns__eyebrow {
	letter-spacing: 0.18em;
}

.st-ueber-uns__bild img {
	width: 100%;
	display: block;
	border-radius: var(--st-radius);
	box-shadow: var(--st-shadow);
}

.st-fakt {
	border-left: 4px solid var(--st-primary);
	padding-top: 4px;
	padding-bottom: 4px;
	padding-left: 16px;
}

.st-fakt__num {
	font-family: var(--st-font-display);
	font-size: 38px;
	line-height: 1;
	color: var(--st-primary);
}

/* ==========================================================================
   5.6 Pattern: Aktuelles – Einzelmeldung  (.st-news)
   ========================================================================== */

.st-news__card {
	position: relative;
	overflow: hidden;
	gap: 0 !important;
	border: 1px solid var(--st-border);
	border-radius: var(--st-radius);
	box-shadow: var(--st-shadow);
}

.st-news__card::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 5px;
	background: var(--st-akzent);
	z-index: 1;
}

.st-news__badge {
	display: inline-block;
	align-self: flex-start;
	padding: 5px 8px;
	border: 1px solid rgba(255, 255, 255, 0.42);
	border-radius: 3px;
	line-height: 1;
}

.st-news__tag {
	font-family: var(--st-font-display);
	font-size: 58px;
	line-height: 1;
	letter-spacing: 0.03em;
}

/* Statische Vorlage: News-H2 minimal kleiner als Sektions-H2 */
.st-news__content h2 {
	font-size: clamp(2rem, 4vw, 2.75rem);
}

/* ==========================================================================
   5.7 Pattern: Partner-Logo-Grid  (.st-partner)
   ========================================================================== */

.st-partner {
	border-bottom: 1px solid var(--st-border);
}

.st-partner__eyebrow {
	letter-spacing: 0.18em;
}

/* Statische Vorlage: Partner-Headline bleibt Inter, keine Versalien */
.st-partner__head h2 {
	font-family: var(--st-font-base);
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
}

.st-partner__grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px;
}

.st-partner__grid .st-partner__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 86px;
	margin: 0;
	padding: 18px 20px;
	border: 1px solid var(--st-border);
	border-radius: var(--st-radius);
	background: var(--st-weiss);
}

.st-partner__logo img {
	width: auto;
	max-width: 100%;
	max-height: 48px;
	object-fit: contain;
}

.st-partner__grid .st-partner-featured {
	grid-row: span 2;
	padding: 10px;
	border-color: rgba(0, 52, 120, 0.24);
	background: linear-gradient(145deg, #ffffff 35%, #f1f5fa 100%);
	box-shadow: 0 8px 24px rgba(0, 52, 120, 0.08);
}

.st-partner-featured img {
	max-height: 142px;
}

/* Kögel/VDO: viel weißer Rand in den gelieferten Logodateien ausgleichen */
.st-partner__grid .st-partner-koegel,
.st-partner__grid .st-partner-vdo {
	overflow: hidden;
}

.st-partner-koegel img {
	transform: scale(2.35);
}

.st-partner-vdo img {
	transform: scale(1.65);
}

@media (max-width: 980px) {
	.st-partner__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 800px) {
	.st-partner__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.st-partner__grid .st-partner__logo {
		min-height: 76px;
		padding: 14px 16px;
	}

	.st-partner-featured img {
		max-height: 128px;
	}
}

@media (max-width: 480px) {
	.st-partner__grid .st-partner-featured {
		grid-column: 1 / -1;
		grid-row: auto;
		min-height: 126px;
	}

	.st-partner-featured img {
		max-height: 110px;
	}
}

/* ==========================================================================
   5.8 Pattern: Leistungen – Icon-Cards + Untersuchungen  (.st-leistungen)
   ========================================================================== */

.st-services__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.st-service-card {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.st-service-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--st-shadow);
}

.st-service-card__icon {
	margin: 0;
}

.st-untersuchungen__list {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 6px 24px;
	margin: 0;
	padding-left: 0;
	font-size: 15px;
	color: var(--st-text-grau);
}

.st-untersuchungen__list li::before {
	content: "— ";
	color: var(--st-akzent);
}

@media (max-width: 980px) {
	.st-services__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 800px) {
	.st-services__grid {
		grid-template-columns: 1fr;
	}

	.st-untersuchungen__list {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   5.9 Pattern-Familie: 2-spaltige Splits + Infobox/Öffnungszeiten
        (.st-split, .st-infobox, .st-hours – Wohnmobile/Waschanlage/TÜV)
   ========================================================================== */

.st-split__eyebrow {
	letter-spacing: 0.18em;
}

.st-split__bild {
	margin: 0;
	height: 100%;
}

.st-split__bild img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 4 / 3;
	border-radius: var(--st-radius);
	box-shadow: var(--st-shadow);
	display: block;
}

.st-hours {
	margin: 0;
}

.st-hours table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	border: none;
}

.st-hours td {
	padding: 6px 0;
	border: none;
	border-bottom: 1px solid var(--st-border);
}

.st-hours td:last-child {
	text-align: right;
	font-weight: 600;
}

.st-hours tr:last-child td {
	border-bottom: none;
}

@media (max-width: 768px) {
	.st-split__columns,
	.st-ueber-uns__columns {
		flex-wrap: wrap !important;
	}
}

/* ==========================================================================
   5.10 Pattern: Anfrage – Kontaktformular-Sektion  (.st-anfrage)
   ========================================================================== */

.st-anfrage__shell {
	overflow: hidden;
	gap: 0 !important;
	border-radius: var(--st-radius);
	box-shadow: 0 14px 42px rgba(20, 30, 60, 0.12);
}

.st-anfrage__aside a {
	color: var(--st-weiss);
}

/* ==========================================================================
   5.11 Pattern: Kontakt & Anfahrt  (.st-kontakt, .st-karte)
   ========================================================================== */

.st-kontakt__card {
	box-shadow: var(--st-shadow);
}

.st-kontakt__item {
	padding-top: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--st-border);
}

.st-kontakt__map .st-karte {
	height: 100%;
	min-height: 360px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-shadow: var(--st-shadow);
}

/* ==========================================================================
   5.12 Google-Maps-Zwei-Klick  (.st-karte, JS-Abschnitt 2 in main.js)
   ========================================================================== */

.st-karte__consent {
	text-align: center;
}

.st-karte__laden {
	display: inline-block;
	padding: 13px 27px;
	border: 0;
	border-radius: var(--st-radius);
	background: var(--st-primary);
	color: var(--st-weiss);
	font-family: var(--st-font-base);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.03em;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.st-karte__laden:hover {
	background: var(--st-primary-dark);
}

.st-karte__routenlink {
	margin: 12px 0 0;
	font-size: 14px;
}

.st-karte__hinweis {
	margin: 16px 0 0;
	font-size: 12px;
	color: var(--st-text-grau);
}

/* Nach dem Klick wird die Kachel zur Karte (JS leert sie und setzt das iframe) */
.st-kontakt__map .st-karte.st-karte-geladen {
	padding: 0 !important;
	overflow: hidden;
}

.st-karte iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 420px;
	border: 0;
}

/* ==========================================================================
   5.13 Kontaktformular (CF7-Markup mit st-form-Klassen, siehe
        seed-formular.php — portiert von .contact-form der statischen Seite)
   ========================================================================== */

.st-form {
	display: grid;
	gap: 17px;
}

.st-form p {
	margin: 0;
}

.st-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.st-form__field {
	display: grid;
	gap: 6px;
}

.st-form__field label {
	font-size: 13px;
	font-weight: 600;
	color: var(--st-text);
}

.st-form__field .wpcf7-form-control-wrap {
	display: block;
}

.st-form__field input,
.st-form__field select,
.st-form__field textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid #cbd2dc;
	border-radius: var(--st-radius);
	background: var(--st-weiss);
	color: var(--st-text);
	font: inherit;
	font-size: 15px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.st-form__field textarea {
	min-height: 132px;
	resize: vertical;
}

.st-form__field input:focus,
.st-form__field select:focus,
.st-form__field textarea:focus {
	outline: none;
	border-color: var(--st-primary);
	box-shadow: 0 0 0 3px rgba(28, 74, 140, 0.12);
}

.st-form__consent {
	font-size: 14px;
	line-height: 1.5;
	color: var(--st-text-grau);
}

.st-form__consent .wpcf7-list-item {
	margin: 0;
}

.st-form__consent input[type='checkbox'] {
	width: 18px;
	height: 18px;
	margin-right: 10px;
	vertical-align: -3px;
}

.st-form__submit {
	justify-self: start;
	padding: 13px 27px;
	border: 0;
	border-radius: var(--st-radius);
	background: var(--st-primary);
	color: var(--st-weiss);
	font-family: var(--st-font-base);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.03em;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.st-form__submit:hover {
	background: var(--st-primary-dark);
}

.st-form__required {
	margin: -7px 0 0;
	font-size: 12px;
	color: var(--st-text-grau);
}

@media (max-width: 800px) {
	.st-form__row {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   6. Footer-Part  (.st-footer)
   ========================================================================== */

.st-footer__logo {
	margin-bottom: 20px;
}

.st-footer__links {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.st-footer__links li {
	margin-bottom: 8px;
	font-size: 15px;
}

/* ==========================================================================
   6b. Responsive Sektionsabstände (statische Vorlage: 88px, mobil 56px;
       News 38px, Partner-Strip 28/32px). !important nötig, weil die
       Paddings als Inline-Styles im Pattern-Markup stehen.
   ========================================================================== */

@media (max-width: 800px) {
	.st-ueber-uns,
	.st-leistungen,
	.st-split,
	.st-anfrage,
	.st-kontakt {
		padding-top: 56px !important;
		padding-bottom: 56px !important;
	}

	.st-news {
		padding-top: 38px !important;
		padding-bottom: 38px !important;
	}

	.st-partner {
		padding-top: 28px !important;
		padding-bottom: 32px !important;
	}
}

/* ==========================================================================
   7. Unterseiten: Seitentitel-Band + Rechtstexte  (.st-page-hero, .st-legal)
   ========================================================================== */

.st-page-hero__title {
	font-family: var(--st-font-display);
	font-size: clamp(2.6rem, 6vw, 4.4rem);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin: 0;
}

.st-legal a {
	color: var(--st-primary);
	font-weight: 600;
	overflow-wrap: anywhere;
}

.st-legal__list {
	color: var(--st-text-grau);
	font-size: 16px;
	padding-left: 1.2em;
}

.st-legal__list li {
	margin-bottom: 0.3em;
}
