/* ══════════════════════════════════════════════════════════════
   PRINTLINE WERBETECHNIK — Design System v5 "Aurora"
   Marke:  Türkis (#40E0D0) · Lila (#C084FC)  — von werbung-kroner.de
   Themes: Hell + Dunkel umschaltbar  ([data-theme="light|dark"])
   Fonts:  Sora (Display) + Inter (Text)
   Animationen: CSS + IntersectionObserver (theme.js) + Motion One
   ══════════════════════════════════════════════════════════════ */

/* ── 0. FONTS ──────────────────────────────────────────────── */

/* ── 1. MARKEN-TOKENS (themenunabhängig) ───────────────────── */
:root {
  /* Markenfarben — exakt von der aktiven Website */
  --tuerkis:        #40E0D0;
  --tuerkis-tief:   #0D9488;
  --lila:           #C084FC;
  --flieder:        #F5D0FE;
  --cyan-hell:      #A5F3FC;
  --teal-hell:      #99F6E4;

  /* Marken-Gradient (überall wiederverwendet) */
  --brand-grad:      linear-gradient(100deg, var(--tuerkis) 0%, var(--lila) 100%);
  --brand-grad-soft: linear-gradient(100deg, var(--tuerkis-tief) 0%, var(--lila) 100%);
  --brand-grad-tri:  linear-gradient(120deg, var(--tuerkis) 0%, var(--cyan-hell) 40%, var(--lila) 100%);

  /* Radien */
  --r-xs: 8px;  --r-s: 12px;  --r-m: 18px;  --r-l: 26px;  --r-xl: 36px;  --r-pill: 999px;

  /* Abstände (8px-Raster) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  /* Typo-Skala (fluid) */
  --fs-hero:  clamp(2.6rem, 6vw, 5rem);
  --fs-h1:    clamp(2rem, 4.5vw, 3.4rem);
  --fs-h2:    clamp(1.6rem, 3.2vw, 2.5rem);
  --fs-h3:    clamp(1.15rem, 1.6vw, 1.4rem);
  --fs-lead:  clamp(1.05rem, 1.6vw, 1.3rem);
  --fs-body:  1rem;
  --fs-sm:    0.875rem;

  /* Übergänge */
  --ease:      0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --ease-fast: 0.22s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --maxw: 1200px;
  --nav-h: 72px;

  color-scheme: light dark;
}

/* ── 2. THEME: HELL ────────────────────────────────────────── */
:root,
[data-theme="light"] {
  --bg:          #eaf2f7;
  --bg-2:        #e3edf6;
  --bg-3:        #dde9f4;
  --surface:     #ffffff;
  --surface-2:   #f1f6fb;

  --text:        #16202e;
  --text-soft:   #475569;
  --text-mute:   #6b7280;
  --text-invert: #ffffff;

  --border:      rgba(16, 32, 50, 0.10);
  --border-soft: rgba(16, 32, 50, 0.06);

  /* Glas */
  --glass:        rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.86);
  --glass-border: rgba(255, 255, 255, 0.6);

  /* Akzent-Text (lesbar auf hell) */
  --accent-ink:  var(--tuerkis-tief);
  --accent-ink2: #9333ea;

  /* Schatten */
  --sh-s:  0 2px 8px rgba(16,32,50,0.06);
  --sh-m:  0 10px 30px rgba(16,32,50,0.09);
  --sh-l:  0 24px 60px rgba(16,32,50,0.13);
  --sh-brand: 0 18px 50px rgba(64, 224, 208, 0.28);

  /* Aurora-Hintergrundflecken (kräftiger für lebendiges Hell) */
  --aurora-1: rgba(64, 224, 208, 0.38);
  --aurora-2: rgba(192, 132, 252, 0.34);
  --aurora-3: rgba(165, 243, 252, 0.30);
  --aurora-4: rgba(45, 212, 191, 0.22);
}

/* ── 3. THEME: DUNKEL ──────────────────────────────────────── */
[data-theme="dark"] {
  --bg:          #0a0f1a;
  --bg-2:        #0d1422;
  --bg-3:        #111a2c;
  --surface:     #111a2c;
  --surface-2:   #152035;

  --text:        #eaf1fb;
  --text-soft:   #a7b4c8;
  --text-mute:   #7e8da3;
  --text-invert: #0a0f1a;

  --border:      rgba(255, 255, 255, 0.10);
  --border-soft: rgba(255, 255, 255, 0.06);

  --glass:        rgba(17, 26, 44, 0.62);
  --glass-strong: rgba(17, 26, 44, 0.82);
  --glass-border: rgba(255, 255, 255, 0.10);

  --accent-ink:  var(--tuerkis);
  --accent-ink2: var(--flieder);

  --sh-s:  0 2px 10px rgba(0,0,0,0.4);
  --sh-m:  0 12px 34px rgba(0,0,0,0.5);
  --sh-l:  0 26px 64px rgba(0,0,0,0.6);
  --sh-brand: 0 18px 54px rgba(64, 224, 208, 0.22);

  --aurora-1: rgba(64, 224, 208, 0.18);
  --aurora-2: rgba(192, 132, 252, 0.18);
  --aurora-3: rgba(13, 148, 136, 0.16);
  --aurora-4: rgba(99, 102, 241, 0.14);
}

