/* Kaffeemühle: Farben aus den Fahrzeugen. Creme der Ape, Walnuss des Wagens, Nachtblau des Dachs, Kupfer der Innenverkleidung. */

@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
}

:root {
	--espresso: #2b1d16;
	--walnuss: #5e3a22;
	--kupfer: #915429;
	--kupfer-hell: #c98a55;
	--creme: #f8f3ea;
	--sahne: #efe4d3;
	--milch: #fffdf9;
	--nacht: #1d2833;
	--text: #2b1d16;
	--text-leise: #5f5048;
	--linie: #dccdb8;

	--schrift-titel: "Fraunces", Georgia, "Times New Roman", serif;
	--schrift-text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	--breite: 1180px;
	--breite-text: 720px;
	--rand: clamp(16px, 4vw, 32px);
	--luft: clamp(56px, 9vw, 112px);
	--rund: 14px;
	--schatten: 0 1px 2px rgb(43 29 22 / 6%), 0 8px 24px rgb(43 29 22 / 8%);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--creme);
	color: var(--text);
	font-family: var(--schrift-text);
	font-size: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
	line-height: 1.65;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--kupfer); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--walnuss); }
:focus-visible { outline: 3px solid var(--kupfer-hell); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
	font-family: var(--schrift-titel);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -0.01em;
	color: var(--espresso);
	margin: 0 0 0.5em;
	font-variation-settings: "SOFT" 50, "WONK" 0;
}
h1 { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4rem); }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
strong { font-weight: 650; }

