/* ============================================================
   SHARK SURFACE — Design-System
   Dunkles Studio, Logo-Grün-Akzent (#7dc41f), Schweizer Hochdeutsch (ss)
   ============================================================ */

:root {
  --bg: #07090b;
  --bg-2: #0d1114;
  --bg-3: #12181d;
  --accent: #7dc41f;
  --accent-soft: rgba(125, 196, 31, 0.14);
  --text: #eef1f3;
  --muted: #8b969e;
  --line: rgba(238, 241, 243, 0.08);
  --font-display: "Archivo Black", "Arial Black", Impact, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --pad: clamp(20px, 5vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #0a1402; }

img, canvas { display: block; max-width: 100%; }
p, li, h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* Grain-Overlay */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 9s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-4%, 3%); }
  50% { transform: translate(3%, -4%); }
  75% { transform: translate(-2%, -2%); }
}

/* Reduzierte Bewegung: auch CSS-Loops (Grain, Scroll-Hint) stilllegen */
@media (prefers-reduced-motion: reduce) {
  body::after, .scroll-hint::after { animation: none; }
}
html.reduced body::after, html.reduced .scroll-hint::after { animation: none; }

/* ---------- Typo ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
}
.h-xl { font-size: clamp(1.6rem, 11.5vw, 8.5rem); }
.h-lg { font-size: clamp(2.2rem, 5.5vw, 4.5rem); }
.h-md { font-size: clamp(1.4rem, 2.6vw, 2.1rem); }
.kicker {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  margin-bottom: 1.2rem;
}
.lead { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.2rem); max-width: 34em; }

/* ---------- Buttons ---------- */
.btn, .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.9em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s, background 0.35s, border-color 0.35s;
  will-change: transform;
}
.btn {
  background: var(--accent);
  color: #0a1402;
  box-shadow: 0 0 0 0 rgba(125, 196, 31, 0.4);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px -8px rgba(125, 196, 31, 0.55); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--accent); background: var(--accent-soft); }

