/* PacificGreen Werbeagentur – Stylesheet
   Farben aus dem Logo: Petrol #083838, Teal #007878. Licht-Akzent: #62f0d6 */

@font-face { font-family: "General Sans"; src: url(/assets/fonts/general-sans-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "General Sans"; src: url(/assets/fonts/general-sans-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "General Sans"; src: url(/assets/fonts/general-sans-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "General Sans"; src: url(/assets/fonts/general-sans-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  /* Flächen */
  --night: #061a1a;        /* Nachtwand – Hauptgrund dunkel */
  --night-2: #0b2726;      /* eine Stufe heller */
  --deep: #083838;         /* Logo-Petrol */
  --teal: #007878;         /* Logo-Teal, Markenfarbe */
  --teal-hi: #0a8f8a;
  --paper: #eef3f1;        /* heller Grund */
  --paper-2: #e1eae7;
  --white: #ffffff;
  /* Schrift */
  --ink: #072b2b;
  --ink-soft: #3b5958;
  --on-dark: #e8f2f0;
  --on-dark-soft: #a7c2be;
  /* Licht */
  --lit: #effffb;
  --glow: #62f0d6;
  --glow-rgb: 98, 240, 214;
  --unlit: #16302f;

  --font: "General Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --step-head: clamp(2.25rem, 1.4rem + 3.4vw, 4.5rem);
  --step-display: clamp(3.25rem, 1rem + 9.4vw, 10rem);

  --margin: clamp(20px, 4.2vw, 64px);
  --maxw: 1520px;
  --sec-gap: clamp(88px, 12vw, 200px);
  --radius: 4px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--night); color: var(--on-dark);
  font-family: var(--font); font-size: var(--step-body); line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; line-height: 1.05; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul[class], ol[class] { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--glow); color: var(--night); }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 2px; }
.sec-paper :focus-visible, .sec-paper2 :focus-visible { outline-color: var(--teal); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--glow); color: var(--night); padding: 10px 16px; font-weight: 600; transition: top 160ms var(--ease-out); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--margin); }

/* ---------- Typografie ---------- */
.h-display { font-size: var(--step-display); font-weight: 600; line-height: 0.92; letter-spacing: -0.04em; }
.h-section { font-size: var(--step-head); font-weight: 600; line-height: 1; letter-spacing: -0.035em; }
.lead { font-size: var(--step-lead); line-height: 1.4; max-width: 34ch; }
.small { font-size: var(--step-small); line-height: 1.5; }
.statement { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); line-height: 1.18; font-weight: 500; letter-spacing: -0.02em; max-width: 30ch; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: transparent; --b-fg: currentColor; --b-bd: currentColor;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 1.5px solid var(--b-bd); border-radius: var(--radius);
  background: var(--b-bg); color: var(--b-fg); font-weight: 600; font-size: 1rem; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.9375rem; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn-primary { --b-bg: var(--glow); --b-fg: var(--night); --b-bd: var(--glow); }
.btn-ghost { --b-bd: rgba(232, 242, 240, 0.35); }
.btn-dark { --b-bg: var(--ink); --b-fg: var(--paper); --b-bd: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { --b-bg: var(--lit); --b-bd: var(--lit); box-shadow: 0 0 0 4px rgba(var(--glow-rgb), 0.18), 0 0 32px rgba(var(--glow-rgb), 0.35); }
  .btn-ghost:hover { --b-bd: var(--on-dark); background: rgba(232, 242, 240, 0.06); }
  .btn-dark:hover { --b-bg: var(--teal); --b-bd: var(--teal); }
}

.link-arrow { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 600; text-decoration: none; padding-block: 6px; }
.link-arrow::after { content: ""; width: 1.1em; height: 1.1em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover::after { transform: translateX(4px); } .link-arrow:hover { text-decoration: underline; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--night); transition: background-color 240ms ease; }
.site-header.is-scrolled { background: rgba(6, 26, 26, 0.97); }
.bar { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--margin); height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { flex: none; display: block; padding: 6px 0; }
.brand-logo { width: clamp(150px, 14vw, 190px); height: auto; }
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; font-size: 0.9875rem; font-weight: 500; text-decoration: none; color: var(--on-dark); background: none; border: 0; cursor: pointer; border-radius: var(--radius); transition: color 160ms ease; }
.nav-link[aria-current="page"], .is-current > .nav-link { color: var(--glow); }
@media (hover: hover) and (pointer: fine) { .nav-link:hover { color: var(--glow); } }
.nav-sub-toggle svg { transition: transform 200ms var(--ease-out); }
.has-sub { position: relative; }
.nav-sub {
  position: absolute; top: calc(100% + 6px); left: -8px; min-width: 260px; padding: 8px;
  background: var(--night-2); border-radius: var(--radius); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  opacity: 0; visibility: hidden; transform: translateY(-4px) scale(0.98); transform-origin: top left;
  transition: opacity 160ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s linear 180ms;
}
.nav-sub a { display: block; padding: 10px 12px; border-radius: 3px; text-decoration: none; font-weight: 500; }
.nav-sub a[aria-current="page"] { color: var(--glow); }
@media (hover: hover) and (pointer: fine) { .nav-sub a:hover { background: rgba(98, 240, 214, 0.1); color: var(--glow); } }
.has-sub.is-open .nav-sub { opacity: 1; visibility: visible; transform: none; transition: opacity 160ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s; }
.has-sub.is-open .nav-sub-toggle svg { transform: rotate(180deg); }
.bar-cta { flex: none; }
.menu-toggle { display: none; }
.nav-mobile-extra { display: none; }

@media (max-width: 1100px) {
  .bar { gap: 12px; }
  .bar-cta { margin-left: auto; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px 0 8px; background: none; border: 0; cursor: pointer; font-weight: 600; }
  .menu-icon { position: relative; width: 22px; height: 12px; }
  .menu-icon span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: transform 220ms var(--ease-out); }
  .menu-icon span:first-child { top: 0; } .menu-icon span:last-child { bottom: 0; }
  .menu-open .menu-icon span:first-child { transform: translateY(5px) rotate(45deg); }
  .menu-open .menu-icon span:last-child { transform: translateY(-5px) rotate(-45deg); }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0; padding: 12px var(--margin) 40px; overflow-y: auto;
    background: var(--night); display: flex; flex-direction: column; gap: 28px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 200ms var(--ease-out), transform 240ms var(--ease-out), visibility 0s linear 240ms;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity 200ms var(--ease-out), transform 240ms var(--ease-out), visibility 0s; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { width: 100%; justify-content: space-between; font-size: 1.5rem; font-weight: 600; padding: 12px 0; letter-spacing: -0.02em; }
  .nav-sub { position: static; min-width: 0; box-shadow: none; background: none; padding: 0 0 8px 0; display: none; opacity: 1; visibility: visible; transform: none; }
  .has-sub.is-open .nav-sub { display: block; }
  .nav-sub a { font-size: 1.125rem; padding: 10px 0 10px 16px; color: var(--on-dark-soft); }
  .nav-mobile-extra { display: flex; flex-direction: column; gap: 12px; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 520px) { .bar-cta { display: none; } .menu-toggle { margin-left: auto; } }

