/* ============================================================
   ASTECH Sicherheitstechnik — V5 „Premium Craft"
   Anthrazit/Greige/Bone, scrollender Hintergrund-Verlauf,
   Clash Display + Satoshi (Fontshare), Bronze-Akzent.
   Kein Schwarz, kein Neon, kein 3D — Art Direction statt Effekt.
   ============================================================ */

:root {
  /* Dunkle Töne (nie #000) */
  --g-hero: #191b1e;
  --g-trust: #1f2226;
  --g-serv: #2a2e34;
  --g-steps: #262a30;
  --g-fields: #1c1e21;
  --g-contact: #15171a;

  /* Helle Töne */
  --bone: #e9e4d9;
  --bone-2: #e2dccd;

  /* Text auf dunkel */
  --ink: #ece7dd;
  --ink-mut: rgba(236, 231, 221, 0.62);
  --hair: rgba(236, 231, 221, 0.13);

  /* Text auf hell */
  --ink-l: #211f1b;
  --ink-l-mut: #5d574d;
  --hair-l: rgba(33, 31, 27, 0.16);

  /* EIN Akzent: gedämpftes Bronze */
  --bronze: #b8894f;
  --bronze-deep: #7a5527; /* AA auf Bone */

  --font: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Clash Display", var(--font);
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, monospace;

  --pad: clamp(1.25rem, 4vw, 4.5rem);
  --ease: cubic-bezier(0.22, 0.08, 0.18, 1);
}

/* ---------- Seitenwechsel: weicher Crossfade (MPA View Transitions) ----------
   @view-transition muss top-level stehen (Chrome parst es nicht in @media);
   reduced motion schaltet stattdessen die Animationen ab → instant. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut 0.35s var(--ease) both; }
::view-transition-new(root) { animation: vtIn 0.55s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--g-hero); /* JS interpoliert beim Scrollen */
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* Film-Grain — sehr dezent, über allem, klickt nicht */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.045;
}

img { display: block; max-width: 100%; height: auto; }
a, button { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--bronze); color: #1a160f; }

:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: fixed; top: -100%; left: 1rem; z-index: 3000;
  padding: 0.7rem 1.2rem; background: var(--bone); color: var(--ink-l);
  font-weight: 500; border-radius: 0 0 8px 8px; transition: top 0.2s;
}
.skip:focus-visible { top: 0; }

