/* EG Glanzwerk – gemeinsames Stylesheet */

/* ---------- Schriften (lokal gehostet, Lizenz: SIL Open Font License) ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("fonts/cormorant-garamond-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("fonts/oswald-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Rajdhani";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/rajdhani-500-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Rajdhani";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/rajdhani-600-latin.woff2") format("woff2");
}

/* ---------- Farben ----------
   Standard ist das helle Theme (Hintergrund #f4eade).
   Die dunkle Variante wird mit <html data-theme="dark"> aktiviert. */
:root {
  --gold: #C99A48;
  --champagne: #E2BD78;
  --anthracite: #171717;
  --gold-fill: linear-gradient(135deg, #EDCF92 0%, #C99A48 50%, #A57834 100%);

  --bg: #f4eade;
  --ink: #1c1712;
  --ink-soft: rgba(28, 23, 18, .78);
  --muted: rgba(28, 23, 18, .68);
  --ink-faint: rgba(28, 23, 18, .66);
  --nav-ink: rgba(28, 23, 18, .66);
  --ig-ink: rgba(28, 23, 18, .84);
  --divider: rgba(28, 23, 18, .1);

  --label-ink: #7d5a22;          /* kleine goldene Texte: Eyebrows, Labels */
  --accent-ink: #7d5a22;         /* goldene Links und Zwischenüberschriften */
  --accent-em: #a87b35;          /* goldene Hervorhebung in großen Überschriften */
  --accent-icon: #a87b35;        /* Icons und Linien */
  --hairline: rgba(168, 123, 53, .28);
  --hairline-soft: rgba(168, 123, 53, .16);
  --focus: #7d5a22;

  --surface: linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .3));
  --surface-border: rgba(168, 123, 53, .24);
  --surface-border-hover: rgba(168, 123, 53, .55);
  --surface-shadow: 0 24px 50px -36px rgba(70, 45, 10, .35);
  --header-bg: rgba(244, 234, 222, .86);

  --gold-text: linear-gradient(100deg, #5e4217 0%, #8a6427 22%, #b8893d 42%, #a87b35 50%, #8a6427 70%, #5e4217 100%);
  --brand-gold: linear-gradient(100deg, #9a7130 0%, #7d5a22 55%, #a87b35 100%);
  --brand-plain: #1c1712;
  --title-glow: none;

  --atmo:
    radial-gradient(55% 65% at 74% 40%, rgba(201, 154, 72, .16), transparent 70%),
    radial-gradient(130% 100% at 50% 50%, transparent 58%, rgba(120, 88, 44, .12) 100%);
  --atmo-legal:
    radial-gradient(45% 50% at 88% 0%, rgba(201, 154, 72, .16), transparent 70%),
    radial-gradient(130% 100% at 50% 30%, transparent 60%, rgba(120, 88, 44, .1) 100%);
  --grain-opacity: .045;
  --grain-filter: invert(1);

  --btn-shadow: 0 0 0 1px rgba(168, 123, 53, .4), 0 14px 34px -16px rgba(120, 80, 20, .55);
  --btn-shadow-hover: 0 0 0 1px rgba(168, 123, 53, .6), 0 18px 44px -14px rgba(120, 80, 20, .7);
  --cta-ink: #7d5a22;
  --cta-border: rgba(168, 123, 53, .6);

  --plate-shadow:
    0 0 0 1px rgba(168, 123, 53, .45),
    0 40px 80px -36px rgba(80, 52, 14, .55),
    0 0 90px rgba(201, 154, 72, .22);
  --spot:
    radial-gradient(38% 44% at 50% 48%, rgba(201, 154, 72, .26), transparent 72%),
    radial-gradient(22% 60% at 50% 0%, rgba(255, 255, 255, .35), transparent 80%);

  --ph-ink: #7d5a22;
  --ph-bg: rgba(201, 154, 72, .14);
  --ph-border: rgba(168, 123, 53, .5);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --display: "Oswald", "Arial Narrow", sans-serif;
  --sans: "Rajdhani", "Segoe UI", sans-serif;

  --gutter: clamp(20px, 5vw, 80px);
  --ease: cubic-bezier(.16, .84, .3, 1);
}

:root[data-theme="dark"] {
  --bg: #050505;
  --ink: #F5F5F5;
  --ink-soft: rgba(245, 245, 245, .74);
  --muted: rgba(245, 245, 245, .62);
  --ink-faint: rgba(245, 245, 245, .4);
  --nav-ink: rgba(245, 245, 245, .6);
  --ig-ink: rgba(245, 245, 245, .82);
  --divider: rgba(245, 245, 245, .06);

  --label-ink: #C99A48;
  --accent-ink: #E2BD78;
  --accent-em: #E2BD78;
  --accent-icon: #C99A48;
  --hairline: rgba(201, 154, 72, .22);
  --hairline-soft: rgba(201, 154, 72, .14);
  --focus: #E2BD78;

  --surface: linear-gradient(180deg, rgba(23, 23, 23, .7), rgba(10, 10, 10, .5));
  --surface-border: rgba(201, 154, 72, .18);
  --surface-border-hover: rgba(226, 189, 120, .55);
  --surface-shadow: none;
  --header-bg: rgba(5, 5, 5, .8);

  --gold-text: linear-gradient(100deg, #8f6a2c 0%, #C99A48 22%, #F4DFAE 42%, #E2BD78 50%, #C99A48 70%, #8a6529 100%);
  --brand-gold: linear-gradient(100deg, #E8C98A 0%, #C99A48 55%, #E2BD78 100%);
  --brand-plain: #F5F5F5;
  --title-glow: drop-shadow(0 0 24px rgba(201, 154, 72, .16));

  --atmo:
    radial-gradient(55% 65% at 74% 46%, rgba(201, 154, 72, .10), transparent 70%),
    radial-gradient(35% 30% at 70% 14%, rgba(255, 244, 222, .04), transparent 70%),
    radial-gradient(130% 100% at 50% 50%, transparent 50%, rgba(0, 0, 0, .9) 100%);
  --atmo-legal:
    radial-gradient(45% 50% at 88% 0%, rgba(201, 154, 72, .10), transparent 70%),
    radial-gradient(130% 100% at 50% 30%, transparent 55%, rgba(0, 0, 0, .9) 100%);
  --grain-opacity: .05;
  --grain-filter: none;

  --btn-shadow: 0 0 0 1px rgba(226, 189, 120, .45), 0 14px 44px -14px rgba(201, 154, 72, .7);
  --btn-shadow-hover: 0 0 0 1px rgba(244, 223, 174, .7), 0 18px 56px -12px rgba(201, 154, 72, .9);
  --cta-ink: #E2BD78;
  --cta-border: rgba(201, 154, 72, .55);

  --plate-shadow:
    0 0 0 1px rgba(226, 189, 120, .55),
    0 50px 100px -40px rgba(201, 154, 72, .65),
    0 0 140px rgba(201, 154, 72, .16);
  --spot:
    radial-gradient(38% 44% at 50% 48%, rgba(226, 189, 120, .22), transparent 72%),
    radial-gradient(22% 60% at 50% 0%, rgba(255, 244, 222, .07), transparent 80%);

  --ph-ink: #E2BD78;
  --ph-bg: rgba(201, 154, 72, .1);
  --ph-border: rgba(201, 154, 72, .5);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  min-height: 100svh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 1px solid var(--focus); outline-offset: 4px; }

/* ---------- Atmosphäre ---------- */
.atmo { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: var(--atmo); }
.atmo--legal { background: var(--atmo-legal); }
.grain {
  position: fixed; inset: 0; z-index: 40; pointer-events: none;
  opacity: var(--grain-opacity);
  filter: var(--grain-filter);
  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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Seitengerüst ---------- */
.page {
  position: relative; z-index: 1;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(20px, 3.2vw, 44px) var(--gutter);
  overflow-x: clip;
}
/* verhindert, dass ein einzelnes zu breites Element die ganze Seite verbreitert */
.page > * { min-width: 0; }

/* ---------- Kopfzeile & Navigation ---------- */
.topbar {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--display); font-weight: 300;
  font-size: .72rem; letter-spacing: .38em; text-transform: uppercase;
  color: var(--muted);
}
.topbar--legal {
  padding-bottom: clamp(18px, 2.6vw, 28px);
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, var(--hairline), var(--hairline-soft) 60%, transparent) 1;
}

.brand { display: inline-flex; align-items: center; padding-block: 8px; }
.brand-name {
  font-family: var(--serif); font-weight: 600;
  font-size: 1.28rem; letter-spacing: .18em;
  white-space: nowrap;
  transition: filter .4s;
}
.brand:hover .brand-name { filter: drop-shadow(0 0 12px rgba(201, 154, 72, .45)); }

/* Schriftzug wie im Logo: EG und WERK in Gold, GLANZ in Schrift- bzw. Kontrastfarbe */
.bn-gold {
  background: var(--brand-gold);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.bn-white { color: var(--brand-plain); }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); }
.nav a {
  position: relative;
  padding-block: 8px;
  font-weight: 400;
  color: var(--nav-ink);
  transition: color .3s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: .38em; bottom: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent-ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav .nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--cta-border);
  color: var(--cta-ink);
  transition: color .3s, background .3s, border-color .3s;
}
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--gold-fill); border-color: transparent; color: #0a0806; }
.nav-cta svg { width: 15px; height: 15px; }

