/* ═══════════════════════════════════════════════════
   VERWORRN DESIGN — style.css
   Layout: Website1 · Palette: Verworrn 2026
   ═══════════════════════════════════════════════════ */

* { -webkit-tap-highlight-color: transparent; }

:root {
  --bg:         #F4F4F4;
  --white:      #FFFFFF;
  --text:       #1A1918;
  --mid:        #706F6A;
  --line:       #E0DDD8;
  --accent:     #F0613F;
  --accent-dim: #FDF0EC;
  --dark:       #404140;
  --dark-deep:  #101014;
  --nav-h:      58px;
  --gap:        2px;
  --pad:        clamp(18px, 5vw, 80px);
  --max:        1440px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  overflow-x: hidden;
}
body {
  font-family: 'Inter', system-ui, -apple-system, Helvetica, Arial, sans-serif;
  background: var(--dark-deep); /* = Footer-Farbe → iOS Overscroll unten nahtlos */
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { background: var(--bg); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
figure { margin: 0; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.label {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.label--muted { color: var(--mid); }
.label--dark  { color: rgba(255,255,255,.3); }

.section-head { margin-bottom: 48px; }
.section-head h2 {
  font-size: clamp(24px, 3.2vw, 44px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--text);
}
.section-head--light h2 { color: var(--white); }

/* ── Buttons ──────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px 28px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.btn-primary:hover { background: #d4512f; transform: translateY(-1px); }

.btn-ghost {
  font-size: 13px;
  font-weight: 400;
  color: var(--mid);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color .2s;
}
.btn-ghost:hover { color: var(--text); }


/* ═══════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════ */
#nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  background: linear-gradient(to bottom, rgba(244,244,244,0.97) 0%, rgba(244,244,244,0) 100%);
  transition: background .3s, box-shadow .3s;
}
#nav.scrolled {
  background: var(--bg);
  box-shadow: 0 1px 0 var(--line);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; }
.nav-logo-img {
  height: 22px;
  width: auto;
  filter: brightness(0);
  transition: filter .3s;
}

#nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}
#nav-menu a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--mid);
  transition: color .2s;
}
#nav-menu a:hover { color: var(--text); }

.nav-cta {
  background: var(--text) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase;
  border: none !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--accent) !important; color: var(--white) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform .28s, opacity .28s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-6.5px) rotate(-45deg); }


/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hero {
  display: grid;
  grid-template-columns: 50% 50%;
  min-height: 100svh;
}

.hero-left {
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 72px) var(--pad) 64px;
}

.hero-meta-top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 36px;
  opacity: .7;
}
.hero-meta-top .dot { color: var(--accent); }

.hero-title {
  font-family: 'Inter', system-ui, Helvetica, Arial, sans-serif;
  font-size: clamp(32px, 5vw, 66px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 22px;
}
.hero-title em {
  font-style: normal;
  color: var(--mid);
}

.hero-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.hero-banner span {
  display: inline-block;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 100px;
  white-space: nowrap;
  border: 1px solid rgba(240,97,63,.12);
}

.hero-sub {
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 300;
  color: var(--mid);
  line-height: 1.8;
  max-width: 360px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-right {
  position: relative;
  overflow: hidden;
  background: #d6d4ce;
}
.hero-right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 10s ease;
}
.hero-right:hover img { transform: scale(1.04); }


/* ═══════════════════════════════════════════════
   TICKER
   ═══════════════════════════════════════════════ */
.ticker {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 12px 0;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
  width: max-content;
  animation: ticker-scroll 36s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}
.ticker-track span {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.ticker-track .sep { color: var(--line); letter-spacing: 0; font-size: 12px; }

@keyframes ticker-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}


/* ═══════════════════════════════════════════════
   LEISTUNGEN — Accordion
   ═══════════════════════════════════════════════ */
.services {
  background: var(--bg);
  padding: 96px 0 0;
}

.service-item {
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .45s ease, transform .45s ease;
}
.service-item.in { opacity: 1; transform: none; }
.service-item:last-child { border-bottom: 1px solid var(--line); margin-bottom: 96px; }
.service-item:nth-child(1) { transition-delay: .04s; }
.service-item:nth-child(2) { transition-delay: .10s; }
.service-item:nth-child(3) { transition-delay: .16s; }
.service-item:nth-child(4) { transition-delay: .22s; }
.service-item:nth-child(5) { transition-delay: .28s; }

.service-row {
  width: 100%;
  display: grid;
  grid-template-columns: 52px 200px 1fr 36px;
  align-items: center;
  gap: 0 16px;
  padding: 22px var(--pad);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background .2s;
}
.service-row:hover { background: var(--white); }
.service-row[aria-expanded="true"] { background: var(--white); }

.sr-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid);
  transition: color .22s;
  flex-shrink: 0;
}
.sr-icon svg { width: 18px; height: 18px; }
.service-row:hover .sr-icon,
.service-row[aria-expanded="true"] .sr-icon { color: var(--accent); }

