/* ============================================================
   SA WERBUNG — Design System
   Based on the approved reference layout (Richtung 4 final)
   Fonts: Montserrat 700-900 (display) + Inter 300-700 (body)
   Palette: warm cream surfaces, burgundy accent, warm grays
   ============================================================ */

/* Fonts werden lokal via /assets/fonts/fonts.css geladen (im <head> jeder Seite) */

/* --- TOKENS --- */
:root {
  --primary: #b7102a;
  --primary-dark: #8d0f23;
  --primary-number: #7b1725;
  --surface: #fcf9f8;
  --surface-2: #f4efee;
  --surface-3: #ece6e5;
  --surface-dark: #151313;
  --white: #ffffff;
  --text: #171515;
  --text-soft: #695958;
  --text-inverse: #f7f2f1;
  --text-footer: #9b8b89;
  --line: #e4bebc;
  --line-soft: rgba(183,16,42,.18);
  --line-border: rgba(228,190,188,.45);
  --shadow: 0 18px 40px rgba(23,21,21,.08);
  --container: min(calc(100% - 2rem), 1440px);
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button, input, textarea, select { font: inherit; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- LAYOUT --- */
.container { width: var(--container); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* --- TYPOGRAPHY --- */
.headline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.03em;
  line-height: .95;
}
.eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 10px;
}

/* --- SKIP LINK --- */
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 999; background: var(--primary); color: #fff; padding: .75rem 1rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(252,249,248,.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(228,190,188,.35);
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.site-header.hidden { transform: translateY(-100%); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.15rem 0;
}
.brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900; text-transform: uppercase;
  letter-spacing: -.04em; font-size: 1.2rem;
  color: var(--text);
  display: inline-flex; align-items: center; gap: .65rem;
  text-decoration: none;
}
.brand-mark {
  width: 34px; height: 34px; border-radius: 50%;
  background-image: url('./assets/logo-sa-180.png');
  background-size: cover; background-position: center;
  background-color: #1e1c1c;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.brand-mark--footer {
  width: 28px; height: 28px;
}
.brand-word { display: inline-block; line-height: 1; }
.nav { display: flex; gap: 3rem; align-items: center; }
.nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .24em;
  color: rgba(23,21,21,.62);
  transition: color .2s;
}
.nav a:hover, .nav a.active { color: var(--primary); }

.menu-btn {
  display: none; background: none; border: none;
  width: 44px; height: 44px;
  font-size: 1.4rem; color: var(--text); cursor: pointer;
}

/* Mobile nav overlay */
.mobile-nav-overlay {
  display: none; position: fixed; inset: 0; z-index: 49;
  background: rgba(252,249,248,.98);
  backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem;
}
.mobile-nav-overlay.open { display: flex; }
.mobile-nav-overlay a {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 900; text-transform: uppercase;
  letter-spacing: -.02em; color: var(--text);
  transition: color .2s;
}
.mobile-nav-overlay a:hover, .mobile-nav-overlay a.active { color: var(--primary); }