/* ---------- Gemeinsame Elemente ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--display); font-weight: 400;
  font-size: .74rem; letter-spacing: .5em; text-transform: uppercase;
  color: var(--label-ink);
  margin-bottom: clamp(20px, 3.4vh, 32px);
}
.eyebrow::before {
  content: ""; width: 48px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.gold-text {
  display: inline-block;
  background: var(--gold-text);
  background-size: 240% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shimmer 10s ease-in-out infinite;
}

.rule {
  display: flex; align-items: center; gap: 10px;
  margin: clamp(26px, 4.6vh, 44px) 0;
}
.rule::before { content: ""; width: 72px; height: 1px; background: var(--gold); }
.rule::after  { content: ""; width: 24px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.rule i { width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); }

/* ---------- Startseite ---------- */
.hero {
  position: relative;
  display: grid; align-items: center;
  padding-block: clamp(32px, 6vh, 72px);
}
.content { position: relative; z-index: 2; max-width: 640px; }

.headline {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.04; letter-spacing: .035em;
  text-transform: uppercase;
}
.headline em { font-style: normal; color: var(--accent-em); }
.headline--hero { font-size: clamp(2.6rem, 5.4vw, 5rem); line-height: 1; }

.lead {
  margin-top: 22px; max-width: 28em;
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
  line-height: 1.6; letter-spacing: .02em;
  color: var(--muted);
}