/* ── 4. RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: none;
}

/* Aurora-Hintergrund (sanfte Marken-Lichter) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(50% 44% at 84% -6%,  var(--aurora-1) 0%, transparent 62%),
    radial-gradient(46% 48% at 2% 12%,   var(--aurora-2) 0%, transparent 62%),
    radial-gradient(44% 42% at 64% 108%, var(--aurora-3) 0%, transparent 62%),
    radial-gradient(40% 40% at 12% 92%,  var(--aurora-4) 0%, transparent 60%);
  pointer-events: none;
  transition: opacity var(--ease);
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--tuerkis); color: #00211d; }

h1, h2, h3, h4 { font-family: 'Sora', sans-serif; line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; }

/* ── 5. LAYOUT-HELFER ──────────────────────────────────────── */
.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; position: relative; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: var(--fs-sm);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: var(--s-4);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--brand-grad); }
.section-title { font-size: var(--fs-h2); margin-bottom: var(--s-4); }
.section-intro { font-size: var(--fs-lead); color: var(--text-soft); max-width: 56ch; }
.text-grad {
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ── 6. BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: var(--r-pill);
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: .98rem;
  cursor: pointer; white-space: nowrap;
  transition: transform var(--ease-fast), box-shadow var(--ease-fast), background var(--ease-fast), border-color var(--ease-fast);
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--brand-grad); color: #062e2a; box-shadow: var(--sh-brand); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 24px 60px rgba(64,224,208,.4); }
.btn-ghost { background: var(--surface); color: var(--text); border: 1.5px solid var(--border); box-shadow: var(--sh-s); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--tuerkis); box-shadow: var(--sh-m); }
.btn-light { background: rgba(255,255,255,.16); color: #fff; border: 1.5px solid rgba(255,255,255,.4); backdrop-filter: blur(8px); }
.btn-light:hover { background: rgba(255,255,255,.26); transform: translateY(-3px); }
/* Lange Buttons (z. B. Konfigurator-CTA) dürfen auf schmalen Screens umbrechen statt die Seite zu überlaufen */
@media (max-width: 560px) { .btn { white-space: normal; max-width: 100%; } }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.05rem; }

/* ── 7. NAVIGATION ─────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background var(--ease), box-shadow var(--ease), border-color var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: var(--glass);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--border-soft);
  box-shadow: var(--sh-s);
}
.nav__inner { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: var(--brand-grad); display: grid; place-items: center;
  color: #062e2a; font-weight: 800; box-shadow: var(--sh-brand);
}
.brand__mark svg { width: 20px; height: 20px; }
.nav__links { display: flex; align-items: center; gap: .35rem; }
.nav__links a {
  padding: .5rem .85rem; border-radius: var(--r-pill); font-weight: 500; font-size: .95rem;
  color: var(--text-soft); transition: color var(--ease-fast), background var(--ease-fast);
}
.nav__links a:hover { color: var(--text); background: var(--surface-2); }
.nav__actions { display: flex; align-items: center; gap: .5rem; }

/* Theme-Toggle */
.theme-toggle {
  width: 42px; height: 42px; border-radius: var(--r-pill); flex: none;
  display: grid; place-items: center;
  border: 1.5px solid var(--border); background: var(--surface);
  color: var(--text); box-shadow: var(--sh-s);
  transition: transform var(--ease-fast), border-color var(--ease-fast), background var(--ease-fast);
}
.theme-toggle:hover { transform: rotate(18deg) scale(1.06); border-color: var(--tuerkis); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* Burger */
.nav__burger { display: none; width: 42px; height: 42px; border-radius: var(--r-pill); border: 1.5px solid var(--border); background: var(--surface); }
.nav__burger span { display: block; width: 18px; height: 2px; margin: 3px auto; background: var(--text); border-radius: 2px; transition: var(--ease-fast); }

/* Mobile Menü */
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 999;
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  display: flex; flex-direction: column; padding: 1.5rem;
  transform: translateX(100%); transition: transform var(--ease); gap: .25rem;
  pointer-events: none;
}
.mobile-menu.open { transform: translateX(0); pointer-events: auto; }
.mobile-menu a { padding: 1rem 1.1rem; border-radius: var(--r-m); font-family: 'Sora',sans-serif; font-weight: 600; font-size: 1.25rem; border-bottom: 1px solid var(--border-soft); }
.mobile-menu a:hover { background: var(--surface-2); }

