/* ================================================================
   SearchTurbo 2026, sections.css
   Section-specific styles, ordered as on the page.
   ================================================================ */

/* ---------- Section 02, Hero --------------------------------- */
.hero {
  min-height: 100vh;
  position: relative;
  padding: calc(var(--nav-h) + 32px) 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,166,35,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,166,35,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 600px at 80% 30%, var(--amber-glow) 0%, transparent 60%),
    radial-gradient(600px 300px at 0% 80%, rgba(245,166,35,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 48px 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
  flex: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 600 13px/1 var(--font-mono);
  color: var(--amber);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--amber);
}
.hero-eyebrow strong { font-weight: 600; }

.hero h1 {
  font-family: var(--font-display);
  letter-spacing: 1px;
  line-height: 0.95;
  color: var(--white);
  margin: 0 0 32px;
  text-transform: uppercase;
  position: relative;
}
.hero h1 .setup {
  display: block;
  font-size: clamp(40px, 4.5vw, 60px);
  color: var(--white);
  letter-spacing: 1px;
  line-height: 0.95;
}
.hero h1 .setup em {
  font-style: normal;
  color: var(--amber);
}
.hero h1 .payoff {
  display: block;
  font-size: clamp(44px, 5vw, 66px);
  color: var(--muted2);
  letter-spacing: 1px;
  line-height: 0.95;
  margin-top: 6px;
}
.hero h1 .coda {
  display: block;
  font-size: clamp(36px, 4vw, 54px);
  color: var(--amber);
  letter-spacing: 2px;
  line-height: 1;
  margin-top: 14px;
}
.hero h1 .coda em {
  font-style: normal;
  color: var(--amber);
}

.hero-sub {
  font: 300 18px/1.7 var(--font-body);
  color: var(--muted2);
  margin: 0 0 40px;
  max-width: 560px;
}
.hero-sub strong { color: var(--text); font-weight: 500; }

.cta-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.cta-toggle-btn {
  padding: 14px 32px;
  font: 600 14px/1 var(--font-body);
  letter-spacing: .5px;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
  background: var(--surface);
  color: var(--muted2);
}
.cta-toggle-btn.is-active {
  background: var(--amber);
  color: #1A1100;
  box-shadow: 0 4px 16px rgba(245,166,35,0.25);
}
.cta-toggle:hover .cta-toggle-btn.is-active:not(:hover) {
  background: var(--surface);
  color: var(--muted2);
  box-shadow: none;
}
.cta-toggle .cta-toggle-btn:hover {
  background: var(--amber);
  color: #1A1100;
  box-shadow: 0 4px 16px rgba(245,166,35,0.25);
}

.hero-metrics {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px;
  position: relative;
  overflow: hidden;
}
.metric-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--amber);
}
.metric-label {
  font: 500 10px/1 var(--font-mono);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 6px;
}
.metric-value {
  font-family: var(--font-display);
  font-size: 64px;
  letter-spacing: 1px;
  color: var(--white);
  line-height: 1;
}
.metric-value .unit {
  font-size: 32px;
  color: var(--amber);
  margin-left: 4px;
}
.metric-sub {
  font: 400 12px/1.4 var(--font-body);
  color: var(--amber-dim);
  margin-top: 6px;
}

/* ---------- In Good Company marquee inside hero --------------- */
.partners-strip {
  margin-top: auto;
  padding: 32px 0 28px;
  border-top: 1px solid var(--border);
  background: transparent;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.partners-strip .partners-header {
  margin-bottom: 18px;
}
.partners-label {
  font: 500 10px/1 var(--font-mono);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
}
.marquee-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
}
.marquee-track img {
  height: 28px;
  width: auto;
  opacity: 0.5;
  transition: opacity .25s ease, transform .25s ease;
  flex-shrink: 0;
  filter: grayscale(0.4);
}
.marquee-track img:hover {
  opacity: 1;
  filter: none;
}
.marquee-wrap:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

@media (max-width: 1100px) {
  .hero { min-height: 0; padding-top: calc(var(--nav-h) + 40px); }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding: 32px 24px 48px; }
  .hero h1 .setup  { font-size: clamp(32px, 7vw, 48px); }
  .hero h1 .payoff { font-size: clamp(36px, 7.7vw, 54px); }
  .hero h1 .coda   { font-size: clamp(28px, 6vw, 42px); }
}
@media (max-width: 600px) {
  .marquee-track { gap: 40px; }
  .marquee-track img { height: 22px; }
}
@media (max-width: 480px) {
  .metric-value { font-size: 48px; }
  .metric-value .unit { font-size: 24px; }
}
@media (max-width: 420px) {
  .hero h1 .setup,
  .hero h1 .payoff,
  .hero h1 .coda { line-height: 0.9; }
}

/* ---------- Section 03, Find Your Path ----------------------- */
.find-path .cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.path-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  cursor: pointer;
  position: relative;
}
.path-card:hover {
  border-color: var(--amber);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -16px rgba(245,166,35,0.3);
}
.path-card .pc-no {
  font: 500 11px/1 var(--font-mono);
  color: var(--muted);
  letter-spacing: .22em;
}
.path-card .pc-title {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 1.2px;
  line-height: 1;
  color: var(--white);
  margin: 0;
  text-transform: uppercase;
}
.path-card .pc-sub {
  font: 400 14px/1.5 var(--font-body);
  color: var(--muted2);
  margin: 0;
}
.path-card ul {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.path-card ul li {
  font: 400 13px/1.4 var(--font-body);
  color: var(--text);
  padding-left: 18px;
  position: relative;
}
.path-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
}
.path-card .pc-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 600 12.5px/1 var(--font-body);
  color: var(--amber);
  letter-spacing: .04em;
  padding-top: 12px;
}
.path-card .pc-cta .arrow { transition: transform .2s ease; }
.path-card:hover .pc-cta .arrow { transform: translateX(3px); }

