/* ==========================================================================
   Gartenhilfe Weber — Design System & Styles
   Grün + Weiß + Near-Black. Große Typografie, viel Weißraum, dezente Motion.
   ========================================================================== */

/* -------------------------------- Fonts -------------------------------- */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-variable-latin.woff2') format('woff2-variations'),
       url('../fonts/inter-variable-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------ Design Tokens ---------------------------- */
:root {
  /* Brand colors */
  --brand-green: #69AA43;
  --brand-green-light: #82B947;
  --brand-green-dark: #3F702D;
  --brand-green-darker: #2E5321;

  --color-black: #070907;
  --color-black-soft: #111311;
  --color-black-elevated: #171A16;

  /* Hintergrundfläche dunkler Sections (Hero, Story, CTA-Band, Footer).
     Bewusst getrennt von --color-black (Textfarbe auf hellem Grund):
     ein warmes Dunkelgrau statt reinem Schwarz wirkt weniger "leer". */
  --surface-dark: #23251E;
  --surface-dark-elevated: #2D3026;

  --color-white: #FFFFFF;
  --color-off-white: #F7F8F5;

  --color-border: #E5E9E1;
  --color-border-dark: rgba(255, 255, 255, 0.12);
  --color-muted: #697067;
  --color-body: #454B44;

  /* Text on dark */
  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: rgba(255, 255, 255, 0.70);
  --text-on-dark-faint: rgba(255, 255, 255, 0.45);

  /* Semantic */
  --color-danger: #C4432B;
  --color-success: var(--brand-green-dark);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Spacing scale */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4.5rem;
  --space-3xl: 6.5rem;
  --space-4xl: 9rem;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Container */
  --container-max: 1280px;
  --container-narrow: 760px;
  --container-pad: clamp(1.25rem, 4vw, 3rem);

  /* Motion */
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 180ms;
  --dur-base: 320ms;
  --dur-slow: 620ms;
  --dur-reveal: 900ms;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(7, 9, 7, 0.06), 0 1px 1px rgba(7, 9, 7, 0.04);
  --shadow-md: 0 12px 32px -12px rgba(7, 9, 7, 0.18);
  --shadow-lg: 0 24px 64px -20px rgba(7, 9, 7, 0.28);
  --shadow-green: 0 16px 40px -16px rgba(105, 170, 67, 0.45);

  --header-h: 84px;
}

/* -------------------------------- Reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

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

html:focus-within { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--color-body);
  background: var(--color-white);
  line-height: 1.55;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

button, input, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

button { cursor: pointer; }

h1, h2, h3, h4 {
  color: var(--color-black);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

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

::selection {
  background: var(--brand-green);
  color: var(--color-white);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ------------------------------- Layout ---------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.container--narrow {
  max-width: var(--container-narrow);
}

section { position: relative; }

.section-pad {
  padding-block: clamp(4rem, 9vw, var(--space-3xl));
}

.bg-white { background: var(--color-white); }
.bg-off-white { background: var(--color-off-white); }
.bg-black {
  background: var(--surface-dark);
  color: var(--text-on-dark-muted);
}
.bg-black h1, .bg-black h2, .bg-black h3, .bg-black h4 { color: var(--text-on-dark); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-green-dark);
}
.bg-black .eyebrow, .bg-black .eyebrow { color: var(--brand-green-light); }

.eyebrow::before {
  content: '';
  width: 22px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.7;
}

h1, .h1 {
  font-size: clamp(2.5rem, 3vw + 1.9rem, 4.75rem);
  max-width: 18ch;
}

h2, .h2 {
  font-size: clamp(2rem, 1.6vw + 1.6rem, 3.25rem);
  max-width: 20ch;
}

h3, .h3 {
  font-size: clamp(1.25rem, 0.6vw + 1.1rem, 1.625rem);
}

h4, .h4 {
  font-size: clamp(1.05rem, 0.3vw + 1rem, 1.2rem);
}

.lede {
  font-size: clamp(1.05rem, 0.4vw + 1rem, 1.3rem);
  color: var(--color-muted);
  max-width: 52ch;
  line-height: 1.6;
}
.bg-black .lede { color: var(--text-on-dark-muted); }

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head > .eyebrow { margin-bottom: var(--space-sm); }
.section-head > h2 { margin-bottom: var(--space-md); }

.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--center .eyebrow::before { display: none; }
.section-head--center .lede { margin-inline: auto; }

/* -------------------------------- Buttons -------------------------------- */
.btn {
  --btn-fg: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.95em 1.7em;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform var(--dur-base) var(--ease-premium),
              background-color var(--dur-base) var(--ease-standard),
              box-shadow var(--dur-base) var(--ease-standard),
              border-color var(--dur-base) var(--ease-standard),
              color var(--dur-base) var(--ease-standard);
  will-change: transform;
}

.btn svg { width: 16px; height: 16px; transition: transform var(--dur-base) var(--ease-premium); flex-shrink: 0; }

.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--brand-green);
  color: var(--color-white);
  box-shadow: var(--shadow-green);
}
.btn--primary:hover { background: var(--brand-green-dark); box-shadow: 0 20px 46px -16px rgba(63, 112, 45, 0.55); }

