/* PATECKY — Ink-Black Studio, Titan-Chrom + Cyan, dunkel-cinematic + Wow-Shimmer */
:root {
  --ink: #06070a;
  --ink-2: #0d1016;
  --line: rgba(255,255,255,.08);
  --white: #eef2f5;
  --muted: #8b97a3;
  --cyan: #22d3ee;
  --chrome: #cbd5dd;
  --grad: linear-gradient(100deg, #eef4f6, #22d3ee 45%, #7fdcee 90%, #eef4f6);
  --font-display: "Unbounded", sans-serif;
  --font-body: "Space Grotesk", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { height: auto; }             /* kein scroll-behavior: smooth — kollidiert mit Lenis! */
body {
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* Wow: subtiler Cyan-Hintergrund-Schein */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 45% at 12% 8%, rgba(34,211,238,.11), transparent 60%),
    radial-gradient(50% 45% at 88% 92%, rgba(111,210,234,.07), transparent 60%);
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

@keyframes shimmer { to { background-position: 250% 0; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 40px;
  background: linear-gradient(180deg, rgba(6,7,10,.72), transparent);
}
.nav__brand { font-family: var(--font-display); font-weight: 800; font-size: 16px; letter-spacing: .24em; display: flex; align-items: center; }
.nav__logo { height: 36px; width: auto; display: block; }
.nav__links { display: flex; gap: 34px; }
.nav__links a {
  font-size: 11px; letter-spacing: .22em; color: var(--muted);
  transition: color .3s;
}
.nav__links a:hover { color: var(--white); }
.nav__cta {
  font-size: 11px; letter-spacing: .2em; font-weight: 700;
  background: var(--grad); background-size: 250% 100%; animation: shimmer 7s linear infinite;
  color: #04252b;
  padding: 10px 24px; border-radius: 999px;
  transition: transform .3s, box-shadow .3s;
}
.nav__cta:hover { transform: scale(1.05); box-shadow: 0 0 34px rgba(34,211,238,.5); }

/* ---------- Scrub-Sektionen (Hero + Beading) ---------- */
.scrub { position: relative; }
.scrub__stage { position: relative; height: 100vh; overflow: hidden; background: var(--ink); }
.scrub__media, .scrub__media video, .scrub__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.scrub__media::after {          /* Vignette + zentrales Dim für Textlesbarkeit */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 64% at 50% 55%, rgba(6,7,10,.56), rgba(6,7,10,.12) 62%, transparent 82%),
    radial-gradient(ellipse at center, transparent 55%, rgba(6,7,10,.6)),
    linear-gradient(180deg, rgba(6,7,10,.32), rgba(6,7,10,.12) 42%, rgba(6,7,10,.5));
  pointer-events: none;
}
.scrub__headlines { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.scrub__headline {
  position: absolute; text-align: center;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(36px, 6vw, 92px); line-height: 1.05;
  letter-spacing: .005em; text-transform: uppercase;
  opacity: 0; will-change: opacity, transform;
  text-shadow: 0 2px 22px rgba(0,0,0,.82), 0 0 70px rgba(0,0,0,.5);
}
.scrub__headline .l1 { display: block; color: var(--white); }
.scrub__headline .l2 {
  display: block;
  background: var(--grad); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shimmer 6s linear infinite;
}
.scrub__label {
  position: absolute; font-size: 10px; letter-spacing: .28em; color: var(--muted);
  text-transform: uppercase;
}
.scrub__label--tl { left: 40px; bottom: 34px; }
.scrub__label--br { right: 40px; bottom: 34px; }
.scrub__progress {
  position: absolute; left: 40px; right: 40px; bottom: 64px; height: 1px;
  background: rgba(255,255,255,.12);
}
.scrub__progress span { display: block; height: 100%; width: 0%; background: var(--grad); background-size: 250% 100%; animation: shimmer 6s linear infinite; box-shadow: 0 0 14px rgba(34,211,238,.5); }
.scrub__hint {
  position: absolute; bottom: 96px; left: 50%; transform: translateX(-50%);
  font-size: 11px; letter-spacing: .3em; color: var(--muted);
  animation: hintPulse 2.2s ease-in-out infinite;
}
.scrub__hint::after { content: "  ↓"; }
@keyframes hintPulse { 0%,100% { opacity: .4; } 50% { opacity: 1; } }

/* ---------- Allgemeine Sektionen ---------- */
.section { padding: 150px 40px; max-width: 1200px; margin: 0 auto; }
.eyebrow {
  font-size: 11px; letter-spacing: .34em; color: var(--cyan);
  text-transform: uppercase; margin-bottom: 26px;
}
.eyebrow--accent { color: var(--chrome); }

/* Der Meister persönlich */
.vision { max-width: 1200px; }
.vision__grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 56px; align-items: center; }
.vision__heading {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(28px, 3.7vw, 52px); line-height: 1.14; white-space: pre-line;
}
.vision__body {
  margin: 30px 0 0; max-width: 580px;
  color: var(--muted); font-size: 16px; line-height: 1.78; font-weight: 300;
}
.vision__signrow { display: flex; align-items: center; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.vision__signature { height: 56px; width: auto; filter: invert(1) brightness(1.7); opacity: .9; }
.vision__sign { font-size: 12px; letter-spacing: .18em; color: var(--chrome); text-transform: uppercase; }
.vision__portrait { position: relative; display: grid; place-items: center; min-height: 380px; }
.vision__portrait::before {          /* Cyan-Glow-Ring hinter dem Foto */
  content: ""; position: absolute; width: 76%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,.30), rgba(34,211,238,.07) 55%, transparent 72%);
  filter: blur(8px);
}
.vision__photo { position: relative; width: 100%; max-width: 370px; height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.6)); }
.vision__seal { position: absolute; left: 4px; bottom: 8px; width: 112px; height: auto; filter: drop-shadow(0 10px 20px rgba(0,0,0,.55)); }