@media (max-width: 980px) {
  .nav { display: none; }
  .menu-btn { display: flex; align-items: center; justify-content: center; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 6.5rem; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1fr 1fr;
  opacity: .1; filter: grayscale(1); transform: scale(1.06);
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero .content { position: relative; z-index: 1; padding: 2rem 0 4rem; }
.hero h1 { font-size: clamp(3.6rem, 10vw, 9.5rem); max-width: 10.5ch; margin: 0 0 2.25rem; }
.hero-side { max-width: 39rem; margin-left: auto; }
.hero-side p {
  font-size: clamp(1.12rem, 2vw, 1.9rem);
  line-height: 1.55; font-weight: 300;
  color: var(--text-soft); margin: 0 0 2.5rem;
}
.hero-meta {
  margin-top: 1.5rem; font-size: .85rem;
  color: var(--text-soft);
  letter-spacing: .02em; font-weight: 400;
  max-width: 32rem;
}

/* Hero variant for subpages */
.hero--sub {
  min-height: auto;
  padding: 10rem 0 5rem;
}
.hero--sub h1 {
  font-size: clamp(3rem, 8vw, 7.5rem);
  max-width: 14ch;
  margin: 0 0 1.5rem;
}
.hero--sub .hero-intro {
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  line-height: 1.7; font-weight: 300;
  color: var(--text-soft); max-width: 48rem;
  margin: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 58px; padding: 0 2rem; border: none; cursor: pointer;
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 11px;
  text-transform: uppercase; letter-spacing: .22em;
  transition: .22s ease;
}
.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 12px 24px rgba(183,16,42,.18);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  border-bottom: 2px solid var(--primary);
  color: var(--text);
}
.btn-secondary:hover { background: rgba(183,16,42,.04); }
.btn-outline-light {
  background: transparent;
  border: 1px solid rgba(247,242,241,.3);
  color: var(--text-inverse);
}
.btn-outline-light:hover {
  background: rgba(247,242,241,.1);
  border-color: rgba(247,242,241,.5);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 8rem 0; }
.section-head {
  display: flex; justify-content: space-between;
  align-items: flex-end; gap: 2rem; margin-bottom: 4rem;
}
.section-head h2 { font-size: clamp(3.4rem, 10vw, 9rem); margin: 0; }
.section-link {
  font-family: 'Montserrat', sans-serif;
  font-size: .82rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .18em;
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  padding-bottom: .45rem;
  white-space: nowrap;
  transition: opacity .2s;
}
.section-link:hover { opacity: .75; }

/* ============================================================
   GHOST TITLE + EXPERTISE / STORY BLOCKS (Leistungen)
   ============================================================ */
.ghost-title {
  font-size: clamp(3.4rem, 10vw, 10rem);
  opacity: .1; position: sticky; top: 7rem;
  margin: 0 0 4rem;
}
.expertise-list { display: grid; gap: 7rem; margin-top: -1rem; }
.story-block {
  min-height: 66vh; display: flex;
  flex-direction: column; justify-content: center;
  max-width: 60rem;
}
.story-left { border-left: 4px solid var(--primary); padding-left: 2rem; }
.story-right {
  border-right: 4px solid var(--primary);
  padding-right: 2rem; margin-left: auto;
  text-align: right; align-items: flex-end;
}
.story-block h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900; line-height: 1;
  text-transform: uppercase; letter-spacing: -.02em;
  margin: 0 0 1.25rem;
}
.story-block p {
  font-size: clamp(1.03rem, 1.9vw, 1.55rem);
  line-height: 1.85; font-weight: 300;
  color: var(--text-soft); max-width: 39rem; margin: 0;
}
/* Story block with sub-list for detail pages */
.story-block .detail-list {
  list-style: none; padding: 0; margin: 1.5rem 0 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px,100%),1fr));
  gap: .4rem 2rem;
}
.story-block .detail-list li {
  font-size: .95rem; padding: .55rem 0;
  padding-left: 1.2rem; position: relative;
  color: var(--text-soft); font-weight: 400;
}
.story-block .detail-list li::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 6px; height: 1.5px; background: var(--primary);
}
.story-right .detail-list li { padding-left: 0; padding-right: 1.2rem; text-align: left; }
.story-right .detail-list li::before { left: auto; right: 0; }

/* ============================================================
   REFERENCES — Horizontal List
   ============================================================ */
.references { background: var(--white); padding: 8rem 0 9rem; }
.ref-list { display: grid; gap: 2rem; }
.ref-item {
  display: grid; grid-template-columns: 280px minmax(0,1fr);
  gap: 2.5rem; align-items: center;
  padding: 2rem 0;
  border-top: 1px solid var(--line-border);
}
.ref-item:last-child { border-bottom: 1px solid var(--line-border); }
.ref-media { background: #1a1717; overflow: hidden; aspect-ratio: 16/11; }
.ref-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.ref-copy h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.9rem);
  font-weight: 900; text-transform: uppercase;
  letter-spacing: -.02em; line-height: 1;
  margin: 0 0 .8rem;
}
.ref-copy .ref-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .2em;
  color: var(--primary); margin-bottom: .5rem;
  display: block;
}
.ref-copy p {
  max-width: 31rem; font-size: 1rem;
  line-height: 1.75; font-weight: 300;
  color: var(--text-soft); margin: 0;
}

/* ============================================================
   WHY / DARK SECTION
   ============================================================ */