.mono {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Sektionen liegen transparent auf dem interpolierten Body-Grund */
main > section { position: relative; background: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), background-color 0.3s, border-color 0.3s, color 0.3s;
}
.btn--accent { background: var(--bronze); color: #1c1610; }
.btn--accent:hover { background: #c99a5f; transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--hair); color: var(--ink); }
.btn--ghost:hover { border-color: var(--bronze); color: var(--bronze); transform: translateY(-2px); }

/* ---------- Navigation ----------
   Oben: transparent über dem Hero-Bild. Beim Scrollen: Glas-Panel.
   Innenkanten fluchten mit der 1280px-Inhaltsspalte. */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem calc(max((100% - 1280px) / 2, 0px) + var(--pad));
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: padding 0.45s var(--ease), background-color 0.45s var(--ease), border-color 0.45s var(--ease);
}
.nav--solid, html:not(.js) .nav {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  background: rgba(23, 24, 27, 0.78);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(236, 231, 221, 0.07);
}
.nav__logo {
  display: flex;
  align-items: center;
  justify-self: start;
  transition: transform 0.25s var(--ease), opacity 0.25s;
}
.nav__logo:hover { transform: translateY(-1px); opacity: 0.88; }
.nav__logo img { height: 46px; width: auto; display: block; }
.nav__links { display: flex; align-items: center; gap: 2.2rem; justify-self: center; }
.nav__links a, .dd__btn {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mut);
  transition: color 0.25s;
}
.nav__links a:hover { color: var(--ink); }
/* Animierter Unterstrich — nur direkte Nav-Links, nicht das Dropdown */
.nav__links > a, .dd__btn { position: relative; padding: 0.35rem 0; }
.nav__links > a::after, .dd__btn::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__links > a:hover::after,
.ddwrap:hover .dd__btn::after,
.ddwrap:focus-within .dd__btn::after { transform: scaleX(1); }
.nav__meta { display: flex; align-items: center; gap: 1.3rem; justify-self: end; }
.nav__tel { color: var(--ink-mut); font-size: 0.68rem; white-space: nowrap; transition: color 0.25s; }
.nav__tel:hover { color: var(--ink); }
.nav__cta {
  white-space: nowrap;
  padding: 0.85rem 1.6rem;
  background: var(--bronze);
  border: 1px solid var(--bronze);
  color: #1c1610;
}
.nav__cta:hover {
  background: #c99a5f;
  border-color: #c99a5f;
  transform: none;
}
.nav__toggle {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; width: 44px; height: 44px; flex: 0 0 auto;
  border: 1px solid var(--hair); border-radius: 2px;
}
.nav__toggle span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform 0.3s var(--ease); }
body.nav-open .nav__toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
body.nav-open .nav__toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Mega-Menü „Leistungen" — zentriert, groß, faltet smooth auf */
.ddwrap { position: static; }
.ddwrap:hover .dd__btn, .ddwrap:focus-within .dd__btn, .ddwrap.is-open .dd__btn { color: var(--ink); }
.dd__btn span { display: inline-block; font-size: 0.68em; transition: transform 0.3s var(--ease); }
.ddwrap:is(:focus-within, .is-open) .dd__btn span { transform: rotate(180deg); }
.dd {
  position: absolute; top: 100%; left: 50%;
  width: min(1120px, calc(100vw - 2 * var(--pad)));
  padding-top: 12px; /* Hover-Brücke */
  transform: translateX(-50%) translateY(10px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), transform 0.5s var(--ease), visibility 0s 0.5s;
}
.ddwrap:is(:focus-within, .is-open) .dd {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}
.dd__panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 16.5rem;
  gap: 2rem 2.2rem;
  padding: 2.3rem 2.5rem 2.5rem;
  background: rgba(26, 27, 30, 0.97);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid rgba(236, 231, 221, 0.09);
  border-radius: 16px;
  box-shadow: 0 44px 90px -30px rgba(0, 0, 0, 0.6);
  clip-path: inset(0 0 16% 0 round 16px);
  transition: clip-path 0.55s var(--ease);
}
.ddwrap:is(:focus-within, .is-open) .dd__panel { clip-path: inset(0 0 0 0 round 16px); }
.dd__group, .dd__side {
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.ddwrap:is(:focus-within, .is-open) :is(.dd__group, .dd__side) { opacity: 1; transform: none; }
.ddwrap:is(:focus-within, .is-open) .dd__group:nth-of-type(2) { transition-delay: 0.06s; }
.ddwrap:is(:focus-within, .is-open) .dd__group:nth-of-type(3) { transition-delay: 0.12s; }
.ddwrap:is(:focus-within, .is-open) .dd__group:nth-of-type(4) { transition-delay: 0.18s; }
.ddwrap:is(:focus-within, .is-open) .dd__side { transition-delay: 0.24s; }
.dd__head {
  display: block;
  color: rgba(236, 231, 221, 0.45);
  font-size: 0.6rem;
  margin-bottom: 1rem;
}
.dd__group a {
  display: block; padding: 0.42rem 0;
  font-size: 0.98rem; font-weight: 500;
  letter-spacing: 0; text-transform: none;
  color: var(--ink-mut);
  transition: color 0.2s, padding-left 0.25s var(--ease);
}
.dd__group a:hover { color: var(--ink); padding-left: 0.4rem; }
.dd__side {
  border-left: 1px solid var(--hair);
  padding-left: 2.2rem;
  display: flex; flex-direction: column; gap: 0.9rem;
}
.dd__side .dd__head { margin-bottom: 0.1rem; }
a.dd__card {
  display: block; padding: 1.05rem 1.15rem;
  background: rgba(236, 231, 221, 0.05);
  border: 1px solid transparent;
  border-radius: 10px;
  letter-spacing: 0; text-transform: none;
  transition: background-color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
a.dd__card strong { display: block; font-size: 0.95rem; font-weight: 600; color: var(--ink); margin-bottom: 0.25rem; }
a.dd__card p { font-size: 0.8rem; line-height: 1.5; color: var(--ink-mut); }
a.dd__card:hover { background: rgba(236, 231, 221, 0.08); border-color: rgba(184, 137, 79, 0.35); transform: translateY(-2px); }
/* Hover öffnet nur auf echten Hover-Geräten (iPad-Sticky-Hover hielt das Panel offen) */
@media (hover: hover) {
  .ddwrap:hover .dd__btn { color: var(--ink); }
  .ddwrap:hover .dd__btn span { transform: rotate(180deg); }
  .ddwrap:hover .dd {
    opacity: 1; visibility: visible;
    transform: translateX(-50%) translateY(0);
    transition-delay: 0s;
  }
  .ddwrap:hover .dd__panel { clip-path: inset(0 0 0 0 round 16px); }
  .ddwrap:hover :is(.dd__group, .dd__side) { opacity: 1; transform: none; }
  .ddwrap:hover .dd__group:nth-of-type(2) { transition-delay: 0.06s; }
  .ddwrap:hover .dd__group:nth-of-type(3) { transition-delay: 0.12s; }
  .ddwrap:hover .dd__group:nth-of-type(4) { transition-delay: 0.18s; }
  .ddwrap:hover .dd__side { transition-delay: 0.24s; }
}

/* ============================================================
   HERO — echtes Bild, Dolly-Zoom, Duotone-Grade
   ============================================================ */
.hero {
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
/* Ambient-Drift lebt auf dem Container, der Dolly-Scale auf dem <img> —
   so kollidieren die zwei Bewegungen nicht */
.hero__media { position: absolute; inset: -3%; will-change: transform; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 34% 46%;       /* Dome-Kamera bleibt auch im Portrait-Crop im Bild */
  transform: scale(1.06);
  transform-origin: 34% 50%;      /* Dolly fährt in die Dome-Linse */
  /* Look des Kunden-Renders unangetastet — Scrim/Grain/Vignette liegen als Layer darüber */
  filter: none;
  will-change: transform;
}
/* Text-Lesbarkeit: dunkler Auslauf unten/links + weicher Übergang in den Seitengrund */
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 20, 23, 0.55) 0%, rgba(18, 20, 23, 0.1) 24%, rgba(18, 20, 23, 0.52) 60%, rgba(18, 20, 23, 0.92) 100%),
    linear-gradient(78deg, rgba(18, 20, 23, 0.88) 2%, rgba(18, 20, 23, 0.42) 32%, transparent 58%);
}
/* Vordergrund-Vignette (parallaxt gegen das Bild → Kino-Tiefe) */
.hero__vignette {
  position: absolute; inset: -8%; z-index: 1;
  pointer-events: none;
  background: radial-gradient(122% 104% at 56% 42%, transparent 42%, rgba(14, 15, 17, 0.42) 80%, rgba(14, 15, 17, 0.8) 100%);
  will-change: transform;
}
/* Feines Film-Grain */
.hero__grain {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}
.hero__shade {
  position: absolute; inset: 0; z-index: 2;
  background: var(--g-hero);
  opacity: 0;
  pointer-events: none;
}
/* Marken-Tafel: echtes Kundenlogo (weißer Grund) als montiertes Schild
   in der rechten, ruhigen Hero-Hälfte */
/* Tafel ausgeblendet: das Kunden-Render (hero-v2) trägt Logo + Siegel bereits
   auf der Kamera — die Tafel verdeckte nur den App-Screen im Bild.
   Reaktivieren: display-Zeile entfernen. */
