/* Simon Scholz Dienstleistungen – Stylesheet
   Farben: Grün (Grünanlagen), Weiß, Grau (aus dem Logo) */

:root {
  --green-900: #14382a;
  --green-800: #1d4d39;
  --green-700: #256448;
  --green-600: #2f7a57;
  --green-100: #e6f1eb;
  --green-50:  #f3f8f5;
  --grey-logo: #9a9da1;
  --grey-700:  #4a4f54;
  --grey-500:  #6b7076;
  --grey-200:  #e3e5e7;
  --grey-100:  #f2f3f4;
  --ink:       #16191c;
  --white:     #ffffff;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 24, 20, .06), 0 8px 24px rgba(16, 24, 20, .07);
  --max: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

img, svg { display: block; max-width: 100%; }

a { color: var(--green-700); }
a:hover { color: var(--green-900); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 750; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; }
p  { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--green-800); color: var(--white); padding: 8px 14px; border-radius: var(--radius-sm); z-index: 100;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--green-600); outline-offset: 3px; border-radius: 4px; }

/* ---------- Kopfzeile ---------- */
.topbar {
  background: var(--green-900);
  color: #d6e6dc;
  font-size: .88rem;
}
.topbar .container { display: flex; gap: 22px; justify-content: flex-end; align-items: center; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 15px; height: 15px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--grey-200);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { height: 44px; width: auto; }
.brand-sub { font-size: .78rem; line-height: 1.25; color: var(--grey-500); border-left: 2px solid var(--grey-200); padding-left: 12px; font-weight: 600; letter-spacing: .02em; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block; padding: 9px 14px; border-radius: var(--radius-sm);
  text-decoration: none; color: var(--grey-700); font-weight: 600; font-size: .97rem;
}
.main-nav a:hover { background: var(--grey-100); color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--green-700); background: var(--green-50); }
.main-nav .btn { margin-left: 8px; color: var(--white); }
.main-nav .btn:hover { color: var(--white); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--grey-200); border-radius: var(--radius-sm);
  width: 46px; height: 46px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; margin: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 650; font-size: 1rem; text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-primary { background: var(--green-700); color: var(--white); }
.btn-primary:hover { background: var(--green-800); color: var(--white); }
.btn-outline { border-color: var(--green-700); color: var(--green-700); background: var(--white); }
.btn-outline:hover { background: var(--green-50); color: var(--green-800); }
.btn-light { background: var(--white); color: var(--green-800); }
.btn-light:hover { background: var(--green-100); color: var(--green-900); }
.btn-ghost-light { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); color: var(--white); }
.btn-sm { padding: 9px 16px; font-size: .93rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 420px at 85% -10%, rgba(47,122,87,.13), transparent 60%),
    linear-gradient(180deg, var(--green-50), var(--white));
  padding: 64px 0 110px;
}
.hero .container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-700); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.hero h1 span { color: var(--green-700); }
.hero .lead { font-size: 1.15rem; color: var(--grey-700); max-width: 34em; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Foto im Hero, mit grauem Farbfleck wie im Logo */
.hero-visual { position: relative; max-width: 440px; justify-self: center; width: 100%; }
.hero-visual::before {
  content: ""; position: absolute; z-index: 0; width: 78%; aspect-ratio: 1; left: -14%; top: -8%;
  background: var(--grey-logo); opacity: .35;
  border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%;
}
.hero-photo {
  position: relative; z-index: 1; margin: 0; border-radius: 22px; overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--grey-200); box-shadow: 0 20px 50px rgba(16, 24, 20, .18);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.hero-badge {
  position: absolute; z-index: 2; left: -18px; bottom: 28px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 14px 18px 14px 16px; border-left: 4px solid var(--green-600);
}
.hero-badge strong { display: block; font-size: 1.05rem; line-height: 1.25; }
.hero-badge span { font-size: .88rem; color: var(--grey-500); }

/* Fakten-Leiste unter dem Hero */
.facts-strip { position: relative; z-index: 3; margin-top: -54px; }
.facts-strip ul {
  list-style: none; margin: 0; padding: 22px 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius); box-shadow: var(--shadow);
}
.facts-strip li { display: flex; gap: 12px; align-items: flex-start; }
.facts-strip li strong { display: block; font-size: .98rem; line-height: 1.3; }
.facts-strip li small { display: block; color: var(--grey-500); font-size: .86rem; line-height: 1.4; margin-top: 2px; }
.icon-badge {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; background: var(--green-100); color: var(--green-700);
}
.icon-badge svg { width: 22px; height: 22px; }

