/* ================================================
   GOOD AGENCY – Stylesheet
   Headlines: Inter (uppercase, heavy) · Body: Inter
   Accent: Neon yellow (good-agency.at)
   ================================================ */

/* ── CUSTOM PROPERTIES ─────────────────────────── */
:root {
  --bg:          #ffffff;
  --bg-soft:     #f4f4f5;        /* cool light grey (no beige) */
  --bg-dark:     #0b0b0b;
  --text:        #0b0b0b;
  --text-mid:    #4f4f4f;
  --text-soft:   #8c8c8c;
  --border:      #e6e6e8;

  /* Single accent — neon yellow from good-agency.at */
  --accent:      #E8FF13;
  --accent-ink:  #0b0b0b;        /* black text/icons placed on the yellow */

  --font-disp:   'Inter', system-ui, -apple-system, sans-serif;
  --font-body:   'Inter', system-ui, -apple-system, sans-serif;

  --nav-h:       4.5rem;
  --pad-x:       clamp(1.25rem, 5vw, 5rem);
  --section-py:  clamp(5rem, 10vw, 9.5rem);
  --max-w:       1440px;

  --ease:        cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out:    cubic-bezier(0.0, 0.0, 0.2, 1);
  --spring:      cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── RESET ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}
@media (hover: none) { body { cursor: auto; } }
::selection { background: var(--accent); color: var(--accent-ink); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: none; font: inherit; border: 0; background: 0; }
address { font-style: normal; }
details summary { list-style: none; }
details summary::-webkit-details-marker { display: none; }

/* ── CUSTOM CURSOR ──────────────────────────────── */
.cursor-dot, .cursor-circle {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9000;
  will-change: transform; border-radius: 50%;
}
.cursor-dot {
  width: 6px; height: 6px; background: var(--text);
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, background .2s;
}
.cursor-circle {
  width: 36px; height: 36px; border: 1.5px solid var(--text);
  transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  transition: width .35s var(--ease), height .35s var(--ease), opacity .25s, background .25s, border-color .25s;
}
.cursor-circle__g {
  font-family: var(--font-disp); font-weight: 900; font-size: 1.6rem; line-height: 1;
  color: var(--accent-ink); opacity: 0; transform: scale(.5);
  transition: opacity .2s, transform .25s var(--spring);
}
body.c-hover .cursor-dot   { width: 0; height: 0; }
body.c-hover .cursor-circle{ width: 64px; height: 64px; background: var(--accent); border-color: var(--accent); mix-blend-mode: normal; opacity: .9; }
body.c-text  .cursor-dot   { width: 2px; height: 22px; border-radius: 1px; }
body.c-text  .cursor-circle{ opacity: 0; }
/* Cases: the brand "G" cursor */
body.c-view  .cursor-dot   { width: 0; height: 0; }
body.c-view  .cursor-circle{ width: 88px; height: 88px; background: var(--accent); border-color: var(--accent); opacity: 1; }
body.c-view  .cursor-circle__g { opacity: 1; transform: scale(1); }
@media (hover: none) { .cursor-dot, .cursor-circle { display: none; } }

/* ── CONTAINER ──────────────────────────────────── */
.container { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--pad-x); }