.btn--dark {
  background: var(--color-black);
  color: var(--color-white);
}
.btn--dark:hover { background: var(--color-black-soft); box-shadow: var(--shadow-md); }

.btn--secondary {
  background: transparent;
  color: var(--color-black);
  border: 1.5px solid var(--color-border);
}
.btn--secondary:hover { border-color: var(--color-black); background: var(--color-off-white); }

.btn--on-dark {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
}
.btn--on-dark:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.4); }

.btn--sm { padding: 0.7em 1.3em; font-size: 0.85rem; }
.btn--block { width: 100%; }

.btn[disabled] { opacity: 0.55; cursor: not-allowed; pointer-events: none; }

.tel-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-weight: 600;
  color: inherit;
  transition: opacity var(--dur-base) var(--ease-standard);
}
.tel-link:hover { opacity: 0.72; }
.tel-link svg { width: 18px; height: 18px; color: var(--brand-green); flex-shrink: 0; }

/* -------------------------------- Icons ---------------------------------- */
.icon { width: 22px; height: 22px; flex-shrink: 0; }
.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(105, 170, 67, 0.1);
  color: var(--brand-green-dark);
  flex-shrink: 0;
}
.icon-circle svg { width: 24px; height: 24px; }
.icon-circle--dark {
  background: rgba(255, 255, 255, 0.08);
  color: var(--brand-green-light);
}

/* -------------------------------- Navbar ---------------------------------- */
.navbar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding-block: 1.35rem;
  transition: padding var(--dur-base) var(--ease-standard),
              background-color var(--dur-base) var(--ease-standard),
              border-color var(--dur-base) var(--ease-standard),
              box-shadow var(--dur-base) var(--ease-standard);
  border-bottom: 1px solid transparent;
}

.navbar.is-scrolled {
  padding-block: 0.85rem;
  background: rgba(35, 37, 30, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 30px -18px rgba(0, 0, 0, 0.5);
}

.navbar.is-light.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  border-bottom-color: var(--color-border);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.brand__logo { height: 34px; width: auto; }

.brand__word {
  color: var(--text-on-dark);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.navbar.is-light .brand__word { color: var(--color-black); }

.brand__claim {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-on-dark-faint);
  letter-spacing: 0.01em;
}
.navbar.is-light .brand__claim { color: var(--color-muted); }

.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-xl);
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
}

.nav-links a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-on-dark-muted);
  padding-block: 0.3rem;
  transition: color var(--dur-base) var(--ease-standard);
}
.navbar.is-light .nav-links a { color: var(--color-body); }

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--brand-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-premium);
}

.nav-links a:hover { color: var(--text-on-dark); }
.navbar.is-light .nav-links a:hover { color: var(--color-black); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--text-on-dark); }
.navbar.is-light .nav-links a[aria-current="page"] { color: var(--color-black); }

.navbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.navbar__phone {
  display: none;
  color: var(--text-on-dark-muted);
  font-size: 0.875rem;
}
.navbar.is-light .navbar__phone { color: var(--color-body); }
@media (min-width: 1180px) { .navbar__phone { display: inline-flex; } }