.actions {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 20px 32px;
  margin-top: clamp(28px, 5vh, 48px);
}

.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 16px;
  padding: 15px 28px 15px 22px;
  color: #0a0806;
  background: var(--gold-fill);
  box-shadow: var(--btn-shadow);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 250, 238, .55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease);
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); box-shadow: var(--btn-shadow-hover); }
.btn:hover::after, .btn:focus-visible::after { transform: translateX(120%); }
.btn svg { flex: none; width: 20px; height: 20px; }
.btn-text { display: grid; gap: 2px; }
.btn-label {
  font-family: var(--display); font-weight: 500;
  font-size: .7rem; letter-spacing: .26em; text-transform: uppercase;
}
.btn-number {
  font-family: var(--sans); font-weight: 600;
  font-size: 1.12rem; letter-spacing: .08em;
}

.ig {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--display); font-weight: 400;
  font-size: .9rem; letter-spacing: .14em;
  color: var(--ig-ink);
  padding-block: 6px;
  border-bottom: 1px solid var(--hairline);
  transition: color .4s, border-color .4s;
}
.ig svg { width: 18px; height: 18px; color: var(--accent-icon); }
.ig:hover, .ig:focus-visible { color: var(--accent-ink); border-color: var(--gold); }

/* Logo-Platte */
.visual {
  position: absolute; z-index: 1;
  top: 0; bottom: 0; left: 50%; right: 0;
  display: flex; align-items: center; justify-content: center;
}
.visual::before {
  content: ""; position: absolute; inset: -18% -12% -12% -12%;
  background: var(--spot);
  pointer-events: none;
}
.plate {
  position: relative; overflow: hidden;
  width: min(100%, 440px); margin: 0;
  box-shadow: var(--plate-shadow);
  opacity: 0;
  animation: plateIn 1.8s var(--ease) .45s forwards;
}
.plate img { display: block; width: 100%; height: auto; }
.plate::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 252, 240, .5) 50%, transparent 62%);
  transform: translateX(-130%);
  animation: plateSheen 8s cubic-bezier(.5, 0, .3, 1) 2.8s infinite;
  pointer-events: none;
}