/* ── TYPOGRAPHY: display headlines ─────────────── */
.section__h2 {
  font-family: var(--font-disp);
  /* Floor 2rem: "ZUSAMMENARBEIT"/"DIGITALISIERUNG" (unbrechbare
     .fx-Wortspans) müssen auf schmalen Screens in die Spalte passen */
  font-size: clamp(2rem, 5.8vw, 5.2rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  max-width: 90%;
  word-spacing: 0.15em;
  hyphens: auto;
  overflow-wrap: break-word;
  word-break: break-word;
}
.section__lead {
  font-size: clamp(.95rem, 1.6vw, 1.2rem);
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 58ch;
}
.section__note {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  font-size: clamp(1.05rem, 1.9vw, 1.45rem);
  color: var(--text);
  max-width: 100%;
  line-height: 1.5;
  max-width: 30ch;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.section__header { margin-bottom: clamp(3rem, 7vw, 6rem); }

/* small eyebrow label */
.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1.25rem;
  padding-bottom: .35rem;
  border-bottom: 3px solid var(--accent);
}

/* neon block — yellow background, black text (its own design element) */
.neon-block {
  background: var(--accent);
  color: var(--accent-ink);
  padding: .08em .35em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ── BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .95rem 1.95rem;
  font-family: var(--font-body);
  font-size: .8rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  border-radius: 2px;
  transition: transform .25s var(--spring), box-shadow .25s, background .2s, border-color .2s, color .2s;
  position: relative;
}
.btn:hover { transform: translateY(-3px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--text); color: var(--bg); box-shadow: 0 12px 30px rgba(232,255,19,.4); }
.btn--ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn--ghost:hover { border-color: var(--text); background: var(--accent); color: var(--accent-ink); }
.btn--white { background: var(--bg); color: var(--bg-dark); }
.btn--white:hover { background: var(--accent); color: var(--accent-ink); box-shadow: 0 12px 30px rgba(226,255,0,.35); }
.btn--outline { background: transparent; color: rgba(255,255,255,.8); border: 1.5px solid rgba(255,255,255,.28); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--large { padding: 1.1rem 2.4rem; font-size: .85rem; }
.btn--full  { width: 100%; justify-content: center; }

/* ── TAGS ───────────────────────────────────────── */
.tag {
  display: inline-block; flex-shrink: 0;
  font-size: .68rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; padding: .2rem .6rem; border-radius: 2px;
  margin-top: .15rem; white-space: nowrap;
}
.tag--dark  { background: var(--accent); color: var(--accent-ink); }
.tag--light { background: transparent; color: var(--text-mid); border: 1px solid var(--border); }

/* ── SECTION BASE ───────────────────────────────── */
.section { padding-block: var(--section-py); }

/* ── STACKING EFFECT (card lift-in, GSAP-driven) ──
   Solid background + rounded top corners + shadow while
   the section slides in over the previous one.
   position:sticky was removed: with <main> as containing
   block the sections stayed pinned until page end and
   covered all following content. */
.section[data-stack] {
  position: relative;
  z-index: 2;
  background: var(--bg);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -18px 50px rgba(11, 11, 11, 0.07);
}

/* ── SCROLL REVEAL ──────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(34px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: .1s; }
.reveal--delay-2 { transition-delay: .2s; }
.reveal--delay-3 { transition-delay: .3s; }

/* ── LETTER-SCALE HOVER (matthiasthomann.de) ───── */
.fx .word { display: inline-block; white-space: nowrap; }
.fx .ltr {
  display: inline-block;
  transition: transform .28s var(--spring), color .28s;
  will-change: transform;
}

/* "E-Magazin(e)" darf nie mitten im Wort umbrechen (injiziert via main.js) */
.nobr { white-space: nowrap; }

/* ── SCROLL PROGRESS BAR (injected via main.js) ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left center;
  z-index: 6000; pointer-events: none;
}

/* ── COOKIE-CONSENT-BANNER (injiziert via main.js) ── */
.cc-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 7000;
  max-width: 560px; margin-inline: auto;
  background: var(--bg-dark); color: #fff;
  border: 1px solid rgba(255,255,255,.14); border-radius: 10px;
  padding: 1.1rem 1.3rem; box-shadow: 0 18px 50px rgba(0,0,0,.4);
  display: flex; flex-direction: column; gap: .9rem;
  font-size: .9rem; line-height: 1.55;
  animation: cc-in .35s var(--ease-out, ease-out) both;
}
@keyframes cc-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.cc-banner__text { margin: 0; color: rgba(255,255,255,.85); }
.cc-banner__text a { color: var(--accent); text-decoration: underline; }
.cc-banner__btns { display: flex; gap: .6rem; justify-content: flex-end; flex-wrap: wrap; }
.cc-btn {
  font: inherit; font-weight: 700; cursor: pointer; border-radius: 4px;
  padding: .55rem 1.2rem; border: 1px solid rgba(255,255,255,.35);
  background: transparent; color: #fff; transition: background .2s, color .2s;
}
.cc-btn--decline:hover { background: rgba(255,255,255,.1); }
.cc-btn--accept { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.cc-btn--accept:hover { background: #d4e80a; }
/* "Cookie-Einstellungen"-Link im Footer (Widerruf) */
.cc-reopen {
  font: inherit; font-size: .8125rem; color: var(--text-soft);
  background: none; border: 0; padding: 0; cursor: pointer; transition: color .2s;
}
.cc-reopen:hover { color: var(--text); }

/* ════════════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════════════ */
.nav-header {
  position: fixed; inset: 0 0 auto 0; z-index: 5000;
  transition: transform .4s var(--ease), background .3s, border-color .3s;
}
.nav-header.is-scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-header.is-hidden { transform: translateY(-100%); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); padding-inline: var(--pad-x);
  max-width: var(--max-w); margin-inline: auto;
}
.nav__logo { display: block; line-height: 0; }
.nav__logo-img { height: 44px; width: auto; display: block; transition: opacity .2s; }
.nav__logo:hover .nav__logo-img { opacity: .55; }
.nav__links { display: flex; align-items: center; gap: 2.25rem; }
.nav__link {
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--text); position: relative;
}
.nav__link::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 3px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
/* Aktive Seite im Menü kennzeichnen: dauerhafte Neon-Unterstreichung + kräftiger */
.nav__link[aria-current="page"] { font-weight: 800; }
.nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__link--cta {
  background: var(--text); color: var(--bg);
  padding: .5rem 1.1rem; border-radius: 2px;
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover { background: var(--accent); color: var(--accent-ink); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 5px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--text); transition: transform .3s, opacity .3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
@media (max-width: 820px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; inset: 0; background: var(--bg);
    flex-direction: column; justify-content: center; gap: 2rem;
    transform: translateX(100%); transition: transform .45s var(--ease); z-index: 4999;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__link { font-size: 1.4rem; }
  .nav__link--cta { padding: .7rem 2rem; }
}

/* ════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding-top: var(--nav-h); overflow: hidden;
}
/* asymmetric overlap — image right, headline crosses in front */
.hero__media {
  position: absolute; right: 0; top: 0; bottom: 0; width: 52%;
  z-index: 0; background: var(--bg-soft);
}
.hero__media .hero__art, .hero__media .hero__video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* fade the image into white on its left so the headline stays readable where it overlaps */
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, #fff 0%, rgba(255,255,255,.55) 28%, rgba(255,255,255,0) 62%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__text { max-width: 1000px; }

@media (max-width: 880px) {
  .hero { min-height: auto; flex-direction: column; padding-block: calc(var(--nav-h) + 1rem) 2.5rem; }
  .hero__media { position: relative; width: 100%; height: 44vh; order: 2; margin-top: 2rem; border-radius: 4px; overflow: hidden; }
  .hero__media::after { background: linear-gradient(to top, rgba(255,255,255,.5), rgba(255,255,255,0) 45%); }
  .hero__inner { order: 1; }
}

.hero__h1 {
  font-family: var(--font-disp);
  font-size: clamp(2.6rem, 8vw, 7.8rem);
  font-weight: 900;
  /* 1.05 statt 0.9: bei 0.9 ragten Umlaut-Punkte (z.B. "FÜR") in die
     Zeile darueber hinein, da die Line-Box kleiner als die Glyphenhoehe war */
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1.75rem;
}
.hero__h1-line { display: block; }
.hero__h1-line--shift { padding-left: clamp(2rem, 9vw, 11rem); }
.hero__h1-line--sub {
  font-size: clamp(1.4rem, 3.4vw, 3.4rem);
  font-weight: 500;
  color: var(--text-mid);
  letter-spacing: -0.01em;
  margin-top: .35rem;
}
/* morphing eyebrow */
.hero__eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-soft); margin-bottom: 1.25rem; display: flex; flex-wrap: wrap; gap: .35em;
}
.morph {
  display: inline-block; color: var(--text);
  border-bottom: 3px solid var(--accent); padding-bottom: 1px;
  min-width: 1ch; transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.morph.is-out { opacity: 0; transform: translateY(-6px); }

/* ── REVEAL MASKING for headlines (GSAP-driven) ── */
.mask-reveal { position: relative; }
.mask-reveal .mask-line {
  display: block; overflow: hidden;
}
.mask-reveal .mask-line > span {
  display: block; will-change: transform;
}
/* before JS runs, keep visible (no FOUC / accessible if JS fails) */
.js-gsap .mask-reveal .mask-line > span { transform: translateY(110%); }
.hero__subline {
  font-size: clamp(.95rem, 1.5vw, 1.18rem);
  color: var(--text-mid); line-height: 1.7;
  max-width: 42ch; margin-bottom: 2.25rem; font-weight: 400;
}
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 5rem; }
.hero__links { display: flex; gap: 2rem; margin-top: 1.5rem; flex-wrap: wrap; }
.hero__links a { font-size: 0.95rem; font-weight: 500; text-decoration: underline; text-decoration-color: var(--accent); color: var(--text); transition: color 0.3s; }
.hero__links a:hover { color: var(--accent); }
.hero__scroll-hint {
  position: absolute; right: var(--pad-x); bottom: 2.5rem;
  display: flex; align-items: center; gap: .625rem;
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft);
}
.hero__scroll-line { width: 36px; height: 2px; background: var(--accent); animation: line-breathe 2s ease-in-out infinite; }
@keyframes line-breathe { 0%,100% { width: 36px; opacity: 1; } 50% { width: 16px; opacity: .4; } }

/* ════════════════════════════════════════════════
   MARQUEE (yellow brand band)
   ════════════════════════════════════════════════ */
