/* ==========================================================================
   Engravea Design – Cinematic Theme
   Baut auf w3.css auf; alle Assets (Fonts, Icons, Bilder) werden lokal geladen.
   ========================================================================== */

:root {
  --ink: #0b0a09;
  --ink-2: #12100d;
  --ink-3: #1b1814;
  --line: rgba(205, 163, 73, .22);
  --gold: #cda349;
  --gold-hi: #ecd28f;
  --gold-lo: #8d6b25;
  --amber: #e9a77a;
  --text: #ece6dc;
  --muted: #a49b8d;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 76px;
  --wrap: 1240px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); background: var(--ink); }
html, body { font-family: var(--sans); font-size: 16px; line-height: 1.75; }
/* Cormorant nutzt standardmäßig Mediävalziffern – für Preise/Telefon Versalziffern erzwingen */
*, *::before, *::after { font-variant-numeric: lining-nums !important; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-weight: 300;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip; /* wie hidden, macht body aber nicht zum Scroll-Container – sonst greift position: sticky nicht */
}
body.is-locked { overflow: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: var(--serif); font-weight: 300; color: var(--text); margin: 0; line-height: 1.1; letter-spacing: .005em; }
p { margin: 0 0 1.1em; }
a { color: var(--gold-hi); text-decoration: none; transition: color .3s var(--ease); }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }
b, strong { font-weight: 600; color: #f4efe6; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.wrap--narrow { width: min(860px, 100% - 48px); margin-inline: auto; }
.section { position: relative; padding: clamp(96px, 14vw, 180px) 0; }
.section--tight { padding: clamp(64px, 9vw, 120px) 0; }
.section--alt { background: var(--ink-2); }
.center { text-align: center; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Film grain + vignette over the whole page */
.grain {
  pointer-events: none;
  position: fixed; inset: -50%;
  z-index: 90;
  opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 120; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi), var(--gold)); box-shadow: 0 0 12px rgba(236, 210, 143, .7); }

/* ---------- Typo helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font: 500 .72rem/1.6 var(--sans); letter-spacing: .38em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 26px;
}
.eyebrow::before { content: ""; width: 42px; height: 1px; background: currentColor; }
.center .eyebrow::after, .empty-state .eyebrow::after, .msgbox .eyebrow::after { content: ""; width: 42px; height: 1px; background: currentColor; }
.display { font-size: clamp(2.6rem, 6.2vw, 5.6rem); font-weight: 300; line-height: 1.02; }
.h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); margin-bottom: .55em; }
.h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: .5em; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: #d9d1c4; font-weight: 300; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }
.italic { font-style: italic; }
em.serif, .serif { font-family: var(--serif); }
.display em, .h2 em, .h3 em { font-style: italic; color: var(--gold-hi); }
.shine {
  background: linear-gradient(110deg, var(--gold-lo) 0%, var(--gold-hi) 22%, var(--gold) 40%, var(--gold-lo) 60%, var(--gold-hi) 80%, var(--gold) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 9s linear infinite;
}
@keyframes shine { to { background-position: -250% 0; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 34px; border: 1px solid var(--gold); color: var(--ink);
  background: var(--gold); font: 600 .74rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase;
  overflow: hidden; isolation: isolate; cursor: pointer; transition: color .45s var(--ease), border-color .45s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold-hi); transform: translateX(-101%); transition: transform .55s var(--ease-out); }
.btn:hover { color: var(--ink); }
.btn:hover::before { transform: translateX(0); }
.btn--ghost { background: transparent; color: var(--text); border-color: rgba(236, 230, 220, .35); }
.btn--ghost::before { background: var(--gold); }
.btn--ghost:hover { border-color: var(--gold); }
.btn i { font-size: .9em; }
.link-arrow { display: inline-flex; align-items: center; gap: 12px; font: 500 .74rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.link-arrow i { transition: transform .4s var(--ease-out); }
.link-arrow:hover i { transform: translateX(6px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Intro (nur Startseite) ---------- */
.intro {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--ink);
  transition: opacity 1s var(--ease) .1s, visibility 0s linear 1.1s;
}
.intro.is-done { opacity: 0; visibility: hidden; }
.intro__logo { position: relative; width: min(440px, 72vw); }
.intro__logo img { width: 100%; clip-path: inset(0 100% 0 0); animation: engrave 1.7s var(--ease) .25s forwards; filter: drop-shadow(0 0 18px rgba(205, 163, 73, .35)); }
.intro__laser {
  position: absolute; top: -12%; bottom: -12%; left: 0; width: 2px;
  background: linear-gradient(180deg, transparent, #fff 30%, var(--gold-hi) 50%, #fff 70%, transparent);
  box-shadow: 0 0 14px 3px rgba(255, 220, 150, .85), 0 0 40px 10px rgba(205, 163, 73, .45);
  opacity: 0; animation: laser 1.7s var(--ease) .25s forwards;
}
.intro__skip { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); font: 500 .66rem/1 var(--sans); letter-spacing: .4em; text-transform: uppercase; color: var(--muted); background: none; border: 0; cursor: pointer; }
@keyframes engrave { to { clip-path: inset(0 0 0 0); } }
@keyframes laser { 0% { left: 0; opacity: 1; } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .5s var(--ease), backdrop-filter .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(11, 10, 9, .78); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { width: min(1400px, 100% - 48px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo img { height: 44px; width: auto; transition: opacity .3s; }
.nav__logo:hover img { opacity: .85; }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2vw, 34px); }
.nav__links a {
  position: relative; color: var(--text); font: 500 .7rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; padding: 10px 0;
}
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav__links a:hover, .nav__links a.is-active { color: var(--gold-hi); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__links .nav__cta { border: 1px solid var(--gold); padding: 9px 16px; color: var(--gold-hi); font-size: .66rem; }
.nav__links .nav__cta::after { display: none; }
.nav__links .nav__cta:hover { background: var(--gold); color: var(--ink); }
.nav__burger { display: none; width: 46px; height: 46px; border: 0; background: none; cursor: pointer; position: relative; z-index: 130; }
.nav__burger span { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--text); transition: transform .5s var(--ease-out), opacity .3s; }
.nav__burger span:nth-child(1) { top: 17px; }
.nav__burger span:nth-child(2) { top: 23px; right: 18px; }
.nav__burger span:nth-child(3) { top: 29px; }
.menu-open .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
.menu-open .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile overlay menu */
.menu {
  position: fixed; inset: 0; z-index: 99; background: var(--ink);
  display: flex; flex-direction: column; justify-content: center; padding: 100px 9vw 60px;
  clip-path: circle(0% at calc(100% - 46px) 38px); transition: clip-path .8s var(--ease-out); visibility: hidden;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 46px) 38px); visibility: visible; }
.menu a { display: block; font: 300 clamp(2rem, 8vw, 3rem)/1.25 var(--serif); color: var(--text); opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .6s var(--ease-out), color .3s; }
.menu a:hover { color: var(--gold-hi); }
.menu-open .menu a { opacity: 1; transform: none; }
.menu-open .menu a:nth-child(2) { transition-delay: .05s; } .menu-open .menu a:nth-child(3) { transition-delay: .1s; }
.menu-open .menu a:nth-child(4) { transition-delay: .15s; } .menu-open .menu a:nth-child(5) { transition-delay: .2s; }
.menu-open .menu a:nth-child(6) { transition-delay: .25s; } .menu-open .menu a:nth-child(7) { transition-delay: .3s; }
.menu__small { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.menu__small a { font: 500 .72rem/1.6 var(--sans) !important; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.menu .social { margin-top: 28px; }
.menu .social a { opacity: 1; transform: none; font-size: 1.2rem; }

/* ---------- Hero ---------- */
/* Grid statt absoluter Positionierung: Inhalt und Meta-Leiste (Social/Scroll) können sich nie überlappen */
.hero { position: relative; min-height: 640px; min-height: max(640px, 100vh); min-height: max(640px, 100svh); overflow: hidden; display: grid; grid-template-rows: 1fr auto; background: var(--ink); }
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 55%; animation: kenburns 22s var(--ease) both; filter: saturate(.95) contrast(1.05); }
@keyframes kenburns { from { transform: scale(1.18) translate3d(2%, 1%, 0); } to { transform: scale(1.02); } }
.hero__shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 78% 60%, transparent 20%, rgba(11, 10, 9, .55) 70%, rgba(11, 10, 9, .9) 100%),
    linear-gradient(90deg, rgba(11, 10, 9, .92) 0%, rgba(11, 10, 9, .7) 34%, rgba(11, 10, 9, .05) 70%),
    linear-gradient(0deg, var(--ink) 0%, transparent 28%);
}
/* Oberer Kinobalken ist so hoch wie die Navigation, damit Logo & Menü nie ins Bild ragen */
.letterbox::before, .letterbox::after { content: ""; position: absolute; left: 0; right: 0; height: 7vh; background: #000; z-index: 3; transition: transform 1.6s var(--ease-out) .2s; }
.letterbox::before { top: 0; height: var(--nav-h); transform: translateY(-100%); }
.letterbox::after { bottom: 0; transform: translateY(100%); }
.is-ready .letterbox::before, .is-ready .letterbox::after { transform: translateY(0); }
.is-scrolled .letterbox::before { transform: translateY(-100%); }
.is-scrolled .letterbox::after { transform: translateY(100%); }
.hero__content { position: relative; z-index: 4; align-self: center; width: min(1400px, 100% - 48px); margin-inline: auto; padding: calc(var(--nav-h) + 36px) 0 36px; }
.hero__content .display { margin-bottom: 28px; font-size: clamp(2.6rem, min(6.2vw, 9.5vh), 5.6rem); }
.hero__content .lead { max-width: 34ch; margin-bottom: 38px; }
.hero__meta { position: relative; z-index: 4; padding-bottom: calc(7vh + 24px); }
.hero__meta .wrap-wide { width: min(1400px, 100% - 48px); margin-inline: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.scroll-cue { display: flex; align-items: center; gap: 16px; font: 500 .66rem/1 var(--sans); letter-spacing: .4em; text-transform: uppercase; color: var(--muted); }
.scroll-cue span { position: relative; width: 1px; height: 54px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold-hi); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }
.hero__credit { font: 400 italic 1rem/1.4 var(--serif); color: var(--muted); text-align: right; }

/* Lichtschein, der dem Mauszeiger auf der ganzen Seite folgt (nur Geräte mit Maus) */
.cursor-glow { position: fixed; inset: 0; z-index: 89; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease);
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(233, 167, 122, .09), rgba(233, 167, 122, .03) 40%, transparent 65%); }
.cursor-glow.is-on { opacity: 1; }

/* Line mask reveal */
.line { display: block; overflow: hidden; padding-bottom: .08em; }
.line > span { display: block; transform: translateY(110%); transition: transform 1.3s var(--ease-out); }
.is-ready .line > span { transform: none; }
.is-ready .line:nth-child(2) > span { transition-delay: .12s; }
.is-ready .line:nth-child(3) > span { transition-delay: .24s; }
.fade-up { opacity: 0; transform: translateY(26px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease-out); }
.is-ready .fade-up { opacity: 1; transform: none; }
.is-ready .fade-up.d1 { transition-delay: .45s; } .is-ready .fade-up.d2 { transition-delay: .6s; } .is-ready .fade-up.d3 { transition-delay: .8s; }

/* ---------- Social ---------- */
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(236, 230, 220, .18); border-radius: 50%; color: var(--text); transition: all .4s var(--ease); }
.social a:hover { border-color: var(--gold); color: var(--ink); background: var(--gold); transform: translateY(-3px); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(48px); filter: blur(6px); transition: opacity 1.2s var(--ease), transform 1.3s var(--ease-out), filter 1.2s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; filter: none; }
.reveal[data-delay="1"] { transition-delay: .12s; } .reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; } .reveal[data-delay="4"] { transition-delay: .48s; }
.reveal-img { clip-path: inset(12% 12% 12% 12%); transition: clip-path 1.6s var(--ease-out); }
.reveal-img img { transform: scale(1.25); transition: transform 2s var(--ease-out); }
.reveal-img.is-in { clip-path: inset(0 0 0 0); }
.reveal-img.is-in img { transform: scale(1); }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; background: var(--ink); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track span { font: 300 italic clamp(1.6rem, 3vw, 2.6rem)/1 var(--serif); color: var(--text); white-space: nowrap; padding-right: 48px; display: inline-flex; align-items: center; gap: 48px; }
.marquee__track span::after { content: "✦"; font-style: normal; font-size: .5em; color: var(--gold); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__media { position: relative; }
.about__media .frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.about__media .frame img { width: 100%; height: 100%; object-fit: cover; }
.about__media::before { content: ""; position: absolute; inset: -22px 22px 22px -22px; border: 1px solid var(--line); z-index: -1; }
.materials { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 30px; padding: 0; list-style: none; }
.materials li { font: 500 .66rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-hi); border: 1px solid var(--line); padding: 9px 13px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; padding-top: 34px; border-top: 1px solid var(--line); }
.stats strong { display: block; font: 300 2.4rem/1 var(--serif); color: var(--gold-hi); margin-bottom: 8px; }
.stats span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Kollektion cards ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(48px, 6vw, 80px); flex-wrap: wrap; }
.section-head .h2 { margin: 0; max-width: 14ch; }
.section-head p { max-width: 44ch; margin: 0; }
.notice { display: inline-flex; align-items: center; gap: 10px; font: 500 .66rem/1.5 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--amber); border: 1px solid rgba(233, 167, 122, .35); padding: 10px 14px; }
.notice::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
/* Kategorien als Kachel-Mosaik: bricht in Zeilen um, jede Zeile füllt die volle Breite – nie Scrollbalken.
   --per = Karten pro Zeile; --c2 … --c5 liefert der Generator ausgewogen für höchstens 2 … 5 Spalten (z. B. 5 Karten bei 4 Spalten = 3 + 2) */
.cards { --gap: clamp(10px, 1.4vw, 22px); --per: var(--c5, 5); display: flex; flex-wrap: wrap; gap: var(--gap); container-type: inline-size; }
.card { position: relative; display: block; flex: 1 1 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per) - 1px); min-width: 0; overflow: hidden; color: var(--text); background: var(--ink-3); container-type: size;
  height: clamp(220px, 36vw, 480px);
  /* Höhe richtet sich nach der normalen Kartenbreite; Karten einer nicht vollen Zeile werden breiter, nicht höher */
  height: clamp(236px, calc((100cqi - (var(--per) - 1) * var(--gap)) / var(--per) * 1.43), 520px); }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out), filter 1s var(--ease); filter: brightness(.82) saturate(.9); }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 10, 9, .1) 30%, rgba(11, 10, 9, .92) 100%); }
.card__body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: clamp(18px, 2.4vw, 40px); }
.card h3 { font-size: clamp(1.6rem, 2.4vw, 2.9rem); margin-bottom: 12px; line-height: 1.05; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
.card p { font-size: .9rem; line-height: 1.6; color: #cfc6b8; max-height: 0; opacity: 0; overflow: hidden; margin: 0; transition: max-height .8s var(--ease-out), opacity .6s var(--ease), margin .6s;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; }
.card .link-arrow { margin-top: 18px; }
.card__bar { display: block; height: 1px; background: var(--gold); width: 40px; margin-bottom: 18px; transition: width .8s var(--ease-out); }
.card:hover img { transform: scale(1.07); filter: brightness(.7) saturate(1); }
.card:hover p { max-height: 240px; opacity: 1; margin-top: 4px; }
.card:hover .card__bar { width: 100%; }
.card:hover { color: var(--text); }
@supports (container-type: inline-size) {
  .card__body { padding: clamp(18px, 10cqi, 40px); }
  .card h3 { font-size: clamp(1.3rem, min(12.5cqi, calc(180cqi / var(--w, 10))), 2.9rem); }
  .card .link-arrow { font-size: clamp(.62rem, 4.6cqi, .74rem); letter-spacing: .22em; }
  /* schmale Kacheln (z. B. zwei nebeneinander am Handy): nur Titel und Link */
  @container (max-width: 250px) {
    .card p { display: none; }
    .card .link-arrow { margin-top: 10px; letter-spacing: .14em; gap: 8px; }
    .card__bar { margin-bottom: 12px; }
  }
  /* niedrige Kacheln: Text kürzen, damit nichts über den Rand läuft */
  @container (max-height: 400px) {
    .cards .card p { -webkit-line-clamp: 4; }
  }
  @container (max-height: 300px) {
    .cards .card p { -webkit-line-clamp: 2; }
  }
}

/* ---------- Process ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(var(--steps, 5), 1fr); gap: 0; counter-reset: s; margin-top: 30px; }
.steps::before { content: ""; position: absolute; top: 29px; left: 29px; width: calc(100% - 100% / var(--steps, 5)); height: 1px; background: var(--line); }
.steps__beam { position: absolute; top: 29px; left: 29px; height: 1px; width: calc(100% - 100% / var(--steps, 5)); background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); box-shadow: 0 0 10px rgba(236, 210, 143, .8); transform-origin: 0 50%; transform: scaleX(0); transition: transform 2.4s var(--ease); }
.steps.is-in .steps__beam { transform: scaleX(1); }
.step { position: relative; padding-right: 28px; }
.step__dot { position: relative; z-index: 1; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-2); border: 1px solid var(--line); color: var(--gold); margin-bottom: 30px; transition: all .5s var(--ease); }
.step:hover .step__dot { background: var(--gold); color: var(--ink); border-color: var(--gold); box-shadow: 0 0 30px rgba(205, 163, 73, .45); }
.step__n { font: 400 italic .95rem/1 var(--serif); color: var(--gold); display: block; margin-bottom: 10px; }
.step h3 { font-size: 1.55rem; margin-bottom: 10px; }
.step p { font-size: .92rem; color: var(--muted); }

/* ---------- Cinematic quote (parallax) ---------- */
.quote { position: relative; min-height: 88vh; display: grid; place-items: center; overflow: hidden; text-align: center; }
.quote__bg { position: absolute; inset: -18% 0; }
.quote__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.34) saturate(.9); }
.quote::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 30%, rgba(11, 10, 9, .85) 100%), linear-gradient(180deg, var(--ink) 0%, transparent 18%, transparent 82%, var(--ink) 100%); }
.quote__inner { position: relative; z-index: 2; width: min(980px, 100% - 48px); }
.quote blockquote { margin: 0; font: 300 clamp(2rem, 4.6vw, 3.8rem)/1.18 var(--serif); }
.quote blockquote em { color: var(--gold-hi); }
.quote cite { display: block; margin-top: 34px; font: 500 .7rem/1 var(--sans); letter-spacing: .4em; text-transform: uppercase; color: var(--gold); font-style: normal; }

/* ---------- Portfolio / Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(180px, 22vw, 320px); grid-auto-flow: dense; gap: clamp(8px, 1vw, 14px); }
.gallery--3 { grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(200px, 28vw, 400px); }
.gallery--2 { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(240px, 38vw, 560px); }
.tile { position: relative; overflow: hidden; cursor: zoom-in; background: var(--ink-3); border: 0; padding: 0; margin: 0; display: block; width: 100%; height: 100%; }
.tile--wide { grid-column: span 2; }
.tile--tall { grid-row: span 2; }
.tile--big { grid-column: span 2; grid-row: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out), filter .8s var(--ease); filter: brightness(.88) saturate(.9); }
.tile figcaption, .tile .tile__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 18px; text-align: left;
  background: linear-gradient(0deg, rgba(11, 10, 9, .88), transparent);
  font: 400 italic 1.1rem/1.3 var(--serif); color: var(--text); transform: translateY(100%); transition: transform .7s var(--ease-out);
}
.tile::after { content: "+"; position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; color: #fff; font: 300 1.3rem/1 var(--sans); opacity: 0; transform: scale(.6) rotate(-90deg); transition: all .6s var(--ease-out); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.06); filter: brightness(1) saturate(1); }
.tile:hover .tile__cap, .tile:focus-visible .tile__cap { transform: none; }
.tile:hover::after, .tile:focus-visible::after { opacity: 1; transform: none; }

/* ---------- Portfolio-Karussell (Querformat 4×2, Hochformat 2×3; Seiten baut js/engravea.js) ---------- */
.carousel { position: relative; container-type: inline-size; --c-cols: 4; --c-rows: 2; --c-gap: clamp(8px, 1vw, 14px); --c-dots: 38px; }
.carousel__viewport { display: grid; grid-template-columns: repeat(var(--c-cols), minmax(0, 1fr)); gap: var(--c-gap); }
.carousel__viewport > .tile { aspect-ratio: 1; height: auto; }
.carousel.is-ready .carousel__viewport {
  position: relative; display: flex; width: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
  aspect-ratio: var(--c-cols) / var(--c-rows); max-height: max(300px, 100vh - 150px);
}
@supports (height: 1cqw) and (height: 1svh) {
  /* exakt quadratische Kacheln, aber nie höher als der Bildschirm */
  .carousel.is-ready .carousel__viewport {
    aspect-ratio: auto; max-height: none;
    height: min(calc((100cqw - (var(--c-cols) - 1) * var(--c-gap)) / var(--c-cols) * var(--c-rows) + (var(--c-rows) - 1) * var(--c-gap)), max(300px, 100svh - 150px));
  }
}
.carousel__viewport::-webkit-scrollbar { display: none; }
.carousel__page { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; display: grid; grid-template-columns: repeat(var(--c-cols), minmax(0, 1fr)); grid-template-rows: repeat(var(--c-rows), minmax(0, 1fr)); gap: var(--c-gap); }
.carousel__page .tile { min-height: 0; }
.carousel__nav { position: absolute; z-index: 2; top: calc((100% - var(--c-dots)) / 2); left: -27px; width: 54px; height: 54px; transform: translateY(-50%); border-radius: 50%; border: 1px solid var(--line); background: rgba(11, 10, 9, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--gold-hi); cursor: pointer; display: grid; place-items: center; font-size: 1rem; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.carousel__nav--next { left: auto; right: -27px; }
.carousel__nav:hover, .carousel__nav:focus-visible { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.carousel__dots { display: flex; justify-content: center; gap: 6px; height: 14px; margin-top: calc(var(--c-dots) - 14px); }
.carousel__dots button { position: relative; flex: 0 1 30px; height: 14px; padding: 0; border: 0; background: none; cursor: pointer; }
.carousel__dots button::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: rgba(236, 230, 220, .22); transition: background .4s var(--ease); }
.carousel__dots button.is-active::before { background: var(--gold); }
.carousel:not(.is-ready) .carousel__nav, .carousel:not(.is-ready) .carousel__dots,
.carousel.is-single .carousel__nav, .carousel.is-single .carousel__dots { display: none; }
@media (orientation: portrait), (max-width: 640px) {
  .carousel { --c-cols: 2; --c-rows: 3; }
}
@media (max-width: 900px) {
  .carousel .tile .tile__cap { display: none; }
  .carousel__nav { left: -14px; width: 46px; height: 46px; }
  .carousel__nav--next { left: auto; right: -14px; }
}

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(6, 5, 4, .96); display: grid; grid-template-rows: 1fr auto; place-items: center; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s linear .5s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.lightbox__stage { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 70px 90px 0; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 170px); object-fit: contain; box-shadow: 0 40px 120px rgba(0, 0, 0, .7); transform: scale(.96); opacity: 0; transition: transform .7s var(--ease-out), opacity .5s var(--ease); }
.lightbox.is-open .lightbox__img.is-loaded { transform: none; opacity: 1; }
.lightbox__bar { width: min(1100px, 100% - 48px); display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0 28px; }
.lightbox__cap { font: 400 italic 1.25rem/1.3 var(--serif); }
.lightbox__count { font: 500 .7rem/1 var(--sans); letter-spacing: .3em; color: var(--gold); white-space: nowrap; }
.lb-btn { position: absolute; z-index: 2; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(11, 10, 9, .4); color: var(--text); cursor: pointer; display: grid; place-items: center; transition: all .35s var(--ease); font-size: 1rem; }
.lb-btn:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.pricing__intro { position: sticky; top: calc(var(--nav-h) + 30px); }
.factors { list-style: none; margin: 34px 0; padding: 0; counter-reset: f; }
.factors li { position: relative; padding: 22px 0 22px 64px; border-top: 1px solid var(--line); counter-increment: f; }
.factors li:last-child { border-bottom: 1px solid var(--line); }
.factors li::before { content: "0" counter(f); position: absolute; left: 0; top: 22px; font: 400 italic 1.5rem/1 var(--serif); color: var(--gold); }
.factors h3 { font: 500 .78rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--text); margin-bottom: 8px; }
.factors p { margin: 0; font-size: .93rem; color: var(--muted); }
.price-card { background: var(--ink-3); border: 1px solid var(--line); padding: clamp(26px, 3.4vw, 46px); margin-bottom: 26px; position: relative; overflow: hidden; }
.price-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-hi), transparent); }
.price-card h3 { font-size: 2rem; margin-bottom: 6px; }
.price-card .muted { font-size: .85rem; margin-bottom: 22px; }
.price-group { margin-top: 24px; }
.price-group__title { font: 600 .68rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.price-row { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px dashed rgba(205, 163, 73, .14); font-size: .95rem; }
.price-row span:first-child { color: #ddd5c8; }
.price-row i.dots { flex: 1; border-bottom: 1px dotted rgba(236, 230, 220, .2); transform: translateY(-4px); min-width: 20px; }
.price-row b { font: 500 1.3rem/1 var(--serif); color: var(--gold-hi); white-space: nowrap; }
.price-row b.req { font: 500 .7rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: normal; text-align: right; max-width: 42%; }
.price-from { display: inline-flex; align-items: baseline; gap: 10px; font: 500 .7rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.price-from strong { font: 300 2.6rem/1 var(--serif); letter-spacing: 0; color: var(--gold-hi); }
.price-row b small { font: 500 .66rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.price-row--link { color: inherit; transition: background .35s var(--ease), padding .35s var(--ease); }
.price-row--link span:first-child { font: 400 1.35rem/1.2 var(--serif); color: var(--text); }
.price-row--link .price-row__go { font-size: .72rem; color: var(--gold); opacity: .5; transition: transform .4s var(--ease-out), opacity .3s; }
.price-row--link:hover { color: inherit; background: rgba(205, 163, 73, .06); padding-inline: 10px; }
.price-row--link:hover .price-row__go { opacity: 1; transform: translateX(4px); }
.price-card--overview .muted { margin-bottom: 10px; }
.price-card__note { margin: 22px 0 0; font-size: .85rem; color: var(--muted); }

/* ---------- B2B band ---------- */
.b2b { position: relative; border: 1px solid var(--line); padding: clamp(28px, 3.6vw, 48px) clamp(24px, 4vw, 56px); display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 3.4vw, 48px); align-items: center; background: linear-gradient(120deg, rgba(205, 163, 73, .08), transparent 50%); }
.b2b__icon { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold-hi); font-size: 1.5rem; box-shadow: 0 0 0 8px rgba(205, 163, 73, .06); }
.b2b .eyebrow { margin-bottom: 10px; }
.b2b p { margin: 0; color: #d6cebf; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 110px); }
.contact__list { list-style: none; padding: 0; margin: 40px 0; }
.contact__list li { display: flex; gap: 20px; align-items: flex-start; padding: 22px 0; border-top: 1px solid var(--line); }
.contact__list li:last-child { border-bottom: 1px solid var(--line); }
.contact__list i.ic { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--gold); }
.contact__list small { display: block; font: 500 .66rem/1.6 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin: 4px 0 8px; }
.contact__list a { font: 400 1.35rem/1.3 var(--serif); color: var(--text); }
.contact__list a:hover { color: var(--gold-hi); }
.form { background: var(--ink-3); border: 1px solid var(--line); padding: clamp(28px, 4vw, 56px); }
.field { position: relative; margin-bottom: 30px; }
.field .w3-input, .field input, .field textarea {
  width: 100%; background: transparent !important; border: 0 !important; border-bottom: 1px solid rgba(236, 230, 220, .22) !important;
  color: var(--text); font: 300 1.05rem/1.5 var(--sans); padding: 22px 0 10px; border-radius: 0; outline: none; transition: border-color .4s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field label { position: absolute; left: 0; top: 22px; font: 400 .95rem/1.4 var(--sans); color: var(--muted); pointer-events: none; transition: all .35s var(--ease-out); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 0; font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.field:focus-within::after { transform: scaleX(1); }
.form__note { font-size: .82rem; color: var(--muted); margin: 6px 0 28px; }
.upload { position: relative; display: grid; grid-template-columns: minmax(0, max-content) auto; justify-content: start; align-items: center; gap: 10px 12px; margin-bottom: 26px; }
.upload__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.upload__btn { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; padding: 14px 20px; border: 1px dashed rgba(205, 163, 73, .5); color: var(--gold-hi); font: 500 .7rem/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: border-color .35s var(--ease), background .35s var(--ease); }
.upload__btn:hover, .upload__input:focus-visible + .upload__btn { border-color: var(--gold); background: rgba(205, 163, 73, .08); }
.upload.has-file .upload__btn { border-style: solid; }
.upload__clear { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: none; color: var(--text); cursor: pointer; transition: all .35s var(--ease); }
.upload__clear:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.upload__clear[hidden], .form__error[hidden] { display: none; }
.upload__info { grid-column: 1 / -1; margin: 0; font-size: .82rem; color: var(--muted); overflow-wrap: anywhere; }
.upload__info.is-error, .form__error, .form-errors { color: var(--amber); }
.form__error { font-size: .9rem; margin: 0 0 20px; }
.form-errors { list-style: none; padding: 0; margin: 0 0 22px; font-size: 1.1rem; line-height: 1.7; }
.form .btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Bestätigung nach dem Absenden (Overlay) ---------- */
.msgbox { position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; padding: 24px; overflow-y: auto; background: rgba(6, 5, 4, .88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s linear .45s; }
.msgbox.is-open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
.msgbox__panel { position: relative; width: min(640px, 100%); padding: clamp(44px, 6vw, 64px) clamp(24px, 5vw, 56px) clamp(32px, 5vw, 52px); text-align: center; background: var(--ink-3); border: 1px solid var(--line); box-shadow: 0 40px 120px rgba(0, 0, 0, .7); transform: translateY(24px); transition: transform .6s var(--ease-out); }
.msgbox.is-open .msgbox__panel { transform: none; }
.msgbox .logo-mark { width: 64px; margin: 0 auto 24px; }
.msgbox .h2 { margin-bottom: 18px; overflow-wrap: anywhere; }
.msgbox__close { top: 14px; right: 14px; width: 44px; height: 44px; }
.msgbox__fail, .msgbox.is-error .msgbox__ok { display: none; }
.msgbox.is-error .msgbox__fail { display: block; }

/* ---------- Footer ---------- */
.footer { position: relative; padding: clamp(56px, 6vw, 84px) 0 32px; border-top: 1px solid var(--line); background: var(--ink); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.footer__grid img { height: 48px; width: auto; margin-bottom: 18px; }
.footer__brand .muted { max-width: 34ch; }
.footer h4 { font: 600 .68rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin: 8px 0 20px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer li a { color: #cfc7ba; font-size: .95rem; overflow-wrap: anywhere; }
.footer li a:hover { color: var(--gold-hi); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 30px; font-size: .78rem; color: var(--muted); letter-spacing: .06em; }
.footer__bottom a { color: var(--muted); }
.to-top { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font: 500 .68rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; }
.to-top i { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--gold); transition: all .4s; }
.to-top:hover i { background: var(--gold); color: var(--ink); transform: translateY(-4px); }

/* ---------- Unterseiten ---------- */
.page-hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; overflow: hidden; padding: calc(var(--nav-h) + 60px) 0 clamp(60px, 8vw, 110px); }
.page-hero--short { min-height: 52vh; }
.page-hero--tool { min-height: 0; padding: calc(var(--nav-h) + 56px) 0 36px; }
.page-hero--tool .display { margin-bottom: 16px; }
.page-hero--tool .lead { font-size: 1.05rem; }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s var(--ease) both; filter: brightness(.55) saturate(.9); }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--ink) 0%, rgba(11, 10, 9, .35) 50%, rgba(11, 10, 9, .6) 100%), linear-gradient(90deg, rgba(11, 10, 9, .75), transparent 70%); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero .display { max-width: 16ch; margin-bottom: 26px; font-size: clamp(2.4rem, 5.4vw, 5rem); }
.page-hero .lead { max-width: 58ch; }
.crumbs { display: flex; gap: 12px; align-items: center; font: 500 .66rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-bottom: 30px; }
.crumbs a { color: var(--gold); }
.crumbs i { font-size: .6rem; opacity: .5; }

.cat-intro { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.cat-intro--single { grid-template-columns: minmax(0, 760px); }
.cat-intro .price-card { margin-bottom: 0; }
.promise { margin-top: 40px; padding: 30px 34px; border-left: 2px solid var(--gold); background: linear-gradient(90deg, rgba(205, 163, 73, .1), transparent); font: 400 italic 1.4rem/1.4 var(--serif); }

.cat-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.cat-nav a { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.cat-nav a img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.5); transition: transform 1.2s var(--ease-out), filter .6s; }
.cat-nav a span { position: absolute; inset: auto 0 0 0; padding: 22px 26px; font: 300 1.9rem/1 var(--serif); color: var(--text); display: flex; justify-content: space-between; align-items: center; }
.cat-nav a span i { font-size: .9rem; color: var(--gold); }
.cat-nav a:hover img { transform: scale(1.06); filter: brightness(.75); }
.cat-nav a.is-current { pointer-events: none; outline: 1px solid var(--gold); outline-offset: -1px; }
.cat-nav a.is-current span i { display: none; }
.cat-nav a.is-current span::after { content: "Aktuell"; font: 500 .6rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }

.legal { padding: clamp(60px, 8vw, 110px) 0 clamp(80px, 10vw, 140px); }
.legal .wrap--narrow { color: #d4ccbf; font-size: .98rem; }
.legal h1 { font-size: clamp(2rem, 3.6vw, 3rem); margin: 1.6em 0 .6em; color: var(--text); }
.legal h1:first-child { margin-top: 0; }
.legal h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin: 2em 0 .7em; padding-top: 1.2em; border-top: 1px solid var(--line); color: var(--gold-hi); }
.legal h3 { font-size: 1.45rem; margin: 1.6em 0 .5em; }
.legal h4 { font: 600 .78rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; margin: 1.6em 0 .6em; color: var(--text); }
.legal a { word-break: break-word; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }
.legal .w3-col, .legal .w3-row-padding { width: 100%; float: none; padding: 0; }
.legal .address { font: 400 1.35rem/1.6 var(--serif); color: var(--text); padding: 26px 30px; border: 1px solid var(--line); background: var(--ink-3); margin-bottom: 1.4em; }

.empty-state { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav-h) + 60px) 24px 80px; position: relative; overflow: hidden; }
.empty-state::before { content: ""; position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; background: radial-gradient(circle, rgba(205, 163, 73, .14), transparent 60%); }
.empty-state > div { position: relative; max-width: 640px; }
.empty-state .logo-mark { width: 84px; margin: 0 auto 30px; }

/* ---------- Schriften-Vorschau (sites/schriften.htm) ---------- */
.fontlab { --fl-size: 44px; padding-top: 12px; }
.fontlab__bar {
  position: sticky; top: calc(var(--nav-h) + 12px); z-index: 20; display: grid; grid-template-columns: 1fr 220px; gap: 16px 28px; align-items: start;
  padding: 20px 24px; background: rgba(27, 24, 20, .94); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 18px 50px rgba(0, 0, 0, .45); transition: top .5s var(--ease);
}
body:has(.nav.is-hidden) .fontlab__bar { top: 12px; }
.fontlab__bar label { display: block; font: 500 .66rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.fontlab__input textarea {
  display: block; width: 100%; min-height: 52px; max-height: 160px; padding: 12px 16px; resize: none; overflow: hidden;
  background: #fff; color: #111; border: 1px solid transparent; border-radius: 0; font: 400 1.15rem/1.5 var(--sans); outline: none;
}
.fontlab__input textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(205, 163, 73, .3); }
.fontlab__input textarea::placeholder { color: #9a948a; }
.fontlab__size input { width: 100%; height: 52px; margin: 0; accent-color: var(--gold); cursor: pointer; }
.fontlab__filter { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid rgba(236, 230, 220, .25); background: transparent; color: var(--text);
  font: 500 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; white-space: nowrap; transition: all .3s var(--ease); }
.chip span { font-size: .62rem; letter-spacing: 0; color: var(--muted); }
.chip:hover { border-color: var(--gold); color: var(--gold-hi); }
.chip.is-active { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.chip.is-active span { color: rgba(11, 10, 9, .65); }
.fontlab__count { margin: 26px 0 14px; font: 500 .66rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.fontlab__list { display: grid; gap: 12px; }
.fontcard { background: #fff; color: #000; min-width: 0; }
.fontcard[hidden] { display: none; }
.fontcard__head { display: flex; align-items: center; gap: 12px; padding: 12px 20px 0; font: 500 .7rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #6b665d; }
.fontcard__name { font-weight: 600; color: #1b1814; }
.fontcard__style { padding: 2px 8px; border: 1px solid #d9d4ca; font-size: .6rem; }
.fontcard__copy { margin-left: auto; padding: 4px 0; border: 0; background: none; color: #6b665d; font: inherit; cursor: pointer; opacity: 0; transition: opacity .3s, color .3s; }
.fontcard:hover .fontcard__copy, .fontcard__copy:focus-visible { opacity: 1; }
.fontcard__copy:hover { color: #8d6b25; }
.fontcard__sample { margin: 0; padding: 10px 20px 22px; font-size: var(--fl-size); line-height: 1.3; color: #000; white-space: pre-wrap; overflow-wrap: anywhere; opacity: 0; transition: opacity .4s var(--ease); }
.fontcard.is-ready .fontcard__sample { opacity: 1; }
/* Vorschau soll die Schrift unverfälscht zeigen (globale Versalziffern-Regel hier aufheben) */
.fontcard__sample { font-variant-numeric: normal !important; }
.fontlab__empty { padding: 40px 0; text-align: center; color: var(--muted); }
.fontlab__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: clamp(40px, 6vw, 70px); padding: 28px 32px; border: 1px solid var(--line); background: linear-gradient(120deg, rgba(205, 163, 73, .08), transparent 50%); }
.fontlab__cta p { margin: 0; font: 400 italic 1.4rem/1.4 var(--serif); }
@media (hover: none) { .fontcard__copy { opacity: 1; } }
@media (max-width: 600px) {
  .fontlab__bar { grid-template-columns: 1fr; gap: 10px; padding: 14px; top: calc(var(--nav-h) + 6px); margin-inline: -12px; }
  .fontlab__bar label { margin-bottom: 6px; }
  .fontlab__size { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; }
  .fontlab__size label { margin: 0; }
  .fontlab__size input { height: 28px; }
  .fontlab__filter { flex-wrap: nowrap; overflow-x: auto; margin-inline: -14px; padding-inline: 14px; scrollbar-width: none; }
  .fontlab__filter::-webkit-scrollbar { display: none; }
  .fontcard__head { padding: 10px 14px 0; flex-wrap: wrap; }
  .fontcard__sample { padding: 8px 14px 16px; }
  .fontlab__cta { padding: 22px; }
}

/* ---------- w3.css overrides ---------- */
.w3-row-padding > .w3-col { padding: 0; }
.about > *, .pricing > *, .contact > *, .cat-intro > *, .section-head > * { min-width: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .steps::before, .steps__beam { top: 30px; bottom: 30px; left: 29px; right: auto; width: 1px; height: auto; }
  .steps__beam { transform: scaleY(0); transform-origin: 50% 0; }
  .steps.is-in .steps__beam { transform: scaleY(1); }
  .step { display: grid; grid-template-columns: 58px 1fr; gap: 0 26px; padding: 0; }
  .step__dot { margin: 0; grid-row: span 3; }
  .b2b { grid-template-columns: auto 1fr; }
  .b2b .btn { grid-column: 1 / -1; justify-self: start; }
  .cards { --per: var(--c4, 4); }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (hover: none) {
  .card p { max-height: none; opacity: 1; margin-top: 4px; -webkit-line-clamp: 4; }
  .card .card__bar { width: 60px; }
  .card::after { background: linear-gradient(180deg, rgba(11, 10, 9, .15) 10%, rgba(11, 10, 9, .95) 85%); }
}
@media (max-width: 900px) {
  .about, .pricing, .contact, .cat-intro { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; }
  .pricing__intro { position: static; }
  .cards { --per: var(--c3, 3); }
  .gallery, .gallery--3 { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; }
  .gallery--3 { grid-template-columns: 1fr; grid-auto-rows: 78vw; }
  .tile .tile__cap { transform: none; font-size: .95rem; padding: 30px 14px 12px; }
  .cat-nav { grid-template-columns: 1fr; }
  .hero__credit { display: none; }
}
@media (max-width: 600px) {
  :root { --nav-h: 66px; }
  .nav__logo img { height: 36px; }
  .hero { min-height: 600px; min-height: max(600px, 100svh); }
  .hero__media img { object-position: 82% 60%; }
  .hero__shade { background: linear-gradient(0deg, var(--ink) 6%, rgba(11, 10, 9, .78) 48%, rgba(11, 10, 9, .5) 100%); }
  .hero__content { align-self: end; padding-bottom: 28px; }
  .letterbox::after { height: 4vh; }
  .hero__meta { padding-bottom: calc(4vh + 20px); }
  .cards { --per: var(--c2, 2); }
  .b2b { grid-template-columns: 1fr; }
  .b2b__icon { width: 56px; height: 56px; font-size: 1.2rem; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
  .stats strong { font-size: 1.9rem; }
  .stats span { font-size: .64rem; }
  .tile--wide, .tile--big { grid-column: span 2; }
  .tile .tile__cap { display: none; }
  .tile--big { grid-row: span 2; }
  .field label { white-space: nowrap; }
  .upload__btn { letter-spacing: .12em; padding: 14px 16px; }
  .field input:focus + label, .field input:not(:placeholder-shown) + label,
  .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { letter-spacing: .08em; }
  .lightbox__stage { padding: 70px 12px 0; }
  .lb-prev, .lb-next { top: auto; bottom: -76px; transform: none; width: 46px; height: 46px; }
  .lb-prev { left: auto; right: 74px; }
  .lb-next { right: 18px; }
  .lightbox__bar { padding-right: 130px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer__contact { order: 5; grid-column: 1 / -1; }
  .btn { padding: 16px 26px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-img, .fade-up, .line > span { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
  .grain { display: none; }
}
