/* ==========================================================================
   SHG – Fliesen und Bäder GbR
   Design System  ·  "Liquid Chrome"  –  Dark Luxury / Hightech
   Autor: Neugestaltung 2026
   ========================================================================== */

/* ---------- 1. Fonts (self-hosted, DSGVO-konform) ---------- */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/outfit-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/outfit-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'InterVar';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'InterVar';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/inter-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- 2. Tokens ---------- */
:root {
  --bg:            #05070a;
  --bg-2:          #080b10;
  --bg-3:          #0c1118;
  --surface:       rgba(255, 255, 255, .035);
  --surface-2:     rgba(255, 255, 255, .055);
  --stroke:        rgba(255, 255, 255, .09);
  --stroke-strong: rgba(255, 255, 255, .16);

  --text:          #e9eff6;
  --text-dim:      #9fb0c0;
  --text-faint:    #6b7c8c;

  --aqua:          #5be1e6;
  --aqua-deep:     #229fd8;
  --brass:         #e3b878;
  --brass-deep:    #b98c4c;

  --grad-chrome:   linear-gradient(135deg, #ffffff 0%, #b8ccdb 38%, #6f8b9e 62%, #eaf3f9 100%);
  --grad-aqua:     linear-gradient(120deg, #5be1e6 0%, #37b6e9 50%, #2f7ee0 100%);
  --grad-brass:    linear-gradient(120deg, #f3d9ac 0%, #e3b878 45%, #b0854a 100%);

  --shadow-sm:     0 2px 10px rgba(0, 0, 0, .35);
  --shadow-md:     0 18px 45px -18px rgba(0, 0, 0, .8);
  --shadow-lg:     0 40px 90px -30px rgba(0, 0, 0, .9);
  --glow-aqua:     0 0 0 1px rgba(91, 225, 230, .28), 0 12px 45px -12px rgba(55, 182, 233, .55);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 34px;

  --nav-h: 84px;
  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 56px);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);

  --font-display: 'Outfit', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'InterVar', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ---------- 3. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(15.5px, .45vw + 14.4px, 17px);
  line-height: 1.72;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}
body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }

::selection { background: rgba(91, 225, 230, .28); color: #fff; }

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

/* Scrollbar */
@supports selector(::-webkit-scrollbar) {
  ::-webkit-scrollbar { width: 11px; height: 11px; }
  ::-webkit-scrollbar-track { background: #05070a; }
  ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #2b3a48, #16202a);
    border-radius: 20px;
    border: 2px solid #05070a;
  }
  ::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #3d5163, #24313d); }
}

/* ---------- 4. Typografie ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.022em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 3.9vw, 3.35rem); }
h3 { font-size: clamp(1.3rem, 1.7vw, 1.72rem); }
h4 { font-size: clamp(1.06rem, 1.1vw, 1.2rem); font-weight: 600; letter-spacing: -.01em; }
h3.h-sm, .h-sm { font-size: clamp(1.06rem, 1.1vw, 1.2rem); font-weight: 600; letter-spacing: -.01em; }
p  { text-wrap: pretty; }

strong, b { font-weight: 650; color: #fff; }

.lead {
  font-size: clamp(1.06rem, 1.25vw, 1.28rem);
  line-height: 1.66;
  color: var(--text-dim);
}
.muted { color: var(--text-dim); }
.tiny  { font-size: .82rem; letter-spacing: .01em; color: var(--text-faint); }

.chrome-text {
  background: var(--grad-chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.aqua-text {
  background: var(--grad-aqua);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brass-text {
  background: var(--grad-brass);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 5. Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.wrap-wide { max-width: 1480px; }

section { position: relative; }
.section {
  padding-block: clamp(72px, 9vw, 140px);
}
.section-tight { padding-block: clamp(52px, 6vw, 92px); }

.grid { display: grid; gap: clamp(18px, 2.2vw, 30px); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

@media (max-width: 1000px) {
  .g-4, .g-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 660px) {
  .g-2, .g-3, .g-4, .g-5 { grid-template-columns: minmax(0, 1fr); }
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

.stack-sm > * + * { margin-top: .7rem; }
.stack > * + *    { margin-top: 1.15rem; }
.stack-lg > * + * { margin-top: 1.9rem; }

.center { text-align: center; }
.center .section-head { margin-inline: auto; }

/* ---------- 6. Atmosphäre / Hintergründe ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: .034;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.aurora {
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 130%;
  z-index: 0;
  pointer-events: none;
  filter: blur(90px);
  opacity: .5;
}
.aurora span {
  position: absolute;
  display: block;
  border-radius: 50%;
  will-change: transform;
}
.aurora .a1 {
  width: 46vw; height: 46vw; left: -6vw; top: 4vw;
  background: radial-gradient(circle at 30% 30%, rgba(55, 182, 233, .55), transparent 68%);
  animation: drift1 26s var(--ease) infinite alternate;
}
.aurora .a2 {
  width: 40vw; height: 40vw; right: -4vw; top: -6vw;
  background: radial-gradient(circle at 60% 40%, rgba(91, 225, 230, .38), transparent 66%);
  animation: drift2 32s var(--ease) infinite alternate;
}
.aurora .a3 {
  width: 34vw; height: 34vw; left: 42%; bottom: -10vw;
  background: radial-gradient(circle at 50% 50%, rgba(227, 184, 120, .22), transparent 68%);
  animation: drift3 38s var(--ease) infinite alternate;
}
@keyframes drift1 { to { transform: translate3d(9vw, 5vw, 0) scale(1.18); } }
@keyframes drift2 { to { transform: translate3d(-8vw, 7vw, 0) scale(1.12); } }
@keyframes drift3 { to { transform: translate3d(-6vw, -6vw, 0) scale(1.22); } }

.mesh-line {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 78%);
}

.glow-divider {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(91, 225, 230, .45), rgba(255, 255, 255, .12), transparent);
}

/* ---------- 7. Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: height .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s var(--ease);
  background: linear-gradient(180deg, rgba(5, 7, 10, .72), rgba(5, 7, 10, 0));
}
.nav.is-stuck {
  height: 68px;
  background: rgba(6, 9, 13, .78);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .07), 0 18px 40px -26px rgba(0, 0, 0, .95);
}
.nav-inner {
  width: 100%;
  max-width: 1480px;
  margin-inline: auto;
  padding-inline: var(--pad);
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 34px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  margin-right: auto;
}
.brand img {
  height: 40px;
  width: auto;
  transition: height .4s var(--ease);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .6));
}
.nav.is-stuck .brand img { height: 32px; }
.brand-fallback {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-fallback .bf-1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.34rem;
  letter-spacing: .16em;
  background: var(--grad-chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-fallback .bf-2 {
  font-size: .58rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: .93rem;
  font-weight: 500;
  color: var(--text-dim);
  white-space: nowrap;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav-link:hover,
.nav-item:focus-within > .nav-link,
.nav-item.is-open > .nav-link,
.nav-link[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, .06);
}
.nav-link .caret {
  width: 9px; height: 9px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .3s var(--ease);
  opacity: .7;
}
.nav-item:focus-within .nav-link .caret,
.nav-item.is-open .nav-link .caret,
.nav-links:not(.is-enhanced) .nav-item:hover .nav-link .caret { transform: rotate(225deg) translateY(-2px); }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 268px;
  padding: 10px;
  transform: translate(-50%, 10px);
  background: rgba(9, 13, 18, .975);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  backdrop-filter: blur(26px) saturate(150%);
  border: 1px solid var(--stroke);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
}
/* Unsichtbare Brücke über die Lücke zwischen Menüpunkt und Aufklappfeld.
   Ohne sie verliert der Zeiger auf dem Weg nach unten den Kontakt. Bewusst
   knapp gehalten, damit sie die Nachbar-Menüpunkte nicht überdeckt. */
.dropdown::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;   /* genau der Abstand aus top: calc(100% + 10px) */
  height: 10px;
}
/* Geöffnet wird per JavaScript (mit kurzer Schließverzögerung) sowie über
   Tastaturfokus. Ohne JavaScript greift der :hover-Rückfall darunter. */
