/* Die Wohnmeister – Gestaltung. Farben aus dem Logo (Blau #1E4169, Grün #7AA343).
   Schriften lokal (Barlow, SIL OFL 1.1, siehe fonts/LICENSE.txt). Kein Abruf bei Google. */
@font-face{font-family:Barlow;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/barlow-500.woff2) format('woff2')}
@font-face{font-family:Barlow;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/barlow-700.woff2) format('woff2')}
@font-face{font-family:"Barlow Condensed";font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/barlow-condensed-700.woff2) format('woff2')}

:root{
  --blau:#1E4169; --blau-dunkel:#132B47; --gruen:#6E9A38; --gruen-hell:#EAF2DF;
  --text:#18263A; --text-2:#4A5868; --linie:#DCE3EA; --grund:#F4F6F3; --weiss:#fff;
  --r:14px; --max:1160px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:84px;-webkit-text-size-adjust:100%}
body{margin:0;font:500 17px/1.6 Barlow,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--text);background:var(--weiss)}
img{max-width:100%;height:auto;display:block}
a{color:var(--blau)}
h1,h2,h3{font-family:"Barlow Condensed",Barlow,sans-serif;font-weight:700;line-height:1.1;color:var(--blau-dunkel);margin:0 0 .5em;letter-spacing:.2px}
h1{font-size:clamp(2.3rem,5.2vw,3.7rem)}
h2{font-size:clamp(1.9rem,3.6vw,2.6rem)}
h3{font-size:1.5rem}
p{margin:0 0 1em}
.wrap{max-width:var(--max);margin:0 auto;padding:0 20px}
.skip{position:absolute;left:-999px}
.skip:focus{left:12px;top:12px;z-index:99;background:#fff;padding:10px 14px;border-radius:8px}
:focus-visible{outline:3px solid var(--gruen);outline-offset:3px}

/* Kopfzeile */
.top{background:var(--blau-dunkel);color:#fff;font-size:15px}
.top .wrap{display:flex;gap:22px;justify-content:flex-end;flex-wrap:wrap;padding-top:6px;padding-bottom:6px}
.top a{color:#fff;text-decoration:none}
.top a:hover{text-decoration:underline}
header.kopf{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);backdrop-filter:saturate(1.4) blur(8px);border-bottom:1px solid var(--linie)}
.kopf .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:76px}
.logo img{width:220px}
nav.haupt{display:flex;align-items:center;gap:6px}
nav.haupt a{text-decoration:none;color:var(--text);padding:12px 12px;border-radius:8px;font-weight:700}
nav.haupt a:hover{background:var(--grund)}
nav.haupt a.btn{color:#fff}

/* Schaltflächen */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 22px;border-radius:999px;background:var(--gruen);color:#fff;text-decoration:none;font-weight:700;border:2px solid var(--gruen);transition:background .15s}
.btn:hover{background:#5C8430;border-color:#5C8430}
.btn.hell{background:transparent;color:var(--blau);border-color:var(--blau)}
.btn.hell:hover{background:var(--blau);color:#fff}
.btn svg{width:20px;height:20px;flex:none}

/* Start */
.hero{padding:0;background:linear-gradient(180deg,var(--grund),#fff)}
.hero .wrap{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center;padding-top:56px;padding-bottom:64px}
.dach{display:inline-block;font-weight:700;color:var(--gruen);text-transform:uppercase;letter-spacing:1.5px;font-size:14px;margin-bottom:12px}
.hero .lead{font-size:1.2rem;color:var(--text-2);max-width:36em}
.haken-titel{margin:22px 0 10px;font:700 1.35rem "Barlow Condensed",Barlow,sans-serif;color:var(--blau-dunkel)}
.haken{list-style:none;padding:0;margin:0 0 28px;display:grid;grid-template-columns:1fr 1fr;gap:8px 18px;font-weight:700}
.haken li{display:flex;gap:10px;align-items:center}
.haken li::before,.liste li::before{content:"";flex:none;width:22px;height:22px;border-radius:50%;background:var(--gruen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat}
.aktionen{display:flex;flex-wrap:wrap;gap:12px}
.hero figure{margin:0;position:relative}
.hero figure img{border-radius:22px;box-shadow:0 24px 60px rgba(19,43,71,.22);aspect-ratio:860/1024;object-fit:cover;width:100%}
.hero figure figcaption{position:absolute;left:-18px;bottom:28px;background:#fff;border-radius:14px;padding:12px 16px;box-shadow:0 10px 30px rgba(19,43,71,.18);font-weight:700;line-height:1.3;max-width:240px}
.hero figure figcaption small{display:block;font-weight:500;color:var(--text-2)}

/* Leiste */
.leiste{background:var(--blau);color:#fff}
.leiste ul{list-style:none;margin:0;padding:22px 0;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.leiste li{display:flex;gap:12px;align-items:center;font-weight:700;line-height:1.3}
.leiste svg{width:30px;height:30px;flex:none;color:#A9CF7A}

/* Abschnitte */
section{padding:84px 0}
.kopftext{max-width:720px;margin-bottom:40px}
.kopftext p{color:var(--text-2);font-size:1.1rem}
.grau{background:var(--grund)}

.leistungen{display:grid;grid-template-columns:repeat(2,1fr);gap:28px}
.karte{background:#fff;border:1px solid var(--linie);border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column}
.karte img{aspect-ratio:16/10;object-fit:cover;width:100%}
.karte .inhalt{padding:24px 26px 26px}
.karte h3{display:flex;align-items:center;gap:10px}
.liste{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.liste li{display:flex;gap:10px;align-items:flex-start}
.liste li::before{margin-top:3px;width:20px;height:20px;background-size:12px}

.sonder{margin-top:28px;background:var(--blau-dunkel);color:#fff;border-radius:var(--r);padding:34px;display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center}
.sonder h3{color:#fff}
.sonder p{margin:0;color:#D5DFEA;max-width:46em}

.schritte{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,1fr);gap:28px;counter-reset:s}
.schritte li{counter-increment:s;background:#fff;border-radius:var(--r);padding:28px;border:1px solid var(--linie)}
.schritte li::before{content:counter(s);display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--gruen-hell);color:var(--gruen);font:700 1.4rem "Barlow Condensed",sans-serif;margin-bottom:14px}
.schritte p{color:var(--text-2);margin:0}

.ueber{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.ueber img{border-radius:var(--r)}
.zielgruppen{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.zielgruppen span{background:var(--gruen-hell);color:#3F5E1C;border-radius:999px;padding:8px 16px;font-weight:700}

/* Kontakt */
.kontakt{background:var(--blau-dunkel);color:#fff}
.kontakt h2{color:#fff}
.kontakt .kopftext p{color:#D5DFEA}
.wege{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.weg{display:flex;flex-direction:column;gap:6px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:var(--r);padding:26px;color:#fff;text-decoration:none}
a.weg:hover{background:rgba(255,255,255,.13)}
.weg svg{width:30px;height:30px;color:#A9CF7A;margin-bottom:6px}
.weg b{font-size:1.25rem}
.weg span{color:#D5DFEA}

/* Fuß */
footer{background:#0D1F34;color:#B8C6D6;font-size:15px}
footer .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;padding-top:24px;padding-bottom:24px}
footer a{color:#fff;text-decoration:none;margin-left:18px;display:inline-block;padding:8px 0}
footer a:hover{text-decoration:underline}

/* Rechtstexte */
.recht{padding:56px 0 80px}
.recht .wrap{max-width:820px}
.recht h1{font-size:clamp(2rem,4vw,2.8rem)}
.recht h2{font-size:1.6rem;margin-top:1.6em}
.recht address{font-style:normal;margin-bottom:1em}
.zurueck{display:inline-block;margin-bottom:24px;font-weight:700;text-decoration:none;padding:10px 0}

@media (max-width:900px){
  .hero .wrap,.ueber{grid-template-columns:1fr;gap:32px}
  .hero figure{max-width:520px}
  .hero figure figcaption{left:12px}
  .leiste ul{grid-template-columns:1fr 1fr}
  .leistungen,.schritte,.wege{grid-template-columns:1fr}
  .sonder{grid-template-columns:1fr}
  nav.haupt a:not(.btn){display:none}
  section{padding:60px 0}
}
@media (max-width:520px){
  body{font-size:16px}
  .logo img{width:170px}
  .kopf .wrap{min-height:66px}
  nav.haupt .btn{padding:10px 16px}
  .top .wrap{justify-content:center;gap:14px}
  .haken{grid-template-columns:1fr}
  .leiste ul{grid-template-columns:1fr}
  .aktionen .btn{flex:1 1 100%}
  footer a{margin:0 18px 0 0}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