@media (max-width: 900px) {
  .find-path .cards { grid-template-columns: 1fr; gap: 10px; }
  .path-card {
    padding: 16px 18px;
    gap: 8px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "no title cta";
    align-items: center;
  }
  .path-card .pc-no    { grid-area: no; }
  .path-card .pc-title { grid-area: title; font-size: 20px; }
  .path-card .pc-cta {
    grid-area: cta;
    margin: 0;
    padding-top: 0;
    font-size: 11px;
    white-space: nowrap;
  }
  .path-card .pc-cta .arrow { margin-left: 2px; }
  .path-card .pc-sub,
  .path-card ul { display: none; }
}

/* ---------- Section 04, Network Logo Wall -------------------- */
.logo-wall .grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}
.logo-tile {
  aspect-ratio: 1;
  background: rgba(255,255,255,0.96);
  border-radius: 10px;
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px solid var(--border);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  position: relative;
  overflow: hidden;
  perspective: 600px;
}
.logo-tile.is-flipping {
  animation: split-flap .35s cubic-bezier(.6,0,.4,1) both;
}
@keyframes split-flap {
  0%   { transform: rotateX(0deg); }
  50%  { transform: rotateX(-90deg); }
  100% { transform: rotateX(0deg); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-tile.is-flipping { animation: none; }
}
.logo-tile img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
  transition: transform .25s ease;
}
.logo-tile .wordmark {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--bg);
  text-transform: uppercase;
  text-align: center;
  padding: 0 6px;
}
.logo-tile:hover {
  border-color: var(--amber);
  box-shadow: 0 8px 22px -10px rgba(245,166,35,0.45);
}
.logo-tile:hover img { transform: scale(1.08); }
.logo-wall .more {
  text-align: center;
  margin-top: 18px;
  font: 500 11px/1 var(--font-mono);
  color: var(--muted);
  letter-spacing: .22em;
  text-transform: uppercase;
}

@media (max-width: 1100px) { .logo-wall .grid { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 900px) {
  .logo-wall .h2 { font-size: clamp(32px, 8vw, 44px); }
  .logo-wall .subtitle { font-size: 14px; }
}
@media (max-width: 700px)  {
  .logo-wall .grid { grid-template-columns: repeat(4, 1fr); padding: 12px; gap: 6px; }
  .logo-tile { padding: 8px; }
  /* Dezenter, kleinere Drehung und kuerzere Dauer */
  .logo-tile.is-flipping {
    animation: split-flap-soft .28s cubic-bezier(.6,0,.4,1) both;
  }
  @keyframes split-flap-soft {
    0%   { transform: rotateX(0deg); }
    50%  { transform: rotateX(-45deg); }
    100% { transform: rotateX(0deg); }
  }
}
@media (max-width: 420px)  {
  .logo-wall .grid { grid-template-columns: repeat(4, 1fr); gap: 5px; padding: 10px; }
  .logo-tile { padding: 6px; }
}

/* ---------- Section 05, Anatomy ------------------------------ */
.anatomy .switcher-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  margin-bottom: 28px;
}
.anatomy .switcher-row {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.anatomy .switcher-row .label {
  font: 500 9.5px/1 var(--font-mono);
  color: var(--muted);
  letter-spacing: .14em;
  text-transform: uppercase;
  padding-right: 6px;
}
.anatomy .sw-btn {
  appearance: none;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted2);
  border-radius: 8px;
  padding: 8px 14px;
  font: 500 13px/1 var(--font-body);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
}
.anatomy .sw-btn:hover {
  background: var(--amber-glow);
  color: var(--amber);
  border-color: rgba(245,166,35,.4);
}
.anatomy .sw-btn .dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--surface2);
  display: grid; place-items: center;
  overflow: hidden;
}
.anatomy .sw-btn .dot svg,
.anatomy .sw-btn .dot img { width: 16px; height: 16px; object-fit: contain; }
.anatomy .sw-btn.is-active {
  color: var(--amber);
  border-color: var(--amber);
  box-shadow: 0 4px 16px rgba(245,166,35,0.25);
}

@media (max-width: 900px) {
  /* Desktop und Embed Container sind auf Mobile nicht sinnvoll, ausblenden. */
  #anatomyDevice .sw-btn[data-device="desktop"],
  #anatomyDevice .sw-btn[data-device="embed"] { display: none; }
}
@media (max-width: 760px) {
  /* Wrap to multi-row instead of horizontal scroll, no scroll cue is needed
     and buttons stay touchable. */
  .anatomy .switcher-row {
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
  }
  .anatomy .switcher-row .label { flex: 1 1 100%; margin-bottom: 4px; }
  .anatomy .sw-btn { flex: 1 1 calc(50% - 8px); justify-content: center; }
}

.anatomy .anatomy-foot {
  text-align: center;
  margin-top: 32px;
  font: 400 14px/1.5 var(--font-body);
  color: var(--muted2);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Section 06, How a Branded Surface Works ---------- */
.how .grid {
  display: grid;
  grid-template-columns: minmax(300px, 380px) 1fr;
  gap: 48px;
  align-items: stretch;
}
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
}
.how-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--amber);
  border-radius: 12px;
  padding: 22px 24px;
}
.how-step .hs-no {
  font: 500 11px/1 var(--font-mono);
  color: var(--amber);
  letter-spacing: .22em;
  margin-bottom: 8px;
}
.how-step h4 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 1.2px;
  color: var(--white);
  margin: 0 0 8px;
  text-transform: uppercase;
}
.how-step p {
  font: 400 14px/1.5 var(--font-body);
  color: var(--muted2);
  margin: 0;
}
.how-anchor {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
}
.how-anchor surface-frame { width: 100%; display: block; }