.nav-item:focus-within > .dropdown,
.nav-item.is-open > .dropdown,
.nav-links:not(.is-enhanced) .nav-item:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.dropdown a {
  display: block;
  padding: 9px 13px;
  border-radius: 9px;
  font-size: .9rem;
  color: var(--text-dim);
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.dropdown a:hover { background: rgba(91, 225, 230, .1); color: #fff; transform: translateX(3px); }
.dropdown .dd-label {
  padding: 8px 13px 4px;
  font-size: .69rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.nav-cta { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

/* Desktop-Navigation ab 1080px, darunter Burger-Menü */
@media (max-width: 1160px) {
  .nav-link { padding: 10px 10px; font-size: .88rem; }
  .nav-inner { gap: 10px; }
}
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .burger { display: block !important; }
}
@media (max-width: 460px) {
  .nav-cta .btn-sm { display: none; }
}

.burger {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 13px;
  width: 20px; height: 1.7px;
  background: #fff;
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s var(--ease), width .35s var(--ease);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 22.5px; width: 14px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; width: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Mobile Menü */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(4, 6, 9, .96);
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  padding: calc(var(--nav-h) + 18px) var(--pad) 40px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .38s var(--ease), transform .38s var(--ease), visibility .38s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mm-group { border-bottom: 1px solid var(--stroke); }
.mm-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 2px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 500;
  letter-spacing: -.01em;
  text-align: left;
}
.mm-top .plus {
  position: relative;
  width: 17px; height: 17px;
  flex: 0 0 auto;
  opacity: .65;
}
.mm-top .plus::before, .mm-top .plus::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .3s var(--ease);
}
.mm-top .plus::before { inset: 8px 0 auto 0; height: 1.6px; }
.mm-top .plus::after  { inset: 0 8px 0 auto; width: 1.6px; }
.mm-top[aria-expanded="true"] .plus::after { transform: rotate(90deg); opacity: 0; }
.mm-sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease);
}
.mm-sub > div { overflow: hidden; }
.mm-top[aria-expanded="true"] + .mm-sub { grid-template-rows: 1fr; }
.mm-sub a {
  display: block;
  padding: 10px 0 10px 16px;
  color: var(--text-dim);
  border-left: 1px solid var(--stroke);
  margin-left: 3px;
  font-size: .97rem;
}
.mm-sub a:hover { color: var(--aqua); }
.mm-sub > div > :last-child { margin-bottom: 14px; }

