/* ============================================
   Monika Lauermann — Design-Tokens
   Navy / helles Blaugrau / Inter
   ============================================ */

:root {
  --navy: #0F1B2D;
  --navy-2: #1C2B41;
  --bg-hero: #EEF2F6;
  --bg-page: #FFFFFF;
  --bg-muted: #F5F7FA;
  --text-body: #55606E;
  --border: #E2E6EC;
  --border-strong: #CBD3DC;

  --font: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --maxw: 1180px;
  --maxw-text: 620px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--navy);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font); font-weight: 800; margin: 0 0 0.5em; color: var(--navy); letter-spacing: -0.01em; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--navy); color: #fff;
  padding: 0.75em 1.25em; z-index: 100;
}
.skip-link:focus { left: 1em; top: 1em; }

a { color: var(--navy); }
:focus-visible { outline: 2px solid var(--navy-2); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex; align-items: center; gap: 1.5rem;
}
.wordmark { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--navy); }
.wordmark-icon { flex: 0 0 auto; height: 72px; width: auto; display: block; }
.wordmark-text { line-height: 1.2; }
.wordmark-name { display: block; font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; }
.wordmark-sub { display: block; font-size: 0.75rem; color: var(--text-body); }

.hauptnav { display: flex; align-items: center; gap: 1.75rem; margin-left: 1rem; flex: 1; }
.hauptnav a {
  text-decoration: none; color: var(--navy-2); font-size: 0.92rem; font-weight: 500;
}
.hauptnav a:hover { color: var(--navy); }

.header-actions { display: flex; align-items: center; gap: 0.7rem; }
.lang-pill {
  display: inline-flex; align-items: center; gap: 0.35rem;
  border: 1px solid var(--border-strong); border-radius: 999px;
  padding: 0.45em 0.9em; font-size: 0.85rem; font-weight: 600; color: var(--navy-2);
}
.phone-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--navy); color: #fff; text-decoration: none;
  border-radius: 999px; padding: 0.6em 1.1em; font-size: 0.88rem; font-weight: 600;
  white-space: nowrap;
}
.phone-pill:hover { background: var(--navy-2); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 0.5em;
  margin-left: auto;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--navy); display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; order: 2; }
  .header-actions { order: 3; }
  .hauptnav {
    order: 4; flex-basis: 100%; margin-left: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
  }
  .hauptnav.open { max-height: 320px; }
  .hauptnav a { padding: 0.85em 0; border-top: 1px solid var(--border); }
  .lang-pill { display: none; }
}

/* ---------- Hero ---------- */
.hero { background: var(--bg-hero); }
.hero-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 4.5rem 1.5rem 3.5rem;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.5rem; align-items: center;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 0.78rem; font-weight: 700; color: var(--text-body);
  margin: 0 0 1rem;
}
.hero-copy h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.15; margin-bottom: 0.55em; }
.hero-lede { color: var(--text-body); font-size: 1.05rem; max-width: 46ch; margin-bottom: 1.75em; }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  text-decoration: none; font-family: var(--font); font-weight: 700; font-size: 0.95rem;
  padding: 0.85em 1.5em; border-radius: 8px; border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--navy); }

.hero-foto {
  display: block; width: 100%; aspect-ratio: 4 / 3;
  object-fit: cover; border-radius: 16px;
  border: 1px solid var(--border-strong);
}

.foto-platzhalter {
  aspect-ratio: 4 / 3; background: #E4E9EF;
  border: 1px solid var(--border-strong); border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-body); font-size: 0.9rem; overflow: hidden;
}
.foto-platzhalter--portrait { aspect-ratio: 3 / 4; }

.stat-bar { border-top: 1px solid var(--border-strong); }
.stat-bar-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem;
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.stat {
  padding: 1.8rem 1.5rem; border-left: 1px solid var(--border-strong);
  display: flex; flex-direction: column; gap: 0.25rem;
}
.stat:first-child { border-left: none; padding-left: 0; }
.stat strong { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; }
.stat span { font-size: 0.88rem; color: var(--text-body); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 3rem; }
  .hero-media { order: -1; }
  .stat-bar-inner { grid-template-columns: 1fr; }
  .stat { border-left: none; border-top: 1px solid var(--border-strong); padding-left: 0; }
  .stat:first-child { border-top: none; }
}

/* ---------- Generic sections ---------- */
.section { padding: 5rem 0; }
.section-muted { background: var(--bg-muted); }
.section-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.section-title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); max-width: 30ch; }
.section-intro { color: var(--text-body); max-width: 56ch; font-size: 1.02rem; }

/* ---------- Privatkunden ---------- */
.privatkunden-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center;
}
.privatkunden-grid p { max-width: 56ch; color: var(--text-body); }
.privatkunden-grid .btn { margin-top: 0.5rem; }
@media (max-width: 760px) {
  .privatkunden-grid { grid-template-columns: 1fr; }
  .privatkunden-grid img { order: -1; }
}

