/* =========================================================
   Haus- & Gartenservice by H.O.K – Stylesheet
   ========================================================= */

/* ---------- Fonts (self-hosted, DSGVO) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/manrope-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url("../assets/fonts/manrope-latin-800-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --ink: #141614;
  --ink-2: #1C1F1B;
  --ink-3: #262a24;
  --stone: #F4F2EC;
  --white: #fff;
  --lime: #8DB63C;          /* nur Akzent / auf dunklem Grund */
  --lime-text: #4E6E1A;     /* Lime-Text auf hellem Grund (AA auf #F4F2EC und Weiß) */
  --text-dark: #141614;
  --text-dark-muted: #4a4f46;
  --text-light: #F4F2EC;
  --text-light-muted: #B9BDB3;
  --line-dark: rgba(255, 255, 255, .14);
  --line-light: rgba(20, 22, 20, .12);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1200px;
  --header-h: 76px;
  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--ink);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
address { font-style: normal; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75em 1.4em;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.2;
  border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--lime); color: var(--ink); }
.btn-primary:hover { background: #9cc64a; }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.45); background: rgba(20,22,20,.25); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--lime); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-3); }
.btn-sm { min-height: 42px; padding: .55em 1.1em; font-size: .9375rem; }
.btn-lg { min-height: 54px; padding: .9em 1.6em; }
.btn-block { width: 100%; }
.text-link { font-weight: 600; color: var(--lime-text); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: background-color .3s, height .3s, box-shadow .3s;
}
.site-header.is-scrolled {
  --header-h: 64px;
  height: 64px;
  background: rgba(20, 22, 20, .88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand img { width: 224px; height: auto; transition: width .3s var(--ease); }
.is-scrolled .brand img { width: 188px; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 0; }
.main-nav a:not(.btn) {
  display: block; padding: 8px 12px; color: var(--text-light); text-decoration: none;
  font-weight: 600; font-size: .9375rem; position: relative; white-space: nowrap;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
  background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.main-nav a:not(.btn):hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.nav-cta-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--white); text-decoration: none; font-weight: 600; font-size: .9375rem; white-space: nowrap; }
.header-phone .icon { color: var(--lime); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1.5px solid var(--line-dark); border-radius: 12px; background: transparent; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--white); transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nummer nur für Screenreader – sichtbar bleibt das Icon (Platz für den Angebots-Button) */
.header-phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.header-cta { white-space: nowrap; }
.brand { flex: none; }
@media (max-width: 1180px) { .header-cta { display: none; } }
@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .header-cta, .header-phone { display: none; }
  .header-actions { margin-left: auto; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    background: var(--ink); border-top: 1px solid var(--line-dark);
    padding: 16px 20px 28px; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a:not(.btn) { padding: 14px 4px; font-size: 1.125rem; border-bottom: 1px solid var(--line-dark); }
  .main-nav a:not(.btn)::after { display: none; }
  .nav-cta-mobile { display: flex; margin-top: 20px; width: 100%; }
}
@media (max-width: 420px) { .brand img { width: 184px; } .is-scrolled .brand img { width: 168px; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100svh, 860px);
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 48px) 0 88px;
  color: var(--white);
  background: var(--ink);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,22,20,.78) 0%, rgba(20,22,20,.35) 35%, rgba(20,22,20,.82) 78%, var(--ink) 100%),
    linear-gradient(90deg, rgba(20,22,20,.75) 0%, rgba(20,22,20,.1) 70%);
}
.hero-content { max-width: var(--container); }
.hero h1 {
  font-size: clamp(2.4rem, 1.4rem + 4.4vw, 4.5rem); font-weight: 800; line-height: 1.04;
  max-width: 15ch; margin-bottom: .45em; letter-spacing: -.02em;
}
.hero-lead { font-size: clamp(1.0625rem, 1rem + .4vw, 1.3rem); max-width: 60ch; color: #E6E8E2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-chips li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px;
  font-size: .9rem; font-weight: 600; background: rgba(20,22,20,.35);
}
.hero-chips li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.hero-note { margin: 18px 0 0; font-size: .9rem; color: var(--text-light-muted); }
.hero-note a { color: var(--lime); font-weight: 600; text-decoration: none; }
.hero-note a:hover { text-decoration: underline; }