/* Scroll-Fortschritt */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: var(--grad-aqua);
  z-index: 1001;
  box-shadow: 0 0 14px rgba(91, 225, 230, .7);
}

/* ---------- 8. Buttons ---------- */
.btn {
  --btn-bg: var(--surface-2);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid var(--stroke-strong);
  border-radius: 100px;
  background: var(--btn-bg);
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 550;
  letter-spacing: .005em;
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  flex: 0 0 auto;
  line-height: 1.25;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .35s var(--ease), color .3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--grad-aqua);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); border-color: transparent; box-shadow: var(--glow-aqua); }
.btn:hover::before { opacity: 1; }
.btn:active { transform: translateY(0); }
.btn .ico {
  width: 17px;
  height: 17px;
  min-width: 17px;
  flex: 0 0 auto;
  stroke-width: 1.9;
}

.btn-primary {
  border-color: transparent;
  color: #04161c;
  font-weight: 650;
}
.btn-primary::before { opacity: 1; }
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, #ffffff, #b6f2f4 55%, #7fd7f7);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.btn-primary:hover { box-shadow: 0 16px 44px -14px rgba(91, 225, 230, .8); }
.btn-primary:hover::after { opacity: 1; }

.btn-ghost { background: transparent; }
.btn-brass { border-color: transparent; color: #1b1206; font-weight: 650; }
.btn-brass::before { background: var(--grad-brass); opacity: 1; }
.btn-brass:hover { box-shadow: 0 16px 44px -14px rgba(227, 184, 120, .7); }

.btn-sm { padding: 10px 18px; font-size: .87rem; }
.btn-lg { padding: 17px 34px; font-size: 1.02rem; }
@media (max-width: 560px) {
  .btn, .btn-lg { width: 100%; padding-inline: 18px; font-size: .95rem; }
  .hero-actions { gap: 11px; }
}
@media (max-width: 380px) {
  .btn, .btn-lg { white-space: normal; border-radius: 18px; }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 550;
  font-size: .95rem;
  color: var(--aqua);
  transition: gap .3s var(--ease);
}
.link-arrow::after {
  content: '';
  width: 16px; height: 16px;
  background: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6'/%3E%3C/svg%3E");
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.link-arrow:hover { gap: 13px; }

/* ---------- 9. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -3; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.7s var(--ease);
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Bewusst wenig Vergrößerung: jedes Prozent Hochskalieren kostet Schärfe. */
  transform: scale(1.03);
  filter: contrast(1.04) saturate(1.05);
}
.hero-slide.is-active img { animation: kenburns 13s linear forwards; }
@keyframes kenburns {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to   { transform: scale(1.075) translate3d(-0.9%, -0.8%, 0); }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(105deg, rgba(4, 6, 9, .95) 0%, rgba(4, 6, 9, .82) 34%, rgba(4, 6, 9, .38) 62%, rgba(4, 6, 9, .68) 100%),
    linear-gradient(to top, rgba(5, 7, 10, 1) 2%, rgba(5, 7, 10, 0) 42%);
}
.hero .aurora { z-index: -1; opacity: .38; }

.hero-content { position: relative; z-index: 2; max-width: 810px; padding-block: clamp(60px, 9vh, 110px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 8px 17px 8px 12px;
  border: 1px solid var(--stroke-strong);
  border-radius: 100px;
  background: rgba(255, 255, 255, .05);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-dim);
}
@media (max-width: 560px) {
  .eyebrow { font-size: .68rem; letter-spacing: .09em; padding: 7px 13px 7px 10px; gap: 8px; }
}
.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 0 rgba(91, 225, 230, .7);
  animation: pulse 2.6s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(91, 225, 230, .65); }
  70%  { box-shadow: 0 0 0 11px rgba(91, 225, 230, 0); }
  100% { box-shadow: 0 0 0 0 rgba(91, 225, 230, 0); }
}

.hero h1 { margin-block: 26px 22px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span {
  display: block;
  transform: translateY(105%);
  animation: riseIn 1.15s var(--ease-out-expo) forwards;
}
.hero h1 .line:nth-child(1) > span { animation-delay: .15s; }
.hero h1 .line:nth-child(2) > span { animation-delay: .28s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .41s; }
@keyframes riseIn { to { transform: translateY(0); } }

.hero-sub {
  max-width: 620px;
  font-size: clamp(1.02rem, 1.2vw, 1.22rem);
  color: #c3d2df;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3.4vw, 52px);
  margin-top: clamp(38px, 5vw, 62px);
  padding-top: 28px;
  border-top: 1px solid var(--stroke);
}
.fact .n {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.9vw, 2.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.03em;
  background: var(--grad-chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fact .l {
  margin-top: 7px;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.hero-dots {
  position: absolute;
  bottom: clamp(24px, 4vh, 46px);
  right: var(--pad);
  z-index: 3;
  display: flex;
  gap: 9px;
}
.hero-dots button {
  width: 30px; height: 3px;
  border: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, .25);
  cursor: pointer;
  padding: 0;
  transition: background .35s var(--ease), width .35s var(--ease);
}
.hero-dots button.is-active { width: 48px; background: var(--aqua); box-shadow: 0 0 12px rgba(91, 225, 230, .8); }

.scroll-hint {
  position: absolute;
  bottom: clamp(22px, 4vh, 44px);
  left: var(--pad);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.scroll-hint i {
  display: block;
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--aqua), transparent);
  animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine {
  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; }
}
@media (max-width: 760px) { .scroll-hint { display: none; } }

/* ---------- 10. Section-Köpfe ---------- */
.section-head { max-width: 720px; margin-bottom: clamp(34px, 4.2vw, 62px); }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--aqua);
}
.kicker::before {
  content: '';
  width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--aqua));
}
.kicker-brass { color: var(--brass); }
.kicker-brass::before { background: linear-gradient(90deg, transparent, var(--brass)); }
.section-head p { margin-top: 18px; }