.why { background: var(--surface-dark); color: var(--text-inverse); padding: 8rem 0; }
.why h2 { font-size: clamp(3.4rem, 10vw, 8.5rem); margin: 0 0 3.5rem; }
.why-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 2.5rem 3rem;
}
.why-item { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.why-number {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 900; color: var(--primary-number); line-height: 1;
}
.why-item h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: -.01em;
  margin: .15rem 0 .65rem;
}
.why-item p { margin: 0; font-size: 1rem; line-height: 1.75; color: rgba(247,242,241,.74); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding: 7rem 0 8rem; background: linear-gradient(180deg, var(--surface) 0%, #f7f1f0 100%); }
.contact-wrap {
  display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  gap: 3rem; align-items: start;
}
.contact-copy h2 { font-size: clamp(3.6rem, 10vw, 8rem); max-width: 8.5ch; margin: 0 0 1.5rem; }
.contact-copy p {
  max-width: 38rem; font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.8; color: var(--text-soft); font-weight: 300; margin: 0 0 2rem;
}
.trust-list { display: grid; gap: .9rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.trust-list li {
  padding: .95rem 0; border-top: 1px solid rgba(228,190,188,.55);
  font-size: .98rem; color: var(--text-soft);
}
.trust-list li:last-child { border-bottom: 1px solid rgba(228,190,188,.55); }
.contact-meta { display: grid; gap: .4rem; font-size: .98rem; color: var(--text-soft); }
.contact-meta strong { color: var(--text); }
.contact-meta a { transition: color .2s; }
.contact-meta a:hover { color: var(--primary); }

.contact-card {
  background: #fff; border: 1px solid rgba(228,190,188,.55);
  padding: 1.4rem; box-shadow: var(--shadow);
}
.contact-card .eyebrow { color: var(--primary); margin-bottom: 1rem; display: block; }
.contact-card form { display: grid; gap: 1rem; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-card label {
  display: grid; gap: .45rem; font-size: .84rem;
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  text-transform: uppercase; letter-spacing: .16em; color: var(--text);
}
.contact-card input,
.contact-card select,
.contact-card textarea {
  width: 100%; border: none;
  border-bottom: 1px solid rgba(23,21,21,.2);
  background: transparent; padding: .9rem 0;
  color: var(--text); outline: none; border-radius: 0;
  transition: border-color .2s;
}
.contact-card input:focus,
.contact-card select:focus,
.contact-card textarea:focus { border-color: var(--primary); }
.contact-card textarea { min-height: 150px; resize: vertical; }
.contact-card .btn { width: 100%; margin-top: .25rem; }
.form-note { font-size: .92rem; color: var(--text-soft); line-height: 1.7; margin-top: .2rem; }

/* ============================================================
   PROCESS STEPS (for subpages)
   ============================================================ */
.process-section { padding: 6rem 0; background: var(--surface-2); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px,100%),1fr));
  gap: 3rem; counter-reset: step;
}
.process-step {
  counter-increment: step;
  padding-top: 1.5rem;
  border-top: 3px solid var(--primary);
}
.process-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: 'Montserrat', sans-serif;
  font-size: .75rem; font-weight: 800;
  letter-spacing: .15em; color: var(--primary);
  display: block; margin-bottom: .75rem;
}
.process-step h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: -.02em;
  margin-bottom: .6rem;
}
.process-step p { font-size: .95rem; line-height: 1.75; color: var(--text-soft); }

/* ============================================================
   STATS
   ============================================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(160px,100%),1fr));
  gap: 3rem; padding: 5rem 0;
  border-top: 1px solid var(--line-border);
  border-bottom: 1px solid var(--line-border);
}
.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900; line-height: 1; letter-spacing: -.04em;
  margin-bottom: .5rem;
}
.stat-label {
  font-family: 'Montserrat', sans-serif;
  font-size: .7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .18em;
  color: var(--text-soft);
}

/* ============================================================
   ABOUT — Two Column
   ============================================================ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: start;
}
.about-grid h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900; text-transform: uppercase;
  letter-spacing: -.02em; line-height: 1;
  margin: 0 0 1.2rem;
}
.about-grid p {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.85; font-weight: 300;
  color: var(--text-soft); margin: 0 0 1.2rem;
}

/* ============================================================
   LEGAL
   ============================================================ */