/* ---------- Eyebrow & section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--lime-text); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow-light { color: var(--lime); }

.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.section-light { background: var(--stone); color: var(--text-dark); }
.section-dark { background: var(--ink); color: var(--text-light); }
.section-dark + .section-dark { background: var(--ink-2); }
.section-dark.section-alt { background: var(--ink-2); }
.section-alt + .section-dark { background: var(--ink); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-intro { font-size: 1.125rem; color: var(--text-dark-muted); }
.section-dark .section-intro { color: var(--text-light-muted); }

/* ---------- Leistungen / Bento ---------- */
.group-title {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.125rem; text-transform: uppercase; letter-spacing: .06em;
  margin: 0 0 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line-light);
}
.group-title span {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9px;
  background: var(--ink); color: var(--lime); font-size: .9375rem;
}
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 56px; }
.bento:last-child { margin-bottom: 0; }
.bento-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-light);
  transition: box-shadow .3s, transform .3s var(--ease);
}
.card:hover { box-shadow: 0 18px 40px -20px rgba(20,22,20,.35); transform: translateY(-2px); }
.card-media { aspect-ratio: 3 / 2; overflow: hidden; background: #ddd; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { position: relative; padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-body p { font-size: .975rem; color: var(--text-dark-muted); }
.card-icon {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--ink); color: var(--lime); margin-bottom: 16px; flex: none;
}
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.badge {
  position: absolute; top: 24px; right: 24px;
  padding: 3px 10px; border-radius: 999px; background: var(--lime); color: var(--ink);
  font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.card-link {
  margin-top: auto; align-self: flex-start; font-weight: 600; color: var(--ink); text-decoration: none;
  background: linear-gradient(var(--lime), var(--lime)) no-repeat left bottom / 0 2px;
  padding-bottom: 2px; transition: background-size .3s var(--ease);
}
.card:hover .card-link, .card-link:hover, .card-link:focus-visible { background-size: 100% 2px; }
.card-feature h3 { font-size: 1.5rem; }
.card-wide { grid-column: 1 / -1; flex-direction: row; }
.card-wide .card-media { flex: 0 0 48%; aspect-ratio: auto; min-height: 280px; }
.bento-4 .card-body { padding: 20px; }
.bento-4 .card-body p { font-size: .9375rem; }

@media (max-width: 1080px) { .bento-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
  .bento, .bento-4 { grid-template-columns: 1fr; }
  .card-wide { flex-direction: column; }
  .card-wide .card-media { flex: none; aspect-ratio: 3 / 2; min-height: 0; }
}

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: 28px 24px; border-radius: var(--radius);
  border: 1px solid var(--line-dark); background: var(--ink-2);
}
.step-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 2.25rem; color: var(--lime); line-height: 1; margin-bottom: 18px; }
.step::after {
  content: ""; position: absolute; top: 46px; right: -21px; width: 22px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--lime) 0 5px, transparent 5px 9px);
}
.step:last-child::after { display: none; }
.step p { color: var(--text-light-muted); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } .step::after { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.info-block {
  display: flex; gap: 20px; align-items: flex-start;
  margin-top: 32px; padding: 28px; border-radius: var(--radius);
  border: 1.5px solid var(--lime); background: rgba(141, 182, 60, .08);
}
.info-block h3 { color: var(--white); margin-bottom: .4em; }
.info-block p { margin: 0; color: var(--text-light); }
.info-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--lime); color: var(--ink); flex: none; }
.info-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.info-block-compact { padding: 22px; }
.info-block-compact p { font-size: .9375rem; }
@media (max-width: 520px) { .info-block { flex-direction: column; } }

/* ---------- Pflege- & Jahresverträge ---------- */
.contract-compare { display: grid; grid-template-columns: .9fr 1fr 1fr; gap: 20px; align-items: stretch; }
.savings {
  display: flex; flex-direction: column; justify-content: center;
  padding: 32px 28px; border-radius: var(--radius); background: var(--lime); color: var(--ink);
}
.savings-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(3rem, 2.2rem + 3vw, 4.5rem); line-height: 1; letter-spacing: -.03em; }
.savings-label { margin: 10px 0 16px; font-family: var(--font-head); font-weight: 700; font-size: 1.125rem; line-height: 1.3; }
.savings p:last-child { margin: 0; font-size: .9375rem; }
.compare-col { padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line-dark); background: var(--ink); }
.compare-col-best { border: 1.5px solid var(--lime); background: rgba(141, 182, 60, .08); }
.compare-col h3 { color: var(--white); }
.compare-tag { margin: 0 0 10px; font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-light-muted); }
.compare-col-best .compare-tag { color: var(--lime); }
.checklist li { position: relative; padding: 9px 0 9px 30px; border-bottom: 1px solid var(--line-dark); color: var(--text-light); font-size: .975rem; }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 20px; height: 20px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9' fill='none' stroke='%238DB63C' stroke-width='1.6'/%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%238DB63C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.checklist-muted li { color: var(--text-light-muted); }
.checklist-muted li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9' fill='none' stroke='%23B9BDB3' stroke-width='1.6'/%3E%3Cpath d='M6.5 10h7' stroke='%23B9BDB3' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }

.contract-details { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 56px); align-items: start; margin-top: clamp(40px, 5vw, 64px); }
.contract-text h3 { font-size: 1.5rem; color: var(--white); }
.contract-text p { color: var(--text-light-muted); }
.contract-aside { padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line-dark); background: var(--ink); display: flex; flex-direction: column; }
.contract-aside .card-icon { background: var(--ink-3); }
.contract-aside h3 { color: var(--white); }
.contract-aside > p { color: var(--text-light-muted); font-size: .975rem; }
.contract-aside .checklist { margin-bottom: 20px; }
.contract-aside .card-link { color: var(--white); }
.contract-aside:hover .card-link { background-size: 100% 2px; }

.contract-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap;
  margin-top: clamp(32px, 4vw, 48px); padding-top: 28px; border-top: 1px solid var(--line-dark);
}
.contract-cta p { margin: 0; max-width: 62ch; color: var(--text-light-muted); font-size: .9375rem; }
@media (max-width: 1000px) {
  .contract-compare { grid-template-columns: 1fr 1fr; }
  .savings { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .contract-compare, .contract-details { grid-template-columns: 1fr; }
  .contract-cta .btn { width: 100%; }
}

/* ---------- Bankverbindung ---------- */
.bank-holder { margin: 0 0 12px; font-size: .9375rem; color: var(--text-light-muted); }
.bank-list { display: grid; gap: 10px; }
.bank-item {
  display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 16px;
  border-radius: var(--radius-sm); background: var(--ink-2); border: 1px solid var(--line-dark);
}
.flag { width: 30px; height: 20px; flex: none; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.bank-info { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.4; }
.bank-name { font-size: .8125rem; color: var(--text-light-muted); }
.iban { font-family: ui-monospace, "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, monospace; font-size: .975rem; letter-spacing: .03em; color: var(--white); }
.iban-copy {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px;
  border-radius: 999px; border: 1.5px solid var(--line-dark); background: transparent; color: var(--text-light);
  font: 600 .8125rem var(--font-body); cursor: pointer; transition: border-color .2s, color .2s;
}
.iban-copy svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.iban-copy:hover, .iban-copy.is-copied { border-color: var(--lime); color: var(--lime); }
.contact-bank { margin-top: 20px; }
.contact-bank h3 { font-size: 1.125rem; color: var(--white); margin-bottom: .4em; }
.footer-bank { margin-top: 28px; max-width: 460px; }
.bank-light .bank-holder, .bank-light .bank-name { color: var(--text-dark-muted); }
.bank-light .bank-item { background: var(--white); border-color: var(--line-light); }
.bank-light .iban { color: var(--text-dark); }
.bank-light .iban-copy { color: var(--text-dark); border-color: #c9c6bc; }
.bank-light .iban-copy:hover, .bank-light .iban-copy.is-copied { color: var(--lime-text); border-color: var(--lime-text); }
.bank-light .flag { box-shadow: 0 0 0 1px rgba(20, 22, 20, .15); }
.legal .bank-list { list-style: none; padding: 0; }
.legal .bank-item { color: inherit; }
/* Schmale Spalten (Footer, Handy): Kopieren-Button unter die IBAN */
.footer-bank .bank-item { flex-wrap: wrap; }
.footer-bank .bank-info { flex-basis: calc(100% - 44px); }
.footer-bank .iban-copy { margin-left: 44px; }
@media (max-width: 420px) {
  .bank-item { flex-wrap: wrap; }
  .bank-info { flex-basis: calc(100% - 44px); }
  .iban-copy { margin-left: 44px; }
}

/* ---------- Werte ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding: 28px 24px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line-light); border-top: 3px solid var(--lime); }
.value p { margin: 0; color: var(--text-dark-muted); font-size: .975rem; }
@media (max-width: 1000px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* ---------- Einsatzgebiet ---------- */
.area { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.area-text > p { color: var(--text-light-muted); font-size: 1.0625rem; }
.area-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.area-lists h3 { font-size: 1rem; color: var(--lime); text-transform: uppercase; letter-spacing: .06em; }
.area-lists li { padding: 7px 0; border-bottom: 1px solid var(--line-dark); }
.area-map { margin: 0; padding: 20px; border-radius: var(--radius); background: var(--ink); border: 1px solid var(--line-dark); }
.area-map svg { width: 100%; height: auto; }
.map-ring { fill: rgba(141,182,60,.06); stroke: var(--lime); stroke-width: 1.5; stroke-dasharray: 6 7; }
.map-ring-inner { fill: none; stroke: rgba(255,255,255,.25); }
.map-border { fill: none; stroke: rgba(255,255,255,.3); stroke-width: 1.5; stroke-dasharray: 2 6; }
.map-country { fill: var(--text-light-muted); font: 600 13px var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.map-link { stroke: var(--white); stroke-width: 1.5; stroke-dasharray: 4 5; }
.map-pin path { fill: var(--ink); stroke: var(--white); stroke-width: 2.5; }
.map-pin circle { fill: var(--lime); }
.map-pin text { fill: var(--white); font: 800 20px var(--font-head); }
.map-ground { fill: none; stroke: var(--white); stroke-width: 2; }
.map-radius { fill: var(--lime); font: 600 14px var(--font-body); }
@media (max-width: 860px) { .area { grid-template-columns: 1fr; } }
@media (max-width: 400px) { .area-lists { grid-template-columns: 1fr; } }

/* ---------- Über uns ---------- */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
/* Logo-Karte: Foto hinten, Logo vorne, Animation beim Einblenden */
.about-visual {
  aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--ink);
  display: grid; place-items: center; padding: clamp(20px, 7%, 40px);
  position: relative; overflow: hidden; isolation: isolate;
  box-shadow: 0 30px 60px -30px rgba(20,22,20,.55);
}
.about-visual-bg {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; object-position: 58% 50%;
  transition: transform 2.6s var(--ease);
}
.js .about-media:not(.is-visible) .about-visual-bg { transform: scale(1.14); }
.about-visual:hover .about-visual-bg { transform: scale(1.04); }
.about-visual::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(90% 55% at 50% 62%, rgba(20,22,20,.55) 0%, rgba(20,22,20,0) 70%),
    linear-gradient(180deg, rgba(20,22,20,.62) 0%, rgba(20,22,20,.28) 42%, rgba(20,22,20,.9) 100%),
    linear-gradient(135deg, rgba(141,182,60,.22) 0%, rgba(141,182,60,0) 55%);
}
.about-visual::after { content: ""; position: absolute; inset: 14px; border: 1.5px solid rgba(255,255,255,.22); border-radius: 12px; pointer-events: none; }

.about-logo { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 6px 22px rgba(0,0,0,.55)); }
.about-logo text { font-family: 'Open Sans', 'Segoe UI', Arial, sans-serif; }
.lg-panel { fill: rgba(20,22,20,.8); }
.lg-stroke { fill: none; stroke: var(--white); stroke-width: 8; }
.lg-rule { stroke: var(--lime); stroke-width: 8; }
.lg-tree, .lg-sway { transform-box: view-box; transform-origin: 150px 270px; }
.lg-title, .lg-by, .lg-tagline { transform-box: fill-box; }
.lg-rule { transform-box: view-box; transform-origin: 50px 398px; }

.about-visual-shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.16) 50%, transparent 62%);
  transform: translateX(-120%);
}