/* ---------- Rechtstexte ---------- */
.legal { padding-block: clamp(48px, 9vh, 110px) clamp(64px, 10vh, 120px); }
.legal-head { max-width: 780px; }
.legal-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.3rem, 6vw, 4.6rem);
  line-height: 1; letter-spacing: .07em;
  text-transform: uppercase;
  filter: var(--title-glow);
}
.legal-intro {
  margin-top: 20px; max-width: 34em;
  font-size: 1.08rem; line-height: 1.7;
  color: var(--muted);
}

.legal-body { max-width: 780px; counter-reset: sec; }
.legal-body section {
  padding-block: clamp(26px, 4vh, 38px);
  border-top: 1px solid var(--hairline-soft);
}
.legal-body h2 {
  display: flex; align-items: baseline; gap: 18px;
  margin-bottom: 16px;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(.9rem, 1.3vw, 1.02rem);
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--accent-ink);
}
.legal-body h2::before {
  counter-increment: sec;
  content: counter(sec, decimal-leading-zero);
  flex: none;
  font-size: .72rem; letter-spacing: .16em;
  color: var(--label-ink);
}
.legal-body h3 {
  margin: 22px 0 8px;
  font-family: var(--display); font-weight: 400;
  font-size: .8rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink);
}
.legal-body p, .legal-body li, .legal-body address, .legal-body dd {
  font-size: 1.07rem; line-height: 1.75; letter-spacing: .01em;
  font-style: normal;
  color: var(--ink-soft);
}
.legal-body p + p { margin-top: 12px; }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body a {
  color: var(--accent-ink);
  border-bottom: 1px solid var(--hairline);
  transition: border-color .3s;
}
.legal-body a:hover { border-color: var(--accent-ink); }
.legal-body ul { list-style: none; margin-top: 10px; display: grid; gap: 6px; }
.legal-body li { position: relative; padding-left: 22px; }
.legal-body li::before {
  content: ""; position: absolute; left: 2px; top: .72em;
  width: 5px; height: 5px;
  border: 1px solid var(--gold); transform: rotate(45deg);
}
.legal-body dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 28px; }
.legal-body dt {
  font-family: var(--display); font-weight: 300;
  font-size: .72rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--label-ink);
  padding-top: .42em;
}
.legal-body dd { color: var(--ink); }

/* hervorgehobener, vom übrigen Text getrennter Hinweis (z. B. Widerspruchsrecht nach Art. 21 DSGVO) */
.legal-callout {
  padding: clamp(18px, 2.4vw, 26px) clamp(18px, 2.6vw, 30px);
  border: 1px solid var(--surface-border);
  border-left: 3px solid var(--gold);
  background: var(--surface);
}
.legal-callout p { color: var(--ink); }