.marquee-strip {
  background: var(--bg);
  padding-block: .95rem; overflow: hidden;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.marquee-track {
  display: flex; gap: 2rem; align-items: center; white-space: nowrap;
  font-family: var(--font-disp);
  font-size: .85rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: var(--text); animation: marquee 30s linear infinite;
}
/* separators (·) as neon accent dots */
.marquee-track span[aria-hidden] { color: var(--accent); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-strip:hover .marquee-track { animation-play-state: paused; }

/* ════════════════════════════════════════════════
   FULL-BLEED SHOWCASE PANELS (parallax "rise")
   ════════════════════════════════════════════════ */
.showcase {
  position: relative; height: clamp(70vh, 90vh, 1000px);
  overflow: hidden; background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
}
.showcase__media { position: absolute; inset: -12% 0; z-index: 0; will-change: transform; }
.showcase__media img, .showcase__media video { width: 100%; height: 100%; object-fit: cover; }
.showcase__veil { position: absolute; inset: 0; z-index: 1; background: rgba(0,0,0,.18); }
.showcase__inner {
  position: relative; z-index: 2; text-align: center;
  padding-inline: var(--pad-x); color: #fff; max-width: 1100px; will-change: transform;
}
.showcase__h2 {
  font-family: var(--font-disp);
  font-size: clamp(2.4rem, 7.5vw, 7.5rem); font-weight: 900;
  line-height: .92; letter-spacing: -0.04em; text-transform: uppercase;
  text-shadow: 0 4px 40px rgba(0,0,0,.3);
}
.showcase__sub {
  margin-top: 1.5rem; font-size: clamp(1rem, 1.8vw, 1.3rem);
  max-width: 50ch; margin-inline: auto; line-height: 1.6;
  color: rgba(255,255,255,.92); text-shadow: 0 2px 20px rgba(0,0,0,.35);
}
.showcase--light .showcase__veil { background: rgba(255,255,255,.08); }

/* ════════════════════════════════════════════════
   HOW WE BUILD (Steps)
   ════════════════════════════════════════════════ */
.section--how { background: var(--bg); }

/* ── BENTO GRID (Stufen 1–3, micro-interactions) ── */
.bento {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-auto-rows: 1fr;
  gap: 1rem;
}
.bento__tile {
  position: relative;
  border-radius: 6px;
  background: var(--bg-dark);
  overflow: hidden;
  min-height: 280px;
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow .4s var(--ease);
  color: #fff;
}
.bento__tile--hero { grid-row: 1 / 3; min-height: 420px; }
@media (max-width: 820px) {
  .bento { grid-template-columns: 1fr; }
  .bento__tile--hero { grid-row: auto; }
}
/* background image + overlay (image-ready, swappable) */
.bento__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; transition: transform .8s var(--ease);
  /* die KI-generierten Kompositionsbilder tragen unten rechts ein Gemini-
     Wasserzeichen (Sternchen) – Basis-Zoom mit Ursprung oben-links schiebt
     genau diese Ecke dauerhaft aus dem sichtbaren Ausschnitt heraus */
  transform: scale(1.18); transform-origin: 18% 18%;
}
.bento__tile:hover .bento__img { transform: scale(1.24); }
.bento__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,.88) 6%, rgba(0,0,0,.45) 48%, rgba(0,0,0,.12) 100%);
}
.tilt__content {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1.6rem, 2.6vw, 2.6rem);
  transform: translateZ(40px);            /* lifts content in 3D tilt */
  transform-style: preserve-3d;
}
.bento__tile:hover { box-shadow: 0 30px 70px rgba(0,0,0,.22); }

.bento__num {
  font-family: var(--font-disp); font-size: clamp(2rem, 3.4vw, 3.4rem); font-weight: 900;
  line-height: 1; letter-spacing: -0.04em; color: var(--accent);
  transition: transform .5s var(--spring);
}
.bento__tile:hover .bento__num { transform: translateZ(30px) scale(1.06); }
.bento__h3 {
  font-family: var(--font-disp); font-weight: 800; letter-spacing: -0.025em;
  text-transform: uppercase; line-height: 1.02; margin-top: .8rem; margin-bottom: .8rem;
  font-size: clamp(1.5rem, 2.2vw, 2rem); color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,.4);
  overflow-wrap: break-word;
}
.bento__tile--hero .bento__h3 { font-size: clamp(1.9rem, 3.2vw, 3rem); }
.bento__opt { font-weight: 400; text-transform: none; color: rgba(255,255,255,.6); letter-spacing: 0; }
.bento__text {
  font-size: .92rem; color: rgba(255,255,255,.82); line-height: 1.6; margin-bottom: 1.4rem;
  max-width: 52ch;
  /* keep body text compact on the smaller tiles */
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .55s var(--ease), opacity .4s var(--ease), margin-bottom .4s;
}
.bento__tile--hero .bento__text { max-height: 16rem; opacity: 1; }   /* big tile shows text */
.bento__tile:hover .bento__text { max-height: 16rem; opacity: 1; }   /* others reveal on hover */
.bento__badge {
  display: inline-block; align-self: flex-start;
  font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: .42rem .85rem; border-radius: 2px; background: var(--accent); color: var(--accent-ink);
  transition: transform .45s var(--spring);
}
.bento__tile:hover .bento__badge { transform: translateZ(20px); }
.bento__badge--opt { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(4px); }

/* ════════════════════════════════════════════════
   SERVICES GRID
   ════════════════════════════════════════════════ */