/* ---------- Abschnitte ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--grey-100); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--grey-700); font-size: 1.08rem; }

.page-hero {
  background: linear-gradient(180deg, var(--green-50), var(--white));
  padding: 60px 0 40px; border-bottom: 1px solid var(--grey-200);
}
.page-hero p { color: var(--grey-700); font-size: 1.12rem; max-width: 40em; margin: 0; }

/* ---------- Karten ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.card {
  background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius);
  padding: 28px; transition: box-shadow .2s, transform .2s, border-color .2s;
}
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #cfd8d2; }
.card .icon-badge { margin-bottom: 18px; width: 52px; height: 52px; }
.card .icon-badge svg { width: 26px; height: 26px; }
.card p { color: var(--grey-700); margin: 0; font-size: .98rem; }
.card .more { display: inline-block; margin-top: 14px; font-weight: 650; color: var(--green-700); font-size: .95rem; }

.check-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.check-list li { position: relative; padding-left: 30px; color: var(--grey-700); font-size: .98rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23256448' 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/12px no-repeat;
}

/* Vorteile */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value { padding: 4px; }
.value .num { font-size: .85rem; font-weight: 750; color: var(--green-600); letter-spacing: .1em; }
.value h3 { margin-top: 8px; }
.value p { color: var(--grey-700); font-size: .98rem; margin: 0; }
.value { border-top: 3px solid var(--green-600); padding-top: 18px; }

/* Zielgruppen */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.audience .card { padding: 34px; }
.audience .card.dark { background: var(--green-800); border-color: var(--green-800); color: var(--white); }
.audience .card.dark p, .audience .card.dark .check-list li { color: #d3e5da; }
.audience .card.dark .check-list li::before { background-color: rgba(255,255,255,.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' 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"); }
.audience .card.dark .icon-badge { background: rgba(255,255,255,.12); color: var(--white); }

/* Leistungs-Detail */
.service {
  display: grid; grid-template-columns: 88px 1fr; gap: 28px;
  padding: 38px 0; border-bottom: 1px solid var(--grey-200);
  scroll-margin-top: 100px;
}
.service:last-child { border-bottom: 0; }
.service .icon-badge { width: 72px; height: 72px; border-radius: 18px; }
.service .icon-badge svg { width: 34px; height: 34px; }
.service p { color: var(--grey-700); max-width: 46em; }
.service .check-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; max-width: 46em; }

.note {
  border-left: 4px solid var(--grey-logo); background: var(--grey-100);
  padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--grey-700); font-size: .97rem;
}

/* Über mich */
.about { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.portrait {
  aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, var(--green-100), var(--grey-100));
  display: grid; place-items: center; text-align: center; color: var(--grey-500);
  border: 1px dashed #c3ccc6; font-size: .95rem; padding: 20px;
}
.portrait svg { width: 72px; height: 72px; margin: 0 auto 10px; color: var(--grey-logo); }
.about .lead { font-size: 1.15rem; color: var(--ink); }
.about p { color: var(--grey-700); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0; }
.stat { background: var(--green-50); border-radius: var(--radius-sm); padding: 16px; }
.stat strong { display: block; font-size: 1.4rem; color: var(--green-800); line-height: 1.2; }
.stat span { font-size: .88rem; color: var(--grey-700); }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--grey-200); position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--green-700); color: var(--white); font-weight: 750; margin-bottom: 16px;
}
.step p { color: var(--grey-700); margin: 0; font-size: .98rem; }