/* Platzhalter – werden durch echte Angaben ersetzt */
.ph {
  padding: 0 6px;
  color: var(--ph-ink);
  background: var(--ph-bg);
  border: 1px dashed var(--ph-border);
}

/* ---------- Footer ---------- */
.site-foot {
  padding-top: clamp(40px, 7vh, 72px);
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--hairline) 15%, var(--hairline) 85%, transparent) 1;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: clamp(36px, 6vh, 56px);
}
.foot-logo {
  font-family: var(--serif); font-weight: 500;
  font-size: 1.9rem; letter-spacing: .08em;
  text-transform: uppercase;
}
.foot-tag {
  margin-top: 10px;
  font-family: var(--display); font-weight: 300;
  font-size: .68rem; letter-spacing: .4em; text-transform: uppercase;
  color: var(--accent-ink);
}
.foot-claim { margin-top: 18px; font-size: 1rem; color: var(--muted); }
.foot-col h3 {
  margin-bottom: 14px;
  font-family: var(--display); font-weight: 400;
  font-size: .7rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--label-ink);
}
.foot-col a, .foot-col span {
  display: block;
  font-size: 1.02rem; line-height: 2; letter-spacing: .04em;
  color: var(--ink-soft);
  transition: color .3s;
}
.foot-col a:hover, .foot-col a[aria-current="page"] { color: var(--accent-ink); }
.foot-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--divider);
  font-family: var(--display); font-weight: 300;
  font-size: .66rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-faint);
}
.foot-bottom a { transition: color .3s; }
.foot-bottom a:hover { color: var(--accent-ink); }

/* ---------- One-Pager ---------- */
.page--home { padding-top: 0; }
.topbar--sticky {
  position: sticky; top: 0; z-index: 30;
  margin-inline: calc(-1 * var(--gutter));
  padding: 14px var(--gutter);
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
/* Header (70px) + Startbereich + Markenleiste füllen zusammen den ersten Bildschirm */
.page--home .hero { min-height: calc(100svh - 112px - 2 * clamp(24px, 4vh, 40px)); }
section[id] { scroll-margin-top: 80px; }

.section { position: relative; padding-block: clamp(72px, 12vh, 140px); }
.section::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline) 20%, var(--hairline) 80%, transparent);
}
.section-head { max-width: 640px; margin-bottom: clamp(36px, 6vh, 64px); }
.section-title {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.05; letter-spacing: .03em;
  text-transform: uppercase;
}
.section-title em { font-style: normal; color: var(--accent-em); }
.section-lead {
  margin-top: 18px;
  font-size: clamp(1.02rem, 1.2vw, 1.15rem); line-height: 1.65;
  color: var(--muted);
}

/* Markenleiste unter dem Startbereich */
.values { padding-block: clamp(24px, 4vh, 40px); border-top: 1px solid var(--hairline-soft); }
.values-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; }
.values-list li {
  display: flex; align-items: center; gap: 14px;
  padding: 6px clamp(18px, 3.4vw, 52px);
  font-family: var(--display); font-weight: 400;
  font-size: .76rem; letter-spacing: .42em; text-transform: uppercase;
  color: var(--ink-soft);
}
.values-list li + li { border-left: 1px solid var(--hairline); }
.values-list svg { flex: none; width: 26px; height: 26px; color: var(--accent-icon); }