.section--services { background: var(--bg); }
/* header with one dominant art image (no clipping behind the list) */
.services-head {
  display: grid; grid-template-columns: 1.25fr .75fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
@media (max-width: 820px) { .services-head { grid-template-columns: 1fr; gap: 2rem; } }
.services-head__text .section__h2 { margin-bottom: 1.25rem; }
/* "Erweiterungen:" wurde von der Browser-Silbentrennung haesslich als
   "ERWEI-TERUNGEN:" umgebrochen (Leistungen-Seite) – hier deaktiviert,
   damit das Wort als Ganzes in die naechste Zeile faellt */
#addons-h2 { hyphens: none; }
.services-head__media {
  border-radius: 6px; overflow: hidden; background: var(--bg-soft);
  aspect-ratio: 3 / 4; max-height: 460px;
}
@media (max-width: 820px) { .services-head__media { aspect-ratio: 16/10; max-height: 320px; } }
.services-head__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Leistungen = Flip-Kacheln (Farbfeld + Headline → Umdrehen zeigt Text) */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

.kachel { display: block; perspective: 1600px; aspect-ratio: 4 / 3.4; }
.kachel__inner {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d; transition: transform .7s var(--ease);
  border-radius: 6px;
}
.kachel:hover .kachel__inner,
.kachel:focus-visible .kachel__inner { transform: rotateY(180deg); }
.kachel__front, .kachel__back {
  position: absolute; inset: 0; border-radius: 6px; overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  display: flex; flex-direction: column;
  padding: clamp(1.5rem, 2.4vw, 2.1rem);
}
/* FRONT — image + dark overlay + number + headline (white) */
.kachel__front { background: var(--bg-dark); justify-content: space-between; color: #fff; }
.kachel__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .7s var(--ease); transform: scale(1.18); transform-origin: 18% 18%; }
.kachel:hover .kachel__img { transform: scale(1.24); }
.kachel__front::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,.82) 8%, rgba(0,0,0,.3) 55%, rgba(0,0,0,.06) 100%);
}
.kachel__front .kachel__num,
.kachel__front .kachel__title { position: relative; z-index: 2; }
.kachel__num {
  font-family: var(--font-disp); font-size: clamp(1.6rem, 2.6vw, 2.4rem); font-weight: 900;
  letter-spacing: -0.04em; line-height: 1; color: var(--accent);
}
.kachel__title {
  font-family: var(--font-disp); font-size: clamp(1.05rem, 1.55vw, 1.4rem); font-weight: 800;
  letter-spacing: -0.02em; text-transform: uppercase; line-height: 1.06; color: #fff;
  hyphens: auto; overflow-wrap: break-word; text-shadow: 0 2px 20px rgba(0,0,0,.4);
}
/* BACK — explanation text */
.kachel__back { background: var(--text); color: #fff; transform: rotateY(180deg); justify-content: center; gap: 1rem; }
.kachel__back p { font-size: .92rem; line-height: 1.6; color: rgba(255,255,255,.88); }
.kachel__more {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .74rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--accent);
}
/* colour variants (front) */
.kachel--accent .kachel__front { background: var(--accent); }
.kachel--accent .kachel__back { background: var(--accent-ink); }
.kachel--accent .kachel__back .kachel__more { color: var(--accent); }
.kachel--dark .kachel__front { background: var(--bg-dark); }
.kachel--dark .kachel__num, .kachel--dark .kachel__title { color: #fff; }
.kachel--dark .kachel__back { background: var(--accent); }
.kachel--dark .kachel__back { color: var(--accent-ink); }
.kachel--dark .kachel__back p { color: #1c1c00; }
.kachel--dark .kachel__back .kachel__more { color: var(--accent-ink); }
@media (hover: none) {
  /* touch: no flip — show text below by stacking faces */
  .kachel { aspect-ratio: auto; }
  .kachel__inner { transform: none !important; }
  .kachel__front, .kachel__back { position: relative; inset: auto; backface-visibility: visible; transform: none; }
  .kachel__back { background: var(--bg-soft); color: var(--text); }
  .kachel__back p { color: var(--text-mid); }
  /* Default-Variante: Back-Flaeche wird hier hellgrau (bg-soft) statt dunkel –
     der "Mehr erfahren"-Link darf dann NICHT mehr neongelb bleiben (unlesbar
     auf hellgrau). --accent/--dark-Varianten behalten ihre eigene, bereits
     kontrastreiche Farbe (spezifischere Selektoren, hier nicht betroffen). */
  .kachel__back .kachel__more { color: var(--text); }
}

/* ════════════════════════════════════════════════
   VISIBILITY (PDF vs E-Mag)
   ════════════════════════════════════════════════ */
.section--visibility { background: var(--bg); }
.visibility__intro { font-size: clamp(1rem, 1.7vw, 1.15rem); line-height: 1.75; margin-bottom: 1.25rem; max-width: 70ch; }
.visibility__body { font-size: 1rem; color: var(--text); line-height: 1.7; font-weight: 500; max-width: 60ch; }

/* ── AUFBAUENDE LISTE (ladder: each step adds more visibility) ── */
.ladder { margin: clamp(2.5rem, 5vw, 3.5rem) 0 2rem; counter-reset: ladder; max-width: 920px; }
.ladder__step {
  position: relative; padding: 1.25rem 0 1.4rem;
  border-top: 1px solid var(--border);
  /* progressive indent → builds up like a staircase */
  padding-left: calc(var(--idx, 0) * clamp(0.6rem, 2.2vw, 2.4rem));
  transition: padding-left .4s var(--ease);
}
.ladder__step:last-child { border-bottom: 1px solid var(--border); }
.ladder__head { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.ladder__label {
  flex-shrink: 0; font-family: var(--font-disp);
  font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 2px;
  background: transparent; color: var(--text); border: 1.5px solid var(--text);
}
.ladder__label--std { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.ladder__title {
  font-family: var(--font-disp); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.1rem, 2vw, 1.65rem); letter-spacing: -0.02em; line-height: 1.1;
  hyphens: auto; overflow-wrap: break-word;
}
.ladder__text { font-size: .92rem; color: var(--text-mid); line-height: 1.6; margin-top: .5rem; max-width: 56ch; }
/* growing neon "visibility" bar */
.ladder__bar { margin-top: 1rem; height: 5px; background: var(--bg-soft); border-radius: 3px; overflow: hidden; }
.ladder__bar > span {
  display: block; height: 100%; width: 0; background: var(--accent); border-radius: 3px;
  transition: width 1s var(--ease-out);
}
.ladder__step.is-visible .ladder__bar > span { width: var(--fill, 50%); }
.visibility__close { font-size: 1.05rem; line-height: 1.6; font-weight: 500; margin-top: 2.25rem; }

/* ════════════════════════════════════════════════
   CASES (hover preview)
   ════════════════════════════════════════════════ */
.section--cases { background: var(--bg); overflow: hidden; }

/* Horizontal sticky-scroll gallery */
.cases-hscroll {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  /* base (no JS / reduced motion): native horizontal scroll */
  overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory;
}
.cases-hscroll::-webkit-scrollbar { height: 0; }
.cases-track {
  display: flex; gap: 1rem;
  padding-inline: var(--pad-x); padding-block: .5rem 1.5rem;
  width: max-content;
}
/* when GSAP drives it, the wrapper is pinned and overflow is hidden */
.cases-hscroll.is-pinned { overflow: hidden; }

.case-card {
  position: relative; flex: 0 0 auto;
  width: min(78vw, 460px); aspect-ratio: 3 / 4;
  border-radius: 6px; overflow: hidden; scroll-snap-align: start;
  color: #fff; display: block; isolation: isolate;
  will-change: transform;
}
.case-card__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .7s var(--ease); z-index: 0;
}
.case-card:hover .case-card__img { transform: scale(1.06); }
.case-card__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,.85) 8%, rgba(0,0,0,.35) 48%, rgba(0,0,0,.05) 100%);
}
.case-card__body {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  gap: .6rem; padding: clamp(1.4rem, 2.2vw, 2rem);
}
.case-card__num {
  font-family: var(--font-disp); font-weight: 800; font-size: .8rem;
  letter-spacing: .08em; color: var(--accent);
}
.case-card__h3 {
  font-family: var(--font-disp); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem); line-height: 1.08; letter-spacing: -0.02em;
  /* hyphens:auto (Browser-Woerterbuch, lang="de") brach "Content" faelschlich
     als "CON-TENT" um. hyphens:none: es wird nur an Leerzeichen/vorhandenen
     Bindestrichen umgebrochen (z.B. "Content-Landingpage" faellt als Ganzes
     in die naechste Zeile) – overflow-wrap bleibt als reine Notbremse. */
  hyphens: none; overflow-wrap: break-word;
}
.case-card__anon { font-weight: 400; text-transform: none; letter-spacing: 0; color: rgba(255,255,255,.6); font-size: .8em; }
.case-card__text {
  font-size: .9rem; line-height: 1.55; color: rgba(255,255,255,.82);
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .5s var(--ease), opacity .4s var(--ease);
}
/* 16rem: der längere AEHRE-Text (2 Absätze) muss auch bei schmaler
   Kachel (78vw) komplett aufklappen können */
