/* ============================================================
   LEON DELLA VALENTINA — Webdesign
   Stylesheet · dunkel-editorial · übersichtlich & kommentiert
   ------------------------------------------------------------
   Aufbau:
     1) Design-Tokens (Farben/Schriften/Layout) ← hier anpassen
     2) Reset & Grundlagen
     3) Wiederverwendbare Bausteine (Buttons, Kicker, Titel)
     4) Navigation
     5) Hero
     6) Lauftext-Leiste
     7) "Was ich mache" (dunkel)
     8) "Mein Angebot" (hell)
     9) "So läuft es ab" (dunkel)
    10) "Beispiel/Referenz" (hell)
    11) "Kontakt" (dunkel)
    12) Footer
    13) Scroll-Reveal-Animationen
    14) Responsive (Tablet & Mobile)
   ============================================================ */

/* ------------------------------------------------------------
   1) DESIGN-TOKENS  ·  zentrale Stellschrauben
   ------------------------------------------------------------
   Idee der Palette (Day-one-Run-Schule):
   - Eine DOMINANTE Basis: fast-schwarz, leicht warm.
   - Helle "Papier"-Flächen als Kontrast (Hell-Dunkel-Wechsel).
   - EINE Akzentfarbe (Indigo), sehr sparsam eingesetzt.
   ------------------------------------------------------------ */
:root {
  /* ---- Dunkle Basis ---- */
  --bg:        #0C0C0E;   /* Haupt-Hintergrund (fast schwarz)   */
  --bg-2:      #131316;   /* leicht erhöhte dunkle Fläche        */
  --bg-3:      #1A1A1F;   /* Karten/Felder auf Dunkel            */

  /* ---- Helle "Papier"-Flächen ---- */
  --paper:     #F2EFE9;   /* warmes Off-White (kein Reinweiss)   */
  --paper-2:   #E7E3DA;   /* etwas dunkleres Papier              */

  /* ---- Text ---- */
  --text:      #F3F1EB;   /* heller Text auf Dunkel              */
  --text-dim:  #9A988F;   /* gedämpfter heller Text              */
  --ink:       #14130F;   /* dunkler Text auf Papier             */
  --ink-dim:   #57544C;   /* gedämpfter dunkler Text             */

  /* ---- Akzent (sparsam!) ---- */
  --accent:     #5566EA;  /* Indigo — Marke                      */
  --accent-soft:#7C8BF2;  /* heller, für Text auf Dunkel         */

  /* ---- Linien ---- */
  --line:      rgba(243, 241, 235, 0.14);  /* Hairline auf Dunkel */
  --line-ink:  rgba(20, 19, 15, 0.14);     /* Hairline auf Papier */

  /* ---- Schriften ---- */
  --font-display: "Fraunces", Georgia, serif;             /* Headlines */
  --font-body:    "Space Grotesk", system-ui, sans-serif; /* Text */

  /* ---- Layout ---- */
  --maxw: 1240px;
  --pad:  clamp(1.25rem, 5vw, 4.5rem);
  --radius: 16px;

  /* ---- Übergänge (edle, weiche Kurve) ---- */
  --ease:     cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Farbschema für native UI (Scrollbar etc.) */
html { color-scheme: dark; }

/* ------------------------------------------------------------
   2) RESET / GRUNDLAGEN
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  /* Smooth-Scroll macht Lenis (JS). Fallback hier bewusst AUS,
     damit beides sich nicht in die Quere kommt. */
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: clamp(1rem, 0.96rem + 0.25vw, 1.08rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* Markierte Auswahl in Akzentfarbe */
::selection { background: var(--accent); color: #fff; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

/* Sichtbarer Fokus für Tastatur-Navigation (Barrierefreiheit) */
:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; border-radius: 4px; }

/* Feiner Film-Grain über der ganzen Seite — gibt "teure" Textur.
   Reines CSS (SVG-Rauschen als Daten-URL), sehr leicht, nicht klickbar. */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------
   3) WIEDERVERWENDBARE BAUSTEINE
   ------------------------------------------------------------ */

/* Mikro-Label über Headlines ("01 — Was ich mache") */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
  margin-bottom: 1.6rem;
}
.kicker::before {
  content: "";
  width: 1.6rem; height: 1px;
  background: var(--accent);
}