/* CTA-Band */
.cta-band { background: var(--green-800); color: var(--white); padding: 64px 0; position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: 6px; }
.cta-band p { margin: 0; color: #cfe2d6; font-size: 1.08rem; }
.cta-band .hero-actions { flex: none; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-item {
  display: flex; gap: 18px; align-items: center; padding: 22px 24px;
  background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius);
  text-decoration: none; color: inherit; transition: box-shadow .2s, border-color .2s;
}
a.contact-item:hover { box-shadow: var(--shadow); border-color: #cfd8d2; color: inherit; }
.contact-item small { display: block; color: var(--grey-500); font-size: .88rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.contact-item strong { font-size: 1.12rem; word-break: break-word; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 10px 0; border-bottom: 1px solid var(--grey-200); }
.hours td:last-child { text-align: right; font-weight: 650; }
.hours tr:last-child td { border-bottom: 0; }

.mail-builder label { display: block; font-weight: 650; font-size: .95rem; margin: 14px 0 6px; }
.mail-builder input, .mail-builder select, .mail-builder textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #cdd2d6; border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink);
}
.mail-builder textarea { min-height: 130px; resize: vertical; }
.mail-builder input:focus, .mail-builder select:focus, .mail-builder textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(47,122,87,.18); }
.mail-builder .btn { margin-top: 18px; width: 100%; }
.mail-builder .hint { font-size: .86rem; color: var(--grey-500); margin: 12px 0 0; }

/* Rechtstexte */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal h3 { font-size: 1.05rem; margin-top: 1.5em; }
.legal p, .legal li { color: var(--grey-700); }
.legal address { font-style: normal; color: var(--grey-700); margin-bottom: 1em; }

/* ---------- Fußzeile ---------- */
.site-footer { background: #101513; color: #b6bfba; padding: 60px 0 26px; font-size: .95rem; }
.site-footer a { color: #e2ebe6; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 14px; }
.site-footer h3 { color: var(--white); font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .87rem;
}
.footer-bottom nav { display: flex; gap: 18px; }

/* Leistungs-Raster mit 4 Spalten */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-4 .card { padding: 24px; }
.card.card-cta { background: var(--green-50); border-style: dashed; border-color: #b9d3c3; }

/* Vorher / Nachher */
.ba-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.ba-item h3 { margin-bottom: 14px; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ba figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--grey-200); }
.ba img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.tag {
  position: absolute; left: 12px; top: 12px; padding: 5px 12px; border-radius: 999px;
  font-size: .8rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(20, 24, 22, .78); color: var(--white);
}
.tag.after { background: var(--green-700); }
.ba-item p { color: var(--grey-700); font-size: .97rem; margin: 12px 0 0; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--grey-200); }
.gallery img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.65)); color: var(--white); font-weight: 600; font-size: .95rem;
}

/* Teamfoto */
.team-photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: #cfcfcf; }
.team-photo img { width: 100%; height: auto; }
.team-photo figcaption { background: var(--grey-100); padding: 12px 16px; font-size: .9rem; color: var(--grey-700); }

/* Mobile Anruf-Leiste */
.mobile-call { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .container, .about, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-3, .steps, .grid-4 { grid-template-columns: 1fr 1fr; }
  .ba-wrap { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .portrait { aspect-ratio: 16 / 10; max-width: 520px; }
  .hero-visual { max-width: 400px; }
  .facts-strip ul { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: grid; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--grey-200); box-shadow: 0 12px 24px rgba(0,0,0,.08);
    display: none; padding: 10px 16px 18px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { padding: 13px 14px; font-size: 1.05rem; }
  .main-nav .btn { margin: 10px 0 0; }
  .topbar .hide-sm { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 68px; }
  .container { padding: 0 16px; }
  .section { padding: 60px 0; }
  .hero { padding: 40px 0 90px; }
  .hero-visual { max-width: 320px; }
  .hero-visual::before { left: -10%; }
  .hero-badge { left: -8px; bottom: 18px; padding: 10px 14px 10px 12px; }
  .facts-strip { margin-top: -50px; }
  .facts-strip ul { padding: 18px; gap: 16px 12px; }
  .facts-strip li { flex-direction: column; gap: 8px; }
  .facts-strip li small { display: none; }
  .facts-strip .icon-badge { width: 38px; height: 38px; }
  .grid-3, .grid-2, .grid-4, .steps, .audience, .values, .stats { grid-template-columns: 1fr; }
  .gallery { gap: 8px; }
  .gallery figcaption { font-size: .82rem; padding: 22px 10px 10px; }
  .ba { gap: 6px; }
  .stats { gap: 8px; }
  .stat { padding: 12px 16px; display: flex; align-items: baseline; gap: 10px; }
  .stat strong { font-size: 1.15rem; display: inline; }
  .service { grid-template-columns: 1fr; gap: 16px; padding: 30px 0; }
  .service .icon-badge { width: 60px; height: 60px; }
  .service .check-list { grid-template-columns: 1fr; }
  .brand img { height: 36px; }
  .brand-sub { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .topbar .container { justify-content: center; }
  .mobile-call {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--white);
    border-top: 1px solid var(--grey-200); box-shadow: 0 -6px 18px rgba(0,0,0,.06);
  }
  .mobile-call .btn { flex: 1; padding: 12px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