.case-card:hover .case-card__text { max-height: 16rem; opacity: 1; }
.case-card__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .2rem; }
.case-card .case-tag { color: #fff; border: 1px solid rgba(255,255,255,.4); padding: .2rem .5rem; border-radius: 2px; }
.case-tag { font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-soft); white-space: nowrap; }
/* hide the default cursor circle text state handled in JS */

/* ════════════════════════════════════════════════
   PACKAGES
   ════════════════════════════════════════════════ */
.section--packages { background: var(--bg-soft); }
.packages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-block: clamp(2.5rem, 5vw, 4rem); }
@media (max-width: 900px) { .packages-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .packages-grid { grid-template-columns: 1fr; } }
.package-card {
  display: flex; flex-direction: column; background: var(--bg-soft);
  border-radius: 6px; overflow: hidden; color: inherit;
  transition: transform .4s var(--spring), box-shadow .4s;
}
.package-card:hover, .package-card--featured { transform: translateY(-8px); box-shadow: 0 26px 56px rgba(0,0,0,.12); z-index: 1; }
/* image-ready media header (placeholder gradient until a photo is added) */
.package-card__media {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(232,255,19,.5), transparent 60%),
    linear-gradient(150deg, #1a1a1a, #444);
}
.package-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.package-card__index {
  position: absolute; left: clamp(1rem,2vw,1.4rem); bottom: clamp(.7rem,1.5vw,1rem);
  font-family: var(--font-disp); font-weight: 900; font-size: clamp(2rem, 4vw, 3.2rem);
  color: rgba(255,255,255,.9); letter-spacing: -0.04em; line-height: 1;
}
.package-card--featured .package-card__media {
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(232,255,19,.9), transparent 55%),
    linear-gradient(150deg, #111, #2a2a2a);
}
.package-card__flag {
  position: absolute; top: .8rem; right: .8rem;
  background: var(--accent); color: var(--accent-ink);
  font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 2px;
}
.package-card__body { padding: clamp(1.4rem, 2.4vw, 2rem); display: flex; flex-direction: column; flex: 1; }
.package-card__level { font-family: var(--font-disp); font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 900; letter-spacing: -0.04em; text-transform: uppercase; margin-bottom: .4rem; }
.package-card__sub { font-size: .85rem; color: var(--text-mid); line-height: 1.5; margin-bottom: 1.5rem; min-height: 2.6em; }
.package-card__bar { height: 5px; background: var(--border); border-radius: 3px; position: relative; overflow: hidden; margin-top: auto; }
.package-card__bar::after { content: ''; position: absolute; inset-block: 0; left: 0; background: var(--accent); width: 0; border-radius: 3px; transition: width 1.1s var(--ease-out); }
.package-card__bar.animated::after { width: var(--w); }
.packages-cta { text-align: center; }

/* ════════════════════════════════════════════════
   ABOUT
   ════════════════════════════════════════════════ */
.section--about { background: var(--bg); }
.about__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(3rem, 7vw, 9rem); align-items: start; }
@media (max-width: 780px) { .about__grid { grid-template-columns: 1fr; } }
/* Wrapper crops the slightly up-scaled video so the Kling watermark
   (corner) falls outside the visible frame. */