/* ── 8. HERO ───────────────────────────────────────────────── */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(2.5rem, 7vw, 5.5rem)); padding-bottom: clamp(3rem, 8vw, 6rem); overflow: hidden; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .5rem 1rem; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--sh-s); font-size: var(--fs-sm); font-weight: 500; color: var(--text-soft);
  margin-bottom: var(--s-5);
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tuerkis); box-shadow: 0 0 0 4px rgba(64,224,208,.22); }
.hero__title { font-size: var(--fs-hero); font-weight: 800; letter-spacing: -.035em; margin-bottom: var(--s-5); max-width: 16ch; }
.hero__lead { font-size: var(--fs-lead); color: var(--text-soft); max-width: 52ch; margin-bottom: var(--s-6); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__visual { position: relative; aspect-ratio: 1 / 1; }

/* Schwebende Marken-Karten im Hero */
.float-card {
  position: absolute; border-radius: var(--r-l); padding: 1rem 1.15rem;
  background: var(--glass-strong); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: var(--sh-l); display: flex; align-items: center; gap: .7rem; font-weight: 600;
}
.float-card .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-grad); color: #062e2a; flex: none; }
.float-card small { display: block; font-weight: 500; font-size: .78rem; color: var(--text-mute); }
.hero__orb {
  position: absolute; inset: 8% 8% 8% 8%; border-radius: 50%;
  background: conic-gradient(from 180deg, var(--tuerkis), var(--lila), var(--cyan-hell), var(--tuerkis));
  filter: blur(2px); opacity: .92;
  box-shadow: var(--sh-brand);
  animation: spin 22s linear infinite;
  -webkit-mask: radial-gradient(circle at center, transparent 38%, #000 39%, #000 60%, transparent 61%);
  mask: radial-gradient(circle at center, transparent 38%, #000 39%, #000 60%, transparent 61%);
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero__orb-core {
  position: absolute; inset: 26%; border-radius: 50%;
  background: var(--brand-grad); box-shadow: var(--sh-brand);
  display: grid; place-items: center; color: #062e2a;
  animation: pulse 4.5s ease-in-out infinite;
}
.hero__orb-core svg { width: 42%; height: 42%; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }

/* ── 9. STATS-LEISTE ───────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stat {
  text-align: center; padding: 1.5rem 1rem; border-radius: var(--r-l);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--sh-s);
}
.stat__num { font-family: 'Sora',sans-serif; font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); }
.stat__label { color: var(--text-soft); font-size: .95rem; margin-top: .2rem; }

/* ── 10. KARTEN-RASTER (Leistungen) ────────────────────────── */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.card {
  position: relative; border-radius: var(--r-l); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--sh-s);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-l); border-color: color-mix(in srgb, var(--tuerkis) 50%, var(--border)); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; position: relative; background: var(--bg-3); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__media::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.28)); opacity:0; transition: opacity var(--ease); }
.card:hover .card__media::after { opacity: 1; }
.card__body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card__icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-grad); color: #062e2a; margin-bottom: .25rem; box-shadow: var(--sh-brand); }
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: var(--fs-h3); }
.card p { color: var(--text-soft); font-size: .95rem; flex: 1; }
.card__link { display: inline-flex; align-items: center; gap: .4rem; font-family:'Sora',sans-serif; font-weight: 600; font-size: .92rem; color: var(--accent-ink); margin-top: .3rem; }
.card__link svg { width: 16px; height: 16px; transition: transform var(--ease-fast); }
.card:hover .card__link svg { transform: translateX(4px); }
.card__icon-only { padding-top: 1.35rem; }

/* ── 11. PORTFOLIO ─────────────────────────────────────────── */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.25rem; }
.pcard { position: relative; border-radius: var(--r-l); overflow: hidden; min-height: 280px; display: flex; align-items: flex-end; border: 1px solid var(--border); box-shadow: var(--sh-m); background: var(--bg-3); }
.pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pcard:hover img { transform: scale(1.07); }
.pcard__overlay { position: relative; z-index: 1; padding: 1.5rem; width: 100%; background: linear-gradient(180deg, transparent, rgba(6,18,30,.86)); color: #fff; }
.pcard__tag { display: inline-block; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .7rem; border-radius: var(--r-pill); background: var(--brand-grad); color: #062e2a; margin-bottom: .6rem; }
.pcard h3 { color: #fff; font-size: 1.25rem; margin-bottom: .35rem; }
.pcard p { color: rgba(255,255,255,.85); font-size: .92rem; }
.pcard small { display: block; margin-top: .5rem; color: rgba(255,255,255,.62); font-size: .8rem; }

/* ── 12. ÜBER UNS / SPLIT ──────────────────────────────────── */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.feature-list { display: grid; gap: 1rem; margin-top: var(--s-5); }
.feature { display: flex; gap: 1rem; padding: 1.1rem 1.2rem; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--sh-s); }
.feature .ic { width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--brand-grad); color: #062e2a; }
.feature h3 { font-size: 1.05rem; margin-bottom: .15rem; }
.feature p { color: var(--text-soft); font-size: .92rem; }

/* Zeitstrahl */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content:""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--brand-grad); border-radius: 2px; }
.timeline__item { position: relative; padding-bottom: 1.6rem; }
.timeline__item::before { content:""; position: absolute; left: -2rem; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--tuerkis); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tuerkis) 22%, transparent); }
.timeline__year { font-family:'Sora',sans-serif; font-weight: 700; color: var(--accent-ink); font-size: .95rem; }
.timeline__item h3 { font-size: 1.1rem; margin: .15rem 0 .3rem; }
.timeline__item p { color: var(--text-soft); font-size: .93rem; }

