/* ===== Gassmann PDF-Katalog · Viewer ===== */
:root {
  --ink: #14171a;
  --ink-2: #1e2328;
  --ink-3: #2a3037;
  --paper: #f7f4ef;
  --paper-2: #efe9df;
  --card: #ffffff;
  --gold: #c89b3c;
  --gold-soft: #e3c77e;
  --gold-dark: #a97f28;
  --muted: #6f7781;
  --line: #e6e0d6;
  --shadow: 0 26px 60px -28px rgba(20, 23, 26, 0.45);
  --font-sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0; }
svg { display: block; }

.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
section[id] { scroll-margin-top: 76px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
.site-header.scrolled {
  background: rgba(20, 23, 26, 0.93);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.6);
}
.header-inner { display: flex; align-items: center; gap: 22px; height: 76px; }
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  padding: 6px 12px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 24px -16px rgba(0, 0, 0, 0.65);
}
.brand-logo {
  height: 26px;
  width: auto;
  max-width: none;
  transition: opacity 0.2s ease;
}
.brand:hover .brand-logo { opacity: 0.82; }
.domain-chip {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-soft);
  border: 1px solid rgba(200, 155, 60, 0.4);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.main-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.main-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}
.main-nav a:hover { color: #fff; }
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(200, 155, 60, 0.55);
  color: var(--gold-soft);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, color 0.2s ease;
}
.header-cta:hover { background: var(--gold); color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(18, 21, 24, 0.97) 0%, rgba(18, 21, 24, 0.9) 46%, rgba(18, 21, 24, 0.62) 100%),
    linear-gradient(0deg, rgba(18, 21, 24, 0.95), rgba(18, 21, 24, 0.35)),
    url("images/iveco.jpg") center / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 70% at 82% 18%, rgba(200, 155, 60, 0.2), transparent 62%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  padding: 140px 0 80px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  letter-spacing: -0.015em;
  margin: 22px 0 0;
}
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero-lead { max-width: 46ch; margin-top: 20px; color: rgba(255, 255, 255, 0.7); font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 32px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 30px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.book { position: relative; width: min(330px, 70vw); aspect-ratio: 1 / 1.414; }
.book img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.8);
}
.book-back { transform: rotate(6deg) translate(20px, 16px); filter: brightness(0.72) saturate(0.9); }
.book-front { transform: rotate(-3deg); border: 1px solid rgba(255, 255, 255, 0.16); }
.book-badge {
  position: absolute;
  left: -18px;
  bottom: 34px;
  z-index: 3;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.7);
}
.book-badge b { font-size: 28px; line-height: 1; letter-spacing: -0.02em; }
.book-badge span { font-size: 8.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 4px; }

/* ---------- Viewer ---------- */
.viewer-section { padding: 92px 0 100px; background: var(--paper); }
.viewer-section .container { width: min(1240px, calc(100% - 48px)); }
.section-head { max-width: 620px; margin-bottom: 38px; }
.section-head .eyebrow { color: var(--gold-dark); }
.section-head .eyebrow::before { background: var(--gold-dark); }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-top: 14px;
}
.section-head h2 em { color: var(--gold-dark); font-style: italic; }
.section-head p { color: var(--muted); font-size: 14.5px; margin-top: 14px; }

.viewer { position: relative; }
.stage {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  align-items: center;
  gap: 16px;
  padding: 28px 30px;
  border-radius: 26px;
  background:
    radial-gradient(80% 90% at 50% 0%, rgba(200, 155, 60, 0.12), transparent 60%),
    var(--ink);
  box-shadow: var(--shadow);
}
.page-frame {
  position: relative;
  display: block;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  aspect-ratio: 1 / 1.414;
  padding: 0;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.6);
  cursor: zoom-in;
}
.page-frame::after {
  content: "Vergrößern";
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(20, 23, 26, 0.82);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.page-frame:hover::after,
.page-frame:focus-visible::after { opacity: 1; transform: none; }
.page-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.28s ease;
}
.page-frame img.loaded { opacity: 1; }
.stage-hint {
  position: absolute;
  right: 18px;
  bottom: 14px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(200, 155, 60, 0.45);
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold-soft);
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}
.nav-btn:hover:not(:disabled) { background: var(--gold); color: var(--ink); transform: scale(1.05); }
.nav-btn:disabled { opacity: 0.25; cursor: default; }
.nav-btn svg { width: 18px; height: 18px; }