.navbar__cta { display: none; }
@media (min-width: 640px) { .navbar__cta { display: inline-flex; } }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--text-on-dark);
}
.navbar.is-light .nav-toggle { color: var(--color-black); }
@media (min-width: 960px) { .nav-toggle { display: none; } }

.nav-toggle__bars {
  position: relative;
  width: 20px;
  height: 14px;
}
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.6px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-premium), opacity var(--dur-fast) linear, top var(--dur-base) var(--ease-premium);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }

.nav-open .nav-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-open .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--color-black);
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 1rem) var(--container-pad) var(--space-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--dur-slow) var(--ease-premium), transform var(--dur-slow) var(--ease-premium), visibility 0s linear var(--dur-slow);
}

.nav-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity var(--dur-slow) var(--ease-premium), transform var(--dur-slow) var(--ease-premium), visibility 0s;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: var(--space-lg);
}

.mobile-menu__links a {
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-weight: 600;
  color: var(--color-white);
  padding-block: 0.5rem;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--dur-slow) var(--ease-premium), transform var(--dur-slow) var(--ease-premium), color var(--dur-fast);
}
.nav-open .mobile-menu__links a { opacity: 1; transform: translateY(0); }
.mobile-menu__links a:hover { color: var(--brand-green-light); }

.mobile-menu__links a:nth-child(1) { transition-delay: 60ms; }
.mobile-menu__links a:nth-child(2) { transition-delay: 110ms; }
.mobile-menu__links a:nth-child(3) { transition-delay: 160ms; }
.mobile-menu__links a:nth-child(4) { transition-delay: 210ms; }
.mobile-menu__links a:nth-child(5) { transition-delay: 260ms; }

.mobile-menu__footer {
  margin-top: auto;
  padding-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  border-top: 1px solid var(--color-border-dark);
}

.mobile-menu__footer .tel-link { color: var(--color-white); font-size: 1.1rem; }

html.nav-open, body.nav-open { overflow: hidden; }

/* -------------------------------- Hero ------------------------------------ */
.hero {
  position: relative;
  background: var(--surface-dark);
  color: var(--text-on-dark);
  padding-top: calc(var(--header-h) + clamp(2rem, 6vw, 4rem));
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 980px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
}

.hero__eyebrow {
  opacity: 0;
  transform: translateY(10px);
  animation: reveal-up var(--dur-slow) var(--ease-premium) 120ms forwards;
}

.hero h1 {
  color: var(--color-white);
  margin-block: var(--space-md);
  opacity: 0;
  transform: translateY(18px);
  animation: reveal-up var(--dur-reveal) var(--ease-premium) 220ms forwards;
}

.hero__sub {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal-up var(--dur-slow) var(--ease-premium) 420ms forwards;
  max-width: 46ch;
}

.hero__claim {
  margin-top: var(--space-md);
  color: var(--brand-green-light);
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0;
  transform: translateY(12px);
  animation: reveal-up var(--dur-slow) var(--ease-premium) 520ms forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  opacity: 0;
  transform: translateY(14px);
  animation: reveal-up var(--dur-slow) var(--ease-premium) 620ms forwards;
}

.hero__phone {
  color: var(--text-on-dark);
  font-size: 1rem;
}

@keyframes reveal-up {
  to { opacity: 1; transform: translateY(0); }
}

.hero__art {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(160deg, #272B21 0%, #2C3722 55%, #35441F 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  clip-path: inset(0 0 100% 0 round var(--radius-xl));
  animation: clip-reveal var(--dur-reveal) var(--ease-premium) 320ms forwards;
}

@keyframes clip-reveal {
  to { clip-path: inset(0 0 0% 0 round var(--radius-xl)); }
}

.hero__art svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__art-glow {
  position: absolute;
  width: 65%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(130, 185, 71, 0.5), transparent 70%);
  filter: blur(50px);
  top: -10%;
  right: -10%;
  animation: float-slow 9s ease-in-out infinite;
}

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-3%, 4%) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__eyebrow, .hero h1, .hero__sub, .hero__claim, .hero__actions { animation: none; opacity: 1; transform: none; }
  .hero__art { animation: none; clip-path: none; }
  .hero__art-glow { animation: none; }
}

