/* haus-ver-mieten.de — Gestaltung.
   Farben: Nachtblau als Anker, Messing als Akzent, Pergament als Fläche. */

:root {
	--nacht: #14263a;
	--nacht-hell: #1f3550;
	--tinte: #22303f;
	--messing: #b8934f;
	--messing-hell: #d8b978;
	--pergament: #f7f3ec;
	--papier: #ffffff;
	--linie: #e2dace;
	--text: #2b3440;
	--text-leise: #5d6b7a;
	--breit: 1180px;
	--schmal: 760px;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--papier);
	color: var(--text);
	font-family: 'Karla', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: 1.0625rem;
	line-height: 1.7;
	overflow-x: hidden;
}

h1, h2, h3 {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-weight: 500;
	line-height: 1.15;
	color: var(--nacht);
	margin: 0 0 .6em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1.1em; }

a { color: var(--nacht); text-decoration-color: var(--messing); text-underline-offset: 3px; }
a:hover { color: var(--messing); }

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

.innen { width: min(var(--breit), 100% - 2.5rem); margin-inline: auto; }
.schmal { width: min(var(--schmal), 100% - 2.5rem); }

.sprungmarke {
	position: absolute; left: -9999px; top: 0; z-index: 100;
	background: var(--nacht); color: #fff; padding: .8rem 1.2rem;
}
.sprungmarke:focus { left: 1rem; top: 1rem; }