.hero__logo {
  display: none;
  position: absolute;
  right: calc(max((100% - 1280px) / 2, 0px) + var(--pad));
  top: 26%;
  z-index: 3;
  width: min(30vw, 440px);
  padding: clamp(1.1rem, 2vw, 1.9rem) clamp(1.3rem, 2.4vw, 2.3rem);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 46px 90px -32px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.hero__logo img { width: 100%; height: auto; display: block; }

.hero__content {
  position: relative; z-index: 3;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--pad) clamp(3.5rem, 9vh, 6.5rem);
}
.hero__eyebrow { color: var(--bronze); margin-bottom: 1.3rem; }
.hero__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.9rem, 7.6vw, 6.4rem);
  line-height: 1.01;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 1.4rem;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line__inner { display: block; }

/* Hero-Entrance rein per CSS — GSAP fasst line__inner/heroFades bewusst NICHT
   an, sonst setzt die Scrub-Timeline sie laufend zurück (versteckte Headline).
   Ohne JS oder mit reduced-motion (html.rm) bleibt alles sichtbar. */
html.js:not(.rm) .hero__title .line__inner { animation: heroLineUp 1.05s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both; }
html.js:not(.rm) .hero__title .line:nth-child(2) .line__inner { animation-delay: 0.27s; }
@keyframes heroLineUp { from { transform: translateY(115%); } to { transform: translateY(0); } }
html.js:not(.rm) [data-hero-fade] { animation: heroFadeUp 0.9s ease-out both; }
/* Logo-Tafel: KEINE CSS-Entrance (die würde per fill die opacity halten und
   GSAP überstimmen). Sie ist ab Start sichtbar; das Ausblenden beim Scrollen
   macht ausschließlich GSAP (Pin-Timeline) — konfliktfrei. */
html.js:not(.rm) .hero__logo[data-hero-fade] { animation: none; }
html.js:not(.rm) .hero__eyebrow[data-hero-fade] { animation-delay: 0.42s; }
html.js:not(.rm) .hero__lead[data-hero-fade] { animation-delay: 0.52s; }
html.js:not(.rm) .hero__actions[data-hero-fade] { animation-delay: 0.62s; }
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.hero__lead {
  max-width: 34rem;
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  color: var(--ink-mut);
  margin-bottom: 2.2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
/* CTA-Mikroanimation: Pfeil gleitet, weicher Bronze-Glow */
.btn--arrow { position: relative; }
.btn__arrow { display: inline-block; transition: transform 0.32s var(--ease); }
.btn--accent.btn--arrow:hover .btn__arrow,
.btn--accent.btn--arrow:focus-visible .btn__arrow { transform: translateX(5px); }
.hero__actions .btn--accent {
  box-shadow: 0 14px 34px -16px rgba(184, 137, 77, 0.55);
  transition: transform 0.25s var(--ease), box-shadow 0.35s var(--ease), background-color 0.25s;
}
.hero__actions .btn--accent:hover { box-shadow: 0 18px 46px -14px rgba(184, 137, 77, 0.72); }
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.rm) .hero__actions .btn--accent { animation: ctaGlow 4.2s var(--ease) infinite; }
  @keyframes ctaGlow {
    0%, 100% { box-shadow: 0 14px 34px -16px rgba(184, 137, 77, 0.5); }
    50% { box-shadow: 0 16px 40px -14px rgba(184, 137, 77, 0.72); }
  }
}
.hero__cap {
  position: absolute; right: var(--pad); bottom: 1.3rem; z-index: 3;
  color: rgba(236, 231, 221, 0.42);
  font-size: 0.62rem;
}
.hero__cue {
  position: absolute; left: 50%; bottom: 1.2rem; z-index: 3;
  transform: translateX(-50%);
  color: rgba(236, 231, 221, 0.5);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.62rem;
  display: flex; align-items: center; gap: 0.55rem;
}
.hero__cue::after {
  content: ""; width: 1px; height: 34px;
  background: linear-gradient(180deg, var(--bronze), transparent);
}
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.rm) .hero__cue::after { animation: cueDrop 2.4s var(--ease) infinite; }
  @keyframes cueDrop {
    0% { transform: scaleY(0); transform-origin: top; }
    45% { transform: scaleY(1); transform-origin: top; }
    55% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
  }
}

/* ---------- Sektions-Köpfe ---------- */
.shead { max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }
.shead__eyebrow { color: var(--bronze); margin-bottom: 1.1rem; }
.shead__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

/* ============================================================
   VERTRAUEN
   ============================================================ */