.unsichtbar { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprunglink { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--espresso); color: #fff; padding: 10px 16px; border-radius: 8px; }
.sprunglink:focus { left: 8px; }

/* Rahmen */
.rahmen { width: 100%; max-width: var(--breite); margin-inline: auto; padding-inline: var(--rand); }
.rahmen--text { max-width: calc(var(--breite-text) + 2 * var(--rand)); }
.abschnitt { padding-block: var(--luft); }
.abschnitt + .abschnitt:not([class*="abschnitt--"]) { padding-top: 0; }
.abschnitt--hell { background: var(--sahne); }
.abschnitt--milch { background: var(--milch); }
.abschnitt--dunkel { background: var(--espresso); color: #f3e9dc; }
.abschnitt--dunkel h2, .abschnitt--dunkel h3 { color: #fff; }
.abschnitt--dunkel a:not(.knopf) { color: var(--kupfer-hell); }

.dachzeile {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--kupfer);
	margin-bottom: 0.9rem;
}
.abschnitt--dunkel .dachzeile { color: var(--kupfer-hell); }
.einleitung { font-size: clamp(1.08rem, 1rem + 0.4vw, 1.25rem); color: var(--text-leise); max-width: 60ch; }
.abschnitt--dunkel .einleitung { color: #d9c9b6; }
.kopfzeile { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.kopfzeile--mitte { margin-inline: auto; text-align: center; }
.kopfzeile--mitte .einleitung { margin-inline: auto; }

/* Knöpfe */
.knopf {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-height: 48px;
	padding: 0.8em 1.4em;
	border-radius: 999px;
	border: 2px solid var(--kupfer);
	background: var(--kupfer);
	color: #fff;
	font: 600 1rem/1.2 var(--schrift-text);
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.knopf:hover { background: var(--walnuss); border-color: var(--walnuss); color: #fff; }
.knopf--gross { font-size: 1.06rem; padding: 0.95em 1.7em; }
.knopf--klein { min-height: 42px; padding: 0.55em 1.1em; font-size: 0.95rem; }
.knopf--rand { background: transparent; color: var(--espresso); border-color: var(--espresso); }
.knopf--rand:hover { background: var(--espresso); color: #fff; border-color: var(--espresso); }
.abschnitt--dunkel .knopf--rand, .hero .knopf--rand { color: #fff; border-color: rgb(255 255 255 / 70%); }
.abschnitt--dunkel .knopf--rand:hover, .hero .knopf--rand:hover { background: #fff; color: var(--espresso); }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }

/* Kopf */
.kopf {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgb(248 243 234 / 92%);
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid rgb(220 205 184 / 60%);
}
.kopf__innen { max-width: var(--breite); margin-inline: auto; padding: 12px var(--rand); display: flex; align-items: center; gap: 20px; }
.marke { display: flex; align-items: center; gap: 10px; color: var(--espresso); text-decoration: none; margin-right: auto; }
.marke:hover { color: var(--espresso); }
.marke__logo { display: block; width: auto; height: 52px; flex: none; }
.marke__text { display: flex; flex-direction: column; line-height: 1.05; }
.marke__name { font-family: var(--schrift-titel); font-size: 1.35rem; font-weight: 650; }
.marke__zusatz { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-leise); }

.navi__klapp > summary { list-style: none; }
.navi__klapp > summary::-webkit-details-marker { display: none; }
.navi__knopf { display: none; }
.navi__liste { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.navi__liste a { display: block; white-space: nowrap; padding: 8px 12px; border-radius: 8px; color: var(--espresso); text-decoration: none; font-weight: 500; font-size: 0.97rem; }
.navi__liste a:hover { background: var(--sahne); color: var(--espresso); }
.navi__liste a[aria-current="page"] { color: var(--kupfer); }
.navi__tel { display: none; }

@media (min-width: 1121px) {
	/* Auf großen Bildschirmen immer sichtbar, auch bevor das Skript das Menü öffnet. */
	.navi__klapp::details-content { content-visibility: visible; display: contents; }
}
@media (max-width: 1120px) {
	.navi { order: 3; }
	.kopf__cta { order: 2; }
	.navi__knopf {
		display: grid;
		place-items: center;
		width: 44px;
		height: 44px;
		border-radius: 10px;
		cursor: pointer;
	}
	.navi__strich, .navi__strich::before, .navi__strich::after {
		display: block;
		width: 22px;
		height: 2px;
		background: var(--espresso);
		border-radius: 2px;
		position: relative;
		content: "";
		transition: transform 0.2s;
	}
	.navi__strich::before { position: absolute; top: -7px; }
	.navi__strich::after { position: absolute; top: 7px; }
	.navi__klapp[open] .navi__strich { background: transparent; }
	.navi__klapp[open] .navi__strich::before { transform: translateY(7px) rotate(45deg); }
	.navi__klapp[open] .navi__strich::after { transform: translateY(-7px) rotate(-45deg); }
	.navi__liste {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px var(--rand) 20px;
		background: var(--creme);
		border-bottom: 1px solid var(--linie);
		box-shadow: 0 16px 30px rgb(43 29 22 / 12%);
	}
	.navi__liste a { padding: 14px 4px; font-size: 1.08rem; border-bottom: 1px solid var(--linie); border-radius: 0; }
	.navi__tel { display: block; }
	.navi__tel a { color: var(--kupfer); font-weight: 600; }
}
@media (max-width: 420px) {
	.marke__zusatz { display: none; }
	.kopf__cta { padding-inline: 0.9em; }
}

/* Brotkrumen */
.krumen { max-width: var(--breite); margin-inline: auto; padding: 16px var(--rand) 0; font-size: 0.85rem; color: var(--text-leise); }
.krumen ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.krumen li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--linie); }
.krumen a { color: var(--text-leise); text-decoration: none; }
.krumen a:hover { color: var(--kupfer); text-decoration: underline; }

/* Hero */
.hero { position: relative; color: #fff; background: var(--espresso); overflow: hidden; isolation: isolate; }
.hero__bild { position: absolute; inset: 0; z-index: 0; }
.hero__bild img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fokus, 50% 50%); }
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgb(29 20 15 / 88%) 0%, rgb(29 20 15 / 70%) 45%, rgb(29 20 15 / 20%) 100%);
}
.hero__innen { position: relative; z-index: 2; max-width: var(--breite); margin-inline: auto; padding: clamp(72px, 12vw, 150px) var(--rand) clamp(64px, 10vw, 120px); }
.hero__text { max-width: 640px; }
.hero h1 { color: #fff; }
.hero .dachzeile { color: var(--kupfer-hell); }
.hero .einleitung { color: #eadccb; }
.hero--klein .hero__innen { padding-block: clamp(56px, 9vw, 110px) clamp(48px, 8vw, 90px); }
@media (max-width: 700px) {
	.hero::before { background: linear-gradient(180deg, rgb(29 20 15 / 55%) 0%, rgb(29 20 15 / 85%) 60%); }
}

.fakten-leiste { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 1.8em 0 0; padding: 0; list-style: none; font-size: 0.95rem; color: #eadccb; }
.fakten-leiste li { display: flex; align-items: center; gap: 8px; }
.fakten-leiste li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--kupfer-hell); flex: none; }

/* Raster und Karten */
.raster { display: grid; gap: clamp(20px, 3vw, 32px); }
.raster--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.raster--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.raster--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

.karte { background: var(--milch); border-radius: var(--rund); overflow: hidden; box-shadow: var(--schatten); display: flex; flex-direction: column; }
.karte__bild { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sahne); }
.karte__bild img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fokus, 50% 50%); transition: transform 0.4s; }
.karte:hover .karte__bild img { transform: scale(1.03); }
.karte__text { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.karte__text p:last-child { margin-bottom: 0; }
.karte__titel { font-size: 1.4rem; margin-bottom: 0.35em; }
.karte__titel a { color: inherit; text-decoration: none; }
.karte__titel a::after { content: ""; position: absolute; inset: 0; }
.karte { position: relative; }
.karte__mehr { margin-top: auto; padding-top: 12px; font-weight: 600; color: var(--kupfer); }

.kachel { padding: 26px; border-radius: var(--rund); background: var(--milch); border: 1px solid var(--linie); }
.abschnitt--dunkel .kachel { background: rgb(255 255 255 / 5%); border-color: rgb(255 255 255 / 12%); }
.kachel h3 { margin-bottom: 0.4em; }
.kachel p:last-child { margin-bottom: 0; }
.kachel__zahl { font-family: var(--schrift-titel); font-size: 2.6rem; line-height: 1; color: var(--kupfer); margin-bottom: 10px; display: block; }
.abschnitt--dunkel .kachel__zahl { color: var(--kupfer-hell); }

/* Bild und Text nebeneinander */
.paar { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) {
	.paar { grid-template-columns: 1.05fr 1fr; }
	.paar--umgedreht > :first-child { order: 2; }
}
.paar__bild { border-radius: var(--rund); overflow: hidden; box-shadow: var(--schatten); }
.paar__bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: var(--fokus, 50% 50%); }
.paar__bild figcaption, .bild figcaption { font-size: 0.85rem; color: var(--text-leise); padding: 10px 4px 0; background: transparent; }
figure { margin: 0; }

/* Faktenliste für Menschen und Maschinen */
.fakten { display: grid; grid-template-columns: 1fr; margin: 0; border-top: 1px solid var(--linie); }
.fakten > div { display: grid; grid-template-columns: minmax(130px, 38%) 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--linie); }
.fakten dt { font-weight: 600; color: var(--espresso); }
.fakten dd { margin: 0; color: var(--text-leise); }
@media (max-width: 520px) { .fakten > div { grid-template-columns: 1fr; gap: 2px; } }

/* Häkchenliste */
.haken { list-style: none; padding: 0; }
.haken li { position: relative; padding-left: 32px; margin-bottom: 0.65em; }
.haken li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.3em;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--kupfer) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