/* ---------- 11. Karten ---------- */
.card {
  position: relative;
  padding: clamp(22px, 2.4vw, 32px);
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--ease), border-color .4s var(--ease), box-shadow .5s var(--ease);
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity .5s var(--ease);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(91, 225, 230, .13), transparent 62%);
}
.card:hover { transform: translateY(-5px); border-color: var(--stroke-strong); box-shadow: var(--shadow-md); }
.card:hover::before { opacity: 1; }

.card-num {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--aqua);
}
.card h3 { margin-block: 14px 10px; }
.card h4, .card .h-sm { margin-block: 14px 8px; }
.card p { color: var(--text-dim); font-size: .96rem; }

.icon-badge {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--stroke-strong);
  border-radius: 15px;
  background: linear-gradient(150deg, rgba(91, 225, 230, .16), rgba(91, 225, 230, .02));
  color: var(--aqua);
}
.icon-badge svg { width: 24px; height: 24px; }
.icon-badge-brass {
  background: linear-gradient(150deg, rgba(227, 184, 120, .16), rgba(227, 184, 120, .02));
  color: var(--brass);
}

/* Feature-Karte mit Bild */
.feature {
  position: relative;
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-3);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .4s var(--ease);
  display: flex;
  flex-direction: column;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--stroke-strong); }
.feature-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(140deg, #0e151d, #070a0e);
}
.feature-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter .6s var(--ease);
}
.feature:hover .feature-media img { transform: scale(1.07); }
.feature-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 9, 13, .92) 2%, rgba(6, 9, 13, .1) 55%);
}
.feature-body { position: relative; padding: clamp(20px, 2.2vw, 28px); flex: 1; display: flex; flex-direction: column; }
.feature-body h3 { margin-bottom: 10px; }
.feature-body p { color: var(--text-dim); font-size: .95rem; }
.feature-body .link-arrow { margin-top: auto; padding-top: 18px; }
.feature-tag {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  padding: 6px 13px;
  border-radius: 100px;
  background: rgba(5, 8, 12, .74);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--stroke-strong);
  font-size: .71rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--aqua);
}