/* Ablauf: Rahmen + Haus zeichnen sich, Baum wächst, Schrift erscheint, Lichtkante läuft drüber */
.js .about-media.is-visible .lg-frame,
.js .about-media.is-visible .lg-house,
.js .about-media.is-visible .lg-door { stroke-dasharray: 1; animation: lg-draw 1s var(--ease) both; }
.js .about-media.is-visible .lg-frame { animation-duration: 1.2s; animation-delay: .2s; }
.js .about-media.is-visible .lg-house { animation-delay: .5s; }
.js .about-media.is-visible .lg-door  { animation-duration: .5s; animation-delay: 1.15s; }
.js .about-media.is-visible .lg-panel { animation: lg-fade .8s ease both .6s; }
.js .about-media.is-visible .lg-tree  { animation: lg-grow .9s cubic-bezier(.34,1.56,.64,1) both .9s; }
.js .about-media.is-visible .lg-title { animation: lg-rise .7s var(--ease) both 1.2s; }
.js .about-media.is-visible .lg-rule  { animation: lg-line .6s var(--ease) both 1.45s; }
.js .about-media.is-visible .lg-by    { animation: lg-fade .5s ease both 1.7s; }
.js .about-media.is-visible .lg-tagline { animation: lg-rise .7s var(--ease) both 1.75s; }
.js .about-media.is-visible .about-visual-shine { animation: lg-shine 1.3s ease-in-out 2.4s both; }

@keyframes lg-draw  { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes lg-fade  { from { opacity: 0; } }
@keyframes lg-grow  { from { transform: scale(0); opacity: 0; } 40% { opacity: 1; } }
@keyframes lg-rise  { from { opacity: 0; transform: translateY(14px); } }
@keyframes lg-line  { from { transform: scaleX(0); } }
@keyframes lg-shine { from { transform: translateX(-120%); } to { transform: translateX(120%); } }

@media (prefers-reduced-motion: reduce) {
  .about-visual *, .about-visual-bg { animation: none !important; transition: none !important; }
  .about-visual-bg { transform: none !important; }
  .about-visual-shine { display: none; }
}
.about-text p { color: var(--text-dark-muted); }
.about-text strong { color: var(--text-dark); }
.about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 28px; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } .about-media { max-width: 420px; } }