/* Zertifikate */
.certs { max-width: 1120px; text-align: center; padding-top: 30px; }
.certs__heading {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(28px, 3.7vw, 50px); line-height: 1.12; white-space: pre-line; margin-bottom: 54px;
}
.certs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cert-card {
  margin: 0; border-radius: 14px; overflow: hidden; padding: 22px 22px 20px;
  background: var(--ink-2); border: 1px solid var(--line);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), border-color .5s, box-shadow .5s;
}
.cert-card:hover { transform: translateY(-6px); border-color: rgba(34,211,238,.5); box-shadow: 0 18px 50px rgba(34,211,238,.18); }
.cert-card img { width: 100%; height: auto; border-radius: 6px; display: block; }
.cert-card figcaption { margin-top: 16px; font-size: 12px; letter-spacing: .05em; color: var(--muted); }
.certs__note { margin-top: 30px; font-size: 12px; letter-spacing: .08em; color: var(--muted); }

/* Trust-Strip */
.trust { max-width: 1120px; margin: 0 auto; padding: 30px 40px 6px; text-align: center; }
.trust__eyebrow { font-size: 10px; letter-spacing: .32em; color: var(--muted); text-transform: uppercase; margin-bottom: 22px; }
.trust__badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; }
.trust__badge {
  font-size: 11px; letter-spacing: .07em; color: var(--chrome);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 16px; background: rgba(34,211,238,.04);
  transition: border-color .3s, color .3s, box-shadow .3s;
}
.trust__badge:hover { border-color: rgba(34,211,238,.5); color: var(--white); box-shadow: 0 0 22px rgba(34,211,238,.22); }
.trust__clients { margin-top: 26px; font-size: 12.5px; letter-spacing: .1em; color: var(--muted); }