.trust { padding: clamp(5rem, 11vh, 8rem) 0 clamp(4rem, 9vh, 6.5rem); }
.trust__row {
  max-width: 1280px; margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
}
.stat { border-top: 1px solid var(--hair); padding-top: 1.3rem; }
.stat__num {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat__num sup { font-size: 0.45em; color: var(--bronze); margin-left: 0.1em; }
.stat__label { margin-top: 0.55rem; font-size: 0.92rem; color: var(--ink-mut); }
.trust__line {
  max-width: 1280px; margin: 3.5rem auto 0; padding: 0 var(--pad);
  color: rgba(236, 231, 221, 0.6);
}
.trust__line em { font-style: normal; color: var(--bronze); }

/* ============================================================
   LEISTUNGEN — 01–08, Foto-Thumbs, Bronze-Balken
   ============================================================ */
/* ============================================================
   LEISTUNGEN — Bento-Grid (Kachel-Mosaik): eine große Kachel,
   mehrere breite und zwei kleine — bildstark, kein Listen-Look
   ============================================================ */
.services { padding: clamp(4.5rem, 10vh, 7.5rem) 0; position: relative; }
.services .shead { margin-bottom: clamp(2.5rem, 5vh, 4rem); }
.sbento {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(150px, 19vw, 210px);
  grid-auto-flow: row dense;
  gap: clamp(10px, 1vw, 14px);
}
.btile { position: relative; border-radius: 12px; overflow: hidden; background: #17191c; }
.btile--wide { grid-column: span 2; }
.btile--lg { grid-column: span 2; grid-row: span 2; }
.btile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.2) brightness(0.82) contrast(1.03);
  transform: scale(1.02);
  transition: transform 0.6s var(--ease), filter 0.5s var(--ease);
}
.btile a { position: absolute; inset: 0; z-index: 1; display: block; }
/* Scrim liegt ÜBER dem Bild, UNTER dem Text (Text = z-index 2) */
.btile a::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(12, 13, 15, 0.05) 22%, rgba(12, 13, 15, 0.55) 66%, rgba(12, 13, 15, 0.9) 100%);
}
.btile__idx {
  position: absolute; top: 1rem; left: 1.15rem; z-index: 2;
  color: var(--bronze); font-size: 0.72rem;
}
.btile__arrow {
  position: absolute; top: 0.9rem; right: 1rem; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff; font-size: 1rem;
  transform: translateY(-4px); opacity: 0;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), background-color 0.3s;
}
.btile__body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: clamp(1rem, 1.6vw, 1.5rem) clamp(1.1rem, 1.6vw, 1.4rem);
  color: var(--ink);
}
.btile__name {
  display: block;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.12rem, 1.7vw, 1.4rem);
  line-height: 1.08; letter-spacing: -0.01em;
}
.btile--lg .btile__name { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.btile__desc {
  display: block; margin-top: 0.4rem;
  font-size: 0.88rem; color: rgba(236, 231, 221, 0.82);
  max-width: 30rem;
  opacity: 0; max-height: 0; overflow: hidden;
  transition: opacity 0.4s var(--ease), max-height 0.4s var(--ease), margin-top 0.4s var(--ease);
}
.btile--lg .btile__desc { opacity: 1; max-height: 6rem; }   /* große Kachel: Text immer sichtbar */
/* Hover / Fokus: Bild zoomt & hellt auf, Pfeil + Text erscheinen */
.btile:hover img, .btile:focus-within img { transform: scale(1.07); filter: grayscale(0) brightness(0.92) contrast(1.02); }
.btile:hover .btile__arrow, .btile:focus-within .btile__arrow { opacity: 1; transform: translateY(0); }
.btile:hover .btile__arrow { background: var(--bronze); color: #1c1610; }
.btile:hover .btile__desc, .btile:focus-within .btile__desc { opacity: 1; max-height: 6rem; margin-top: 0.4rem; }

@media (max-width: 820px) {
  .sbento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(140px, 30vw, 190px); }
  .btile--lg { grid-column: span 2; grid-row: span 2; }
  .btile--wide { grid-column: span 2; }
  .btile__desc { opacity: 1; max-height: 6rem; }   /* Touch: Text sichtbar */
  .btile__arrow { opacity: 1; transform: none; }
}
@media (max-width: 520px) {
  .sbento { grid-template-columns: 1fr; grid-auto-rows: 150px; }
  .btile, .btile--wide, .btile--lg { grid-column: span 1; grid-row: span 1; }
  .btile--lg { grid-row: span 2; }
}

/* ============================================================
   HELLE SEKTIONEN (Bone) — Video & Kassen
   ============================================================ */
.sec--light { color: var(--ink-l); }
.sec--light .shead__title { color: var(--ink-l); }
.sec--light .shead__eyebrow { color: var(--bronze-deep); }
.sec--light .btn--ghost { border-color: var(--hair-l); color: var(--ink-l); }
.sec--light .btn--ghost:hover { border-color: var(--bronze-deep); color: var(--bronze-deep); }

.video, .pos {
  padding: clamp(5rem, 12vh, 8.5rem) 0;
}
.video__grid, .pos__grid {
  max-width: 1280px; margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.hl__copy .shead__eyebrow { margin-bottom: 1rem; }
.hl__copy p.hl__lead {
  margin: 1.3rem 0 1.6rem;
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  color: var(--ink-l-mut);
  max-width: 32rem;
}
.hl__list { border-top: 1px solid var(--hair-l); max-width: 33rem; }
.hl__list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.9rem;
  border-bottom: 1px solid var(--hair-l);
  font-size: 0.97rem;
  color: var(--ink-l);
}
.hl__list li::before {
  content: "→";
  position: absolute; left: 0.1rem;
  font-family: var(--mono); font-size: 0.8em;
  color: var(--bronze-deep);
}
.hl__more {
  display: inline-block; margin-top: 1.2rem;
  padding-top: 0.6rem; padding-bottom: 0.55rem;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--bronze-deep);
  border-bottom: 1px solid currentColor; padding-bottom: 0.2rem;
}
.hl__more:hover { color: var(--ink-l); }

/* iPhone-Mockup (Video-Highlight) — Vollbild-Kamera-App */
.phone {
  position: relative;
  width: min(270px, 70%);
  margin: 0 auto;
  background: linear-gradient(145deg, #3a3d42, #17181b 40%, #26282d);
  border-radius: 54px;
  padding: 9px;
  box-shadow: 0 44px 84px -32px rgba(33, 31, 27, 0.5), 0 0 0 1px rgba(33, 31, 27, 0.25);
  transform: rotate(2deg);
}
/* Seitentasten (Titan-Rahmen) */
.phone::before, .phone::after {
  content: ""; position: absolute; border-radius: 2px; background: #2e3136;
}
.phone::before { left: -2.5px; top: 26%; width: 3px; height: 11%; }
.phone::after { right: -2.5px; top: 30%; width: 3px; height: 8%; }
.phone__screen {
  position: relative;
  aspect-ratio: 9 / 19.4;
  border-radius: 45px;
  overflow: hidden;
  background: #0b0d0f;
}
.phone__cam { position: absolute; inset: 0; }
.phone__cam img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) contrast(1.05) brightness(0.92); }
/* Lesbarkeits-Gradient hinter Status/Meta */
.phone__cam::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 9, 10, 0.74), transparent 24%, transparent 72%, rgba(8, 9, 10, 0.8));
}
.phone__cam::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(184, 137, 79, 0.85), transparent);
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.rm) .phone__cam::after { opacity: 1; animation: scan 4.5s linear infinite; }
  @keyframes scan { 0% { top: 4%; } 50% { top: 94%; } 100% { top: 4%; } }
}
.phone__island {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 33%; height: 21px; border-radius: 999px;
  background: #060708; z-index: 4;
}
.phone__island::after {
  content: ""; position: absolute; right: 7px; top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2a2f3a, #0a0c10 70%);
}
.phone__status {
  position: absolute; top: 15px; left: 0; right: 0; z-index: 3;
  display: flex; justify-content: space-between;
  padding: 0 1.35rem;
  font-size: 0.56rem; letter-spacing: 0.06em;
  color: rgba(236, 231, 221, 0.9);
}
.phone__bar {
  position: absolute; top: 48px; left: 0; right: 0; z-index: 3;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 1.05rem;
  font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.12em;
  color: rgba(236, 231, 221, 0.85);
}
.phone__bar .rec { color: var(--bronze); }
.phone__meta {
  position: absolute; bottom: 26px; left: 0; right: 0; z-index: 3;
  display: flex; justify-content: space-between;
  padding: 0 1.05rem;
  font-family: var(--mono); font-size: 0.56rem; letter-spacing: 0.1em;
  color: rgba(236, 231, 221, 0.72);
}
.phone__home {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); z-index: 3;
  width: 36%; height: 4px; border-radius: 999px;
  background: rgba(236, 231, 221, 0.55);
}