/* Ablauf */
.schritte { list-style: none; padding: 0; counter-reset: schritt; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.schritte li { counter-increment: schritt; padding: 26px; background: var(--milch); border-radius: var(--rund); border: 1px solid var(--linie); }
.schritte li::before {
	content: counter(schritt);
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--espresso);
	color: #fff;
	font-family: var(--schrift-titel);
	font-size: 1.3rem;
	margin-bottom: 14px;
}
.schritte h3 { font-size: 1.2rem; }
.schritte p { margin: 0; color: var(--text-leise); }

/* Referenzen */
.referenzen { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.referenz { border-radius: var(--rund); overflow: hidden; background: var(--milch); box-shadow: var(--schatten); }
.referenz img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: var(--fokus, 50% 50%); }
.referenz figcaption { padding: 16px 18px 18px; }
.referenz strong { display: block; font-family: var(--schrift-titel); font-size: 1.15rem; font-weight: 600; }
.referenz span { font-size: 0.9rem; color: var(--text-leise); }

/* FAQ */
.faq-liste { max-width: 820px; }
.kopfzeile--mitte + .faq-liste { margin-inline: auto; }
.faq { border-bottom: 1px solid var(--linie); }
.faq:first-child { border-top: 1px solid var(--linie); }
.faq summary {
	list-style: none;
	cursor: pointer;
	padding: 20px 44px 20px 0;
	position: relative;
	font-family: var(--schrift-titel);
	font-size: 1.18rem;
	font-weight: 600;
	color: var(--espresso);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "";
	position: absolute;
	right: 6px;
	top: 50%;
	width: 12px;
	height: 12px;
	border-right: 2px solid var(--kupfer);
	border-bottom: 2px solid var(--kupfer);
	transform: translateY(-70%) rotate(45deg);
	transition: transform 0.2s;
}
.faq[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq > div { padding: 0 0 22px; color: var(--text-leise); }
.faq > div p:last-child { margin-bottom: 0; }

/* Zitat / Hinweis */
.zitat { font-family: var(--schrift-titel); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); line-height: 1.35; font-style: italic; font-weight: 400; margin: 0; }
.zitat footer { font-family: var(--schrift-text); font-style: normal; font-size: 0.95rem; margin-top: 14px; color: var(--kupfer-hell); }