/* ---------- Sektionen ---------- */
.sec { padding-block: var(--sec-gap); position: relative; }
.sec-night { background: var(--night); color: var(--on-dark); }
.sec-teal { background: var(--teal); color: var(--white); }
.sec-deep { background: var(--deep); color: var(--on-dark); }
.sec-paper { background: var(--paper); color: var(--ink); }
.sec-paper2 { background: var(--paper-2); color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100svh - var(--header-h)); display: flex; overflow: hidden; background: var(--night); isolation: isolate; }
.hero-wall {
  /* Lichtschein der Buchstaben auf der Wand – reagiert auf das Einschalten */
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 45% at 30% 68%, rgba(0, 150, 140, 0.30), transparent 70%);
  opacity: 0; transition: opacity 1400ms var(--ease-out);
}
.hero.is-lit .hero-wall, html:not(.js) .hero-wall { opacity: 1; }
.hero-inner { display: flex; flex-direction: column; justify-content: flex-end; padding-block: clamp(48px, 9vh, 120px) clamp(40px, 7vh, 88px); }
/* LED-Laufschrift oben im Hero – wie eine echte Matrix-Anzeige an der Wand */
.hero-led {
  position: relative; margin-bottom: auto; margin-top: clamp(0px, 2vh, 24px);
  height: clamp(52px, 9vh, 96px); padding: 8px 10px;
  background: #041212; border: 1px solid #143633; border-radius: 6px;
  box-shadow: inset 0 0 0 3px #071d1d, inset 0 2px 14px rgba(0, 0, 0, 0.6), 0 18px 40px -20px rgba(0, 0, 0, 0.8);
  opacity: 0; transition: opacity 900ms var(--ease-out), box-shadow 900ms ease;
}
.hero-led canvas { display: block; width: 100%; height: 100%; }
.hero.is-lit .hero-led { opacity: 1; box-shadow: inset 0 0 0 3px #071d1d, inset 0 2px 14px rgba(0, 0, 0, 0.6), 0 0 60px -10px rgba(var(--glow-rgb), 0.22), 0 18px 40px -20px rgba(0, 0, 0, 0.8); }
html:not(.js) .hero-led { display: none; }
/* Lichtschein der Anzeige auf der Wand darunter */
.hero-led::after {
  content: ""; position: absolute; inset: 100% 4% auto; height: clamp(48px, 9vh, 110px); pointer-events: none;
  background: radial-gradient(50% 100% at 50% 0, rgba(var(--glow-rgb), 0.16), transparent 72%);
}
/* Lichtstaub (Canvas aus site.js) und atmender Wandschein – die Leuchtschrift steht nie still */
.hero-dust { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 2400ms ease; }
.hero.is-lit .hero-dust { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hero.is-lit .hero-wall { animation: wallBreath 7s ease-in-out 1600ms infinite; }
}
@keyframes wallBreath { 0%, 100% { opacity: 1; } 50% { opacity: 0.62; } }
.hero-led + .hero-title { margin-top: clamp(40px, 8vh, 96px); }
.hero-title { display: block; font-weight: 600; }
.hero-kicker { display: block; font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; color: var(--glow); margin-top: clamp(20px, 3vh, 36px); }
.sign { display: block; font-size: var(--step-display); line-height: 0.95; letter-spacing: -0.035em; font-weight: 600; color: var(--lit); }
.sign-line { display: block; white-space: nowrap; }
.sign .ch { display: inline-block; color: var(--unlit); text-shadow: 0 1px 0 rgba(255, 255, 255, 0.05); }
.sign .ch.on {
  color: var(--lit);
  text-shadow: 0 0 1px #fff, 0 0 10px rgba(var(--glow-rgb), 0.75), 0 0 32px rgba(0, 170, 160, 0.6), 0 0 80px rgba(0, 130, 125, 0.5);
}
html:not(.js) .sign, .sign:not([data-split]) { text-shadow: 0 0 10px rgba(var(--glow-rgb), 0.6), 0 0 40px rgba(0, 150, 140, 0.45); }
.sign .ch.flicker { animation: flicker 900ms steps(1, end) both; }
@keyframes flicker {
  0% { color: var(--unlit); text-shadow: none; }
  12% { color: var(--lit); text-shadow: 0 0 10px rgba(var(--glow-rgb), 0.7); }
  20% { color: var(--unlit); text-shadow: none; }
  34% { color: var(--lit); text-shadow: 0 0 10px rgba(var(--glow-rgb), 0.7), 0 0 30px rgba(0, 170, 160, 0.5); }
  42% { color: #9fc9c2; text-shadow: none; }
  56%, 100% { color: var(--lit); text-shadow: 0 0 1px #fff, 0 0 10px rgba(var(--glow-rgb), 0.75), 0 0 32px rgba(0, 170, 160, 0.6), 0 0 80px rgba(0, 130, 125, 0.5); }
}
.hero-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 48px; margin-top: clamp(32px, 6vh, 72px); }
.hero-lead { font-size: var(--step-lead); line-height: 1.4; max-width: 40ch; margin: 0; color: var(--on-dark); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-foot { opacity: 1; }
.js .hero-foot.pre { opacity: 0; transform: translateY(12px); }
.hero-foot { transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out); }
@media (max-width: 860px) {
  .hero-foot { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; }
}
@media (max-width: 600px) {
  .sign { font-size: 12.4vw; letter-spacing: -0.04em; }
  .hero-kicker { font-size: 1.0625rem; }
}

/* ---------- Zahlen ---------- */
.stats { padding-block: clamp(64px, 9vw, 128px); }
.stats-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(24px, 4vw, 64px); }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 12px; }
.stat-num { font-size: clamp(4rem, 1.5rem + 8vw, 9.5rem); line-height: 0.85; font-weight: 600; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.stat-label { font-size: var(--step-body); font-weight: 500; max-width: 22ch; }
@media (max-width: 760px) { .stats-list { grid-template-columns: 1fr; gap: 32px; } .stat-num { font-size: 21vw; } }

/* ---------- Intro ---------- */
.intro-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(32px, 4vw, 64px) clamp(16px, 2vw, 32px); align-items: start; }
.intro-title { grid-column: 1 / -1; font-size: clamp(2.5rem, 0.6rem + 6vw, 7rem); }
.intro-title span { display: block; }
.intro-pics { grid-column: 1 / 7; position: relative; aspect-ratio: 5 / 4; }
.intro-pic { position: absolute; overflow: hidden; border-radius: var(--radius); }
.intro-pic img { width: 100%; height: 100%; object-fit: cover; }
.intro-pic > img { display: block; }
.intro-pic-a { left: 0; top: 0; width: 78%; aspect-ratio: 4 / 3; }
.intro-pic-b { right: 0; bottom: 0; width: 44%; aspect-ratio: 4 / 3; outline: 10px solid var(--night); }
.intro-copy { grid-column: 8 / -1; padding-top: 8px; }
.intro-copy .statement { margin-bottom: 28px; }
.intro-copy p:not(.statement) { color: var(--on-dark); max-width: 46ch; }
.intro-copy .link-arrow { margin-top: 16px; color: var(--glow); }
@media (max-width: 860px) {
  .intro-pics, .intro-copy { grid-column: 1 / -1; }
  .intro-pics { aspect-ratio: 6 / 5; }
}

/* ---------- Leistungen ---------- */
.svc-list { display: flex; flex-direction: column; }
.svc-row { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: baseline; column-gap: clamp(24px, 3vw, 48px); padding-block: 0.18em; position: relative; }
.svc-name { font-size: clamp(2.25rem, 0.8rem + 4.6vw, 5.25rem); font-weight: 600; line-height: 1.04; letter-spacing: -0.04em; text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; gap: 0.25em; width: fit-content; transition: color 200ms ease; }
.svc-heading { color: var(--teal); }
.svc-row-head { margin-bottom: clamp(16px, 2vw, 32px); }
.svc-desc { font-size: var(--step-body); color: var(--ink); max-width: 36ch; margin: 0; }
.svc-row-head .svc-desc { color: var(--ink-soft); }
.svc-arrow { width: 0.5em; height: 0.5em; opacity: 0; transform: translateX(-0.2em); transition: opacity 200ms ease, transform 220ms var(--ease-out); }
.svc-peek { display: none; }
@media (hover: hover) and (pointer: fine) {
  .svc-name:hover { color: var(--teal); }
  .svc-name:hover .svc-arrow { opacity: 1; transform: none; }
  .svc-peek {
    display: block; position: fixed; z-index: 40; left: 0; top: 0; width: 300px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius);
    pointer-events: none; opacity: 0; visibility: hidden; transform: translate3d(var(--px, 0), var(--py, 0), 0) scale(0.94);
    transition: opacity 180ms var(--ease-out), transform 260ms var(--ease-out), visibility 0s linear 260ms;
    box-shadow: 0 24px 60px rgba(7, 43, 43, 0.28);
  }
  .svc-peek img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
  .svc-row.is-peek .svc-peek { opacity: 1; visibility: visible; transform: translate3d(var(--px, 0), var(--py, 0), 0) scale(1); transition: opacity 180ms var(--ease-out), transform 260ms var(--ease-out), visibility 0s; }
}
@media (max-width: 760px) {
  .svc-row { grid-template-columns: 1fr; padding-block: 0 28px; }
  .svc-name { font-size: 10.5vw; display: block; }
  .svc-arrow { opacity: 1; transform: none; display: inline-block; vertical-align: middle; margin-left: 0.15em; }
  .svc-desc { margin-top: 6px; }
}