/* Kassen-Collage */
.pos__grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
.pos__media { position: relative; }
.pos__media > img {
  width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover;
  border-radius: 4px;
  filter: saturate(0.82) contrast(1.03) brightness(0.96);
  box-shadow: 0 34px 70px -30px rgba(33, 31, 27, 0.4);
}
.pos__media .imgcap { left: 0.9rem; top: 0.9rem; right: auto; bottom: auto; }
.terminal {
  position: absolute; left: -1.4rem; bottom: -1.8rem;
  width: min(230px, 62%);
  background: #23262b;
  color: var(--ink);
  border-radius: 12px;
  padding: 1rem 1.1rem 1.1rem;
  box-shadow: 0 30px 60px -24px rgba(33, 31, 27, 0.55);
}
.terminal__head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.12em; color: rgba(236, 231, 221, 0.6); margin-bottom: 0.7rem; }
.terminal__sum { font-family: var(--display); font-weight: 600; font-size: 1.5rem; }
.terminal__row { display: flex; justify-content: space-between; font-size: 0.78rem; color: rgba(236, 231, 221, 0.65); margin-top: 0.35rem; }
.terminal__ok {
  margin-top: 0.8rem; padding-top: 0.7rem; border-top: 1px solid rgba(236, 231, 221, 0.14);
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze);
}
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.chip {
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--hair-l);
  border-radius: 999px;
  color: var(--ink-l-mut);
}
.chip--strong { border-color: var(--bronze-deep); color: var(--bronze-deep); }

/* ============================================================
   ABLAUF — 4 Schritte mit Scroll-Progress
   ============================================================ */
.steps { padding: clamp(5rem, 12vh, 8.5rem) 0; }
.steps .shead { margin-bottom: clamp(2.8rem, 6vh, 4.5rem); }
.steps__track {
  max-width: 1280px; margin: 0 auto 2.8rem; padding: 0 var(--pad);
}
.steps__rail { position: relative; height: 1px; background: var(--hair); }
.steps__bar {
  position: absolute; inset: 0;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
}
.steps__list {
  max-width: 1280px; margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
}
.step { transition: opacity 0.5s var(--ease); }
html.js .step { opacity: 0.38; }
html.js .step.is-on { opacity: 1; }
.step__idx { color: var(--bronze); display: block; margin-bottom: 0.9rem; }
.step h3 {
  font-family: var(--display); font-weight: 600;
  font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--ink);
}
.step p { font-size: 0.92rem; color: var(--ink-mut); }

/* ============================================================
   EINSATZBEREICHE — Foto-Grid
   ============================================================ */
.fields { padding: clamp(5rem, 12vh, 8rem) 0; }
.fields .shead { margin-bottom: clamp(2.5rem, 5vh, 3.8rem); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.fields__hint { color: var(--ink-mut); font-size: 0.95rem; max-width: 24rem; }
.fgrid {
  max-width: 1280px; margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.8rem, 1.6vw, 1.4rem);
}
.fcard { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; }
.fcard img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.25) saturate(0.8) contrast(1.04) brightness(0.85);
  transform: scale(1.02);
  transition: transform 0.7s var(--ease), filter 0.7s var(--ease);
}
.fcard:hover img { transform: scale(1.07); filter: grayscale(0) saturate(0.95) brightness(0.95); }
.fcard::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(22, 23, 25, 0.55));
}
.fcard__label {
  position: absolute; left: 0.9rem; bottom: 0.8rem; z-index: 2;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink);
}

/* Bild-Platzhalter-Kennzeichnung (Grade sichtbar, ehrlich markiert) */
.imgcap {
  position: absolute; right: 0.9rem; top: 0.9rem; z-index: 2;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.13em; text-transform: uppercase;
  padding: 0.35rem 0.6rem;
  background: rgba(22, 23, 25, 0.62);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: 3px;
  color: rgba(236, 231, 221, 0.72);
}

/* ============================================================
   KONTAKT
   ============================================================ */
.contact { padding: clamp(5.5rem, 13vh, 9rem) 0 clamp(4rem, 9vh, 6rem); }
.contact__grid {
  max-width: 1280px; margin: 0 auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
}
.contact__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.1rem, 4.6vw, 3.8rem);
  line-height: 1.04; letter-spacing: -0.01em;
  margin: 1.1rem 0 1.4rem;
}
.contact__title em { font-style: normal; color: var(--bronze); }
.contact__info { margin-top: 2.2rem; display: grid; gap: 1.4rem; }
.cinfo { border-top: 1px solid var(--hair); padding-top: 1rem; }
.cinfo .mono { color: var(--bronze); display: block; margin-bottom: 0.4rem; }
.cinfo p { color: var(--ink-mut); font-size: 0.97rem; }
.cinfo a { display: inline-block; color: var(--ink-mut); font-size: 0.97rem; padding: 0.45rem 0.6rem 0.45rem 0; margin: -0.45rem -0.6rem -0.45rem 0; }
.cinfo a:hover { color: var(--ink); }