/* ---------- Vorher/Nachher ---------- */
.vn-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  margin-top: 2rem;
}
.vn-bild { margin: 0; position: relative; }
.vn-bild .foto-platzhalter { border-radius: 12px; }
.vn-label {
  position: absolute; top: 12px; left: 12px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.35em 0.8em; border-radius: 999px; color: #fff;
}
.vn-label--vorher { background: var(--navy-2); }
.vn-label--nachher { background: #2F7D4F; }
.vn-text { max-width: 68ch; margin-top: 2rem; }
.vn-text h3 { font-size: 1.15rem; margin-bottom: 0.5em; }
.vn-text p { color: var(--text-body); margin: 0; }
@media (max-width: 700px) { .vn-grid { grid-template-columns: 1fr; } }

/* ---------- Warum ---------- */
.warum-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem;
}
.warum-karte {
  border-top: 2px solid var(--navy); padding-top: 1.2rem;
}
.warum-nr {
  display: block; font-size: 0.82rem; font-weight: 700; color: var(--text-body);
  margin-bottom: 0.6rem;
}
.warum-karte h3 { font-size: 1.15rem; margin-bottom: 0.5em; }
.warum-karte p { color: var(--text-body); margin: 0; font-size: 0.95rem; }
@media (max-width: 800px) { .warum-grid { grid-template-columns: 1fr; gap: 1.8rem; } }

/* ---------- Leistungen ---------- */
.leistungs-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem;
}
.leistungs-karte {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 1.8rem;
}
.leistungs-karte h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.leistungs-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.leistungs-tags li {
  border: 1px solid var(--border); background: var(--bg-muted);
  padding: 0.4em 0.9em; font-size: 0.9rem; color: var(--navy-2); border-radius: 999px;
}
@media (max-width: 700px) { .leistungs-grid { grid-template-columns: 1fr; } }

/* ---------- Für Institutionen ---------- */
.zielgruppen-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem;
}
.zielgruppen-karte {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 1.8rem;
}
.zielgruppen-karte h3 { font-size: 1.05rem; margin-bottom: 0.5em; }
.zielgruppen-karte p { color: var(--text-body); margin: 0; font-size: 0.95rem; }
@media (max-width: 900px) { .zielgruppen-grid { grid-template-columns: 1fr; } }

/* ---------- Über mich ---------- */
.ueber-mich-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 760px) {
  .ueber-mich-grid { grid-template-columns: 1fr; }
  .foto-platzhalter--portrait { max-width: 280px; }
}

/* ---------- Ablauf ---------- */
.ablauf-liste { list-style: none; margin: 2.5rem 0 0; padding: 0; }
.ablauf-liste li {
  display: flex; gap: 1.25rem; padding: 1.4rem 0; border-top: 1px solid var(--border-strong);
}
.ablauf-liste li:last-child { border-bottom: 1px solid var(--border-strong); }
.ablauf-nr {
  font-weight: 800; font-size: 1.2rem; color: var(--navy);
  flex: 0 0 2ch;
}
.ablauf-liste h3 { font-size: 1.05rem; margin-bottom: 0.25em; }
.ablauf-liste p { margin: 0; color: var(--text-body); }

/* ---------- Kontakt ---------- */
.kontakt-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 760px) { .kontakt-grid { grid-template-columns: 1fr; } }

.kontakt-formular { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1.1rem; }
.form-zeile { display: flex; flex-direction: column; gap: 0.4rem; }
.form-zeile label { font-size: 0.88rem; color: var(--text-body); font-weight: 500; }
.form-zeile input, .form-zeile select, .form-zeile textarea {
  font-family: var(--font); font-size: 1rem;
  padding: 0.7em 0.85em; border: 1px solid var(--border-strong);
  background: #fff; color: var(--navy); border-radius: 8px;
}
.form-zeile input:focus, .form-zeile select:focus, .form-zeile textarea:focus { border-color: var(--navy); }
.kontakt-formular .btn { align-self: flex-start; margin-top: 0.3rem; }
.form-hinweis { font-size: 0.82rem; color: var(--text-body); margin: -0.6rem 0 0; }
.form-hinweis a { color: var(--navy-2); }
.hp-feld { position: absolute; left: -9999px; }

.form-meldung { padding: 0.9em 1.1em; border-radius: 8px; margin: 1rem 0; font-size: 0.95rem; scroll-margin-top: 110px; }
.form-meldung--ok { background: #E7F3EC; color: #1F6B3D; border: 1px solid #BEE0CC; }
.form-meldung--fehler { background: #FBEAEA; color: #8E2E2E; border: 1px solid #F0C4C4; }

.kontakt-info h3 { font-size: 0.98rem; margin-top: 1.5rem; }
.kontakt-info h3:first-child { margin-top: 0; }
.kontakt-info p { color: var(--text-body); margin: 0.3em 0 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #fff; }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 2rem 1.5rem;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.75rem;
  font-size: 0.85rem;
}
.footer-inner p:first-child { margin: 0; }
.footer-inner a { color: #fff; opacity: 0.8; text-decoration: underline; }
.footer-inner a:hover { opacity: 1; }
.footer-links { text-align: right; justify-self: end; }
.footer-datenschutz { margin-right: 3cm; }
.footer-zaehler {
  margin: 0; text-align: center; font-size: 0.78rem; letter-spacing: 0.02em;
  opacity: 0; transition: opacity 0.2s ease; cursor: default;
}
.footer-zaehler:hover { opacity: 0.55; }
@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-links { justify-self: center; }
  .footer-datenschutz { margin-right: 1.5rem; }
}