/* ---------- 12. Prozess-Zeitstrahl ---------- */
.timeline { position: relative; padding-left: 4px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 26px; top: 12px; bottom: 12px;
  width: 1px;
  background: var(--stroke);
}
.timeline .tl-fill {
  position: absolute;
  left: 26px; top: 12px;
  width: 1px;
  height: 0;
  background: linear-gradient(to bottom, var(--aqua), var(--aqua-deep));
  box-shadow: 0 0 14px rgba(91, 225, 230, .65);
  transition: height .15s linear;
}
.tl-step {
  position: relative;
  padding: 0 0 clamp(28px, 3.4vw, 44px) clamp(62px, 6vw, 82px);
}
.tl-step:last-child { padding-bottom: 0; }
.tl-step .tl-dot {
  position: absolute;
  left: 8px; top: 2px;
  width: 37px; height: 37px;
  display: grid;
  place-items: center;
  border: 1px solid var(--stroke-strong);
  border-radius: 50%;
  background: var(--bg-2);
  font-family: var(--font-display);
  font-size: .84rem;
  font-weight: 600;
  color: var(--text-dim);
  transition: color .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.tl-step.is-lit .tl-dot {
  color: #04161c;
  border-color: transparent;
  background: var(--grad-aqua);
  box-shadow: 0 0 24px -4px rgba(91, 225, 230, .75);
}
.tl-step h3 { margin-bottom: 8px; }
.tl-step p { color: var(--text-dim); font-size: .96rem; }

/* ---------- 13. Preis-Karten ---------- */
.price-card { display: flex; flex-direction: column; }
.price-card.is-featured {
  border-color: rgba(91, 225, 230, .38);
  box-shadow: 0 0 0 1px rgba(91, 225, 230, .12), var(--shadow-md);
}
.price-card.is-featured::after {
  content: 'Am häufigsten';
  position: absolute;
  top: 20px; right: 20px;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--grad-aqua);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #04161c;
}
.price-card.is-featured .price-tier { padding-right: 132px; }
.price-tier {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.price-val {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 3.4vw, 3rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.035em;
  background: var(--grad-chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-val small {
  display: block;
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: .84rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text-faint);
  -webkit-text-fill-color: var(--text-faint);
}
.price-list { margin-top: 22px; display: grid; gap: 11px; }
.price-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: .93rem;
  color: var(--text-dim);
}
.price-list li::before {
  content: '';
  flex: 0 0 auto;
  width: 17px; height: 17px;
  margin-top: 4px;
  border-radius: 50%;
  background: rgba(91, 225, 230, .14);
  -webkit-mask: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235be1e6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- 14. Vorher/Nachher-Slider ---------- */
.ba {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--stroke);
  aspect-ratio: 16 / 11;
  cursor: ew-resize;
  background: var(--bg-3);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.ba img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba .ba-after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 0 22px rgba(91, 225, 230, .85);
  pointer-events: none;
}
.ba-handle::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 48px; height: 48px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid #fff;
  background: rgba(5, 8, 12, .55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-5 6 5 6M15 6l5 6-5 6'/%3E%3C/svg%3E");
  background-size: 22px;
  background-position: center;
  background-repeat: no-repeat;
}
.ba-tag {
  position: absolute;
  bottom: 16px;
  z-index: 2;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(5, 8, 12, .72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--stroke-strong);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  pointer-events: none;
}
.ba-tag.l { left: 16px; }
.ba-tag.r { right: 16px; color: var(--aqua); }

/* ---------- 15. Partner-Laufband ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 8px;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-track {
  display: flex;
  gap: clamp(30px, 5vw, 76px);
  width: max-content;
  animation: slide 42s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee img {
  height: clamp(38px, 4vw, 54px);
  width: auto;
  object-fit: contain;
  filter: grayscale(.55);
  opacity: .82;
  transition: filter .45s var(--ease), opacity .45s var(--ease), transform .45s var(--ease);
}
.marquee a:hover img, .marquee-item:hover img { filter: none; opacity: 1; transform: scale(1.06); }
.marquee-item { display: grid; place-items: center; flex: 0 0 auto; }

/* Partner-Kacheln */
.partner-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px 20px;
  min-height: 168px;
  border: 1px solid var(--stroke);
  border-radius: var(--r-md);
  background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
  text-align: center;
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.partner-tile:hover { transform: translateY(-4px); border-color: var(--stroke-strong); background: rgba(255, 255, 255, .07); }
.partner-tile img {
  max-height: 54px;
  width: auto;
  object-fit: contain;
  filter: grayscale(.5);
  opacity: .85;
  transition: filter .4s var(--ease), opacity .4s var(--ease), background .4s var(--ease);
}
.partner-tile:hover img { filter: none; opacity: 1; }
.partner-tile span { font-size: .82rem; color: var(--text-faint); letter-spacing: .04em; }

/* Logos, die dunkel auf hell sind, brauchen auf dunklem Grund eine helle Platte.
   Die Klasse wird zur Laufzeit gesetzt (siehe shg.js → initLogoContrast). */
[data-logo].on-plate {
  background: rgba(255, 255, 255, .94);
  border-radius: 10px;
  padding: 6px 10px;
  box-sizing: content-box;
}
.brand img[data-logo].on-plate { padding: 5px 9px; border-radius: 9px; }
.partner-tile img[data-logo].on-plate,
.marquee img[data-logo].on-plate { filter: none; opacity: .95; }
.partner-tile:hover img[data-logo].on-plate { opacity: 1; }

/* ---------- 16. Galerie / Lightbox ---------- */
.gal { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); }
.gal button {
  position: relative;
  padding: 0;
  border: 1px solid var(--stroke);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--bg-3);
  cursor: zoom-in;
  aspect-ratio: 1;
  transition: transform .4s var(--ease), border-color .3s var(--ease), box-shadow .4s var(--ease);
}
.gal button:hover { transform: translateY(-3px) scale(1.02); border-color: var(--aqua); box-shadow: var(--glow-aqua); z-index: 2; }
.gal img { width: 100%; height: 100%; object-fit: cover; }
.gal .cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px 10px 8px;
  background: linear-gradient(to top, rgba(4, 6, 9, .94), transparent);
  font-size: .74rem;
  letter-spacing: .03em;
  color: #dbe6ef;
  text-align: left;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 54px);
  background: rgba(3, 5, 8, .93);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .34s var(--ease), visibility .34s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { max-width: min(1100px, 100%); text-align: center; }
.lightbox img {
  max-height: 76svh;
  width: auto;
  margin-inline: auto;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  transform: scale(.94);
  transition: transform .4s var(--ease-out-expo);
}
.lightbox.is-open img { transform: scale(1); }
.lightbox figcaption { margin-top: 18px; color: var(--text-dim); font-size: .94rem; }
.lb-close, .lb-nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border: 1px solid var(--stroke-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  cursor: pointer;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .16); transform: scale(1.08); }
.lb-close { top: clamp(14px, 3vw, 30px); right: clamp(14px, 3vw, 30px); }
.lb-nav.prev { left: clamp(10px, 2.4vw, 28px); top: 50%; transform: translateY(-50%); }
.lb-nav.next { right: clamp(10px, 2.4vw, 28px); top: 50%; transform: translateY(-50%); }
.lb-nav.prev:hover, .lb-nav.next:hover { transform: translateY(-50%) scale(1.08); }
.lb-nav svg, .lb-close svg { width: 22px; height: 22px; }