.contact__form { display: grid; gap: 1.1rem; align-content: start; }
.field { display: grid; gap: 0.45rem; }
.field label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mut); }
.field input, .field textarea {
  font: inherit;
  color: var(--ink);
  background: rgba(236, 231, 221, 0.045);
  border: 1px solid var(--hair);
  border-radius: 3px;
  padding: 0.85rem 1rem;
  transition: border-color 0.25s, background-color 0.25s;
}
.field input:focus, .field textarea:focus {
  border-color: var(--bronze);
  background: rgba(236, 231, 221, 0.07);
}
.field textarea { resize: vertical; min-height: 120px; }
.contact__form .btn { justify-self: start; margin-top: 0.3rem; }
.form__note { font-size: 0.8rem; color: rgba(236, 231, 221, 0.6); }

/* ============================================================
   STANDORT — Google Maps, dunkel gegradet, DSGVO-Fassade
   ============================================================ */
.standort { padding: 0 0 clamp(5rem, 11vh, 8rem); }
.standort__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2.2rem, 4.5vh, 3.4rem);
}
.standort__hint { color: var(--ink-mut); font-size: 0.95rem; max-width: 24rem; }
.standort__grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(1rem, 2vw, 1.6rem);
  align-items: stretch;
}
.map {
  position: relative;
  height: clamp(300px, 42vh, 420px);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--hair);
  background: #1b1d20;
}
.gbox {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: clamp(1.6rem, 2.6vw, 2.4rem);
  background: #1b1d20;
  border: 1px solid var(--hair);
  border-radius: 16px;
}
.gbox__eyebrow { color: var(--bronze); }
.gbox__score { display: flex; align-items: center; gap: 1.2rem; }
.gbox__num {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(3rem, 5vw, 4.2rem);
  line-height: 1;
  color: var(--ink);
}
.gbox__stars {
  font-size: 1.3rem;
  letter-spacing: 0.16em;
  background: linear-gradient(90deg, var(--bronze) 96%, rgba(236, 231, 221, 0.22) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gbox__count { margin-top: 0.3rem; font-size: 0.85rem; color: var(--ink-mut); }
/* Rezensions-Rotator: einer sichtbar, wechselt weich nach oben hinaus */
.gbox__reviews { position: relative; flex: 1; min-height: 10rem; }
.greview {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; gap: 0.5rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  pointer-events: none;
}
.greview.is-on { opacity: 1; transform: none; pointer-events: auto; }
.greview.is-out { opacity: 0; transform: translateY(-14px); }
.greview__stars { color: var(--bronze); font-size: 0.85rem; letter-spacing: 0.16em; }
.greview p { color: var(--ink); font-size: 0.96rem; line-height: 1.6; }
.greview footer { color: var(--ink-mut); font-size: 0.62rem; }
.gbox__dots { display: flex; gap: 0.45rem; }
.gbox__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--hair);
  transition: background-color 0.3s, transform 0.3s var(--ease);
}
.gbox__dot.is-on { background: var(--bronze); transform: scale(1.25); }
.gbox__btn { align-self: flex-start; }
@media (max-width: 480px) { .gbox__reviews { min-height: 12.5rem; } }
.map__frame { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--hair);
  padding: clamp(2.5rem, 6vh, 4rem) var(--pad) 2rem;
}
.footer__grid {
  max-width: 1280px; margin: 0 auto 2.5rem;
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
}
.footer__brand { font-family: var(--display); font-weight: 600; font-size: 1.1rem; }
.footer__brand span { color: var(--bronze); }
.footer__addr { margin-top: 0.9rem; font-size: 0.88rem; color: var(--ink-mut); font-style: normal; }
.fcol .mono { color: var(--bronze); display: block; margin-bottom: 0.8rem; }
.fcol a { display: block; padding: 0.45rem 0; font-size: 0.88rem; color: var(--ink-mut); }
.fcol a:hover { color: var(--ink); }
.footer__row {
  max-width: 1280px; margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  border-top: 1px solid var(--hair);
  padding-top: 1.4rem;
}
.footer__nav { display: flex; flex-wrap: wrap; gap: 0 1.4rem; }
.footer__nav a { display: inline-block; padding: 0.6rem 0.15rem; font-size: 0.85rem; color: var(--ink-mut); }
.footer__nav a:hover { color: var(--ink); }
.footer__note {
  max-width: 1280px; margin: 1rem auto 0;
  font-size: 0.78rem; color: rgba(236, 231, 221, 0.58);
}

/* ============================================================
   REVEALS & MOTION-DISZIPLIN
   ============================================================ */
html.js [data-r] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
html.js [data-r].r-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .nav { transition: none; }
  html.js [data-r] { opacity: 1; transform: none; transition: none; }
  .srow__link, .srow__name, .srow__desc, .srow__arrow, .srows__preview, .fcard img, .step, .btn { transition: none; }
}

/* ============================================================
   UNTERSEITEN (Template-Klassen)
   ============================================================ */
.subpage main { min-height: 60vh; }
.subhero {
  position: relative; min-height: 74svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.subhero__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) sepia(0.12) saturate(0.78) contrast(1.05) brightness(0.7);
}
@media (prefers-reduced-motion: no-preference) {
  html:not(.rm) .subhero__img { animation: subKen 11s var(--ease) both; }
  @keyframes subKen { from { transform: scale(1.07); } to { transform: scale(1); } }
}
.subhero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(25, 27, 30, 0.6), rgba(25, 27, 30, 0.12) 45%, var(--g-hero) 100%);
}
.subhero__content {
  position: relative; z-index: 2; width: 100%;
  max-width: 1280px; margin: 0 auto;
  padding: 9.5rem var(--pad) 4.5rem;
}
.subhero__eyebrow { color: var(--bronze); }
.subhero__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  line-height: 1.02; letter-spacing: -0.012em;
  hyphens: auto; overflow-wrap: break-word;
  color: var(--ink);
  margin: 0.95rem 0 1.15rem;
  text-wrap: balance;
}
.subhero__lead { max-width: 35rem; color: var(--ink-mut); font-size: clamp(1rem, 1.4vw, 1.16rem); }
.subhero__cap {
  position: absolute; right: var(--pad); bottom: 1.35rem; z-index: 2;
  color: rgba(236, 231, 221, 0.45); font-size: 0.62rem;
}