/* ── 13. ARCHIV ────────────────────────────────────────────── */
.filterbar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--s-6); }
.chip { padding: .5rem 1rem; border-radius: var(--r-pill); font-size: .9rem; font-weight: 500; background: var(--surface); border: 1px solid var(--border); color: var(--text-soft); transition: var(--ease-fast); }
.chip:hover { border-color: var(--tuerkis); color: var(--text); }
.chip.active { background: var(--brand-grad); color: #062e2a; border-color: transparent; font-weight: 600; }
.archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.1rem; }
.acard { padding: 1.3rem 1.4rem; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--sh-s); transition: transform var(--ease), box-shadow var(--ease); }
.acard:hover { transform: translateY(-4px); box-shadow: var(--sh-m); }
.acard__tag { font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); }
.acard h3 { font-size: 1.1rem; margin: .35rem 0 .4rem; }
.acard p { color: var(--text-soft); font-size: .92rem; }

/* ── 14. KONTAKT ───────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact-info { display: grid; gap: 1rem; }
.contact-item { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.2rem; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--sh-s); transition: var(--ease-fast); }
.contact-item:hover { transform: translateY(-3px); border-color: var(--tuerkis); box-shadow: var(--sh-m); }
.contact-item .ic { width: 46px; height: 46px; border-radius: 13px; flex:none; display:grid; place-items:center; background: var(--brand-grad); color:#062e2a; }
.contact-item small { color: var(--text-mute); font-size: .8rem; }
.contact-item strong { font-weight: 600; font-size: 1.02rem; }

.form-card { padding: clamp(1.5rem, 3vw, 2.2rem); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--sh-l); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: .4rem; color: var(--text-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border-radius: var(--r-m);
  background: var(--bg-2); border: 1.5px solid var(--border); color: var(--text);
  transition: border-color var(--ease-fast), box-shadow var(--ease-fast);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--tuerkis); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tuerkis) 18%, transparent); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .82rem; color: var(--text-mute); margin-top: .4rem; }

/* ── 15. FOOTER ────────────────────────────────────────────── */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem; margin-top: 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.footer__brand p { color: var(--text-soft); font-size: .92rem; margin: .8rem 0; max-width: 38ch; }
.footer__col h3 { font-size: .95rem; margin-bottom: .9rem; }
.footer__col a { display: block; color: var(--text-soft); font-size: .92rem; padding: .25rem 0; transition: color var(--ease-fast); }
.footer__col a:hover { color: var(--accent-ink); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--border-soft); color: var(--text-mute); font-size: .85rem; }
.footer__bottom a { color: var(--text-mute); }
.footer__bottom a:hover { color: var(--accent-ink); }

/* ── 16. LEISTUNGS-/RECHTSSEITEN (Sub-Pages) ───────────────── */
.subhero { padding-top: calc(var(--nav-h) + clamp(2.5rem, 6vw, 4.5rem)); padding-bottom: clamp(2rem, 4vw, 3rem); }
.subhero h1 { font-size: var(--fs-h1); margin-bottom: var(--s-4); }
.subhero p { font-size: var(--fs-lead); color: var(--text-soft); max-width: 60ch; }
.breadcrumb { display: flex; gap: .5rem; align-items: center; font-size: .85rem; color: var(--text-mute); margin-bottom: var(--s-4); }
.breadcrumb a:hover { color: var(--accent-ink); }
.prose-card { padding: clamp(1.6rem, 3vw, 2.6rem); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--sh-m); margin-bottom: 1.5rem; }
.prose-card h2 { font-size: var(--fs-h3); margin: 1.4rem 0 .7rem; color: var(--accent-ink); }
.prose-card h2:first-child { margin-top: 0; }
.prose-card p { color: var(--text-soft); margin-bottom: 1rem; }
.prose-card ul.ticks { display: grid; gap: .6rem; margin: .5rem 0 1rem; }
.prose-card ul.ticks li { display: flex; gap: .7rem; align-items: flex-start; color: var(--text-soft); }
.prose-card ul.ticks li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--tuerkis) 22%, transparent); color: var(--accent-ink); font-size: .8rem; font-weight: 700; margin-top: .1rem; }
.back-link { display: inline-flex; align-items: center; gap: .5rem; font-family:'Sora',sans-serif; font-weight: 600; color: var(--accent-ink); margin-top: 1rem; }