/* ---------- Panel (Glas-Karte) ---------- */
.panel {
  background: rgba(13, 17, 20, 0.72);
  border: 1px solid var(--line);
  border-radius: 20px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad);
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s, padding 0.4s;
}
.nav.scrolled {
  background: rgba(7, 9, 11, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
  padding-top: 12px;
  padding-bottom: 12px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.nav-logo-img { height: 58px; width: auto; display: block; transition: height 0.4s; }
.nav.scrolled .nav-logo-img { height: 44px; }
.footer-logo-img { height: 64px; width: auto; display: block; }
.nav-links { display: flex; gap: 2.2em; font-size: 0.9rem; color: var(--muted); }
.nav-links a { position: relative; transition: color 0.3s; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { padding: 0.7em 1.5em; font-size: 0.85rem; }
@media (max-width: 860px) { .nav-links { display: none; } }
@media (max-width: 400px) { .nav .btn { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--pad);
  padding-bottom: clamp(60px, 10vh, 120px);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7,9,11,0.55) 0%, rgba(7,9,11,0.15) 40%, rgba(7,9,11,0.92) 100%),
    radial-gradient(120% 60% at 70% 30%, transparent 0%, rgba(7,9,11,0.5) 100%);
}
.hero-title { margin: 0.2em 0 0.25em; }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .word { display: inline-block; }
.hero-title .accent { color: var(--accent); }
.hero-sub { margin-bottom: 2.2em; }
.hero-ctas { display: flex; gap: 1em; flex-wrap: wrap; }
.scroll-hint {
  position: absolute;
  right: var(--pad);
  bottom: clamp(60px, 10vh, 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.scroll-hint::after {
  content: "";
  width: 1px;
  height: 56px;
  background: linear-gradient(var(--accent), transparent);
  animation: hint 2.2s ease-in-out infinite;
}
@keyframes hint {
  0% { transform: scaleY(0); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: top; }
  56% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@media (max-width: 860px) { .scroll-hint { display: none; } }

/* ---------- Die Fahrt ---------- */
.journey { position: relative; }
.journey-stage {
  position: relative;
  height: 100svh;
  overflow: hidden;
}
#journey-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.journey-intro {
  position: absolute;
  top: clamp(80px, 12vh, 140px);
  left: var(--pad);
  z-index: 3;
  text-shadow: 0 2px 24px rgba(7, 9, 11, 0.8);
}
.stop-panel {
  position: absolute;
  z-index: 3;
  bottom: clamp(24px, 8vh, 96px);
  width: min(420px, calc(100% - 2 * var(--pad)));
  padding: 28px 30px;
  opacity: 0;
  visibility: hidden; /* raus aus Tab-Reihenfolge & Accessibility-Tree */
  transform: translateY(28px);
  filter: blur(6px);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease, visibility 0s 0.5s;
}
.stop-panel.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  filter: blur(0);
  pointer-events: auto;
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease, visibility 0s;
}
.stop-panel.pos-left { left: var(--pad); }
.stop-panel.pos-right { right: var(--pad); }
.stop-num {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
}
.stop-panel h3 { margin: 0.35em 0 0.4em; }
.stop-panel p { color: var(--muted); font-size: 0.95rem; }
.stop-link {
  display: inline-block;
  margin-top: 1em;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}
.stop-link span { display: inline-block; transition: transform 0.3s; }
.stop-link:hover span { transform: translateX(5px); }
.journey-progress {
  position: absolute;
  right: calc(var(--pad) / 2);
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.journey-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(238, 241, 243, 0.18);
  transition: background 0.4s, box-shadow 0.4s;
}
.journey-dot.active {
  background: var(--accent);
  box-shadow: 0 0 12px rgba(125, 196, 31, 0.7);
}
@media (max-width: 768px) {
  .stop-panel.pos-left, .stop-panel.pos-right { left: var(--pad); right: var(--pad); width: auto; }
  .journey-progress { right: 8px; }
}

/* Statischer Fallback (reduced motion / kein JS) */
html.reduced .journey-stage { height: auto; overflow: visible; }
html.reduced .journey-intro { position: static; padding: var(--pad); padding-bottom: 0; }
.journey-static {
  display: grid;
  gap: clamp(32px, 6vh, 64px);
  padding: var(--pad);
}
.journey-static-item { position: relative; }
.journey-static-item img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--line);
}
.journey-static-item .stop-panel {
  position: static;
  width: min(480px, 100%);
  margin-top: -60px;
  margin-left: clamp(0px, 4vw, 48px);
}

/* No-JS: Canvas/Progress verstecken, statischer Hinweis sichtbar */
.journey-noscript { padding: var(--pad); display: grid; gap: 32px; }
.journey-noscript figure { position: relative; }
.journey-noscript img { width: 100%; border-radius: 20px; border: 1px solid var(--line); }
.journey-noscript figcaption { margin-top: 0.8em; font-weight: 700; }
.journey-noscript figcaption p { color: var(--muted); font-weight: 400; font-size: 0.95rem; }

/* ---------- Sektionen allgemein ---------- */
.section { padding: clamp(90px, 14vh, 160px) var(--pad); position: relative; }
.section-head { margin-bottom: clamp(40px, 6vh, 72px); max-width: 900px; }

/* Reveal-Defaults (JS setzt Animation; ohne JS sichtbar via noscript) */
.reveal { opacity: 0; }

/* ---------- Vorher/Nachher-Vergleich ---------- */
.compare {
  --pos: 50%;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 21 / 9;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}
@media (max-width: 700px) { .compare { aspect-ratio: 4 / 3; } }
.compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.compare-before-wrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(125, 196, 31, 0.65);
  pointer-events: none;
}
.compare-handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  color: #0a1402;
  font-weight: 800;
  font-size: 1rem;
}
.compare-handle span::before { content: "⟷"; }
.compare-label {
  position: absolute;
  bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  background: rgba(7, 9, 11, 0.65);
  backdrop-filter: blur(8px);
  pointer-events: none;
}
.label-before { left: 18px; color: var(--muted); }
.label-after { right: 18px; color: var(--accent); }

/* ---------- Pakete ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 24px;
  align-items: start;
}
.price-card {
  position: relative;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 0.9em;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s;
}
.price-card:hover { transform: translateY(-6px); border-color: rgba(125, 196, 31, 0.4); }
.price-card.featured { border-color: var(--accent); box-shadow: 0 20px 60px -30px rgba(125, 196, 31, 0.45); }
.badge {
  position: absolute;
  top: -13px;
  left: 32px;
  background: var(--accent);
  color: #0a1402;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}
.price-note { color: var(--muted); font-size: 0.92rem; min-height: 3.2em; }
.price { font-family: var(--font-display); font-size: 3rem; line-height: 1; }
.price span { font-size: 0.9rem; color: var(--muted); font-family: var(--font-body); font-weight: 600; }
.price-card ul { display: grid; gap: 0.55em; margin: 0.4em 0 1.4em; color: var(--muted); font-size: 0.95rem; }
.price-card li { padding-left: 1.5em; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.price-card .btn, .price-card .btn-ghost { justify-content: center; margin-top: auto; }

/* ---------- Ablauf ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 32px;
  counter-reset: none;
}
.step { position: relative; padding-top: 24px; border-top: 1px solid var(--line); }
.step-num { color: var(--accent); font-size: 1rem; letter-spacing: 0.15em; }
.step h3 { margin: 0.7em 0 0.4em; font-size: 1.15rem; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Arbeiten ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 20px;
}
.work-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
}
.work-card.featured { grid-column: span 2; }
@media (max-width: 700px) { .work-card.featured { grid-column: span 1; } }
.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s;
  filter: saturate(0.85);
}
.work-card:hover img { transform: scale(1.05); filter: saturate(1); }
.work-card figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 22px 18px;
  background: linear-gradient(transparent, rgba(7, 9, 11, 0.9));
  font-weight: 600;
  font-size: 0.95rem;
}
.work-card figcaption span {
  display: block;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 4px;
}

/* ---------- Kundenstimmen ---------- */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 24px;
}
.quote-card {
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.stars { color: var(--accent); letter-spacing: 0.2em; font-size: 0.95rem; }
.quote-card blockquote {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text);
}
.quote-card figcaption { font-weight: 700; margin-top: auto; }
.quote-card figcaption span { display: block; color: var(--muted); font-weight: 400; font-size: 0.85rem; }

/* ---------- Über mich ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.about-text { color: var(--muted); max-width: 36em; margin-bottom: 1.2em; }
.about-grid h2 { margin-bottom: 0.5em; }
.timeline { margin-top: 2.2em; display: grid; gap: 1.1em; }
.timeline li {
  display: flex;
  gap: 1.2em;
  align-items: baseline;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 1.4em;
}
.timeline .year { color: var(--accent); font-size: 0.95rem; min-width: 3.2em; }
.about-quote {
  margin-top: clamp(56px, 10vh, 110px);
  text-align: center;
}
.about-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3.2vw, 2.6rem);
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.about-quote p::before {
  content: "\201D";
  display: block;
  color: var(--accent);
  font-size: 2em;
  line-height: 0.4;
  margin-bottom: 0.25em;
}
.founder img { border-radius: 20px; border: 1px solid var(--line); }
.founder figcaption { margin-top: 1em; font-weight: 700; }
.founder figcaption span { color: var(--muted); font-weight: 400; font-size: 0.9rem; }

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 20px;
  margin-bottom: 2.5em;
}
.contact-card {
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 0.4em;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s, background 0.4s;
}
.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: var(--accent-soft);
}
.contact-label {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.25em;
}
.contact-value { font-weight: 700; font-size: 1.1rem; }
.contact-location { color: var(--muted); font-size: 0.9rem; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 48px var(--pad);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.85rem;
}
.footer-links { display: flex; gap: 1.8em; flex-wrap: wrap; }
.footer-links a:hover { color: var(--text); }

/* ---------- Rechtsseiten ---------- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 140px var(--pad) 100px;
}
.legal h1 { margin-bottom: 1em; }
.legal h2 { font-size: 1.1rem; margin: 2em 0 0.6em; }
.legal p { color: var(--muted); margin-bottom: 1em; }
.legal .back { color: var(--accent); display: inline-block; margin-bottom: 3em; }