.subbody { background: var(--bone); color: var(--ink-l); padding: clamp(4.5rem, 9vw, 8rem) var(--pad); }
.subbody__grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 4vw, 4rem);
}
.subbody .shead__title { color: var(--ink-l); position: sticky; top: 7.5rem; }
.subbody__intro { color: var(--ink-l); font-size: clamp(1.06rem, 1.55vw, 1.28rem); line-height: 1.62; max-width: 42rem; }
.subbody__list { list-style: none; margin-top: 2.4rem; max-width: 42rem; border-top: 1px solid var(--hair-l); }
.subbody__list li {
  position: relative; padding: 1.05rem 0 1.05rem 2.1rem;
  border-bottom: 1px solid var(--hair-l);
  color: var(--ink-l-mut); font-size: 0.99rem;
}
.subbody__list li::before {
  content: "→"; position: absolute; left: 0.15rem;
  color: var(--bronze-deep); font-family: var(--mono); font-size: 0.85em;
}

.usps { background: var(--bone-2); border-top: 1px solid var(--hair-l); padding: clamp(3.5rem, 8vw, 6.5rem) var(--pad); }
.usps__row {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.8rem, 3.5vw, 3rem);
}
.usp h3 {
  font-family: var(--display); font-weight: 600;
  font-size: 1.12rem; color: var(--ink-l);
  margin-bottom: 0.6rem;
}
.usp h3::before { content: "//"; color: var(--bronze-deep); font-family: var(--mono); font-weight: 400; margin-right: 0.55rem; font-size: 0.8em; }
.usp p { color: var(--ink-l-mut); font-size: 0.95rem; }