/* ---------- Projekte (Vorher/Nachher) ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.ba-slider { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; }
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-slider::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--lime); pointer-events: none; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-label { position: absolute; top: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(20,22,20,.8); color: var(--white); font-size: .8125rem; font-weight: 600; }
.ba-label-before { left: 12px; } .ba-label-after { right: 12px; }
.ba-slider figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px; background: linear-gradient(transparent, rgba(20,22,20,.85)); color: var(--white); }

/* ---------- Bewertungen ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.review { margin: 0; padding: 24px; background: var(--white); border-radius: var(--radius); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line-dark); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-family: var(--font-head); font-weight: 700; font-size: 1.125rem; color: var(--white);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--lime);
  background: no-repeat center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%238DB63C' stroke-width='1.8'/%3E%3C/svg%3E");
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-light-muted); padding-bottom: 22px; margin: 0; max-width: 70ch; }
.faq details a { color: var(--lime); }

/* ---------- Karriere ---------- */
.career { background: var(--lime); color: var(--ink); padding: 40px 0; }
.career-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.career h2 { font-size: 1.5rem; margin-bottom: .25em; }
.career p { margin: 0; max-width: 60ch; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 4vw, 48px); align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.contact-card {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px;
  border-radius: var(--radius-sm); background: var(--ink-2); border: 1px solid var(--line-dark);
  text-decoration: none; transition: border-color .2s, background-color .2s;
}
.contact-card:hover { border-color: var(--lime); }
.contact-card .card-icon { margin: 0; width: 44px; height: 44px; background: var(--ink-3); }
.contact-card small { display: block; color: var(--text-light-muted); font-size: .8125rem; }
.contact-card strong { display: block; color: var(--white); font-weight: 600; overflow-wrap: anywhere; }
.contact-side .info-block { margin-top: 20px; }

.contact-form { background: var(--stone); color: var(--text-dark); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text-dark);
  padding: 12px 14px; border: 1.5px solid #c9c6bc; border-radius: 12px; background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime-text); box-shadow: 0 0 0 3px rgba(141,182,60,.35); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field-check { display: flex; gap: 12px; align-items: flex-start; }