/* ── 17. SCROLL-REVEAL (no-JS-sicher: nur aktiv mit .reveal-on) ─
   Ohne JavaScript / ohne reveal-on bleibt ALLER Inhalt sichtbar. */
.reveal-on [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-on [data-reveal].in { opacity: 1; transform: none; }
.reveal-on [data-reveal-delay="1"] { transition-delay: .08s; }
.reveal-on [data-reveal-delay="2"] { transition-delay: .16s; }
.reveal-on [data-reveal-delay="3"] { transition-delay: .24s; }
.reveal-on [data-reveal-delay="4"] { transition-delay: .32s; }
.reveal-on [data-reveal-delay="5"] { transition-delay: .40s; }
/* Hero-Stagger: Startzustand vorab verstecken, damit der fertige Text beim Reload nicht
   1 Frame aufblitzt, bevor das JS die Einblende-Animation startet. JS (theme.js) blendet
   ein und sichert den sichtbaren Endzustand; ohne JS/reveal-on bleibt der Hero sichtbar. */
.reveal-on [data-hero-stagger] > * { opacity: 0; }

/* ── 18. KI-ASSISTENT WIDGET ───────────────────────────────── */
.ai-fab {
  position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem); z-index: 1100;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--brand-grad); color: #062e2a; box-shadow: var(--sh-brand);
  display: grid; place-items: center;
  transition: transform var(--ease-fast), box-shadow var(--ease-fast);
  animation: fabIn .5s var(--ease) both .8s;
}
@keyframes fabIn { from { transform: scale(0) rotate(-30deg); opacity: 0; } }
.ai-fab:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 20px 50px rgba(64,224,208,.5); }
.ai-fab svg { width: 28px; height: 28px; }
.ai-fab__pulse { position: absolute; inset: 0; border-radius: 50%; background: var(--tuerkis); opacity: .5; animation: fabPulse 2.6s ease-out infinite; z-index: -1; }
@keyframes fabPulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.8); opacity: 0; } }
.ai-fab.hidden { display: none; }

.ai-panel {
  position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem); z-index: 1101;
  width: min(420px, calc(100vw - 2rem)); height: min(640px, calc(100vh - 2rem));
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--glass-border); box-shadow: var(--sh-l);
  transform: translateY(20px) scale(.96); opacity: 0; pointer-events: none;
  transform-origin: bottom right;
  transition: transform var(--ease), opacity var(--ease);
}
.ai-panel.open { transform: none; opacity: 1; pointer-events: auto; }
.ai-head { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.1rem; background: var(--brand-grad); color: #062e2a; }
.ai-head__avatar { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.25); display: grid; place-items: center; flex: none; }
.ai-head__avatar svg { width: 24px; height: 24px; }
.ai-head h3 { font-size: 1.02rem; line-height: 1.2; color: #062e2a; }
.ai-head small { font-size: .78rem; opacity: .8; display: flex; align-items: center; gap: .35rem; }
.ai-head small::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: #052b27; }
.ai-head__close { margin-left: auto; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #062e2a; transition: background var(--ease-fast); }
.ai-head__close:hover { background: rgba(255,255,255,.25); }
.ai-body { flex: 1; overflow-y: auto; padding: 1.1rem; display: flex; flex-direction: column; gap: .85rem; scroll-behavior: smooth; }
.ai-msg { max-width: 85%; padding: .75rem 1rem; border-radius: var(--r-m); font-size: .94rem; line-height: 1.55; }
.ai-msg.bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--border); border-bottom-left-radius: 6px; }
.ai-msg.user { align-self: flex-end; background: var(--brand-grad); color: #062e2a; border-bottom-right-radius: 6px; font-weight: 500; }
.ai-msg p { margin-bottom: .5rem; } .ai-msg p:last-child { margin-bottom: 0; }
.ai-msg a { color: var(--accent-ink); font-weight: 600; text-decoration: underline; }
.ai-msg strong { font-weight: 700; }
.ai-msg .ai-pagelink {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: .5rem; padding: .5rem .85rem;
  border-radius: var(--r-pill); background: var(--brand-grad); color: #062e2a;
  font-weight: 700; font-size: .85rem; text-decoration: none;
  box-shadow: var(--sh-brand); transition: transform var(--ease-fast), box-shadow var(--ease-fast);
}
.ai-msg .ai-pagelink:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(64,224,208,.4); }