.ctaband {
  position: relative; overflow: hidden;
  text-align: center;
  padding: clamp(5rem, 11vw, 9rem) var(--pad);
}
.ctaband::before {
  content: ""; position: absolute; inset: -45% -25%; pointer-events: none;
  background: radial-gradient(ellipse at 50% 125%, rgba(179, 133, 77, 0.14), transparent 55%);
}
.ctaband h2 {
  position: relative;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.9rem, 4.6vw, 3.5rem);
  line-height: 1.08; color: var(--ink);
}
.ctaband h2 em { font-style: normal; color: var(--bronze); }
.ctaband__actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2.4rem; }
.ctaband__next { position: relative; margin-top: 3.4rem; color: var(--ink-mut); font-size: 0.72rem; }
.ctaband__next a { display: inline-block; color: var(--bronze); padding: 0.75rem 0.5rem; margin: -0.75rem -0.5rem; }
.ctaband__next a:hover { text-decoration: underline; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .video__grid, .pos__grid { grid-template-columns: 1fr; }
  .pos__media { margin-bottom: 2.2rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1279px) {
  .nav__tel { display: none; }
}
@media (max-width: 1023px) {
  /* Grid mit verstecktem Mittel-Slot verteilt falsch → flex, kompakt, kein 360px-Overflow */
  .nav {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
  }
  .nav__logo img { height: 30px; }
  .nav__toggle { width: 44px; height: 44px; flex: 0 0 auto; }
  .nav__cta { padding: 0.68rem 0.95rem; font-size: 0.64rem; letter-spacing: 0.1em; }
  .nav__meta { gap: 0.7rem; }
  .hero {
    flex-direction: column; justify-content: flex-end; align-items: flex-start;
    height: auto;
    min-height: 100svh;
    padding-top: 5.2rem;
  }
  .hero__logo {
    position: static;
    order: -1;
    width: min(62vw, 280px);
    margin: 0 0 1.4rem var(--pad);
    padding: 0.8rem 1rem;
    border-radius: 10px;
  }
  .nav__toggle { display: inline-flex; }
  .nav__links { display: none; }
  html.nav-open, body.nav-open { overflow: hidden; }
  /* backdrop-filter macht .nav zum Containing Block für fixed-Kinder — im offenen Zustand deaktivieren */
  body.nav-open .nav {
    -webkit-backdrop-filter: none; backdrop-filter: none;
    background: #17181b;
  }
  body.nav-open .nav__links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0.1rem;
    position: fixed; inset: 0; z-index: 890;
    justify-self: stretch; /* Desktop-Regel justify-self:center zentriert sonst auch das fixed-Panel auf Inhaltsbreite */
    align-self: stretch;
    padding: 5.5rem var(--pad) 2.5rem;
    background: rgba(21, 22, 25, 0.985);
    overflow-y: auto;
  }
  body.nav-open .nav__links > a { padding: 0.7rem 0; font-size: 1.15rem; border-bottom: 1px solid var(--hair); width: 100%; }
  body.nav-open .ddwrap { display: contents; }
  body.nav-open .dd__btn { display: none; }
  /* !important: die Desktop-Open-Regeln (.ddwrap:is(:hover,...) .dd) haben höhere
     Spezifität und schoben das Panel bei Hover/Sticky-Touch um -50% aus dem Bild */
  body.nav-open .dd {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 0 !important;
    width: 100% !important;
  }
  body.nav-open .dd__panel {
    display: block; background: transparent; border: 0; border-radius: 0;
    padding: 0; box-shadow: none;
    clip-path: none !important;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  body.nav-open .dd__group, body.nav-open .dd__side { opacity: 1 !important; transform: none !important; transition: none !important; }
  body.nav-open .dd__head { margin: 1.3rem 0 0.3rem; font-size: 0.72rem; }
  body.nav-open .dd__group a { padding: 0.7rem 0; font-size: 1.15rem; border-bottom: 1px solid var(--hair); }
  body.nav-open .dd__side { display: none; }
  .subbody__grid { grid-template-columns: 1fr; }
  .subbody .shead__title { position: static; }
}
@media (max-width: 860px) {
  .standort__grid { grid-template-columns: 1fr; }
  .map { height: clamp(260px, 40vh, 340px); }
  .trust__row { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
  .steps__list { grid-template-columns: 1fr 1fr; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero__title { font-size: clamp(2.1rem, 9.5vw, 2.9rem); }
  .shead__title br, .contact__title br { display: none; }
  .phone { width: min(270px, 82%); }
  .phone__meta { font-size: 0.5rem; padding: 0 0.8rem; }
  .phone__bar { font-size: 0.54rem; padding: 0 0.85rem; }
  .usps__row { grid-template-columns: 1fr; gap: 1.8rem; }
  .subhero { min-height: 62svh; }
  .subhero__cap, .hero__cap { display: none; }
  .fgrid { grid-template-columns: 1fr; }
  .steps__list { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .terminal { left: 0.8rem; bottom: -1.4rem; }
}


/* V6 — Review-Fixes: Fokus auf hellen Zonen, Label-Kontrast auf Greige */
.sec--light :focus-visible, .subbody :focus-visible, .usps :focus-visible { outline-color: var(--bronze-deep); }
.services .shead__eyebrow, .srow__idx, .steps .shead__eyebrow, .step__idx { color: #cb9f66; }


/* V7 — Mobile-Audit-Feinschliff */
@media (max-width: 400px) {
  .trust__row { grid-template-columns: 1fr; gap: 1.2rem; }
}
@media (max-width: 374px) {
  .footer__nav { gap: 0 0.8rem; }
  .nav { gap: 0.5rem; }
  .nav__logo { flex: 0 0 auto; }
  .nav__cta { padding: 0.62rem 0.7rem; font-size: 0.58rem; letter-spacing: 0.06em; }
}

/* ============================================================
   GERÄTE-DUO (Video-Highlight): Tablet-Zentrale + iPhone
   ============================================================ */
.devices {
  position: relative;
  padding-bottom: clamp(3rem, 6vw, 4.5rem); /* Raum für das überlappende Phone */
}
.pad {
  position: relative;
  background: linear-gradient(150deg, #3a3d42, #16171a 42%, #24262b);
  border-radius: clamp(18px, 2vw, 26px);
  padding: clamp(8px, 1vw, 12px);
  box-shadow: 0 50px 100px -36px rgba(33, 31, 27, 0.55), 0 0 0 1px rgba(33, 31, 27, 0.25);
  transform: rotate(-1deg);
}
.pad__screen {
  background: #0c0d10;
  border-radius: clamp(10px, 1.2vw, 16px);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  aspect-ratio: 4 / 3;
}
.pad__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.95rem;
  color: rgba(236, 231, 221, 0.85);
  font-size: 0.58rem;
  border-bottom: 1px solid rgba(236, 231, 221, 0.08);
}
.pad__clock { color: rgba(236, 231, 221, 0.6); }
.pad__rec { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--bronze); }
.pad__rec i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--bronze);
}
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.rm) .pad__rec i, html.js:not(.rm) .phone__bar .rec { animation: recPulse 1.4s ease-in-out infinite; }
  @keyframes recPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
}
.pad__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 5px;
  padding: 5px;
  min-height: 0;
}
.feed {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  background: #131417;
  min-height: 0;
}
.feed img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.25) saturate(0.85) contrast(1.06) brightness(0.8);
}
.feed figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.9rem 0.6rem 0.4rem;
  font-size: 0.5rem;
  color: rgba(236, 231, 221, 0.85);
  background: linear-gradient(180deg, transparent, rgba(10, 10, 12, 0.75));
}
/* DSGVO-Kachel: maskierte Privatzone (Schraffur statt Bild) */
.feed--masked {
  background: repeating-linear-gradient(-45deg, #131417 0 10px, #1b1d21 10px 20px);
}
.feed--masked figcaption {
  top: 0;
  display: grid;
  place-items: center;
  background: none;
  padding: 0.4rem;
  color: rgba(236, 231, 221, 0.55);
  text-align: center;
}
.pad__foot span { white-space: nowrap; }

.pad__foot {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  /* rechts Luft lassen — dort dockt das Phone über der Ecke */
  padding: 0.6rem clamp(6rem, 29%, 9rem) 0.6rem 0.95rem;
  font-size: 0.52rem;
  color: rgba(236, 231, 221, 0.55);
  border-top: 1px solid rgba(236, 231, 221, 0.08);
}
/* iPhone dockt unten rechts am Tablet an */
.devices .phone {
  position: absolute;
  right: max(-1.5rem, -3vw);
  bottom: 0;
  width: clamp(140px, 30%, 200px);
  margin: 0;
  z-index: 2;
  transform: rotate(2.5deg);
  border-radius: 34px;
  padding: 6px;
}
.devices .phone__screen { border-radius: 28px; }
.devices .phone__status { font-size: 0.42rem; padding: 0 0.85rem; top: 0.55rem; }
.devices .phone__bar { font-size: 0.44rem; padding: 0 0.7rem; }
.devices .phone__meta { font-size: 0.4rem; padding: 0 0.7rem; }
@media (max-width: 1086px) {
  .devices { max-width: 620px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .devices .phone { width: 38%; right: -0.4rem; }
  .pad__foot span:nth-child(2),
  .pad__foot span:nth-child(3) { display: none; } /* Enge: mittlerer Status weicht */
}

/* ===== Maps-Consent (DSGVO: Karte erst nach Klick) ===== */
.map__consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 1.5rem;
  text-align: center;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(212, 165, 116, 0.08), transparent 60%),
    #1b1d20;
}
.map__consent-eyebrow { color: rgba(236, 231, 221, 0.55); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; }
.map__consent-text { max-width: 34ch; color: rgba(236, 231, 221, 0.72); font-size: 0.82rem; line-height: 1.55; }
.map__ext { color: rgba(236, 231, 221, 0.55); font-size: 0.68rem; text-decoration: underline; text-underline-offset: 3px; }
.map__ext:hover { color: rgba(236, 231, 221, 0.9); }
.gbox__lead { color: rgba(236, 231, 221, 0.78); line-height: 1.6; margin: 0.4rem 0 1rem; }