.legal-section { padding: 10rem 0 5rem; }
.legal-section h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900; text-transform: uppercase;
  letter-spacing: -.05em; line-height: .88;
  margin: 0 0 3rem;
}
.legal-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: -.02em;
  margin: 2.5rem 0 1rem;
}
.legal-section p, .legal-section li {
  max-width: 48rem; color: var(--text-soft);
  line-height: 1.8; font-size: .98rem; margin-bottom: .8rem;
}
.legal-section ul, .legal-section ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-section a { color: var(--primary); transition: opacity .2s; }
.legal-section a:hover { opacity: .7; }

/* Legal accordion on home (optional) */
.legal-accordion { padding: 0 0 3rem; }
.legal-accordion details { border-top: 1px solid var(--line-border); padding: 1rem 0; }
.legal-accordion summary {
  cursor: pointer; font-family: 'Montserrat', sans-serif;
  font-size: .8rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .18em;
}
.legal-accordion p { max-width: 48rem; color: var(--text-soft); line-height: 1.8; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 48rem; }
.faq-item { border-top: 1px solid var(--line-border); }
.faq-item:last-child { border-bottom: 1px solid var(--line-border); }
.faq-q {
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
  padding: 1.1rem 0; background: none; border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: .95rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: -.01em;
  text-align: left; cursor: pointer; color: var(--text);
}
.faq-q svg {
  flex-shrink: 0; width: 16px; height: 16px;
  transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s cubic-bezier(.16,1,.3,1);
}
.faq-item.open .faq-a { max-height: 500px; padding-bottom: 1rem; }
.faq-a p { font-size: .95rem; line-height: 1.75; color: var(--text-soft); }

/* ============================================================
   REFERENZEN CARD GRID
   ============================================================ */
.filter-btn {
  padding: .55rem 1.25rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .2em;
  border: none; cursor: pointer;
  background: var(--surface-2); color: var(--text-soft);
  transition: all .2s;
}
.filter-btn:hover { background: var(--surface-3); }
.filter-btn.active { background: var(--primary); color: #fff; }

.ref-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 980px) { .ref-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ref-card-grid { grid-template-columns: 1fr; } }

.ref-card { cursor: pointer; }
.ref-card__media {
  position: relative; background: #1a1717;
  margin-bottom: 1.25rem; overflow: hidden;
  aspect-ratio: 16/11;
}
.ref-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .5s;
}
.ref-card:hover .ref-card__media img {
  transform: scale(1.02);
}
.ref-card__link {
  display: inline-block;
  margin-top: .75rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color .2s;
}
.ref-card__link:hover { border-bottom-color: var(--primary); }
.ref-card__icons {
  position: absolute; top: .75rem; left: .75rem;
  display: flex; gap: .4rem;
}
.ref-card__icons > div {
  width: 28px; height: 28px; background: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.ref-card__meta {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: .6rem;
}
.ref-card__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900; font-size: 1.15rem;
  text-transform: uppercase; letter-spacing: -.02em;
  margin-bottom: .6rem;
  transition: color .2s;
}
.ref-card:hover .ref-card__title { color: var(--primary); }
.ref-card__desc {
  font-size: .9rem; line-height: 1.65; color: var(--text-soft);
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.ref-card.hidden { display: none; }

/* ============================================================
   PARTNER / LOGO BAR
   ============================================================ */
.partners { padding: 5rem 0; border-top: 1px solid var(--line-border); }
.partners-head { margin-bottom: 3rem; }
.partners-head .eyebrow { color: var(--primary); display: block; margin-bottom: .8rem; }
.partners-head p { font-size: 1rem; line-height: 1.7; color: var(--text-soft); max-width: 40rem; }
.partner-grid {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 2.5rem 3.5rem;
}
.partner-logo {
  height: 32px; opacity: .45;
  filter: grayscale(1);
  transition: opacity .3s, filter .3s;
}
.partner-logo:hover {
  opacity: .85; filter: grayscale(0);
}
/* ============================================================
   COOKIE BANNER (DSGVO)
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 200;
  background: var(--surface-dark);
  color: var(--text-inverse);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  border: 1px solid rgba(247,242,241,.08);
  transform: translateY(140%);
  opacity: 0;
  transition: transform .5s cubic-bezier(.16,1,.3,1), opacity .4s;
  max-width: 780px;
  margin: 0 auto;
}
.cookie-banner--visible { transform: translateY(0); opacity: 1; }
.cookie-banner--hidden { transform: translateY(140%); opacity: 0; }
.cookie-banner__inner {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
}
.cookie-banner__text {
  font-size: .9rem;
  line-height: 1.6;
  color: rgba(247,242,241,.85);
}
.cookie-banner__text strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: .3rem;
  color: var(--text-inverse);
}
.cookie-banner__text a {
  color: var(--text-inverse);
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-underline-offset: 3px;
}
.cookie-banner__text a:hover { color: var(--primary); }
.cookie-banner__btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: .95rem 1.75rem;
  border: none;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
.cookie-banner__btn--primary {
  background: var(--primary); color: #fff;
}
.cookie-banner__btn--primary:hover { background: var(--primary-dark); }
@media (max-width: 720px) {
  .cookie-banner__inner {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem 1.25rem;
  }
  .cookie-banner__btn { width: 100%; }
  .cookie-banner__text { font-size: .85rem; }
}

/* ============================================================
   FOOTER CREDIT LINE
   ============================================================ */
.footer-credit {
  text-align: center;
  padding: 1.5rem 0 .5rem;
  border-top: 1px solid var(--line-border);
  margin-top: 1.5rem;
  font-size: .78rem;
  color: var(--text-footer);
  letter-spacing: .02em;
}
.footer-credit a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line-border);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}
.footer-credit a:hover {
  color: var(--primary);
  border-color: var(--primary);
}