.field-check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--lime-text); }
.field-check label { font-weight: 400; font-size: .9rem; margin: 0; }
.field-check a { color: var(--lime-text); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-fee { margin: 12px 0 0; font-size: .875rem; color: var(--text-dark-muted); text-align: center; }
.form-status { margin: 12px 0 0; font-weight: 600; min-height: 1.5em; }
.form-status.is-success { color: var(--lime-text); }
.form-status.is-error { color: #b3261e; }
.form-hint { margin: 0; font-size: .8125rem; color: var(--text-dark-muted); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--text-light-muted); padding: 72px 0 0; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 220px; margin-bottom: 20px; }
.footer-brand strong { color: var(--white); }
.footer-brand address { font-size: .9375rem; line-height: 1.8; }
.site-footer a { color: var(--text-light); text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.footer-title { font-size: 1rem; color: var(--white); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-list li { padding: 4px 0; font-size: .9375rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 48px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid var(--line-dark); font-size: .875rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile Sticky-Leiste ---------- */
.mobile-bar { display: none; }
@media (max-width: 768px) {
  body { padding-bottom: 68px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.2fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: rgba(20,22,20,.96); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line-dark);
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    gap: 8px;
  }
  .mobile-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-height: 52px; border-radius: 12px; color: var(--white); text-decoration: none;
    font-size: .8125rem; font-weight: 600;
  }
  .mobile-bar .icon { color: var(--lime); }
  .mobile-bar .mobile-bar-cta { background: var(--lime); color: var(--ink); }
  .mobile-bar .mobile-bar-cta .icon { color: var(--ink); }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Telefon-Auswahl (Anrufen / WhatsApp) ---------- */
.phone-choice { position: fixed; inset: 0; z-index: 150; }
.phone-choice-backdrop { position: absolute; inset: 0; }
.phone-choice-panel {
  position: fixed; width: 288px; max-width: calc(100vw - 16px);
  background: var(--ink-2); color: var(--text-light);
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
  padding: 14px 14px 12px;
  animation: phone-choice-in .18s var(--ease);
}
.phone-choice-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.phone-choice-title { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.3; }
.phone-choice-close {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; margin: -6px -6px -6px 0;
  border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--text-light-muted); cursor: pointer;
}
.phone-choice-close:hover { color: var(--white); background: var(--ink-3); }
.phone-choice-number { margin: 0 0 10px; font-size: .875rem; color: var(--text-light-muted); }
.phone-choice-option {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 12px 6px 6px;
  border-radius: var(--radius-sm); color: var(--white); text-decoration: none; font-weight: 600;
  transition: background-color .2s;
}
.phone-choice-option + .phone-choice-option { margin-top: 4px; }
.phone-choice-option:hover { background: var(--ink-3); }
.phone-choice-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 999px; background: var(--lime); color: var(--ink); }
.phone-choice-icon-wa { background: #25D366; }
@keyframes phone-choice-in { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 768px) {
  .phone-choice-backdrop { background: rgba(0, 0, 0, .5); }
  .phone-choice-panel {
    left: 0; right: 0; bottom: 0; width: auto; max-width: none;
    border-radius: var(--radius) var(--radius) 0 0; border-bottom: 0;
    padding: 18px 20px calc(18px + env(safe-area-inset-bottom));
    animation-name: phone-choice-up;
  }
  .phone-choice-option { min-height: 56px; font-size: 1.0625rem; }
  @keyframes phone-choice-up { from { transform: translateY(100%); } }
}
@media (prefers-reduced-motion: reduce) { .phone-choice-panel { animation: none; } }

/* ---------- Legal pages / 404 ---------- */
.page-hero { background: var(--ink); color: var(--white); padding: calc(var(--header-h) + 56px) 0 48px; }
.page-hero h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); font-weight: 800; margin: 0; hyphens: auto; overflow-wrap: break-word; }
.legal p { overflow-wrap: break-word; }
.legal { background: var(--stone); padding: 56px 0 88px; }
.legal .container { max-width: 860px; }
.legal h2 { font-size: 1.375rem; margin-top: 1.8em; }
.legal p, .legal li { color: var(--text-dark-muted); }
.legal ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.legal a { color: var(--lime-text); font-weight: 600; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0; }
.legal dt { font-weight: 600; }
.legal dd { margin: 0; color: var(--text-dark-muted); }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; gap: 0; } .legal dd { margin-bottom: 12px; } }
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; color: var(--text-light); padding: 120px 20px; }
.notfound .code { font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 18vw, 9rem); color: var(--lime); line-height: 1; margin: 0; }
.notfound .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }

/* ---------- Scroll reveal & motion ---------- */
/* --rd = Position innerhalb einer gleichzeitig sichtbaren Gruppe (setzt main.js) → versetztes Einblenden */
.js .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--rd, 0) * 90ms);
}
.js .reveal.reveal-left { transform: translateX(-28px); }
.js .reveal.reveal-right { transform: translateX(28px); }
.js .reveal.reveal-zoom { transform: scale(.94); }
.js .reveal.is-visible { opacity: 1; transform: none; }
/* Nach dem Einblenden: Hover wieder direkt und flott */
.js .reveal.reveal-done { transition: opacity .3s, transform .3s var(--ease), box-shadow .3s; }
.js .reveal.reveal-done, .js .reveal.reveal-done * { transition-delay: 0s !important; }

/* Header gleitet beim Laden herein */
.site-header { animation: header-in .8s var(--ease) backwards; }

/* Hero: Bild zoomt sanft, Überschrift Buchstabe für Buchstabe, danach der Rest */
.hero-bg { animation: hero-zoom 3s var(--ease) both; }
.hero .eyebrow { animation: rise .7s var(--ease) both .1s; }
.hero .eyebrow::before { transform-origin: left; animation: grow-x .7s var(--ease) both .3s; }
.js .hero h1:not(.is-split) { opacity: 0; animation: show-late 0s linear 1.2s forwards; }
.hero h1 .w { display: inline-block; white-space: nowrap; }
.hero h1 .ch {
  display: inline-block;
  animation: ch-in .8s cubic-bezier(.2, .8, .2, 1) both;
  animation-delay: calc(.3s + var(--i) * 24ms);
}
.hero-lead { animation: rise .8s var(--ease) both .95s; }
.hero-actions > * { animation: rise .7s var(--ease) both; }
.hero-actions > :nth-child(1) { animation-delay: 1.15s; }
.hero-actions > :nth-child(2) { animation-delay: 1.25s; }
.hero-actions > :nth-child(3) { animation-delay: 1.35s; }
.hero-chips li { animation: rise .6s var(--ease) both; }
.hero-chips li:nth-child(1) { animation-delay: 1.5s; }
.hero-chips li:nth-child(2) { animation-delay: 1.6s; }
.hero-chips li:nth-child(3) { animation-delay: 1.7s; }
.hero-chips li::before { animation: dot-pulse 2.8s ease-out infinite; }
.hero-chips li:nth-child(1)::before { animation-delay: 2.4s; }
.hero-chips li:nth-child(2)::before { animation-delay: 2.8s; }
.hero-chips li:nth-child(3)::before { animation-delay: 3.2s; }
.hero-note { animation: rise .7s var(--ease) both 1.85s; }