/* Sektions-Kopf (Kicker + Titel) */
.section__header { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.8rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  transition: transform 0.5s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

/* Primär: gefülltes Indigo (solide, KEIN Verlauf auf Weiss) */
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 34px -16px var(--accent);
}
.btn--primary:hover { background: var(--accent-soft); box-shadow: 0 20px 44px -16px var(--accent); }

/* Ghost: nur Kontur — passt sich dem Untergrund an */
.btn--ghost { border-color: currentColor; color: var(--text); opacity: 0.9; }
.btn--ghost:hover { background: var(--text); color: var(--bg); border-color: var(--text); opacity: 1; }
.btn--full { width: 100%; }

/* Sektions-Grundabstände */
.section { padding-block: clamp(5rem, 11vw, 9.5rem); position: relative; }

/* Grosse Titel (Fraunces) */
.section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-optical-sizing: auto;
  font-size: clamp(2.1rem, 1.3rem + 3.4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.022em;
  max-width: 16ch;
}
/* Lead-Absatz (grosse Aussage) */
.section__lead {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3.3rem);
  line-height: 1.16;
  letter-spacing: -0.018em;
}
.section__text {
  color: var(--text-dim);
  max-width: 46ch;
  font-size: clamp(1rem, 0.97rem + 0.3vw, 1.15rem);
}

/* Marker-/Highlight-Effekt auf einem Schlüsselwort (Nuredini-Idee).
   Der farbige "Stift-Strich" wächst beim Reveal von links auf. */
.mark {
  background: none;
  color: inherit;
  position: relative;
  white-space: nowrap;
  padding: 0 0.06em;
}
.mark::after {
  content: "";
  position: absolute;
  left: -0.04em; right: -0.04em;
  bottom: 0.06em;
  height: 0.42em;
  background: var(--accent);
  opacity: 0.9;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease) 0.35s;
  border-radius: 2px;
}
.reveal.is-visible .mark::after,
.is-visible.mark::after { transform: scaleX(1); }

/* ------------------------------------------------------------
   4) NAVIGATION
   ------------------------------------------------------------ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.5s var(--ease), backdrop-filter 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
  /* Choreografie beim Laden: die Navigation gleitet erst herein,
     wenn die Unterschrift fertig geschrieben ist.
     Timing anpassen: 2.2s = Wartezeit, 0.9s = Einblenddauer.
     WICHTIG: Das Hereingleiten (transform) liegt auf .nav__inner,
     NICHT auf .nav — ein transformiertes .nav würde zum
     Bezugsrahmen für das fixe Mobile-Menü und es zerreissen. */
  opacity: 0;
  animation: navIn 0.9s var(--ease-out) 2.2s forwards;
}
@keyframes navIn {
  to { opacity: 1; }
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 1.4rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.5s var(--ease);
  /* Hereingleiten beim Laden (Gegenstück zur .nav-Opacity).
     Bewusst margin-top statt transform: ein Transform auf .nav
     oder .nav__inner würde zum Bezugsrahmen für das fixe
     Mobile-Menü (.nav__links) und es zerreissen. */
  margin-top: -14px;
  animation: navSlide 0.9s var(--ease-out) 2.2s forwards;
}
@keyframes navSlide {
  to { margin-top: 0; }
}
.nav.is-scrolled .nav__inner { padding-block: 0.95rem; }

/* Logo: Monogramm + voller Name; Name blendet auf Mobile aus */
.nav__logo { display: inline-flex; align-items: baseline; gap: 0.6rem; color: var(--text); }
.nav__mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--accent-soft);
}
.nav__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.nav__links { display: flex; align-items: center; gap: 2.2rem; }
.nav__links a { font-size: 0.92rem; color: var(--text-dim); transition: color 0.3s var(--ease); }
.nav__links a:not(.nav__cta):hover { color: var(--text); }

