/* Immobilien Thielscher – eigener Nachbau der Website (Stand 26.10.2026).
   Optik wie die bisherige Seite, Code komplett neu: kein WordPress, keine Plugins.
   Farben/Abstände als Variablen – eine Stelle ändern, überall wirksam. */

:root {
  --rot: #9b141e;
  --rot-dunkel: #7d1018;
  --dunkel: #292929;
  --titel: #3f444b;
  --text: #868686;
  --grau: #646768;
  --linie: #e6e6e6;
  --fuss: #2d322d;
  --hell: #faf9fd;
  --kontur: #dcdcde;
  --breit: 1280px;
  --kopf: 112px;
  --schrift: 'Jost', 'Segoe UI', Arial, sans-serif;
  --schrift2: 'Quicksand', 'Jost', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; font: 400 16px/1.5 var(--schrift); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3 { margin: 0; color: var(--dunkel); font-weight: 600; }
.weiss .h1, .zuhause .h1, .schluss .h2, .buehne .h1 { color: #fff; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.rahmen { max-width: var(--breit); margin: 0 auto; padding: 0 10px; }
.mitte { text-align: center; }
.weiss, .weiss h1, .weiss h2, .weiss h3 { color: #fff; }

/* ---------- Überschriften wie bisher ---------- */
.ueber { font-size: 14px; line-height: 21px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--rot); margin-bottom: 20px; }
.h1 { font-size: 59px; line-height: 1; letter-spacing: -2px; }
.h2 { font-size: 44px; line-height: 1.12; letter-spacing: -2px; }
.h3 { font-size: 25px; line-height: 1.28; }
.kontur { font-family: 'Poppins', var(--schrift); font-weight: 600; letter-spacing: -2px; color: transparent; -webkit-text-stroke: 1px var(--kontur); line-height: 1; pointer-events: none; user-select: none; white-space: nowrap; }
.titelblock { position: relative; }
.titelblock .kontur { position: absolute; left: 50%; top: 0; transform: translateX(-50%); font-size: 149px; z-index: 0; }
.titelblock > :not(.kontur) { position: relative; z-index: 1; }
.titelblock.links .kontur { left: -16px; transform: none; font-size: 117px; top: -48px; }

/* ---------- Knöpfe ---------- */
.knopf { display: inline-block; background: var(--rot); color: #fff; font: 400 16px/1 var(--schrift); padding: 15px 30px; border: 0; cursor: pointer; transition: background .2s; }
.knopf:hover { background: var(--rot-dunkel); color: #fff; }
.knopf.gross { font-size: 18px; padding: 20px 40px; min-width: 252px; text-align: center; }
.knopf.rand { background: transparent; border: 2px solid #fff; }
.knopf.rand:hover { background: rgba(255,255,255,.12); }
.knopf.linie { background: transparent; color: var(--grau); border: 2px solid var(--rot); font-size: 15px; padding: 12px 24px; }
.knopf.linie:hover { background: var(--rot); color: #fff; }

/* ---------- Kopf ---------- */
.kopf { position: absolute; top: 0; left: 0; right: 0; height: var(--kopf); z-index: 50; background: rgba(41,41,41,.76); }
.kopf .rahmen { display: flex; align-items: center; height: 100%; padding: 10px 10px 11px; }
.kopf .logo img { width: 183px; height: 71px; object-fit: contain; }
.kopf .logo { margin-left: 10px; flex: none; }
.menue { flex: 1; display: flex; justify-content: center; }
.menue > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.menue > ul > li { position: relative; display: flex; align-items: center; }
.menue > ul > li > ul { left: 0; }
.menue > ul > li + li > ul { left: 41px; }
.menue > ul > li + li::before { content: ''; width: 5px; height: 3px; background: var(--rot); margin: 0 18px; }
.menue a { display: flex; align-items: center; gap: 13px; color: #fff; font: 600 19px/29px var(--schrift); padding: 16px 0; white-space: nowrap; }
.menue .auf { display: none; background: none; border: 0; cursor: pointer; color: var(--dunkel); padding: 0 24px; }
.menue .auf .pfeil { width: 16px; height: 16px; }
.menue a:hover, .menue .aktiv > a { color: var(--rot); }
.menue .pfeil { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.5; }
.menue ul ul { position: absolute; top: 100%; left: 0; width: max-content; min-width: 100%; list-style: none; margin: 0; padding: 0; background: #fff; box-shadow: 0 0 30px rgba(0,0,0,.05); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.menue li:hover > ul, .menue li:focus-within > ul { opacity: 1; visibility: visible; transform: none; }
.menue ul ul a { color: var(--dunkel); font-size: 16px; line-height: 1.3; padding: 13px 20px; }
.menue ul ul .pfeil { display: none; }
.menue ul ul a:hover { color: var(--rot); background: var(--hell); }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 26px; height: 3px; background: #fff; margin: 5px 0; border-radius: 2px; }
.unterseite { padding-top: var(--kopf); }

/* ---------- Seitentitel (Unterseiten) ---------- */
.seitentitel { padding: 48px 0 10px; }
.seitentitel .h1 { margin-bottom: 10px; }
.krumen { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--text); }
.krumen a:hover { color: var(--rot); }
.krumen svg { width: 10px; height: 10px; stroke: var(--rot); stroke-width: 3; fill: none; }
.titelbild { position: relative; min-height: 460px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; background: #2d322d center/cover; padding-top: var(--kopf); }
.titelbild::before { content: ''; position: absolute; inset: 0; background: rgba(41,41,41,.35); }
.titelbild > * { position: relative; }
.titelbild .h1 { color: #fff; margin-bottom: 18px; }
.titelbild .krumen { color: #fff; font-weight: 600; font-size: 18px; }

.seitenkopf { position: relative; min-height: 459px; padding: 234px 0 100px; background: #2d322d; text-align: center; overflow: hidden; }
.seitenkopf-bild { position: absolute; inset: 0; background-size: cover; background-repeat: no-repeat; }
.seitenkopf .rahmen { position: relative; }
.seitenkopf .h1 { color: #fff; margin-bottom: 4px; }
.seitenkopf .krumen { justify-content: center; color: #fff; font-size: 18.66px; font-weight: 600; }
.seitenkopf .krumen a:hover { color: #e9a3a8; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: 112px 0; position: relative; }
.bildgrund { position: relative; background: #2d322d center/cover no-repeat; }
.bildgrund::before { content: ''; position: absolute; inset: 0; background: rgba(41,41,41,.5); }
.bildgrund > * { position: relative; }
.muster { background-color: var(--hell); background-image: url(bilder/muster.svg); }
.spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.schmal { max-width: 656px; margin: 0 auto; }

/* Startbühne */
.buehne { position: relative; min-height: 853px; padding: 298px 0 190px; background: #3f4b3f center/cover no-repeat; text-align: center; color: #fff; }
.buehne::before { content: ''; position: absolute; inset: 0; background: rgba(63,75,63,.4); }
.buehne > * { position: relative; }
.buehne .ueber { color: #fff; }
.buehne .h1 { color: #fff; margin: 0 auto 20px; max-width: 656px; }
.buehne p { max-width: 656px; margin: 0 auto 38px; }
.buehne .knoepfe { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* drei Karten, überlappend */
.karten3 { position: relative; z-index: 2; margin-top: -96px; }
.karten3 .rahmen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0 10px; }
.karte { background: #fff; text-align: center; padding: 32px 34px 34px; box-shadow: 0 30px 60px rgba(0,0,0,.1); }
.karte.dunkel { background: #646868; color: #fff; }
.karte.dunkel h3 { color: #fff; }
.karte .symbol { width: 65px; height: 65px; margin: 0 auto 23px; color: var(--rot); }
.karte.dunkel .symbol { color: #fff; }
.karte h3 { margin-bottom: 8px; }

/* Wer sind wir */
.wer { padding: 112px 0 80px; overflow: hidden; }
.wer .rahmen { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.wer .text { padding: 48px 16px 0; }
.wer .h2 { margin-bottom: 20px; }
.wer .knopf { margin-top: 20px; }
.bildpaar { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 10px; }
.bildpaar img { width: 100%; object-fit: cover; }
.bildpaar .a { height: 275px; }
.bildpaar .b { height: 350px; margin-top: 47px; }
.zahlkarte { background: var(--hell); text-align: center; padding: 32px 20px; margin-top: 20px; }
.zahl { font-size: 59px; line-height: 1; font-weight: 600; letter-spacing: -2px; color: var(--rot); }
.zahl-titel { font-size: 19px; line-height: 26px; font-weight: 600; color: var(--text); margin-top: 6px; }

/* Zuhause beginnt hier + Zahlenleiste */
.zuhause { padding: 112px 0 160px; background-color: #2d322d; text-align: center; color: #fff; }
.zuhause .h1 { color: #fff; margin-bottom: 20px; }
.zuhause p { margin-bottom: 20px; }
.zuhause::before { background: rgba(45,50,45,.5); }
.zahlenleiste { margin-top: -64px; position: relative; z-index: 2; padding-bottom: 112px; }
.zahlenleiste .innen { background: #fff; box-shadow: 0 30px 60px rgba(0,0,0,.1); padding: 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; max-width: 1280px; margin: 0 auto; }

/* Verkaufssystem (Bild/Text im Schachbrett) */
.schach { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1260px; margin: 40px auto 0; }
.schach .feld { min-height: 300px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 32px; }
.schach .feld img { width: 100%; height: 100%; object-fit: cover; }
.schach .bildfeld { padding: 0; position: relative; }
.schach .bildfeld img { position: absolute; inset: 0; }
.schach .feld h3 { color: var(--titel); margin-bottom: 15px; }
.schach .feld p { color: var(--titel); margin-bottom: 18px; }

/* Objektkarten */
.objektraster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 21px; }
.okarte { background: #fff; border: 1px solid #eee; border-radius: 0 0 14px 14px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s; }
.okarte:hover { box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.okarte .bild { position: relative; aspect-ratio: 414/338; overflow: hidden; background: #f3f3f3; }
.okarte .bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.okarte:hover .bild img { transform: scale(1.03); }
.etiketten { position: absolute; left: 12px; top: 12px; display: flex; gap: 16px; }
.etiketten span { background: var(--rot); color: #fff; font: 500 12px/1 var(--schrift); padding: 8px 16px; border-radius: 8px; }
.raster-liste .etiketten span { background: rgba(255,255,255,.75); color: var(--text); font-weight: 400; }
.tourband { position: absolute; right: -52px; top: 34px; width: 230px; transform: rotate(45deg); background: var(--rot); color: #fff; text-align: center; font: 500 20px/42px var(--schrift); letter-spacing: 1px; }
.tour360 { position: absolute; right: 16px; top: -32px; width: 64px; height: 64px; border-radius: 50%; background: #fff; box-shadow: 0 0 3px rgb(204,204,204); display: flex; align-items: center; justify-content: center; z-index: 2; }
.tour360 svg { width: 36px; height: 36px; }
.okarte .info { padding: 30px 16px 18px; position: relative; flex: 1; display: flex; flex-direction: column; }
.okarte .nr { font-size: 12px; color: #999; margin-bottom: 12px; }
.okarte h3 { font: 500 18px/1.2 var(--schrift); color: #121212; letter-spacing: -.5px; margin-bottom: 14px; }
.okarte .ort { display: flex; gap: 2px; align-items: center; color: var(--text); margin-bottom: 14px; }
.okarte .ort svg { width: 14px; height: 14px; }
.eckdaten { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--text); margin-bottom: 12px; }
.eckdaten span { display: inline-flex; align-items: center; gap: 4px; }
.eckdaten svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.3; }
.okarte .preis { font-size: 20px; color: var(--text); margin-top: auto; }
.slider { position: relative; }
.slider .spur { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 3); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 2px; }
.slider .spur::-webkit-scrollbar { display: none; }
.slider .okarte { scroll-snap-align: start; }
.slider .zurueck, .slider .vor { position: absolute; top: 33%; width: 38px; height: 38px; border: 0; background: rgba(41,41,41,.6); color: #fff; cursor: pointer; z-index: 3; font-size: 20px; }
.slider .zurueck { left: 4px; } .slider .vor { right: 4px; }

/* Vorteile 2x2 */
.vorteile { display: grid; grid-template-columns: 1fr 1fr; gap: 84px 84px; max-width: 1176px; margin: 50px auto 0; }
.vorteil { display: flex; gap: 15px; }
.vorteil .symbol { flex: none; width: 50px; height: 50px; color: #779a67; }
.vorteil h3 { margin: 8px 0 7px; }

/* Partner */
.partner { display: flex; align-items: center; justify-content: space-around; gap: 30px; flex-wrap: wrap; margin-top: 40px; }
.partner img { max-height: 300px; width: auto; max-width: 300px; }

/* Text + Bilder (Erfolg) */
.erfolg .rahmen { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; }
.erfolg .text { padding: 0 16px; }
.erfolg .bildpaar img { height: 401px; }
.erfolg .bildpaar .b { margin-top: -70px; }
.erfolg .bildpaar .a { margin-top: 70px; }

/* Schluss-CTA */
.schluss { padding: 112px 0; text-align: center; color: #fff; }
.schluss .h2 { color: #fff; margin-bottom: 20px; }
.schluss p { margin-bottom: 20px; }

/* ---------- Unterseiten-Bausteine ---------- */
.kachel4 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.kachel { display: grid; grid-template-columns: 1fr 1fr; background: #f6f7f6; min-height: 261px; }
.kachel img { width: 100%; height: 100%; object-fit: cover; }
.kachel .text { padding: 35px; }
.kachel h3 { color: var(--titel); margin-bottom: 15px; }
.kachel p { color: var(--titel); font-size: 14px; line-height: 1.6; }
.kachel.umgekehrt img { order: 2; }
.aufruf { padding: 40px 0 60px; }
.aufruf .h2 { margin: 20px 0; }
.aufruf .blatt { width: 42px; height: 42px; color: var(--dunkel); }
.aufruf .mitte { margin-top: 20px; }
.philo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.philo .eintrag { padding: 10px; }
.philo .grafik { height: 320px; display: flex; align-items: center; justify-content: center; background: var(--hell); margin-bottom: 20px; }
.philo .grafik svg { width: 150px; height: 150px; color: var(--rot); }
.philo h3, .gruende h3 { margin-bottom: 10px; }
.gruende { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 40px; }
.gruende .symbol { width: 50px; height: 50px; color: var(--rot); margin-bottom: 15px; }
.schritte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px; }
.schritt .nummer { font-size: 59px; font-weight: 600; color: var(--rot); line-height: 1; letter-spacing: -2px; margin-bottom: 10px; }
.schritt h3 { margin-bottom: 10px; }

/* Team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; }
.person { text-align: center; }
.person img { width: 100%; aspect-ratio: 2/3; object-fit: cover; object-position: top; }
.person h3 { font-size: 18px; margin: 22px 0 10px; }
.person p { font-size: 14px; line-height: 1.6; margin-bottom: 8px; }
.person a { display: block; font-size: 14px; color: var(--text); }
.person a:hover { color: var(--rot); }

/* Formulare */
.formular { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.formular .ganz { grid-column: 1 / -1; }
.formular label { display: block; font-size: 15px; color: var(--dunkel); margin-bottom: 6px; }
.formular input[type=text], .formular input[type=email], .formular input[type=tel], .formular select, .formular textarea { width: 100%; font: 400 15px var(--schrift); padding: 13px 14px; border: 1px solid #d5d8dc; background: #fff; color: var(--dunkel); border-radius: 0; }
.formular textarea { min-height: 130px; resize: vertical; }
.formular .wahl { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--text); }
.formular .wahl input { margin-top: 4px; }
.formular .knopf { justify-self: start; }
.formular .gruppe { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; }
.hinweis-test { background: #fff4d6; color: #6b5200; padding: 10px 14px; font-size: 14px; }
.kontaktspalte .eintrag { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 26px; }
.kontaktspalte .symbol { width: 44px; height: 44px; color: var(--rot); flex: none; }
.kontaktspalte h3 { font-size: 20px; margin-bottom: 4px; }
.sozial { display: flex; gap: 10px; }
.sozial a { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--rot); color: #fff; }
.sozial svg { width: 16px; height: 16px; fill: currentColor; }

/* Fließtext-Seiten (Ortsseiten, Rechtliches) */
.fliess { max-width: 900px; margin: 0 auto; color: #555; font-size: 16px; line-height: 1.5; }
.fliess p { margin-bottom: .9em; }
.fliess h1 { font-size: 59px; line-height: 1; letter-spacing: -2px; margin: 0 0 30px; }
.fliess h2 { font-size: 32px; line-height: 1.2; letter-spacing: -1px; margin: 40px 0 16px; }
.fliess h3 { font-size: 22px; margin: 28px 0 10px; }
.fliess a { color: var(--rot); text-decoration: underline; }
.fliess ul { padding-left: 20px; }
.fliess img { margin: 20px 0; }

/* ---------- Angebotsliste ---------- */
.suche { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 10px; padding: 36px 16px 0; }
.suche label { display: block; font-size: 17px; color: var(--dunkel); margin-bottom: 8px; }
.suche input, .suche select { width: 100%; height: 49px; font: 400 16px var(--schrift); padding: 0 12px; border: 1px solid #69727d; border-radius: 3px; background: #fff; color: var(--dunkel); }
.suche .zeile2 { grid-column: 1 / -1; display: grid; grid-template-columns: 305px 304px 304px 1fr; gap: 10px; align-items: end; margin-top: 8px; }
.suche .paar { display: flex; gap: 0; align-items: center; }
.suche .paar > * { flex: 1; }
.suche .paar .strich { flex: none; padding: 0 10px; color: #999; }
.suche .paar.zwei > :last-child { flex: none; width: 140px; border-left: 0; font-size: 14px; }
.suche .knopf { height: 49px; width: 100%; font-size: 16px; border-radius: 3px; }
.listenkopf { display: flex; justify-content: space-between; align-items: center; margin: 46px 0 12px; color: var(--text); }
.listenkopf select { height: 46px; padding: 0 12px; border: 1px solid rgba(141,141,141,.1); border-radius: 5px; font: 400 16px var(--schrift); color: var(--dunkel); background: rgba(197,197,197,.1); }
/* Seitenwahl wie live (wp-pagenavi): Kästchen ohne Abstand, aktuelle Seite rot hinterlegt, Hover ebenso */
.seitenwahl { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; margin: 20px 0 0; }
.seitenwahl .luecke { color: var(--text); }
.seitenwahl button { border: 0; border-radius: 0; background: none; font: 400 1em var(--schrift); color: var(--text); cursor: pointer; padding: .5em; line-height: 1em; min-width: 2em; text-align: center; display: block; }
.seitenwahl button.aktiv, .seitenwahl button:hover { color: #fff; background: var(--rot); }
.leer { text-align: center; padding: 40px; }

/* ---------- Objektseite ---------- */
.objekt { background: #f5f5f5; padding-bottom: 60px; }
.galerie-oben { padding-top: 52px; position: relative; }
.galerie-oben .band { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4px) / 3); gap: 2px; height: 500px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.galerie-oben .band::-webkit-scrollbar { display: none; }
.galerie-oben .band > * { scroll-snap-align: start; }
.galerie-oben .band-zurueck, .galerie-oben .band-vor { position: absolute; top: calc(52px + 230px); width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.75); color: #333; font-size: 24px; line-height: 1; cursor: pointer; z-index: 2; }
.galerie-oben .band-zurueck { left: 14px; } .galerie-oben .band-vor { right: 14px; }
.punkte { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 6px; padding: 8px 12px; border-radius: 20px; background: rgba(255,255,255,.4); max-width: 60%; overflow: hidden; }
.punkte i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.7); flex: none; }
.punkte i.an { background: #fff; transform: scale(1.3); }
.galerie-oben button { border: 0; padding: 0; background: #ddd; cursor: zoom-in; position: relative; overflow: hidden; }
.galerie-oben img { width: 100%; height: 100%; object-fit: cover; }
.galerie-oben .zaehler { position: absolute; right: 12px; top: 64px; background: rgba(255,255,255,.16); color: #fff; font: 600 13px var(--schrift2); padding: 5px 12px; border-radius: 20px; }
.objekt-raster { display: grid; grid-template-columns: 773px 381px; gap: 46px; justify-content: center; margin-top: 48px; }
.oblock { background: #fff; padding: 40px; border-bottom: 1px solid var(--linie); font-family: var(--schrift); color: #3b4249; font-size: 15px; }
.oblock h1 { font: 700 27px/1.05 var(--schrift2); letter-spacing: -1.5px; color: #3b4249; margin-bottom: 18px; }
.oblock h2 { font: 700 16px var(--schrift2); color: #3b4249; margin-bottom: 26px; letter-spacing: -.3px; }
.oblock .standort span { color: #3b4249; margin-right: 8px; }
.oblock .standort b { font-weight: 500; }
.kurz { display: grid; grid-template-columns: repeat(4, 1fr); margin: 40px -40px -40px; border-top: 1px solid var(--linie); }
.kurz div { text-align: center; padding: 38px 10px; border-right: 1px solid var(--linie); border-bottom: 1px solid var(--linie); font: 400 15px/1.6 var(--schrift2); }
.kurz b { display: block; font-weight: 500; font-size: 14px; color: #3b4249; }
.daten { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.daten div { padding: 7px 0; }
.daten span { margin-right: 8px; }
.daten b { font: 700 16px var(--schrift2); color: #3b4249; }
.oblock .fliesstext { line-height: 1.9; color: #3b4249; }
.oblock .fliesstext p { margin: 0 0 14px; }
.ogalerie { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.ogalerie button { border: 0; padding: 0; aspect-ratio: 1; overflow: hidden; cursor: zoom-in; background: #eee; }
.ogalerie img { width: 100%; height: 100%; object-fit: cover; }
.ogalerie .mehr { grid-column: 1 / -1; aspect-ratio: auto; padding: 14px; font: 600 15px var(--schrift2); background: #f5f5f5; cursor: pointer; }
.tour-rahmen { position: relative; aspect-ratio: 16/10; background: #222; }
.tour-rahmen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tour-start { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px; color: #fff; background: center/cover; border: 0; cursor: pointer; font: 600 18px var(--schrift); }
.tour-start::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.tour-start > * { position: relative; }
.karte-platz { background: #eef0f2; padding: 40px; text-align: center; color: #555; }
.energie-skala { display: grid; grid-template-columns: repeat(9, 1fr); height: 28px; margin: 20px 0 6px; font: 600 12px/28px var(--schrift); color: #fff; text-align: center; }
.energie-skala span:nth-child(1) { background: #00a650; } .energie-skala span:nth-child(2) { background: #4cb848; } .energie-skala span:nth-child(3) { background: #8cc63f; }
.energie-skala span:nth-child(4) { background: #c8d92b; } .energie-skala span:nth-child(5) { background: #fff200; color: #333; } .energie-skala span:nth-child(6) { background: #fdb913; }
.energie-skala span:nth-child(7) { background: #f37021; } .energie-skala span:nth-child(8) { background: #ed1c24; } .energie-skala span:nth-child(9) { background: #b51f24; }
.energie-zeiger { position: relative; height: 22px; }
.energie-zeiger i { position: absolute; top: 0; transform: translateX(-50%); font-style: normal; font: 600 13px var(--schrift); color: #3b4249; white-space: nowrap; }
.seite-rechts { align-self: start; background: #fff; padding: 60px 0 40px; }
.seite-rechts h2 { font: 700 15px var(--schrift2); color: #3b4249; margin-bottom: 30px; letter-spacing: -.3px; }
.makler img { width: 368px; height: 468px; object-fit: cover; border-radius: 10px; }
.makler .name { font: 700 16px var(--schrift); color: var(--text); margin: 20px 0 6px; letter-spacing: .3px; }
.makler p { margin: 0 0 6px; }
.makler hr { border: 0; border-top: 1px solid var(--linie); margin: 20px 0; width: 368px; }
.makler .klein { color: var(--dunkel); font-size: 15px; margin-top: 12px; }
.makler .knopf { display: block; width: 368px; text-align: center; background: #343a40; border-radius: 6px; font: 600 15px var(--schrift2); padding: 14px; margin-top: 18px; }
.makler .knopf:hover { background: #23272b; }
.aehnliche { margin-top: 60px; }
.aehnliche h2 { margin-bottom: 30px; }
.handy-anfrage { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 200; display: none; align-items: center; justify-content: center; }
.lightbox.offen { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; width: auto; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 40px; cursor: pointer; padding: 10px 18px; }
.lightbox .zu { top: 10px; right: 10px; }
.lightbox .links { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox .rechts { right: 10px; top: 50%; transform: translateY(-50%); }
.lightbox .nummer { position: absolute; bottom: 16px; color: #ddd; font-size: 14px; }

/* ---------- Fuß ---------- */
.fuss { background: var(--fuss); color: #fff; padding: 48px 0 0; }
.fuss .spalten4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 16px 16px 32px; }
.fuss h4 { font-size: 25px; line-height: 32px; color: #fff; margin-bottom: 20px; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: 7px; }
.fuss a:hover { color: #e9a3a8; }
.fuss .logo img { width: 208px; margin-bottom: 20px; }
.fuss .zeiten { line-height: 24px; }
.fuss .kontakt li { display: flex; gap: 5px; align-items: center; }
.fuss .kontakt svg { width: 18px; height: 18px; fill: var(--rot); flex: none; }
.fuss .unten { border-top: 1px solid rgba(255,255,255,.15); display: flex; justify-content: space-between; align-items: center; padding: 26px 10px; font-size: 13px; }
.fuss .unten .sozial a { background: #4d524d; width: 28px; height: 28px; }
.fuss .unten .sozial svg { width: 13px; height: 13px; }

/* WhatsApp-Knopf */
.wa-knopf { position: fixed; right: 20px; bottom: 20px; width: 64px; height: 64px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.25); z-index: 90; }
.wa-knopf svg { width: 34px; height: 34px; fill: #fff; }

/* Testbalken (nur Testseite) */
.testbalken { position: fixed; left: 0; right: 0; bottom: 0; background: #b00020; color: #fff; text-align: center; font: 600 13px/1.4 var(--schrift); padding: 6px 10px; z-index: 300; }

/* ---------- Tablet ---------- */
@media (max-width: 1240px) {
  .menue > ul > li + li::before { margin: 0 10px; }
  .menue a, .menue .auf { font-size: 17px; }
  .objekt-raster { grid-template-columns: 1fr 340px; padding: 0 20px; gap: 30px; }
  .makler img, .makler hr, .makler .knopf { width: 100%; }
}
@media (max-width: 1024px) {
  :root { --kopf: 92px; }
  .burger { display: block; }
  .kopf .rahmen { justify-content: space-between; }
  .kopf .logo img { width: 230px; }
  .menue { position: absolute; top: var(--kopf); left: 0; right: 0; max-height: calc(100vh - var(--kopf)); background: #fff; display: none; overflow-y: auto; box-shadow: 0 10px 20px rgba(0,0,0,.1); }
  .menue.offen { display: block; }
  .menue > ul { flex-direction: column; align-items: stretch; }
  .menue > ul > li { flex-direction: row; flex-wrap: wrap; align-items: stretch; border-bottom: 1px solid #eee; }
  .menue > ul > li > a { flex: 1; }
  .menue > ul > li > a .pfeil { display: none; }
  .menue .auf { display: block; }
  .menue li > ul { flex-basis: 100%; }
  .menue > ul > li + li::before { display: none; }
  .menue a { color: var(--dunkel); line-height: 21px; padding: 10px 20px; font-size: 14px; }
  .menue .aktiv > a { background: var(--rot); color: #fff; }
  .menue .auf { padding: 0 16px; }
  .menue ul ul { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; background: var(--hell); }
  .menue li.auf-offen > ul { display: block; }
  .menue ul ul a { padding-left: 40px; }
  .h1 { font-size: 46px; } .h2 { font-size: 36px; }
  .karten3 .rahmen { padding: 0 20px; gap: 14px; }
  .schach { grid-template-columns: 1fr 1fr; }
  .objektraster { grid-template-columns: 1fr 1fr; }
  .slider .spur { grid-auto-columns: calc((100% - 18px) / 2); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .gruende { grid-template-columns: 1fr 1fr; }
  .suche { grid-template-columns: 1fr 1fr; }
  .suche .zeile2 { grid-template-columns: 1fr 1fr; }
  .objekt-raster { grid-template-columns: 1fr; }
  .seite-rechts { position: static; padding: 30px; }
  .galerie-oben .band { height: 420px; }
}

/* ---------- Handy ---------- */
@media (max-width: 767px) {
  body { font-size: 15px; }
  .rahmen { padding: 0 14px; }
  .kopf { background: rgba(41,41,41,.85); }
  .kopf .rahmen { flex-direction: row; }
  .kopf .logo img { width: 274px; }
  .h1 { font-size: 32px; } .h2 { font-size: 27px; line-height: 1.11; } .h3 { font-size: 21px; }
  .titelblock .kontur { font-size: 72px; } .titelblock.links .kontur { font-size: 64px; top: -20px; }
  .abschnitt, .schluss, .wer { padding: 56px 0; }
  .buehne { min-height: 0; padding: 140px 14px 120px; }
  .buehne .knoepfe { flex-direction: column; align-items: stretch; padding: 0 20px; }
  .knopf.gross { width: 100%; }
  .karten3 { margin-top: -84px; }
  .karten3 .rahmen, .wer .rahmen, .erfolg .rahmen, .spalten, .philo, .kachel4, .vorteile, .schritte, .formular, .fuss .spalten4 { grid-template-columns: 1fr; }
  .karten3 .rahmen { padding: 0 10px; }
  .wer .text { padding: 0; }
  .bildpaar .a, .bildpaar .b, .erfolg .bildpaar img { height: 220px; margin: 0; }
  .zuhause { padding: 56px 14px 110px; }
  .zahlenleiste .innen { grid-template-columns: 1fr 1fr; padding: 28px 14px; margin: 0 14px; }
  .zahl { font-size: 32px; } .zahl-titel { font-size: 16px; }
  .schach { grid-template-columns: 1fr; }
  .schach .bildfeld { height: 260px; }
  .objektraster { grid-template-columns: 1fr; }
  .slider .spur { grid-auto-columns: 88%; }
  .vorteile { gap: 30px; }
  .partner img { max-width: 40%; max-height: 180px; }
  .team { grid-template-columns: 1fr 1fr; gap: 14px; }
  .gruende { grid-template-columns: 1fr; }
  .kachel { grid-template-columns: 1fr; }
  .kachel img { height: 220px; }
  .kachel.umgekehrt img { order: 0; }
  .suche { grid-template-columns: 1fr; padding: 24px 0 0; }
  .suche .zeile2 { grid-template-columns: 1fr; }
  .listenkopf { flex-direction: column; gap: 12px; align-items: flex-start; }
  .titelbild { min-height: 300px; }
  .galerie-oben { padding-top: 0; }
  .galerie-oben .band { grid-auto-columns: 100%; height: 300px; }
  .galerie-oben .band-zurueck, .galerie-oben .band-vor { top: 130px; }
  .galerie-oben .zaehler { top: 12px; }
  .objekt-raster { padding: 0; margin-top: 0; }
  .oblock { padding: 26px 18px; }
  .oblock h1 { font-size: 22px; letter-spacing: -1px; }
  .kurz { grid-template-columns: 1fr 1fr; margin: 26px -18px -26px; }
  .daten { grid-template-columns: 1fr; }
  .ogalerie { grid-template-columns: repeat(3, 1fr); }
  .handy-anfrage { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: #fff; box-shadow: 0 -2px 12px rgba(0,0,0,.12); padding: 10px 12px; gap: 10px; }
  .handy-anfrage a { flex: 1; text-align: center; padding: 13px 8px; font: 600 15px var(--schrift); }
  .handy-anfrage .anruf { border: 2px solid var(--rot); color: var(--rot); }
  .handy-anfrage .mail { background: var(--rot); color: #fff; }
  .mit-leiste .wa-knopf { bottom: 84px; }
  .fuss .unten { flex-direction: column; gap: 14px; }
}
.kopf .logo img { max-width: calc(100vw - 110px); }

/* Formular: Honigtopf unsichtbar, Rückmeldung nach dem Absenden */
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular { position: relative; }
.formular .meldung { grid-column: 1 / -1; padding: 12px 14px; font-size: 15px; }
.formular .meldung.gut { background: #e8f5e9; color: #1b5e20; }
.formular .meldung.schlecht { background: #fdecea; color: #8a1c13; }

/* Über uns wie live: runde Teamfotos, weiße Karten mit Schatten */
.team-abschnitt { padding: 80px 0 112px; }
.team-abschnitt .titelblock { padding-top: 38px; margin-bottom: 120px; }
.team .person { display: flex; flex-direction: column; align-items: center; }
.team .rund { width: 295px; max-width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.team .rund img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; aspect-ratio: auto; }
.karte-team { background: #fff; box-shadow: 0 30px 60px rgba(0,0,0,.1); padding: 16px; width: 251px; max-width: 90%; min-height: 205px; display: flex; flex-direction: column; justify-content: center; text-align: center; margin-top: 30px; margin-bottom: 60px; }
.karte-team h3 { font-size: 18.66px; font-weight: 600; color: var(--dunkel); margin: 0 0 6px; }
.karte-team .rolle { font-size: 14px; font-weight: 500; color: var(--rot); text-transform: uppercase; letter-spacing: 2px; line-height: 1.45; margin-bottom: 10px; }
.karte-team .kontakt { font-size: 15px; font-weight: 500; color: var(--rot); line-height: 1.45; margin: 0; }
.karte-team .kontakt a { display: inline; color: var(--rot); font-size: 15px; }
.bildgrund[style*="--deck"]::before { background: rgba(45,50,45,var(--deck)); }
.ziel { padding: 70px 0 112px; }
.ziel .rahmen { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: stretch; }
.ziel img { width: 100%; height: 600px; object-fit: cover; }
.ziel-text { background: var(--hell); padding: 64px 74px; }
.ziel-text .h2 { margin-bottom: 20px; }
.schluss.rechts { text-align: left; padding: 112px 0 160px; }
.schluss.rechts .schluss-text { margin-left: 50%; padding-left: 32px; max-width: 610px; }
@media (max-width: 767px) {
  .ziel .rahmen { grid-template-columns: 1fr; }
  .ziel img { height: 320px; }
  .ziel-text { padding: 32px 20px; }
  .schluss.rechts .schluss-text { margin-left: 0; padding-left: 0; }
  .team .rund { width: 150px; }
  .karte-team { width: 100%; min-height: 188px; }
}

/* Sichtvergleich 26.10.: Vorteile als helle Kästen ohne Symbole, Muster-Hintergrund, Formulare wie live */
.vorteile { gap: 10px; max-width: 1260px; margin-top: 40px; }
.vorteil { background: var(--hell); padding: 30px 40px 30px 95px; min-height: 155px; }
.vorteil h3 { margin-top: 0; }
.muster-weiss { background-color: #fff; background-image: url(bilder/muster.svg); }
.partner img { box-shadow: none; }
.knopf.dunkel { background: #343a40; }
.knopf.dunkel:hover { background: #23272b; }
.formular-teil { font-size: 18px; margin: 10px 0 0; color: var(--dunkel); }
.anfrage-raster { grid-template-columns: repeat(12, 1fr); }
.anfrage-raster > * { grid-column: span 6; }
.anfrage-raster > :has([name=anrede]) { grid-column: span 2; }
.anfrage-raster > :has([name=vorname]), .anfrage-raster > :has([name=nachname]) { grid-column: span 5; }
.anfrage-raster > :has([name=strasse]), .anfrage-raster > :has([name=ort]) { grid-column: span 9; }
.anfrage-raster > :has([name=hausnummer]), .anfrage-raster > :has([name=plz]) { grid-column: span 3; }
.anfrage-raster > .ganz, .anfrage-raster > .meldung { grid-column: 1 / -1; }
.makler img { width: 369px; height: 553px; }
@media (max-width: 767px) {
  .kurz { grid-template-columns: 1fr; }
  .anfrage-raster > * { grid-column: 1 / -1 !important; }
  .vorteil { padding: 24px 20px; }
  .fuss .spalten4 { text-align: center; }
  .fuss .kontakt li { justify-content: center; }
  .fliess h1 { font-size: 32px; }
}

/* ---------- Unterseiten nach Live-Aufbau (Sichtvergleich 26.10.) ---------- */
.schach .feld { background: #fff; }
.schach.versetzt .feld:nth-child(2), .schach.versetzt .feld:nth-child(4) { margin-top: 0; }
.schach.versetzt > :nth-child(-n+4) { transform: translateY(-20px); }
.banner-titel { color: #fff; margin-bottom: 20px; font-size: 44.2px; line-height: 48.62px; } /* live = H2-Stil, nicht H1 (29.10.) */
@media (max-width: 767px) { .banner-titel { font-size: 26.96px; line-height: 29.66px; } }
.zuhause .banner-text p { margin-bottom: 24px; }
.banner-rechts { text-align: left; }
.banner-rechts .banner-text { margin-left: 50%; max-width: 560px; }
.banner-rechts .banner-titel { font-size: 44px; line-height: 1.12; }
.rotrahmen { border-top: 26px solid var(--rot); border-bottom: 26px solid var(--rot); border-radius: 70px; padding: 30px 10px 50px; }
.philo .eintrag { background: var(--hell); padding: 30px 50px 40px; }
.philo .grafik { background: transparent; height: 260px; margin-bottom: 20px; }
.schritte .schritt { background: #efeff5; padding: 30px 30px 50px; text-align: left; min-height: 330px; }
.schritt .nummer { font-size: 22px; letter-spacing: 0; margin-bottom: 14px; }
.schritt h3 { color: var(--rot); font-size: 20px; }
.schritt p { font-size: 14px; }
.gruende-zickzack { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; max-width: 1240px; margin: 50px auto 0; }
.grund { background: var(--hell); padding: 50px 70px 60px; position: relative; }
.grund:nth-child(even) { margin-top: 140px; margin-bottom: -140px; }
.grund.rot { background: var(--rot); color: #fff; }
.grund.rot h3, .grund.rot .grund-nr { color: #fff; }
.grund-nr { font-size: 59px; font-weight: 600; line-height: 1; color: var(--rot); text-align: center; margin-bottom: 20px; }
.grund h3 { font-size: 21px; margin-bottom: 10px; }
.grund p { font-size: 14px; }
.grund-pfeil { position: absolute; right: 40px; bottom: 16px; font-size: 40px; color: var(--dunkel); }
.grund.rot .grund-pfeil { right: auto; left: 40px; color: #fff; }
.gruende-zickzack + * { margin-top: 160px; }
.kontakt-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.kontakt-links .h2 { font-size: 44px; }
.formular-karte { background: var(--hell); padding: 70px 45px 80px; }
.kontakt-badges { margin-top: 30px; }
.kontakt-badges .eintrag { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.kontakt-badges .badge { width: 56px; height: 56px; background: var(--rot); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.kontakt-badges .badge svg { width: 28px; height: 28px; }
.klein-caps { font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: var(--grau); margin-bottom: 4px; }
.kontakt-badges b { font-size: 18px; font-weight: 500; color: var(--text); }
.kontakt-badges .folge { display: flex; gap: 12px; align-items: center; border-top: 1px solid var(--linie); padding-top: 20px; margin-top: 10px; font-weight: 600; color: var(--dunkel); font-size: 18px; }
.kontakt-badges .folge a { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; background: #f3f3f3; }
.kontakt-badges .folge svg { width: 15px; height: 15px; fill: var(--dunkel); }
.karten-leiste { background: #f6f6f6; padding: 22px 16px 26px; text-align: center; font-size: 13px; }
.karten-leiste p { margin-bottom: 14px; }
.karten-leiste .knopf { display: block; max-width: 1260px; margin: 0 auto; background: #0062e3; font-size: 14px; font-weight: 600; padding: 13px; border-radius: 4px; }
.newsletter-raster { grid-template-columns: repeat(3, 1fr); }
.knopf.breit { width: 100%; text-align: center; padding: 12px; }
.formular .wahl { display: block; }
.formular .wahl input { margin: 0 6px 0 0; vertical-align: -2px; }
@media (max-width: 767px) {
  .banner-rechts .banner-text { margin-left: 0; }
  .banner-rechts .banner-titel { font-size: 27px; }
  .rotrahmen { border-width: 14px; border-radius: 36px; }
  .philo .eintrag { padding: 24px 20px; }
  .gruende-zickzack { grid-template-columns: 1fr; gap: 20px; }
  .grund:nth-child(even) { margin: 0; }
  .grund { padding: 36px 24px 50px; }
  .gruende-zickzack + * { margin-top: 40px; }
  .kontakt-raster { grid-template-columns: 1fr; gap: 40px; }
  .kontakt-links .h2 { font-size: 27px; }
  .formular-karte { padding: 30px 18px; }
  .newsletter-raster { grid-template-columns: 1fr; }
  .schach.versetzt > :nth-child(-n+4) { transform: none; }
  .team { grid-template-columns: 1fr; }
  .team .rund { width: 295px; }
  .karte-team { width: 251px; }
  .bildpaar { grid-template-columns: 1fr; }
}
.kontakt-raster { grid-template-columns: 0.75fr 1fr; gap: 72px; }
.formular-karte .formular input[type=text], .formular-karte .formular input[type=email], .formular-karte .formular input[type=tel], .formular-karte .formular select, .formular-karte .formular textarea { border: 0; }
@media (max-width: 767px) { .kontakt-raster { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
  .seitenkopf { min-height: 300px; padding: 162px 0 50px; }
  .seitenkopf .krumen { font-size: 15px; }
  .team-abschnitt { padding: 30px 0 60px; }
  .team-abschnitt .titelblock { margin-bottom: 50px; }
  .team .rund { width: 100%; max-width: 370px; }
  .karte-team { width: 300px; }
}

/* Ausstattungsmerkmale + Galerie-Knopf wie live */
.merkmale { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 40px; }
.merkmale div { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.merkmale .merkmal-symbol { width: 20px; height: 20px; color: #9aa0a6; flex: none; }
.merkmale b { font-weight: 700; color: #3b4249; }
.galerie-alle { background: #a30d11; color: #fff; border: 0; padding: 13px 28px; font: 600 16px var(--schrift); cursor: pointer; }
.galerie-alle:hover { background: var(--rot-dunkel); }
@media (max-width: 767px) { .merkmale { grid-template-columns: 1fr; } }

.kurz-ref { grid-template-columns: 1fr; }
.kurz-ref div { text-align: left; padding: 30px 40px; }

/* Partner-Karussell wie live: 3 sichtbar, läuft automatisch weiter */
.partner-band { overflow: hidden; margin-top: 40px; }
.partner-spur { display: grid; grid-auto-flow: column; grid-auto-columns: calc(100% / 3); transition: transform .6s; }
.partner-spur > div { display: flex; align-items: center; justify-content: center; height: 307px; }
.partner-spur img { max-height: 300px; max-width: 300px; width: auto; height: auto; }
@media (max-width: 767px) { .partner-spur { grid-auto-columns: 50%; } .partner-spur > div { height: 200px; } .partner-spur img { max-width: 150px; max-height: 190px; } }

/* ---------- Korrektur 26.10.2026 (Bereich: Ortsseiten/Datenschutz/Impressum/AGB) ----------
   Alle Werte per Playwright (getComputedStyle) auf https://immobilien-thielscher.de gemessen,
   live vs. Nachbau. Siehe korrektur-3.md für die Begründung je Regel. */

/* 1) LIVE nutzt bei Datenschutz/AGB/Impressum praktisch die volle .rahmen-Breite (effektiv ~1280px bei
   1400px Fensterbreite), nicht nur 900px. Dadurch bricht der Text bei uns viel früher um -> Seite zu hoch
   (gemessen: Datenschutz PC 9160 live / 10528 neu; AGB PC 4693 live / 5707 neu). Ortsseiten haben ihr
   eigenes inline max-width (siehe bauen.mjs-Korrektur) und sind davon nicht betroffen, weil Inline-Style
   diese Regel ohnehin überstimmt. */
.fliess { max-width: none; }

/* 2) LIVE-Fließtext ist rgb(134,134,134) = var(--text), nicht #555 - identisch gemessen auf Datenschutz
   UND Ortsseiten. */
.fliess { color: var(--text); }

/* 3) LIVE-Überschriften haben durchgängig 8px oben / 16px unten Abstand (nicht 0/30px bzw. 40px/16px) -
   gemessen an H1 (Datenschutz, Ortsseiten) und H2 (Ortsseiten), identisch bei 1400 und 390px breit. */
.fliess h1 { margin: 8px 0 16px; }
.fliess h2 { margin: 8px 0 16px; letter-spacing: -2px; line-height: 1.1; }

/* 4) Ortsseiten-H2 ist bei LIVE bei 1400px breit 44,2px/48,6px Zeilenhöhe, nicht 32px/38px. */
.fliess h2 { font-size: 44.2px; }

/* 5) Karten-Überschriften der Ortsteile (<h4> im Abschnitt "Die Ortsteile von ...") sind bei LIVE
   24,9px/32,3px Zeilenhöhe (Browser-Standard wäre nur 16px/24px) - gemessen auf Übach-Palenberg/Boscheln. */
.fliess h4 { font-size: 24.88px; line-height: 1.3; }

@media (max-width: 767px) {
  /* 6) LIVE-Fließtext ist auf dem Handy 14px/21px statt 16px/24px - größter Einzelfaktor für die zu hohen
     Handy-Seiten (Datenschutz 17313 live / 20374 neu; AGB 8663 live / 10989 neu; Übach-Palenberg 7315/8419;
     Boscheln 6194/7200). Wirkt auf alle Kinder von .fliess (p, li, FAQ-Antworten, Kontaktbox-Text), außer
     den eigens gesetzten Überschriftengrößen unten. */
  .fliess { font-size: 14px; line-height: 1.5; }
  /* LIVE-Absatzabstand ist 0,9rem (immer 14.4px, bezogen auf die Root-Schriftgröße 16px), nicht 0,9em
     (würde bei 14px nur 12,6px ergeben). */
  .fliess p { margin-bottom: .9rem; }
  /* Ortsseiten-H2 auf dem Handy: LIVE 26,96px/29,7px Zeilenhöhe, nicht 32px/38px. */
  .fliess h2 { font-size: 26.96px; }
  /* Ortsteil-Karten-H4 auf dem Handy: LIVE 18,72px, nicht 16px. */
  .fliess h4 { font-size: 18.72px; }
}

/* Ortsseiten-Titel (eigene Markup-Variante ohne Brotkrumen, siehe bauen.mjs-Korrektur unten): gleicher
   8px/16px-Abstand wie alle anderen LIVE-Überschriften. Bewusst über eigene Klasse .ort-titel statt über
   .seitentitel .h1 (das würde auch andere, nicht zu meinem Bereich gehörende Unterseiten mit demselben
   Baustein verändern). */
.ort-titel .h1 { margin: 8px 0 16px; }
/* Handy: Fließtextseiten (Ortsseiten, Rechtstexte) wie live 10 px Rand links/rechts, Text 370 px breit */
@media (max-width: 767px) {
  section.rahmen:has(> .fliess) { padding-left: 10px !important; padding-right: 10px !important; }
  section.rahmen:has(> .fliess) > .fliess { max-width: none !important; }
  .ort-titel { padding-left: 10px; padding-right: 10px; }
  .ort-titel .h1 { font-size: 32.35px; }
}
/* Fuß am Handy wie live gemessen: 14px/21px, Ränder 14px, Logo 81px hoch, Überschriften 18,72px, Zeilenabstand 28px */
@media (max-width: 767px) {
  .fuss { font-size: 14px; line-height: 21px; padding-top: 42px; }
  .fuss .rahmen { padding: 0 14px; }
  .fuss .spalten4 { gap: 22px; padding: 0 0 24px; }
  .fuss .logo img { width: auto; height: 81px; margin: 0 auto 20px; }
  .fuss h4 { font-size: 18.72px; line-height: 24.34px; margin-bottom: 20px; }
  .fuss li { margin-bottom: 7px; }
  .fuss .zeiten { line-height: 21px; }
  .fuss h4[style] { margin-top: 20px !important; }
}
/* Ortsseiten: Bilder ohne Zusatzabstand (live 0), Etiketten-Zeilenhöhe 21px, Abstand Titel→Foto wie live */
.fliess img { margin: 0; }
.fliess .sold-card .badges span { line-height: 21px; }
@media (max-width: 767px) {
  .ort-titel { padding-top: 20px; padding-bottom: 0; }
  .ort-titel + section.rahmen { padding-top: 0 !important; }
}

/* ---- Korrekturen Prüfer 2 (Unterseiten) ---- */
/* ===== Sichtvergleich 26.10. Teil 2 – Korrekturen Unterseiten (Handy + PC) ===== */

/* 1) Schach-Felder (Verkaufen/Bewerten/Vermieten): auf Handy wird jedes Text-Feld live NICHT als
   eigenes 300px-Feld gerendert, sondern sitzt direkt unter seinem Bild in EINEM Elementor-"CTA"-Baustein
   (Bild 300px + Titel + Text ohne Zwischenraum, Gesamthöhe ~480px statt unserer 2×300=600px pro Paar).
   Live-Messung Verkaufen/390: Bild-CTA "Marktanalyse" 485–964px (=479px) vs. unser Bild(300)+Text(300)=600px.
   Fix: Text-Feld nicht mehr auf 300px zwingen, sondern an den Inhalt anpassen (Bildfeld bleibt bei 300px,
   das stimmt bereits exakt mit live überein). Spart auf /immobilie-verkaufen/ handy ca. 500-600px,
   auf /immobilie-vermieten/ ca. 450px (dort war Handy-Höhe 7243px vs. live 5950px / 7637 vs. 7397). */
@media (max-width: 767px) {
  .schach .feld:not(.bildfeld) { min-height: 0; }
}

/* 2) "Unsere Verkaufsphilosophie" (immobilie-verkaufen): Icon-Fläche über dem Text ist bei uns fix 260px
   hoch (gilt auch für PC). Live misst dort (Elementor-Lottie-Container) nur 193–236px auf PC/1400
   (Schnitt ~215px) und 92–150px auf Handy/390 (Schnitt ~135px) – der Hintergrundkasten selbst
   (var(--hell)) stimmt bereits exakt (Pixelprobe: live rgb(250,249,253) = unser --hell #faf9fd). */
.philo .grafik { height: 215px; }
@media (max-width: 767px) {
  .philo .grafik { height: 135px; }
}

/* 3) "Schritte der Vor-Ort-Immobilienbewertung" (immobilie-bewerten), nur Handy: Karten sind bei uns
   fix 330px hoch, live passt sich dem Text an (Live-Messung 390px: Karte 1 "Anfrage stellen" 219px,
   Karte 2 "Vor-Ort-Termin" 283px, Karte 3 "Bewertung erhalten" 254px – alle deutlich unter 330px,
   zusätzlich live-Innenabstand nur ~20px unten statt unserer 50px). Auf PC stimmt die Karte bereits
   gut überein (Screenshot-Vergleich), daher nur Handy ändern. */
@media (max-width: 767px) {
  .schritte .schritt { min-height: 0; padding: 30px 22px 28px; }
}

/* 4) "Warum sich vermieten mit uns lohnt" (immobilie-vermieten) + Bonus Startseite: Live zeigt links
   neben jeder Überschrift ein kleines Kreis-Icon (Elementor icon-box, 35×35 Handy / 50×50 PC) –
   bei uns ist das HTML-Element dafür nie gebaut worden, es bleibt nur die dafür vorgesehene leere
   Lücke (padding-left:95px ohne Inhalt). Einfaches Symbol per CSS ergänzt (Größe/Platz wie live). */
.vorteil { position: relative; }
.vorteil::before {
  content: "";
  position: absolute;
  left: 38px; top: 34px;
  width: 42px; height: 42px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='%239b141e' stroke-width='1.6'/%3E%3Cpath d='M7.5 12.3l2.8 2.8 5.7-6.2' fill='none' stroke='%239b141e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
@media (max-width: 767px) {
  .vorteil { padding: 24px 20px 24px 76px; }
  .vorteil::before { left: 20px; top: 22px; width: 34px; height: 34px; }
}

/* 5) Formulare (kontakt/tippgeber/newsletter, wirkt auch auf andere Formulare der Seite): auf Handy ist
   der Zeilenabstand bei uns 16px, live liegt pro Feld nur ~10px Abstand (Live-Messung kontakt/390:
   Felder mit mb10px). Textarea bei uns 130px Mindesthöhe, live-Textarea (kontakt/390) ist nur 104px hoch. */
@media (max-width: 767px) {
  .formular { gap: 10px; }
  .formular textarea { min-height: 100px; }
}

/* 6) Kontakt-Badges (kontakt/tippgeber), NUR Handy: Icon-Kacheln bei uns 56×56 – das stimmt auf PC exakt
   mit live überein (live-Messung kontakt/1400: Icon-Box 56×56), aber live verkleinert sie auf Handy auf
   42×42 (Live-Messung kontakt/390), bei uns bleiben sie auch auf Handy bei 56×56 (sichtbar zu groß,
   siehe tippgeber-1400 vs. tippgeber-390 Screenshot-Vergleich). */
@media (max-width: 767px) {
  .kontakt-badges .badge { width: 42px; height: 42px; }
  .kontakt-badges .badge svg { width: 21px; height: 21px; }
}

/* 7) "Karte öffnen"-Knopf (kontakt/tippgeber, Element kartenLeiste): bei uns display:block → Knopf
   zieht sich über die volle Breite der Box (siehe kontakt-1400-01.png: unser blauer Balken ist
   bildbreit, live zeigt einen schmalen, nur textbreiten Knopf, mittig). */
.karten-leiste .knopf { display: inline-block; max-width: none; padding: 13px 40px; }

/* 8) Newsletter-Button (newsletter/): auf live ist der "Anmelden"-Knopf terrakotta/orange, nicht rot wie
   sonst auf der Seite (Pixelprobe aus newsletter-1400-00.png: live rgb(217,145,105) = #d99169,
   unser Rot ist rgb(155,20,30) = #9b141e – eindeutig ein anderer Button-Stil nur auf dieser Seite). */
[data-formular="newsletter"] button.knopf { background: #d99169; }
[data-formular="newsletter"] button.knopf:hover { background: #c27d57; }

/* Handy: Raster immer Bild über Text (live), auch in der zweiten Reihe (Text|Bild) */
@media (max-width: 767px) {
  .schach > :nth-child(1){order:1} .schach > :nth-child(2){order:2} .schach > :nth-child(3){order:3} .schach > :nth-child(4){order:4}
  .schach > :nth-child(5){order:6} .schach > :nth-child(6){order:5} .schach > :nth-child(7){order:8} .schach > :nth-child(8){order:7}
}
/* Korrektur 1: Schachbrett-Kacheln (Startseite „Unser Verkaufssystem“ + baugleiche Bausteine auf
   immobilie-verkaufen/-bewerten/-vermieten) – auf dem Handy (1 Spalte) muss jedes Bild direkt vor
   seinem Text stehen, wie live. Betrifft alle .schach-Blöcke (immer 8 Kinder: Bild,Text,Bild,Text,
   Text,Bild,Text,Bild). Live-Reihenfolge Startseite: Verkauf → Marktanalyse → Kaufberatung →
   Vertrauen (eigene Messung der DOM-Reihenfolge auf immobilien-thielscher.de); bisher neu:
   Verkauf → Kaufberatung → Marktanalyse → Vertrauen + 1 Bild ohne Text am Ende. */
@media (max-width: 767px) {
  .schach > :nth-child(1) { order: 1; }
  .schach > :nth-child(2) { order: 2; }
  .schach > :nth-child(6) { order: 3; }
  .schach > :nth-child(5) { order: 4; }
  .schach > :nth-child(3) { order: 5; }
  .schach > :nth-child(4) { order: 6; }
  .schach > :nth-child(8) { order: 7; }
  .schach > :nth-child(7) { order: 8; }
}

/* ---- Korrekturen Prüfer 5 (Bedienung) ---- */
/* Korrektur-4: Desktop-Dropdown wie live – sofort auf, verzögert zu, Eintrag-Hover = volles Rot */
.menue ul ul { transition: visibility 0s .5s; transform: none; }
.menue li:hover > ul, .menue li:focus-within > ul { transition: none; }
.menue ul ul a:hover { background: var(--rot); color: #fff; }

/* Korrektur-4: Burger wird beim Öffnen zum Schließkreuz (reine CSS-Lösung über aria-expanded, kein JS nötig) */
.burger span { transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(13px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-13px) rotate(-45deg); }

/* Korrektur-4: Schatten des aufgeklappten Menüs wie live (weicher Streuschatten statt hartem Drop-Schatten) */
@media (max-width: 1024px) {
  .menue { box-shadow: 0 0 30px rgba(0,0,0,.05); }
  /* Pfeil direkt hinter den Text setzen statt an den rechten Rand gedrückt (live: <a> bleibt volle Breite,
     Text+Pfeil aber linksbündig, Rest der Zeile bleibt leer) */
  .menue > ul > li > a:has(+ .auf) { flex: 0 1 auto; }
  .menue .auf { margin-left: 0; padding: 0 16px 0 2px; }
}

/* Korrektur-4: Hover-Verhalten der Knöpfe wie live. Haupt-Button ändert die Farbe nicht (Hero geprüft);
   Rand-Button füllt sich beim Hover komplett rot statt nur leicht aufzuhellen. */
.knopf:hover { background: var(--rot); }
.knopf.rand:hover { background: var(--rot); border-color: var(--dunkel); color: #fff; }

/* Korrektur-4: Karten-Hover wie live – kein Schatten, kein Bildzoom (dafür Foto-Pfeil, siehe unten) */
.okarte:hover { box-shadow: none; }
.okarte:hover .bild img { transform: none; }

/* Korrektur-4: WhatsApp-Knopf wie live – kein Dauerschatten, dafür Vergrößerung beim Hover */
.wa-knopf { box-shadow: none; transition: transform .2s; }
.wa-knopf:hover { transform: scale(1.08); }

/* Korrektur-4: Mehrere Fotos je Objektkarte durchblättern (wie live) */
.okarte .kspur { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; grid-template-rows: 100%; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.okarte .kspur::-webkit-scrollbar { display: none; }
.okarte .kspur img { scroll-snap-align: start; width: 100%; height: 100%; object-fit: cover; }
/* wie live (Frymo-Swiper): Pfeile links/rechts 25 px weiß, nur beim Darüberfahren; am Anfang/Ende ausgeblendet; Punkte unten */
.okarte .kprev, .okarte .knext { position: absolute; top: 50%; transform: translateY(-50%); width: 25px; height: 25px; border-radius: 50%; border: 0; padding: 0; background: #fff; color: #121212; cursor: pointer; z-index: 3; opacity: 0; transition: opacity .2s; display: flex; align-items: center; justify-content: center; }
.okarte .kprev { left: 10px; } .okarte .knext { right: 10px; }
.okarte .kprev svg { transform: scaleX(-1); }
.okarte .kprev svg, .okarte .knext svg { width: 25px; height: 25px; }
.okarte .bild:hover .kprev, .okarte .bild:hover .knext { opacity: 1; }
.okarte .kprev[hidden], .okarte .knext[hidden] { display: none; }
.okarte .kpunkte { position: absolute; left: 0; right: 0; bottom: 9px; display: flex; justify-content: center; gap: 4px; z-index: 3; pointer-events: none; }
.okarte .kpunkte i { width: 8px; height: 8px; border-radius: 50%; background: #fff; opacity: .3; }
.okarte .kpunkte i.an { opacity: 1; }

/* Fuß-Links live: weiß, beim Hover unverändert weiß (geprüft) */
.fuss a:hover { color: #fff; }
/* Burger→X: Strichabstand ist 8px (3px Strich + 5px Abstand) */
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 767px) { .seitenwahl { font-size: 14px; } }

/* Fuß wie live (vermessen 26.10. abends): 4 Spalten à 320 px ohne Lücke (Inhalt 16 px eingerückt, 288 breit),
   Spaltenbereich unten 16+32 px, Leiste unten 80 px hoch (16 px Rand), Logo-Feld 81 px hoch */
@media (min-width: 768px) {
  .fuss .rahmen { padding: 0; }
  .fuss .spalten4 { gap: 0; padding: 16px 0 48px; }
  .fuss .spalten4 > div { padding: 0 16px; }
  .fuss .logo img { height: 81px; object-fit: contain; object-position: left center; }
  .fuss .unten { padding: 16px 10px; min-height: 80px; box-sizing: border-box; }
}
@media (min-width: 768px) { .fuss .unten .sozial { gap: 5px; } }
/* Fuß Handy wie live: Kontaktspalte +3 px, Spaltenbereich unten 56 px, Leiste unten 103 px (14 Rand, Copyright 31, Symbole 24 px in 44er-Zeile) */
@media (max-width: 767px) {
  .fuss .kontakt { margin-top: 3px; }
  .fuss .spalten4 { padding-bottom: 56px; }
  .fuss .unten { padding: 14px 10px; gap: 0; min-height: 103px; box-sizing: border-box; }
  .fuss .unten > div:first-child { min-height: 31px; }
  .fuss .unten .sozial { height: 44px; align-items: center; gap: 5px; }
  .fuss .unten .sozial a { width: 24px; height: 24px; }
}

/* 29.10. zentral nach Prüfrunde: Live lädt die Haken-Symbolschrift nicht → Besucher sehen KEIN Symbol (Platz bleibt). */
.vorteil::before { visibility: hidden; }
/* WhatsApp am Handy wie live 56 px, 14 px Rand */
@media (max-width: 767px) { .wa-knopf { width: 56px; height: 56px; right: 14px; bottom: 14px; } }
.knopf.gross { align-self: center; } /* 29.10.: nicht auf Höhe des Randknopfs strecken – live rot 58px, Rand 62px */
