@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("plus-jakarta-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("plus-jakarta-sans-500.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("plus-jakarta-sans-600.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("plus-jakarta-sans-700.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("plus-jakarta-sans-800.woff2") format("woff2");
}

:root {
  --bg: #f5f8f1;
  --white: #ffffff;
  --ink: #14140f;
  --text-secondary: #5f5f5a;
  --border: #e7e7e2;
  --accent: #3b6d11;
  --accent-light: #7fb254;
  --accent-dark: #274c0b;
  --accent-soft: #e9f2e0;
  --radius-pill: 999px;
  --radius-card: 16px;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal], .hero-in { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
}

/* Hero entrance */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-in {
  opacity: 0;
  animation: heroIn 0.9s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.btn-light { background: var(--accent); color: var(--white); box-shadow: 0 10px 24px rgba(59,109,17,0.24); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(59,109,17,0.32); background: var(--accent-dark); }
.btn-light:active { transform: translateY(0); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--border); }
.btn-outline:hover { background: var(--accent-soft); border-color: var(--accent); }
.btn-outline-accent {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
  font-weight: 500;
}
.btn-outline-accent:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.eyebrow-dot {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-light);
  margin-right: 8px;
  vertical-align: middle;
  opacity: 0.85;
}

.highlight {
  border-bottom: 2px solid rgba(127,178,84,0.6);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  padding: 26px 0;
  background: rgba(255,255,255,0.68);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), padding 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.nav.is-stuck {
  background: rgba(255,255,255,0.9);
  border-bottom-color: var(--border);
  padding: 16px 0;
  box-shadow: 0 4px 24px rgba(20,20,15,0.05);
}
@media (min-width: 901px) {
  .nav, .nav.is-stuck {
    background: var(--white);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink);
}
.nav-logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: block;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.nav-logo:hover .nav-logo-icon { transform: scale(1.06); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  position: relative;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-transform: uppercase;
  padding: 10px 14px;
}
.nav-links a:not(.nav-cta) span { position: relative; }
.nav-links a:not(.nav-cta) span::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.nav-links a:not(.nav-cta):hover span::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active:not(.nav-cta) span::after { transform: scaleX(1); }
.nav-links a.active:not(.nav-cta) { color: var(--ink); }
.nav-links a:not(.nav-cta):hover { color: var(--ink); }
.nav-cta {
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius-pill);
  color: var(--white) !important;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav-cta:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 32px; height: 22px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 70;
}
.nav-toggle span {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 20px; }
.nav-toggle.is-open span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* Mobile menu drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 110px 32px 48px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu-links { display: flex; flex-direction: column; gap: 0; counter-reset: mm-counter; }
.mobile-menu-links a {
  position: relative;
  display: block;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  padding: 13px 0 13px 34px;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.mobile-menu-links a::before {
  counter-increment: mm-counter;
  content: counter(mm-counter, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.mobile-menu-links a:active { padding-left: 40px; color: var(--accent); }
.mobile-menu-links a.active { color: var(--accent); }
.mobile-menu-links a:last-child { color: var(--accent); }
.mobile-menu-footer { display: flex; flex-direction: column; gap: 20px; }
.mobile-menu-footer .btn { text-align: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: #14170f;
  color: var(--white);
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20px;
  background:
    linear-gradient(180deg, rgba(8,10,6,0.55) 0%, rgba(8,10,6,0.72) 55%, rgba(8,10,6,0.92) 100%),
    url("hero-zaun.jpg") center 30% / cover no-repeat;
  filter: blur(6px);
  z-index: 0;
}
.hero-watermark {
  position: absolute;
  z-index: 1;
  top: 18%;
  left: 0;
  right: 0;
  text-align: center;
  font-size: clamp(64px, 14vw, 220px);
  font-weight: 800;
  color: rgba(255,255,255,0.06);
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 24px 120px;
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
}
@media (min-width: 901px) {
  .hero-content { padding-bottom: 150px; }
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent-light);
  text-transform: uppercase;
  margin: 0 0 16px;
}
.hero h1 {
  font-size: clamp(32px, 5.5vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 20px;
  max-width: 700px;
  color: var(--white);
}
.hero p {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  max-width: 460px;
  margin: 0 0 32px;
}
.hero .btn-outline-accent {
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.hero .btn-outline-accent:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.scroll-cue {
  position: absolute;
  z-index: 1;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 20px;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 4px;
  margin-left: -2px;
  background: var(--accent);
  border-radius: 50%;
  animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 22px; }
  100% { opacity: 0; top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue span { animation: none; top: 8px; opacity: 1; }
}

/* ---------- Stats bar ---------- */
.stats {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
  padding: 0;
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px 24px;
}
.stat-num { font-size: 20px; font-weight: 700; margin: 0 0 4px; color: var(--accent); }
.stat-label { font-size: 13px; color: var(--text-secondary); margin: 0; }

/* ---------- Section basics ---------- */
section { padding: 96px 0; }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 10%, rgba(127,178,84,0.2) 0%, rgba(127,178,84,0) 55%),
    linear-gradient(180deg, #f5f8f1 0%, #ffffff 100%);
  color: var(--ink);
  padding: 160px 0 72px;
}
.page-hero h1 {
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
  max-width: 700px;
  color: var(--ink);
}
.page-hero p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0;
}

/* ---------- Inner page hero with background photo (every subpage, own image via --hero-bg) ---------- */
.page-hero-image {
  background: #14170f;
  color: var(--white);
  padding: 190px 0 100px;
}
.page-hero-image::before {
  content: "";
  position: absolute;
  inset: -20px;
  background:
    linear-gradient(180deg, rgba(8,10,6,0.6) 0%, rgba(8,10,6,0.72) 55%, rgba(8,10,6,0.94) 100%),
    var(--hero-bg, url("galerie-schiebetor.jpg")) var(--hero-pos, center 58%) / cover no-repeat;
  animation: heroZoom 16s var(--ease) infinite alternate;
  z-index: 0;
}
.page-hero-image .container { position: relative; z-index: 1; }
.page-hero-image .section-eyebrow { color: var(--accent-light); }
.page-hero-image h1 { color: var(--white); }
.page-hero-image p { color: rgba(255,255,255,0.8); }
@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.09); }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero-image::before { animation: none; }
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  animation: badgeFloat 4.5s ease-in-out infinite;
  animation-delay: var(--fd, 0s);
}
.hero-badge svg { width: 15px; height: 15px; color: var(--accent-light); flex-shrink: 0; }
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-badge { animation: none; }
}