/* Leistungen: Umschalter zwischen den beiden Preisbereichen */
.tabs {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px;
  max-width: 720px; padding: 6px;
  margin-bottom: clamp(28px, 4vh, 44px);
  border: 1px solid var(--surface-border);
  background: var(--surface);
  box-shadow: var(--surface-shadow);
}
.no-js .tabs { display: none; }
.tab {
  display: grid; gap: 4px;
  padding: 14px 20px;
  font: inherit; text-align: left;
  color: var(--ink);
  background: transparent; border: 0; cursor: pointer;
  transition: background .3s, color .3s, box-shadow .3s;
}
.tab:hover { background: rgba(201, 154, 72, .1); }
.tab-title {
  font-family: var(--display); font-weight: 500;
  font-size: .86rem; letter-spacing: .22em; text-transform: uppercase;
}
.tab-sub { font-size: .98rem; color: var(--muted); }
.tab[aria-selected="true"] { background: var(--gold-fill); color: #0a0806; box-shadow: var(--btn-shadow); }
.tab[aria-selected="true"] .tab-sub { color: rgba(10, 8, 6, .75); }

.panel + .panel { margin-top: 64px; }
.panel:focus-visible { outline-offset: 10px; }
.panel-title {
  margin-bottom: 12px;
  font-family: var(--display); font-weight: 500;
  font-size: 1.3rem; letter-spacing: .14em; text-transform: uppercase;
}
.panel-title span {
  display: block; margin-top: 4px;
  font-family: var(--sans); font-size: 1rem; letter-spacing: 0; text-transform: none;
  color: var(--muted);
}
.js .panel-title {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.panel-intro {
  max-width: 52em; margin-bottom: 28px;
  font-size: 1.06rem; line-height: 1.65;
  color: var(--muted);
}

/* Paketkarten */
.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.pkg, .lack {
  position: relative;
  padding: clamp(24px, 2.6vw, 36px);
  border: 1px solid var(--surface-border);
  background: var(--surface);
  box-shadow: var(--surface-shadow);
}
.pkg { display: flex; flex-direction: column; transition: border-color .5s var(--ease), translate .5s var(--ease); }
.pkg::after, .lack::after {
  content: ""; position: absolute; left: -1px; top: -1px;
  width: 40%; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.pkg:hover { border-color: var(--surface-border-hover); translate: 0 -3px; }
.pkg-head { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--hairline-soft); }
.pkg-nr {
  margin-bottom: 8px;
  font-family: var(--display); font-weight: 400;
  font-size: .7rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--label-ink);
}
.pkg-name {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.2rem, 1.6vw, 1.45rem); line-height: 1.15;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink);
}
.pkg-price {
  display: flex; align-items: baseline; gap: 8px;
  margin-top: 14px;
  font-family: var(--display); font-weight: 500;
  font-size: clamp(2.4rem, 3.2vw, 3rem); line-height: 1;
  color: var(--ink);
}
.pkg-from {
  font-size: .8rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase;
  color: var(--label-ink);
}
.pkg-cur { margin-left: -2px; font-size: .5em; color: var(--accent-em); }
.pkg-list { list-style: none; display: grid; gap: 10px; }
.pkg-list + .pkg-list { margin-top: 10px; }
.pkg-list li {
  position: relative; padding-left: 30px;
  font-size: 1.04rem; line-height: 1.45;
  color: var(--ink-soft);
}
.pkg-list li::before {
  content: ""; position: absolute; left: 0; top: .1em;
  width: 19px; height: 19px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9' fill='%23C99A48'/%3E%3Cpath d='M6 10.4l2.6 2.6L14 7.6' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.pkg-list li.pkg-incl { color: var(--ink); font-weight: 600; }
.pkg-group {
  margin: 18px 0 10px;
  font-family: var(--display); font-weight: 400;
  font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--label-ink);
}
.pkg-cta {
  display: inline-flex; align-items: center; gap: 10px;
  align-self: flex-start;
  margin-top: auto; padding-top: 26px;
  font-family: var(--display); font-weight: 400;
  font-size: .8rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--accent-ink);
}
.pkg-cta svg { width: 16px; height: 16px; transition: translate .4s var(--ease); }
.pkg-cta:hover svg, .pkg-cta:focus-visible svg { translate: 4px 0; }