/* Buttons & Links */
.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.5) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn-primary:hover::after { transform: translateX(120%); transition: transform .7s ease; }
.hero .btn-primary::after { animation: btn-shine 6s ease-in-out 3s infinite; }
.card-link span[aria-hidden], .hero-note a span[aria-hidden] { display: inline-block; transition: transform .25s var(--ease); }
.card:hover .card-link span[aria-hidden], .contract-aside:hover .card-link span[aria-hidden],
.card-link:hover span[aria-hidden], .hero-note a:hover span[aria-hidden] { transform: translateX(5px); }
.contact-card .card-icon { transition: transform .3s var(--ease); }
.contact-card:hover .card-icon { transform: rotate(-8deg) scale(1.08); }

/* Überschriften: Wörter steigen aus einer Maske, Eyebrow-Linie wächst */
.split-words .wm { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.split-words .wi { display: inline-block; }
.js .reveal .split-words .wi { transform: translateY(110%); transition: transform .85s var(--ease); transition-delay: calc(.1s + var(--i) * 45ms); }
.js .reveal.is-visible .split-words .wi { transform: none; }
.js .reveal .eyebrow::before { transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease) .15s; }
.js .reveal.is-visible .eyebrow::before { transform: none; }

/* Karten: Bild zoomt hinein, Icon springt auf und zeichnet sich */
.js .reveal:not(.is-visible) .card-media img { transform: scale(1.14); }
.js .reveal .card-icon, .js .reveal .info-icon {
  opacity: 0; transform: scale(.55) rotate(-10deg);
  transition: opacity .35s ease, transform .6s cubic-bezier(.34, 1.56, .64, 1);
  transition-delay: calc(var(--rd, 0) * 90ms + .25s);
}
.js .reveal.is-visible .card-icon, .js .reveal.is-visible .info-icon { opacity: 1; transform: none; }
.js .reveal .card-icon svg > *, .js .reveal .info-icon svg > * {
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.1s var(--ease); transition-delay: calc(var(--rd, 0) * 90ms + .45s);
}
.js .reveal.is-visible .card-icon svg > *, .js .reveal.is-visible .info-icon svg > * { stroke-dashoffset: 0; }

/* Gruppen-Titel A/B: Buchstabe ploppt, grüne Linie wächst */
.group-title { position: relative; }
.group-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 72px; height: 2px; background: var(--lime); transform-origin: left; }
.js .group-title.reveal::after { transform: scaleX(0); transition: transform .8s var(--ease) .25s; }
.js .group-title.reveal.is-visible::after { transform: none; }
.js .group-title.reveal span { transform: scale(.4) rotate(-20deg); transition: transform .6s cubic-bezier(.34, 1.56, .64, 1) .15s; }
.js .group-title.reveal.is-visible span { transform: none; }

/* Listen: Punkte erscheinen nacheinander */
.js .reveal .checklist li, .js .reveal .area-lists li {
  opacity: 0; transform: translateX(-12px);
  transition: opacity .5s ease, transform .5s var(--ease);
  transition-delay: calc(var(--rd, 0) * 90ms + .25s + var(--li, 0) * 70ms);
}
.js .reveal.is-visible .checklist li, .js .reveal.is-visible .area-lists li { opacity: 1; transform: none; }

/* Ablauf: Nummer gleitet herein, Verbindungslinie zum nächsten Schritt wächst */
.js .step.reveal .step-num { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .6s var(--ease); transition-delay: calc(var(--rd, 0) * 90ms + .2s); }
.js .step.reveal.is-visible .step-num { opacity: 1; transform: none; }
.js .step.reveal::after { transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); transition-delay: calc(var(--rd, 0) * 90ms + .55s); }
.js .step.reveal.is-visible::after { transform: none; }

/* Ersparnis-Zahl: ruhige Breite beim Hochzählen */
.savings-num { font-variant-numeric: tabular-nums; }