/* ============================================================
   ACCESSIBILITY FOCUS STATES
   ============================================================ */
*:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 2px;
}
.btn:focus-visible,
.filter-btn:focus-visible,
.cookie-banner__btn:focus-visible {
  outline-offset: 4px;
}

/* Alpine TV teaser layout */
.alpine-teaser, .retainer-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem 3rem;
  align-items: end;
}
@media (max-width: 720px) {
  .alpine-teaser, .retainer-teaser {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .alpine-teaser .section-link,
  .retainer-teaser .section-link {
    justify-self: start !important;
    align-self: start !important;
  }
}

/* Service detail list — prominent variant */
.service-points {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 3rem;
}
.service-points li {
  font-size: .95rem; line-height: 1.55;
  padding: .75rem 0 .75rem 1.5rem;
  position: relative; color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--line-border);
}
.service-points li::before {
  content: ''; position: absolute;
  left: 0; top: 1.1rem;
  width: 8px; height: 2px;
  background: var(--primary);
}
@media (max-width: 720px) {
  .service-points { grid-template-columns: 1fr; }
}

/* Text-based logo fallback */
.partner-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--text); opacity: .35;
  transition: opacity .3s;
  white-space: nowrap;
}
.partner-text:hover { opacity: .75; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: 1.5rem 0 3rem; }
.footer-inner {
  display: flex; justify-content: space-between;
  align-items: flex-end; gap: 2rem;
  border-top: 1px solid var(--line-border);
  padding-top: 1.25rem;
}
.footer small {
  display: block; max-width: 21rem;
  color: var(--text-footer); font-size: .72rem; line-height: 1.6;
}
.footer-nav {
  display: grid; grid-template-columns: repeat(2, minmax(90px, 1fr));
  gap: .6rem 1.4rem;
}
.footer-nav a { font-size: .72rem; color: var(--text-footer); transition: color .2s; }
.footer-nav a:hover { color: var(--text); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .ref-item, .contact-wrap, .field-grid, .why-grid, .about-grid {
    grid-template-columns: 1fr;
  }
  .hero-side { margin-left: 0; max-width: 100%; }
  .story-block { min-height: auto; }
}
@media (max-width: 720px) {
  /* Prevent any horizontal scroll */
  html, body { overflow-x: hidden; max-width: 100vw; }

  .container { width: min(calc(100% - 3rem), 1440px); }
  .header-inner { padding: 1rem 0; }

  /* Hero — smaller headline, no overflow from background scale */
  .hero { min-height: auto; padding-top: 6rem; padding-bottom: 3rem; }
  .hero-bg { grid-template-columns: 1fr; transform: none; }
  .hero h1 {
    font-size: clamp(1.7rem, 8.2vw, 2.4rem);
    max-width: 100%;
    margin-bottom: 1.5rem;
    line-height: 1.02;
    letter-spacing: -.015em;
  }
  .hero-side p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }

  /* Sub hero — smaller headline */
  .hero--sub { padding: 6rem 0 3rem; }
  .hero--sub h1 {
    font-size: clamp(2.2rem, 10vw, 3rem);
    max-width: 100%;
    line-height: .95;
  }
  .hero--sub .hero-intro { font-size: .98rem; line-height: 1.65; }

  /* Sections tighter on mobile */
  .section, .references, .why, .contact { padding: 4rem 0; }
  .ghost-title { top: 5.5rem; font-size: clamp(2.5rem, 12vw, 4rem); }
  .expertise-list { gap: 3rem; }
  .story-block { max-width: 100%; }
  .story-left, .story-right {
    padding-left: 1rem;
    padding-right: 0;
    margin-left: 0;
    text-align: left;
    align-items: flex-start;
    border-right: none;
    border-left: 4px solid var(--primary);
  }
  .story-block h3 { font-size: clamp(1.5rem, 7vw, 2rem); }
  .story-block p { font-size: .98rem; line-height: 1.7; }

  /* Section headings */
  .section-head { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .section-head h2 { font-size: clamp(2.5rem, 12vw, 4rem); }
  .why h2 { font-size: clamp(2.4rem, 11vw, 3.8rem); }

  /* Contact */
  .contact-copy h2 { font-size: clamp(2.4rem, 11vw, 3.8rem); }

  /* References cards */
  .ref-item { padding: 1.5rem 0; gap: 1.25rem; }
  .ref-media img { aspect-ratio: 16/11; }
  .ref-copy h3 { font-size: 1.35rem; }

  /* Card grid on Referenzen */
  .ref-card__title { font-size: 1.05rem; }

  /* Footer + buttons */
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .btn-row .btn { width: 100%; }
  .btn { font-size: 10px; padding: 0 1.5rem; min-height: 52px; }
  .stats-row { gap: 2rem; padding: 3rem 0; }
  .process-grid { gap: 2rem; }

  /* Force all inline 2-col grids to single column on mobile */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* Force auto 1fr grids (numbered service blocks) to stack */
  [style*="grid-template-columns:auto 1fr"],
  [style*="grid-template-columns: auto 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* Service points on mobile — 1 column with more presence */
  .service-points {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .service-points li {
    font-size: .95rem;
    padding: .85rem 0 .85rem 1.25rem;
  }

  /* Contact card — less padding */
  .contact-card { padding: 1.25rem 1rem; }

  /* Filter buttons on Referenzen — smaller */
  .filter-btn { padding: .5rem .9rem; font-size: 9px; letter-spacing: .15em; }

  /* Partner grid — smaller gap, wrap nicely */
  .partner-grid { gap: 1.25rem 1.75rem; }
  .partner-text { font-size: .78rem; }

  /* Legal pages */
  .legal-section { padding: 6rem 0 3rem; }
  .legal-section h1 {
    font-size: clamp(1.65rem, 7vw, 2.4rem);
    letter-spacing: -.02em;
    line-height: 1.05;
    hyphens: auto;
    -webkit-hyphens: auto;
  }
  .legal-section h2 { font-size: 1rem; }
}

@media (max-width: 480px) {
  .container { width: min(calc(100% - 2.5rem), 1440px); }
  .brand { font-size: 1rem; }
  .nav a, .filter-btn { font-size: 9px; }
  .hero h1, .hero--sub h1 { font-size: clamp(2rem, 11vw, 2.8rem); }
  .story-block h3 { font-size: 1.4rem; }
  .why-item { grid-template-columns: 1fr; gap: .25rem; }
  .why-number { font-size: 2.25rem; }
}

/* ==== Pricing & Retainer cards ==== */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.price-card, .retainer-card {
  background: var(--surface);
  border: 1px solid var(--line-border);
  padding: 2rem 1.75rem;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: border-color .25s, transform .25s;
}
.price-card:hover, .retainer-card:hover {
  border-color: rgba(183,16,42,.35);
  transform: translateY(-2px);
}
.price-card .eyebrow, .retainer-card .eyebrow {
  color: var(--primary);
}
.price-value {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--text);
  margin: .25rem 0 .5rem;
  min-height: 2.4em;
  display: flex; align-items: center;
}
.price-card p {
  font-size: .95rem;
  line-height: 1.65;
  color: var(--text-soft);
  font-weight: 300;
  margin: 0;
}
.retainer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.retainer-card--featured {
  border: 1px solid var(--primary);
  position: relative;
}
.retainer-card--featured::before {
  content: 'Meist gewählt';
  position: absolute;
  top: -.7rem; right: 1rem;
  background: var(--primary);
  color: var(--surface);
  font-family: 'Montserrat', sans-serif;
  font-size: 9px; font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
  padding: .3rem .7rem;
}
@media (max-width: 640px) {
  .price-card, .retainer-card { padding: 1.5rem 1.25rem; }
}

/* Ref card tag badges — bottom right for web mockups so we don't cover the browser chrome */
.ref-card__tags {
  position: absolute;
  bottom: .85rem;
  right: .85rem;
  display: flex;
  gap: .4rem;
  z-index: 2;
}
.ref-card__tags span {
  background: rgba(0,0,0,.62);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  padding: .35rem .6rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.14);
}