/* ---------- Confirmation page ---------- */
.confirm-hero {
  min-height: 70vh;
  min-height: 70svh;
  display: flex;
  align-items: center;
  padding: 160px 0;
}
.confirm-hero .container { max-width: 560px; text-align: center; }
.confirm-hero h1 { max-width: none; }
.confirm-hero p { max-width: none; margin: 0 auto; }
.confirm-icon {
  width: 56px; height: 56px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: rgba(127,178,84,0.15);
  color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.confirm-icon svg { width: 26px; height: 26px; }

/* ---------- Material list ---------- */
.material-list { margin-top: 8px; }
.material-list li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.material-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 19px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.material-list-2col {
  margin-top: 8px;
  columns: 1;
}
@media (min-width: 701px) {
  .material-list-2col { columns: 2; column-gap: 40px; }
}
.material-list-2col li { break-inside: avoid; }
.material-list-check li::before {
  width: 16px; height: 16px;
  border-radius: 50%;
  top: 14px;
  background: var(--accent-soft);
}
.material-list-check li {
  padding-left: 30px;
}
.material-list-check li::after {
  content: "";
  position: absolute;
  left: 4px; top: 18.5px;
  width: 7px; height: 4px;
  border-left: 1.6px solid var(--accent);
  border-bottom: 1.6px solid var(--accent);
  transform: rotate(-45deg);
}
.list-note {
  margin: 28px 0 0;
  font-size: 14.5px;
  color: var(--text-secondary);
  font-style: italic;
}

/* ---------- Title accent ---------- */
.title-soft { color: var(--accent); }

/* ---------- Fence-picket background texture ---------- */
.fence-texture {
  position: relative;
}
.fence-texture::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(59,109,17,0.06) 0px,
    rgba(59,109,17,0.06) 3px,
    transparent 3px,
    transparent 38px
  );
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.fence-texture > .container { position: relative; z-index: 1; }