/* feiner animierter Unterstrich bei den Textlinks */
.nav__links a:not(.nav__cta) span { position: relative; }
.nav__links a:not(.nav__cta) span::after {
  content: "";
  position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__links a:not(.nav__cta):hover span::after { transform: scaleX(1); transform-origin: left; }

/* CTA-Button in der Nav */
.nav__cta {
  border: 1px solid var(--line);
  color: var(--text) !important;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.nav__cta:hover { background: var(--text); color: var(--bg) !important; border-color: var(--text); }

/* Burger (nur Mobile) */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
  z-index: 110;
}
.nav__burger span {
  width: 26px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.25s var(--ease);
}

/* ------------------------------------------------------------
   5) HERO  ·  Vollbild 100svh · Typo-Statement
   ------------------------------------------------------------
   Kein Bild — der Hero lebt von Typografie:
     · .hero__title        riesiges Statement (Zeile 1 weiss,
                           weitere Zeilen gedämpft — Grössen gleich)
     · .scribble           handgezeichneter Akzent-Strich
     · .hero__sig          Signatur (gezeichnetes SVG, schreibt sich)
   ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;              /* Statement mittig */
  padding: 7rem var(--pad) 5rem;
  overflow: hidden;
  background: var(--bg);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
}

/* Riesiges Grotesk-Statement.
   Der wichtigste Trick der Referenz: alle Zeilen GLEICH gross,
   aber Zeile 1 weiss und der Rest fast im Hintergrund versinkend. */
.hero__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(2.7rem, 0.5rem + 7vw, 7rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #fff;
}
.hero__title-muted { color: rgba(243, 241, 235, 0.2); }

/* Masken-Reveal: Zeilen schieben sich nacheinander hoch */
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.1em; }
.hero__title .line > span {
  display: block;
  transform: translateY(112%);
  animation: heroLineUp 1s var(--ease-out) forwards;
}
.hero__title .line:nth-child(1) > span { animation-delay: 0.12s; }
.hero__title .line:nth-child(2) > span { animation-delay: 0.24s; }
.hero__title .line:nth-child(3) > span { animation-delay: 0.36s; }
@keyframes heroLineUp { to { transform: translateY(0); } }

/* Handgezeichneter Akzent-Strich unter "Websites." —
   zeichnet sich nach dem Titel-Reveal von links nach rechts.
   (Das EINE farbige Detail im Hero.) */
.scribble { position: relative; display: inline-block; }
.scribble svg {
  position: absolute;
  left: 0; bottom: -0.04em;
  width: 100%; height: 0.13em;
  overflow: visible;
}
.scribble path {
  stroke: var(--accent-soft);
  stroke-width: 4;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: scribbleDraw 0.7s var(--ease-out) 1.15s forwards;
}
@keyframes scribbleDraw { to { stroke-dashoffset: 0; } }

/* kurzer Stütztext in Grau */
.hero__support {
  margin-top: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--text-dim);
  max-width: 44ch;
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.15rem);
}

/* Signatur — echte Handschrift-Animation (Vara.js-Technik).
   Die Schrift ist eine EINSTRICH-Schrift ("Satisfy SL"): jeder
   Buchstabe IST ein Stiftstrich. Die Striche zeichnen sich per
   stroke-dashoffset nacheinander — der Stift fährt die echte
   Schreiblinie jedes Buchstabens nach, nie zwei gleichzeitig.
   Tempo: Jeder Strich hat im HTML seine Startzeit (--t) und
   Dauer (--d), berechnet aus der Strichlänge (konstantes
   Schreibtempo, kleine Pausen zwischen den Wörtern).
   Alles schneller/langsamer: --t/--d im HTML proportional ändern.
   Stiftdicke: stroke-width unten (in Schrift-Einheiten). */
.hero__sigblock { margin-top: clamp(1.8rem, 3.5vw, 2.6rem); }
.hero__sig {
  display: block;
  width: clamp(250px, 180px + 16vw, 440px);
  height: auto;
  overflow: visible;
  color: var(--text);
  transform: rotate(-2.5deg);
  transform-origin: left bottom;
}
.hero__sig .sig-stroke {
  fill: none;
  stroke: currentColor;       /* der Strich IST die Tinte */
  stroke-width: 1.6;          /* Stiftdicke (Schrift-Einheiten) */
  stroke-linecap: round;
  stroke-linejoin: round;
  /* Strich startet "aufgerollt"; opacity 0 verhindert den Punkt
     der runden Kappe, solange der Strich noch nicht dran ist */
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  /* konstantes Stift-Tempo: linear + längenbasierte Dauer */
  animation: sigDraw var(--d, 0.2s) linear forwards;
  animation-delay: var(--t, 1.2s);
}
@keyframes sigDraw {
  0%   { opacity: 1; stroke-dashoffset: 1; }
  100% { opacity: 1; stroke-dashoffset: 0; }
}

