/* Raumwunder – gemeinsames Stylesheet */
:root {
  --green: #5b7f2e;
  --green-dark: #44611f;
  --green-light: #eef3e6;
  --ink: #23272d;
  --ink-soft: #3a4048;
  --muted: #5f6873;
  --line: #e2e6dd;
  --paper: #ffffff;
  --soft: #f6f7f3;
  --shadow: 0 10px 30px rgba(35, 39, 45, .08);
  --shadow-lg: 0 20px 50px rgba(35, 39, 45, .14);
  --radius: 14px;
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.soft { background: var(--soft); }
.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green); margin-bottom: 12px;
}
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 10px;
  font-weight: 800; font-size: 1rem; text-decoration: none; white-space: nowrap;
  border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(91, 127, 46, .3); }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--green); color: var(--green-dark); }
.btn-light { background: #fff; color: var(--green-dark); }
.btn-light:hover { background: var(--green-light); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-whatsapp { background: #1fa855; color: #fff; }
.btn-whatsapp:hover { background: #17924a; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 80px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { width: 132px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.nav a { white-space: nowrap; text-decoration: none; font-weight: 700; font-size: .96rem; color: var(--ink-soft); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--green-dark); border-color: var(--green); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle svg { width: 24px; height: 24px; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(91, 127, 46, .35), transparent 60%),
    linear-gradient(135deg, #1f2a17 0%, #2b3a1f 45%, #23272d 100%);
  color: #fff;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: clamp(32px, 5vw, 64px);
  align-items: center; padding-top: clamp(56px, 9vw, 112px); padding-bottom: clamp(56px, 9vw, 112px);
}
.hero .eyebrow { color: #b9d68f; }
.hero h1 span { color: #b9d68f; }
.hero-lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: rgba(255, 255, 255, .85); max-width: 600px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: rgba(255, 255, 255, .9); font-weight: 600; font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 20px; height: 20px; color: #b9d68f; flex: none; }

.hero-card {
  background: #fff; color: var(--ink); border-radius: 18px; padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow-lg);
}
.hero-card h2 { font-size: 1.4rem; margin-bottom: 6px; }
.hero-card > p { color: var(--muted); margin-bottom: 18px; }
.person { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 12px; background: var(--soft); margin-bottom: 16px; }
.avatar {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--green); color: #fff; font-weight: 800; font-size: 1.1rem;
}
.person strong { display: block; }
.person span { color: var(--muted); font-size: .92rem; }
.hero-card .btn { width: 100%; margin-bottom: 10px; }
.hero-card small { display: block; text-align: center; color: var(--muted); margin-top: 6px; }

/* Trust strip */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; padding: 28px 20px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item svg { width: 34px; height: 34px; color: var(--green); flex: none; }
.trust-item strong { display: block; margin-bottom: 2px; }
.trust-item span { color: var(--muted); font-size: .93rem; line-height: 1.45; display: block; }

/* Service cards */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfd8c2; }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--green-light); color: var(--green); margin-bottom: 18px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card p { color: var(--muted); flex: 1; }
.service-card ul { list-style: none; padding: 0; margin: 0 0 18px; color: var(--ink-soft); font-size: .95rem; }
.service-card li { padding-left: 22px; position: relative; margin-bottom: 4px; }
.service-card li::before {
  content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 6px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg);
}
.card-link { font-weight: 800; color: var(--green-dark); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.card-link:hover { text-decoration: underline; }
.service-card.highlight { background: var(--ink); color: #fff; border-color: var(--ink); }
.service-card.highlight p { color: rgba(255, 255, 255, .78); }
.service-card.highlight .service-icon { background: rgba(255, 255, 255, .1); color: #b9d68f; }
.service-card.highlight .card-link { color: #b9d68f; }

/* Why */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.why-list li { display: flex; gap: 16px; }
.why-list .num {
  flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green); color: #fff; font-weight: 800;
}
.why-list strong { display: block; margin-bottom: 2px; }
.why-list span { color: var(--muted); }
.why-panel {
  background: linear-gradient(160deg, var(--green) 0%, var(--green-dark) 100%); color: #fff;
  border-radius: 20px; padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-lg);
}
.why-panel blockquote { margin: 0 0 20px; font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 700; line-height: 1.35; }
.why-panel p { color: rgba(255, 255, 255, .85); }
.why-panel .sig { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.why-panel .avatar { background: #fff; color: var(--green-dark); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 30px 26px; border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
  background: var(--green-light); color: var(--green-dark); font-weight: 800; font-size: 1.25rem; margin-bottom: 16px;
}
.step p { color: var(--muted); margin: 0; }

/* Area */
.area { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.area-card { border: 1px solid var(--line); border-radius: 18px; padding: 28px; background: #fff; box-shadow: var(--shadow); }
.area-card dl { margin: 0; display: grid; gap: 14px; }
.area-card dt { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.area-card dd { margin: 2px 0 0; font-weight: 700; font-size: 1.05rem; }
.area-card dd a { text-decoration: none; color: var(--green-dark); }
.audience { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip { padding: 8px 14px; border-radius: 999px; background: var(--green-light); color: var(--green-dark); font-weight: 700; font-size: .9rem; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--green); font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--green-dark), var(--green)); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: clamp(40px, 6vw, 64px); padding-bottom: clamp(40px, 6vw, 64px); flex-wrap: wrap; }
.cta-inner h2 { margin-bottom: 6px; }
.cta-inner p { margin: 0; color: rgba(255, 255, 255, .88); font-size: 1.08rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Page hero (Unterseiten) */
.page-hero { background: linear-gradient(135deg, #1f2a17 0%, #23272d 100%); color: #fff; padding: clamp(44px, 7vw, 80px) 0; }
.page-hero p { color: rgba(255, 255, 255, .82); font-size: 1.1rem; max-width: 640px; margin: 0; }
.page-hero .eyebrow { color: #b9d68f; }

/* Leistungs-Unterseiten */
.breadcrumb { font-size: .9rem; color: rgba(255, 255, 255, .7); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.page-hero h1 { max-width: 820px; }
.service-detail { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.lead-text { color: var(--ink-soft); font-size: 1.08rem; }
.scope-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); }
.scope-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.scope-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.scope-list svg { width: 22px; height: 22px; color: var(--green); flex: none; margin-top: 1px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.related-card:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-2px); }
.related-card .service-icon { margin: 0; width: 48px; height: 48px; flex: none; }
.related-card > span:nth-child(2) { flex: 1; }
.related-card strong { display: block; }
.related-card small { color: var(--muted); }
.related-card > svg { color: var(--green); flex: none; }

/* Kontakt */
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-info { display: grid; gap: 14px; }
.info-tile {
  display: flex; gap: 16px; align-items: center; padding: 20px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; text-decoration: none; transition: border-color .2s, box-shadow .2s;
}
a.info-tile:hover { border-color: var(--green); box-shadow: var(--shadow); }
.info-tile .service-icon { margin: 0; width: 50px; height: 50px; flex: none; }
.info-tile small { display: block; color: var(--muted); font-size: .85rem; font-weight: 600; }
.info-tile strong { font-size: 1.08rem; word-break: break-word; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 3.5vw, 36px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; font-size: .93rem; }
.field .opt { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--soft);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; min-height: 48px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(91, 127, 46, .15); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.channel-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.channel-group label {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: 10px; font-weight: 700; background: var(--soft);
}
.channel-group input { position: absolute; opacity: 0; pointer-events: none; }
.channel-group input:checked + label { border-color: var(--green); background: var(--green-light); color: var(--green-dark); }
.channel-group input:focus-visible + label { outline: 3px solid var(--green); outline-offset: 2px; }
.channel-group svg { width: 18px; height: 18px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: var(--green); flex: none; }
.consent a { color: var(--green-dark); }
.form-note { font-size: .88rem; color: var(--muted); margin: 14px 0 0; }
.form-error { color: #b42318; font-weight: 700; font-size: .92rem; margin: 10px 0 0; display: none; }
.form-error.show { display: block; }
.form-card .btn { width: 100%; margin-top: 18px; }

/* Rechtstexte */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal h3 { margin-top: 1.4em; }
.legal p, .legal li { color: var(--ink-soft); }
.legal address { font-style: normal; }
.todo { background: #fff4ce; border: 1px dashed #c9a400; padding: 1px 6px; border-radius: 4px; color: #6b5500; font-weight: 600; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .78); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.footer-brand img { width: 170px; background: #fff; border-radius: 10px; padding: 4px 8px; margin-bottom: 14px; }
.site-footer h3 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.8; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .9rem; }

/* Mobile Schnellkontakt */
.mobile-bar { display: none; }

/* Reveal-Animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service-card { transition: none; }
}

/* Responsive */
@media (max-width: 1020px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .menu-toggle { display: inline-flex; }
  .header-actions .btn-call-text { display: none; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px var(--gutter) 16px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .hero-inner, .why, .area, .contact-layout, .service-detail { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { padding-bottom: 72px; }
  .brand img { width: 120px; }
  .header-inner { min-height: 68px; }
  .header-actions .btn-primary { display: none; }
  .service-grid, .trust-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .channel-group { grid-template-columns: 1fr; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0, 0, 0, .08);
  }
  .mobile-bar .btn { min-height: 48px; padding: 0 12px; }
}