/* ---------- Numbered region rows ---------- */
.region-rows {
  position: relative;
  border-top: 1px solid var(--border);
  margin-top: 28px;
}
.region-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 6px;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.3s var(--ease), background 0.3s var(--ease);
}
.region-row:hover { padding-left: 16px; background: var(--accent-soft); }
.region-row-num {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  width: 26px;
  flex-shrink: 0;
}
.region-row-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  flex: 1;
}
.region-row-tag {
  font-size: 12.5px;
  color: var(--text-secondary);
  display: none;
}
@media (min-width: 621px) {
  .region-row-tag { display: block; }
}
.region-row-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--ink);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease), color 0.3s var(--ease);
}
.region-row:hover .region-row-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateX(3px);
}
.region-shape {
  position: absolute;
  top: -60px;
  right: -80px;
  width: 340px;
  height: 340px;
  border: 1.5px solid rgba(59,109,17,0.14);
  border-radius: 36px;
  transform: rotate(24deg);
  z-index: 0;
  pointer-events: none;
}
.region-shape::before {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1.5px solid rgba(59,109,17,0.1);
  border-radius: 28px;
}
@media (max-width: 700px) {
  .region-shape { display: none; }
}

/* ---------- Brand chips ---------- */
.brand-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.brand-chip {
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}
.brand-chip:hover, .brand-chip-light:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}
.brand-chip-light {
  border-color: var(--border);
  color: var(--text-secondary);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}

/* ---------- Process steps ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-num {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 18px;
}
.process-step h3 { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.process-step p { font-size: 14px; line-height: 1.6; color: var(--text-secondary); margin: 0; }

/* ---------- Legal content (Impressum / Datenschutz) ---------- */
.legal-content { max-width: 760px; }
.legal-content h1 { margin: 0; }
.legal-content h2 {
  font-size: 19px;
  font-weight: 700;
  margin: 40px 0 12px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 24px 0 8px;
}
.legal-content p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0 0 14px;
}
.legal-content em { color: var(--accent); font-style: normal; font-weight: 600; }
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}
.section-title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
  max-width: 640px;
}
.section-lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 0 48px;
}

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.services-grid-5 { grid-template-columns: repeat(5, 1fr); }
.services-grid-5 .service-card {
  text-align: center;
  padding: 26px 18px;
}
.services-grid-5 .service-icon { margin: 0 auto 16px; }
.services-grid-5 h3 { font-size: 14.5px; margin: 0; }
.service-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.service-card > * { position: relative; z-index: 1; }
.service-num {
  position: absolute;
  top: -10px; right: 10px;
  font-size: 68px;
  font-weight: 800;
  line-height: 1;
  color: rgba(59,109,17,0.07);
  z-index: 0;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(20,23,15,0.08);
  border-color: transparent;
}
.service-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  color: var(--accent);
  transition: transform 0.35s var(--ease);
}
.service-card:hover .service-icon { transform: scale(1.1) rotate(-4deg); }
.page-karriere .service-card.is-visible .service-icon {
  animation: iconPop 0.65s var(--ease) both;
  animation-delay: calc(var(--d, 0s) + 0.25s);
}
@keyframes iconPop {
  0% { transform: scale(0.4) rotate(-18deg); opacity: 0; }
  65% { transform: scale(1.18) rotate(6deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); }
}
@media (prefers-reduced-motion: reduce) {
  .page-karriere .service-card.is-visible .service-icon { animation: none; }
}
.service-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
}
.service-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 36px;
}
.section-link .arrow { display: inline-block; transition: transform 0.3s var(--ease); }
.section-link:hover .arrow { transform: translateX(6px); }

/* ---------- Partner card ---------- */
.partner-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
}
.partner-card-text h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.partner-card-text p { font-size: 14px; line-height: 1.6; color: var(--text-secondary); margin: 0; max-width: 480px; }
.partner-card .btn-outline-accent {
  flex-shrink: 0;
  color: var(--accent);
  border-color: var(--accent);
}
.partner-card .btn-outline-accent:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.partner-card .btn-outline-accent .arrow { display: inline-block; transition: transform 0.3s var(--ease); }
.partner-card .btn-outline-accent:hover .arrow { transform: translateX(4px); }