/* CTA-Band */
.cta-band__innen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.cta-band h2 { margin-bottom: 0.25em; }
.cta-band p { margin: 0; color: #d9c9b6; }
.cta-band .knopfreihe { margin-top: 0; }

/* Fließtext */
.text h2 { margin-top: 1.6em; }
.text h3 { margin-top: 1.4em; }
.text > :first-child { margin-top: 0; }
.text img { border-radius: var(--rund); }
.artikel__meta { color: var(--text-leise); font-size: 0.92rem; }
.artikel__bild { margin: 24px 0 32px; }

/* Formular */
.anfrage { background: var(--milch); border-radius: var(--rund); padding: clamp(22px, 4vw, 40px); box-shadow: var(--schatten); }
.formular__raster { display: grid; gap: 16px 18px; grid-template-columns: 1fr 1fr; }
.feld { display: flex; flex-direction: column; gap: 6px; font-size: 0.92rem; font-weight: 600; color: var(--espresso); }
.feld--breit { grid-column: 1 / -1; }
@media (max-width: 600px) { .formular__raster { grid-template-columns: 1fr; } }
.feld input, .feld select, .feld textarea {
	font: 400 1rem/1.4 var(--schrift-text);
	color: var(--text);
	background: #fff;
	border: 1.5px solid var(--linie);
	border-radius: 10px;
	padding: 12px 14px;
	min-height: 48px;
	width: 100%;
}
.feld input:focus, .feld select:focus, .feld textarea:focus { border-color: var(--kupfer); outline: none; box-shadow: 0 0 0 3px rgb(201 138 85 / 25%); }
.feld--check { flex-direction: row; align-items: flex-start; gap: 12px; font-weight: 400; margin: 20px 0; color: var(--text-leise); }
.feld--check input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; accent-color: var(--kupfer); flex: none; }
.formular__falle { position: absolute; left: -9999px; }
.formular__klein { font-size: 0.88rem; color: var(--text-leise); margin: 12px 0 0; }
.hinweis { padding: 16px 18px; border-radius: 10px; margin-bottom: 22px; }
.hinweis--ok { background: #e6f0e2; color: #234a1c; }
.hinweis--fehler { background: #f8e3dc; color: #7a2811; }

/* Kontaktkarte */
.kontaktkarte { padding: 28px; border-radius: var(--rund); background: var(--espresso); color: #f3e9dc; }
.kontaktkarte h2, .kontaktkarte h3 { color: #fff; }
.kontaktkarte a { color: #fff; }
.kontaktkarte__gross { font-family: var(--schrift-titel); font-size: 1.6rem; display: block; margin-bottom: 6px; }

/* Fuß */
.fuss { background: var(--nacht); color: #c6cdd4; font-size: 0.95rem; padding-top: clamp(48px, 7vw, 80px); }
.fuss a { color: #fff; text-decoration: none; }
.fuss a:hover { text-decoration: underline; color: #fff; }
.fuss__innen { max-width: var(--breite); margin-inline: auto; padding: 0 var(--rand) 40px; display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.fuss__spalte--marke { grid-column: span 2; max-width: 420px; }
@media (max-width: 640px) { .fuss__spalte--marke { grid-column: auto; } }
.fuss__name { font-family: var(--schrift-titel); font-size: 1.5rem; color: #fff; margin-bottom: 0.4em; }
.fuss__titel { font-weight: 600; color: #fff; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.8rem; }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss li { margin-bottom: 8px; }
.fuss address { font-style: normal; line-height: 1.9; }
.fuss__bohne { font-size: 0.88rem; }
.fuss__unten { max-width: var(--breite); margin-inline: auto; padding: 20px var(--rand) 28px; border-top: 1px solid rgb(255 255 255 / 12%); display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 0.85rem; }
.fuss__unten > span { margin-right: auto; }

/* Schnellanfrage auf dem Handy */
.schnellanfrage { display: none; }
@media (max-width: 700px) {
	.schnellanfrage {
		display: flex;
		justify-content: center;
		position: fixed;
		left: 16px;
		right: 16px;
		bottom: calc(12px + env(safe-area-inset-bottom));
		z-index: 40;
		padding: 15px;
		border-radius: 999px;
		background: var(--kupfer);
		color: #fff;
		font-weight: 600;
		text-decoration: none;
		box-shadow: 0 10px 30px rgb(43 29 22 / 30%);
		transform: translateY(160%);
		transition: transform 0.25s;
	}
	.schnellanfrage.ist-sichtbar { transform: none; }
	.schnellanfrage:hover { color: #fff; }
	.fuss { padding-bottom: 80px; }
}

/* Rechtstexte aus der alten Seite */
.text table { width: 100%; border-collapse: collapse; }
.text td, .text th { border-bottom: 1px solid var(--linie); padding: 8px; text-align: left; }

/* Kacheln als Link */
a.kachel { display: block; color: inherit; text-decoration: none; transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s; }
a.kachel p { color: var(--text-leise); }
a.kachel h3::after { content: " →"; color: var(--kupfer); }
a.kachel:hover { border-color: var(--kupfer-hell); transform: translateY(-2px); box-shadow: var(--schatten); color: inherit; }

/* Anfrage-Assistent */
.funnel__schritt { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.funnel__schritt legend { font-family: var(--schrift-titel); font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem); font-weight: 600; color: var(--espresso); margin-bottom: 18px; padding: 0; }
.funnel__schritt legend:focus { outline: none; }
.funnel:not(.funnel--gefuehrt) .funnel__schritt { padding-bottom: 28px; border-bottom: 1px solid var(--linie); }
.funnel__kopf { margin-bottom: 22px; }
.funnel__stand { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--kupfer); margin: 0 0 8px; }
.funnel__balken { height: 6px; border-radius: 99px; background: var(--sahne); overflow: hidden; }
.funnel__balken span { display: block; height: 100%; width: 25%; border-radius: 99px; background: var(--kupfer); transition: width 0.3s ease; }
.funnel__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.funnel__knoepfe [data-weiter], .funnel__knoepfe [data-senden] { margin-left: auto; }
.funnel__knoepfe [hidden] { display: none; }
.feld__titel { font-weight: 600; font-size: 0.92rem; color: var(--espresso); margin: 22px 0 10px; }

.auswahl { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr)); }
.auswahl--gross { grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); }
.auswahl__option { position: relative; cursor: pointer; }
.auswahl__option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.auswahl__option span {
	display: flex;
	align-items: center;
	min-height: 52px;
	padding: 12px 16px;
	border: 1.5px solid var(--linie);
	border-radius: 12px;
	background: #fff;
	font-weight: 500;
	line-height: 1.3;
	transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.auswahl--gross .auswahl__option span { min-height: 68px; font-size: 1.05rem; font-weight: 600; }
.auswahl__option:hover span { border-color: var(--kupfer-hell); }
.auswahl__option input:checked + span { border-color: var(--kupfer); background: #fbf1e6; box-shadow: 0 0 0 1px var(--kupfer); }
.auswahl__option input:checked + span::after { content: ""; margin-left: auto; width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--kupfer) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.auswahl__option input:focus-visible + span { outline: 3px solid var(--kupfer-hell); outline-offset: 2px; }

.funnel__danke { text-align: center; padding: 20px 0; }
.funnel__danke:focus { outline: none; }
.funnel__haken { display: block; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--kupfer) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 44px no-repeat; }
.paar--formular { align-items: start; }
@media (min-width: 900px) { .paar--formular { grid-template-columns: 1.7fr 1fr; gap: 40px; } }

/* Ratgeber */
.kurz { background: var(--sahne); border-left: 4px solid var(--kupfer); border-radius: 0 var(--rund) var(--rund) 0; padding: 20px 24px; margin: 0 0 32px; }
.kurz p:last-child, .kurz ul:last-child { margin-bottom: 0; }
.kurz strong:first-child { display: block; font-family: var(--schrift-titel); font-size: 1.15rem; margin-bottom: 6px; }
.text table { margin: 0 0 1.5em; font-size: 0.95rem; }
.text th { background: var(--sahne); font-weight: 600; }
.tabelle-scroll { overflow-x: auto; }
.text .faq-liste { margin-top: 1em; }
.hinweisbox { background: var(--milch); border: 1px solid var(--linie); border-radius: var(--rund); padding: 20px 24px; margin: 28px 0; }
.hinweisbox p:last-child { margin-bottom: 0; }

/* Formularfelder dürfen nie breiter werden als ihre Spalte.
   iOS-Safari gibt Datumsfeldern eine eigene Mindestbreite und zentriert den Wert. */
.feld, .formular__raster > * { min-width: 0; }
.feld input, .feld select, .feld textarea { min-width: 0; max-width: 100%; }
.feld input[type="date"] {
	-webkit-appearance: none;
	appearance: none;
	display: block;
	width: 100%;
	line-height: 1.4;
	text-align: left;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23915429' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3C/svg%3E") right 14px center / 20px no-repeat;
	padding-right: 44px;
}
.feld input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.feld input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0; width: 28px; height: 28px; margin: 0; cursor: pointer; }
.feld select { -webkit-appearance: none; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23915429' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 44px; }
/* iOS zoomt bei Schrift unter 16px in Felder hinein */
.feld input, .feld select, .feld textarea { font-size: 16px; }

/* Kopf auf schmalen Handys: alles muss in eine Zeile passen */
@media (max-width: 420px) {
	.kopf__innen { gap: 10px; padding-inline: 16px; }
	.marke { gap: 8px; }
	.marke__logo { height: 44px; }
	.marke__name { font-size: 1.2rem; }
	.kopf__cta { padding-inline: 0.85em; min-height: 40px; font-size: 0.9rem; }
	.navi__knopf { width: 40px; height: 40px; margin-right: -6px; }
}
@media (max-width: 350px) {
	.kopf__cta { display: none; }
}

/* Agentur-Hinweis im Fuß */
.fuss__agentur { display: inline-flex; align-items: center; gap: 6px; color: #8d97a1 !important; margin-left: auto; transition: color 0.15s; }
.fuss__agentur strong { color: #e6e9ec; font-weight: 700; letter-spacing: 0.04em; }
.fuss__agentur svg { opacity: 0.7; transition: transform 0.15s, opacity 0.15s; }
.fuss__agentur:hover { color: #c6cdd4 !important; text-decoration: none !important; }
.fuss__agentur:hover strong { color: var(--kupfer-hell); }
.fuss__agentur:hover svg { opacity: 1; transform: translate(2px, -2px); }
@media (max-width: 640px) { .fuss__agentur { margin-left: 0; flex-basis: 100%; } }

/* Video-Header */
.hero__bild--video picture { position: absolute; inset: 0; }
.hero__bild--video img { width: 100%; height: 100%; object-fit: cover; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s ease; }
.hero__video.laeuft { opacity: 1; }
.hero__pause {
	position: absolute;
	right: 16px;
	bottom: 16px;
	z-index: 3;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid rgb(255 255 255 / 45%);
	background: rgb(29 20 15 / 45%);
	color: #fff;
	cursor: pointer;
	display: grid;
	place-items: center;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.hero__pause[hidden] { display: none; }
.hero__pause span { width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.hero__pause.pausiert span { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }
.hero__pause:hover { background: rgb(29 20 15 / 70%); }

/* Links im Fließtext des Fußes nicht nur über die Farbe erkennbar */
.fuss__bohne a { text-decoration: underline; text-underline-offset: 0.18em; }

/* Logo im Kopf nie stauchen; auf sehr schmalen Handys trägt das Logo den Namen allein */
.marke picture { display: block; flex: none; }
.marke__text { min-width: 0; }
@media (max-width: 380px) {
	.marke__name { font-size: 1.05rem; }
}

/* Dauer-Schieberegler im Anfrage-Assistenten */
.dauer { --fuellung: 22%; background: #fff; border: 1.5px solid var(--linie); border-radius: 12px; padding: 18px 20px 14px; }
.dauer__wert { font-family: var(--schrift-titel); font-size: 1.6rem; font-weight: 600; line-height: 1.1; color: var(--text-leise); margin: 0 0 12px; }
.dauer.gewaehlt .dauer__wert { color: var(--espresso); }
.dauer__regler { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 36px; margin: 0; background: transparent; cursor: pointer; }
.dauer__regler::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(to right, var(--kupfer) var(--fuellung), var(--sahne) var(--fuellung)); }
.dauer__regler::-moz-range-track { height: 8px; border-radius: 99px; background: var(--sahne); }
.dauer__regler::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--kupfer); }
.dauer__regler::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%; border: 4px solid #fff; background: var(--kupfer); box-shadow: 0 1px 5px rgb(43 29 22 / 35%); }
.dauer__regler::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; border: 4px solid #fff; background: var(--kupfer); box-shadow: 0 1px 5px rgb(43 29 22 / 35%); }
.dauer:not(.gewaehlt) .dauer__regler::-webkit-slider-thumb { background: #b9a58f; }
.dauer:not(.gewaehlt) .dauer__regler::-moz-range-thumb { background: #b9a58f; }
.dauer:not(.gewaehlt) .dauer__regler::-webkit-slider-runnable-track { background: var(--sahne); }
.dauer:not(.gewaehlt) .dauer__regler::-moz-range-progress { background: var(--sahne); }
.dauer__regler:focus-visible { outline: 3px solid var(--kupfer-hell); outline-offset: 4px; border-radius: 8px; }
.dauer__skala { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-leise); margin-top: 2px; }
.dauer__hinweis { font-size: 0.86rem; color: var(--text-leise); margin: 12px 0 0; }

/* Dachzeile innerhalb der H1 (Startseite): sieht aus wie zuvor, zählt aber zur Überschrift */
h1 .dachzeile { display: block; font-family: var(--schrift-text); font-weight: 600; line-height: 1.4; margin-bottom: 0.9rem; }