/* Karte Einsatzgebiet: Ringe öffnen sich und drehen langsam, Pins fallen, Route läuft, Puls um Eupen */
.map-ring, .map-ring-inner, .map-pulse { transform-box: view-box; transform-origin: 230px 245px; }
.map-pulse { fill: none; stroke: var(--lime); stroke-width: 2; opacity: 0; }
.pin-drop { transform-box: fill-box; transform-origin: 50% 100%; }
.js .area-map.reveal:not(.is-visible) .map-ring,
.js .area-map.reveal:not(.is-visible) .map-ring-inner,
.js .area-map.reveal:not(.is-visible) .pin-drop,
.js .area-map.reveal:not(.is-visible) .map-country,
.js .area-map.reveal:not(.is-visible) .map-radius { opacity: 0; }
.area-map.is-visible .map-ring { animation: ring-in 1.2s var(--ease) both .2s, spin 70s linear 1.4s infinite; }
.area-map.is-visible .map-ring-inner { animation: ring-in 1.1s var(--ease) both .4s, spin 90s linear 1.5s infinite reverse; }
.area-map.is-visible .map-pulse { animation: pulse 2.8s ease-out 1.6s infinite; }
.area-map.is-visible .map-pin:nth-of-type(1) .pin-drop { animation: pin-drop .8s cubic-bezier(.3, 1.4, .5, 1) both .7s; }
.area-map.is-visible .map-pin:nth-of-type(2) .pin-drop { animation: pin-drop .8s cubic-bezier(.3, 1.4, .5, 1) both .95s; }
.area-map.is-visible .map-link { animation: march 1.1s linear infinite; }
.area-map.is-visible .map-country { animation: fade .8s ease both 1s; }
.area-map.is-visible .map-ground { stroke-dasharray: 1; animation: draw 1.4s var(--ease) both .3s; }
.area-map.is-visible .map-radius { animation: rise .6s var(--ease) both 1.4s; transform-box: fill-box; }

/* FAQ: Antwort gleitet beim Öffnen herein */
.faq details[open] > :not(summary) { animation: faq-open .45s var(--ease) both; }

@keyframes header-in { from { transform: translateY(-100%); } }
@keyframes hero-zoom { from { transform: scale(1.12); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes grow-x { from { transform: scaleX(0); } }
@keyframes show-late { to { opacity: 1; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes ch-in {
  0% { opacity: 0; transform: translateY(.6em) rotate(8deg); color: var(--lime); }
  55% { opacity: 1; transform: none; color: var(--lime); }
  100% { opacity: 1; transform: none; color: var(--white); }
}
@keyframes dot-pulse { 0% { box-shadow: 0 0 0 0 rgba(141, 182, 60, .65); } 70%, 100% { box-shadow: 0 0 0 8px rgba(141, 182, 60, 0); } }
@keyframes btn-shine { 0%, 75% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes ring-in { from { opacity: 0; transform: scale(.55); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { opacity: .9; transform: scale(.3); } 100% { opacity: 0; transform: scale(3.4); } }
@keyframes pin-drop { 0% { opacity: 0; transform: translateY(-40px); } 60% { opacity: 1; } 100% { transform: none; } }
@keyframes march { to { stroke-dashoffset: -18; } }
@keyframes faq-open { from { opacity: 0; transform: translateY(-8px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important; transition-delay: 0s !important;
    animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* Unterseiten: Header immer deckend */
.site-header-solid { background: rgba(20, 22, 20, .96); box-shadow: 0 1px 0 var(--line-dark); }

/* ---------- Mehrseitige Struktur ---------- */
/* Erster Abschnitt einer Unterseite: Platz für den fixen Header */
.page-first { padding-top: calc(var(--header-h) + clamp(48px, 6vw, 80px)); }
/* Seitentitel (H1) sieht aus wie die Abschnittsüberschriften (H2) der One-Page-Version */
h1.page-title { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); font-weight: 800; }
/* Aktive Seite im mobilen Menü (Desktop: Unterstrich über .is-active) */
@media (max-width: 1024px) { .main-nav a[aria-current="page"] { color: var(--lime); } }
/* "Alle Leistungen", "Alle Regionen" … unter einem Abschnitt der Startseite */
.section-more { margin: 40px 0 0; }
.area-text .section-more { margin-top: 28px; }
.bento + .section-more { margin-top: -16px; }
.contact-more .info-block { margin-top: 0; }

/* Regionen: Länder-Kennzeichnung über den Ortslisten */
.area-country { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-weight: 600; color: var(--white); }
.area-country .flag { width: 24px; height: 16px; }

/* Telefon: Deutschland ist Hauptnummer, weitere Nummern kleiner darunter */
.phone-secondary { font-size: .8125rem; }
.contact-card-secondary { padding: 10px 18px; }
.contact-card-secondary .card-icon { width: 36px; height: 36px; }
.contact-card-secondary .card-icon svg { width: 18px; height: 18px; }
.contact-card-secondary strong { font-size: .9375rem; }
/* Abschnitt behält den Grundton der One-Page-Version, auch direkt nach einem dunklen Abschnitt */
.section-dark.section-ink { background: var(--ink); }