/* Inner page hero (light) */
.page-hero {
  background: var(--color-off-white);
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4rem));
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  border-bottom: 1px solid var(--color-border);
}

.page-hero__inner { max-width: 760px; }
.page-hero h1 { margin-block: var(--space-md); }

/* -------------------------------- Trust bar -------------------------------- */
.trust-bar {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-lg);
}

.trust-bar__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.25rem, 4vw, 3rem);
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-black);
}

.trust-bar__item svg { width: 18px; height: 18px; color: var(--brand-green-dark); }

/* -------------------------------- Cards ------------------------------------ */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.services-grid { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  transition: transform var(--dur-base) var(--ease-premium), box-shadow var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card .icon-circle { margin-bottom: var(--space-md); }
.service-card h3 { margin-bottom: 0.6rem; }
.service-card p { color: var(--color-muted); font-size: 0.95rem; }

.service-card__tasks {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-card__tasks li {
  display: flex;
  align-items: flex-start;
  gap: 0.55em;
  font-size: 0.875rem;
  color: var(--color-body);
}

.service-card__tasks svg {
  width: 15px;
  height: 15px;
  margin-top: 0.15em;
  color: var(--brand-green);
  flex-shrink: 0;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: var(--space-md);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--brand-green-dark);
}
.service-card__link svg { width: 14px; height: 14px; transition: transform var(--dur-base) var(--ease-premium); }
.service-card:hover .service-card__link svg { transform: translateX(4px); }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-muted);
  background: var(--color-off-white);
  border: 1px solid var(--color-border);
  padding: 0.3em 0.75em;
  border-radius: var(--radius-pill);
}

/* Category chips (for unconfirmed / indicative services) */
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.7em 1.2em;
  border-radius: var(--radius-pill);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  font-weight: 550;
  font-size: 0.9rem;
  color: var(--color-black);
  transition: border-color var(--dur-base), background var(--dur-base), transform var(--dur-base) var(--ease-premium);
}
.chip:hover { border-color: var(--brand-green); background: rgba(105, 170, 67, 0.06); transform: translateY(-2px); }
.chip svg { width: 15px; height: 15px; color: var(--brand-green-dark); }

.notice-card {
  background: var(--color-off-white);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--brand-green);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  font-size: 0.925rem;
  color: var(--color-body);
}

/* -------------------------------- Benefits -------------------------------- */
.benefits-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.benefit {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}
.bg-black .benefit { border-top-color: var(--color-border-dark); }

.benefit .icon-circle { margin-bottom: var(--space-md); }
.benefit h3 { margin-bottom: 0.5rem; }
.benefit p { font-size: 0.925rem; color: var(--color-muted); }
.bg-black .benefit p { color: var(--text-on-dark-muted); }

/* -------------------------------- Process ---------------------------------- */
.process-list {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 860px) {
  .process-list { grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }
}

.process-step {
  position: relative;
  padding-top: var(--space-lg);
  border-top: 2px solid var(--color-border);
}

.process-step__num {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-green-dark);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.02em;
}

.process-step h3 { margin-bottom: 0.5rem; }
.process-step p { font-size: 0.9rem; color: var(--color-muted); }

/* -------------------------------- Story (sticky) ---------------------------- */
.story {
  background: var(--surface-dark);
  color: var(--text-on-dark);
  padding-block: clamp(4rem, 9vw, var(--space-3xl));
}

.story__grid {
  display: grid;
  gap: var(--space-2xl);
}