/* ── Archiv-Lightbox (Smooth-Zoom) ─────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  display: grid; place-items: center; padding: 4vmin;
  background: rgba(6, 12, 22, 0.86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s;
}
.lightbox.open { opacity: 1; visibility: visible; transition: opacity .35s ease, visibility 0s linear 0s; }
.lightbox img {
  max-width: 92vw; max-height: 88vh; border-radius: var(--r-m);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  transform: scale(.9); opacity: 0; cursor: zoom-in;
  transition: transform .42s cubic-bezier(0.16, 1, 0.3, 1), opacity .35s ease;
}
.lightbox.open img { transform: scale(1); opacity: 1; }
.lightbox.zoomed img { transform: scale(1.7); cursor: zoom-out; }
.lightbox__close {
  position: absolute; top: 18px; right: 22px; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 1.9rem; line-height: 1;
  display: grid; place-items: center; transition: background var(--ease-fast);
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.28); }
@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox img { transition: opacity .2s ease; }
}

/* ── Honeypot-Feld (Spam-Schutz, für Menschen unsichtbar) ──── */
.hp-field {
  position: absolute !important; left: -9999px !important; top: auto;
  width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none;
}

/* ── Formular-Status (Inline-Versand) ──────────────────────── */
.form-status { margin-top: .9rem; font-size: .92rem; font-weight: 500; line-height: 1.55; border-radius: var(--r-m); }
.form-status:empty { display: none; }
.form-status.sending { color: var(--text-soft); }
.form-status.ok  { color: #0f7a4d; background: rgba(34, 197, 94, 0.12);  padding: .75rem 1rem; }
.form-status.err { color: #b42318; background: rgba(239, 68, 68, 0.10); padding: .75rem 1rem; }
.form-status.err a { color: inherit; text-decoration: underline; font-weight: 600; }
[data-theme="dark"] .form-status.ok  { color: #6ee7b7; background: rgba(34, 197, 94, 0.14); }
[data-theme="dark"] .form-status.err { color: #fca5a5; background: rgba(239, 68, 68, 0.14); }
.ai-typing { align-self: flex-start; display: flex; gap: .3rem; padding: .85rem 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-m); border-bottom-left-radius: 6px; }
.ai-typing span { width: 8px; height: 8px; border-radius: 50%; background: var(--tuerkis); animation: typing 1.2s infinite ease-in-out; }
.ai-typing span:nth-child(2) { animation-delay: .2s; } .ai-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%,60%,100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-6px); opacity: 1; } }
.ai-suggests { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0 1.1rem .6rem; }
.ai-suggest { padding: .5rem .8rem; border-radius: var(--r-pill); font-size: .82rem; background: var(--surface); border: 1px solid var(--border); color: var(--text-soft); transition: var(--ease-fast); }
.ai-suggest:hover { border-color: var(--tuerkis); color: var(--text); transform: translateY(-2px); }
.ai-input { display: flex; gap: .5rem; padding: .8rem 1rem 1rem; border-top: 1px solid var(--border-soft); }
.ai-input input { flex: 1; padding: .75rem 1rem; border-radius: var(--r-pill); background: var(--bg-2); border: 1.5px solid var(--border); }
.ai-input input:focus { outline: none; border-color: var(--tuerkis); }
.ai-input button { width: 46px; height: 46px; border-radius: 50%; flex: none; background: var(--brand-grad); color: #062e2a; display: grid; place-items: center; transition: transform var(--ease-fast); }
.ai-input button:hover { transform: scale(1.08); }
.ai-input button:disabled { opacity: .5; cursor: not-allowed; }
.ai-disclaimer { font-size: .72rem; color: var(--text-mute); text-align: center; padding: 0 1rem .7rem; }

/* Mobil: Chat als Vollbild; Höhe folgt dem sichtbaren Fenster (--ai-vh wird
   per JS aus visualViewport gesetzt), damit die Bildschirmtastatur das
   Eingabefeld nicht verdeckt. Fallback 100dvh, falls JS/visualViewport fehlt. */
@media (max-width: 560px) {
  .ai-panel {
    inset: 0 0 auto 0; width: 100%;
    height: var(--ai-vh, 100dvh); max-height: var(--ai-vh, 100dvh);
    border-radius: 0;
    transform: translateY(100%); transform-origin: center bottom;
  }
  .ai-panel.open { transform: none; }
}

/* ── 19. COOKIE-BANNER ─────────────────────────────────────── */
.cookie-bar {
  position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%) translateY(150%); z-index: 1200;
  width: min(640px, calc(100vw - 2rem)); padding: 1.1rem 1.3rem;
  background: var(--glass-strong); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border); border-radius: var(--r-l); box-shadow: var(--sh-l);
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; transition: transform var(--ease);
}
.cookie-bar.show { transform: translateX(-50%) translateY(0); }
.cookie-bar p { flex: 1; min-width: 240px; font-size: .88rem; color: var(--text-soft); }
.cookie-bar .actions { display: flex; gap: .6rem; }

/* ── 20. RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 940px) {
  .hero__grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 340px; margin-inline: auto; order: -1; }
  .float-card { display: none; }              /* dekorative Karten raus → kein Überlappen */
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav__links { display: none; }
  .nav__burger { display: block; }
}
@media (max-width: 768px) {
  .hero__visual { display: none; }            /* Fokus auf Text + CTA „above the fold" */
  .hero { padding-top: calc(var(--nav-h) + 1.5rem); }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  /* „Jetzt anfragen" aus der Leiste nehmen → Burger bleibt erreichbar.
     Kontakt über Burger-Menü + Sticky-CTA unten. */
  .nav__actions .btn { display: none; }
}