.sr-title { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; color: var(--text); }
.sr-tags  { font-size: 12px; color: var(--mid); line-height: 1.5; }
.sr-toggle {
  font-size: 20px;
  font-weight: 300;
  color: var(--line);
  justify-self: end;
  transition: transform .25s cubic-bezier(.4,0,.2,1), color .2s;
  user-select: none;
}
.service-row[aria-expanded="true"] .sr-toggle { transform: rotate(45deg); color: var(--accent); }

.service-detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s cubic-bezier(.4,0,.2,1);
  background: var(--white);
}
.service-detail.open { grid-template-rows: 1fr; }
.service-detail > p {
  overflow: hidden;
  font-size: 13.5px;
  color: var(--mid);
  line-height: 1.85;
  padding: 0 var(--pad) 0 calc(var(--pad) + 52px + 16px);
  transition: padding-bottom .3s;
}
.service-detail.open > p { padding-bottom: 28px; }


/* ═══════════════════════════════════════════════
   KUNDEN — Logo Scrollstrip
   ═══════════════════════════════════════════════ */
.client-strip {
  background: var(--bg);
  padding: 48px 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.client-strip .container { margin-bottom: 22px; }

.client-track-wrap { position: relative; overflow: hidden; }
.client-track-wrap::before,
.client-track-wrap::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  width: 80px; z-index: 2; pointer-events: none;
}
.client-track-wrap::before { left: 0;  background: linear-gradient(to right, var(--bg), transparent); }
.client-track-wrap::after  { right: 0; background: linear-gradient(to left,  var(--bg), transparent); }

.client-track {
  display: flex;
  align-items: center;
  gap: 52px;
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}
.client-logo {
  height: 28px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  opacity: .6;
  filter: grayscale(1) brightness(0.45);
  transition: opacity .25s, filter .25s;
}
.client-logo:hover { opacity: 1; filter: grayscale(0) brightness(1); }
.client-logo img { height: 100%; width: auto; max-width: 110px; object-fit: contain; }


/* ═══════════════════════════════════════════════
   PORTFOLIO / GALERIE — Mockup-Style
   Dark bg, 3×3 grid, hover overlay
   ═══════════════════════════════════════════════ */
.portfolio {
  background: #181818;
  padding: 96px 0 0;
}
.portfolio .container { padding-bottom: 40px; }

.portfolio-nda {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,.55);
  font-style: italic;
  max-width: 500px;
}

.portfolio-scroll-hint { display: none; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.p-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: #1c1c20;
  opacity: 0;
  transition: opacity .55s ease;
}
.p-item.in { opacity: 1; }
.p-item:nth-child(1) { transition-delay: .04s; }
.p-item:nth-child(2) { transition-delay: .09s; }
.p-item:nth-child(3) { transition-delay: .14s; }
.p-item:nth-child(4) { transition-delay: .19s; }
.p-item:nth-child(5) { transition-delay: .24s; }
.p-item:nth-child(6) { transition-delay: .29s; }
.p-item:nth-child(7) { transition-delay: .34s; }
.p-item:nth-child(8) { transition-delay: .39s; }
.p-item:nth-child(9) { transition-delay: .44s; }

.p-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.25,.46,.45,.94);
}
.p-item:hover img { transform: scale(1.06); }

/* Hover overlay — gradient mit Titel + Beschreibung */
.p-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16,16,20,.82);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity .35s ease;
}
.p-item:hover .p-overlay { opacity: 1; }

.p-overlay-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
  line-height: 1.3;
}
.p-overlay-desc {
  font-size: 11.5px;
  color: rgba(255,255,255,.88);
  line-height: 1.55;
}


/* ═══════════════════════════════════════════════
   ÜBER UNS
   ═══════════════════════════════════════════════ */