@media (min-width: 980px) {
  .story__grid { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
}

.story__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(150deg, #272B21, #2C3722 60%, #35441F);
}

@media (min-width: 980px) {
  .story__visual { position: sticky; top: calc(var(--header-h) + 2rem); }
}

.story__visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.story__headline {
  font-size: clamp(1.9rem, 2.4vw + 1.3rem, 3rem);
  color: var(--color-white);
  max-width: 16ch;
  margin-bottom: var(--space-xl);
}

.story__blocks { display: flex; flex-direction: column; gap: clamp(2.5rem, 6vw, 4.5rem); }

.story__block {
  max-width: 46ch;
  opacity: 0.5;
  transition: opacity var(--dur-slow) var(--ease-standard);
}
.story__block.is-active { opacity: 1; }
.story__block h3 { color: var(--color-white); margin-bottom: 0.6rem; font-size: 1.35rem; }
.story__block p { color: var(--text-on-dark-muted); }

/* -------------------------------- FAQ -------------------------------------- */
.faq-list {
  max-width: var(--container-narrow);
  margin-inline: auto;
  border-top: 1px solid var(--color-border);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: var(--space-lg);
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-black);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  position: relative;
  transition: transform var(--dur-base) var(--ease-premium), border-color var(--dur-base);
}
.faq-item__icon::before, .faq-item__icon::after {
  content: '';
  position: absolute;
  background: var(--color-black);
  transition: transform var(--dur-base) var(--ease-premium), opacity var(--dur-base);
}
.faq-item__icon::before { width: 10px; height: 1.5px; }
.faq-item__icon::after { width: 1.5px; height: 10px; }

.faq-item[open] .faq-item__icon { transform: rotate(45deg); border-color: var(--brand-green); }

.faq-item__a {
  overflow: hidden;
  padding-bottom: var(--space-lg);
  color: var(--color-muted);
  max-width: 62ch;
}

.faq-item summary { list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }

/* -------------------------------- CTA band ---------------------------------- */
.cta-band {
  background: var(--surface-dark);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.cta-band__glow {
  position: absolute;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(105, 170, 67, 0.35), transparent 70%);
  filter: blur(60px);
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

.cta-band__inner {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.cta-band h2 { color: var(--color-white); margin-bottom: var(--space-md); }

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

/* -------------------------------- Footer ------------------------------------ */
.site-footer {
  background: var(--surface-dark);
  color: var(--text-on-dark-muted);
  padding-block: var(--space-2xl) var(--space-lg);
}

.footer__grid {
  display: grid;
  gap: var(--space-xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--color-border-dark);
}

@media (min-width: 780px) {
  .footer__grid { grid-template-columns: 1.3fr repeat(3, 1fr); }
}

.footer__brand .brand__word { color: var(--color-white); }
.footer__brand p { margin-top: var(--space-sm); font-size: 0.875rem; max-width: 32ch; }

.footer__logo-link { display: inline-flex; }
.footer__logo-full { height: 64px; width: auto; }

.footer__heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-on-dark-faint);
  margin-bottom: var(--space-md);
}

.footer__links { display: flex; flex-direction: column; gap: 0.65rem; }
.footer__links a, .footer__contact li { font-size: 0.9rem; transition: color var(--dur-base); }
.footer__links a:hover { color: var(--color-white); }

.footer__contact { display: flex; flex-direction: column; gap: 0.65rem; }
.footer__contact a:hover { color: var(--color-white); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  font-size: 0.8125rem;
  color: var(--text-on-dark-faint);
}

.footer__legal { display: flex; gap: var(--space-lg); }
.footer__legal a:hover { color: var(--color-white); }

/* -------------------------------- Sticky mobile CTA -------------------------- */
.sticky-cta {
  position: fixed;
  left: var(--space-sm);
  right: var(--space-sm);
  bottom: var(--space-sm);
  z-index: 90;
  display: flex;
  gap: 0.6rem;
  padding: 0.6rem;
  background: rgba(7, 9, 7, 0.92);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
  transform: translateY(120%);
  transition: transform var(--dur-slow) var(--ease-premium);
}

.sticky-cta.is-visible { transform: translateY(0); }

.sticky-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1em;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.875rem;
}

.sticky-cta a svg { width: 16px; height: 16px; }
.sticky-cta__call { color: var(--color-white); background: rgba(255, 255, 255, 0.08); }
.sticky-cta__request { color: var(--color-white); background: var(--brand-green); }

@media (min-width: 960px) { .sticky-cta { display: none; } }

/* -------------------------------- Forms ------------------------------------- */
.form-grid { display: grid; gap: var(--space-md); }

@media (min-width: 640px) {
  .form-grid--2 { grid-template-columns: 1fr 1fr; }
}

.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-black);
}

.field .optional { color: var(--color-muted); font-weight: 400; }