/* ---------- Story / about split ---------- */
.story {
  background: var(--white);
  color: var(--ink);
}
.story .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.story .section-eyebrow { color: var(--accent); }
.story .section-title, .story .section-lead { color: var(--ink); }
.story .section-lead { color: var(--text-secondary); }
.story .section-link { color: var(--accent); }
.story-figure {
  aspect-ratio: 4/3;
  border-radius: var(--radius-card);
  background: url("story-zaun.jpg") center / cover no-repeat;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.5s var(--ease);
}
.story-figure:hover { transform: scale(1.02); }
.page-karriere .story {
  position: relative;
  overflow: hidden;
}
.page-karriere .story::before,
.page-karriere .story::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127,178,84,0.28) 0%, rgba(127,178,84,0) 70%);
  z-index: 0;
  pointer-events: none;
  animation: blobDrift 12s ease-in-out infinite;
}
.page-karriere .story::before { width: 320px; height: 320px; top: -80px; right: -60px; }
.page-karriere .story::after { width: 220px; height: 220px; bottom: -60px; left: 4%; animation-delay: -6s; }
.page-karriere .story .container { position: relative; z-index: 1; }
@keyframes blobDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-18px, 16px) scale(1.1); }
}
@media (prefers-reduced-motion: reduce) {
  .page-karriere .story::before, .page-karriere .story::after { animation: none; }
}

/* ---------- Impressionen gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.gallery-grid.gallery-grid-compact {
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 621px) {
  .gallery-grid.gallery-grid-compact { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 901px) {
  .gallery-grid.gallery-grid-compact { grid-template-columns: repeat(4, 1fr); }
}
.gallery-grid-compact .gallery-caption {
  padding: 10px;
  font-size: 11.5px;
}
@media (max-width: 620px) {
  .gallery-grid.gallery-grid-compact {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-bottom: 6px;
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .gallery-grid.gallery-grid-compact::-webkit-scrollbar { display: none; }
  .gallery-grid-compact .gallery-item {
    flex: 0 0 88%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    aspect-ratio: 4/3;
  }
  .gallery-grid-compact .gallery-caption {
    padding: 16px;
    font-size: 14px;
  }
}
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-card);
  overflow: hidden;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px;
  background: linear-gradient(0deg, rgba(6,7,5,0.75) 0%, rgba(6,7,5,0) 100%);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card { text-align: left; }
.team-photo {
  aspect-ratio: 1;
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, #eef0ea, #d7dbcd);
  margin-bottom: 16px;
  transition: transform 0.4s var(--ease);
}
.team-card:hover .team-photo { transform: scale(1.03); }
.team-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 4px; }
.team-card p { font-size: 14px; color: var(--text-secondary); margin: 0; }

/* ---------- References teaser ---------- */
.refs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.refs-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ref-chip {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  font-size: 14px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.ref-chip:hover { transform: translateY(-4px); border-color: var(--accent); background: #f7faf3; }
.ref-chip strong { display: block; font-size: 14px; margin-bottom: 4px; }
.ref-chip span { color: var(--text-secondary); font-size: 13px; }

/* ---------- FAQ ---------- */
#faq {
  position: relative;
  overflow: hidden;
  color: var(--white);
}
#faq::before {
  content: "";
  position: absolute;
  inset: -20px;
  background:
    linear-gradient(180deg, rgba(8,10,6,0.72) 0%, rgba(8,10,6,0.85) 100%),
    url("story-zaun.jpg") center 40% / cover no-repeat;
  filter: blur(6px);
  z-index: 0;
}
#faq .container { position: relative; z-index: 1; }
#faq .section-eyebrow { color: var(--accent-light); }
#faq .section-title { color: var(--white); }
#faq .faq-item { border-bottom-color: rgba(255,255,255,0.18); }
#faq .faq-question { color: var(--white); }
#faq .faq-question .icon { color: var(--accent-light); }
#faq .faq-answer p { color: rgba(255,255,255,0.78); }