/* ---------- Schriftzug-Labor ---------- */
.signlab-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.signlab-copy .lead { margin-top: 20px; color: var(--on-dark); }
.signlab-controls { display: grid; gap: 24px; margin-top: 36px; }
.field { display: grid; gap: 8px; }
.field label, .seg legend { font-size: var(--step-small); font-weight: 600; }
.sec-night input[type="text"], .sec-night input[type="email"], .sec-night input[type="tel"], .sec-night select, .sec-night textarea {
  background: var(--night-2); border: 1.5px solid #24504e; color: var(--on-dark);
}
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: var(--radius); font-size: 1.0625rem;
  background: var(--white); border: 1.5px solid #b9cbc7; color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--glow); box-shadow: 0 0 0 3px rgba(var(--glow-rgb), 0.25); }
.seg { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seg legend { margin-bottom: 8px; padding: 0; width: 100%; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--radius); background: var(--night-2); border: 1.5px solid #24504e; font-weight: 500; font-size: 0.975rem; cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms var(--ease-out); }
.seg input:checked + span { background: rgba(var(--glow-rgb), 0.12); border-color: var(--glow); color: var(--lit); }
.seg input:focus-visible + span { outline: 2px solid var(--glow); outline-offset: 3px; }
.seg label:active span { transform: scale(0.97); }
.sw { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
/* Lichtfarben als runde Farbfelder, Name steht in der Legende */
.seg legend .seg-current { display: inline; min-height: 0; padding: 0; background: none; border: 0; font-weight: 500; color: var(--glow); }
.seg-colors > label > span { width: 44px; padding: 0; justify-content: center; border-radius: 50%; }
.seg-colors .sw { width: 22px; height: 22px; background: var(--sw); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 0 10px -2px var(--sw); }
.seg-colors input:checked + span .sw { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25), 0 0 14px 1px var(--sw); }

.signlab-stage { display: grid; gap: 20px; }
.facade-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.facade.is-dragging .facade-canvas { cursor: grabbing; }
.facade.is-3d .facade-sign { visibility: hidden; }
.facade-hint { position: absolute; z-index: 2; left: 14px; bottom: 14px; display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; background: rgba(6, 26, 26, 0.82); color: var(--on-dark); font-size: 0.875rem; font-weight: 500; pointer-events: none; transition: opacity 300ms ease; }
.facade.is-3d .facade-hint { display: inline-flex; }
.facade.is-dragging .facade-hint { opacity: 0; }
.facade-zoom { position: absolute; z-index: 2; top: 14px; right: 14px; display: none; flex-direction: column; border-radius: 999px; background: rgba(6, 26, 26, 0.82); overflow: hidden; }
.facade.is-3d .facade-zoom { display: flex; }
.facade-zoom button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--on-dark); cursor: pointer; transition: background-color 160ms ease, transform 160ms var(--ease-out); }
.facade-zoom button + button { border-top: 1px solid rgba(238, 243, 241, 0.14); }
.facade-zoom button:hover { background: rgba(98, 240, 214, 0.14); }
.facade-zoom button:active { transform: scale(0.94); }
.facade-zoom button:disabled { opacity: 0.35; cursor: default; }
.facade-zoom button:focus-visible { outline: 2px solid var(--glow, #62f0d6); outline-offset: -4px; }
.facade {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; isolation: isolate;
  background-color: #cfd8d5; transition: background-color 600ms var(--ease-out);
}
.facade.is-night { background-color: #0d1c1c; }
.facade-sign > span { display: inline-block; }
.facade-sign {
  --c: #f4fffd; --cg: 210, 255, 248;
  position: relative; max-width: 88%; padding: 0.15em 0.1em; text-align: center;
  font-weight: 700; letter-spacing: -0.02em; line-height: 1; white-space: nowrap;
  font-size: var(--fs, 72px);
  color: #2a3434; transition: color 500ms var(--ease-out), text-shadow 500ms var(--ease-out);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.18), 0 6px 10px rgba(0, 0, 0, 0.18);
}
.facade-sign[data-color="warm"] { --c: #ffe2b3; --cg: 255, 200, 120; }
.facade-sign[data-color="gruen"] { --c: #c9fff4; --cg: 98, 240, 214; }
.facade-sign[data-color="rot"] { --c: #ffc2bd; --cg: 255, 60, 60; }
.facade-sign[data-color="blau"] { --c: #c4dbff; --cg: 70, 140, 255; }
.facade-sign[data-color="gelb"] { --c: #fff3b8; --cg: 255, 210, 70; }
.facade-sign[data-color="orange"] { --c: #ffd6b3; --cg: 255, 140, 50; }
.facade-sign[data-color="pink"] { --c: #ffc8e8; --cg: 255, 80, 180; }
.facade-sign[data-color="violett"] { --c: #e0d0ff; --cg: 155, 95, 255; }
/* Tag: Buchstaben als Körper (Acrylfront + Zarge) */
.facade-sign[data-style="front"] { color: #fbfdfc; text-shadow: 0 1px 0 #9aa9a6, 0 2px 0 #8a9996, 0 3px 0 #7d8c89, 0 8px 14px rgba(0, 0, 0, 0.22); }
.facade-sign[data-style="front"][data-color="warm"] { color: #fbf3e6; }
.facade-sign[data-style="front"][data-color="gruen"] { color: #0b7a74; }
.facade-sign[data-style="front"][data-color="rot"] { color: #d42a2f; }
.facade-sign[data-style="front"][data-color="blau"] { color: #2f62c9; }
.facade-sign[data-style="front"][data-color="gelb"] { color: #f3c838; }
.facade-sign[data-style="front"][data-color="orange"] { color: #ec7a2c; }
.facade-sign[data-style="front"][data-color="pink"] { color: #e0479c; }
.facade-sign[data-style="front"][data-color="violett"] { color: #7d4fd0; }
.facade-sign[data-style="halo"] { color: #1d2626; }
/* Nacht */
.is-night .facade-sign[data-style="front"] { color: var(--c); text-shadow: 0 0 2px #fff, 0 0 12px rgba(var(--cg), 0.8), 0 0 36px rgba(var(--cg), 0.5), 0 0 90px rgba(var(--cg), 0.35); }
.is-night .facade-sign[data-style="halo"] { color: #0f1717; text-shadow: 0 0 2px rgba(var(--cg), 0.9), 0 0 18px rgba(var(--cg), 0.85), 0 0 44px rgba(var(--cg), 0.55), 0 0 90px rgba(var(--cg), 0.3); }
.is-night .facade-sign[data-style="none"] { color: #1b2a2a; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.04); }
.daynight { position: absolute; z-index: 2; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(6, 26, 26, 0.82); color: var(--on-dark); font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: transform 160ms var(--ease-out); }
.daynight:active { transform: scale(0.97); }
.dn-track { position: relative; width: 40px; height: 22px; border-radius: 999px; background: #2b4b49; }
.dn-thumb { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--lit); transition: transform 220ms var(--ease-out); }
.daynight[aria-pressed="false"] .dn-thumb { transform: translateX(18px); }
.signlab-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.signlab-foot .small { color: var(--on-dark-soft); max-width: 46ch; margin: 0; }
@media (max-width: 900px) { .signlab-grid { grid-template-columns: 1fr; } .signlab-stage { order: -1; } .signlab-copy { order: -2; } }
@media (max-width: 560px) { .facade { aspect-ratio: 4 / 3.4; } .signlab-foot .btn { width: 100%; } }

/* ---------- T-Shirt-Gestalter ---------- */
html:not(.js) .shirtlab { display: none; }
.shirtlab-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.shirtlab-copy .lead { margin-top: 20px; }
.shirtlab-controls { display: grid; gap: 28px; margin-top: 36px; }
.shirtlab .seg span { background: rgba(6, 26, 26, 0.45); }
.shl-label { font-size: var(--step-small); font-weight: 600; }
.shl-upload {
  display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 14px 18px; border-radius: var(--radius); cursor: pointer;
  border: 1.5px dashed rgba(var(--glow-rgb), 0.55); background: rgba(6, 26, 26, 0.35); color: var(--on-dark);
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms var(--ease-out);
}
.shl-upload svg { flex: none; color: var(--glow); }
.shl-upload span { display: grid; gap: 2px; }
.shl-upload strong { font-weight: 600; }
.shl-upload small { font-size: 0.875rem; color: var(--on-dark-soft); }
.shl-upload:active { transform: scale(0.99); }
@media (hover: hover) { .shl-upload:hover { border-color: var(--glow); background: rgba(var(--glow-rgb), 0.08); } }
#shl-file:focus-visible + .shl-upload { outline: 2px solid var(--glow); outline-offset: 3px; }
.shl-check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: var(--step-small); cursor: pointer; justify-self: start; }
.shl-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--glow); cursor: pointer; }
.shl-check[hidden] { display: none; }
.shl-msg { margin: 0; font-size: var(--step-small); color: var(--lit); padding: 10px 14px; border-left: 3px solid var(--glow); background: rgba(6, 26, 26, 0.4); }
.shl-colors { border: 0; margin: 0; padding: 0; min-width: 0; }
.shl-colors legend { font-size: var(--step-small); font-weight: 600; padding: 0; margin-bottom: 12px; }
.shl-colors legend span { font-weight: 400; color: var(--on-dark-soft); }
.shl-swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.shl-swatch { position: relative; display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; }
.shl-swatch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.shl-swatch input[type="color"] { width: 100%; height: 100%; border: 0; padding: 0; }
.shl-swatch > span {
  width: 34px; height: 34px; border-radius: 50%; background: var(--c); pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 0 0 0 transparent;
  transition: box-shadow 160ms ease, transform 160ms var(--ease-out);
}
.shl-swatch input:checked + span, .shl-swatch.is-on > span { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 0 0 3px var(--deep), 0 0 0 5px var(--glow); }
.shl-swatch input:focus-visible + span { outline: 2px solid var(--glow); outline-offset: 5px; }
.shl-swatch:active > span { transform: scale(0.92); }
.shl-swatch-custom > span { background: conic-gradient(from 0deg, #f44, #fd3, #4e6, #3cf, #64f, #f4c, #f44); }
.shl-swatch-custom.is-on > span { background: var(--c); }
.shl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.shl-chip {
  min-height: 44px; padding: 0 16px; border-radius: var(--radius); border: 1.5px solid #24504e; background: rgba(6, 26, 26, 0.45);
  color: var(--on-dark); font: inherit; font-weight: 500; font-size: 0.975rem; cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms var(--ease-out);
}
.shl-chip[aria-pressed="true"] { background: rgba(var(--glow-rgb), 0.12); border-color: var(--glow); color: var(--lit); }
.shl-chip:active { transform: scale(0.97); }
.shl-chip:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; }
.shl-size label { display: flex; justify-content: space-between; align-items: baseline; }
.shl-size output { font-weight: 500; color: var(--glow); font-variant-numeric: tabular-nums; }
.shl-size input[type="range"] { width: 100%; height: 44px; margin: 0; accent-color: var(--glow); cursor: pointer; }
.shl-size.is-off { opacity: 0.45; }

.shirtlab-stage { display: grid; gap: 20px; }
@media (min-width: 901px) { .shirtlab-stage { position: sticky; top: calc(var(--header-h) + 24px); } }
.shl-stage {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse 70% 60% at 50% 42%, #f3f6f5 0%, #dfe7e4 60%, #cbd6d2 100%);
  display: grid; place-items: center;
}
.shl-svg { position: absolute; inset: 4%; width: 92%; height: 92%; overflow: visible; }
.shl-logo { cursor: grab; touch-action: none; outline: none; }
.is-dragging .shl-logo { cursor: grabbing; }
.shl-logo-box { stroke: var(--teal); stroke-width: 1.5; stroke-dasharray: 5 4; opacity: 0; transition: opacity 160ms ease; vector-effect: non-scaling-stroke; }
.shl-area { stroke: #0a7a74; stroke-width: 1.5; stroke-dasharray: 6 5; opacity: 0; transition: opacity 200ms ease; pointer-events: none; vector-effect: non-scaling-stroke; }
@media (hover: hover) { .shl-stage:hover .shl-area { opacity: 0.55; } .shl-logo:hover .shl-logo-box { opacity: 0.9; } }
.is-dragging .shl-area { opacity: 0.7; }
.shl-logo:focus-visible .shl-logo-box, .is-dragging .shl-logo-box { opacity: 1; }
.shl-side { position: absolute; z-index: 2; top: 14px; left: 14px; display: flex; border: 0; margin: 0; padding: 4px; border-radius: 999px; background: rgba(6, 26, 26, 0.82); }
.shl-side label { position: relative; }
.shl-side input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.shl-side span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; color: var(--on-dark); font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: background-color 180ms ease, color 180ms ease; }
.shl-side input:checked + span { background: var(--glow); color: var(--night); }
.shl-side input:focus-visible + span { outline: 2px solid var(--glow); outline-offset: 2px; }
.shl-hint { position: absolute; z-index: 2; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: rgba(6, 26, 26, 0.82); color: var(--on-dark); font-size: 0.875rem; font-weight: 500; pointer-events: none; transition: opacity 300ms ease; }
.is-dragging .shl-hint { opacity: 0; }
.shl-drop { position: absolute; z-index: 3; inset: 10px; display: grid; place-items: center; border: 2px dashed var(--teal); border-radius: var(--radius); background: rgba(238, 243, 241, 0.86); color: var(--deep); font-weight: 600; font-size: 1.25rem; opacity: 0; pointer-events: none; transition: opacity 160ms ease; }
.shl-stage.is-drop .shl-drop { opacity: 1; }
.shl-stage.is-busy .shl-svg { opacity: 0.6; transition: opacity 200ms ease; }
.shl-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.shirtlab .signlab-foot .small a { color: var(--glow); }
@media (max-width: 900px) {
  .shirtlab-grid { grid-template-columns: 1fr; gap: 28px; }
  .shirtlab-copy { display: contents; }
  .shirtlab-copy .lead { margin-top: -8px; }
  .shirtlab-stage { display: contents; }
  .shl-stage { order: 1; }
  .shirtlab-controls { order: 2; margin-top: 8px; }
  .shirtlab .signlab-foot { order: 3; }
}
@media (max-width: 560px) { .shl-actions, .shl-actions .btn { width: 100%; } .shl-hint { display: none; } }

/* ---------- Galerie ---------- */
.work-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.work-head .lead { color: var(--ink); margin: 0; justify-self: end; max-width: 40ch; font-size: var(--step-body); }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid #b9cbc7; background: transparent; color: var(--ink); font-weight: 500; font-size: 0.975rem; cursor: pointer; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out); }
.chip:active { transform: scale(0.97); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip-n { font-variant-numeric: tabular-nums; opacity: 0.7; font-size: 0.875em; }
@media (hover: hover) and (pointer: fine) { .chip[aria-pressed="false"]:hover { border-color: var(--ink); } }
/* Filter der Galerie: reine Typografie – Leistung als Wort, Anzahl hochgestellt, aktiv = unterstrichen */
.g-filter { display: flex; flex-wrap: wrap; gap: 0 clamp(18px, 2.4vw, 40px); margin-bottom: clamp(20px, 3vw, 40px); }
.g-filter .chip { gap: 5px; min-height: 44px; padding: 0; border: 0; border-radius: 0; color: var(--ink-soft); font-size: clamp(1.125rem, 0.95rem + 0.7vw, 1.625rem); font-weight: 500; letter-spacing: -0.02em; background: linear-gradient(var(--teal), var(--teal)) 0 calc(50% + 0.78em) / 0 2px no-repeat; transition: color 160ms ease, background-size 320ms var(--ease-out); }
.g-filter .chip[aria-pressed="true"] { background-color: transparent; background-size: 100% 2px; color: var(--ink); }
.g-filter .chip-n { align-self: flex-start; margin-top: 0.75em; font-size: 0.5em; font-weight: 600; letter-spacing: 0; opacity: 0.75; }
@media (hover: hover) and (pointer: fine) { .g-filter .chip[aria-pressed="false"]:hover { color: var(--ink); } }
/* Galerie als Mosaik: feines Raster (--u = Spaltenbreite, eine Reihe = ein Drittel davon). site.js setzt die Kacheln
   in Bändern von 6 Reihen und wählt für jedes Bild das Format, das seinem Seitenverhältnis (--r) am nächsten kommt –
   Hochformat bleibt hoch, Querformat quer, die Fläche schließt unten immer bündig ab. Beim Filtern setzt sich das
   Mosaik neu zusammen. Ohne JavaScript: gleichmäßige quadratische Kacheln. */
[data-gallery] > .wrap { container-type: inline-size; }
.g-grid {
  --cols: 6; --gap: clamp(6px, 0.8vw, 12px);
  --u: calc((100cqw - (var(--cols) - 1) * var(--gap)) / var(--cols));
  display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); grid-auto-rows: calc((var(--u) - 2 * var(--gap)) / 3); grid-auto-flow: dense; gap: var(--gap);
  list-style: none; padding: 0; margin: 0;
}
.g-item { grid-row: span 3; min-width: 0; }
.g-item[hidden] { display: none; }
.g-link { display: block; position: relative; overflow: hidden; width: 100%; height: 100%; background: var(--paper-2); border-radius: var(--radius); container-type: inline-size; }
.g-link picture, .intro-pic picture, .svc-peek picture, .avatar picture { width: 100%; height: 100%; }
.g-link picture { display: block; }
.g-link img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transition: transform 700ms var(--ease-out); }
.g-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 0 var(--glow); transition: box-shadow 220ms var(--ease-out); pointer-events: none; }
.g-link:focus-visible::after { box-shadow: inset 0 0 0 3px var(--glow); }
@media (hover: hover) and (pointer: fine) {
  .g-link:hover img { transform: scale(1.045); }
  .g-link:hover::after { box-shadow: inset 0 0 0 3px var(--glow); }
}
.g-item.is-in { animation: gIn 420ms var(--ease-out) both; }
@keyframes gIn { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
.g-more { display: flex; justify-content: center; margin-top: clamp(28px, 3vw, 44px); }

@media (min-width: 701px) and (max-width: 1100px) { .g-grid { --cols: 4; } }
@media (max-width: 700px) {
  .g-grid { --cols: 2; }
  .work-head { grid-template-columns: 1fr; } .work-head .lead { justify-self: start; }
  .chip { min-height: 40px; padding: 0 12px; font-size: 0.9rem; }
}
/* Wenige Bilder (bis 4): gleich große Kacheln nebeneinander */
@media (min-width: 701px) { .g-grid.g-grid--few { --cols: 4; } }

/* Projekte: mehrere Bilder eines Auftrags = eine Kachel mit Titelbild, Name und Anzahl (unten mittig – passt in jede Form) */
.js [data-gallery]:not(.is-ready) .g-item:is([data-more], [data-member]) { display: none; }
html:not(.js) .g-proj { display: none; }
.g-proj {
  position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 48px 14% 14px; background: linear-gradient(180deg, rgba(4, 16, 16, 0), rgba(4, 16, 16, 0.86));
  color: var(--lit); font-size: 0.9375rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; text-align: center; pointer-events: none;
}
.g-proj-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-proj-n { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(6, 26, 26, 0.72); box-shadow: inset 0 0 0 1px rgba(var(--glow-rgb), 0.4); color: var(--glow); font-size: 0.8125rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.g-proj-n::before { content: ""; width: 13px; height: 13px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 8h13v13H3zM8 8V3h13v13h-5' fill='none' stroke='black' stroke-width='2.4'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 8h13v13H3zM8 8V3h13v13h-5' fill='none' stroke='black' stroke-width='2.4'/%3E%3C/svg%3E") center/contain no-repeat; }
@container (max-width: 250px) { .g-proj { padding: 28px 6px 14px; } .g-proj-name { display: none; } }
@container (max-width: 140px) { .g-proj { padding-bottom: 16px; } .g-proj-n { padding: 3px 7px; font-size: 0.6875rem; gap: 4px; } .g-proj-n::before { width: 10px; height: 10px; } }

/* Filtern / Mehr zeigen: die Kacheln wandern an ihren neuen Platz und wechseln dabei die Form (View Transition, nur wo unterstützt) */
html.g-morph::view-transition-group(*) { animation-duration: 480ms; animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); }
html.g-morph::view-transition-old(*), html.g-morph::view-transition-new(*) { height: 100%; object-fit: cover; }
html.g-morph::view-transition-old(root) { display: none; }
html.g-morph::view-transition-new(root) { animation: none; }
html.g-morph::view-transition-group(site-header) { z-index: 1; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(4, 16, 16, 0.96); color: var(--on-dark); }
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; animation: lbIn 220ms var(--ease-out); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb-stage { position: relative; display: grid; place-items: center; padding: 64px 72px 8px; min-height: 0; touch-action: pan-y; }
.lb-img { max-width: 100%; max-height: calc(100svh - 160px); width: auto; height: auto; object-fit: contain; border-radius: 2px; transition: opacity 200ms ease, filter 200ms ease; }
.lb-img.is-loading { opacity: 0.4; filter: blur(4px); }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--margin) 22px; }
.lb-cap { margin: 0; font-size: var(--step-small); }
.lb-cap strong { display: block; font-size: 1rem; font-weight: 600; }
.lb-count { font-variant-numeric: tabular-nums; color: var(--on-dark-soft); font-size: var(--step-small); white-space: nowrap; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(232, 242, 240, 0.1); color: var(--on-dark); cursor: pointer; transition: background-color 160ms ease, transform 160ms var(--ease-out); }
.lb-btn:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .lb-btn:hover { background: rgba(232, 242, 240, 0.2); } }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; margin-top: -24px; }
.lb-next { right: 12px; top: 50%; margin-top: -24px; }
@media (max-width: 700px) { .lb-stage { padding: 60px 8px 8px; } .lb-prev, .lb-next { top: auto; bottom: -62px; margin: 0; } .lb-prev { left: auto; right: 72px; } .lb-bar { padding-right: 140px; min-height: 76px; } }

/* ---------- Kunden ---------- */
.clients .h-section { margin-bottom: clamp(32px, 4vw, 56px); max-width: 16ch; }
.logo-wall { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.logo-wall li { position: relative; aspect-ratio: 3 / 2; background: var(--white); border-radius: 2px; }
.logo-wall picture { position: absolute; inset: 22% 16%; display: flex; align-items: center; justify-content: center; }
.logo-wall img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: 0.85; transition: filter 240ms ease, opacity 240ms ease; }
@media (hover: hover) and (pointer: fine) { .logo-wall li:hover img { filter: none; opacity: 1; } }
@media (max-width: 1000px) { .logo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } .logo-wall img { filter: none; opacity: 1; } }

/* ---------- Bewertungen ---------- */
.reviews-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 96px); align-items: start; }
.score { display: flex; align-items: center; gap: 18px; margin: 28px 0 6px; }
.score-num { font-size: clamp(4.5rem, 2rem + 7vw, 8rem); line-height: 0.85; font-weight: 600; letter-spacing: -0.05em; }
.stars { display: flex; gap: 3px; color: #ffcc4d; }
.reviews-score .small { color: var(--on-dark-soft); }
.reviews-links { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin-top: 24px; color: var(--glow); }
.letter { margin: 0; }
.letter blockquote { margin: 0; max-width: 40ch; }
.letter-open { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 20px; }
.letter blockquote p:not(.letter-open) { font-size: clamp(1.125rem, 1rem + 0.35vw, 1.3125rem); line-height: 1.55; }
.letter figcaption { display: flex; align-items: center; gap: 14px; margin-top: 32px; font-size: var(--step-small); color: var(--on-dark-soft); }
.letter figcaption strong { color: var(--on-dark); font-weight: 600; font-size: 1rem; }
.avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-sm { width: 36px; height: 36px; }
.quotes { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: clamp(14px, 1.6vw, 22px); margin-top: clamp(64px, 8vw, 120px); }
.quote { position: relative; display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 2.4vw, 32px); border-radius: 18px; background: rgba(6, 26, 26, 0.55); border: 1px solid rgba(var(--glow-rgb), 0.12); transition: border-color 200ms ease, transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .quote:hover { border-color: rgba(var(--glow-rgb), 0.35); transform: translateY(-2px); } }
.quote blockquote { margin: 0; flex: 1; font-size: var(--step-body); line-height: 1.55; }
.quote blockquote p { margin: 0; }
.quote-by { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 0.9375rem; margin: 0; }
.quote-date { display: block; font-weight: 400; color: var(--on-dark-soft); font-size: 0.875rem; }
.quote .avatar-sm { width: 40px; height: 40px; }
.stars-sm { color: #ffcc4d; gap: 2px; }
/* Varianten */
.quote--wide { grid-column: span 2; }
.quote--wide blockquote { font-size: clamp(1.125rem, 1rem + 0.45vw, 1.375rem); }
.quote--short blockquote { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.125rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
.quote--teal { background: var(--teal); border-color: transparent; }
.quote--teal .quote-date { color: rgba(232, 242, 240, 0.8); }
.quote--light { background: var(--paper); color: var(--ink); border-color: transparent; }
.quote--light .quote-date { color: var(--ink-soft); }
.quote--light .stars-sm { color: #e0a800; }
.quote--cta { justify-content: center; align-items: flex-start; background: transparent; border: 1px dashed rgba(var(--glow-rgb), 0.45); }
.quote--cta p { margin: 0; color: var(--on-dark-soft); }
.quote--cta .quote-cta-title { color: var(--on-dark); font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem); font-weight: 600; line-height: 1.15; }
.quote--cta .btn { margin-top: 6px; }
@media (max-width: 1000px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .quotes { grid-template-columns: 1fr; } .quote--wide { grid-column: auto; } }
@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ---------- Anfrage / CTA ---------- */
.cta-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.cta-title { font-size: clamp(3rem, 1rem + 7vw, 8rem); }
.cta-copy .lead { margin-top: 24px; color: var(--on-dark); max-width: 30ch; }
.cta-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; margin-top: 40px; }
.cta-facts dt { font-size: var(--step-small); color: var(--on-dark-soft); margin-bottom: 4px; }
.cta-facts dd { font-weight: 500; }
.cta-facts a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .cta-facts a:hover { color: var(--glow); text-decoration: underline; } }
.cta-phone { font-size: 1.375rem; font-weight: 600; color: var(--glow); }
.cta-form { background: var(--night-2); padding: clamp(24px, 3vw, 44px); border-radius: var(--radius); }
@media (max-width: 960px) { .cta-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .cta-facts { grid-template-columns: 1fr; } .cta-form { margin-inline: calc(var(--margin) * -1); border-radius: 0; } }

/* Formular */
.form { display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.select { position: relative; }
.select select { appearance: none; padding-right: 44px; cursor: pointer; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); pointer-events: none; opacity: 0.7; }
.field-check { grid-template-columns: auto 1fr; align-items: start; column-gap: 12px; }
.field-check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--glow); cursor: pointer; }
.field-check label { font-weight: 400; font-size: var(--step-small); line-height: 1.5; cursor: pointer; }
.field-check .field-error { grid-column: 2; }
.field-error { color: #ffb4a8; font-size: var(--step-small); margin: 0; }
.sec-paper .field-error { color: #b3261e; }
.is-invalid { border-color: #ff8a7a !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.h-captcha { min-height: 78px; }
.h-captcha.is-compact { min-height: 144px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-alt { margin: 0; font-size: var(--step-small); color: var(--on-dark-soft); }
.form-alt a { color: var(--on-dark); font-weight: 600; }
.form-status { margin: 0; padding: 14px 16px; border-radius: var(--radius); font-weight: 500; }
.form-status.ok { background: rgba(var(--glow-rgb), 0.14); color: var(--lit); }
.form-status.err { background: rgba(255, 138, 122, 0.14); color: #ffd2cb; }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: var(--on-dark); padding-top: clamp(64px, 8vw, 120px); padding-bottom: 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; font-size: 0.9875rem; }
.f-head { font-size: 1rem; font-weight: 600; letter-spacing: 0; margin-bottom: 14px; color: var(--glow); }
.f-head-2 { margin-top: 28px; }
.f-col ul { list-style: none; }
.f-col p, .f-col li { color: var(--on-dark-soft); line-height: 1.75; }
.f-col a { text-decoration: none; color: var(--on-dark); }
@media (hover: hover) and (pointer: fine) { .f-col a:hover { color: var(--glow); text-decoration: underline; } }
.footer-mark { margin-top: clamp(64px, 10vw, 160px); }
.footer-mark svg { width: 100%; height: auto; overflow: visible; }
.footer-mark text { font-family: var(--font); font-weight: 600; font-size: 150px; letter-spacing: -6px; fill: var(--teal-hi); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 20px; font-size: var(--step-small); color: var(--on-dark-soft); }
.footer-legal p { margin: 0; }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-legal a { color: var(--on-dark); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .footer-legal a:hover { text-decoration: underline; } }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }

/* Cookie-Einwilligung */
.consent {
  position: fixed; z-index: 150; left: 16px; bottom: 16px; width: min(440px, calc(100% - 32px));
  padding: 22px 22px 20px; border-radius: 14px; background: var(--night-2); color: var(--on-dark);
  border: 1px solid rgba(var(--glow-rgb), 0.28); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  opacity: 0; transform: translateY(16px); transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out);
}
.consent.is-on { opacity: 1; transform: none; }
.consent h2 { margin: 0 0 8px; font-size: 1.1875rem; line-height: 1.25; letter-spacing: -0.01em; }
.consent p { margin: 0; font-size: 0.9375rem; line-height: 1.55; color: var(--on-dark-soft); }
.consent a { color: var(--glow); }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.consent-actions .btn { width: 100%; justify-content: center; }
@media (max-width: 760px) { .consent { left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); width: auto; padding: 18px; } }
@media (prefers-reduced-motion: reduce) { .consent { transition: none; } }

/* Mobile Anruf-Leiste */
.callbar { display: none; }
@media (max-width: 760px) {
  .callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(6, 26, 26, 0.97);
    transform: translateY(110%); transition: transform 280ms var(--ease-out);
  }
  .callbar.is-on { transform: none; }
  .callbar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: var(--radius); font-weight: 600; text-decoration: none; transition: transform 160ms var(--ease-out); }
  .callbar a:active { transform: scale(0.97); }
  .callbar-call { border: 1.5px solid rgba(232, 242, 240, 0.35); color: var(--on-dark); }
  .callbar-cta { background: var(--glow); color: var(--night); }
  .site-footer { padding-bottom: 96px; }
}

/* ---------- Einblenden beim Scrollen ---------- */
@media (prefers-reduced-motion: no-preference) { .js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(24px); } }
.js [data-reveal] { transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Licht an: Überschriften auf dunklem Grund leuchten wie die Schrift im Hero ---------- */
:is(.sec-night, .sec-deep) :is(.h-section, .h-display), .page-hero h1 {
  color: var(--lit);
  text-shadow: 0 0 16px rgba(var(--glow-rgb), 0.16), 0 0 44px rgba(0, 150, 140, 0.2);
}
@media (prefers-reduced-motion: no-preference) {
  .js :is(.sec-night, .sec-deep):not(.is-lit) :is(.h-section, .h-display) { color: #2a4744; text-shadow: none; }
  /* Seitenkopf: zündet auch ohne site.js nach kurzer Zeit von selbst (bleibt nie dunkel) */
  .js .page-hero:not(.is-lit) h1 { animation: lightOn 1000ms steps(1, end) 2500ms both; }
  .js :is(.sec-night, .sec-deep).is-lit :is(.h-section, .h-display), .js .page-hero.is-lit h1 { animation: lightOn 1000ms steps(1, end) both; }
}
@keyframes lightOn {
  0% { color: #2a4744; text-shadow: none; }
  14% { color: var(--lit); text-shadow: 0 0 14px rgba(var(--glow-rgb), 0.35); }
  22% { color: #2a4744; text-shadow: none; }
  38% { color: var(--lit); text-shadow: 0 0 16px rgba(var(--glow-rgb), 0.16), 0 0 44px rgba(0, 150, 140, 0.2); }
  46% { color: #9fc9c2; text-shadow: none; }
  58%, 100% { color: var(--lit); text-shadow: 0 0 16px rgba(var(--glow-rgb), 0.16), 0 0 44px rgba(0, 150, 140, 0.2); }
}
/* Lichtschein auf der Wand, folgt dem Mauszeiger (Element wird von site.js eingefügt) */
.sec-night, .sec-deep, .page-hero { isolation: isolate; }
.sec-night, .sec-deep { overflow: clip; }
.wall-glow {
  position: absolute; left: 0; top: 0; z-index: -1; width: 760px; height: 760px; margin: -380px 0 0 -380px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--glow-rgb), 0.11), rgba(0, 150, 140, 0.05) 55%, transparent);
  pointer-events: none; opacity: 0; transition: opacity 600ms ease; will-change: transform;
}
.wall-glow.is-on { opacity: 1; }

/* ---------- Seitenwechsel: weiches Überblenden statt hartem Neuladen ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
.site-header { view-transition-name: site-header; }
.page-hero h1 { view-transition-name: ph-title; }
::view-transition-old(root) { animation: vtOut 160ms ease both; }
::view-transition-new(root) { animation: vtIn 360ms cubic-bezier(0.23, 1, 0.32, 1) both; }
::view-transition-group(ph-title) { animation-duration: 420ms; animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1); }
::view-transition-old(ph-title), ::view-transition-new(ph-title) { height: 100%; width: auto; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Unterseiten ---------- */
.page-hero { padding-block: clamp(56px, 10vw, 140px) clamp(48px, 7vw, 96px); background: var(--night); }
.page-hero h1 { font-size: clamp(3rem, 1rem + 8vw, 9rem); line-height: 0.92; letter-spacing: -0.045em; }
.page-hero .lead { margin-top: 24px; color: var(--on-dark); max-width: 42ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--step-small); color: var(--on-dark-soft); margin-bottom: 28px; }
.crumbs a { color: var(--on-dark); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--on-dark-soft); }
.page-hero { color: var(--on-dark); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 1100px; max-height: 1100px; background: radial-gradient(closest-side, rgba(var(--glow-rgb), 0.10), transparent 70%); pointer-events: none; }
.ph-grid { position: relative; display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; }
.page-hero.has-media .ph-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.page-hero.has-media h1 { font-size: clamp(2.75rem, 1rem + 5.4vw, 6.5rem); }
.ph-kicker { display: block; margin-top: 18px; font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; color: var(--glow); }
.ph-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
/* Bilder im Originalformat zeigen (nichts abschneiden) */
.ph-media { border-radius: 20px; overflow: hidden; justify-self: center; width: fit-content; max-width: 100%; background: var(--night-2); }
.ph-media picture { display: block; }
.ph-media img { display: block; width: auto; max-width: 100%; height: auto; max-height: min(74vh, 760px); }
@media (max-width: 900px) {
  .page-hero.has-media .ph-grid { grid-template-columns: 1fr; }
  .ph-media img { max-height: 70vh; }
}

/* Punkte / Vorteile */
.points-h { margin-bottom: clamp(32px, 4vw, 56px); max-width: 18ch; }
.points-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
@media (max-width: 1100px) { .points-list { grid-template-columns: repeat(min(var(--cols, 4), 3), minmax(0, 1fr)); } }
@media (max-width: 860px) { .points-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .points-list { grid-template-columns: 1fr; } }
.point { padding: clamp(24px, 2.6vw, 36px); border-radius: 18px; background: var(--white); border: 1px solid #d5e1de; }
.point h3 { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 12px; }
.point p { margin: 0; color: var(--ink-soft); line-height: 1.55; }
.sec-night .point, .sec-deep .point { background: rgba(6, 26, 26, 0.55); border-color: rgba(var(--glow-rgb), 0.14); }
.sec-night .point p, .sec-deep .point p { color: var(--on-dark-soft); }

/* Fließtext-Abschnitte auf Leistungsseiten */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.split .h-section { max-width: 14ch; }
.split-copy p { font-size: var(--step-body); line-height: 1.6; max-width: 62ch; }
.split-copy p + p { margin-top: 1em; }
.split-copy ul { padding-left: 1.2em; line-height: 1.6; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.faq-list { border-top: 1px solid #c3d3cf; }
.faq-item { border-bottom: 1px solid #c3d3cf; }
.faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem); font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; margin: 0; }
.faq-icon { flex: none; position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid currentColor; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform 200ms var(--ease-out); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 0 24px; max-width: 64ch; color: var(--ink-soft); line-height: 1.6; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

/* Hersteller-Katalog */
.k-tools { margin-bottom: 28px; }
.k-tools .g-filter { margin-bottom: 12px; }
.chip-sm { min-height: 38px; padding: 0 13px; font-size: 0.9rem; }
.k-subs { padding-left: 14px; border-left: 2px solid var(--teal); }
.k-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 8px; }
.k-search { position: relative; display: flex; align-items: center; flex: 1 1 280px; max-width: 420px; }
.k-search svg { position: absolute; left: 14px; color: var(--ink-soft); pointer-events: none; }
.k-search input { width: 100%; min-height: 46px; padding: 0 16px 0 42px; border-radius: 999px; border: 1.5px solid #b9cbc7; background: var(--white); color: var(--ink); font: inherit; font-size: 1rem; }
.k-search input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 120, 120, 0.18); }
.k-gender { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--paper-2); }
.k-gender button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-weight: 500; cursor: pointer; transition: background-color 160ms ease, color 160ms ease; }
.k-gender button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.k-count { margin: 0 0 0 auto; color: var(--ink-soft); font-variant-numeric: tabular-nums; font-size: var(--step-small); }
.k-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.k-card { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; border-radius: 16px; outline-offset: 4px; }
.k-media { position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: #f4f6f5; isolation: isolate; }
.k-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: opacity 300ms ease, transform 500ms var(--ease-out); }
.k-back { opacity: 0; }
.k-badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: var(--teal); color: var(--white); font-size: 0.8125rem; font-weight: 600; }
.k-info { position: absolute; inset: auto 0 0 0; z-index: 3; display: flex; flex-direction: column; gap: 10px; padding: 18px; background: rgba(6, 26, 26, 0.94); color: var(--on-dark); font-size: 0.875rem; line-height: 1.45; transform: translateY(101%); transition: transform 320ms var(--ease-out); }
.k-teaser { margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--on-dark); }
.k-facts { margin: 0; display: grid; gap: 3px; }
.k-facts div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; }
.k-facts dt { color: var(--on-dark-soft); }
.k-facts dd { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.k-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; color: var(--glow); font-weight: 600; }
.k-body { padding: 14px 4px 0; }
.k-name { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; margin: 0; }
.k-meta { margin: 4px 0 0; font-size: 0.875rem; color: var(--ink-soft); }
.k-ext { flex: none; }
@media (hover: hover) and (pointer: fine) {
  .k-card:hover .k-info, .k-card:focus-visible .k-info { transform: translateY(0); }
  .k-card:hover .k-back { opacity: 1; }
  .k-card:hover .k-media img:not(.k-back) { transform: scale(1.03); }
  .k-card:hover .k-media:has(.k-back) img:not(.k-back) { opacity: 0; }
  .k-card:hover .k-name { text-decoration: underline; text-underline-offset: 3px; }
}
.k-card:focus-visible .k-info { transform: translateY(0); }
.k-empty { padding: 48px 0; text-align: center; color: var(--ink-soft); }
.katalog .g-more { flex-direction: column; align-items: center; gap: 16px; }
.k-all { color: var(--teal); }
.k-note { margin: 28px 0 0; text-align: center; font-size: 0.8125rem; color: var(--ink-soft); }
@media (max-width: 1100px) { .k-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .k-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .k-info { display: none; }
  .k-name { font-size: 0.975rem; }
  .k-count { margin-left: 0; width: 100%; }
}

/* Rechtstexte */
.legal { background: var(--paper); color: var(--ink); padding-block: clamp(48px, 7vw, 96px) var(--sec-gap); }
.legal .prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 2em 0 0.6em; letter-spacing: -0.02em; }
.prose h3 { font-size: 1.25rem; margin: 1.8em 0 0.5em; letter-spacing: -0.01em; }
.prose h4, .prose h5, .prose h6 { font-size: 1.0625rem; margin: 1.5em 0 0.4em; letter-spacing: 0; }
.prose p, .prose li { line-height: 1.65; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose a { color: var(--teal); word-break: break-word; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: var(--step-small); display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #c9d7d3; vertical-align: top; }

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
  .js [data-reveal] { transform: none; transition: opacity 300ms ease; }
  .js .hero-foot.pre { transform: none; }
  .sign .ch.flicker { animation: none; }
  .g-link, .g-link img, .svc-peek { transition: none; }
  .g-item.is-in { animation: none; }
}

/* Signlab mobil: Hinweis oben, Tag/Nacht unten – nichts überlappt; etwas höhere Bühne */
@media (max-width: 640px) {
  .facade-hint { top: 12px; bottom: auto; left: 12px; min-height: 36px; font-size: 0.8125rem; }
  .facade-zoom { top: 12px; right: 12px; flex-direction: row; }
  .facade-zoom button { width: 40px; height: 40px; }
  .facade-zoom button + button { border-top: 0; border-left: 1px solid rgba(238, 243, 241, 0.14); }
}
.ph-media--product { background: #ffffff; }
.ph-media--product img { object-fit: contain; padding: 6%; }
/* Katalog: weiße Produktfoto-Hintergründe mit der Kartenfläche verschmelzen */
.k-media img { mix-blend-mode: multiply; }
.k-gender button { font-size: 0.975rem; }
@media (max-width: 700px) {
  /* Kategorien als wischbare Zeile statt vieler Zeilen */
  .k-tools .g-filter { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; margin-inline: calc(var(--margin) * -1); padding: 2px var(--margin) 6px; scrollbar-width: none; }
  .k-tools .g-filter::-webkit-scrollbar { display: none; }
  .k-tools .chip { flex: none; scroll-snap-align: start; }
  .k-subs { border-left: 0; }
  .k-gender { width: 100%; }
  .k-gender button { flex: 1; }
}

/* Leistungsseiten: Text + Bild */
.split-head { display: grid; gap: clamp(24px, 3vw, 40px); align-content: start; }
.split-media { border-radius: 18px; overflow: hidden; justify-self: center; width: fit-content; max-width: 100%; background: var(--paper-2); }
.split-media picture { display: block; }
.split-media img { display: block; width: auto; max-width: 100%; height: auto; max-height: min(70vh, 640px); }
.split-copy { padding-top: 8px; }
.split-copy .link-arrow { color: var(--teal); }
.split-list-intro { font-weight: 600; margin-top: 1.4em !important; }
.ticks { list-style: none; padding: 0 !important; margin: 14px 0 1em; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 34px; font-size: var(--step-body); line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 22px; height: 22px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.point .link-arrow { display: inline-flex; margin-top: 10px; color: var(--teal); }
.sec-night .point .link-arrow { color: var(--glow); }

/* Weitere Leistungen */
.other-services .h-section { margin-bottom: clamp(28px, 4vw, 48px); }
.os-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.os-card { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; color: var(--white); text-decoration: none; background: var(--night-2); isolation: isolate; }
.os-card picture, .os-card img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); display: block; transition: transform 600ms var(--ease-out), opacity 300ms ease; opacity: 0.72; }
.os-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(6, 26, 26, 0.92)); z-index: 1; }
.os-name { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.375rem); font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; }
@media (hover: hover) and (pointer: fine) { .os-card:hover img { transform: scale(1.05); opacity: 0.9; } .os-card:hover .os-name { text-decoration: underline; text-underline-offset: 4px; } }
@media (max-width: 1000px) { .os-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .os-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .os-name { left: 12px; right: 12px; bottom: 10px; } }

/* Marken-Karten (Textildruck) */
.brands-lead { margin: 20px 0 clamp(32px, 4vw, 56px); max-width: 52ch; color: var(--on-dark); }
.brand-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.brand-card { display: grid; grid-template-rows: auto 1fr; height: 100%; border-radius: 20px; overflow: hidden; background: rgba(6, 26, 26, 0.55); border: 1px solid rgba(var(--glow-rgb), 0.14); color: var(--on-dark); text-decoration: none; transition: border-color 200ms ease; }
.brand-media { aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.brand-media picture, .brand-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 600ms var(--ease-out); }
.brand-card.is-product .brand-media img { object-fit: contain; padding: 4%; }
.brand-media.brand-logo-box { aspect-ratio: 2 / 1; display: grid; place-items: center; padding: 8% 16%; }
.brand-media.brand-logo-box img { width: 100%; max-width: 300px; height: auto; object-fit: contain; }
.brand-copy { padding: clamp(20px, 2.4vw, 32px); display: grid; gap: 10px; align-content: start; }
.brand-copy h3 { font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.875rem); letter-spacing: -0.02em; line-height: 1.1; }
.brand-copy p { margin: 0; color: var(--on-dark-soft); line-height: 1.55; }
.brand-copy .link-arrow { color: var(--glow); }
@media (hover: hover) and (pointer: fine) { .brand-card:hover { border-color: rgba(var(--glow-rgb), 0.45); } .brand-card:hover .brand-media img { transform: scale(1.03); } }
@media (max-width: 760px) { .brand-list { grid-template-columns: 1fr; } }

/* Kontakt: So finden Sie uns */
.visit-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.visit-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.visit-card { padding: clamp(22px, 2.4vw, 32px); border-radius: 18px; background: var(--white); border: 1px solid #d5e1de; display: grid; gap: 10px; align-content: start; }
.visit-card h3 { font-size: 1.125rem; letter-spacing: -0.01em; }
.visit-card p { margin: 0; line-height: 1.6; color: var(--ink-soft); }
.visit-card a:not(.btn) { color: var(--teal); }
.visit-card .btn { justify-self: start; margin-top: 6px; }
.clients-lead { margin: -12px 0 clamp(28px, 4vw, 48px); max-width: 40ch; }
@media (max-width: 900px) { .visit-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .visit-cards { grid-template-columns: 1fr; } }
/* lange Wörter in großen Überschriften dürfen nicht in die Nachbarspalte ragen */
.cta-title { font-size: clamp(2.75rem, 1rem + 5vw, 6.5rem); hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.cta-copy { min-width: 0; }
.nf-links { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 4px 28px; }
.nf-links a { color: var(--glow); }
