/* Zuschlag & Stöcker – Stylesheet
   Farben aus dem Firmenlogo abgeleitet. Keine externen Schriften (DSGVO-freundlich). */
:root {
  --blau: #005ca2;
  --blau-dunkel: #003f70;
  --blau-hell: #e8f1f9;
  --gelb: #f0b400;
  --gelb-hell: #fff6da;
  --rot: #a3262a;
  --gruen: #3d8b3d;
  --grau: #5a5f66;
  --text: #1d2530;
  --text-leise: #5a6472;
  --linie: #dfe5ec;
  --flaeche: #f5f7fa;
  --weiss: #ffffff;
  --radius: 14px;
  --schatten: 0 10px 30px rgba(0, 45, 90, .10);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--weiss);
}
img { max-width: 100%; display: block; }
a { color: var(--blau); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--blau-dunkel); }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blau); margin-bottom: .8em;
}
.lead { font-size: 1.15rem; color: var(--text-leise); max-width: 62ch; }
section { padding: 90px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 999px; font-weight: 600;
  text-decoration: none; transition: transform .15s, background .15s, box-shadow .15s;
}
.btn-primary { background: var(--gelb); color: #1d1a10; box-shadow: 0 6px 18px rgba(240,180,0,.35); }
.btn-primary:hover { transform: translateY(-2px); background: #ffc21a; }
.btn-ghost { color: var(--weiss); border: 2px solid rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-blue { background: var(--blau); color: var(--weiss); }
.btn-blue:hover { background: var(--blau-dunkel); }

/* Topbar + Header */
.topbar { background: var(--blau-dunkel); color: #cfe0ef; font-size: .88rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar a { color: var(--weiss); text-decoration: none; }
.topbar span + span { margin-left: 18px; }

header.site {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--linie);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo img { height: 60px; width: auto; }
nav.main ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; align-items: center; }
nav.main a {
  text-decoration: none; color: var(--text); font-weight: 600; font-size: .96rem;
  padding: .5em .8em; border-radius: 8px;
}
nav.main a:hover { background: var(--blau-hell); color: var(--blau); }
nav.main a.btn { color: #1d1a10; margin-left: 8px; }
.menu-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer;
}
.menu-toggle span { display: block; width: 26px; height: 3px; background: var(--blau); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: var(--weiss);
  background: linear-gradient(135deg, #003a68 0%, var(--blau) 55%, #1a7cc4 100%);
  padding: 90px 0 120px;
}
.hero::after {
  content: ""; position: absolute; left: -5%; right: -5%; bottom: -60px; height: 140px;
  background: var(--weiss); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { color: var(--weiss); }
.hero h1 em { font-style: normal; color: var(--gelb); }
.hero .lead { color: #d8e7f4; }
.hero .badge {
  display: inline-flex; align-items: center; gap: .6em; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25); padding: .4em 1em; border-radius: 999px;
  font-size: .9rem; margin-bottom: 1.4em;
}
.hero .badge b { color: var(--gelb); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.25)); }

/* Kennzahlen */
.facts { margin-top: -40px; position: relative; z-index: 2; padding: 0; }
.facts-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); background: var(--weiss);
  border-radius: var(--radius); box-shadow: var(--schatten); overflow: hidden;
}
.fact { padding: 28px 24px; text-align: center; border-right: 1px solid var(--linie); }
.fact:last-child { border-right: 0; }
.fact strong { display: block; font-size: clamp(1.4rem, 2.4vw, 2.1rem); color: var(--blau); line-height: 1.1; }
.fact span { color: var(--text-leise); font-size: .95rem; }

/* Leistungen */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius);
  padding: 30px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--schatten); border-color: transparent; }
.card .icon {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  margin-bottom: 18px; color: var(--weiss);
}
.card .icon svg { width: 28px; height: 28px; }
.i-rot { background: var(--rot); }
.i-blau { background: var(--blau); }
.i-gelb { background: var(--gelb); }
.i-gruen { background: var(--gruen); }
.card ul { padding-left: 1.1em; margin: 0; color: var(--text-leise); }
.card li { margin: .25em 0; }

