/* =========================================================
   Baumdienst BGL – Stylesheet 2026
   ========================================================= */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}

:root {
  --forest: #0c2318;
  --pine: #143a28;
  --moss: #2d6a4f;
  --leaf: #40916c;
  --fresh: #52b788;
  --sprout: #95d5b2;
  --mint: #d8f3dc;
  --cream: #f5f2e8;
  --paper: #fbfaf5;
  --bark: #6b4f3a;
  --amber: #f2a93b;
  --amber-d: #d98a12;
  --ink: #15241c;
  --muted: #55665c;
  --line: rgba(20, 58, 40, .12);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px -12px rgba(12, 35, 24, .25);
  --shadow-lg: 0 30px 60px -20px rgba(12, 35, 24, .35);
  --ease: cubic-bezier(.22, .8, .25, 1);
  --header-h: 84px;
}

*, *::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(--sans); font-size: 17px; line-height: 1.65;
  color: var(--ink); background: var(--paper); overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.i { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--forest); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.6em; border-radius: 999px; border: 2px solid transparent;
  font: 700 .98rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .7em 1.15em; font-size: .9rem; }
.btn-lg { padding: 1.1em 2em; font-size: 1.15rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--fresh); color: var(--forest); box-shadow: 0 10px 24px -10px rgba(82, 183, 136, .8); }
.btn-primary:hover { background: #63c796; }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-outline { border-color: var(--moss); color: var(--moss); background: transparent; }
.btn-outline:hover { background: var(--moss); color: #fff; }
.btn-light { background: #fff; color: var(--forest); }
.btn-amber { background: var(--amber); color: #2b1a00; box-shadow: 0 14px 30px -12px rgba(242, 169, 59, .9); }
.btn-amber:hover { background: #ffb84d; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font: 700 .78rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--leaf); margin-bottom: 1.1em;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

/* =========================================================
   INTRO
   ========================================================= */
#intro {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at 50% 70%, #eef6e9 0%, var(--cream) 55%, #ebe6d6 100%);
  transition: clip-path 1.1s cubic-bezier(.76, 0, .24, 1), opacity .6s;
  clip-path: inset(0 0 0 0);
}
html.no-intro #intro { display: none; }
html.intro-active { overflow: hidden; }
html.intro-active body { overflow: hidden; }
#intro.is-leaving { clip-path: inset(0 0 100% 0); }
.intro-glow {
  position: absolute; width: 70vmin; height: 70vmin; left: 50%; top: 42%; translate: -50% -50%;
  background: radial-gradient(circle, rgba(149, 213, 178, .55), transparent 65%);
  filter: blur(10px); opacity: 0; animation: glowIn 2.5s 1.2s var(--ease) forwards;
}
@keyframes glowIn { to { opacity: 1; } }
#intro-tree { width: min(56vmin, 460px); height: auto; aspect-ratio: 420 / 450; margin-top: -2vh; position: relative; overflow: visible; }
.intro-brand { position: relative; text-align: center; margin-top: 1.5vmin; display: flex; flex-direction: column; align-items: center; }
.intro-title, .intro-sub { opacity: 0; transform: translateY(16px); filter: blur(6px); transition: all 1s var(--ease); }
.intro-title {
  font-family: var(--serif); font-weight: 600; color: var(--forest);
  font-size: clamp(2.2rem, 6.5vmin, 4.2rem); letter-spacing: -.015em; line-height: 1;
}
.intro-title b { font-weight: 700; font-style: italic; color: var(--leaf); }
.intro-sub {
  display: flex; align-items: center; gap: .9em;
  margin-top: .9em; font: 700 clamp(.7rem, 1.8vmin, .95rem)/1 var(--sans); letter-spacing: .32em; text-transform: uppercase;
  color: var(--bark); transition-delay: .25s;
}
.intro-sub::before, .intro-sub::after { content: ""; width: 2.2em; height: 1.5px; background: var(--fresh); }
#intro.show-brand .intro-title, #intro.show-brand .intro-sub { opacity: 1; transform: none; filter: none; }
.intro-skip {
  position: absolute; right: 24px; bottom: 24px; background: transparent; border: 1px solid rgba(20, 58, 40, .25);
  color: var(--pine); font: 600 .85rem/1 var(--sans); padding: .8em 1.2em; border-radius: 999px; cursor: pointer;
  transition: background .2s;
}
.intro-skip:hover { background: rgba(20, 58, 40, .08); }
.falling-leaf {
  position: absolute; width: 14px; height: 9px; border-radius: 0 100% 0 100%;
  background: var(--fresh); pointer-events: none; opacity: .9;
}

/* =========================================================
   HEADER
   ========================================================= */
.topbar { background: var(--forest); color: #cfe5d6; font-size: .84rem; }
.topbar-inner { display: flex; gap: 28px; align-items: center; justify-content: flex-end; min-height: 40px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: .5em; text-decoration: none; }
.topbar-item:first-child { margin-right: auto; }
a.topbar-item:hover { color: #fff; }
.topbar-alert { color: var(--amber); font-weight: 700; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(242, 169, 59, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(242, 169, 59, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 169, 59, 0); } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 250, 245, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px -18px rgba(12, 35, 24, .4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
/* ---------- Logo ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--forest); }
.brand-mark { width: 54px; height: 54px; flex: none; transition: width .3s, height .3s, transform .6s var(--ease); filter: drop-shadow(0 6px 12px rgba(12, 35, 24, .22)); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.04); }
.site-header.scrolled .brand-mark { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.55rem; letter-spacing: -.015em; white-space: nowrap; }
.brand-name b {
  font-weight: 700; font-style: italic; color: var(--leaf); margin-left: .05em;
}
.brand-tag {
  margin-top: 6px; font: 700 .62rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--bark);
  white-space: nowrap; text-align: justify; text-align-last: justify; margin-right: -.16em;
}
.brand--light { color: #fff; }
.brand--light .brand-name b { color: var(--sprout); }
.brand--light .brand-tag { color: #a9c8b5; }
.brand--light .brand-mark { width: 62px; height: 62px; filter: none; box-shadow: 0 0 0 2px rgba(149, 213, 178, .25); border-radius: 50%; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a:not(.btn) {
  text-decoration: none; font-weight: 600; font-size: .95rem; padding: .55em .85em; border-radius: 999px; color: var(--pine);
  position: relative; transition: background .2s, color .2s;
}
.main-nav a:not(.btn):hover, .main-nav a.active { background: var(--mint); color: var(--forest); }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--mint); cursor: pointer; padding: 12px; }
.nav-toggle span { display: block; height: 2px; background: var(--forest); border-radius: 2px; margin: 4px 0; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: calc(100vh - var(--header-h) - 40px); min-height: calc(100svh - var(--header-h) - 40px);
  display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--forest); isolation: isolate;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url("../img/slide3.jpg") center / cover no-repeat; background-size: cover; background-position: center; z-index: -2; transform: scale(1.08); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 80% 40%, rgba(82, 183, 136, .25), transparent 55%),
    linear-gradient(100deg, rgba(8, 26, 17, .96) 0%, rgba(12, 35, 24, .9) 42%, rgba(12, 35, 24, .6) 100%);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 70px 0 90px; }
.hero .eyebrow { color: var(--sprout); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.9rem); font-weight: 600; line-height: 1.02; margin-bottom: .45em; }
.hero h1 .accent { font-style: italic; color: var(--sprout); font-weight: 500; }
.hero .lead { font-size: 1.12rem; color: #d4e6da; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 40px; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; gap: 36px; flex-wrap: wrap; }
.hero-facts li { display: flex; flex-direction: column; padding-left: 16px; border-left: 2px solid rgba(149, 213, 178, .4); }
.hero-facts strong { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; color: #fff; line-height: 1.1; }
.hero-facts span { font-size: .85rem; color: #a9c8b5; }

.hero-art { position: relative; }
#hero-tree { width: min(100%, 440px); margin-inline: auto; height: auto; aspect-ratio: 420 / 450; overflow: visible; }
#hero-tree .lt-halo { opacity: .22; }
#hero-tree .lt-ground { stroke: var(--sprout); opacity: .6; }
#hero-tree .lt-soil path:first-child { opacity: .15 !important; }
#hero-tree .lt-roots { opacity: .35; }
#hero-tree .lt-tree { transform-origin: 50% 89%; transform-box: view-box; animation: sway 6s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-1.2deg); } to { transform: rotate(1.2deg); } }
.float-card {
  position: absolute; display: flex; gap: 12px; align-items: center;
  background: rgba(255, 255, 255, .1); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-lg);
  animation: floaty 6s ease-in-out infinite;
}
.float-card .i { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--fresh); color: var(--forest); }
.float-card strong { display: block; font-size: .95rem; }
.float-card span { font-size: .8rem; color: #c3dccc; }
.fc-1 { left: -10px; top: 18%; }
.fc-2 { right: 0; bottom: 14%; animation-delay: -3s; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

.scroll-hint { position: absolute; left: 50%; bottom: 24px; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 20px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--fresh); color: var(--forest); overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; font-style: italic; padding: 0 28px; white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee span::after { content: "✦"; font-style: normal; font-size: .8em; color: var(--pine); margin-left: 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: clamp(80px, 10vw, 130px) 0; position: relative; }
.section-head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; }

/* ---------- Über uns ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px 120px; gap: 16px; }
.about-media figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.about-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.about-media figure:hover img { transform: scale(1.05); }
.am-1 { grid-row: 1 / 3; }
.am-2 { grid-row: 1 / 2; }
.am-3 { grid-row: 2 / 4; }
.about-badge {
  position: absolute; left: 14%; bottom: 0; width: 130px; height: 130px; border-radius: 50%;
  background: var(--forest); color: #fff; display: grid; place-content: center; text-align: center;
  border: 6px solid var(--paper); box-shadow: var(--shadow-lg);
}
.about-badge span { font-size: .78rem; text-transform: uppercase; letter-spacing: .2em; color: var(--sprout); }
.about-badge strong { font-family: var(--serif); font-size: 2.2rem; line-height: 1; }
.about-copy > p { color: #34463b; }
.checklist { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 36px; font-weight: 600; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d6a4f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.equipment { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.equipment div {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  padding: 16px 8px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  font-size: .85rem; font-weight: 700; color: var(--pine);
}
.equipment .i { width: 30px; height: 30px; color: var(--leaf); }

/* ---------- Leistungen ---------- */
.services { background: var(--cream); }
.services::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(45, 106, 79, .12) 1px, transparent 1px); background-size: 22px 22px;
}
.service-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  background: #fff; border-radius: var(--radius-lg); padding: 32px 30px 28px; border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; position: relative; overflow: hidden;
}
.service-card::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 140px; height: 140px; border-radius: 50%;
  background: var(--mint); opacity: 0; transition: opacity .4s, transform .6s var(--ease); transform: scale(.6);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::after { opacity: .7; transform: scale(1); }
.service-card > * { position: relative; z-index: 1; }
.sc-icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(140deg, var(--moss), var(--forest)); color: var(--sprout);
  transition: transform .4s var(--ease);
}
.service-card:hover .sc-icon { transform: rotate(-6deg) scale(1.06); }
.sc-icon .i { width: 28px; height: 28px; }
.service-card p { color: var(--muted); font-size: .97rem; }
.tags { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .76rem; font-weight: 700; color: var(--moss); background: #eef7f0; padding: .38em .8em; border-radius: 999px; }
.service-cta { background: linear-gradient(150deg, var(--moss), var(--forest)); color: #fff; display: flex; flex-direction: column; justify-content: center; border: 0; }
.service-cta p { color: #cfe5d6; }
.service-cta .btn { align-self: flex-start; margin-top: 8px; }
.service-cta::after { background: rgba(255, 255, 255, .08); }

/* ---------- Notdienst ---------- */
.emergency { background: var(--forest); color: #fff; padding: 56px 0; position: relative; overflow: hidden; }
.emergency::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(242, 169, 59, .06) 0 18px, transparent 18px 36px);
}
.emergency-inner { position: relative; display: flex; align-items: center; gap: 36px; }
.em-badge {
  flex: none; width: 118px; height: 118px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: var(--amber); color: #2b1a00; box-shadow: 0 0 0 10px rgba(242, 169, 59, .18), 0 0 0 22px rgba(242, 169, 59, .08);
  animation: emPulse 2.4s ease-in-out infinite;
}
@keyframes emPulse { 50% { box-shadow: 0 0 0 14px rgba(242, 169, 59, .22), 0 0 0 30px rgba(242, 169, 59, .06); } }
.em-badge strong { font-family: var(--serif); font-size: 2.4rem; line-height: 1; }
.em-badge span { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.em-copy { flex: 1; }
.em-copy h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: .3em; }
.em-copy p { margin: 0; color: #c6dccd; }

/* ---------- Ablauf ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 34px; height: 2px; background: repeating-linear-gradient(90deg, var(--sprout) 0 10px, transparent 10px 18px); }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; }
.step-no {
  display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; margin: -60px 0 18px;
  background: var(--paper); border: 2px solid var(--fresh); color: var(--moss); font: 600 1.4rem/1 var(--serif);
}
.steps li:hover .step-no { background: var(--fresh); color: var(--forest); }
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }
.process .steps { margin-top: 40px; }

/* ---------- Galerie ---------- */
.gallery { background: var(--cream); }
.gallery-grid { columns: 4 240px; column-gap: 14px; }
.g-item {
  display: block; width: 100%; margin: 0 0 14px; break-inside: avoid; border: 0; padding: 0; cursor: zoom-in;
  border-radius: var(--radius); overflow: hidden; position: relative; background: #dfe8de;
}
.g-item img { width: 100%; height: auto; transition: transform .7s var(--ease), filter .4s; }
.g-item::after {
  content: "+"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 2.4rem; font-weight: 300;
  background: rgba(12, 35, 24, .45); opacity: 0; transition: opacity .35s;
}
.g-item:hover img { transform: scale(1.06); }
.g-item:hover::after, .g-item:focus-visible::after { opacity: 1; }
.g-item.is-hidden { display: none; }
.gallery-more { text-align: center; margin-top: 24px; }
.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 60px; }
.videos figure { margin: 0; }
.videos video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); background: var(--forest); box-shadow: var(--shadow); }
.videos figcaption { margin-top: 10px; font-weight: 700; color: var(--moss); font-size: .9rem; }

.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(6, 18, 12, .94); display: grid; place-items: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: lbIn .35s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; transition: background .2s; }
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; translate: 0 -50%; }
.lb-next { right: 12px; top: 50%; translate: 0 -50%; }
.lb-count { position: absolute; bottom: 18px; left: 50%; translate: -50% 0; color: #cfe5d6; font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq-intro { position: sticky; top: calc(var(--header-h) + 30px); }
.faq-intro p { color: var(--muted); }
.faq-list { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 36px 22px 0; font-weight: 700; font-size: 1.05rem; position: relative; color: var(--pine);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d6a4f' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ---------- Kontakt ---------- */
.contact { background: linear-gradient(180deg, var(--paper), var(--cream)); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-info > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.contact-list .i { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--mint); color: var(--moss); }
.contact-list span:first-child { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.contact-list a, .contact-list .val { font-weight: 700; font-size: 1.05rem; text-decoration: none; color: var(--forest); }
.contact-list a:hover { color: var(--leaf); }

.contact-form { background: var(--forest); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-lg); display: grid; gap: 16px; }
.contact-form h3 { font-size: 1.7rem; margin-bottom: .2em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 700; color: #cfe5d6; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; font: 500 1rem var(--sans); color: #fff; background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; padding: .85em 1em; transition: border-color .2s, background .2s;
}
.contact-form select option { color: var(--ink); }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--fresh); background: rgba(255, 255, 255, .11); }
.contact-form ::placeholder { color: rgba(207, 229, 214, .5); }
.contact-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: .85rem; line-height: 1.5; }
.contact-form .check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--fresh); flex: none; }
.contact-form .check a { color: var(--sprout); }
.contact-form .invalid { border-color: #f08a7a !important; }
.form-note { margin: 0; font-size: .85rem; color: #a9c8b5; text-align: center; }
.form-note.error { color: #ffb3a6; }
.form-note.success { color: var(--sprout); font-weight: 700; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Spamschutz: alles in einer Zeile, Zahlen hervorgehoben */
.captcha {
  display: flex; align-items: center; gap: 10px; flex-wrap: nowrap;
  padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px dashed rgba(149, 213, 178, .4);
}
.contact-form .captcha-label {
  display: inline-flex; align-items: center; gap: 7px; margin-right: auto;
  font-size: .9rem; font-weight: 700; color: #cfe5d6; white-space: nowrap;
}
.captcha-label .i { width: 22px; height: 22px; color: var(--sprout); }
.captcha-task { display: inline-flex; align-items: center; gap: 7px; flex: none; }
.captcha-task b {
  display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 6px; border-radius: 10px;
  background: var(--fresh); color: var(--forest); font: 800 1.35rem/1 var(--sans);
  box-shadow: inset 0 -3px 0 rgba(12, 35, 24, .18);
}
.captcha-task i { font: 800 1.35rem/1 var(--sans); font-style: normal; color: var(--sprout); }
.contact-form .captcha input {
  width: 68px; flex: none; height: 40px; padding: 0 6px; text-align: center;
  font: 800 1.3rem/1 var(--sans); color: #fff; -moz-appearance: textfield; appearance: textfield;
}
.captcha input::-webkit-outer-spin-button, .captcha input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.captcha-new {
  width: 40px; height: 40px; flex: none; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .07);
  color: #cfe5d6; font-size: 1.3rem; cursor: pointer; transition: background .2s, transform .4s var(--ease);
}
.captcha-new:hover { background: rgba(255, 255, 255, .14); transform: rotate(90deg); }
.contact-form button[disabled] { opacity: .6; cursor: wait; transform: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: #b9d2c1; position: relative; padding-top: 70px; margin-top: 60px; }
.footer-wave { position: absolute; top: -79px; left: 0; width: 100%; height: 80px; fill: var(--forest); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr .8fr; gap: 40px; padding-bottom: 50px; }
.footer-brand .brand { margin-bottom: 20px; }
.footer-brand .brand-name { font-size: 1.7rem; }
.site-footer h4 { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; color: #fff; margin-bottom: 1.2em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .95rem; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--sprout); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0 28px; font-size: .85rem; }

.fab-call {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  display: none; place-items: center; background: var(--amber); color: #2b1a00; box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .4);
  animation: emPulse 2.4s ease-in-out infinite;
}
.fab-call .i { width: 26px; height: 26px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
html.intro-active .hero .reveal { transition-delay: 0s !important; }

/* =========================================================
   Unterseiten (Impressum / Datenschutz)
   ========================================================= */
.page-hero { background: var(--forest); color: #fff; padding: 80px 0 70px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(82, 183, 136, .35), transparent 70%); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 0; }
.page-hero .eyebrow { color: var(--sprout); }
.legal { padding: 70px 0 40px; }
.legal .container { max-width: 860px; }
.legal h2 { font-size: 1.6rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.15rem; margin-top: 1.4em; }
.legal p, .legal li { color: #34463b; }
.legal .card > h2:first-child { margin-top: 0; }
.legal .stand { color: var(--muted); font-size: .9rem; }
.legal .card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 34px; }
.legal a { color: var(--moss); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 60px; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav a:not(.btn) { padding: .55em .6em; }
}
@media (max-width: 920px) {
  :root { --header-h: 72px; }
  .site-header .brand-mark { width: 44px; height: 44px; }
  .site-header .brand-name { font-size: 1.3rem; }
  .site-header .brand-tag { font-size: .55rem; letter-spacing: .2em; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: calc(var(--header-h) + 40px) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--paper); padding: 16px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .3s var(--ease);
  }
  .site-header.scrolled .main-nav { top: var(--header-h); }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a:not(.btn) { padding: .9em 1em; font-size: 1.05rem; }
  .nav-cta { margin: 10px 0 0; }
  .hero-inner { grid-template-columns: 1fr; padding: 50px 0 80px; }
  .hero-art { max-width: 460px; margin: 0 auto; width: 100%; }
  .about-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .emergency-inner { flex-direction: column; text-align: center; }
  .fab-call { display: grid; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .topbar-item:not(.topbar-alert) { display: none; }
  .topbar-inner { justify-content: center; }
  .service-grid, .steps, .videos, .form-row { grid-template-columns: 1fr; }
  .about-media { grid-template-rows: 160px 160px 90px; gap: 10px; }
  .about-badge { width: 100px; height: 100px; }
  .about-badge strong { font-size: 1.7rem; }
  .equipment { grid-template-columns: repeat(2, 1fr); }
  .hero-facts { gap: 20px; }
  .fc-1 { left: 0; top: 6%; }
  .float-card { padding: 10px 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .lightbox { padding: 60px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 8px; translate: none; }
  .gallery-grid { columns: 2; column-gap: 10px; }
  .g-item { margin-bottom: 10px; }
  .captcha { gap: 7px; padding: 8px 10px; }
  .captcha-task { gap: 5px; }
  .captcha-task b { min-width: 34px; height: 36px; font-size: 1.2rem; }
  .captcha-task i { font-size: 1.15rem; }
  .contact-form .captcha input { width: 58px; height: 36px; font-size: 1.15rem; }
  .captcha-new { width: 36px; height: 36px; }
}
@media (max-width: 400px) {
  /* Nur das Schild-Symbol zeigen, Text bleibt für Screenreader */
  .captcha-label span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

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