/* 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; }
}

/* ============================================================
   Markenwelt Immobilien4you — Marineblau, Gold, EST. 2001
   ============================================================ */

:root {
	--marine: #1f3b73;
	--marine-tief: #14263a;
	--gold: #c8a25a;
	--gold-hell: #e0c489;
}

/* Kopf: Logo statt Schriftzug */
.marke__logo { width: 190px; }
.marke__text {
	border-left: 1px solid var(--linie);
	padding-left: .8rem;
	color: var(--marine);
	letter-spacing: .01em;
}
.marke__est {
	display: block;
	font-family: 'Karla', sans-serif;
	font-size: .62rem;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--gold);
}

/* Vertrauensband unter dem Kopf */
.vertrauen {
	background: var(--marine);
	color: #e8eef7;
	font-size: .84rem;
}
.vertrauen__innen {
	width: min(var(--breit), 100% - 2.5rem);
	margin-inline: auto;
	display: flex; flex-wrap: wrap; gap: 1.6rem;
	padding: .55rem 0;
	justify-content: center;
}
.vertrauen b { color: #fff; }
.vertrauen span::before { content: '★ '; color: var(--gold-hell); }

/* Gesuch-Block */
.gesuch { background: linear-gradient(180deg, #fbf8f2 0%, var(--pergament) 100%); }
.gesuch h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.gesuch__text { font-size: 1.08rem; }
.gesuch__gitter {
	display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	margin: 2rem 0;
}
.gesuch__gitter div {
	background: var(--papier); border: 1px solid var(--linie);
	border-top: 3px solid var(--gold); padding: 1.4rem 1.2rem; text-align: center;
}
.gesuch__gitter strong {
	display: block; font-family: 'Cormorant Garamond', serif;
	font-size: 2.2rem; line-height: 1.1; color: var(--marine);
}
.gesuch__gitter span { font-size: .9rem; color: var(--text-leise); }

/* Leistungen A bis Z */
.leistungen { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.leistung {
	background: var(--papier); border: 1px solid var(--linie); padding: 1.5rem;
	display: flex; flex-direction: column; gap: .5rem;
}
.leistung__nummer {
	font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--gold);
	letter-spacing: .1em;
}
.leistung h3 { font-size: 1.15rem; margin: 0; }
.leistung p { margin: 0; font-size: .96rem; color: var(--text-leise); }

/* Persönlicher Abschnitt */
.person { display: grid; gap: 2.5rem; grid-template-columns: minmax(220px, 320px) 1fr; align-items: center; }
.person__bild { width: 100%; height: auto; border: 1px solid var(--linie); }
.person__zitat {
	font-family: 'Cormorant Garamond', serif; font-size: clamp(1.3rem, 2.6vw, 1.8rem);
	line-height: 1.35; color: var(--marine); margin-bottom: 1.2rem;
}
@media (max-width: 720px) {
	.person { grid-template-columns: 1fr; gap: 1.5rem; }
	.person__bild { max-width: 280px; }
}

/* Feste Leiste am Handy */
.mobil-leiste { display: none; }
@media (max-width: 720px) {
	.mobil-leiste {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		display: grid; grid-template-columns: 1fr 1fr;
		border-top: 1px solid var(--linie); background: var(--papier);
		box-shadow: 0 -6px 18px rgba(20,38,58,.12);
	}
	.mobil-leiste a {
		padding: .95rem .6rem; text-align: center; text-decoration: none;
		font-weight: 600; font-size: .95rem;
	}
	.mobil-leiste a:first-child { background: var(--gold); color: var(--marine-tief); }
	.mobil-leiste a:last-child { color: var(--marine); }
	body { padding-bottom: 56px; }
}

/* Hinweiskasten (rechtliche Klarstellungen) */
.hinweis {
	border-left: 3px solid var(--gold); background: var(--pergament);
	padding: 1.2rem 1.4rem; font-size: .95rem; color: var(--text-leise);
	margin: 2rem 0;
}
.hinweis strong { color: var(--text); }

/* Angebotsübersicht */
.angebot { background: var(--papier); }
.angebot__gitter { display: grid; gap: 2rem; grid-template-columns: 1.35fr 1fr; align-items: start; }
.angebot__liste { list-style: none; margin: 0; padding: 0; }
.angebot__liste li {
	display: grid; gap: .15rem; padding: .9rem 0 .9rem 2rem;
	border-bottom: 1px solid var(--linie); position: relative;
}
.angebot__liste li::before {
	content: '✓'; position: absolute; left: 0; top: .85rem;
	color: var(--gold); font-weight: 700;
}
.angebot__liste strong { color: var(--marine); }
.angebot__liste span { font-size: .93rem; color: var(--text-leise); }
.angebot__kasten {
	background: var(--marine-tief); color: #e6ded1; padding: 2rem 1.8rem;
	border-top: 3px solid var(--gold); position: sticky; top: 100px;
}
.angebot__preis {
	font-family: 'Cormorant Garamond', serif; font-size: 3.4rem; line-height: 1;
	color: #fff; margin: 0;
}
.angebot__preis-text { color: var(--gold-hell); margin-bottom: 1.6rem; }
.angebot__risiko { padding: .8rem 0; border-top: 1px solid rgba(255,255,255,.12); }
.angebot__risiko strong { display: block; color: #fff; font-size: .98rem; }
.angebot__risiko span { font-size: .9rem; color: #c3ccd6; }
.angebot__kasten .knopf { width: 100%; text-align: center; margin-top: 1.4rem; }
.angebot__fussnote { font-size: .8rem; color: #9aa6b3; margin-top: 1rem; }
@media (max-width: 860px) {
	.angebot__gitter { grid-template-columns: 1fr; }
	.angebot__kasten { position: static; }
}

/* Kopf mit sieben Menüpunkten: Platz schaffen statt überlappen */
.kopf__innen { gap: 1.2rem; }
.navi { gap: 1rem; flex-wrap: nowrap; }
.navi__liste { gap: 1rem; flex-wrap: nowrap; }
.navi__liste a { font-size: .93rem; white-space: nowrap; }
.marke { flex: 0 0 auto; }

@media (max-width: 1400px) {
	.marke__text { font-size: 1.05rem; }
	.navi__liste { gap: .8rem; }
	.navi__liste a { font-size: .88rem; }
}
@media (max-width: 1240px) {
	.marke__text { display: none; }
	.kopf__tel { display: none; }
}
@media (max-width: 1080px) {
	.navi__liste { gap: .65rem; }
	.navi__liste a { font-size: .84rem; }
	.knopf--klein { padding: .5rem .8rem; font-size: .86rem; }
}
@media (max-width: 880px) {
	.marke__text { display: block; }
	.kopf__tel { display: block; }
	.navi { flex-wrap: wrap; }
	.navi__liste { flex-wrap: wrap; }
}

/* Handy: Logo plus Burger, sonst nichts im Kopf */
@media (max-width: 880px) {
	.marke__text { display: none; }
	.kopf__tel { display: none; }
	.burger { flex: 0 0 44px; width: 44px; }
	.marke { min-width: 0; }
	.marke__logo { width: 150px; }
	.navi { flex-wrap: nowrap; }
	.navi .knopf--klein { width: 100%; text-align: center; }
	.navi .kopf__tel { display: block; font-size: 1.05rem; }
}