/* ── 21. UTILITIES ─────────────────────────────────────────── */
.mt-1{margin-top:var(--s-4)} .mt-2{margin-top:var(--s-6)} .center{text-align:center}
.mx-auto{margin-inline:auto} .muted{color:var(--text-mute)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.skip-link{position:absolute;left:-999px;top:0;z-index:2000;background:var(--surface);padding:.6rem 1rem;border-radius:0 0 var(--r-s) 0}
.skip-link:focus{left:0}
/* Branded keyboard-focus indicator (only for keyboard nav, not mouse clicks) */
a:focus-visible, button:focus-visible, .btn:focus-visible, [role="button"]:focus-visible, nav a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--tuerkis,#40E0D0); outline-offset: 2px; border-radius: var(--r-s, 4px); }

/* ══════════════════════════════════════════════════════════════
   v5.1 POLISH — Bildgrößen · farbiges Hell · Conversion (CRO)
   ══════════════════════════════════════════════════════════════ */

/* ── Markenname (länger) sauber umbrechen ──────────────────── */
.brand { font-size: clamp(.98rem, 1.4vw, 1.12rem); white-space: nowrap; }
@media (max-width: 380px) { .brand span .text-grad { display: none; } } /* nur "PrintLine" auf Mini-Screens */

/* ── BILDER in Inhalten begrenzen (Fix "zu groß") ──────────── */
.prose-figure {
  margin: 0 0 1.4rem; border-radius: var(--r-l); overflow: hidden;
  box-shadow: var(--sh-m); border: 1px solid var(--border); background: var(--bg-3);
  aspect-ratio: 16 / 10; max-width: 640px;   /* Platz reservieren → kein Layout-Shift (CLS) */
}
.prose-figure img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.prose-figure figcaption { padding: .55rem .9rem; font-size: .82rem; color: var(--text-mute); }
/* Einzelbilder, die direkt in prose-card / Absätzen stecken */
.prose-card > img, .prose-card p > img, .prose-card > figure > img:not(.prose-figure img) {
  width: 100%; max-height: 380px; object-fit: cover;
  border-radius: var(--r-m); box-shadow: var(--sh-s); margin: .4rem 0 1.2rem; display: block;
}
/* Mehrere Bilder → automatische Galerie */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin: 1rem 0 1.4rem; }
.media-grid .card__media, .media-grid figure { aspect-ratio: 4/3; border-radius: var(--r-m); overflow: hidden; box-shadow: var(--sh-s); border: 1px solid var(--border); margin: 0; }
.media-grid img { width: 100%; height: 100%; object-fit: cover; }
/* Lose card__media (ohne .card-Wrapper) bändigen */
.prose-card .card__media, .section > .wrap > .card__media { aspect-ratio: 4/3; max-height: 260px; border-radius: var(--r-m); overflow: hidden; }

/* ── Farbige Subhero & Prose-Card-Akzente (gegen "steril") ─── */
.subhero { position: relative; }
.subhero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 80% at 88% 0%, color-mix(in srgb, var(--lila) 16%, transparent), transparent 60%),
    radial-gradient(50% 90% at 0% 30%, color-mix(in srgb, var(--tuerkis) 16%, transparent), transparent 60%);
  pointer-events: none;
}
.subhero h1 { letter-spacing: -.03em; }
.prose-card { position: relative; overflow: hidden; }
.prose-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: var(--brand-grad); opacity: .9;
}
/* Abwechselnd zarte Tönung der Sektionen → lebendiger */
.section--tint { background:
  linear-gradient(180deg, transparent, color-mix(in srgb, var(--tuerkis) 6%, transparent) 50%, transparent); }

/* ── TRUST-BAR (Vertrauen, direkt unter Hero) ──────────────── */
.trust-bar { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: center; align-items: center;
  padding: 1rem 1.2rem; border-radius: var(--r-l); background: var(--glass);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--border); box-shadow: var(--sh-s); }
.trust-item { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .92rem; color: var(--text); }
.trust-item svg { width: 20px; height: 20px; color: var(--accent-ink); flex: none; }
.trust-item .num { font-family: 'Sora',sans-serif; }

/* ── CTA-BAND (Conversion-Sektion) ─────────────────────────── */
.cta-band { position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: var(--brand-grad); color: #06302b; box-shadow: var(--sh-brand);
  padding: clamp(2rem, 5vw, 3.5rem); text-align: center; }
.cta-band::before { content:""; position:absolute; inset:0;
  background: radial-gradient(60% 120% at 80% 0%, rgba(255,255,255,.35), transparent 60%); pointer-events:none; }
