/* ==========================================================================
   DIGITAL - Websites, Apps & Games. Baut auf style.css auf (Hero, Marquee,
   Section-Heads, Buttons, Reveals). Hier nur: Pixel-Bühne im Hero, Geräte-
   Rahmen mit Vorschau, Fakten, Pakete, Warum, Ablauf, Anfrage.
   ========================================================================== */

.nav-link.is-current { text-decoration: underline; text-underline-offset: .28em; text-decoration-thickness: 2px; }

/* Hero: Pixel-Bühne statt Polaroid ------------------------------------------ */
.hero--digital { grid-template-rows: auto auto auto auto; align-content: start; height: auto; min-height: 100svh; row-gap: clamp(14px, 2.5vw, 30px); }
.hero-title--digital { font-size: clamp(44px, 8.5vw, 132px); }
.hero-media--digital { flex-direction: column; gap: clamp(14px, 2vw, 24px); padding-top: 0; }
.pixel-stage {
  width: min(94vw, 720px);
  border: 4px solid var(--paper);
  box-shadow: 8px 8px 0 #2b2b2b;
  background: #0a0a0a;
  overflow: hidden;
}
.pixel-stage canvas {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
/* Hero-Knöpfe: groß, Pixel-Schatten, Untertitel, Icon läuft beim Hover */
.hero-cta--digital { align-items: stretch; gap: 16px; margin-top: clamp(8px, 2vw, 22px); }
.btn-hero {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 250px;
  padding: 12px 22px 10px 16px;
  color: var(--ink);
  background: var(--paper);
  border: 3px solid var(--paper);
  box-shadow: 6px 6px 0 #3a3a3a;
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s ease, color .2s ease;
}
.btn-hero:hover { transform: translate(-3px, -3px); box-shadow: 10px 10px 0 #3a3a3a; }
.btn-hero:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #3a3a3a; }
.btn-hero--ask { color: var(--paper); background: var(--ink); }
.btn-hero--ask:hover { background: var(--paper); color: var(--ink); }
.btn-hero-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; font-size: 20px; color: var(--paper); background: var(--ink); flex: none; }
.btn-hero--ask .btn-hero-icon { color: var(--ink); background: var(--paper); }
.btn-hero--ask:hover .btn-hero-icon { color: var(--paper); background: var(--ink); }
.btn-hero--play:hover .btn-hero-icon { animation: play-nudge .6s steps(2) infinite; }
@keyframes play-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(3px); } }
.btn-hero-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; text-align: left; }
.btn-hero-text > span { font-size: clamp(20px, 2.2vw, 28px); letter-spacing: .12em; }
.btn-hero-text small { margin-top: 4px; font-size: 11px; letter-spacing: .24em; opacity: .65; }
.digital-sub {
  max-width: 44ch;
  margin: 0;
  font-size: clamp(18px, 2.2vw, 30px);
  letter-spacing: .06em;
  line-height: 1.15;
  text-align: center;
  color: var(--muted-2);
  text-wrap: pretty;
}