/* ------------------------------------------------------------
   6) LAUFTEXT-LEISTE  ·  schmaler Ticker (Day-one-Run-Stil)
   Kleine Grossbuchstaben-Labels statt grosser Schrift —
   wie die dünnen Info-Leisten der Referenz.
   ------------------------------------------------------------ */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  padding-block: 1rem;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 2.8rem;
  width: max-content;
  /* Dauer für EINE Hälfte (3 Wortfolgen à 6 Wörter) — gleiche
     Laufgeschwindigkeit, nur längere nahtlose Strecke */
  animation: marquee 105s linear infinite;
}
.marquee span {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.76rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}
.marquee__dot { color: var(--accent-soft) !important; font-size: 0.6rem !important; letter-spacing: 0 !important; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------
   7) WAS ICH MACHE  ·  dunkel, zweispaltig
   ------------------------------------------------------------ */
.section--intro { border-bottom: 1px solid var(--line); }
.intro {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.intro__head { position: sticky; top: 7rem; }
.intro__body { display: grid; gap: 2.5rem; }

/* Branchen-Liste mit Hairlines */
.industries { display: grid; gap: 0; }
.industries li {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem);
  color: var(--text);
  transition: color 0.3s var(--ease), padding-left 0.4s var(--ease);
}
.industries li:last-child { border-bottom: 1px solid var(--line); }
.industries li:hover { padding-left: 0.6rem; color: var(--accent-soft); }
.industries__no {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  min-width: 2rem;
}

/* ------------------------------------------------------------
   8) MEIN ANGEBOT  ·  HELL (Papier) — Hell-Dunkel-Wechsel
   ------------------------------------------------------------ */
.section--offer {
  background: var(--paper);
  color: var(--ink);
  border-radius: clamp(24px, 4vw, 40px) clamp(24px, 4vw, 40px) 0 0;
}
.section--offer .kicker { color: var(--ink-dim); }
.section--offer .kicker::before { background: var(--accent); }
.section--offer .section__title { color: var(--ink); }

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.card {
  background: transparent;
  border: 1px solid var(--line-ink);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  position: relative;
  overflow: hidden;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease);
}
.card::after {
  /* feiner Akzent-Schimmer oben, der beim Hover erscheint */
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.card:hover {
  transform: translateY(-8px);
  background: #fff;
  border-color: transparent;
  box-shadow: 0 34px 60px -34px rgba(20,19,15,0.45);
}
.card:hover::after { transform: scaleX(1); }

.card__top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.65rem);
  line-height: 1.15;
  color: var(--ink);
}
.card__text { color: var(--ink-dim); margin-bottom: 1.5rem; }
.card__list { display: grid; gap: 0.8rem; }
.card__list li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--ink);
}
.card__list li::before {
  content: "";
  position: absolute; left: 0; top: 0.62em;
  width: 9px; height: 9px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
}

/* Abschluss-Zeile: Einladung zum unverbindlichen Angebot */
.offer-cta {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.offer-cta__text {
  color: var(--ink-dim);
  max-width: 44ch;
  font-size: 1.05rem;
}

/* ------------------------------------------------------------
   9) SO LÄUFT ES AB  ·  dunkel · Stepper
   ------------------------------------------------------------ */
.section--process { background: var(--bg); }

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
}
/* durchgehende Linie hinter den Schritt-Nummern (Desktop) */
.steps::before {
  content: "";
  position: absolute;
  top: 1.1rem; left: 0; right: 0;
  height: 1px;
  background: var(--line);
}
.step {
  position: relative;
  padding-top: 3.2rem;
}
.step__num {
  position: absolute;
  top: 0; left: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--accent-soft);
  background: var(--bg);
  padding-right: 0.8rem;       /* deckt die Linie sauber ab */
  line-height: 2.2rem;
}
.step::before {
  /* kleiner Punkt auf der Linie */
  content: "";
  position: absolute;
  top: 0.95rem;
  left: 2.1rem;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--bg);
}
.step__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.2;
  margin-bottom: 0.6rem;
  color: var(--text);
}
.step__text { color: var(--text-dim); font-size: 0.95rem; }