.faq { max-width: 100%; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 26px 0;
  font-size: 19px;
  font-weight: 600;
  font-family: var(--font);
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-question .icon {
  font-size: 22px;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.open .faq-question .icon { transform: rotate(135deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq-answer p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 26px;
  max-width: 760px;
}

/* ---------- Final CTA ---------- */
.cta-banner {
  background: linear-gradient(155deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--white);
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 700;
  margin: 0 0 16px;
}
.cta-banner p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  margin: 0 0 32px;
}
.cta-banner .btn {
  background: var(--accent-light);
  color: var(--ink);
}
.cta-banner .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.3);
}
.page-karriere .cta-banner .btn {
  position: relative;
}
.page-karriere .cta-banner .btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.6);
  animation: pulseRing 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.35); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .page-karriere .cta-banner .btn::before { animation: none; display: none; }
}

/* ---------- Contact section ---------- */
.contact-section {
  background: var(--white);
  color: var(--ink);
}
.contact-section .section-eyebrow { color: var(--accent); }
.contact-section .section-title { color: var(--ink); }
.contact-section .section-lead { color: var(--text-secondary); }

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  margin-top: 24px;
}

.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info-item h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin: 0 0 8px;
}
.contact-info-item p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
}
.contact-info-item a { color: var(--ink); transition: color 0.2s var(--ease); }
.contact-info-item a:hover { color: var(--accent); }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #9a9a92; }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 110px; }

.form-check {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}
.form-check input { margin-top: 4px; accent-color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; }
.form-check label { font-size: 13px; line-height: 1.6; color: var(--text-secondary); font-weight: 400; }
.form-check label a { color: var(--accent); }

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.btn-dark-solid {
  align-self: flex-start;
  background: var(--accent);
  color: var(--white);
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(59,109,17,0.24);
}
.btn-dark-solid:hover { transform: translateY(-2px); background: var(--accent-dark); box-shadow: 0 14px 30px rgba(59,109,17,0.32); }
.btn-dark-solid:disabled { opacity: 0.6; cursor: default; transform: none; }

.form-status { font-size: 14px; margin: 4px 0 0; min-height: 20px; }
.form-status.is-success { color: var(--accent); }
.form-status.is-error { color: #c23434; }

/* ---------- Footer ---------- */
footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-logo {
  display: flex;
  align-items: center;
  margin: 0 0 34px;
}
.footer-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: block;
  flex-shrink: 0;
}
.footer-grid p { font-size: 14px; line-height: 1.7; color: var(--text-secondary); margin: 0; }
.footer-heading { font-size: 13px; font-weight: 700; margin: 0 0 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-col a, .footer-col span { display: block; font-size: 14px; color: var(--text-secondary); margin-bottom: 8px; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
}
.footer-bottom a { margin-left: 20px; transition: color 0.2s var(--ease); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .hero-watermark { display: none; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .story .container { grid-template-columns: 1fr; gap: 32px; }
  .team-grid { grid-template-columns: 1fr; }
  .refs-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 16px; }
  .process-step {
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 24px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  }
  .process-step:hover, .process-step:active {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(20,23,15,0.1);
    border-color: transparent;
  }
  .process-num { transition: transform 0.3s var(--ease); }
  .process-step:hover .process-num, .process-step:active .process-num { transform: scale(1.1); }
  .page-hero { padding: 130px 0 56px; }
  .page-hero-image { padding: 150px 0 64px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .partner-card { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .footer-bottom a { margin-left: 0; margin-right: 20px; }
  section { padding: 72px 0; }
  .eyebrow { font-size: 9px; letter-spacing: 0.03em; margin-bottom: 12px; white-space: nowrap; }
  .eyebrow-dot { width: 4px; height: 4px; margin-right: 6px; }
  .highlight { border-bottom: none; color: var(--accent); }
  .btn-outline-accent { display: none; }
  .hero {
    min-height: 92vh;
    min-height: 92svh;
    justify-content: center;
  }
  .hero-watermark {
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(70px, 22vw, 160px);
  }
  .hero-content { padding: 0 24px; }
  .hero h1 { font-size: clamp(30px, 8.5vw, 48px); line-height: 1.12; letter-spacing: -0.01em; margin-bottom: 14px; }
  .hero p { font-size: 15px; line-height: 1.6; margin-bottom: 26px; }
}
@media (max-width: 520px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-grid-5 { grid-template-columns: repeat(2, 1fr); }
}