/* ---------- 17. Akkordeon ---------- */
.acc { border-top: 1px solid var(--stroke); }
.acc-item { border-bottom: 1px solid var(--stroke); }
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.25vw, 1.2rem);
  font-weight: 550;
  letter-spacing: -.01em;
  transition: color .3s var(--ease);
}
.acc-head:hover { color: var(--aqua); }
.acc-head .plus {
  position: relative;
  flex: 0 0 auto;
  width: 34px; height: 34px;
  border: 1px solid var(--stroke-strong);
  border-radius: 50%;
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
.acc-head .plus::before, .acc-head .plus::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: currentColor;
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .38s var(--ease), opacity .3s var(--ease);
}
.acc-head .plus::before { width: 13px; height: 1.6px; }
.acc-head .plus::after  { width: 1.6px; height: 13px; }
.acc-head[aria-expanded="true"] .plus { background: rgba(91, 225, 230, .14); border-color: rgba(91, 225, 230, .45); }
.acc-head[aria-expanded="true"] .plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease);
}
.acc-panel > div { overflow: hidden; }
.acc-head[aria-expanded="true"] + .acc-panel { grid-template-rows: 1fr; }
.acc-panel .inner { padding: 0 4px 26px; color: var(--text-dim); max-width: 78ch; }
.acc-panel .inner > * + * { margin-top: 1rem; }

/* ---------- 18. Kontakt / Formular ---------- */
.contact-panel {
  position: relative;
  border: 1px solid var(--stroke);
  border-radius: var(--r-xl);
  background: linear-gradient(155deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .012));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  padding: clamp(26px, 3.6vw, 52px);
  overflow: hidden;
}
.contact-panel::after {
  content: '';
  position: absolute;
  width: 380px; height: 380px;
  right: -120px; top: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 225, 230, .16), transparent 68%);
  pointer-events: none;
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--stroke);
}
.info-row:last-child { border-bottom: 0; }
.info-row .ib {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--stroke-strong);
  border-radius: 12px;
  background: rgba(91, 225, 230, .08);
  color: var(--aqua);
}
.info-row .ib svg { width: 19px; height: 19px; }
.info-row .k {
  font-size: .72rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 3px;
}
.info-row .v { font-size: 1.02rem; font-weight: 500; }
.info-row a.v:hover { color: var(--aqua); }

/* Es gibt keine festen Öffnungszeiten mehr – nur Termine nach Vereinbarung. */
.appointment {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid rgba(91, 225, 230, .32);
  border-radius: var(--r-md);
  background: linear-gradient(120deg, rgba(91, 225, 230, .11), rgba(91, 225, 230, .02) 70%);
}
.appointment .ib {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(91, 225, 230, .35);
  border-radius: 12px;
  background: rgba(91, 225, 230, .1);
  color: var(--aqua);
}
.appointment .ib svg { width: 20px; height: 20px; }
.appointment .k {
  font-size: .72rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 5px;
}
.appointment .v {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.3vw, 1.22rem);
  font-weight: 550;
  line-height: 1.3;
  letter-spacing: -.012em;
  color: #fff;
}
@media (max-width: 460px) { .appointment { padding: 16px; gap: 13px; } }

.form-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }

.field { position: relative; }
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: .78rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--stroke);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .035);
  color: var(--text);
  font-size: .97rem;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239fb0c0' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 17px;
  padding-right: 42px;
}
.field select option { background: #0c1118; color: var(--text); }
.field textarea { resize: vertical; min-height: 132px; }
.field input::placeholder, .field textarea::placeholder { color: #5b6b7a; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: rgba(91, 225, 230, .55);
  background: rgba(91, 225, 230, .05);
  box-shadow: 0 0 0 3px rgba(91, 225, 230, .1);
}
.field .err { display: none; margin-top: 7px; font-size: .8rem; color: #ff8f8f; }
.field.has-error input, .field.has-error textarea { border-color: rgba(255, 143, 143, .6); }
.field.has-error .err { display: block; }

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .87rem;
  color: var(--text-dim);
  cursor: pointer;
}
.check input {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  margin-top: 2px;
  accent-color: #5be1e6;
  cursor: pointer;
}
.check a { color: var(--aqua); text-decoration: underline; text-underline-offset: 3px; }

.form-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(91, 225, 230, .3);
  background: rgba(91, 225, 230, .07);
  font-size: .89rem;
  color: #bfe9ec;
  display: none;
}
.form-note.is-visible { display: block; }

/* ---------- 19. CTA-Band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--stroke);
  background: linear-gradient(120deg, #070a0e, #0b131b 50%, #070a0e);
}
.cta-band .wrap { position: relative; z-index: 2; }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 56px);
  flex-wrap: wrap;
}
.cta-inner h2 { max-width: 17ch; }

/* ---------- 20. Footer ---------- */
.footer {
  position: relative;
  padding-top: clamp(56px, 6vw, 88px);
  background: #04060a;
  border-top: 1px solid var(--stroke);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(26px, 3.4vw, 52px);
  padding-bottom: clamp(36px, 4vw, 56px);
}
@media (max-width: 940px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.footer .f-title {
  margin-bottom: 18px;
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 600;
}
.footer-links { display: grid; gap: 11px; }
.footer-links a { color: var(--text-dim); font-size: .94rem; transition: color .25s var(--ease), transform .25s var(--ease); display: inline-block; }
.footer-links a:hover { color: var(--aqua); transform: translateX(3px); }
.footer-brand img { height: 46px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--text-dim); font-size: .94rem; max-width: 38ch; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-block: 24px;
  border-top: 1px solid var(--stroke);
  font-size: .85rem;
  color: var(--text-faint);
}
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--aqua); }