/* Erneuerbare */
.renew { background: var(--flaeche); }
.renew-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.tech-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tech {
  background: var(--weiss); border-radius: 12px; padding: 20px; border-left: 4px solid var(--gelb);
}
.tech h3 { font-size: 1.05rem; margin-bottom: .3em; }
.tech p { margin: 0; font-size: .95rem; color: var(--text-leise); }
.tech.g { border-left-color: var(--gruen); }
.tech.b { border-left-color: var(--blau); }
.tech.r { border-left-color: var(--rot); }
.check { list-style: none; padding: 0; margin: 1.5em 0 0; }
.check li { padding-left: 34px; position: relative; margin: .7em 0; }
.check li::before {
  content: ""; position: absolute; left: 0; top: 3px; 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat;
}

.partner {
  grid-column: 1 / -1; background: var(--blau); color: #d8e7f4; border-radius: 12px; padding: 22px 24px;
}
.partner-label { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gelb); }
.partner strong { display: block; font-size: 1.5rem; letter-spacing: .04em; color: var(--weiss); margin: 2px 0 6px; }
.partner p { margin: 0; font-size: .95rem; }

/* Lichtruf */
.nurse-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 56px; align-items: center; }
.nurse-card { position: relative; max-width: 340px; justify-self: center; width: 100%; }
.nurse-card .cert {
  position: absolute; right: 0; bottom: 8%; background: var(--weiss); border-radius: 12px;
  box-shadow: var(--schatten); padding: 12px 18px; border-left: 4px solid var(--gruen);
}
.nurse-card .cert strong { display: block; color: var(--blau-dunkel); }
.nurse-card .cert span { color: var(--text-leise); font-size: .9rem; }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 64px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 48px; height: 48px; border-radius: 50%;
  background: var(--blau-hell); color: var(--blau); font-weight: 800; font-size: 1.3rem;
  display: grid; place-items: center;
}
.step::after {
  content: ""; position: absolute; top: 24px; left: 60px; right: -12px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--linie) 0 8px, transparent 8px 14px);
}
.step:last-child::after { display: none; }
.step p { color: var(--text-leise); }