/* Leistungen */
.services { max-width: 1300px; }
.services__heading {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(29px, 3.9vw, 54px); line-height: 1.12; white-space: pre-line;
  margin-bottom: 60px;
}
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-card {
  position: relative; border-radius: 14px; overflow: hidden;
  background: var(--ink-2); border: 1px solid var(--line);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), border-color .5s, box-shadow .5s;
}
.svc-card:hover { transform: translateY(-6px); border-color: rgba(34,211,238,.5); box-shadow: 0 18px 50px rgba(34,211,238,.18); }
.svc-card__media { overflow: hidden; aspect-ratio: 4/3; }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.svc-card:hover .svc-card__media img { transform: scale(1.07); }
.svc-card__meta { padding: 18px 18px 22px; }
.svc-card__name { font-family: var(--font-display); font-size: 12.5px; letter-spacing: .06em; overflow-wrap: break-word; hyphens: auto; }
.svc-card__desc { margin-top: 9px; font-size: 12.5px; color: var(--muted); letter-spacing: .02em; line-height: 1.55; }

/* In Zahlen */
.performance { text-align: center; }
.performance__heading {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(29px, 3.9vw, 54px); line-height: 1.12; white-space: pre-line;
  margin-bottom: 74px;
}
.performance__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat__value {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(34px, 4.6vw, 66px);
  background: var(--grad); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
}
.stat__label { margin-top: 14px; font-size: 11px; letter-spacing: .24em; color: var(--muted); }

/* Kontakt / Termin */
.contact { text-align: center; padding-bottom: 150px; }
.contact__heading {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(38px, 6vw, 82px); line-height: 1.06; white-space: pre-line;
  text-transform: uppercase;
  background: var(--grad); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
}
.contact__body { margin: 30px auto 0; max-width: 540px; color: var(--muted); line-height: 1.75; font-weight: 300; }
.contact__actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 42px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; letter-spacing: .1em; font-weight: 700;
  padding: 17px 34px; border-radius: 999px; transition: transform .3s, box-shadow .3s, border-color .3s, color .3s;
}
.btn--primary { background: var(--grad); background-size: 250% 100%; color: #04252b; animation: shimmer 7s linear infinite; }
.btn--primary:hover { transform: scale(1.04); box-shadow: 0 0 50px rgba(34,211,238,.5); }
.btn--ghost { border: 1px solid var(--line); color: var(--white); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 30px rgba(34,211,238,.22); }
.contact__meta {
  list-style: none; margin: 46px auto 0; display: grid; gap: 9px;
  font-size: 13.5px; color: var(--muted); letter-spacing: .03em;
}

/* Footer */
.footer {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  padding: 26px 40px; border-top: 1px solid var(--line);
  font-size: 11px; letter-spacing: .1em; color: var(--muted);
}
.footer__brand { letter-spacing: .12em; }
.footer__right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.footer__legal { display: flex; gap: 16px; }
.footer__legal a { color: var(--muted); font-size: 11px; transition: color .3s; }
.footer__legal a:hover { color: var(--cyan); }
.footer__copy { font-size: 11px; }

/* Reveals */
[data-reveal] { opacity: 0; transform: translateY(34px); }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .nav { padding: 16px 20px; }
  .nav__links { display: none; }
  .section { padding: 104px 22px; }
  .trust { padding: 24px 22px 4px; }
  .vision__grid { display: flex; flex-direction: column; gap: 34px; text-align: center; }
  .vision__body { margin-left: auto; margin-right: auto; }
  .vision__signrow { justify-content: center; }
  .vision__portrait { order: -1; min-height: 0; }
  .vision__photo { max-width: 260px; }
  .vision__seal { width: 88px; left: auto; right: 8px; }
  .certs__grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .services__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .performance__grid { grid-template-columns: repeat(2, 1fr); row-gap: 46px; }
  .contact__actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .scrub__label--tl, .scrub__progress { left: 20px; }
  .scrub__label--br, .scrub__progress { right: 20px; }
  .scrub__label--br { display: none; }   /* kollidiert auf schmalen Screens mit dem linken Label */
  .footer { justify-content: center; text-align: center; }
}