.how-foot {
  margin-top: 18px;
  font: 500 10px/1.4 var(--font-mono);
  color: var(--muted);
  letter-spacing: .18em;
  text-transform: uppercase;
  text-align: center;
}

@media (max-width: 1100px) {
  .how .grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  /* How-Section: nur die drei Steps, Surface-Visual ist auf Mobile redundant
     (Anatomie-Section direkt darueber zeigt bereits eine Phone-Surface). */
  .how .grid { gap: 24px; grid-template-columns: 1fr; }
  .how-anchor { display: none; }
}

/* ---------- Section 07, Inside the Surface ------------------- */
.inside { padding-top: 64px; padding-bottom: 56px; }
.inside .section-head { margin-bottom: 36px; }
.inside .inside-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ins-row {
  display: grid;
  grid-template-columns: 200px 48px 240px 48px 280px 48px 200px;
  justify-content: center;
  gap: 0;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid rgba(245,166,35,0.15);
  border-radius: 8px;
  padding: 14px 16px;
  --row-primary: var(--amber);
  --row-secondary: #000;
}

.ins-col {
  height: 170px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  box-sizing: border-box;
  position: relative;
}

/* Flow connectors: cascade from left to right inside a 3s loop.
   Surface flashes at 0.0s, context 0.4s, pipeline 0.8s, winner 1.2s.
   Dots stream through each arrow between the two adjacent flashes. */
.ins-arrow {
  --flow-start: 0s;
  position: relative;
  display: block;
  align-self: stretch;
}
.ins-arrow:nth-of-type(1) { --flow-start: -2.9s; } /* fires at 0.1s */
.ins-arrow:nth-of-type(2) { --flow-start: -2.5s; } /* fires at 0.5s */
.ins-arrow:nth-of-type(3) { --flow-start: -2.1s; } /* fires at 0.9s */

.ins-arrow .ifl-line {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 1.5px;
  background: var(--amber);
  opacity: 0.22;
  transform: translateY(-50%);
}
.ins-arrow .ifl-dot {
  position: absolute;
  top: 50%;
  left: -1.5px;
  width: 3px; height: 3px;
  background: var(--amber);
  border-radius: 50%;
  transform: translate(0, -50%);
  opacity: 0;
  box-shadow: 0 0 4px rgba(245,166,35,0.7);
  animation: ifl-flow 3s linear infinite;
  will-change: transform, opacity;
}
.ins-arrow .ifl-dot:nth-child(2) { animation-delay: var(--flow-start); }
.ins-arrow .ifl-dot:nth-child(3) { animation-delay: calc(var(--flow-start) + 0.08s); }
.ins-arrow .ifl-dot:nth-child(4) { animation-delay: calc(var(--flow-start) + 0.16s); }
@keyframes ifl-flow {
  0%   { transform: translate(0,   -50%); opacity: 0; }
  2%   {                                  opacity: 1; }
  10%  {                                  opacity: 1; }
  12%  { transform: translate(48px,-50%); opacity: 0; }
  100% { transform: translate(48px,-50%); opacity: 0; }
}

/* Per-column flash, synchronized with the flow cascade.
   Uses box-shadow only so existing col borders stay intact. */
.ins-row .ins-surface,
.ins-row .ins-context,
.ins-row .ins-pipeline,
.ins-row .ins-winner {
  animation: col-flash 3s ease-out infinite;
  will-change: box-shadow;
}
.ins-row .ins-surface  { animation-delay: 0s; }
.ins-row .ins-context  { animation-delay: -2.6s; } /* fires at 0.4s */
.ins-row .ins-pipeline { animation-delay: -2.2s; } /* fires at 0.8s */
.ins-row .ins-winner   { animation-delay: -1.8s; } /* fires at 1.2s */

@keyframes col-flash {
  0%   { box-shadow: 0 0 0 rgba(245,166,35,0),    inset 0 0 0 0 rgba(245,166,35,0); }
  4%   { box-shadow: 0 0 24px rgba(245,166,35,0.55), inset 0 0 0 1px rgba(245,166,35,0.7); }
  16%  { box-shadow: 0 0 0 rgba(245,166,35,0),    inset 0 0 0 0 rgba(245,166,35,0); }
  100% { box-shadow: 0 0 0 rgba(245,166,35,0),    inset 0 0 0 0 rgba(245,166,35,0); }
}

/* ---- Surface mini, doubles as the surface box ---- */
.ins-surface {
  padding: 0;
  overflow: hidden;
}
.sm-bar {
  display: flex;
  gap: 4px;
  padding: 4px 6px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: 12px;
  box-sizing: border-box;
  position: relative;
  z-index: 3;
}
.sm-dot {
  width: 4px; height: 4px;
  background: rgba(255,255,255,0.22);
  border-radius: 50%;
}
.sm-wall {
  position: absolute;
  left: 0; right: 0;
  top: 12px;
  bottom: 22px;
  background: linear-gradient(135deg, var(--row-primary) 0%, var(--row-secondary) 100%);
  z-index: 0;
}
.sm-logo {
  position: absolute;
  top: 18px; left: 8px;
  width: 18px; height: 18px;
  background-color: rgba(255,255,255,0.94);
  border-radius: 3px;
  z-index: 2;
  background-size: 80% 80%;
  background-position: center;
  background-repeat: no-repeat;
}
.sm-search {
  position: absolute;
  top: 18px; left: 32px; right: 8px;
  height: 16px;
  background: rgba(255,255,255,0.92);
  border-radius: 8px;
  z-index: 2;
}
.sm-tiles {
  position: absolute;
  top: 44px; left: 8px; right: 8px;
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 4px;
  z-index: 2;
}
.sm-tile {
  border-radius: 3px;
  background-color: rgba(255,255,255,0.92);
  background-size: 70% 70%;
  background-position: center;
  background-repeat: no-repeat;
  background-repeat: no-repeat;
}
.sm-tile.is-club {
  background-color: rgba(255,255,255,0.96);
}
.sm-tile.is-slot {
  background-color: var(--amber);
  background-image: none;
  color: #1A1100;
  font: 700 7px/1 var(--font-mono);
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: slot-pulse 1.6s ease-in-out infinite;
}
@keyframes slot-pulse {
  0%, 100% { box-shadow: inset 0 0 0 1px rgba(245,166,35,0.5); }
  50%      { box-shadow: inset 0 0 0 1px rgba(245,166,35,1), 0 0 6px rgba(245,166,35,0.6); }
}