/* Schnellkontakt (mobil fixiert) */
.quickbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 900;
  display: none;
  gap: 1px;
  background: var(--stroke);
  border-top: 1px solid var(--stroke);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.quickbar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 8px;
  background: rgba(7, 10, 14, .93);
  font-size: .87rem;
  font-weight: 550;
}
.quickbar a svg { width: 17px; height: 17px; color: var(--aqua); }
.quickbar a.accent { background: linear-gradient(120deg, #5be1e6, #2f7ee0); color: #04161c; }
.quickbar a.accent svg { color: #04161c; }
@media (max-width: 760px) {
  .quickbar { display: flex; }
  body { padding-bottom: 54px; }
  .to-top { bottom: 68px !important; }
}

.to-top {
  position: fixed;
  right: clamp(14px, 2.4vw, 28px);
  bottom: clamp(14px, 2.4vw, 28px);
  z-index: 890;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--stroke-strong);
  border-radius: 50%;
  background: rgba(10, 14, 20, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s, background .3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: rgba(91, 225, 230, .18); }
.to-top svg { width: 19px; height: 19px; }

/* ---------- 21. Seiten-Header (Unterseiten) ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(52px, 7vw, 96px));
  padding-bottom: clamp(46px, 6vw, 82px);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--stroke);
}
.page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(4, 6, 9, .96) 8%, rgba(4, 6, 9, .74) 48%, rgba(4, 6, 9, .88) 100%),
    linear-gradient(to top, var(--bg) 1%, transparent 46%);
}
.page-hero h1 { font-size: clamp(2.15rem, 4.6vw, 3.9rem); max-width: 20ch; }
.page-hero .lead { margin-top: 20px; max-width: 66ch; }

.crumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  font-size: .84rem;
  color: var(--text-faint);
}
.crumbs a:hover { color: var(--aqua); }
.crumbs .sep { opacity: .45; }

/* Sprungnavigation innerhalb der Seite */
.jump {
  position: sticky;
  top: 68px;
  z-index: 500;
  margin-block: 0;
  border-bottom: 1px solid var(--stroke);
  background: rgba(6, 9, 13, .95);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.jump-inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-block: 10px;
}
.jump-inner::-webkit-scrollbar { display: none; }
.jump-inner a {
  flex: 0 0 auto;
  padding: 9px 16px;
  border-radius: 100px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-dim);
  white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.jump-inner a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.jump-inner a.is-active { background: rgba(91, 225, 230, .14); color: var(--aqua); }

/* ---------- 22. Prosa (Impressum, Datenschutz) ---------- */
.prose { max-width: 78ch; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { margin-top: 2.6rem; font-size: clamp(1.4rem, 2vw, 1.85rem); }
.prose h3 { margin-top: 2rem; font-size: 1.16rem; }
.prose p, .prose li { color: var(--text-dim); }
.prose a { color: var(--aqua); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { list-style: none; display: grid; gap: 9px; padding-left: 0; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before {
  content: '';
  position: absolute;
  left: 2px; top: .72em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--aqua);
  opacity: .8;
}
.prose ol { counter-reset: p; display: grid; gap: 9px; padding-left: 0; }
.prose ol li { position: relative; padding-left: 30px; counter-increment: p; }
.prose ol li::before {
  content: counter(p) ".";
  position: absolute;
  left: 0; top: 0;
  color: var(--aqua);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.callout {
  padding: 20px 24px;
  border-left: 2px solid var(--aqua);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: linear-gradient(90deg, rgba(91, 225, 230, .1), transparent 75%);
}
.callout.brass { border-left-color: var(--brass); background: linear-gradient(90deg, rgba(227, 184, 120, .1), transparent 75%); }

/* Tabelle */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--stroke); border-radius: var(--r-md); }
table.tbl { width: 100%; border-collapse: collapse; min-width: 460px; font-size: .94rem; }
table.tbl th, table.tbl td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--stroke); }
table.tbl thead th {
  background: rgba(255, 255, 255, .045);
  font-family: var(--font-display);
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 600;
}
table.tbl tbody tr:last-child td { border-bottom: 0; }
table.tbl tbody tr { transition: background .25s var(--ease); }
table.tbl tbody tr:hover { background: rgba(255, 255, 255, .028); }
table.tbl td.num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 550; white-space: nowrap; }

/* Produkt-Zeile */
.prod {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
  padding: clamp(20px, 2.6vw, 34px);
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  background: linear-gradient(155deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .01));
  transition: border-color .4s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
}
.prod:hover { border-color: var(--stroke-strong); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.prod.rev { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); }
.prod.rev .prod-media { order: 2; }
@media (max-width: 800px) {
  .prod, .prod.rev { grid-template-columns: minmax(0, 1fr); }
  .prod.rev .prod-media { order: 0; }
}
.prod-media {
  border-radius: var(--r-md);
  overflow: hidden;
  background: linear-gradient(150deg, #0f1720, #080b10);
  aspect-ratio: 4 / 3;
}
.prod-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.prod:hover .prod-media img { transform: scale(1.05); }
.prod-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid rgba(227, 184, 120, .4);
  background: rgba(227, 184, 120, .1);
  font-size: .7rem;
  font-weight: 650;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 14px;
}
.prod-price {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 1.36rem;
  font-weight: 550;
  color: #fff;
}
.prod-price small { font-family: var(--font-body); font-size: .78rem; font-weight: 400; color: var(--text-faint); display: block; margin-top: 3px; }