/* Zusatzleistungen */
.extras {
  margin-top: clamp(20px, 2.4vw, 28px);
  padding: clamp(22px, 2.6vw, 34px);
  border: 1px solid var(--surface-border);
  background: var(--surface);
  box-shadow: var(--surface-shadow);
}
.extras-title {
  margin-bottom: 4px;
  font-family: var(--display); font-weight: 500;
  font-size: .9rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent-ink);
}
.extras-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 32px; }
.extra {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding-top: 16px; margin-top: 14px;
  border-top: 1px solid var(--hairline-soft);
}
.extra-name {
  margin-bottom: 4px;
  font-family: var(--display); font-weight: 400;
  font-size: .86rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink);
}
.extra-desc { font-size: .98rem; line-height: 1.5; color: var(--muted); }
.extra-price {
  flex: none;
  padding: 6px 10px;
  font-family: var(--display); font-weight: 500;
  font-size: 1rem; letter-spacing: .04em; white-space: nowrap;
  color: var(--accent-ink);
  border: 1px solid var(--cta-border);
}

/* Lackpolitur */
.lack {
  display: grid; grid-template-columns: 1.6fr 1fr; align-items: center;
  gap: clamp(20px, 3vw, 48px);
  margin-top: clamp(36px, 6vh, 64px);
}
.lack .pkg-name { margin-bottom: 12px; }
.lack .panel-intro { margin-bottom: 18px; }
.pkg-list--row { grid-auto-flow: column; justify-content: start; gap: 10px 28px; }
.lack-side { padding-left: clamp(20px, 3vw, 48px); border-left: 1px solid var(--hairline-soft); }
.lack-price {
  font-family: var(--display); font-weight: 500;
  font-size: 1.15rem; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink);
}
.lack-sub { margin: 8px 0 20px; color: var(--muted); }

/* Preishinweis */
.price-note {
  display: flex; align-items: flex-start; gap: 14px;
  margin-top: clamp(20px, 2.4vw, 28px);
  padding: 16px 20px;
  font-size: .98rem; line-height: 1.6;
  color: var(--muted);
  border: 1px dashed var(--hairline);
}
.price-note svg { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--accent-icon); }
.price-note strong { display: inline-block; margin-top: 6px; font-weight: 600; color: var(--ink); }

/* Vorher-Nachher-Regler (liegt auf Fotos, daher themenunabhängig dunkle Bedienelemente) */
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.ba {
  --pos: 50%;
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  border: 1px solid var(--surface-border);
  background: var(--anthracite);
  box-shadow: var(--surface-shadow);
  cursor: ew-resize;
  touch-action: pan-y;
  -webkit-user-select: none; user-select: none;
}
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-tag {
  position: absolute; top: 14px; z-index: 2;
  padding: 6px 10px;
  font-family: var(--display); font-weight: 400;
  font-size: .62rem; letter-spacing: .3em; text-transform: uppercase;
  color: #F5F5F5;
  background: rgba(5, 5, 5, .55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  pointer-events: none;
}
.ba-tag--before { left: 14px; }
.ba-tag--after { right: 14px; color: var(--champagne); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3;
  width: 1px; transform: translateX(-50%);
  background: linear-gradient(transparent, var(--champagne) 12%, var(--champagne) 88%, transparent);
  box-shadow: 0 0 12px rgba(226, 189, 120, .6);
  pointer-events: none;
}
.ba-knob {
  position: absolute; top: 50%; left: 50%;
  width: 46px; height: 46px;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  border: 1px solid rgba(226, 189, 120, .85); border-radius: 50%;
  color: var(--champagne);
  background: rgba(5, 5, 5, .55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 0 26px rgba(201, 154, 72, .35);
  transition: transform .3s var(--ease);
}
.ba-knob svg { width: 20px; height: 20px; }
.ba.is-active .ba-knob { transform: translate(-50%, -50%) scale(1.08); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.ba:focus-within .ba-knob { outline: 1px solid var(--champagne); outline-offset: 4px; }
.ba-card figcaption {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  margin-top: 14px;
}
.ba-cat {
  font-family: var(--display); font-weight: 400;
  font-size: .76rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--accent-ink);
}
.ba-car { font-size: .95rem; color: var(--muted); }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.contact-card {
  display: grid; gap: 6px; align-content: start;
  padding: clamp(22px, 2.4vw, 32px);
  border: 1px solid var(--surface-border);
  background: var(--surface);
  box-shadow: var(--surface-shadow);
  transition: border-color .4s, translate .5s var(--ease);
}
.contact-card svg { width: 26px; height: 26px; color: var(--accent-icon); margin-bottom: 14px; }
.contact-label, .location-label {
  font-family: var(--display); font-weight: 400;
  font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--label-ink);
}
.contact-value { font-size: 1.08rem; letter-spacing: .03em; color: var(--ink); overflow-wrap: anywhere; }
.contact-card:hover, .contact-card:focus-visible { border-color: var(--surface-border-hover); translate: 0 -3px; }
.location {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 18px 32px;
  margin-top: clamp(14px, 1.6vw, 22px);
  padding: clamp(22px, 2.4vw, 32px);
  border: 1px solid var(--surface-border);
  background: var(--surface);
  box-shadow: var(--surface-shadow);
}
.location-label { margin-bottom: 8px; }
.location address { font-style: normal; font-size: 1.1rem; line-height: 1.6; }
.location-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  font-family: var(--display); font-weight: 400;
  font-size: .78rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--cta-ink);
  border: 1px solid var(--cta-border);
  transition: background .3s, color .3s, border-color .3s;
}
.location-link svg { width: 16px; height: 16px; }
.location-link:hover { background: var(--gold-fill); color: #0a0806; border-color: transparent; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Animationen ---------- */
.reveal {
  opacity: 0; transform: translateY(18px);
  animation: rise 1.3s var(--ease) forwards;
  animation-delay: calc(.2s + var(--d, 0) * .12s);
}
/* Einblenden beim Scrollen (nur mit JS) */
.js .rs { opacity: 0; transform: translateY(24px); }
.js .rs.in { animation: rise 1.1s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 90ms); }

