/* SCHORR Bau- und Immobilien GmbH
   Schrift liegt lokal im Ordner /fonts – keine Verbindung zu Google (DSGVO). */

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --blau: #1e457f;
  --blau-dunkel: #142f58;
  --blau-hell: #eaf0f8;
  --grau-hell: #f3f4f6;
  --linie: #dde1e7;
  --text: #262b33;
  --text-2: #555d69;
  --schrift: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --breite: 76rem;
  --rand: clamp(1rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--text); font-family: var(--schrift); font-size: 1.1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blau); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blau); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0; color: var(--blau-dunkel); }
h1 { font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; }
.wrap { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.skip { position: absolute; left: -999px; top: 0; background: var(--blau); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }

/* ================= Kopf mit Aufklappmenü ================= */
.kopf { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--linie); }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 5rem; }
.logo img { width: 190px; }

.menue { display: flex; align-items: center; gap: .25rem; margin: 0; padding: 0; list-style: none; font-size: 1.02rem; font-weight: 500; }
.menue > li { position: relative; }
.menue > li > a { display: block; padding: 1.7rem .85rem; color: var(--text); text-decoration: none; }
.menue > li > a:hover, .menue > li > a[aria-current="page"], .menue > li:focus-within > a { color: var(--blau); }
.menue > li > a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--blau); }
.hat-unter > a::after { content: ""; display: inline-block; width: .4rem; height: .4rem; margin-left: .45rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-.2rem) rotate(45deg); }

.unter { position: absolute; top: 100%; left: 0; min-width: 19rem; margin: 0; padding: .5rem 0; list-style: none; background: #fff; border: 1px solid var(--linie); border-top: 3px solid var(--blau); box-shadow: 0 12px 24px rgba(20,47,88,.12); visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.hat-unter:hover .unter, .hat-unter:focus-within .unter { visibility: visible; opacity: 1; transform: none; }
.unter a { display: block; padding: .5rem 1.1rem; color: var(--text); text-decoration: none; font-weight: 400; }
.unter a:hover { background: var(--blau-hell); color: var(--blau); }
.unter .alle a { font-weight: 600; color: var(--blau); border-bottom: 1px solid var(--linie); margin-bottom: .3rem; padding-bottom: .6rem; }

.menue .tel { margin-left: .75rem; }
.menue .tel a { background: var(--blau); color: #fff; padding: .55rem 1rem; border-radius: 4px; font-weight: 600; display: block; text-decoration: none; white-space: nowrap; }
.menue .tel a:hover { background: var(--blau-dunkel); }

.menue-knopf { display: none; background: none; border: 1px solid var(--linie); border-radius: 4px; font: inherit; font-size: 1rem; padding: .4rem .8rem; color: var(--text); cursor: pointer; }

@media (max-width: 56rem) {
  .logo img { width: 150px; }
  .kopf .wrap { min-height: 4.25rem; }
  .menue-knopf { display: block; }
  .menue { display: none; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 4.25rem); overflow-y: auto; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: .25rem var(--rand) 1.25rem; border-bottom: 1px solid var(--linie); box-shadow: 0 10px 20px rgba(20,47,88,.1); }
  .menue.offen { display: flex; }
  .menue > li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--linie); }
  .menue > li > a { flex: 1; padding: .85rem 0; font-weight: 600; }
  .menue > li > a[aria-current="page"] { box-shadow: none; }
  .hat-unter > a::after { display: none; }
  .auf-knopf { display: block; width: 2.75rem; height: 2.75rem; border: 0; background: none; cursor: pointer; position: relative; }
  .auf-knopf::after { content: ""; position: absolute; left: 50%; top: 45%; width: .55rem; height: .55rem; border: solid var(--blau); border-width: 0 2px 2px 0; transform: translate(-50%, -50%) rotate(45deg); transition: transform .15s; }
  .hat-unter.auf .auf-knopf::after { transform: translate(-50%, -20%) rotate(225deg); }
  .unter, .hat-unter:hover .unter, .hat-unter:focus-within .unter { display: none; position: static; flex-basis: 100%; visibility: visible; opacity: 1; transform: none; border: 0; box-shadow: none; padding: 0 0 .5rem; min-width: 0; }
  .hat-unter.auf .unter { display: block; }
  .unter a { padding: .45rem 0 .45rem 1rem; }
  .unter .alle { display: none; }
  .menue .tel { margin: 1rem 0 0; text-align: center; border-bottom: 0; display: block; }
}