/* ---- Channel tiles (club-tinted gradient + white SVG glyph) ---- */
.sm-tile[class*="ch-"] {
  background-image: linear-gradient(135deg, var(--row-primary) 0%, var(--row-secondary) 100%);
  background-size: cover;
  position: relative;
}
.sm-tile[class*="ch-"]::after {
  content: "";
  position: absolute;
  inset: 22%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.sm-tile.ch-phone::after  { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.37 1.9.72 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.35 1.85.59 2.81.72A2 2 0 0 1 22 16.92z'/></svg>"); }
.sm-tile.ch-ig::after     { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5'><rect x='3' y='3' width='18' height='18' rx='5'/><circle cx='12' cy='12' r='4.5'/><circle cx='17.5' cy='6.5' r='1' fill='white'/></svg>"); }
.sm-tile.ch-fb::after     { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M13 22v-8h3l1-4h-4V7.5c0-1 .5-2 2-2h2V2h-3a5 5 0 0 0-5 5v3H6v4h3v8z'/></svg>"); }
.sm-tile.ch-music::after  { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M19 3v10.55a3.5 3.5 0 1 1-2-3.16V6h-5v9.55a3.5 3.5 0 1 1-2-3.16V3z'/></svg>"); }
.sm-tile.ch-cal::after    { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round'><rect x='3' y='5' width='18' height='17' rx='2'/><line x1='3' y1='11' x2='21' y2='11'/><line x1='8' y1='2.5' x2='8' y2='6.5'/><line x1='16' y1='2.5' x2='16' y2='6.5'/></svg>"); }
.sm-tile.ch-mail::after   { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='5' width='18' height='14' rx='2'/><polyline points='3,7 12,13 21,7'/></svg>"); }

/* ---- Surface device label, footer strip inside the box ---- */
.sf-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 22px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font: 500 9px/1 var(--font-mono);
  color: var(--muted2);
  letter-spacing: .18em;
  text-transform: uppercase;
  background: var(--bg-2);
  border-top: 1px solid rgba(255,255,255,0.06);
  z-index: 3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- User context card ---- */
.ins-context {
  background: rgba(245,166,35,0.04);
  border: 1px dashed rgba(245,166,35,0.4);
  justify-content: space-between;
}
.ic-head {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.ic-chip {
  font: 500 9px/1 var(--font-mono);
  color: var(--muted2);
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 6px 4px 5px;
  border: 1px solid var(--border-2);
  border-radius: 3px;
  background: var(--surface2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ic-chip::before {
  width: 8px; height: 8px;
  flex: 0 0 auto;
  display: inline-block;
  background-color: currentColor;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  opacity: 0.65;
}
.ic-chip[data-icon="geo"]::before {
  content: "";
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='black'><path d='M8 1.5a4.5 4.5 0 0 0-4.5 4.5c0 3.6 4.5 8.5 4.5 8.5s4.5-4.9 4.5-8.5A4.5 4.5 0 0 0 8 1.5zm0 6.2A1.7 1.7 0 1 1 8 4.3a1.7 1.7 0 0 1 0 3.4z'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='black'><path d='M8 1.5a4.5 4.5 0 0 0-4.5 4.5c0 3.6 4.5 8.5 4.5 8.5s4.5-4.9 4.5-8.5A4.5 4.5 0 0 0 8 1.5zm0 6.2A1.7 1.7 0 1 1 8 4.3a1.7 1.7 0 0 1 0 3.4z'/></svg>");
}
.ic-chip[data-icon="device"]::before {
  content: "";
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.4'><rect x='1.5' y='3' width='13' height='9' rx='1'/><line x1='6' y1='14' x2='10' y2='14' stroke-linecap='round'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.4'><rect x='1.5' y='3' width='13' height='9' rx='1'/><line x1='6' y1='14' x2='10' y2='14' stroke-linecap='round'/></svg>");
}
.ic-chip[data-icon="lang"]::before {
  content: "";
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.3'><circle cx='8' cy='8' r='6.5'/><ellipse cx='8' cy='8' rx='3' ry='6.5'/><line x1='1.5' y1='8' x2='14.5' y2='8'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.3'><circle cx='8' cy='8' r='6.5'/><ellipse cx='8' cy='8' rx='3' ry='6.5'/><line x1='1.5' y1='8' x2='14.5' y2='8'/></svg>");
}
.ic-chip-consent {
  color: var(--amber);
  border-color: rgba(245,166,35,0.4);
  background: rgba(245,166,35,0.06);
}
.ic-chip-consent::before {
  content: "";
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M8 1.5l5.5 2v4.2c0 3.2-2.4 6.2-5.5 7.3-3.1-1.1-5.5-4.1-5.5-7.3V3.5z'/><path d='M5.5 8l2 2 3-3.5'/></svg>");
          mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M8 1.5l5.5 2v4.2c0 3.2-2.4 6.2-5.5 7.3-3.1-1.1-5.5-4.1-5.5-7.3V3.5z'/><path d='M5.5 8l2 2 3-3.5'/></svg>");
  opacity: 0.85;
}
.ic-query {
  font: 600 14px/1.3 var(--font-body);
  color: var(--white);
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ic-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.ic-intent {
  font: 700 9px/1 var(--font-mono);
  color: #1A1100;
  background: var(--amber);
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 7px;
  border-radius: 3px;
}
.ic-refine {
  font: 400 10.5px/1 var(--font-body);
  color: var(--muted);
}

/* ---- Decision pipeline (compact) ---- */
.ins-pipeline {
  background: rgba(245,166,35,0.04);
  gap: 10px;
  justify-content: space-between;
}
.ip-head {
  font: 500 9px/1 var(--font-mono);
  color: var(--amber);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.ip-stages {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  height: 20px;
}
.ip-stages::before {
  content: "";
  position: absolute;
  left: 7px; right: 7px;
  top: 50%;
  height: 1px;
  background: var(--border-2);
  z-index: 0;
}
.ip-stage {
  position: relative;
  z-index: 1;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 600 7px/1 var(--font-mono);
  color: var(--muted);
  transition: background .15s ease, border-color .15s ease, color .15s ease, width .15s ease, height .15s ease;
  flex: 0 0 auto;
}
.ip-stage.is-done {
  background: var(--amber);
  border-color: var(--amber);
  color: #1A1100;
}
.ip-stage.is-active {
  background: var(--amber);
  border-color: var(--amber);
  color: #1A1100;
  width: 18px; height: 18px;
  box-shadow: 0 0 0 3px rgba(245,166,35,0.18);
  animation: ip-pulse var(--row-pulse, 1.5s) ease-in-out infinite;
  font-size: 8px;
}
@keyframes ip-pulse {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(245,166,35,0.18), 0 0 8px rgba(245,166,35,0.4);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(245,166,35,0.06), 0 0 14px rgba(245,166,35,0.65);
  }
}

.ip-bidder-line {
  font: 500 10px/1.3 var(--font-mono);
  color: var(--muted2);
  letter-spacing: .02em;
  word-break: break-word;
  flex: 1;
  display: flex;
  align-items: center;
}
.ip-bidder-line .pipe { color: var(--muted); margin: 0 4px; }
.ip-bidder-line .winner { color: var(--amber); font-weight: 700; }

.ip-lat-line {
  display: flex;
  justify-content: flex-end;
  font: 500 8px/1 var(--font-mono);
  color: var(--muted);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ip-lat-line .ip-lat { color: var(--muted2); }

/* ---- Slot winner tile ---- */
.ins-winner {
  background: rgba(245,166,35,0.05);
  justify-content: space-between;
  gap: 6px;
}
.iw-head {
  font: 600 9px/1 var(--font-mono);
  color: var(--amber);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.iw-logo {
  width: 26px; height: 26px;
  background-color: rgba(255,255,255,0.92);
  border-radius: 4px;
  background-size: 70% 70%;
  background-position: center;
  background-repeat: no-repeat;
}
.iw-price {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 1px;
  line-height: 1;
  color: var(--amber);
  margin: 0;
}
.iw-meta {
  font: 500 9px/1 var(--font-mono);
  color: var(--muted2);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.iw-share {
  font: 400 10px/1.3 var(--font-body);
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---- Footer ---- */
.inside-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding: 10px 16px;
  border-top: 1px solid var(--border);
  font: 500 10.5px/1 var(--font-mono);
  color: var(--muted2);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.if-left { display: inline-flex; align-items: center; gap: 10px; color: var(--white); }
.if-right { color: var(--muted); }
.if-pulse {
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(245,166,35,0.6);
  animation: live-pulse 1.6s ease-out infinite;
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(245,166,35,0.6); }
  70%  { box-shadow: 0 0 0 9px rgba(245,166,35,0); }
  100% { box-shadow: 0 0 0 0 rgba(245,166,35,0); }
}

/* ---- Responsive ---- */
@media (max-width: 1080px) {
  .ins-row {
    grid-template-columns: 190px 48px 1fr 48px 1fr;
    justify-content: stretch;
  }
  .ins-winner,
  .ins-arrow:nth-of-type(3) { display: none; }
}

.inside-mobile-hint {
  display: none;
}

/* ---- Mobile (<900px), Variante B, vertikaler Stack innerhalb einer Reihe.
        Nur die erste Reihe ist sichtbar, Rotation wirkt weiterhin auf sie.
        Surface -> Context -> Pipeline -> Winner mit vertikalen Connectoren. ---- */
@media (max-width: 900px) {
  .inside-mobile-hint {
    display: block;
    margin: 14px auto 0;
    text-align: center;
    max-width: 320px;
    font: 400 11px/1.5 var(--font-mono);
    color: var(--muted);
    letter-spacing: .04em;
  }
  .ins-row:not(:first-child) { display: none; }
  .ins-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    grid-template-columns: none;
    gap: 0;
    padding: 14px;
  }
  /* Alle vier Spalten wieder sichtbar */
  .ins-winner { display: flex; }
  .ins-col {
    height: auto;
    min-height: 0;
    width: 100%;
  }
  .ins-surface { min-height: 180px; }
  .ins-context { min-height: 80px; }
  .ins-pipeline { min-height: 80px; }
  .ins-winner { min-height: 96px; }

  /* Vertikale Connector-Pfeile zwischen den Elementen. */
  .ins-arrow {
    display: block;
    width: 100%;
    height: 24px;
    flex: 0 0 auto;
  }
  .ins-arrow:nth-of-type(3) { display: block; }
  .ins-arrow .ifl-line {
    top: 0; bottom: 0;
    left: 50%; right: auto;
    width: 1.5px; height: auto;
    transform: translateX(-50%);
  }
  .ins-arrow .ifl-dot {
    top: 0; left: 50%;
    transform: translate(-50%, 0);
    animation: ifl-flow-vertical 3s linear infinite;
  }
  @keyframes ifl-flow-vertical {
    0%   { transform: translate(-50%, 0); opacity: 0; }
    2%   { opacity: 1; }
    10%  { opacity: 1; }
    12%  { transform: translate(-50%, 24px); opacity: 0; }
    100% { transform: translate(-50%, 24px); opacity: 0; }
  }
  /* Reduced-motion: vertikale Pfeilspitze statt animierte Dots */
  @media (prefers-reduced-motion: reduce) {
    .ins-arrow::after {
      content: "\25BE";
      transform: none;
    }
  }

  /* Pipeline-Stages bleiben horizontal, falls Container zu schmal scrollen. */
  .ip-stages {
    overflow-x: auto;
    justify-content: flex-start;
    gap: 12px;
    padding: 0 4px;
    -webkit-overflow-scrolling: touch;
  }
  .ip-stages::-webkit-scrollbar { display: none; }

  .inside-foot {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    padding: 10px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ip-stage.is-active { animation: none; }
  .sm-tile.is-slot { animation: none; }
  .if-pulse { animation: none; }
  .ins-row .ins-surface,
  .ins-row .ins-context,
  .ins-row .ins-pipeline,
  .ins-row .ins-winner { animation: none; }
  .ins-arrow .ifl-dot { display: none; }
  .ins-arrow::after {
    content: "\25B8";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber);
    opacity: 0.55;
    font: 14px/1 var(--font-mono);
  }
}

/* ---------- Section 09, For Demand Partners ------------------ */
.demand .grid,
.publishers .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.copy-block p {
  font: 400 16px/1.6 var(--font-body);
  color: var(--muted2);
  margin: 0 0 24px;
}
.copy-block ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.copy-block ul li {
  font: 400 14px/1.45 var(--font-body);
  color: var(--text);
  padding-left: 22px;
  position: relative;
}
.copy-block ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 8px; height: 8px;
  background: var(--amber);
  border-radius: 50%;
}

.bidders {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  position: relative;
}
.bidders-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.bidders-head .title {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 1.2px;
  color: var(--white);
  text-transform: uppercase;
}
.bidders-head .live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 500 10px/1 var(--font-mono);
  color: var(--amber);
  letter-spacing: .22em;
  text-transform: uppercase;
}
.bidders-head .live::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  animation: live-pulse 1.4s ease-in-out infinite;
}
@keyframes live-pulse {
  50% { opacity: .25; }
}

.bidder-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 13px;
  transition: background .25s ease;
}
.bidder-row:first-of-type { border-top: 0; }
.bidder-row .b-mark {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--surface2);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.bidder-row .b-mark img { width: 22px; height: 22px; object-fit: contain; }
.bidder-row .b-name { color: var(--text); }
.bidder-row .b-bid {
  color: var(--text);
  font-weight: 500;
}
.bidder-row.is-winner {
  color: var(--amber);
}
.bidder-row.is-winner .b-name,
.bidder-row.is-winner .b-bid {
  color: var(--amber);
}
.bidder-row.is-winner .b-bid::after {
  content: " ✓";
  margin-left: 4px;
}
.bidders-foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font: 500 10px/1 var(--font-mono);
  color: var(--muted);
  letter-spacing: .18em;
  text-transform: uppercase;
  text-align: center;
}

@media (max-width: 1100px) {
  .demand .grid,
  .publishers .grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---------- Section 10, For Publishers ----------------------- */
.pub-cards {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.pub-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  min-height: 460px;
  align-items: start;
  transition: border-color .25s ease;
}
.pub-card:hover {
  border-color: var(--amber);
}
.pub-card-visual {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  height: 410px;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.pub-card-visual surface-frame {
  display: block;
  width: 380px;
  flex: 0 0 auto;
  transform: scale(0.58);
  transform-origin: top center;
  margin-top: 8px;
}

/* ----- Custom module mockups (cards 01 Search Suggest, 02 Quick Links) ----- */
.pub-card-visual.is-mockup {
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
}
.mm-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--border);
  flex: 0 0 auto;
  height: 30px;
  box-sizing: border-box;
}
.mm-cd {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  flex: 0 0 auto;
}
.mm-url {
  margin-left: 6px;
  font: 400 11px/1 var(--font-mono);
  color: var(--muted);
  letter-spacing: 0.04em;
}
.mm-body {
  flex: 1;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(180deg, var(--bg-2) 0%, #07080A 100%);
  overflow: hidden;
}
.mm-icon { color: var(--muted); flex: 0 0 auto; }

/* Card 01, Search Suggest mockup */
.mm-input {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font: 500 13px/1 var(--font-body);
  color: var(--white);
}
.mm-input .mm-icon { width: 15px; height: 15px; }
.mm-input-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mm-cursor {
  width: 1.5px;
  height: 14px;
  background: var(--amber);
  flex: 0 0 auto;
  animation: mm-blink 1.05s steps(2) infinite;
}
@keyframes mm-blink { 50% { opacity: 0; } }
.mm-dropdown {
  list-style: none;
  margin: 0;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 12px 24px -16px rgba(0,0,0,0.6);
}
.mm-dropdown li {
  padding: 10px 12px;
  font: 400 13px/1 var(--font-body);
  color: var(--muted2);
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 6px;
}
.mm-dropdown li .mm-icon { width: 12px; height: 12px; }
.mm-dropdown li span:not(.mm-tag) {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mm-dropdown li.is-sponsored {
  background: rgba(245,166,35,0.08);
  border: 1px solid rgba(245,166,35,0.3);
  color: var(--white);
}
.mm-dropdown li.is-sponsored .mm-icon { color: var(--amber); }
.mm-tag {
  font: 700 9px/1 var(--font-mono);
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: .14em;
}

/* Card 02, Quick Links mockup */
.mm-tiles-body { gap: 14px; }
.mm-tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.mm-tile {
  aspect-ratio: 1;
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.mm-tile img {
  width: 58%;
  height: 58%;
  object-fit: contain;
}
.mm-tile.is-live {
  border-color: var(--amber);
  box-shadow:
    inset 0 0 0 1.5px var(--amber),
    0 0 0 2px rgba(245,166,35,0.35),
    0 0 18px rgba(245,166,35,0.5);
}
.mm-live {
  position: absolute;
  bottom: -1px; right: -1px;
  background: var(--amber);
  color: #1A1100;
  font: 700 7.5px/1 var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 3px 5px;
  border-radius: 4px 0 0 0;
}
.mm-auction {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}
.mm-auction-head {
  font: 600 9.5px/1 var(--font-mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amber);
}
.mm-auction-row {
  font: 500 12px/1 var(--font-mono);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.mm-auction-row .mm-bid { color: var(--amber); font-weight: 700; }
.mm-auction-row.dimmed {
  color: var(--muted);
}
.mm-auction-row.dimmed .mm-bid {
  color: var(--muted);
  font-weight: 500;
}
.pub-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pub-card-eyebrow {
  font: 500 10px/1 var(--font-mono);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amber);
}
.pub-card-title {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--white);
  letter-spacing: 1.5px;
  line-height: 1;
  text-transform: uppercase;
  margin: 0;
}
.pub-card-tagline {
  font: 400 14px/1.3 var(--font-body);
  color: var(--muted2);
  font-style: italic;
}
.pub-card-desc {
  font: 400 13.5px/1.6 var(--font-body);
  color: var(--muted2);
  margin: 0;
}
.pub-card-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pub-card-bullets li {
  font: 400 13px/1.5 var(--font-body);
  color: var(--muted2);
  position: relative;
  padding-left: 16px;
}
.pub-card-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}
.pub-card-cta {
  font: 600 13px/1 var(--font-body);
  color: var(--amber);
  text-decoration: none;
  margin-top: auto;
  padding-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pub-card-cta span {
  display: inline-block;
  transition: transform .25s ease;
}
.pub-card-cta:hover span {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .pub-cards { grid-template-columns: 1fr; }
  .pub-card { grid-template-columns: 1fr; min-height: 0; gap: 16px; overflow: hidden; }
  .pub-card-visual { height: 460px; }
  .pub-card-visual surface-frame { transform: scale(0.66); }
}
@media (max-width: 480px) {
  /* Tighter scale + shorter visual so cards 3+4 surface-frame doesn't clip news cards */
  .pub-card-visual { height: 400px; }
  .pub-card-visual surface-frame { transform: scale(0.55); }
}
@media (max-width: 420px) {
  /* Module 01 dropdown: drop the Sponsored pill onto its own line below the query */
  .mm-dropdown li.is-sponsored {
    flex-wrap: wrap;
    align-items: center;
    column-gap: 10px;
    row-gap: 4px;
  }
  .mm-dropdown li.is-sponsored .mm-tag {
    margin-left: 22px;
    flex: 0 0 auto;
  }
  .mm-dropdown li.is-sponsored span:not(.mm-tag) {
    flex: 1 1 calc(100% - 24px);
  }
}
@media (max-width: 420px) {
  .mm-input { padding: 10px 12px; font-size: 12px; }
  .mm-input .mm-icon { width: 13px; height: 13px; }
  .mm-dropdown li { padding: 8px 10px; font-size: 12px; }
}

/* ---------- Section 11, OEM Heritage ------------------------- */
.oem .copy {
  max-width: 880px;
  margin: 0 auto 40px;
  text-align: center;
}
.oem .copy p {
  font: 400 16px/1.6 var(--font-body);
  color: var(--muted2);
  margin: 0;
}
.oem .grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.oem-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.oem-tile:hover { border-color: var(--amber); box-shadow: 0 8px 22px -10px rgba(245,166,35,0.4); }
.oem-tile .logo-spot {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.94);
  border-radius: 10px;
  display: grid;
  place-items: center;
  padding: 8px;
}
.oem-tile .logo-spot img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.oem-tile .name {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 1.2px;
  color: var(--white);
  text-transform: uppercase;
}
.oem-tile .partnered {
  font: 500 9px/1 var(--font-mono);
  color: var(--muted);
  letter-spacing: .22em;
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .oem .grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .oem-tile { padding: 16px 8px 14px; gap: 6px; }
  .oem-tile .logo-spot { width: 48px; height: 48px; }
  .oem-tile .name { font-size: 15px; letter-spacing: 1px; }
  .oem-tile .partnered { display: none; }
  .oem .copy { margin-bottom: 28px; }
  .oem .copy p { font-size: 14px; }
}
@media (max-width: 480px) {
  .oem .grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .oem-tile { padding: 14px 6px 12px; }
}

/* ---------- Section 12, Demand and Ad-Tech Partners ---------- */
.partners .grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.partner-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.partner-tile:hover {
  border-color: var(--amber);
  box-shadow: 0 8px 22px -10px rgba(245,166,35,0.4);
}
.partner-tile .logo-spot {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.94);
  border-radius: 8px;
  display: grid;
  place-items: center;
  padding: 6px;
}
.partner-tile .logo-spot img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
}
.partner-tile .pt-name {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 1.2px;
  color: var(--white);
  text-transform: uppercase;
  transition: color .2s ease;
}
@media (max-width: 900px) {
  .partners .grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .partner-tile { padding: 12px 8px; gap: 6px; }
  .partner-tile .logo-spot { width: 32px; height: 32px; padding: 4px; }
  .partner-tile .pt-name { font-size: 11px; letter-spacing: 0.8px; }
}
@media (max-width: 480px) {
  .partners .grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .partner-tile { padding: 10px 4px; }
  .partner-tile .pt-name { display: none; }
}

/* ---------- Section 13, About -------------------------------- */
.about .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  min-height: 460px;
}
.about-card .ac-photo {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.about-card .ac-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,11,14,0) 30%, rgba(10,11,14,0.85) 100%),
    radial-gradient(400px 200px at 0% 0%, var(--amber-glow) 0%, transparent 70%);
  pointer-events: none;
}
.about-card.ac-berlin .ac-photo {
  background-image: url('https://images.unsplash.com/photo-1587330979470-3595ac045ab0?w=1200&auto=format&fit=crop&q=70');
}
.about-card.ac-london .ac-photo {
  background-image: url('https://images.unsplash.com/photo-1513635269975-59663e0ac1ad?w=1200&auto=format&fit=crop&q=70');
}
.about-card .ac-body-wrap {
  padding: 24px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  flex: 1;
}
.about-card .ac-tag {
  font: 500 11px/1 var(--font-mono);
  color: var(--amber);
  letter-spacing: .22em;
  text-transform: uppercase;
}
.about-card .ac-city {
  font-family: var(--font-display);
  font-size: 64px;
  letter-spacing: 2px;
  line-height: 1;
  color: var(--white);
  margin: 0;
  text-transform: uppercase;
}
.about-card .ac-role {
  font: 500 11px/1 var(--font-mono);
  color: var(--muted2);
  letter-spacing: .22em;
  text-transform: uppercase;
}
.about-card .ac-addr {
  font: 400 13px/1.5 var(--font-body);
  color: var(--muted2);
  margin: 8px 0 4px;
}
.about-card .ac-body {
  font: 400 14px/1.55 var(--font-body);
  color: var(--text);
  margin: 0;
}
@media (max-width: 900px) { .about .grid { grid-template-columns: 1fr; } }

/* ---------- Section 14, Let's Talk (from live) --------------- */
.cta-section {
  padding: 120px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  text-align: center;
}
.cta-section .section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}
.cta-section .cta-h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 96px);
  letter-spacing: 2px;
  color: var(--white);
  line-height: 0.95;
  margin: 0 0 20px;
  text-transform: uppercase;
}
.cta-section .cta-h2 em {
  font-style: normal;
  color: var(--amber);
}
.cta-section .cta-intro {
  font: 300 17px/1.55 var(--font-body);
  color: var(--muted2);
  max-width: 480px;
  margin: 0 auto 48px;
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.cf-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0;
}
.cf-field:not(.cf-row .cf-field) {
  margin-bottom: 16px;
}
.cf-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted2);
}
.cf-input {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  transition: border-color .25s ease, box-shadow .25s ease;
  outline: none;
  width: 100%;
}
.cf-input::placeholder { color: var(--muted); }
.cf-input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.1);
}
select.cf-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238A877F' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
select.cf-input option {
  background: var(--surface);
  color: var(--text);
}
.cf-textarea {
  resize: vertical;
  min-height: 100px;
}
.cf-submit {
  width: 100%;
  text-align: center;
  margin-top: 8px;
  padding: 16px;
  font-size: 15px;
  justify-content: center;
}