/* =====================================================
   FLIPBOOK OVERLAY (Print-Broschüren durchblättern)
   ===================================================== */
.flipbook-overlay {
  position: fixed; inset: 0;
  background: rgba(20, 18, 18, .94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 4vh 3vw;
  gap: 1.5rem;
  overflow: hidden;
  color: #fff;
}
.flipbook-overlay[hidden] { display: none; }

.flipbook-close {
  position: absolute; top: 20px; right: 20px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s, transform .2s;
  z-index: 2;
}
.flipbook-close:hover { background: rgba(255,255,255,.12); transform: scale(1.05); }

.flipbook-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  padding-right: 3rem;
  color: #fff;
}
.flipbook-head .eyebrow {
  color: var(--primary);
  display: block; margin-bottom: .5rem;
}
.flipbook-head h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
  font-size: clamp(1.2rem, 2.4vw, 1.75rem);
  color: #fff;
  margin: 0 0 .25rem;
}
.flipbook-head p {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  margin: 0;
  font-weight: 300;
}
.flipbook-counter {
  font-family: 'SF Mono', ui-monospace, Menlo, monospace;
  font-size: 13px;
  color: rgba(255,255,255,.7);
  letter-spacing: .02em;
  white-space: nowrap;
}

.flipbook-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 0;
  position: relative;
}
.flipbook-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow:
    0 40px 80px -20px rgba(0,0,0,.7),
    0 20px 40px -10px rgba(0,0,0,.5);
  background: #fff;
  border-radius: 2px;
  transition: opacity .2s;
}