@keyframes rise       { to { opacity: 1; transform: none; } }
@keyframes shimmer    { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
@keyframes plateIn    { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes plateSheen { 0% { transform: translateX(-130%); } 28%, 100% { transform: translateX(130%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .plate, .js .rs { opacity: 1; transform: none; }
  .plate::after { display: none; }
}

/* ---------- Tablet & Mobil ---------- */
@media (max-width: 1180px) {
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .hero { display: flex; flex-direction: column; align-items: stretch; padding-block: 8px 40px; }
  .visual {
    position: relative; inset: auto; order: -1;
    margin: clamp(16px, 5vw, 36px) 0 clamp(28px, 7vw, 48px);
  }
  .visual::before { inset: -40% 0 -20% 0; }
  .plate { width: min(82%, 360px); }
  .content { max-width: none; }
  .page--home .hero { min-height: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .pkgs, .ba-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .lack { grid-template-columns: 1fr; }
  .lack-side { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--hairline-soft); }
}
@media (max-width: 640px) {
  .nav .nav-link { display: none; }
  .brand-name { font-size: 1.1rem; letter-spacing: .14em; }
  .values-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 0; }
  .values-list li { padding: 4px 0 4px 8px; gap: 10px; font-size: .72rem; letter-spacing: .22em; }
  .values-list svg { width: 22px; height: 22px; }
  .values-list li + li { border-left: 0; }
  .tab { padding: 12px 14px; }
  .tab-title { font-size: .74rem; letter-spacing: .14em; }
  .tab-sub { font-size: .9rem; }
}
@media (max-width: 520px) {
  .topbar { font-size: .62rem; letter-spacing: .28em; }
  .eyebrow { margin-bottom: 18px; gap: 12px; letter-spacing: .3em; }
  .eyebrow::before { width: 28px; }
  .rule { margin: 26px 0; }
  .btn { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .legal-body dl { grid-template-columns: 1fr; gap: 2px; }
  .legal-body dd + dt { margin-top: 12px; }
  .contact-grid { grid-template-columns: 1fr; }
  .pkg-list--row { grid-auto-flow: row; }
}