.about__video-wrap { width: 100%; aspect-ratio: 4/5; overflow: hidden; border-radius: 3px; margin-top: 2rem; background: var(--bg-soft); }
.about__media-video { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.17); transform-origin: 50% 42%; }
.about__media-cap { font-size: .82rem; font-weight: 600; color: var(--text); margin-top: .8rem; letter-spacing: .02em; }
.about__founders { display: flex; flex-direction: column; gap: .55rem; margin-top: .7rem; }
.about__founder { display: inline-flex; align-items: center; gap: .55rem; width: fit-content; font-size: .9rem; font-weight: 600; color: var(--text-mid); transition: color .2s var(--ease); }
.about__founder:hover { color: #0a66c2; }
.li-icon { color: #0a66c2; flex: 0 0 auto; transition: transform .25s var(--spring); }
.about__founder:hover .li-icon { transform: scale(1.14); }
.about__p { font-size: 1.05rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 1.5rem; }
.about__h3 { font-family: var(--font-disp); font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 800; letter-spacing: -0.02em; text-transform: uppercase; margin-bottom: .625rem; margin-top: 2.5rem; }
.about__partners { display: flex; flex-direction: column; gap: 1.25rem; padding: 1.5rem; background: var(--bg-soft); border-radius: 3px; margin-bottom: 2rem; }
.about__partner-name { display: block; font-weight: 700; margin-bottom: .25rem; }
.about__partner p { font-size: .9rem; color: var(--text-mid); line-height: 1.65; }
.about__quote {
  border-left: 4px solid var(--accent); padding-left: 1.5rem;
  font-size: clamp(1.15rem, 2vw, 1.6rem); line-height: 1.4; color: var(--text);
  font-weight: 600; letter-spacing: -0.01em;
}

/* ════════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════════ */
.section--faq { background: var(--bg-soft); position: relative; overflow: hidden; }
.faq-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.faq-bg img {
  position: absolute; right: -4%; top: 50%; transform: translateY(-50%);
  width: 40vw; max-width: 620px; opacity: .35;
  -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent);
          mask-image: radial-gradient(closest-side, #000 60%, transparent);
}
@media (max-width: 860px) { .faq-bg { display: none; } }
.section--faq .container { position: relative; z-index: 1; }
.faq-list { border-top: 1px solid var(--border); margin-top: clamp(2rem, 4vw, 3.5rem); margin-bottom: 2.5rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item__q {
  display: flex; justify-content: space-between; align-items: center; gap: 1.25rem;
  padding-block: 1.5rem; font-family: var(--font-disp);
  font-size: clamp(1rem, 1.8vw, 1.3rem); font-weight: 700; letter-spacing: -0.01em;
  text-transform: uppercase; line-height: 1.25; cursor: pointer; transition: color .2s;
}
.faq-item__q:hover { color: var(--text-mid); }
.faq-item__icon {
  flex-shrink: 0; width: 32px; height: 32px; border: 1.5px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem; font-weight: 300; line-height: 1;
  transition: transform .35s var(--ease), background .25s, border-color .25s, color .25s;
}
.faq-item[open] .faq-item__icon { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.faq-item__a { padding-bottom: 1.75rem; padding-right: 3.5rem; }
.faq-item__a p { font-size: .95rem; color: var(--text-mid); line-height: 1.75; margin-bottom: .75rem; }
.faq-item__a p:last-child { margin-bottom: 0; }
.faq-cta { text-align: center; }

/* ════════════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════════════ */
.section--contact { background: var(--bg); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(3rem, 7vw, 9rem); align-items: start; }
@media (max-width: 780px) { .contact__grid { grid-template-columns: 1fr; } }
/* max 4.4rem: "UNVERBINDLICH" muss in die schmale Kontakt-Spalte passen */
.contact__grid .section__h2 { font-size: clamp(1.9rem, 4.2vw, 4rem); }
.contact__lead { font-size: 1.05rem; color: var(--text-mid); line-height: 1.75; margin-bottom: 2rem; }
.contact__address { font-size: .95rem; color: var(--text-mid); line-height: 1.65; margin-bottom: 1rem; }
.contact__address strong { color: var(--text); }
.contact__email { font-weight: 600; display: inline-block; border-bottom: 2px solid var(--accent); padding-bottom: 2px; transition: opacity .2s; }
.contact__email:hover { opacity: .6; }
.form-group { margin-bottom: 1.125rem; }
.form-label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--text); margin-bottom: .45rem; }
.form-input {
  width: 100%; padding: .9rem 1rem; background: var(--bg-soft);
  border: 1.5px solid transparent; border-radius: 2px; font-family: var(--font-body);
  font-size: .95rem; color: var(--text); outline: none; transition: border-color .2s, background .2s; cursor: text;
}
.form-input::placeholder { color: var(--text-soft); }
.form-input:focus { background: var(--bg); border-color: var(--accent); }
.form-textarea { resize: vertical; min-height: 130px; }

/* ════════════════════════════════════════════════
   FINAL CTA
   ════════════════════════════════════════════════ */
.section--final-cta { background: var(--accent); color: var(--accent-ink); padding-block: clamp(5rem, 11vw, 10rem); text-align: center; }
.final-cta { max-width: 900px; margin-inline: auto; }
.final-cta__h2 {
  font-family: var(--font-disp); font-size: clamp(2.2rem, 7.4vw, 8rem); font-weight: 900;
  letter-spacing: -0.045em; line-height: .92; text-transform: uppercase; margin-bottom: 2rem;
  white-space: nowrap; color: var(--accent-ink);
}
/* Längere Headline (z. B. /leistungen): umbrechbar, an Desktop angepasst */
.final-cta__h2--fit { white-space: normal; font-size: clamp(2rem, 5vw, 4.6rem); line-height: .98; overflow-wrap: break-word; }
.final-cta__text { font-size: clamp(1rem, 1.8vw, 1.2rem); color: #2a2a05; max-width: 52ch; margin-inline: auto; line-height: 1.75; margin-bottom: 3rem; }
.final-cta__btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
/* black buttons on the yellow CTA */
.section--final-cta .btn--white { background: var(--accent-ink); color: var(--accent); }
.section--final-cta .btn--white:hover { background: var(--bg); color: var(--accent-ink); box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.section--final-cta .btn--outline { color: var(--accent-ink); border-color: rgba(0,0,0,.35); }
.section--final-cta .btn--outline:hover { border-color: var(--accent-ink); background: var(--accent-ink); color: var(--accent); }

/* ════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════ */
.footer { background: var(--bg); border-top: 1px solid var(--border); padding-block: clamp(3rem, 6vw, 5rem); }
.footer__top { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; margin-bottom: 3.5rem; }
@media (max-width: 720px) { .footer__top { grid-template-columns: 1fr; gap: 2.5rem; } }
.footer__logo { display: block; line-height: 0; margin-bottom: .85rem; transition: opacity .2s; }
.footer__logo-img { height: 60px; width: auto; display: block; }
.footer__logo:hover { opacity: .55; }
.footer__claim { font-size: .875rem; color: var(--text-soft); }
.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 480px) { .footer__nav { grid-template-columns: repeat(2, 1fr); } }
.footer__nav-h { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 1rem; }
.footer__nav ul { display: flex; flex-direction: column; gap: .5rem; }
.footer__nav a { font-size: .9rem; color: var(--text-mid); transition: color .2s; }
.footer__nav a:hover { color: var(--text); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 2rem; border-top: 1px solid var(--border); }
.footer__copy { font-size: .8125rem; color: var(--text-soft); }
.footer__legal-nav { display: flex; gap: 1.5rem; }
.footer__legal-nav a { font-size: .8125rem; color: var(--text-soft); transition: color .2s; }
.footer__legal-nav a:hover { color: var(--text); }

/* ════════════════════════════════════════════════
   LEISTUNGEN SUBPAGE (/leistungen)
   ════════════════════════════════════════════════ */
/* — Hero — */
.lp-hero { padding-top: calc(var(--nav-h) + clamp(3.5rem, 9vw, 8rem)); padding-bottom: clamp(3rem, 6vw, 5rem); background: var(--bg); }
.breadcrumb { display: flex; align-items: center; gap: .6rem; font-size: .8rem; color: var(--text-soft); margin-bottom: clamp(2rem, 4vw, 3rem); }
.breadcrumb a { color: var(--text-mid); transition: color .2s; }
.breadcrumb a:hover { color: var(--text); }
.lp-hero__eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 1.4rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* Knockout-Headline: die Schrift ist die Aussparung im Bild (invertierte Maske) */
.lp-hero__knock { margin: clamp(.4rem, 1.5vw, 1.2rem) 0 clamp(1.8rem, 4vw, 2.8rem); }
.knockout { display: block; width: 100%; height: auto; }
.knockout__t text {
  font-family: var(--font-disp); font-weight: 900;
  font-size: 134px; letter-spacing: -4px;
}
.lp-hero__subline { font-size: clamp(1rem, 1.7vw, 1.2rem); color: var(--text-mid); line-height: 1.8; max-width: 64ch; margin-bottom: 2.4rem; }
.lp-hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* — Pakete-Grid (Small / Medium / Large / Compact – einheitlich) — */
.section--pakete { background: var(--bg); }
.pak-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; align-items: start; margin-top: clamp(1rem, 3vw, 2rem); }
@media (max-width: 1100px) { .pak-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (max-width: 620px) { .pak-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }
.pak-card { position: relative; display: flex; flex-direction: column; background: var(--bg-soft); border-radius: 8px; overflow: hidden; transition: transform .45s var(--spring), box-shadow .45s; }
.pak-card:hover { transform: translateY(-8px); box-shadow: 0 28px 60px rgba(0,0,0,.13); }
.pak-card--featured { background: var(--bg); outline: 2px solid var(--accent-ink); box-shadow: 0 20px 48px rgba(0,0,0,.12); }
@media (min-width: 1101px) { .pak-card--featured { transform: translateY(-18px); } .pak-card--featured:hover { transform: translateY(-26px); } }
.pak-card__media { position: relative; aspect-ratio: 2 / 1; overflow: hidden; background: var(--bg-dark); }
.pak-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); transform: scale(1.18); transform-origin: 18% 18%; }
.pak-card:hover .pak-card__img { transform: scale(1.24); }
.pak-card__index { position: absolute; left: 1.1rem; bottom: .7rem; font-family: var(--font-disp); font-weight: 900; font-size: clamp(2rem, 4vw, 3rem); color: rgba(255,255,255,.92); letter-spacing: -0.04em; line-height: 1; text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.pak-card__flag { position: absolute; top: 1rem; right: 1rem; z-index: 3; background: var(--accent); color: var(--accent-ink); font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .65rem; border-radius: 3px; }
.pak-card__flag--alt { background: var(--accent-ink); color: #fff; }
.pak-card__body { padding: clamp(1.5rem, 2.6vw, 2.2rem); display: flex; flex-direction: column; flex: 1; }
.pak-card__level { font-family: var(--font-disp); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 900; letter-spacing: -0.04em; text-transform: uppercase; line-height: 1; }
.pak-card__tagline { font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-soft); margin-top: .5rem; margin-bottom: 1.2rem; }
.pak-card__intro { font-size: .98rem; color: var(--text); line-height: 1.6; font-weight: 500; margin-bottom: 1.4rem; }
.pak-list { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.6rem; }
.pak-list li { position: relative; padding-left: 1.5rem; font-size: .9rem; color: var(--text-mid); line-height: 1.55; }
.pak-list li::before { content: ''; position: absolute; left: 0; top: .5em; width: .55rem; height: .55rem; background: var(--accent); border-radius: 1px; }
.pak-list__opt { font-style: italic; }
.pak-list__opt::before { background: var(--border); }
.pak-card__ideal { margin-top: auto; padding-top: 1.2rem; border-top: 1px solid var(--border); font-size: .88rem; color: var(--text); line-height: 1.55; font-weight: 500; }

/* — Add-ons (Bild-Karten mit 3D-Tilt – AI Imagery / Podcast) — */
.section--addons { background: var(--bg); }
.addon-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 760px) { .addon-grid { grid-template-columns: 1fr; } }
.addon-card { position: relative; display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 11; color: #fff; isolation: isolate; transition: box-shadow .45s var(--ease); transform-style: preserve-3d; }
.addon-card:hover { box-shadow: 0 30px 64px rgba(0,0,0,.22); }
.addon-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .7s var(--ease); transform: scale(1.18); transform-origin: 18% 18%; }
.addon-card:hover .addon-card__img { transform: scale(1.24); }
.addon-card__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(0,0,0,.9) 10%, rgba(0,0,0,.5) 48%, rgba(0,0,0,.12) 100%); }
.addon-card__tag { position: absolute; top: clamp(1.4rem,3vw,2rem); right: clamp(1.4rem,3vw,2rem); z-index: 3; background: var(--accent); color: var(--accent-ink); font-size: .64rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 2px; }
.addon-card__inner { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(1.8rem, 3.4vw, 2.8rem); }
.addon-card__h3 { font-family: var(--font-disp); font-weight: 900; text-transform: uppercase; font-size: clamp(1.8rem, 3.4vw, 2.9rem); letter-spacing: -0.03em; line-height: .98; }
.addon-card__sub { font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-top: .7rem; margin-bottom: 1.2rem; }
.addon-card__text { font-size: .94rem; line-height: 1.6; color: rgba(255,255,255,.85); max-width: 46ch; }
.addon-card__more { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.4rem; font-weight: 800; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.addon-card__more span { transition: transform .3s var(--ease); }
.addon-card:hover .addon-card__more span { transform: translateX(6px); }
/* Mobile: schmale Kachel würde den unten verankerten Textblock oben
   herauslaufen lassen (Überschrift abgeschnitten). Höhe wächst mit dem
   Inhalt, Overlay dunkler für Lesbarkeit. Steht bewusst NACH den Basis-
   Regeln, damit der Override bei gleicher Spezifität gewinnt. */
@media (max-width: 760px) {
  .addon-card { aspect-ratio: auto; }
  .addon-card__inner { position: relative; padding-top: 3.4rem; }
  .addon-card__overlay { background: linear-gradient(to top, rgba(0,0,0,.86) 0%, rgba(0,0,0,.7) 100%); }
}

/* — Orientierungshilfe — */
.section--orient { background: var(--bg-soft); }
.orient-list { display: flex; flex-direction: column; gap: 1rem; }
.orient-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); background: var(--bg); border-radius: 6px; padding: clamp(1.3rem, 2.6vw, 1.9rem) clamp(1.4rem, 3vw, 2.4rem); transition: transform .35s var(--spring), box-shadow .35s; }
.orient-row:hover { transform: translateX(8px); box-shadow: 0 14px 34px rgba(0,0,0,.08); }
@media (max-width: 620px) { .orient-row { grid-template-columns: 1fr auto; } .orient-row__arrow { display: none; } }
.orient-row__cond { font-size: clamp(.98rem, 1.8vw, 1.18rem); color: var(--text); font-weight: 500; line-height: 1.4; }
.orient-row__arrow { font-size: 1.4rem; color: var(--text-soft); }
.orient-row__pkg { font-family: var(--font-disp); font-weight: 900; text-transform: uppercase; font-size: clamp(1.1rem, 2vw, 1.5rem); letter-spacing: -0.02em; padding: .25rem .9rem; border: 2px solid var(--accent-ink); border-radius: 4px; white-space: nowrap; }
.orient-row__pkg--accent { background: var(--accent); border-color: var(--accent); }