.flipbook-nav {
  width: 52px; height: 52px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s, transform .2s, opacity .2s;
}
.flipbook-nav:hover:not(:disabled) { background: rgba(255,255,255,.14); }
.flipbook-nav:disabled { opacity: .25; cursor: not-allowed; }

.flipbook-thumbs {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding: .5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.2) transparent;
  justify-content: center;
  flex-wrap: nowrap;
}
.flipbook-thumbs::-webkit-scrollbar { height: 8px; }
.flipbook-thumbs::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 4px; }

.flipbook-thumb {
  flex: 0 0 auto;
  width: 56px;
  height: 78px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.flipbook-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.flipbook-thumb:hover { border-color: rgba(255,255,255,.35); }
.flipbook-thumb.is-active {
  border-color: var(--primary);
  transform: scale(1.06);
  box-shadow: 0 4px 12px rgba(183,16,42,.4);
}

/* Flipbook trigger on print cards */
.ref-card[data-flipbook] .ref-card__media {
  position: relative;
}
.ref-card[data-flipbook] .ref-card__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.35));
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.ref-card[data-flipbook]:hover .ref-card__media::after { opacity: 1; }

button.ref-card__link {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--primary);
  margin-top: .75rem;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color .2s;
  display: inline-block;
}
button.ref-card__link:hover { border-bottom-color: var(--primary); }