.cta-band h2 { position: relative; font-size: var(--fs-h2); color: #06302b; margin-bottom: .6rem; }
.cta-band p { position: relative; font-size: var(--fs-lead); color: #06302b; opacity: .85; max-width: 56ch; margin: 0 auto 1.6rem; }
.cta-band__actions { position: relative; display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }
.cta-band .btn-solid { background: #06302b; color: #fff; }
.cta-band .btn-solid:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.cta-band .btn-white { background: rgba(255,255,255,.92); color: #06302b; }
.cta-band .btn-white:hover { transform: translateY(-3px); background:#fff; }

/* ── FAQ (sichtbar → SEO Rich-Snippets + Conversion) ───────── */
.faq-list { display: grid; gap: .8rem; max-width: 820px; margin-inline: auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r-m); background: var(--surface); box-shadow: var(--sh-s); overflow: hidden; }
.faq-q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.3rem; font-family: 'Sora',sans-serif; font-weight: 600; font-size: 1.05rem; cursor: pointer; }
.faq-q svg { width: 22px; height: 22px; flex: none; color: var(--accent-ink); transition: transform var(--ease-fast); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--ease); }
.faq-a p { padding: 0 1.3rem 1.2rem; color: var(--text-soft); }
.faq-item.open .faq-a { max-height: none; } /* volle Höhe per theme.js (scrollHeight); 'none' = Fallback ohne JS */

/* ── STICKY MOBILE CTA (von theme.js injiziert) ────────────── */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1090; display: none;
  grid-template-columns: 1fr 1fr; gap: .5rem; padding: .6rem .7rem calc(.6rem + env(safe-area-inset-bottom));
  background: var(--glass-strong); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-top: 1px solid var(--border); box-shadow: 0 -8px 30px rgba(0,0,0,.12); }
.sticky-cta a { display: flex; align-items: center; justify-content: center; gap: .45rem; padding: .85rem; border-radius: var(--r-m);
  font-family: 'Sora',sans-serif; font-weight: 600; font-size: .95rem; }
.sticky-cta .s-call { background: var(--surface); color: var(--text); border: 1.5px solid var(--border); }
.sticky-cta .s-quote { background: var(--brand-grad); color: #06302b; }
.sticky-cta svg { width: 18px; height: 18px; }
@media (max-width: 768px) {
  .sticky-cta { display: grid; }
  .ai-fab { bottom: calc(72px + env(safe-area-inset-bottom)); }
  body { padding-bottom: 64px; }
}

/* ── Kleinere Bild-Defaults für Referenzkarten ─────────────── */
.pcard { min-height: 260px; }
@media (max-width: 560px){ .pcard { min-height: 220px; } .cta-band__actions .btn { width: 100%; } }

/* ── Echtes Marken-Logo (ersetzt das Icon in Nav & Footer) ── */
.brand__logo { height: 34px; width: auto; flex: none; display: block; }
.footer .brand__logo { height: 40px; }
@media (max-width: 380px) { .brand__logo { height: 30px; } }

/* ── Sanfter Hell/Dunkel-Wechsel (nur während des Umschaltens aktiv) ── */
.theme-anim, .theme-anim *, .theme-anim *::before, .theme-anim *::after {
  transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .theme-anim, .theme-anim *, .theme-anim *::before, .theme-anim *::after { transition: none !important; }
}

/* ── Logo im Dunkelmodus besser sichtbar (dünner weißer Halo) ── */
[data-theme="dark"] .brand__logo {
  filter: drop-shadow(0 0 1.5px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 1px rgba(255, 255, 255, 0.6));
}

/* ── Archiv-Bildkarten (echte Projektbilder im neuen Design) ── */
.acard--photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.acard--photo .acard__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-3); }
.acard--photo .acard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.acard--photo:hover .acard__media img { transform: scale(1.06); }
.acard--photo .acard__cap { padding: .9rem 1.1rem 1.1rem; }
.acard--photo .acard__cap h3 { font-size: 1.02rem; margin: .3rem 0 0; line-height: 1.25; }

/* ── Hochformat-Bild (z. B. Fahne) ── */
.prose-figure--tall { aspect-ratio: auto; max-width: 380px; margin-inline: auto; }
.prose-figure--tall img { width: 100%; height: auto; max-height: 520px; object-fit: contain; }

/* ── Referenzbilder auf Unterseiten (CPC/Zeitfracht) kleiner ── */
.prose-card .portfolio-grid { max-width: 720px; margin-inline: auto; }
.prose-card .pcard { min-height: 200px; }



/* ── DRUCK / PDF: interaktive Chrome ausblenden, Inhalt schwarz auf weiß ── */
@media print {
  .nav, .mobile-menu, .sticky-cta, .theme-toggle, .ai-fab, .ai-fab__pulse,
  .skip-link, #plcb, .cookie-banner, [data-cookie] { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .wrap { width: 100% !important; max-width: 100% !important; }
  .prose-card, .card, section { box-shadow: none !important; background: #fff !important; }
  a { color: #000 !important; }
}