/* Über uns / Chronik */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.timeline { border-left: 3px solid var(--blau-hell); padding-left: 28px; }
.tl-item { position: relative; margin-bottom: 28px; }
.tl-item::before {
  content: ""; position: absolute; left: -37px; top: 5px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--weiss); border: 3px solid var(--blau);
}
.tl-item.now::before { background: var(--gelb); border-color: var(--gelb); }
.tl-year { font-weight: 800; color: var(--blau); }
.tl-item p { margin: 0; color: var(--text-leise); }
.owners { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.owner { background: var(--weiss); border-radius: 12px; padding: 20px; box-shadow: 0 2px 10px rgba(0, 45, 90, .06); }
.owner .avatar {
  width: 54px; height: 54px; border-radius: 50%; background: var(--blau); color: var(--weiss);
  display: grid; place-items: center; font-weight: 700; margin-bottom: 10px;
}
.owner strong { display: block; }
.owner span { color: var(--text-leise); font-size: .92rem; }

/* Förderung-Banner */
.banner {
  background: linear-gradient(120deg, var(--gelb) 0%, #ffcf3f 100%); border-radius: var(--radius);
  padding: 44px 48px; display: flex; justify-content: space-between; align-items: center; gap: 32px;
}
.banner h2 { color: #1d1a10; margin-bottom: .3em; }
.banner p { margin: 0; color: #3a3220; }
section.tight { padding: 0 0 90px; }

/* Karriere */
.jobs { background: var(--blau-dunkel); color: #d8e7f4; }
.jobs h2, .jobs h3 { color: var(--weiss); }
.jobs .eyebrow { color: var(--gelb); }
.jobs .lead { color: #c4d8ea; }
.job-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.job { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 26px; }
.job .tag { display: inline-block; font-size: .78rem; font-weight: 700; background: var(--gelb); color: #1d1a10; padding: .2em .7em; border-radius: 999px; margin-bottom: 12px; }
.job p { font-size: .95rem; margin: 0; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--linie); }
.contact-list .ci {
  flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--blau-hell); color: var(--blau);
  display: grid; place-items: center;
}
.contact-list .ci svg { width: 20px; height: 20px; }
.contact-list small { display: block; color: var(--text-leise); font-size: .85rem; }
.contact-list a { font-weight: 600; text-decoration: none; }
.hours { margin-top: 24px; background: var(--flaeche); border-radius: 12px; padding: 20px 24px; }
.hours table { width: 100%; border-collapse: collapse; }
.hours td { padding: 4px 0; }
.hours td:last-child { text-align: right; font-weight: 600; }
.map-card {
  border-radius: var(--radius); overflow: hidden; background: var(--blau-hell); min-height: 360px;
  display: flex; flex-direction: column; justify-content: flex-end; position: relative;
}
.map-card svg.map-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-card .map-info { position: relative; background: var(--weiss); margin: 20px; border-radius: 12px; padding: 20px 22px; box-shadow: var(--schatten); }
.map-card .map-info p { margin: 0 0 12px; }

/* Footer */
footer.site { background: #0d1b2a; color: #9fb0c2; padding: 56px 0 28px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
footer.site h3 { color: var(--weiss); font-size: 1rem; }
footer.site a { color: #cfe0ef; text-decoration: none; }
footer.site a:hover { color: var(--gelb); }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin: .35em 0; }
.foot-logo { background: var(--weiss); display: inline-block; padding: 10px 14px; border-radius: 10px; margin-bottom: 16px; }
.foot-logo img { height: 52px; }
.foot-bottom { border-top: 1px solid #22344a; margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; }

/* Rechtstexte */
.legal { padding: 60px 0 90px; }
.legal .wrap { max-width: 820px; }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.hinweis { background: var(--gelb-hell); border-left: 4px solid var(--gelb); padding: 16px 20px; border-radius: 8px; margin: 24px 0; }

/* Responsive */
@media (max-width: 980px) {
  .hero .wrap, .renew-grid, .about-grid, .contact-grid, .nurse-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; }
  .cards, .job-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step::after { display: none; }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--linie); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .banner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  nav.main {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--weiss);
    border-bottom: 1px solid var(--linie); display: none; box-shadow: var(--schatten);
  }
  nav.main.open { display: block; }
  nav.main ul { flex-direction: column; align-items: stretch; padding: 12px 16px 20px; }
  nav.main a { display: block; padding: .8em 1em; }
  nav.main a.btn { margin: 8px 0 0; justify-content: center; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  section { padding: 64px 0; }
  .cards, .job-grid, .steps, .tech-list, .owners, .foot-grid { grid-template-columns: 1fr; }
  .topbar .hide-sm { display: none; }
  .logo img { height: 50px; }
  .banner { padding: 32px 24px; }
  .hero { padding: 60px 0 100px; }

  /* Eckdaten-Kacheln: kompakter, damit lange Wörter (SOLARFOCUS) in die halbe Breite passen */
  .fact { padding: 20px 10px; }
  .fact strong { font-size: 1.15rem; overflow-wrap: anywhere; }
  .fact span { display: block; font-size: .82rem; line-height: 1.35; margin-top: 4px; }

  /* Inhaber: Avatar neben dem Namen statt darüber */
  .owner { display: grid; grid-template-columns: 54px 1fr; column-gap: 14px; align-items: center; padding: 14px 16px; }
  .owner .avatar { grid-row: span 2; margin-bottom: 0; }

  /* Rufanlagen-Grafik kleiner */
  .nurse-card { max-width: 240px; }
  .nurse-card .cert { right: -20px; padding: 10px 14px; }
}