/* Live testen: Gerät + Pitch ---------------------------------------------- */
.live { padding-bottom: clamp(10px, 2vw, 30px); }
.project--digital { scroll-margin-top: 90px;  margin-bottom: clamp(24px, 4vw, 56px); }
.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 60px);
  align-items: start;
  padding: clamp(18px, 3vw, 40px) var(--pad) 0;
}
.showcase--flip .devices { order: 2; }
.devices {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4%;
  padding-bottom: clamp(34px, 5vw, 60px);
}
.device { position: relative; background: #1a1a1a; border: 4px solid var(--paper); box-shadow: 8px 8px 0 #2b2b2b; }
.device-screen { overflow: hidden; background: #0a0a0a; }
.device-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 45%;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
.device--desktop { flex: 0 0 68%; width: 68%; padding: 10px 10px 0; border-radius: 6px 6px 0 0; }
.device--desktop .device-screen { aspect-ratio: 16 / 9; }
.device--desktop::after {
  content: "";
  display: block;
  height: 14px;
  margin: 0 -10px;
  background: var(--paper);
  border-top: 4px solid #0a0a0a;
}
.device--phone { flex: 0 0 22%; width: 22%; margin-bottom: 14px; padding: 12px 6px; border-radius: 18px; }
.device--phone::before { content: ""; position: absolute; left: 50%; top: 4px; width: 30%; height: 4px; margin-left: -15%; background: #0a0a0a; border-radius: 2px; }
.device--phone .device-screen { aspect-ratio: 9 / 16; border-radius: 6px; }
.device--phone .device-screen img { object-position: 45% 40%; }
.pixel-accent {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  pointer-events: none;
}
.soon-sign {
  position: absolute;
  left: 18%;
  top: 22%;
  z-index: 2;
  padding: .3em .5em .18em;
  font-size: clamp(34px, 5vw, 72px);
  letter-spacing: .18em;
  color: #ff2d95;
  background: #0a0a0ad9;
  border: 4px solid #ff2d95;
  box-shadow: 0 0 24px #ff2d9580, inset 0 0 18px #ff2d9540;
  transform: rotate(-8deg);
  animation: soon-blink 1.6s steps(1) infinite;
}
@keyframes soon-blink { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.project--soon .device-screen img { filter: saturate(.6) brightness(.8); }

.pitch { display: flex; flex-direction: column; gap: clamp(12px, 1.8vw, 20px); }
.pitch-lead {
  margin: 0;
  font-size: clamp(22px, 2.8vw, 40px);
  line-height: 1.02;
  letter-spacing: .02em;
  text-wrap: pretty;
}
.dfacts { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.dfact { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 10px; align-items: start; }
.dfact dt { font-size: clamp(13px, 1.4vw, 15px); letter-spacing: .26em; color: var(--muted); padding-top: .35em; }
.dfact dd {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.45;
  color: #c4c4c4;
}
.pitch-build { margin: 0; font-size: clamp(18px, 2vw, 26px); line-height: 1.15; letter-spacing: .04em; }
.pitch-build-label { color: var(--muted); letter-spacing: .2em; font-size: .78em; display: block; margin-bottom: 4px; }
.making { border-top: 1px solid #2b2b2b; padding-top: 10px; }
.making summary { cursor: pointer; list-style: none; font-size: clamp(14px, 1.5vw, 17px); letter-spacing: .26em; color: var(--muted-2); }
.making summary::-webkit-details-marker { display: none; }
.making summary::before { content: "+ "; color: var(--paper); }
.making[open] summary::before { content: "- "; }
.making p {
  margin: 10px 0 0;
  font-family: "Helvetica Neue", Helvetica, Arial, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.5;
  color: #c4c4c4;
}
.pitch-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.btn--live { min-width: 220px; }
.btn--soon { cursor: default; opacity: .7; }
.soon-hint { font-size: clamp(13px, 1.4vw, 16px); letter-spacing: .1em; color: var(--muted-2); max-width: 32ch; }

/* Leistungen: drei Karten, Pixel-Icons, eine hervorgehoben --------------- */
.packs { position: relative; z-index: 1; padding: clamp(36px, 6vw, 80px) var(--pad); background: var(--paper); color: var(--ink); overflow: hidden; }
.packs::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, transparent 0 28px, #0a0a0a08 28px 30px); pointer-events: none; }
.packs-head { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 40px; align-items: end; margin-bottom: clamp(24px, 4vw, 50px); }
.packs .stack-title .hl { background: var(--ink); color: var(--paper); }
.packs .section-note { color: #4a4a4a; max-width: 40ch; }
.pack-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); align-items: stretch; }
.pack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 2.4vw, 30px);
  border: 3px solid var(--ink);
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--ink);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.pack:hover { transform: translate(-4px, -6px); box-shadow: 14px 16px 0 var(--ink); }
.pack--featured { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: 8px 8px 0 #8a8a8a; }
.pack--featured:hover { box-shadow: 14px 16px 0 #8a8a8a; }
.pack-flag { position: absolute; top: 14px; right: 14px; z-index: 2; padding: 6px 12px 4px; font-size: 13px; letter-spacing: .26em; color: var(--ink); background: #ffe066; border: 3px solid var(--ink); box-shadow: 3px 3px 0 #f2f2f2; transform: rotate(3deg); }
.pack-icon { display: block; width: 100%; max-width: 240px; height: auto; margin: 0 0 6px; image-rendering: pixelated; image-rendering: crisp-edges; border: 3px solid var(--ink); background: #0a0a12; }
.pack--featured .pack-icon { border-color: var(--paper); }
.pack-num { font-size: 14px; letter-spacing: .3em; color: #6e6e6e; }
.pack--featured .pack-num { color: #8a8a8a; }
.pack h3 { margin: 0; font-size: clamp(34px, 3.6vw, 52px); line-height: .88; }
.pack-sub { margin: 0; font-size: clamp(18px, 1.8vw, 24px); letter-spacing: .04em; color: #2b2b2b; }
.pack--featured .pack-sub { color: #c4c4c4; }
.pack ul { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pack li {
  position: relative;
  padding-left: 18px;
  font-family: "Helvetica Neue", Helvetica, Arial, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.45;
  color: #2b2b2b;
}
.pack--featured li { color: #d6d6d6; }
.pack li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; background: currentColor; }
.pack-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 18px; border-top: 2px solid #0a0a0a22; }
.pack--featured .pack-foot { border-top-color: #f2f2f233; }
.pack-price { font-size: clamp(15px, 1.5vw, 19px); letter-spacing: .26em; }
.pack-cta { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px 6px; font-size: clamp(15px, 1.5vw, 19px); letter-spacing: .18em; color: var(--paper); background: var(--ink); text-decoration: none; transition: background .3s ease, color .3s ease; }
.pack-cta:hover { background: #ffe066; color: var(--ink); }
.pack--featured .pack-cta { background: var(--paper); color: var(--ink); }
.pack--featured .pack-cta:hover { background: #ffe066; }
.packs-foot { position: relative; margin: clamp(24px, 4vw, 44px) 0 0; font-size: clamp(20px, 2.4vw, 34px); line-height: 1.05; letter-spacing: .03em; color: var(--ink); }

/* Warum -------------------------------------------------------------------- */
.why { position: relative; z-index: 1; padding: clamp(30px, 5vw, 70px) 0 clamp(10px, 2vw, 30px); }
.why-grid { list-style: none; margin: 0; padding: 0 var(--pad); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 20px); }
.why-item { display: flex; flex-direction: column; gap: 6px; padding: clamp(14px, 1.8vw, 22px) 0 0; border-top: 3px solid var(--paper); }
.why-item strong { font-weight: 400; font-size: clamp(22px, 2.4vw, 34px); line-height: .95; }
.why-item span:last-child {
  font-family: "Helvetica Neue", Helvetica, Arial, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.5;
  color: #c4c4c4;
}

/* Ablauf und Anfrage ------------------------------------------------------- */
.steps { position: relative; z-index: 1; padding: clamp(30px, 5vw, 70px) var(--pad) clamp(50px, 8vw, 110px); }
.steps-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 40px; align-items: end; margin-bottom: clamp(70px, 8vw, 100px); }
.steps .section-note { max-width: 34ch; color: var(--muted-2); }
.timeline { position: relative; }
.tl-track { position: absolute; left: 0; right: 0; top: 0; height: 6px; background: #2b2b2b; }
.tl-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--paper); box-shadow: 0 0 18px #f2f2f299; transition: width .12s linear; }
.tl-kid { position: absolute; left: 0; top: -48px; width: 32px; height: 48px; image-rendering: pixelated; image-rendering: crisp-edges; transform: translateX(-50%); transition: left .12s linear; }
.step-list { list-style: none; margin: 0; padding: 30px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.step { position: relative; display: flex; flex-direction: column; gap: 8px; padding-top: 8px; opacity: .35; transform: translateY(10px); transition: opacity .4s ease, transform .5s var(--ease); }
.step.is-on { opacity: 1; transform: none; }
.step-dot { position: absolute; left: 0; top: -37px; width: 20px; height: 20px; background: #2b2b2b; border: 3px solid var(--paper); transition: background .3s ease, transform .3s var(--ease); }
.step.is-on .step-dot { background: var(--paper); transform: scale(1.25); }
.step-num { font-size: clamp(34px, 4vw, 60px); line-height: .9; }
.step strong { font-weight: 400; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: .06em; }
.step span:last-child {
  font-family: "Helvetica Neue", Helvetica, Arial, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.5;
  color: #c4c4c4;
}
.ask { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: clamp(40px, 6vw, 80px); text-align: center; }
.ask-label { margin: 0; font-size: clamp(16px, 1.7vw, 21px); letter-spacing: .26em; color: var(--muted-2); }
.ask-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ask-pills .pill { min-height: 40px; padding: 8px 16px 6px; font-size: clamp(14px, 1.5vw, 18px); letter-spacing: .18em; border: 2px solid var(--paper); background: transparent; color: var(--paper); cursor: pointer; }
.ask-pills .pill.is-active { background: var(--paper); color: var(--ink); }
.btn--big.ask-btn { min-height: 62px; padding: 16px 40px; font-size: clamp(20px, 2.4vw, 32px); }
.ask-mail { margin: 0; font-size: clamp(14px, 1.5vw, 18px); letter-spacing: .2em; color: var(--muted); }

/* Handy / Tablet ----------------------------------------------------------- */
@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; }
  .showcase--flip .devices { order: 0; }
  .devices { padding-bottom: 36px; }
  .pack-grid { grid-template-columns: 1fr; }
  .pack--featured { order: -1; }
  .packs-head, .steps-head { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { padding-left: 92px; }
  .tl-track { left: 10px; right: auto; top: 0; bottom: 0; width: 6px; height: auto; }
  .tl-fill { width: 100%; height: 0; bottom: auto; transition: height .12s linear; }
  .tl-kid { left: 36px; top: 0; transform: translateY(-50%); transition: top .12s linear; }
  .step-list { grid-template-columns: 1fr; padding-top: 0; gap: clamp(22px, 4vw, 36px); }
  .step { padding-top: 0; }
  .step-dot { left: -89px; top: 8px; }
}
@media (max-width: 520px) {
  .hero-title--digital { font-size: clamp(40px, 13vw, 64px); }
  /* Hero-Knöpfe: groß, Pixel-Schatten, Untertitel, Icon läuft beim Hover */
.hero-cta--digital { align-items: stretch; gap: 16px; margin-top: clamp(8px, 2vw, 22px); }
.btn-hero {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 250px;
  padding: 12px 22px 10px 16px;
  color: var(--ink);
  background: var(--paper);
  border: 3px solid var(--paper);
  box-shadow: 6px 6px 0 #3a3a3a;
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s ease, color .2s ease;
}
.btn-hero:hover { transform: translate(-3px, -3px); box-shadow: 10px 10px 0 #3a3a3a; }
.btn-hero:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #3a3a3a; }
.btn-hero--ask { color: var(--paper); background: var(--ink); }
.btn-hero--ask:hover { background: var(--paper); color: var(--ink); }
.btn-hero-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; font-size: 20px; color: var(--paper); background: var(--ink); flex: none; }
.btn-hero--ask .btn-hero-icon { color: var(--ink); background: var(--paper); }
.btn-hero--ask:hover .btn-hero-icon { color: var(--paper); background: var(--ink); }
.btn-hero--play:hover .btn-hero-icon { animation: play-nudge .6s steps(2) infinite; }
@keyframes play-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(3px); } }
.btn-hero-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; text-align: left; }
.btn-hero-text > span { font-size: clamp(20px, 2.2vw, 28px); letter-spacing: .12em; }
.btn-hero-text small { margin-top: 4px; font-size: 11px; letter-spacing: .24em; opacity: .65; }
.digital-sub { font-size: 17px; }
  .dfact { grid-template-columns: 1fr; gap: 2px; }
  .devices { gap: 3%; }
  .device--desktop { flex-basis: 70%; width: 70%; }
  .device--phone { flex-basis: 24%; width: 24%; margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) { .soon-sign { animation: none; } }