/* ------------------------------------------------------------
   10) BEISPIEL / REFERENZ  ·  HELL (Papier)
   ------------------------------------------------------------ */
.section--work {
  background: var(--paper);
  color: var(--ink);
  border-radius: clamp(24px, 4vw, 40px) clamp(24px, 4vw, 40px) 0 0;
}
.section--work .kicker { color: var(--ink-dim); }
.section--work .kicker::before { background: var(--accent); }
.section--work .section__title { color: var(--ink); }

.work-card {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line-ink);
  border-radius: clamp(18px, 2vw, 24px);
  overflow: hidden;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.work-card:hover { transform: translateY(-8px); box-shadow: 0 40px 80px -40px rgba(20,19,15,0.5); }

.work-card__preview {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: var(--bg-2);
  border-right: 1px solid var(--line-ink);
}
/* drei "Fenster-Punkte" oben links als Browser-Andeutung */
.work-card__dots {
  position: absolute; top: 1rem; left: 1rem; z-index: 3;
  display: flex; gap: 6px;
}
.work-card__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.25); }

.work-card__iframe {
  position: absolute;
  top: 0; left: 0;
  width: 1280px;
  height: 820px;
  border: 0;
  background: #fff;
  transform-origin: top left;
  transform: scale(0.5);       /* Startwert; JS passt exakt an */
  pointer-events: none;
}
.work-card__badge {
  position: absolute;
  top: 1rem; right: 1rem;
  z-index: 2;
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: #fff;
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.45rem 0.9rem; border-radius: 999px;
}
.work-card__meta { padding: clamp(1.75rem, 3vw, 3rem); align-self: center; }
.work-card__kicker {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-dim); margin-bottom: 1rem;
}
.work-card__title {
  font-family: var(--font-display);
  font-weight: 500; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  margin-bottom: 0.7rem; color: var(--ink);
}
.work-card__text { color: var(--ink-dim); margin-bottom: 1.6rem; max-width: 34ch; }
.work-card__link { color: var(--accent); font-weight: 600; display: inline-flex; gap: 0.5rem; }
.work-card .arr { transition: transform 0.4s var(--ease); }
.work-card:hover .arr { transform: translateX(6px); }

/* ------------------------------------------------------------
   11) KONTAKT  ·  dunkel
   ------------------------------------------------------------ */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.contact__intro { position: sticky; top: 7rem; }
.contact__details { margin-top: 2.8rem; display: grid; gap: 0; }
.contact__details li {
  display: flex; gap: 1.2rem; align-items: baseline;
  padding: 1.1rem 0; border-top: 1px solid var(--line);
}
.contact__details li:last-child { border-bottom: 1px solid var(--line); }
.contact__label {
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-dim); min-width: 5rem;
}
.contact__details a { transition: color 0.3s var(--ease); }
.contact__details a:hover { color: var(--accent-soft); }

/* Formular */
.contact__form {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 3vw, 2.6rem);
  display: grid;
  gap: 1.1rem;
}
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.8rem; color: var(--text-dim); font-weight: 500; letter-spacing: 0.02em; }
.field input, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.9rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--bg-3);
  color: var(--text);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent-soft);
  background: color-mix(in srgb, var(--bg-3) 70%, var(--accent) 6%);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); opacity: 0.7; }

.contact__form .btn--primary { margin-top: 0.4rem; }
.contact__privacy {
  font-size: 0.82rem;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.55;
  margin-top: 0.4rem;
}
.contact__privacy a { color: var(--accent-soft); text-decoration: underline; text-underline-offset: 3px; }
.contact__privacy a:hover { color: var(--text); }