.viewer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 18px 4px 0;
}
.page-counter {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.viewer-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.mini-btn:hover { background: transparent; color: var(--ink); }
.mini-btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.mini-btn.ghost:hover { border-color: var(--ink); }

.thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 88px;
  gap: 12px;
  margin-top: 22px;
  padding: 4px 2px 10px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.thumb {
  position: relative;
  width: 88px;
  aspect-ratio: 1 / 1.414;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  opacity: 0.55;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  flex: none;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 0.9; transform: translateY(-2px); }
.thumb.active { opacity: 1; border-color: var(--gold); box-shadow: 0 8px 20px -10px rgba(20, 23, 26, 0.5); }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.contact::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  top: -220px;
  background: radial-gradient(circle, rgba(200, 155, 60, 0.22), transparent 65%);
}
.contact-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  padding: 84px 0;
  align-items: center;
}
.contact h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 4vw, 3rem); margin-top: 16px; }
.contact h2 em { color: var(--gold-soft); font-style: italic; }
.contact-lead { color: rgba(255, 255, 255, 0.66); margin-top: 16px; max-width: 44ch; font-size: 15px; }
.contact-domains { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.contact-domains span {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-soft);
  border: 1px solid rgba(200, 155, 60, 0.35);
  border-radius: 999px;
  padding: 7px 14px;
}
.contact-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 26px 30px;
  backdrop-filter: blur(10px);
}
.contact-row { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.contact-row:last-child { border-bottom: 0; }
.contact-row .ico {
  flex: 0 0 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(200, 155, 60, 0.14);
  border: 1px solid rgba(200, 155, 60, 0.35);
  display: grid;
  place-items: center;
  color: var(--gold-soft);
}
.contact-row .ico svg { width: 14px; height: 14px; }
.contact-row small { display: block; font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.contact-row b { font-size: 14px; font-weight: 600; color: #fff; }
.contact-row a:hover { color: var(--gold-soft); }

/* ---------- Footer ---------- */
.site-footer { background: #0f1113; color: rgba(255, 255, 255, 0.55); font-size: 12.5px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding: 50px 0 36px; }
.site-footer h4 { color: #fff; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer p { margin-bottom: 6px; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-logo {
  height: 26px;
  width: auto;
  max-width: none;
  margin-bottom: 16px;
  padding: 7px 12px;
  background: #fff;
  border-radius: 10px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  font-size: 11px;
}
.to-top { display: inline-flex; align-items: center; gap: 7px; color: var(--gold-soft); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(8, 10, 12, 0.96);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-scroll {
  position: absolute;
  inset: 0;
  overflow: auto;
  padding: 64px 72px 56px;
  -webkit-overflow-scrolling: touch;
}
.lightbox img {
  display: block;
  width: 1080px;
  max-width: none;
  height: auto;
  margin: 0 auto;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
}
.lb-tools {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(20, 23, 26, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}
.lb-tools button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 17px;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease;
}
.lb-tools button:hover:not(:disabled) { background: var(--gold); color: var(--ink); }
.lb-tools button:disabled { opacity: 0.3; cursor: default; }
.lb-tools span {
  min-width: 48px;
  text-align: center;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.8);
}
.lb-hint {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}
.lb-close {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.lb-close:hover { background: var(--gold); color: var(--ink); }
.lb-close svg { width: 16px; height: 16px; }
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(20, 23, 26, 0.82);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.lb-nav:hover { background: var(--gold); color: var(--ink); }
.lb-nav.prev { left: 14px; }
.lb-nav.next { right: 14px; }
.lb-nav svg { width: 17px; height: 17px; }
.lb-counter {
  position: absolute;
  top: 22px;
  left: 20px;
  z-index: 4;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 46px; text-align: left; padding-top: 120px; }
  .hero-visual { justify-content: flex-start; padding-left: 10px; }
  .book { width: min(270px, 62vw); }
  .contact-inner { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 36px); }
  .main-nav { display: none; }
  .domain-chip { display: none; }
  .brand { padding: 5px 10px; }
  .brand-logo { height: 20px; }
  .footer-logo { height: 20px; }
  .header-inner { justify-content: space-between; }
  .header-cta span { display: none; }
  .hero { min-height: auto; }
  .hero-inner { padding: 120px 0 70px; }
  .book { width: min(230px, 58vw); }
  .book-badge { width: 86px; height: 86px; left: -12px; bottom: 22px; }
  .book-badge b { font-size: 23px; }
  .viewer-section { padding: 70px 0 76px; }
  .stage { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 8px; padding: 14px; border-radius: 18px; }
  .nav-btn { width: 40px; height: 40px; }
  .stage-hint { display: none; }
  .viewer-bar { justify-content: center; }
  .thumbs { grid-auto-columns: 62px; }
  .thumb { width: 62px; }
  .contact-inner { padding: 64px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 26px; padding: 38px 0 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .lb-scroll { padding: 58px 10px 46px; }
  .lightbox img { width: 94vw; }
  .lb-tools { top: 10px; }
  .lb-close { top: 10px; right: 10px; }
  .lb-counter { top: 18px; left: 12px; }
  .lb-nav { width: 38px; height: 38px; }
  .lb-nav.prev { left: 6px; }
  .lb-nav.next { right: 6px; }
  .lb-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .page-frame img { transition: none; }
  .btn, .nav-btn, .thumb, .book img { transition: none; }
}