/* ---------- Knöpfe ---------- */
.knopf {
	display: inline-block;
	background: var(--messing);
	color: #14263a;
	font-weight: 600;
	letter-spacing: .02em;
	padding: .95rem 1.7rem;
	border: 1px solid var(--messing);
	border-radius: 2px;
	text-decoration: none;
	cursor: pointer;
	font-size: 1rem;
	font-family: inherit;
	transition: background .2s, color .2s;
}
.knopf:hover { background: var(--messing-hell); color: #14263a; }
.knopf--linie { background: transparent; color: var(--nacht); border-color: var(--nacht); }
.knopf--linie:hover { background: var(--nacht); color: #fff; }
.knopf--klein { padding: .6rem 1.1rem; font-size: .95rem; }
.knopf[disabled] { opacity: .6; cursor: default; }

.pfeil { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--messing); }
.pfeil::after { content: ' →'; }

/* ---------- Kopf ---------- */
.kopf {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255,255,255,.96);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--linie);
}
.kopf__innen {
	width: min(var(--breit), 100% - 2.5rem); margin-inline: auto;
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	min-height: 74px;
}
.marke { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.marke__logo { width: 132px; height: auto; }
.marke__text {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 1.25rem; color: var(--nacht); white-space: nowrap;
}
.navi { display: flex; align-items: center; gap: 1.4rem; }
.navi__liste { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.navi__liste a { text-decoration: none; font-size: .98rem; }
.navi__liste .current-menu-item a { border-bottom: 2px solid var(--messing); }
.kopf__tel { font-weight: 600; text-decoration: none; white-space: nowrap; }

.burger { display: none; background: none; border: 0; width: 44px; height: 40px; cursor: pointer; padding: 8px; }
.burger span { display: block; height: 2px; background: var(--nacht); margin: 5px 0; }

/* ---------- Bühne ---------- */
.buehne {
	background:
		linear-gradient(180deg, rgba(20,38,58,.86), rgba(20,38,58,.94)),
		radial-gradient(120% 80% at 20% 0%, #2b4463 0%, #14263a 60%);
	background-color: var(--nacht);
	color: #f2ece1;
	padding: clamp(3.5rem, 9vw, 7rem) 0;
}
.buehne__innen { width: min(var(--breit), 100% - 2.5rem); margin-inline: auto; max-width: 900px; }
.buehne h1 { color: #fff; }
.buehne__auge {
	text-transform: uppercase; letter-spacing: .18em; font-size: .78rem;
	color: var(--messing-hell); margin-bottom: 1.2rem;
}
.buehne__text { font-size: 1.15rem; color: #dfd8cc; max-width: 46rem; }
.buehne__knoepfe { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2rem 0 2.4rem; }
.buehne .knopf--linie { color: #f2ece1; border-color: rgba(242,236,225,.6); }
.buehne .knopf--linie:hover { background: #f2ece1; color: var(--nacht); }

.belege {
	display: flex; flex-wrap: wrap; gap: 1.6rem; list-style: none; margin: 0; padding: 1.4rem 0 0;
	border-top: 1px solid rgba(242,236,225,.22);
	font-size: .92rem; color: #cfc7ba;
}
.belege li::before { content: '✓ '; color: var(--messing-hell); }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.abschnitt--hell { background: var(--pergament); }
.abschnitt--dunkel { background: var(--nacht); color: #e6ded1; }
.abschnitt--dunkel h2, .abschnitt--dunkel h3 { color: #fff; }

.tueren__gitter { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.tuer {
	background: var(--papier); border: 1px solid var(--linie);
	border-top: 3px solid var(--messing); padding: 2rem 1.8rem;
}

.karten { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.karte { background: var(--papier); border: 1px solid var(--linie); padding: 1.6rem; }
.karte h2 { font-size: 1.35rem; }
.karte h2 a { text-decoration: none; }

.schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.schritte li { border-left: 2px solid var(--messing); padding-left: 1.2rem; }
.schritte__zahl { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: var(--messing-hell); }
.abschnitt--dunkel .schritte p { color: #cfc7ba; }

.orte { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0 0 1.4rem; }
.orte li { background: var(--papier); border: 1px solid var(--linie); padding: .35rem .8rem; font-size: .93rem; }

.fragen details {
	border-bottom: 1px solid var(--linie); padding: 1rem 0;
}
.fragen summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; }
.fragen p { margin: .8rem 0 0; color: var(--text-leise); }

/* ---------- Stimmen ---------- */
.stimmen-block { background: var(--pergament); }
.stimmen__hinweis { color: var(--text-leise); margin-top: -.4rem; }
.stimmen { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 1.6rem; }
.stimme { margin: 0; background: var(--papier); border: 1px solid var(--linie); padding: 1.6rem; }
.stimme blockquote { margin: 0 0 1rem; font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; line-height: 1.5; color: var(--nacht); }
.stimme figcaption { font-size: .9rem; color: var(--text-leise); }

/* ---------- Seiten ---------- */
.seite__kopf { background: var(--pergament); padding: clamp(2.5rem, 6vw, 4.5rem) 0 2.5rem; border-bottom: 1px solid var(--linie); }
.seite__auge { text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; color: var(--messing); }
.seite__vor { color: var(--text-leise); }
.seite__text { padding: 3rem 0; }
.seite__text h2 { margin-top: 2.2rem; }
.seite__text ul { padding-left: 1.2rem; }
.seite__text li { margin-bottom: .5rem; }
.seite__zurueck { margin-top: 3rem; }

/* ---------- Funnel ---------- */
.funnel { margin: 3rem 0; }
.funnel__leiste { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 0 0 2rem; counter-reset: schritt; }
.funnel__leiste li {
	flex: 1; font-size: .82rem; color: var(--text-leise); text-align: center;
	border-top: 3px solid var(--linie); padding-top: .6rem;
}
.funnel__leiste li.ist-aktiv { color: var(--nacht); border-top-color: var(--messing); font-weight: 600; }

.funnel__schritt { display: none; border: 0; margin: 0; padding: 0; }
.funnel__schritt.ist-aktiv { display: block; }
.funnel__schritt legend {
	font-family: 'Cormorant Garamond', serif; font-size: clamp(1.5rem, 3vw, 2rem);
	color: var(--nacht); padding: 0; margin-bottom: 1.4rem;
}

.wahl { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 1.6rem; }
.wahl__feld { position: relative; display: block; }
.wahl__feld input { position: absolute; opacity: 0; }
.wahl__feld span {
	display: block; border: 1px solid var(--linie); background: var(--papier);
	padding: 1rem 1.1rem; cursor: pointer;
}
.wahl__feld input:checked + span { border-color: var(--messing); background: var(--pergament); font-weight: 600; }
.wahl__feld input:focus-visible + span { outline: 2px solid var(--nacht); outline-offset: 2px; }

.felder { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-bottom: 1.4rem; }
.felder label { display: block; font-size: .92rem; color: var(--text-leise); }
.feld--breit { grid-column: 1 / -1; }
.felder input, .felder textarea {
	display: block; width: 100%; margin-top: .35rem;
	border: 1px solid var(--linie); background: var(--papier);
	padding: .8rem .9rem; font: inherit; color: var(--text); border-radius: 2px;
}
.felder input:focus, .felder textarea:focus { outline: 2px solid var(--messing); border-color: var(--messing); }

.einwilligung { display: flex; gap: .8rem; align-items: flex-start; font-size: .9rem; color: var(--text-leise); margin-bottom: 1.6rem; }
.einwilligung input { margin-top: .35rem; }

.koeder { position: absolute; left: -9999px; }

.funnel__knoepfe { display: flex; gap: .8rem; flex-wrap: wrap; }
.funnel__meldung { margin-top: 1.2rem; font-weight: 600; }
.funnel__meldung.ist-fehler { color: #a4262c; }
.funnel__fertig { border: 1px solid var(--messing); background: var(--pergament); padding: 2rem; }

/* ---------- Band und Fuß ---------- */
.band { background: var(--nacht); color: #f2ece1; padding: clamp(2.8rem, 6vw, 4.5rem) 0; }
.band__innen { width: min(var(--breit), 100% - 2.5rem); margin-inline: auto; text-align: center; }
.band h2 { color: #fff; }
.band p { color: #d6cec1; }
.band__knoepfe { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; margin-top: 1.6rem; }
.band .knopf--linie { color: #f2ece1; border-color: rgba(242,236,225,.6); }
.band .knopf--linie:hover { background: #f2ece1; color: var(--nacht); }

.fuss { background: #101d2c; color: #b9c2cc; padding: 3.5rem 0 1.5rem; font-size: .93rem; }
.fuss a { color: #d8cfc0; text-decoration: none; }
.fuss a:hover { color: var(--messing-hell); }
.fuss__innen {
	width: min(var(--breit), 100% - 2.5rem); margin-inline: auto;
	display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.fuss__marke { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; color: #fff; }
.fuss__titel { color: #fff; font-weight: 600; margin-bottom: .6rem; }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss li { margin-bottom: .45rem; }
.fuss__hinweis { font-size: .82rem; color: #8b96a3; margin-top: 1rem; }
.fuss__zeile {
	width: min(var(--breit), 100% - 2.5rem); margin: 2.5rem auto 0; padding-top: 1.2rem;
	border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: #8b96a3;
}

/* ---------- Handy ---------- */
@media (max-width: 880px) {
	.burger { display: block; }
	.navi {
		position: fixed; inset: 74px 0 auto 0;
		background: var(--papier); border-bottom: 1px solid var(--linie);
		flex-direction: column; align-items: flex-start; gap: 1rem;
		padding: 1.5rem; transform: translateX(100%); transition: transform .25s;
		/* Geschlossen heißt wirklich weg: kein Tastaturfokus, keine Phantombreite. */
		visibility: hidden; pointer-events: none;
	}
	.navi.ist-offen { transform: translateX(0); visibility: visible; pointer-events: auto; }
	.navi__liste { flex-direction: column; gap: 1rem; }
}

@media (max-width: 420px) {
	.marke__logo { width: 108px; }
	.marke__text { font-size: 1.05rem; }
	.buehne__knoepfe .knopf { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}