.field input,
.field select,
.field textarea {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.85em 1em;
  font-size: 0.95rem;
  background: var(--color-white);
  transition: border-color var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard);
}

.field textarea { resize: vertical; min-height: 130px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 4px rgba(105, 170, 67, 0.16);
  outline: none;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23697067' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  padding-right: 2.5em;
}

.field-error {
  font-size: 0.8125rem;
  color: var(--color-danger);
  min-height: 1.1em;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--color-danger);
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.checkbox-field input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0.1em;
  border: 1.5px solid var(--color-border);
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--dur-base), background var(--dur-base);
}

.checkbox-field input[type="checkbox"]:checked {
  background: var(--brand-green);
  border-color: var(--brand-green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10' fill='none'%3E%3Cpath d='M1 5L4.5 8.5L11 1' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.checkbox-field a { color: var(--color-black); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  display: none;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  margin-bottom: var(--space-lg);
}
.form-status.is-visible { display: block; }
.form-status--success { background: rgba(105, 170, 67, 0.1); color: var(--brand-green-dark); border: 1px solid rgba(105, 170, 67, 0.3); }
.form-status--error { background: rgba(196, 67, 43, 0.08); color: var(--color-danger); border: 1px solid rgba(196, 67, 43, 0.25); }

.btn .spinner {
  display: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  animation: spin 0.7s linear infinite;
}
.is-loading .spinner { display: inline-block; }
.is-loading .btn-label { opacity: 0.7; }
@keyframes spin { to { transform: rotate(360deg); } }

/* -------------------------------- Contact page ------------------------------ */
.contact-layout {
  display: grid;
  gap: var(--space-2xl);
  align-items: start;
}

@media (min-width: 980px) {
  .contact-layout { grid-template-columns: 0.85fr 1.15fr; }
}

.contact-info {
  background: var(--color-off-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
}

.contact-info__item {
  display: flex;
  gap: var(--space-md);
  padding-block: var(--space-md);
  border-top: 1px solid var(--color-border);
}
.contact-info__item:first-of-type { border-top: none; padding-top: 0; }

.contact-info__item h3 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.contact-info__item p, .contact-info__item a { font-size: 0.9rem; color: var(--color-muted); }
.contact-info__item a:hover { color: var(--brand-green-dark); }

.contact-form-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, var(--space-2xl));
  box-shadow: var(--shadow-md);
}

/* -------------------------------- Map card ------------------------------------ */
.map-card {
  margin-top: var(--space-lg);
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-white);
}

.map-card__placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.9rem;
  padding: var(--space-lg);
}

.map-card__placeholder .icon-circle { margin: 0; }
.map-card__placeholder p { font-size: 0.9rem; color: var(--color-muted); max-width: 34ch; }
.map-card__hint { font-size: 0.75rem !important; color: var(--color-muted); max-width: 38ch; }
.map-card__hint a { color: var(--brand-green-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.map-card iframe { display: block; width: 100%; height: 100%; border: 0; }

/* -------------------------------- Gallery / arbeiten ------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-md);
}

.gallery-item {
  position: relative;
  grid-column: span 6;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  border: 0;
  display: block;
  width: 100%;
  padding: 0;
}

.gallery-item--full {
  grid-column: 1 / -1;
}

@media (min-width: 700px) {
  .gallery-item { grid-column: span 3; }
  .gallery-item--wide { grid-column: span 4; aspect-ratio: 16/10; }
  .gallery-item--tall { grid-column: span 2; aspect-ratio: 3/4; }
  .gallery-item--full .before-after { aspect-ratio: 21/9; }
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-premium);
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: var(--space-md);
  background: linear-gradient(180deg, transparent 50%, rgba(7,9,7,0.75) 100%);
  color: #fff;
  opacity: 0;
  transition: opacity var(--dur-base);
  text-align: left;
}
.gallery-item:hover .gallery-item__overlay,
.gallery-item:focus-visible .gallery-item__overlay { opacity: 1; }

.gallery-item__overlay strong { font-size: 0.95rem; font-weight: 600; display: block; }
.gallery-item__overlay span { font-size: 0.8rem; color: rgba(255,255,255,0.75); }

.project-group {
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.project-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.project-group__head h3 { margin-bottom: 0; }
.project-group__category { color: var(--color-muted); font-size: 0.875rem; }

/* -------------------------------- Before / After Slider ---------------------- */
.before-after {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  user-select: none;
  background: var(--color-off-white);
}

.before-after__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.before-after__before-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: 50%;
}

.before-after__before-wrap .before-after__img {
  max-width: none;
  width: auto;
}

.before-after__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(7, 9, 7, 0.15);
}