/* — Kosten — */
.section--cost { background: var(--bg); }
.cost { max-width: 880px; }
.cost__body { font-size: clamp(1.05rem, 1.9vw, 1.4rem); line-height: 1.7; color: var(--text-mid); font-weight: 400; }
.cost__body { margin-top: -.5rem; }

/* ════════════════════════════════════════════════
   BERICHTE-THEMENSEITE
   (/geschaeftsbericht-und-nachhaltigkeitsbericht)
   ════════════════════════════════════════════════ */
/* — Definition (Featured-Snippet-Block) — */
.section--def { background: var(--bg); }
.def { max-width: 920px; }
.def__lead { font-size: clamp(1.25rem, 2.4vw, 1.9rem); font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; color: var(--text); border-left: 4px solid var(--accent); padding-left: clamp(1.2rem, 2vw, 1.8rem); margin-bottom: 2rem; }
.def__p { font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.8; color: var(--text-mid); margin-bottom: 1.4rem; }
.def__p--accent { font-weight: 600; color: var(--text); }

/* — Reasons-Sektion ohne Bild (z. B. Magazine-Seite) — */
.section--reasons { background: var(--bg-soft); }

/* — Warum: 4 Gründe (mit Marken-Hintergrundbild) — */
.section--why { position: relative; background: var(--bg-soft); isolation: isolate; }
.section--why::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(244,244,245,.80), rgba(244,244,245,.82)), url('../assets/why-bg.jpg');
  background-size: cover; background-position: center;
}
.section--why > .container { position: relative; z-index: 1; }
.reasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
@media (max-width: 720px) { .reasons { grid-template-columns: 1fr; } }
.reason { background: var(--bg); border-radius: 8px; padding: clamp(1.6rem, 3vw, 2.4rem); display: flex; flex-direction: column; box-shadow: 0 8px 26px rgba(0,0,0,.06); transition: transform .4s var(--spring), box-shadow .4s; }
.reason:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(0,0,0,.1); }
.reason__num { font-family: var(--font-disp); font-weight: 900; font-size: 1rem; letter-spacing: .08em; color: var(--text-soft); margin-bottom: 1rem; }
.reason__h3 { font-family: var(--font-disp); font-weight: 800; text-transform: uppercase; font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: .8rem; }
.reason__p { font-size: .95rem; line-height: 1.65; color: var(--text-mid); }
.reason--accent { background: var(--accent-ink); }
.reason--accent .reason__num { color: var(--accent); }
.reason--accent .reason__h3 { color: #fff; }
.reason--accent .reason__p { color: rgba(255,255,255,.82); }

/* — Report-Blöcke (Geschäftsbericht / Nachhaltigkeitsbericht) — */
.section--report { background: var(--bg); }
.section--report-alt { background: var(--bg-soft); }
.rblock { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.rblock--rev { grid-template-columns: .75fr 1.25fr; }
.rblock--rev .rblock__text { order: 2; }
.rblock--rev .rblock__media { order: 1; }
@media (max-width: 900px) { .rblock, .rblock--rev { grid-template-columns: 1fr; gap: 2.5rem; } .rblock--rev .rblock__text { order: 1; } .rblock--rev .rblock__media { order: 2; } }
.rblock__eyebrow { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 1.2rem; }
/* max 2.75rem: "Kommunikationsinstrument" (.fx-Wortspans sind
   unbrechbar) muss in die schmale rblock-Spalte passen */
.rblock .section__h2 { font-size: clamp(1.5rem, 3vw, 2.6rem); line-height: 1.04; margin-bottom: 1.6rem; }
.rblock__p { font-size: 1.02rem; line-height: 1.75; color: var(--text-mid); margin-bottom: 1.4rem; }
/* Kundenzitat (z. B. aehre / Annabel Loebell auf /magazine) */
.rblock__quote { margin-top: 2rem; padding: 1.4rem 0 0 1.5rem; border-left: 3px solid var(--accent); }
.rblock__quote p { font-size: 1.05rem; line-height: 1.7; color: var(--text); font-style: italic; margin-bottom: .9rem; }
.rblock__quote cite { display: block; font-size: .85rem; font-style: normal; font-weight: 700; letter-spacing: .02em; color: var(--text-soft); }
.rblock__h3 { font-family: var(--font-disp); font-weight: 800; text-transform: uppercase; font-size: 1rem; letter-spacing: .04em; margin: 1.8rem 0 1rem; }
.rblock__title { font-family: var(--font-disp); font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 3vw, 2.4rem); letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 1.2rem; }
.rblock__list { display: flex; flex-direction: column; gap: .85rem; margin-bottom: 1.8rem; }
.rblock__list li { position: relative; padding-left: 1.6rem; font-size: .96rem; line-height: 1.6; color: var(--text-mid); }
.rblock__list li::before { content: ''; position: absolute; left: 0; top: .55em; width: .6rem; height: .6rem; background: var(--accent); border-radius: 1px; }
.rblock__list strong { color: var(--text); font-weight: 700; }
.rblock__list a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.rblock__not { background: var(--bg-soft); border-radius: 8px; padding: clamp(1.3rem, 2.4vw, 1.8rem); border-top: 3px solid var(--accent-ink); }
.section--report-alt .rblock__not { background: var(--bg); }
.rblock__not-h { font-family: var(--font-disp); font-weight: 800; text-transform: uppercase; font-size: .92rem; letter-spacing: .04em; margin-bottom: .7rem; }
.rblock__not p { font-size: .92rem; line-height: 1.65; color: var(--text-mid); }
.rblock__media { position: sticky; top: calc(var(--nav-h) + 1.5rem); border-radius: 8px; overflow: hidden; }
@media (max-width: 900px) { .rblock__media { position: static; } }
.rblock__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }

/* — Prozess: 5 Schritte — */
.section--process { background: var(--bg); }
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; counter-reset: none; }
@media (max-width: 1000px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }
.pstep { position: relative; padding-top: 1.4rem; border-top: 2px solid var(--border); }
.pstep__num { display: inline-flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-family: var(--font-disp); font-weight: 900; font-size: 1.2rem; margin-bottom: 1rem; }
.pstep__h3 { font-family: var(--font-disp); font-weight: 800; text-transform: uppercase; font-size: 1.05rem; letter-spacing: -0.01em; line-height: 1.15; margin-bottom: .7rem; }
.pstep__opt { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--text-soft); font-size: .82em; }
.pstep__p { font-size: .9rem; line-height: 1.6; color: var(--text-mid); }

/* — Berichts-Cases (2 Karten) — */
.section--rcases { background: var(--bg-soft); }
.rcase-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 820px) { .rcase-grid { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; } }
.rcase { background: var(--bg); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--spring), box-shadow .4s; }
.rcase:hover { transform: translateY(-6px); box-shadow: 0 24px 54px rgba(0,0,0,.12); }
.rcase__media { aspect-ratio: 16 / 10; overflow: hidden; }
.rcase__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.rcase:hover .rcase__media img { transform: scale(1.05); }
.rcase__body { padding: clamp(1.5rem, 2.6vw, 2.2rem); }
.rcase__tag { display: inline-block; font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); padding: .25rem .6rem; border-radius: 2px; margin-bottom: 1rem; }
.rcase__h3 { font-family: var(--font-disp); font-weight: 800; text-transform: uppercase; font-size: clamp(1.2rem, 2vw, 1.55rem); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: .8rem; }
.rcase__p { font-size: .94rem; line-height: 1.65; color: var(--text-mid); }
.rcase-note { text-align: center; margin-top: 2.5rem; font-size: .95rem; color: var(--text-mid); }

/* — Verwandte Leistungen (Cross-Links) — */
.section--related { background: var(--bg); }
.section--related .section__lead a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; font-weight: 600; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 760px) { .related-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; } }
.related-card { position: relative; display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; color: #fff; isolation: isolate; }
.related-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .7s var(--ease); }
.related-card:hover .related-card__img { transform: scale(1.06); }
.related-card__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(0,0,0,.85) 8%, rgba(0,0,0,.3) 55%, rgba(0,0,0,.05) 100%); }
.related-card__body { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(1.4rem, 2.4vw, 1.9rem); }
.related-card__h3 { font-family: var(--font-disp); font-weight: 800; text-transform: uppercase; font-size: clamp(1.15rem, 1.9vw, 1.5rem); letter-spacing: -0.02em; line-height: 1.08; }
.related-card__more { display: inline-flex; align-items: center; gap: .4rem; margin-top: .7rem; font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.related-card__more span { transition: transform .3s var(--ease); }
.related-card:hover .related-card__more span { transform: translateX(5px); }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