@media (max-width: 720px) {
  .flipbook-overlay { padding: 2vh 3vw; }
  .flipbook-head { flex-direction: column; align-items: flex-start; gap: .5rem; padding-right: 4rem; }
  .flipbook-nav { width: 42px; height: 42px; }
  .flipbook-thumb { width: 40px; height: 56px; }
}

/* =====================================================
   VIDEO LIGHTBOX (Vimeo Embed)
   ===================================================== */
.video-overlay {
  position: fixed; inset: 0;
  background: rgba(10, 8, 8, .96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 4vh 4vw;
  gap: 1.5rem;
  overflow: hidden;
  color: #fff;
}
.video-overlay[hidden] { display: none; }

.video-head {
  display: flex;
  align-items: flex-end;
  gap: 2rem;
  padding-right: 3rem;
}
.video-head .eyebrow {
  color: var(--primary);
  display: block; margin-bottom: .5rem;
}
.video-head h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
  font-size: clamp(1.2rem, 2.4vw, 1.75rem);
  color: #fff;
  margin: 0 0 .25rem;
}
.video-head p {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  margin: 0;
  font-weight: 300;
}

.video-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
.video-stage iframe {
  width: 100%;
  max-width: 1400px;
  aspect-ratio: 16/9;
  max-height: 100%;
  border: none;
  background: #000;
  box-shadow:
    0 40px 80px -20px rgba(0,0,0,.85),
    0 20px 40px -10px rgba(0,0,0,.55);
  border-radius: 4px;
}

@media (max-width: 720px) {
  .video-overlay { padding: 2vh 3vw; }
  .video-head { flex-direction: column; align-items: flex-start; gap: .5rem; padding-right: 4rem; }
}

/* Card-Video-Hover — Play-Symbol-Anker */
.ref-card[data-video] .ref-card__media {
  position: relative;
}
.ref-card[data-video] .ref-card__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.35));
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.ref-card[data-video]:hover .ref-card__media::after { opacity: 1; }

/* Service-Leistung → Referenzen-Link */
.service-ref-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--primary);
  text-decoration: none;
  padding: .9rem 1.4rem;
  border: 1px solid var(--primary);
  transition: background .2s, color .2s;
}
.service-ref-link:hover {
  background: var(--primary);
  color: var(--surface);
}

/* Homepage ref-items als Links */
a.ref-item {
  text-decoration: none;
  color: inherit;
  transition: opacity .25s;
}
a.ref-item:hover { opacity: .78; }
a.ref-item:hover .ref-copy h3 { color: var(--primary); }

/* =====================================================
   EQUIPMENT / KAMERA-SETUP (Über uns)
   ===================================================== */
.equipment-section {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line-border);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: start;
}
.equipment-intro {
  min-width: 0;
}
.equipment-eyebrow {
  display: block;
  margin-bottom: 1rem;
  color: var(--primary) !important;
}
.equipment-headline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.02em;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin: 0 0 1rem;
  line-height: 1.05;
  color: var(--text);
}
.equipment-lead {
  font-size: .95rem;
  line-height: 1.7;
  font-weight: 300;
  color: var(--text-soft);
  margin: 0;
}
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  min-width: 0;
}
.equipment-card {
  background: var(--white);
  border: 1px solid var(--line-border);
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  transition: border-color .2s;
  min-width: 0;
}
.equipment-card:hover { border-color: var(--primary); }
.equipment-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .24em;
  color: var(--primary);
}
.equipment-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.01em;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.15;
  margin-top: .1rem;
}
.equipment-meta {
  font-size: .82rem;
  font-weight: 300;
  color: var(--text-soft);
  line-height: 1.55;
  margin: .3rem 0 0;
}

@media (max-width: 960px) {
  .equipment-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
@media (max-width: 780px) {
  .equipment-grid { grid-template-columns: 1fr; gap: .8rem; }
  .equipment-card { padding: 1.15rem 1.25rem; }
}