.before-after__handle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  color: var(--color-black);
}
.before-after__handle-btn svg { width: 18px; height: 18px; }

.before-after__label {
  position: absolute;
  top: 1rem;
  z-index: 2;
  padding: 0.35em 0.9em;
  border-radius: var(--radius-pill);
  background: rgba(7, 9, 7, 0.68);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  pointer-events: none;
}
.before-after__label--before { left: 1rem; }
.before-after__label--after { right: 1rem; }

.before-after__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  appearance: none;
  -webkit-appearance: none;
  z-index: 3;
}
.before-after__range::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 60px;
  height: 100%;
}
.before-after__range::-moz-range-thumb {
  width: 60px;
  height: 100%;
  border: none;
  background: transparent;
}

/* -------------------------------- Lightbox ------------------------------------ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(7, 9, 7, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 4rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-base) var(--ease-standard), visibility 0s linear var(--dur-base);
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--dur-base) var(--ease-standard), visibility 0s;
}

.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.lightbox__close {
  position: absolute;
  top: clamp(1rem, 3vw, 1.75rem);
  right: clamp(1rem, 3vw, 1.75rem);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background var(--dur-base);
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox__close svg { width: 20px; height: 20px; }

.empty-state {
  text-align: center;
  max-width: 520px;
  margin-inline: auto;
  padding: clamp(3rem, 8vw, 5rem) var(--space-lg);
  border: 1.5px dashed var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-off-white);
}

.empty-state .icon-circle { margin-inline: auto; margin-bottom: var(--space-lg); }
.empty-state h2 { margin-bottom: var(--space-sm); }
.empty-state p { color: var(--color-muted); margin-bottom: var(--space-lg); }

/* -------------------------------- Legal pages -------------------------------- */
.legal {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-block: clamp(3rem, 6vw, var(--space-3xl));
}

.legal h2 { font-size: 1.4rem; margin-top: var(--space-2xl); margin-bottom: var(--space-sm); }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 1.1rem; margin-top: var(--space-lg); margin-bottom: 0.4rem; }
.legal p, .legal li { color: var(--color-body); margin-bottom: var(--space-sm); font-size: 0.95rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; }
.legal ul li { margin-bottom: 0.4rem; }
.legal a { color: var(--brand-green-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal strong { color: var(--color-black); }

.legal-todo {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #9a5b1f;
  background: #fdf1e2;
  border: 1px solid #f0d6ab;
  border-radius: var(--radius-sm);
  padding: 0.15em 0.5em;
  margin-left: 0.4em;
  vertical-align: middle;
}

/* -------------------------------- 404 ----------------------------------------- */
.error-page {
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--surface-dark);
  color: var(--text-on-dark);
  text-align: center;
  padding-block: clamp(3rem, 10vw, 6rem);
}

.error-page__code {
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 700;
  color: var(--brand-green);
  line-height: 1;
  margin-bottom: var(--space-lg);
}

.error-page h1 { max-width: none; }
.error-page .lede { margin-inline: auto; margin-top: var(--space-md); margin-bottom: var(--space-xl); }

/* -------------------------------- Scroll reveal -------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-reveal) var(--ease-premium), transform var(--dur-reveal) var(--ease-premium);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-group] > * { transition-delay: calc(var(--reveal-i, 0) * 90ms); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* -------------------------------- Utilities ------------------------------------ */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: var(--space-md);
  z-index: 200;
  background: var(--brand-green);
  color: #fff;
  padding: 0.8em 1.4em;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top var(--dur-base) var(--ease-standard);
}
.skip-link:focus { top: var(--space-md); }

.text-center { text-align: center; }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

@media (max-width: 480px) {
  .gallery-grid { gap: var(--space-sm); }
}