.about { background: var(--bg); padding: 96px 0; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.about-left {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: sticky;
  top: calc(var(--nav-h) + 32px);
}
.about-left h2 {
  font-family: 'Barlow Condensed', 'Inter', system-ui, sans-serif;
  font-size: clamp(42px, 5.5vw, 76px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.94;
  letter-spacing: -0.01em;
  color: var(--text);
}
.about-left .btn-primary { align-self: flex-start; }

.about-right { display: flex; flex-direction: column; gap: 22px; padding-top: 8px; }
.about-lead {
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 300;
  line-height: 1.7;
  color: var(--text);
}
.about-right > p { font-size: 14px; color: var(--mid); line-height: 1.9; }

blockquote {
  border-left: 2px solid var(--accent);
  padding: 2px 0 2px 20px;
}
blockquote > * {
  font-size: 15px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.75;
  color: var(--text);
}
blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: 9.5px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
}


/* ═══════════════════════════════════════════════
   KONTAKT
   ═══════════════════════════════════════════════ */
.contact { background: var(--white); padding: 96px 0; }

.contact-top {
  border-bottom: 1px solid var(--line);
  padding-bottom: 52px;
  margin-bottom: 52px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-email {
  display: inline-block;
  font-family: 'Inter', system-ui, Helvetica, Arial, sans-serif;
  font-size: clamp(30px, 5.5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
  transition: color .2s;
}
.contact-email:hover { color: var(--accent); }

.contact-meta { display: flex; gap: 24px; flex-wrap: wrap; }
.contact-meta a,
.contact-meta span { font-size: 13px; color: var(--mid); transition: color .2s; }
.contact-meta a:hover { color: var(--text); }

.contact-bottom > p {
  font-size: 14px;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 32px;
}

form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group--full { grid-column: 1 / -1; }
.form-privacy { display: flex; align-items: flex-start; gap: 10px; }
.form-privacy input { margin-top: 2px; flex-shrink: 0; accent-color: var(--accent); }
.form-privacy label {
  font-size: 11px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--mid);
  line-height: 1.55;
}
.form-privacy label a { color: var(--accent); text-decoration: underline; }

label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
}
input, textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 11px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  outline: none;
  resize: vertical;
  transition: border-color .2s;
}
input::placeholder, textarea::placeholder { color: rgba(0,0,0,.25); }
input:focus, textarea:focus { border-color: var(--accent); }
.form-actions { display: flex; align-items: center; gap: 18px; margin-top: 4px; }
.form-status { font-size: 12px; font-weight: 500; }
.form-status.success { color: #059669; }
.form-status.error   { color: #DC2626; }


/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer {
  background: var(--dark-deep);
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.footer-logo-img {
  display: block;
  height: 22px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  object-position: left;
  flex-shrink: 0;
  filter: brightness(0) invert(0.6);
  transition: filter .2s;
}
.footer-logo-img:hover { filter: brightness(0) invert(0.85); }
.footer-sub { font-size: 9.5px; color: rgba(255,255,255,.45); letter-spacing: .04em; }
.footer-nav { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { font-size: 11px; color: rgba(255,255,255,.5); transition: color .2s; }
.footer-nav a:hover { color: rgba(255,255,255,.85); }
.footer-copy { font-size: 11px; color: rgba(255,255,255,.38); white-space: nowrap; }


/* ═══════════════════════════════════════════════
   COOKIE BANNER (DSGVO)
   ═══════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  transition: transform .4s ease, opacity .4s ease;
}
.cookie-banner--out { transform: translateY(100%); opacity: 0; pointer-events: none; }
.cookie-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 220px; }
.cookie-text strong { display: block; font-size: 12px; font-weight: 600; color: var(--white); margin-bottom: 3px; }
.cookie-text p { font-size: 12px; font-weight: 300; color: rgba(255,255,255,.4); line-height: 1.6; margin: 0; }
.cookie-text a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 9px 20px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.cookie-btn--ghost  { background: transparent; border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.5); }
.cookie-btn--ghost:hover { border-color: rgba(255,255,255,.5); color: var(--white); }
.cookie-btn--primary { background: var(--accent); border-color: var(--accent); color: var(--white); }
.cookie-btn--primary:hover { background: #d4512f; }


/* ═══════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-up.in { opacity: 1; transform: none; }


/* ═══════════════════════════════════════════════
   LEGAL PAGES
   ═══════════════════════════════════════════════ */
.legal-page { background: var(--bg); min-height: 100svh; padding: calc(var(--nav-h) + 72px) 0 96px; }
.legal-content { max-width: 720px; }
.legal-content h1 { font-size: clamp(28px, 4vw, 48px); font-weight: 300; letter-spacing: -.02em; margin-bottom: 48px; color: var(--text); }
.legal-content h2 { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--mid); margin: 36px 0 10px; }
.legal-content p, .legal-content li { font-size: 14px; line-height: 1.85; color: #4a4845; margin-bottom: 8px; }
.legal-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-content address { font-style: normal; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mid); margin-bottom: 48px; transition: color .2s; }
.legal-back:hover { color: var(--text); }


/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 55% 45%; }
  .service-row { grid-template-columns: 44px 160px 1fr 32px; }
  .about-grid { grid-template-columns: 1fr; gap: 52px; }
  .about-left { position: static; }
  .form-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  #nav-menu {
    display: none;
    position: fixed;
    top: var(--nav-h);
    inset-inline: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px var(--pad) 32px;
    gap: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
  }
  #nav-menu.open { display: flex; }
  #nav-menu a { font-size: 15px; color: var(--mid); }
  .nav-cta { background: var(--accent) !important; padding: 10px 20px !important; font-size: 13px !important; }
  .nav-toggle { display: flex; }

  .hero { grid-template-columns: 1fr; min-height: unset; }
  .hero-left {
    justify-content: flex-start;
    min-height: unset;
    padding-top: calc(var(--nav-h) + 40px);
    padding-bottom: 56px;
  }
  .hero-right { display: none; }
  .hero-banner span { font-size: 9.5px; padding: 4px 10px; }

  .service-row { grid-template-columns: 40px 1fr 28px; gap: 0 10px; }
  .sr-tags { display: none; }
  .service-detail > p { padding-left: calc(var(--pad) + 40px + 10px); }

  .portfolio-scroll-hint {
    display: block;
    text-align: center;
    font-size: 9px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.2);
    padding: 0 var(--pad) 14px;
  }
  .portfolio-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 var(--pad) 48px;
    scrollbar-width: none;
  }
  .portfolio-grid::-webkit-scrollbar { display: none; }
  .p-item {
    flex: 0 0 74vw;
    height: 74vw;
    scroll-snap-align: start;
    aspect-ratio: unset;
  }

  .about-right { gap: 22px; }
  .about-right blockquote { margin-top: 16px; }
  .about-left h2 { font-size: clamp(38px, 9vw, 60px); }
  .contact { padding: 56px 0; }
  .form-row { grid-template-columns: 1fr; }
  .nav-legal { font-size: 12px !important; color: rgba(100,100,100,.6) !important; margin-top: 4px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; justify-items: start; }
  .footer-copy { order: 99; }
  .cookie-inner { flex-direction: column; align-items: flex-start; }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}

