/* Elster Wohnungsverwaltungs GmbH - Fassung 2 (04.10.2026): Hausverwaltung im Mittelpunkt.
   Dunkelblau wie der Briefbogen, dazu warmes Sand und ein Bernsteinton für Akzente.
   Keine Fremdschriften, keine externen Dateien (Datenschutz, Ladezeit). */

:root {
  --blau: #1F3A5F;
  --blau-dunkel: #152a46;
  --blau-mittel: #3E6A9A;
  --blau-hell: #E8EEF5;
  --sand: #F7F3EC;
  --sand-dunkel: #EFE6D8;
  --bernstein: #C9803A;
  --text: #1d232b;
  --text-weich: #414b57;
  --grau: #6B7480;
  --linie: #e2e6eb;
  --breite: 1140px;
  --rund: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "Segoe UI", Calibri, Carlito, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  font-size: 17px; line-height: 1.65; color: var(--text); background: #fff;
}
a { color: var(--blau); }
img, svg { max-width: 100%; }
.innen { max-width: var(--breite); margin: 0 auto; padding: 0 24px; }

.label {
  display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--bernstein); margin: 0 0 12px;
}
h1, h2, h3 { line-height: 1.18; color: var(--blau); font-weight: 700; }
h1 { font-size: clamp(36px, 5.2vw, 58px); margin: 0 0 22px; letter-spacing: -0.015em; }
h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 0 0 16px; letter-spacing: -0.01em; }
h3 { font-size: 20px; margin: 0 0 8px; }
.einleitung { max-width: 700px; color: var(--text-weich); font-size: 18px; margin: 0 0 44px; }
.mitte { text-align: center; }
.mitte .einleitung { margin-left: auto; margin-right: auto; }

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--blau); color: #fff; text-decoration: none; font-weight: 600; font-size: 16.5px;
  padding: 15px 28px; border-radius: 999px; border: 2px solid var(--blau); cursor: pointer;
  transition: background .15s, transform .15s;
}
.knopf:hover { background: var(--blau-dunkel); transform: translateY(-1px); }
.knopf.hell { background: #fff; color: var(--blau); }
.knopf.hell:hover { background: var(--blau-hell); }
.knopf.klein { padding: 9px 20px; font-size: 15px; }
.knopf svg { width: 18px; height: 18px; flex: none; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--linie); }
.kopf .innen { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--blau); }
.marke svg { width: 40px; height: 40px; flex: none; }
.marke .name { display: block; font-size: 22px; font-weight: 700; letter-spacing: 0.03em; line-height: 1; }
.marke .zusatz { display: block; font-size: 10.5px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--grau); margin-top: 4px; }
.navi { display: flex; align-items: center; gap: 24px; }
.navi a { text-decoration: none; color: var(--text); font-size: 15px; white-space: nowrap; }
.marke .zusatz, .knopf { white-space: nowrap; }
.navi a:hover { color: var(--blau); }
.navi .tel { font-weight: 600; color: var(--blau); white-space: nowrap; }
.navi a.knopf { color: #fff; }

/* Einstieg */
.einstieg { background: linear-gradient(180deg, var(--sand) 0%, #fff 100%); padding: 72px 0 80px; overflow: hidden; }
.einstieg .innen { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.einstieg .lead { font-size: 20px; color: var(--text-weich); max-width: 580px; margin: 0 0 32px; }
.einstieg .knoepfe { display: flex; flex-wrap: wrap; gap: 14px; }
.haken { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--text-weich); font-size: 15.5px; }
.haken li { display: flex; align-items: center; gap: 8px; }
.haken li::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none;
  background: var(--blau) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}
.bild-haus { width: 100%; height: auto; }

/* Abschnitte */
section.abschnitt { padding: 96px 0; }
section.sand { background: var(--sand); }
section.blau { background: var(--blau); color: #fff; }
section.blau h2, section.blau h3 { color: #fff; }
section.blau .einleitung { color: #d6e0eb; }

/* Kennen Sie das? */
.sorgen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.sorge { background: #fff; border-radius: var(--rund); padding: 26px 22px; box-shadow: 0 1px 2px rgba(20,40,70,.06), 0 6px 20px rgba(20,40,70,.06); }
.sorge .zeichen { font-size: 30px; line-height: 1; color: var(--bernstein); font-weight: 700; }
.sorge p { margin: 10px 0 0; color: var(--text-weich); font-size: 16px; }
.aufloesung { font-size: 22px; font-weight: 600; color: var(--blau); margin: 0; }

/* Leistungskarten */
.karten { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.karte {
  background: #fff; border: 1px solid var(--linie); border-radius: var(--rund); padding: 30px 30px 26px;
  display: grid; grid-template-columns: 56px 1fr; gap: 0 20px; align-items: start;
}
.symbol { width: 56px; height: 56px; border-radius: 14px; background: var(--blau-hell); display: grid; place-items: center; grid-row: span 3; }
.symbol svg { width: 28px; height: 28px; stroke: var(--blau); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.karte p { margin: 0 0 12px; color: var(--text-weich); font-size: 16px; }
.punkte { list-style: none; margin: 0; padding: 0; font-size: 15.5px; color: var(--text-weich); }
.punkte li { padding-left: 22px; position: relative; margin: 5px 0; }
.punkte li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--bernstein); }
.hinweis-se { margin: 28px 0 0; padding: 20px 24px; border-radius: var(--rund); background: var(--blau-hell); color: var(--blau); font-size: 16.5px; }

/* Vorteile */
.vorteile { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.vorteil .nummer { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; font-weight: 700; margin-bottom: 16px; }
.vorteil p { color: #d6e0eb; margin: 0; font-size: 16px; }

/* Zweites Standbein */
.standbeine { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.standbein { background: #fff; border-radius: 14px; padding: 38px 36px; box-shadow: 0 1px 2px rgba(20,40,70,.06), 0 10px 30px rgba(20,40,70,.08); display: flex; flex-direction: column; }
.standbein .symbol { margin-bottom: 18px; }
.standbein h3 { font-size: 26px; }
.standbein p { color: var(--text-weich); }
.standbein .punkte { margin-bottom: 22px; }
.standbein .kasten { margin-top: auto; background: var(--sand); border-radius: var(--rund); padding: 18px 20px; font-size: 15.5px; color: var(--text-weich); }
.standbein .kasten b { color: var(--blau); }
.standbein .knopf { margin-top: 22px; align-self: flex-start; }
.verbindung { margin: 34px auto 0; max-width: 820px; text-align: center; font-size: 18px; color: var(--text-weich); }

/* Ablauf */
.schritte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: schritt; position: relative; }
.schritte li { counter-increment: schritt; position: relative; }
.schritte li::before {
  content: counter(schritt); display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: var(--blau); color: #fff; font-size: 22px; font-weight: 700; margin-bottom: 18px; position: relative; z-index: 1;
}
.schritte li:not(:last-child)::after { content: ""; position: absolute; top: 27px; left: 64px; right: -16px; border-top: 2px dashed #c9d3de; }
.schritte p { margin: 0; color: var(--text-weich); font-size: 16px; }

/* Über uns */
.person { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.portrait {
  width: 300px; height: 360px; border-radius: 14px; background: linear-gradient(160deg, var(--blau-mittel), var(--blau));
  display: grid; place-items: center; color: rgba(255,255,255,.9); font-size: 84px; font-weight: 700; letter-spacing: .04em;
}
.zitat { font-size: 21px; line-height: 1.55; color: var(--text); margin: 0 0 20px; }
.unterschrift { color: var(--grau); font-size: 15.5px; }
.unterschrift b { color: var(--blau); font-size: 17px; display: block; }

/* FAQ */
.fragen { max-width: 820px; margin: 0 auto; }
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen details:first-child { border-top: 1px solid var(--linie); }
.fragen summary {
  cursor: pointer; list-style: none; padding: 22px 44px 22px 0; font-size: 18.5px; font-weight: 600; color: var(--blau); position: relative;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 28px; font-weight: 400; color: var(--bernstein); }
.fragen details[open] summary::after { content: "–"; }
.fragen details p { margin: 0 0 22px; color: var(--text-weich); }

/* Kontakt */
.kontakt-raster { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: start; }
.formular { background: #fff; border-radius: 14px; padding: 34px; color: var(--text); }
section.blau .formular h3 { margin-bottom: 18px; color: var(--blau); }
.felder { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.felder .breit { grid-column: 1 / -1; }
.formular label { display: block; font-size: 14px; font-weight: 600; color: var(--text-weich); margin-bottom: 6px; }
.formular input, .formular select, .formular textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid #cfd6de; border-radius: 8px; background: #fff; color: var(--text);
}
.formular input:focus, .formular select:focus, .formular textarea:focus { outline: none; border-color: var(--blau); box-shadow: 0 0 0 3px var(--blau-hell); }
.formular textarea { min-height: 110px; resize: vertical; }
.formular .knopf { margin-top: 22px; width: 100%; justify-content: center; }
.formular .klein-hinweis { font-size: 13.5px; color: var(--grau); margin: 12px 0 0; }
.direkt { display: grid; gap: 16px; }
.direkt a, .direkt div {
  display: block; padding: 22px 24px; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; color: #fff; text-decoration: none; font-size: 19px;
}
.direkt a:hover { background: rgba(255,255,255,.08); }
.direkt span { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #aebfd2; margin-bottom: 4px; }

/* Fuß */
.fuss { padding: 36px 0; font-size: 14.5px; color: var(--grau); }
.fuss .innen { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.fuss a { color: var(--grau); margin-left: 22px; }
.fuss a:first-child { margin-left: 0; }

/* Leiste unten auf dem Handy */
.handyleiste { display: none; }

/* Rechtstexte */
.rechtstext { padding: 64px 0 84px; }
.rechtstext .innen { max-width: 780px; }
.rechtstext h1 { font-size: clamp(32px, 4vw, 44px); }
.rechtstext h2 { font-size: 22px; margin: 40px 0 10px; }
.rechtstext h3 { font-size: 17px; margin: 24px 0 6px; color: var(--text); }
.rechtstext p, .rechtstext li { color: var(--text-weich); }
.rechtstext table { border-collapse: collapse; margin: 8px 0 0; }
.rechtstext td { padding: 4px 24px 4px 0; vertical-align: top; }
.rechtstext td:first-child { color: var(--grau); white-space: nowrap; }

/* Kopfzeile: weniger Menüpunkte, bevor es eng wird */
@media (max-width: 1240px) {
  .navi a.nav-weg { display: none; }
}

/* Mittlere Bildschirme */
@media (max-width: 1020px) {
  .navi a.nav-text { display: none; }
  .sorgen, .vorteile { grid-template-columns: 1fr 1fr; }
  .schritte { grid-template-columns: 1fr 1fr; gap: 36px 26px; }
  .schritte li::after { display: none; }
}
/* Schmale Bildschirme */
@media (max-width: 760px) {
  body { font-size: 16.5px; padding-bottom: 68px; }
  .navi .tel { display: none; }
  .einstieg { padding: 44px 0 56px; }
  .einstieg .innen, .karten, .standbeine, .person, .kontakt-raster { grid-template-columns: 1fr; }
  .einstieg .bild { max-width: 320px; margin: 0 auto; }
  .kopf .knopf.klein { display: none; }
  .einstieg .knopf { width: 100%; justify-content: center; }
  section.abschnitt { padding: 64px 0; }
  .karte { grid-template-columns: 1fr; padding: 26px 22px; }
  .karte .symbol { grid-row: auto; margin-bottom: 14px; }
  .standbein { padding: 30px 24px; }
  .portrait { width: 100%; max-width: 300px; height: 300px; }
  .felder { grid-template-columns: 1fr; }
  .formular { padding: 26px 20px; }
  .handyleiste {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: #fff; border-top: 1px solid var(--linie); box-shadow: 0 -4px 16px rgba(20,40,70,.08);
  }
  .handyleiste a { padding: 14px 10px; text-align: center; text-decoration: none; font-weight: 600; color: var(--blau); }
  .handyleiste a + a { background: var(--blau); color: #fff; }
}
@media (max-width: 520px) {
  .sorgen, .vorteile, .schritte { grid-template-columns: 1fr; }
  .marke .zusatz { font-size: 9px; }
}

@media print {
  .kopf { position: static; }
  .handyleiste, .formular { display: none; }
}