/* ================= Titel ================= */
.titel { position: relative; color: #fff; background: var(--blau-dunkel) center / cover no-repeat; }
.titel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,33,63,.88) 0%, rgba(14,33,63,.6) 50%, rgba(14,33,63,.15) 100%); }
.titel .wrap { position: relative; padding-top: clamp(2.5rem, 5vw, 3.75rem); padding-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.titel h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); max-width: 24ch; }
.titel p { font-size: clamp(1.05rem, 1.8vw, 1.25rem); max-width: 38rem; margin: .75rem 0 0; color: rgba(255,255,255,.92); }
.titel a { color: #fff; }
.pfad { font-size: .95rem; margin-bottom: .6rem; color: rgba(255,255,255,.8); }
.pfad a { color: rgba(255,255,255,.9); }

/* ================= Abschnitte ================= */
.abschnitt { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.abschnitt-grau { background: var(--grau-hell); }
.kopfzeile { max-width: 48rem; margin-bottom: 1.75rem; }
.kopfzeile p { color: var(--text-2); margin: .5rem 0 0; }

/* ---- Übersicht auf der Startseite ---- */
.ueberblick { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.25rem, 3vw, 2rem); align-items: stretch; }
.feld { background: #fff; border: 1px solid var(--linie); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.feld-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; background: var(--blau); color: #fff; padding: .85rem 1.25rem; }
.feld-kopf h2 { color: #fff; font-size: 1.35rem; }
.feld-kopf a { color: #fff; font-size: .95rem; white-space: nowrap; }
.feld-inhalt { padding: 1rem 1.25rem 1.25rem; flex: 1; }
@media (max-width: 60rem) { .ueberblick { grid-template-columns: 1fr; } }

/* Leistungslinks mit Symbol */
.links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .25rem 1rem; }
.links a { display: flex; align-items: center; gap: .7rem; padding: .55rem .5rem; border-radius: 4px; text-decoration: none; color: var(--text); line-height: 1.3; }
.links a:hover { background: var(--blau-hell); color: var(--blau); }
.links svg { flex: 0 0 34px; width: 34px; height: 34px; padding: 6px; border-radius: 50%; background: var(--blau-hell); stroke: var(--blau); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 36rem) { .links { grid-template-columns: 1fr; } }

/* Kacheln mit Foto */
.kacheln { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.kachel { position: relative; display: block; border-radius: 4px; overflow: hidden; text-decoration: none; aspect-ratio: 4 / 3; }
.kachel img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.kachel span { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem .8rem .6rem; color: #fff; font-weight: 600; line-height: 1.25; background: linear-gradient(transparent, rgba(10,25,50,.85)); }
.kachel:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .kachel img { transition: none; } }

/* ---- Sachverständigen-Leistungen als Karten ---- */
.karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.karte { background: #fff; border: 1px solid var(--linie); border-radius: 6px; padding: 1.25rem 1.25rem 1.35rem; }
.karte svg { width: 42px; height: 42px; padding: 8px; border-radius: 50%; background: var(--blau-hell); stroke: var(--blau); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: .75rem; }
.karte p { margin: .4rem 0 0; color: var(--text-2); font-size: 1.02rem; }
@media (max-width: 60rem) { .karten { grid-template-columns: 1fr 1fr; } }
@media (max-width: 38rem) { .karten { grid-template-columns: 1fr; } }

/* ---- Registerleiste der vier Bau-Bereiche ---- */
.register { background: var(--grau-hell); border-bottom: 1px solid var(--linie); }
.register ul { list-style: none; margin: 0 auto; padding: 0 var(--rand); display: flex; overflow-x: auto; }
.register a { display: block; padding: .95rem 1.2rem; white-space: nowrap; text-decoration: none; color: var(--text); font-weight: 500; border-bottom: 3px solid transparent; }
.register a:hover { color: var(--blau); }
.register a[aria-current="page"] { color: var(--blau); border-bottom-color: var(--blau); background: #fff; font-weight: 600; }

/* ---- Bereichsseite: Text + Bilder ---- */
.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 3.5rem); align-items: start; }
.zweispaltig p { margin: 0 0 1rem; }
.zweispaltig h2 { margin-bottom: 1rem; }
.bilder { display: grid; gap: .6rem; }
.bilder-2 { grid-template-columns: 1fr 1fr; }
.bilder img { border-radius: 6px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.bilder figure { margin: 0; position: relative; }
.bilder figcaption { position: absolute; left: .5rem; top: .5rem; background: rgba(255,255,255,.92); font-size: .85rem; font-weight: 600; padding: .1rem .5rem; border-radius: 3px; }
@media (max-width: 52rem) { .zweispaltig { grid-template-columns: 1fr; } }

.haken { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.haken li { padding-left: 1.7rem; position: relative; margin: .35rem 0; }
.haken li::before { content: ""; position: absolute; left: .2rem; top: .45rem; width: .45rem; height: .8rem; border: solid var(--blau); border-width: 0 3px 3px 0; transform: rotate(45deg); }

.referenzen { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.referenzen img { width: 100%; border-radius: 4px; border: 1px solid var(--linie); }

/* ---- Vorstellung ---- */
.vorstellung { display: grid; grid-template-columns: minmax(0, 15rem) 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.vorstellung figure { margin: 0; }
.vorstellung img { border-radius: 6px; }
.vorstellung figcaption { font-size: .95rem; color: var(--text-2); margin-top: .5rem; }
.vorstellung figcaption strong { display: block; color: var(--text); }
.vorstellung h2 { margin-bottom: .8rem; }
.vorstellung p { margin: 0 0 1rem; max-width: 42rem; }
@media (max-width: 44rem) { .vorstellung { grid-template-columns: 1fr; } .vorstellung figure { max-width: 13rem; } }

.siegel { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 1.5rem; }
.siegel img { height: 60px; width: auto; }

/* ---- Kundenstimmen ---- */
.stimmen { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; }
.stimme { margin: 0; background: #fff; border-left: 4px solid var(--blau); padding: 1rem 1.2rem; border-radius: 0 6px 6px 0; }
.stimme p { margin: 0; font-size: 1.08rem; font-weight: 600; color: var(--blau-dunkel); }
.stimme footer { margin-top: .4rem; color: var(--text-2); font-size: .95rem; }
.briefe { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.25rem; }
.briefe img { height: 200px; width: auto; border: 1px solid var(--linie); border-radius: 4px; background: #fff; }

/* ---- Hinweisbox (Kontakt am Seitenende eines Bereichs) ---- */
.hinweis { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; background: var(--blau-hell); border-radius: 6px; padding: 1.25rem 1.5rem; margin-top: 2rem; }
.hinweis p { margin: 0; font-weight: 600; color: var(--blau-dunkel); }

.knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; }
.knopf { display: inline-block; text-decoration: none; font-weight: 600; font-size: 1.02rem; padding: .7rem 1.2rem; border-radius: 4px; border: 2px solid transparent; }
.knopf-blau { background: var(--blau); color: #fff; }
.knopf-blau:hover { background: var(--blau-dunkel); }
.knopf-hell { border-color: var(--blau); color: var(--blau); background: #fff; }
.knopf-hell:hover { background: var(--blau-hell); }

/* ================= Kontakt & Fuß ================= */
.kontakt { background: var(--blau-dunkel); color: #fff; }
.kontakt h2 { color: #fff; }
.kontakt-raster { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 1.5rem 2rem; align-items: start; }
.kontakt-raster h3 { color: #fff; font-size: 1.02rem; margin-bottom: .3rem; }
.kontakt-raster p { margin: 0; color: rgba(255,255,255,.88); }
.kontakt a { color: #fff; }
@media (max-width: 56rem) { .kontakt-raster { grid-template-columns: 1fr 1fr; } }
@media (max-width: 34rem) { .kontakt-raster { grid-template-columns: 1fr; } }

.fuss { background: #0f2444; color: rgba(255,255,255,.7); font-size: .95rem; }
.fuss .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.2rem; padding-bottom: 1.2rem; }
.fuss nav { display: flex; gap: 1.5rem; }
.fuss a { color: rgba(255,255,255,.85); text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }

.rechtstext { max-width: 46rem; }
.rechtstext h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 1.25rem; }
.rechtstext h2 { font-size: 1.25rem; margin: 1.75rem 0 .5rem; }
.rechtstext p { margin: 0 0 1rem; }

/* Startseite: Übersicht möglichst ohne Scrollen sichtbar */
.titel-start .wrap { padding-top: clamp(1.75rem, 3.5vw, 2.5rem); padding-bottom: clamp(1.75rem, 3.5vw, 2.5rem); }
.titel-start h1 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); max-width: none; }
.start-uebersicht { padding-top: clamp(1.5rem, 3vw, 2rem); }
.start-uebersicht .ueberblick { grid-template-columns: 1fr 1.35fr; }
.start-uebersicht .links { gap: 0 .75rem; }
.start-uebersicht .links a { padding: .4rem .45rem; font-size: 1.02rem; }
.start-uebersicht .links svg { flex-basis: 30px; width: 30px; height: 30px; padding: 5px; }
.start-uebersicht .kachel { aspect-ratio: 16 / 10; }
.start-uebersicht .feld-inhalt { padding: .8rem 1rem 1rem; }
@media (max-width: 60rem) { .start-uebersicht .ueberblick { grid-template-columns: 1fr; } }

/* ---- Anpassungen Runde 3 ---- */
.titel h1 { font-weight: 400; letter-spacing: 0; }
.einzeilig { white-space: nowrap; }
.kontakt-raster { grid-template-columns: repeat(3, auto); justify-content: space-between; }
@media (max-width: 56rem) { .kontakt-raster { grid-template-columns: 1fr 1fr; justify-content: start; } }
@media (max-width: 34rem) { .kontakt-raster { grid-template-columns: 1fr; } }

.verbaende img { height: 64px; }
.start-willkommen { padding-top: clamp(2rem, 4vw, 3rem); }

.google { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.5rem; }
.google p { margin: .4rem 0 0; color: var(--text-2); }

/* Menü: Aufklapp-Knopf nur auf dem Handy */
@media (min-width: 56.01rem) { .auf-knopf { display: none; } }
@media (max-width: 64rem) and (min-width: 56.01rem) {
  .menue { font-size: .95rem; }
  .menue > li > a { padding-left: .55rem; padding-right: .55rem; }
  .logo img { width: 160px; }
}
.verbaende img[src*="bvfs"] { height: 96px; }
.sterne { color: #e8a317; letter-spacing: .1em; font-size: 1.05rem; line-height: 1; margin-bottom: .45rem; }
.gstimme p { font-weight: 500; font-size: 1.02rem; color: var(--text); }
.abschnitt-grau .stimme { background: #fff; }
.abschnitt:not(.abschnitt-grau) .stimme { background: var(--grau-hell); }
.verbaende { gap: 1rem 1.75rem; }
.verbaende img { height: 56px; }
.verbaende img[src*="bvfs"] { height: 84px; }
.ggruppen { display: flex; flex-wrap: wrap; gap: 1.25rem 3rem; }
.ggruppe h3 { font-size: 1.02rem; margin-bottom: .5rem; }

/* Logos in einer Reihe unter Bild und Text */
.logoreihe { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: clamp(.75rem, 2.5vw, 2rem); margin-top: clamp(1.5rem, 3vw, 2.25rem); padding-top: clamp(1.25rem, 2.5vw, 1.75rem); border-top: 1px solid var(--linie); }
.logoreihe img { flex: 0 1 auto; min-width: 0; width: auto; height: auto; max-height: 64px; }
.logoreihe img[src*="bvfs"] { max-height: 90px; }
@media (max-width: 40rem) {
  .logoreihe { flex-wrap: wrap; justify-content: center; gap: 1rem 1.5rem; }
  .logoreihe img { max-height: 48px; }
  .logoreihe img[src*="bvfs"] { max-height: 70px; }
}

/* Porträt genau so hoch wie der Willkommenstext */
.start-willkommen .vorstellung { grid-template-columns: 13rem 1fr; align-items: stretch; }
.start-willkommen .vorstellung figure { position: relative; border-radius: 6px; overflow: hidden; min-height: 0; }
.start-willkommen .vorstellung img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; border-radius: 0; }
.start-willkommen .vorstellung figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 1.5rem .8rem .6rem; color: rgba(255,255,255,.85); background: linear-gradient(transparent, rgba(10,25,50,.8)); font-size: .9rem; line-height: 1.3; }
.start-willkommen .vorstellung figcaption strong { color: #fff; }
.start-willkommen .vorstellung p:last-child { margin-bottom: 0; }
@media (max-width: 44rem) {
  .start-willkommen .vorstellung { grid-template-columns: 1fr; }
  .start-willkommen .vorstellung figure { max-width: 13rem; aspect-ratio: 4 / 5; }
}

/* Text bündig mit Bildoberkante (Versalhöhe) und Bildunterkante (Grundlinie) */
.start-willkommen .vorstellung h2 { margin-top: -.18em; }
.start-willkommen .vorstellung p:last-child { margin-bottom: -.42em; }
@supports (text-box: trim-both cap alphabetic) {
  .start-willkommen .vorstellung h2 { margin-top: 0; text-box: trim-start cap alphabetic; }
  .start-willkommen .vorstellung p:last-child { margin-bottom: 0; text-box: trim-end cap alphabetic; }
}

/* Laufband mit Google-Rezensionen */
.laufband { overflow: hidden; margin-inline: calc(var(--rand) * -1); padding-block: .25rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.laufband-spur { display: flex; gap: 1rem; width: max-content; padding-inline: var(--rand); animation: laufen 110s linear infinite; }
.laufband:hover .laufband-spur, .laufband:focus-within .laufband-spur { animation-play-state: paused; }
.laufband .stimme { flex: 0 0 21rem; margin: 0; display: flex; flex-direction: column; }
.laufband .stimme footer { margin-top: auto; padding-top: .5rem; }
@keyframes laufen { to { transform: translateX(-50%); } }
@media (max-width: 36rem) { .laufband .stimme { flex-basis: 17rem; } }
@media (prefers-reduced-motion: reduce) {
  .laufband { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .laufband-spur { animation: none; }
  .laufband-spur [aria-hidden="true"] { display: none; }
}
/* nahtlose Schleife: Abstand als Außenabstand je Karte statt gap */
.laufband-spur { gap: 0; padding-inline: 0; }
.laufband .stimme { margin-right: 1rem; }

/* Startseite: Leistungen zum Aufklappen */
.start-uebersicht .ueberblick { align-items: start; }
.klapp > summary { list-style: none; cursor: pointer; user-select: none; }
.klapp > summary::-webkit-details-marker { display: none; }
.klapp > summary:hover { background: var(--blau-dunkel); }
.klapp > summary:focus-visible { outline: 3px solid var(--blau); outline-offset: 2px; }
.klapp-hinweis { display: flex; align-items: center; gap: .55rem; font-size: .95rem; white-space: nowrap; color: rgba(255,255,255,.9); }
.klapp-hinweis::after { content: ""; width: .5rem; height: .5rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-.15rem) rotate(45deg); transition: transform .15s; }
.klapp[open] .klapp-hinweis::after { transform: translateY(.1rem) rotate(225deg); }
.klapp[open] .klapp-hinweis { font-size: 0; gap: 0; }
.klapp[open] .klapp-hinweis::after { font-size: 1rem; }
.klapp-link { display: inline-block; margin-top: .9rem; font-weight: 600; }
.start-uebersicht .klapp .feld-kopf { padding-block: 1.1rem; }
.start-uebersicht .ueberblick { grid-template-columns: 1fr 1fr; }
.start-uebersicht .klapp .feld-kopf { align-items: center; min-height: 4.4rem; }
.start-uebersicht .klapp .feld-kopf h2 { white-space: nowrap; }
@media (max-width: 60rem) { .start-uebersicht .ueberblick { grid-template-columns: 1fr; } }
@media (max-width: 30rem) { .start-uebersicht .klapp .feld-kopf h2 { white-space: normal; font-size: 1.2rem; } }

/* Dankesbriefe zum Vergrößern */
.zoom { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 4px; }
.zoom img { transition: box-shadow .15s; }
.zoom:hover img { box-shadow: 0 6px 16px rgba(20,47,88,.2); }
.zoom-hinweis { font-size: .92rem; color: var(--text-2); margin: .5rem 0 0; }
.leuchtkasten { position: fixed; inset: 0; z-index: 200; background: rgba(10,20,40,.85); display: flex; align-items: center; justify-content: center; padding: 3.5rem 1rem 1rem; cursor: zoom-out; }
.leuchtkasten img { max-width: min(92vw, 60rem); max-height: 88vh; width: auto; height: auto; background: #fff; border-radius: 4px; box-shadow: 0 10px 40px rgba(0,0,0,.4); image-rendering: auto; }
.leuchtkasten-zu { position: absolute; top: 1rem; right: 1rem; background: #fff; color: var(--blau-dunkel); border: 0; border-radius: 4px; padding: .5rem 1rem; font: inherit; font-weight: 600; cursor: pointer; }

/* Verkaufsseite: Kundenstimmen und Dankesbriefe nebeneinander */
.kunden-raster { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.25rem; align-items: start; }
.stimmen-2 { grid-template-columns: 1fr 1fr; }
.stimmen-2 .stimme { display: flex; flex-direction: column; justify-content: space-between; }
.briefe-paar { margin: 0; }
.briefe-zeile { display: flex; gap: .75rem; align-items: flex-start; }
.briefe-zeile .brief { flex-basis: 0; flex-shrink: 1; min-width: 0; }
.briefe-zeile img { width: 100%; height: auto; border: 1px solid var(--linie); border-radius: 4px; background: #fff; }
@media (max-width: 52rem) { .kunden-raster { grid-template-columns: 1fr; } }
@media (max-width: 30rem) { .stimmen-2 { grid-template-columns: 1fr; } }
.kunden-raster { align-items: stretch; row-gap: .5rem; }
.kunden-raster .zoom-hinweis { grid-column: 2; margin: 0; }
.stimmen-2 { grid-auto-rows: 1fr; }
@media (max-width: 52rem) { .kunden-raster .zoom-hinweis { grid-column: 1; } }
.briefe-zeile .brief { display: block; line-height: 0; }
.briefe-paar { align-self: start; }
@media (max-width: 75rem) {
  .kunden-raster { grid-template-columns: 1fr; }
  .kunden-raster .zoom-hinweis { grid-column: 1; }
  .stimmen-2 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 44rem) { .stimmen-2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 30rem) { .stimmen-2 { grid-template-columns: 1fr; } }
@media (min-width: 75.01rem) { .kunden-raster { grid-template-columns: 1.1fr 1fr; } }
@media (min-width: 75.01rem) {
  .kunden-raster { grid-template-columns: 1.15fr 1fr; }
  .briefe-paar { align-self: stretch; display: flex; }
  .briefe-zeile { flex: 1; align-items: stretch; justify-content: space-between; }
  .briefe-zeile .brief { flex: 0 1 auto !important; height: 100%; }
  .briefe-zeile img { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
}
@media (min-width: 75.01rem) {
  .briefe-paar { position: relative; }
  .briefe-zeile { position: absolute; inset: 0; }
}

/* ================= Kontaktseite / Formular ================= */
.kontaktseite { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.formular h2, .kontakt-seite-info h2 { margin-bottom: 1.25rem; }
.feldgruppe { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1.1rem; }
.feldreihe { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.formular label { font-weight: 600; font-size: 1rem; color: var(--blau-dunkel); }
.formular input[type=text], .formular input[type=email], .formular input[type=tel], .formular select, .formular textarea {
  font: inherit; font-size: 1.05rem; color: var(--text); background: #fff; border: 1px solid #b9c1cc; border-radius: 4px; padding: .65rem .8rem; width: 100%; }
.formular textarea { resize: vertical; min-height: 9rem; }
.formular input:focus, .formular select:focus, .formular textarea:focus { outline: 3px solid rgba(30,69,127,.25); border-color: var(--blau); }
.pflicht { color: #b3261e; }
.pflicht-hinweis { font-size: .9rem; color: var(--text-2); margin: 0 0 1.25rem; }
.haken-feld { flex-direction: row; align-items: flex-start; gap: .7rem; }
.haken-feld input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; flex: 0 0 auto; accent-color: var(--blau); }
.haken-feld label { font-weight: 400; color: var(--text); }
.versteckt { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular button { border: 0; cursor: pointer; font-family: inherit; }
.meldung { padding: .9rem 1.1rem; border-radius: 4px; margin-bottom: 1.25rem; font-weight: 600; }
.meldung.ok { background: #e6f4ea; color: #1e6b34; }
.meldung.fehler { background: #fde8e7; color: #9b1c15; }
.meldung.info { background: var(--blau-hell); color: var(--blau-dunkel); }
.kontakt-seite-info { background: var(--grau-hell); border-radius: 6px; padding: 1.5rem 1.6rem; }
.kontakt-seite-info h3 { font-size: 1.02rem; margin: 1.1rem 0 .25rem; }
.kontakt-seite-info h2 + h3 { margin-top: 0; }
.kontakt-seite-info p { margin: 0; }
@media (max-width: 52rem) { .kontaktseite { grid-template-columns: 1fr; } }
@media (max-width: 34rem) { .feldreihe { grid-template-columns: 1fr; } }

/* Menü über die ganze Breite verteilen */
@media (min-width: 56.01rem) {
  .kopf .wrap { gap: clamp(2rem, 6vw, 5.5rem); }
  .logo img { width: 210px; }
  .menue { flex: 1; justify-content: space-between; font-size: 1.1rem; }
  .menue > li > a { padding-left: 0; padding-right: 0; }
  .menue > li:last-child .unter, .menue > li:nth-last-child(2) .unter { left: auto; right: 0; }
}
@media (min-width: 56.01rem) and (max-width: 64rem) { .logo img { width: 170px; } .menue { font-size: 1rem; } }

/* Startseite: dezentes Band mit wechselnden Kundenstimmen */
.stimmband { background: var(--grau-hell); border-top: 1px solid var(--linie); }
.stimmband-innen { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .75rem 2rem; padding-block: 1.1rem; }
.stimmband-note { display: flex; flex-direction: column; font-size: .88rem; color: var(--text-2); line-height: 1.3; }
.stimmband-note .sterne { margin: 0 0 .15rem; font-size: 1rem; }
.stimmband-zitate { display: grid; }
.stimmband-zitat { grid-area: 1 / 1; margin: 0; font-size: 1.05rem; font-style: italic; color: var(--blau-dunkel); opacity: 0; transition: opacity .8s; }
.stimmband-zitat.aktiv { opacity: 1; }
.stimmband-zitat span { font-style: normal; color: var(--text-2); font-size: .95rem; white-space: nowrap; }
.stimmband-links { display: flex; flex-direction: column; gap: .15rem; font-size: .9rem; text-align: right; }
.stimmband-links::before { content: "Alle Bewertungen:"; color: var(--text-2); }
@media (max-width: 52rem) {
  .stimmband-innen { grid-template-columns: 1fr; text-align: left; }
  .stimmband-links { flex-direction: row; flex-wrap: wrap; gap: .25rem 1rem; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .stimmband-zitat { transition: none; } }
.stimmband { background: #fff; }
.google-textlinks { margin: 1.1rem 0 0; font-size: .95rem; color: var(--text-2); display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }

/* ================= Dunkle Kopfleiste, geht ins Titelbild über ================= */
:root { --kopf: #0e213f; }
.kopf { background: var(--kopf); border-bottom: 0; }
.logo { background: #fff; padding: .45rem .8rem; border-radius: 4px; line-height: 0; display: block; }
.logo img { width: 180px; }
@media (min-width: 56.01rem) {
  .menue > li > a { color: rgba(255,255,255,.88); }
  .menue > li > a:hover, .menue > li:focus-within > a { color: #fff; }
  .menue > li > a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 #9fb8e0; }
  .unter { border-top-color: #9fb8e0; }
}
.menue-knopf { color: #fff; border-color: rgba(255,255,255,.45); }
@media (max-width: 56rem) {
  .logo img { width: 140px; }
  .menue { top: 100%; }
}
/* Übergang: Titelbild beginnt oben in der Farbe der Kopfleiste */
.titel::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 45%; background: linear-gradient(var(--kopf), rgba(14,33,63,0)); pointer-events: none; }
.titel .wrap { z-index: 1; }
/* Seiten ohne Titelbild (Impressum, Datenschutz): Übergang über Linie vermeiden */
.kopf + main > .abschnitt:first-child { border-top: 0; }
.kopf .wrap { min-height: 5.75rem; }
.logo { padding: .4rem .7rem; }
@media (max-width: 56rem) { .kopf .wrap { min-height: 4.5rem; } }
/* Kopfleiste im gleichen Blau wie die Buttons */
:root { --kopf: #1e457f; }
.titel::after { background: linear-gradient(var(--kopf), rgba(30,69,127,0)); }
@media (min-width: 56.01rem) { .menue > li > a[aria-current="page"] { box-shadow: inset 0 -3px 0 #fff; } }

/* Handy: Projektentwicklung in den Übersichten ans Ende */
@media (max-width: 52rem) {
  a.kachel[href="bauen-und-immo-projektentwicklung.htm"],
  a.feld[href="bauen-und-immo-projektentwicklung.htm"],
  .register li:has(> a[href="bauen-und-immo-projektentwicklung.htm"]) { order: 99; }
}
@media (max-width: 56rem) {
  .hat-unter.auf .unter { display: flex; flex-direction: column; }
  .unter li:has(> a[href="bauen-und-immo-projektentwicklung.htm"]) { order: 99; }
}
/* Häkchen bei den Leistungen grün */
.haken li::before { border-color: #2e8b3e; }
.referenzen img { aspect-ratio: 222 / 406; object-fit: cover; height: auto; }
/* Startseite: Aufklapp-Balken auf dem Handy zweizeilig, Hinweis nie abgeschnitten */
.nur-handy { display: none; }
.klapp .klapp-hinweis { flex-shrink: 0; }
@media (max-width: 60rem) {
  .nur-handy { display: inline; }
  .start-uebersicht .klapp .feld-kopf h2 { white-space: normal; }
}
@media (max-width: 30rem) {
  .start-uebersicht .klapp .feld-kopf { gap: .5rem; padding-left: 1rem; padding-right: 1rem; }
  .start-uebersicht .klapp .feld-kopf h2 { font-size: 1.15rem; min-width: 0; }
  .klapp .klapp-hinweis { white-space: normal; text-align: right; line-height: 1.2; max-width: 6.2rem; font-size: .88rem; }
}
@media (max-width: 30rem) { .start-uebersicht .klapp .feld-kopf { min-height: 4.95rem; } }
/* Kacheln: lange Wörter auf dem Handy nicht abschneiden */
.kachel span { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 30rem) { .kachel span { font-size: .95rem; padding: 1.2rem .6rem .5rem; } }
/* Übersicht Bau- und Immobilienbüro: 2 x 2 große Kacheln */
.bau-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.bau-raster .feld img { aspect-ratio: 16 / 9 !important; }
.bau-raster .feld h3 { font-size: 1.35rem; }
@media (max-width: 40rem) { .bau-raster { grid-template-columns: 1fr; } }

/* Qualifikationen auf der Sachverständigenseite: Logos über die volle Breite */
.siegel-gross { justify-content: space-between; flex-wrap: nowrap; gap: 1.5rem; margin-top: 2rem; }
.siegel-gross img, .siegel-gross img[src*="bvfs"] { height: clamp(56px, 9.5vw, 125px); width: auto; }
@media (max-width: 40rem) {
  .siegel-gross { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; justify-items: center; align-items: center; }
  .siegel-gross img, .siegel-gross img[src*="bvfs"] { height: auto; max-height: 90px; max-width: 100%; }
}

/* ===== Aktuelles Angebot: Teaser auf der Startseite ===== */
.angebot-teaser { padding: 2.5rem 0 0; }
.teaser-karte { display: grid; grid-template-columns: 1.15fr 1fr; background: #fff; border: 1px solid var(--linie); border-radius: 8px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 6px 22px rgba(20,47,88,.10); transition: box-shadow .2s, transform .2s; }
.teaser-karte:hover { box-shadow: 0 12px 32px rgba(20,47,88,.18); transform: translateY(-2px); }
.teaser-bild { position: relative; min-height: 100%; }
.teaser-bild img { width: 100%; height: 100%; object-fit: cover; }
.teaser-marke { position: absolute; top: 1rem; left: 1rem; background: #c8102e; color: #fff; font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; padding: .4rem .8rem; border-radius: 3px; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.teaser-text { padding: 1.75rem 2rem; display: flex; flex-direction: column; gap: .8rem; justify-content: center; }
.teaser-ueber { margin: 0; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blau); font-weight: 600; }
.teaser-text h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.teaser-text p { margin: 0; }
.teaser-fakten { list-style: none; margin: .25rem 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.teaser-fakten li { display: flex; flex-direction: column; font-size: .85rem; color: var(--text-2); }
.teaser-fakten strong { font-size: 1.2rem; color: var(--blau-dunkel); }
.teaser-text .knopf { align-self: flex-start; margin-top: .25rem; }
@media (max-width: 52rem) {
  .teaser-karte { grid-template-columns: 1fr; }
  .teaser-bild img { aspect-ratio: 16 / 9; height: auto; }
  .teaser-text { padding: 1.25rem 1.25rem 1.5rem; }
}

/* ===== Angebotsseite ===== */
.titel-angebot { min-height: 26rem; display: flex; align-items: flex-end; }
.titel-angebot .wrap { width: 100%; padding-bottom: 2.5rem; }
.fakten-leiste { background: var(--blau-dunkel); color: #fff; }
.fakten-leiste ul { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.fakten-leiste li { display: flex; flex-direction: column; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #c9d5e8; border-left: 1px solid rgba(255,255,255,.2); padding-left: 1rem; }
.fakten-leiste li:first-child { border-left: 0; padding-left: 0; }
.fakten-leiste strong { font-size: 1.25rem; letter-spacing: 0; text-transform: none; color: #fff; }
@media (max-width: 52rem) { .fakten-leiste ul { grid-template-columns: 1fr 1fr; } .fakten-leiste li, .fakten-leiste li:first-child { border-left: 0; padding-left: 0; } }
.daten { margin: 0 0 1rem; }
.daten div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--linie); }
.daten dt { color: var(--text-2); }
.daten dd { margin: 0; font-weight: 600; text-align: right; color: var(--blau-dunkel); }
.angebot-bild { margin: 0 0 1.25rem; }
.angebot-bild img { border-radius: 6px; }
.angebot-bild figcaption, .bilder figcaption { font-size: .85rem; color: var(--text-2); margin-top: .35rem; }
.klein { font-size: .88rem; color: var(--text-2); }
.plaene { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.plaene .zoom { display: flex; flex-direction: column; gap: .5rem; background: #fff; border: 1px solid var(--linie); border-radius: 6px; padding: .75rem; text-align: left; font: inherit; color: var(--text-2); font-size: .9rem; }
.plaene .zoom img { aspect-ratio: 4 / 3; object-fit: contain; width: 100%; background: #fff; }
@media (max-width: 52rem) { .plaene { grid-template-columns: 1fr 1fr; } }
@media (max-width: 34rem) { .plaene { grid-template-columns: 1fr; } }
.leuchtkasten img { max-width: min(96vw, 90rem); max-height: 90vh; }
.preis-box { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--linie); border-radius: 6px; overflow: hidden; margin-bottom: 1.5rem; }
.preis-box div { background: var(--blau-dunkel); color: #c9d5e8; padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: .3rem; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.preis-box strong { color: #fff; font-size: 1.6rem; letter-spacing: 0; text-transform: none; }
.preis-box small { font-size: .9rem; font-weight: 400; color: #c9d5e8; }
.preis-box div:first-child strong { font-size: 2rem; }
@media (max-width: 52rem) { .preis-box { grid-template-columns: 1fr; } }
.fakten-leiste .fakten-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 52rem) { .fakten-leiste .fakten-4 { grid-template-columns: 1fr 1fr; } }
.anfrage-karte { background: var(--blau-hell); border-left: 4px solid var(--blau); border-radius: 6px; padding: 1.5rem 1.75rem; align-self: start; }
.anfrage-karte h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.anfrage-karte .knoepfe { margin: 1rem 0 .5rem; }
.anfrage-karte .klein { margin: 0; }