@media (max-width: 480px) {
  .p-item { flex: 0 0 85vw; height: 85vw; }
  .hero-title { font-size: clamp(28px, 9vw, 48px); }
}

/* Overlay nur auf Hover-Geräten (Desktop) */
@media (hover: none) {
  .p-overlay { display: none; }
  .p-item::after {
    content: 'Info';
    position: absolute;
    bottom: 10px; right: 10px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.9);
    background: rgba(0,0,0,.42);
    padding: 5px 10px;
    border-radius: 20px;
    pointer-events: none;
  }
}

/* ═══════════════════════════════════════════════
   MOBILE PORTFOLIO LIGHTBOX
   ═══════════════════════════════════════════════ */
#portfolio-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 8000;
  align-items: flex-end;
}
#portfolio-lightbox.open { display: flex; }

.lb-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10,10,14,.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.lb-modal {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 92svh;
  background: var(--white);
  border-radius: 18px 18px 0 0;
  overflow-y: auto;
  animation: lb-slide-up .3s ease;
}
@keyframes lb-slide-up {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.lb-close {
  position: absolute;
  top: 14px; right: 16px;
  width: 32px; height: 32px;
  border: none; border-radius: 50%;
  background: rgba(0,0,0,.08);
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.lb-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
}
.lb-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.lb-body {
  padding: 20px 22px 32px;
}
.lb-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}
.lb-desc {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.65;
  margin: 0;
}