.spec-list { display: grid; gap: 9px; margin-top: 16px; }
.spec-list li { display: flex; gap: 11px; font-size: .93rem; color: var(--text-dim); align-items: flex-start; }
.spec-list li::before {
  content: '';
  flex: 0 0 auto;
  width: 6px; height: 6px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--aqua);
}

/* Mini-Feature-Raster (TwinLine Details) */
.mini-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); }
.mini {
  padding: 20px;
  border: 1px solid var(--stroke);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .028);
  transition: border-color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease);
}
.mini:hover { border-color: rgba(91, 225, 230, .35); background: rgba(91, 225, 230, .05); transform: translateY(-3px); }
.mini h4, .mini .h-sm { color: #fff; margin-bottom: 7px; }
.mini p { font-size: .89rem; color: var(--text-dim); }

/* ---------- 23. Scroll-Animationen ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .85s var(--ease-out-expo), transform .85s var(--ease-out-expo);
  will-change: opacity, transform;
}
[data-reveal="zoom"] { transform: scale(.95); }
/* Seitliches Einfliegen erst ab Desktop – auf schmalen Viewports würde es
   horizontalen Überlauf erzeugen. */
@media (min-width: 900px) {
  [data-reveal="left"]  { transform: translateX(-30px); }
  [data-reveal="right"] { transform: translateX(30px); }
}
[data-reveal].is-in { opacity: 1; transform: none; }

.stagger > * { opacity: 0; transform: translateY(22px); }
.stagger.is-in > * {
  animation: fadeUp .8s var(--ease-out-expo) forwards;
}
.stagger.is-in > *:nth-child(1) { animation-delay: .04s; }
.stagger.is-in > *:nth-child(2) { animation-delay: .12s; }
.stagger.is-in > *:nth-child(3) { animation-delay: .2s; }
.stagger.is-in > *:nth-child(4) { animation-delay: .28s; }
.stagger.is-in > *:nth-child(5) { animation-delay: .36s; }
.stagger.is-in > *:nth-child(6) { animation-delay: .44s; }
.stagger.is-in > *:nth-child(7) { animation-delay: .52s; }
.stagger.is-in > *:nth-child(8) { animation-delay: .6s; }
.stagger.is-in > *:nth-child(n+9) { animation-delay: .66s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ---------- 24. Bild-Fallback ---------- */
.img-fallback {
  position: relative;
  background:
    linear-gradient(135deg, rgba(91, 225, 230, .1), rgba(47, 126, 224, .06) 55%, rgba(227, 184, 120, .07)),
    #0b1118 !important;
}
.img-fallback { overflow: hidden; }
.img-fallback::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 14px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(.62rem, 1.1vw, .8rem);
  line-height: 1.35;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(159, 176, 192, .7);
  overflow: hidden;
  pointer-events: none;
}
/* Im Hero wirkt eine ruhige Farbfläche besser als ein eingeblendeter Bildtitel. */
.hero-slide.img-fallback::after,
.page-hero-bg.img-fallback::after { content: ''; }
.footer-brand .brand-fallback { margin-bottom: 18px; }
.footer-brand .brand-fallback .bf-1 { font-size: 1.5rem; }
img.is-broken { visibility: hidden; }

/* ---------- 25. Utilities ---------- */
.visually-hidden {
  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-link {
  position: absolute;
  top: -60px; left: 16px;
  z-index: 2000;
  padding: 12px 20px;
  border-radius: 0 0 12px 12px;
  background: var(--aqua);
  color: #04161c;
  font-weight: 650;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 0; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: .6rem; }
.mt-2 { margin-top: 1.2rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1.2rem; }
.rounded { border-radius: var(--r-lg); overflow: hidden; }
.bordered { border: 1px solid var(--stroke); }
.shadow { box-shadow: var(--shadow-md); }
.full-w { width: 100%; }

.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-1-1 { aspect-ratio: 1; }
.ratio-3-4 { aspect-ratio: 3 / 4; }
.cover { width: 100%; height: 100%; object-fit: cover; }
.contain { width: 100%; height: 100%; object-fit: contain; }

.bg-alt { background: linear-gradient(180deg, var(--bg), var(--bg-2) 45%, var(--bg)); }
.bg-panel { background: var(--bg-2); }

/* ---------- 26. Print ---------- */
@media print {
  .nav, .quickbar, .to-top, .grain, .aurora, .hero-dots, .scroll-hint, .jump, .progress { display: none !important; }
  body { background: #fff; color: #111; }
  .card, .feature, .contact-panel { border-color: #ccc; background: none; }
  a { color: #111; }
}

/* ---------- 27. Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal], .stagger > * { opacity: 1 !important; transform: none !important; }
  .hero-slide.is-active img { animation: none; transform: scale(1.03); }
  .marquee-track { animation: none; }
}