/* ------------------------------------------------------------
   12) FOOTER
   ------------------------------------------------------------ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 6vw, 5rem);
}
.footer__top {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}
.footer__brand {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  color: var(--text);
}
.footer__big {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.6rem, 1.1rem + 2.5vw, 3rem);
  color: var(--text);
  display: inline-flex; align-items: center; gap: 0.6rem;
  transition: color 0.3s var(--ease);
}
.footer__big .arr { transition: transform 0.4s var(--ease); }
.footer__big:hover { color: var(--accent-soft); }
.footer__big:hover .arr { transform: translateX(8px); }

.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  padding-top: 1.8rem;
}
.footer__copy { font-size: 0.85rem; color: var(--text-dim); }
.footer__links { display: flex; gap: 1.6rem; }
.footer__links a { font-size: 0.85rem; color: var(--text-dim); transition: color 0.3s var(--ease); }
.footer__links a:hover { color: var(--text); }

/* ------------------------------------------------------------
   13) SCROLL-REVEAL  ·  Abschnitte erscheinen sanft
   ------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(6px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; filter: none; }

/* gestaffeltes Erscheinen (Karten/Schritte/Branchen) */
.cards .reveal:nth-child(2) { transition-delay: 0.12s; }
.steps .reveal:nth-child(2) { transition-delay: 0.10s; }
.steps .reveal:nth-child(3) { transition-delay: 0.20s; }
.steps .reveal:nth-child(4) { transition-delay: 0.30s; }
.steps .reveal:nth-child(5) { transition-delay: 0.40s; }

/* Respektiert "weniger Bewegung" — alle Effekte ruhigstellen */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .hero__title .line > span { animation: none; transform: none; }
  .nav { animation: none; opacity: 1; }
  .nav__inner { animation: none; margin-top: 0; }
  .hero__sig .sig-stroke { animation: none; stroke-dashoffset: 0; opacity: 1; }
  .scribble path { animation: none; stroke-dashoffset: 0; }
  .marquee__track { animation: none; }
  .mark::after { transition: none; transform: scaleX(1); }
  * { scroll-behavior: auto !important; }
}

/* ============================================================
   14) RESPONSIVE  ·  Tablet & Mobile
   ============================================================ */
@media (max-width: 1000px) {
  .intro { grid-template-columns: 1fr; }
  .intro__head { position: static; }
  .contact { grid-template-columns: 1fr; }
  .contact__intro { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
  .steps::before { display: none; }       /* Linie nur im 5er-Raster sinnvoll */
  .step { padding-top: 2.6rem; border-top: 1px solid var(--line); padding-top: 2.8rem; }
  .step::before { display: none; }
  .step__num { background: transparent; top: 0.9rem; }
}

@media (max-width: 760px) {
  .nav__name { display: none; }           /* nur Monogramm auf Mobile */

  /* ---- Mobile-Typo: gross und selbstbewusst ----
     Die Schrift soll die Handy-Breite füllen wie auf dem Desktop.
     13.5vw ist so bemessen, dass die längste Statement-Zeile
     ("Unternehmen.") gerade eben in die Breite passt. */
  .hero { padding: 5.5rem var(--pad) 3.5rem; }
  .hero__title { font-size: min(13.5vw, 3.6rem); line-height: 1.04; }
  .hero__support { max-width: 34ch; font-size: 1.12rem; margin-top: 1.8rem; }
  .hero__sigblock { margin-top: 2.4rem; }
  .hero__sig { width: min(86vw, 400px); }

  /* Sektions-Titel & Intro-Lead ebenfalls grösser */
  .section__title { font-size: min(11.5vw, 3rem); }
  .section__lead { font-size: min(8.6vw, 2.4rem); }

  .cards { grid-template-columns: 1fr; }
  .work-card { grid-template-columns: 1fr; }
  /* Vorschau-Box exakt im Seitenverhältnis der skalierten
     Live-Vorschau (1280x820) — kein totes Band darunter */
  .work-card__preview { min-height: 0; aspect-ratio: 1280 / 820; border-right: 0; border-bottom: 1px solid var(--line-ink); }

  /* Mobile-Navigation: Burger + Panel */
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed;
    inset: 0 0 0 25%;
    background: color-mix(in srgb, var(--bg) 96%, transparent);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.8rem;
    padding: 2.5rem var(--pad);
    transform: translateX(100%);
    transition: transform 0.6s var(--ease);
    border-left: 1px solid var(--line);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { font-size: 1.3rem; color: var(--text); }
  .nav__links .nav__cta { font-size: 1rem; margin-top: 0.5rem; }

  /* Burger zu "X" */
  .nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger.is-open span:nth-child(2) { opacity: 0; }
  .nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 540px) {
  .steps { grid-template-columns: 1fr; }
  .footer__top { flex-direction: column; align-items: flex-start; }
}