@media (max-width: 720px) {
  .cf-row { grid-template-columns: 1fr; }
}

/* ---------- Section 11b, Story (Acquisition + Startpage),
   ruhige Side-Note zwischen OEM Heritage und About.
   Etwas mehr Luft unten als oben, damit der Block nicht in den Partners-Stack
   uebergeht. ---------- */
.story {
  padding: 56px 0 96px;
}
.story-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.story-text .kicker { margin-bottom: 10px; }
.story-h {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: 1px;
  line-height: 1.05;
  color: var(--text);
  margin: 0 0 18px;
  text-transform: uppercase;
}
.story-h .br { display: block; height: 2px; }
.story-h-fade { color: var(--muted2); }
.story-h em { font-style: normal; color: var(--amber); }
.story-body {
  font: 400 14.5px/1.6 var(--font-body);
  color: var(--muted2);
  margin: 0 0 14px;
}
.story-status {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--bg-2);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: 999px;
}
.story-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  animation: story-pulse 1.6s ease-in-out infinite;
}
@keyframes story-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,166,35,0.55); opacity: 1; }
  50%      { box-shadow: 0 0 0 6px rgba(245,166,35,0); opacity: 0.7; }
}
.story-status-text {
  font: 500 10.5px/1 var(--font-mono);
  color: var(--amber);
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* Visualization, stilisierte Flamme */
.story-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-flame {
  width: 100%;
  max-width: 160px;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(245,166,35,0.2));
  transform-origin: 50% 80%;
  animation: story-flame-breath 6s ease-in-out infinite;
}
.story-flame-halo {
  transform-origin: 120px 200px;
  animation: story-flame-halo-pulse 5s ease-in-out infinite;
}
.story-flame-mid,
.story-flame-core {
  transform-origin: 120px 240px;
  animation: story-flame-flicker 4.4s ease-in-out infinite;
}
.story-flame-core { animation-duration: 3.6s; animation-delay: -1.2s; }

@keyframes story-flame-breath {
  0%, 100% { transform: scale(1);    opacity: 1;   }
  50%      { transform: scale(1.015); opacity: 0.94; }
}
@keyframes story-flame-halo-pulse {
  0%, 100% { opacity: 0.85; transform: scale(1);    }
  50%      { opacity: 1;    transform: scale(1.08); }
}
@keyframes story-flame-flicker {
  0%, 100% { transform: scaleY(1);     }
  50%      { transform: scaleY(0.985); }
}

@media (prefers-reduced-motion: reduce) {
  .story-flame,
  .story-flame-halo,
  .story-flame-mid,
  .story-flame-core { animation: none; }
}

@media (max-width: 900px) {
  /* Flamme auf Mobile raus, Text-Spalte voll. */
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .story-visual { display: none; }
  .story-h { font-size: clamp(22px, 6vw, 32px); margin-bottom: 16px; }
  .story-body { font-size: 14px; margin-bottom: 12px; }
}

/* ---------- Anchor links offset for sticky nav --------------- */
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }
