:root {
  --red: #e3051a;
  --cream: #ffefcc;
  --ink: #020202;
  --mist: #f2f2f2;
  --line: rgba(242, 242, 242, 0.12);
  --pad: clamp(16px, 2.2vw, 28px);
  --max: 1200px;
}

/* ========== Global: Anti-Side-Scroll & Basics ========== */
html,
body {
  height: 100%;
  overflow-x: hidden;
} /* fix: kein horizontales Scrollen */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--mist);
  font-family: "Space Grotesk", system-ui, sans-serif;
  -webkit-text-size-adjust: 100%;
}
.wrap {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 var(--pad);
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Skip Link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 0.6rem 1rem;
  background: #000;
  color: #fff;
  z-index: 1200;
  border-radius: 8px;
}

/* Grain */
.grain {
  position: fixed;
  inset: -20vmax;
  z-index: 1;
  pointer-events: none;
  opacity: 0.06;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="160" height="160"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23n)"/></svg>');
  background-size: 320px 320px;
  animation: grainShift 12s steps(10) infinite;
}
@keyframes grainShift {
  to {
    transform: translate3d(-160px, -160px, 0);
  }
}

/* Headings */
h1,
h2,
h3 {
  font-family: "Syne", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  color: var(--red);
}
h1 {
  font-size: clamp(32px, 5.5vw, 56px);
  line-height: 1;
  margin: 0 0 0.25em;
  text-align: center;

}
h2 {
  font-size: clamp(22px, 3.3vw, 36px);
  line-height: 1.05;
  margin: 0.2em 0 0.4em;
}
h3 {
  font-size: clamp(18px, 2.4vw, 24px);
  margin: 0.4em 0 0.2em;
}

/* Page Header */
.page-header {
height: 30vh;
  padding: 42px 0 8px;
  border-bottom: 1px solid var(--line);

}
.page-header .wrap > p {
text-align: center;
  margin: 10px 0 0;
  opacity: 0.9;
}
.aux-links {
  font-size: 0.95rem;
  opacity: 0.85;
}
.aux-links a {
  text-decoration: underline;
}

/* Breadcrumbs (sichtbar) */
.breadcrumbs {
  padding: 8px 0 0;
}
.breadcrumbs ol {
  margin: 0;
  padding: 10px 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.9;
}
.breadcrumbs li + li::before {
  content: "›";
  opacity: 0.6;
  margin: 0 0.25rem;
}

/* Sections */
section {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}
.center {
  text-align: center;
}
.lede {
  opacity: 0.9;
  max-width: 45ch;
}
.muted {
  opacity: 0.75;
}

/* Buttons */
.btn {
  --bg: rgba(255, 239, 204, 0.08);
  --bd: rgba(242, 242, 242, 0.15);
  --fg: var(--mist);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid var(--bd);
  background: var(--bg);
  color: var(--fg);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 14px;
  transition: 0.25s transform, 0.25s background-color, 0.25s border-color;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn.primary {
  --bg: var(--red);
  --bd: transparent;
  --fg: #fff;
}

/* Header / Nav */
header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(
    180deg,
    rgba(2, 2, 2, 0.9),
    rgba(2, 2, 2, 0.6) 70%,
    rgba(2, 2, 2, 0)
  );
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px var(--pad);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(227, 5, 26, 0.2);
}
.nav-list {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  padding: 8px 4px;
  opacity: 0.9;
  transition: opacity 0.2s, color 0.2s;
}
.nav-list a:hover,
.nav-list a.active {
  opacity: 1;
  color: var(--red);
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 999px;
  transition: 0.25s transform, 0.25s background-color;
}
.cta:hover {
  transform: translateY(-1px);
  background: rgba(255, 239, 204, 0.06);
}

/* Hamburger */
.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--mist);
  border: 1px solid rgba(242, 242, 242, 0.22);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, background-color 0.2s;
}
.nav-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(242, 242, 242, 0.38);
  background: rgba(255, 255, 255, 0.05);
}
.nav-toggle svg {
  display: block;
  stroke: currentColor;
}

/* Mobile: Menü umschalten */
@media (max-width: 980px) {
  .nav-list,
  .cta {
    display: none !important;
  }
  .nav-toggle {
    display: grid !important;
  }
}

/* Mobile Overlay – komplett weg im geschlossenen Zustand (kein Durchschimmern, kein Side-Scroll) */
.nav-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  z-index: -1;
  pointer-events: none;
  clip-path: inset(0 0 100% 0);
  background: radial-gradient(
      120% 100% at 50% -10%,
      rgba(227, 5, 26, 0.22),
      transparent 40%
    ),
    rgba(2, 2, 2, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: opacity 0.35s ease;
}
.nav-overlay.open {
  opacity: 1;
  visibility: visible;
  z-index: 1100;
  pointer-events: auto;
  clip-path: inset(0);
}
.nav-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(242, 242, 242, 0.25);
  background: rgba(255, 255, 255, 0.02);
  color: var(--mist);
  cursor: pointer;
}
.nav-close svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.nav-menu {
  display: grid;
  gap: 22px;
  text-align: center;
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  padding: 24px;
}
.nav-overlay.open .nav-menu {
  transform: none;
  opacity: 1;
}
.nav-menu a {
  font-family: "Space Grotesk", system-ui, sans-serif !important;
  font-weight: 800 !important;
  color: var(--mist);
  font-size: clamp(28px, 8vw, 64px);
  letter-spacing: -0.01em;
}

/* Body-Lock wenn Overlay offen */
body.noscroll {
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: none;
}

/* Grids – ohne Überlauf */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.price-card {
  grid-column: span 4;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #0c0c0c;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.price-card .tag {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}
.price-card .price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--red);
}
.price-card ul {
  margin: 6px 0 0;
  padding-left: 18px;
  line-height: 1.6;
}
.price-card.highlight {
  outline: 1px solid rgba(227, 5, 26, 0.35);
  background: #111;
}

/* Audit */
.audit-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}
.tick {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}
.tick li {
  padding-left: 22px;
  position: relative;
  margin: 0.35rem 0;
}
.tick li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--red);
  font-weight: 800;
}
.audit-price {
  text-align: center;
}
.price-xl {
  font-size: clamp(28px, 5.5vw, 48px);
  font-weight: 800;
  color: var(--red);
}

/* Related */
.card-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}
.card-special {
  grid-column: span 6;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #0c0c0c;
  overflow: hidden;
  min-width: 0;
}
.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.card-content p {
  margin: 10px 0 0;
  opacity: 0.9;
}
.card-content a {
  text-decoration: underline;
  margin-top: auto;
}

/* CTA */
.cta-section .wrap {
  text-align: center;
}
.cta-section .lede {
  margin: 12px auto 24px;
}

/* Footer */
footer {
  background: #ffefcc;
  color: #020202;
}
.footer-content.wrap {
  width: 100%;
  max-width: 100%;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.footer-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(26px, 6vw, 64px);
  padding: 56px var(--pad);
  border-top: 1px solid var(--line);
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  width: 100%;
  font-size: 14px;
  line-height: 1.8;
  color: #020202;
}
.footer-logo {
  text-align: center;
  width: 100%;
  color: var(--red);
}
.footer-logo .logo-atelier {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(44px, 16vw, 140px);
  letter-spacing: -0.02em;
  margin-left: 8px;
}
.footer-credits {
  width: 100%;
  font-size: 12px;
  opacity: 0.7;
  border-top: 1px solid rgba(242, 242, 242, 0.12);
  padding-top: 16px;
  color: #020202;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Responsive Tweaks */
@media (max-width: 1100px) {
  .price-card {
    grid-column: span 6;
  }
}
@media (max-width: 900px) {
  .section-head {
    align-items: flex-start;
  }
  .audit-section {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .price-card {
    grid-column: span 12;
  }
  .card-special {
    grid-column: span 12;
  }
}

/* Kosmetik */
.blur-title::after {
  content: none !important;
}
