/* ==========================================================================
   Variant C, editorial “Was ist dabei?” rows (AP 2026 Novelties reference)
   ========================================================================== */

body.ed-page {
  background: #0b0b0b;
  color: #f7f3ee;
  min-height: 100vh;
}

body.ed-page .ed-header {
  background: transparent;
  padding: 22px 48px;
  position: relative;
  z-index: 2;
}
body.ed-page .ed-header .mockup-badge {
  color: #f7f3ee;
  border-color: #c9a54a;
}
body.ed-page .ed-header .lang-switch a { color: #8a8a8a; }
body.ed-page .ed-header .lang-switch a.is-active,
body.ed-page .ed-header .lang-switch a:hover { color: #f7f3ee; }
body.ed-page .ed-header .lang-sep { color: #3a3a3a; }

@media (max-width: 799px) {
  body.ed-page .ed-header { padding: 18px 20px; }
}

/* Section canvas: near-black with a faint warm grain + vignette */
.ed-dabei {
  --ed-gold: #c9a54a;
  --ed-muted: #b3aea6;
  --ed-card-w: 280px;
  --ed-card-h: 434px;
  --ed-gap: 16px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 36px 0 56px;
  background-color: #0b0b0b;
  background-image:
    radial-gradient(ellipse at 12% 0%, rgba(201, 165, 74, 0.07), transparent 46%),
    radial-gradient(ellipse at 88% 100%, rgba(255, 255, 255, 0.035), transparent 42%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.09'/%3E%3C/svg%3E");
  color: #f7f3ee;
}

.ed-kicker {
  margin: 0 0 40px;
  padding: 0 56px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c9a54a;
}

.ed-row {
  display: grid;
  grid-template-columns: minmax(280px, 26vw) minmax(0, 1fr);
  align-items: center;
  column-gap: 36px;
  margin-bottom: 52px;
  padding-left: 56px;
}
.ed-row:last-child { margin-bottom: 0; }

/* Left headline column */
.ed-head { align-self: center; max-width: 380px; padding-right: 8px; }
.ed-label {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ed-gold);
}
.ed-head h2 {
  margin: 0;
  font-weight: 200;
  font-size: clamp(1.85rem, 2.95vw, 2.9rem);
  letter-spacing: 0.01em;
  line-height: 0.96;
  text-transform: uppercase;
  color: #fbfaf7;
}
.ed-head h2 .ed-line { display: block; }
.ed-head h2 .ed-italic {
  font-weight: 200;
  font-style: italic;
}

.ed-explore,
.ed-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #ece8e0;
  text-decoration: none;
}
.ed-more { margin-top: 16px; font-size: 12.5px; }
.ed-explore:hover,
.ed-more:hover { color: #fff; }
.ed-rule {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--ed-gold);
  flex: 0 0 auto;
}

/* Horizontal track: last card bleeds off the right edge */
.ed-track {
  display: flex;
  gap: var(--ed-gap);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 56px 8px 0;
  min-width: 0;
}
.ed-track::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* Tall photo tiles */
.ed-card {
  position: relative;
  flex: 0 0 var(--ed-card-w);
  width: var(--ed-card-w);
  height: var(--ed-card-h);
  scroll-snap-align: start;
  overflow: hidden;
  background: #111;
  border-radius: 0;
  color: #fff;
}
.ed-card-media {
  position: absolute;
  inset: 0;
  background: #141414;
}
.ed-card-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
  filter: grayscale(0.42) saturate(0.45) contrast(1.08) brightness(0.62);
  transform: scale(1.04);
}
.ed-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 11, 11, 0.38) 0%, rgba(11, 11, 11, 0.22) 34%, rgba(11, 11, 11, 0.62) 66%, rgba(11, 11, 11, 0.94) 100%);
  pointer-events: none;
}

/* Icon-only tiles: dark textured field, thin gold line icon */
.ed-card-media--icon {
  background-color: #121212;
  background-image:
    radial-gradient(ellipse at 50% 28%, rgba(201, 165, 74, 0.1), transparent 58%),
    radial-gradient(ellipse at 50% 100%, rgba(0, 0, 0, 0.55), transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.14'/%3E%3C/svg%3E");
}
.ed-card-media--icon::after {
  background:
    linear-gradient(180deg, rgba(11, 11, 11, 0.15) 0%, rgba(11, 11, 11, 0.08) 40%, rgba(11, 11, 11, 0.62) 70%, rgba(11, 11, 11, 0.94) 100%);
}
.ed-card-media--icon {
  box-shadow: inset 0 0 0 1px rgba(201, 165, 74, 0.28);
}
.ed-icon {
  position: absolute;
  top: 38%;
  left: 50%;
  width: 92px;
  height: 92px;
  transform: translate(-50%, -50%);
  color: var(--ed-gold);
  z-index: 1;
}

.ed-card-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0 22px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.ed-card-copy h3,
.ed-card h3.ph,
.ed-card-copy h3.ph {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}
.ed-card-copy p,
.ed-card-copy p.ph,
.ed-card p.ph {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
  color: var(--ed-muted);
  opacity: 1;
}

/* Enter animation: headline first, then cards at 120ms */
.ed-head,
.ed-card {
  opacity: 0;
  transform: translateY(24px);
}
.ed-row.is-inview .ed-head,
.ed-row.is-inview .ed-card {
  animation: edRise 600ms ease-out forwards;
  animation-delay: var(--ed-delay, 0ms);
}

@keyframes edRise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .ed-head,
  .ed-card {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
}

/* Screenshots: show the finished state */
html.shot-inkl .ed-head,
html.shot-inkl .ed-card {
  opacity: 1;
  transform: none;
  animation: none;
}
html.shot-inkl body,
html.shot-inkl body:has(.ed-dabei),
html.shot-anim body,
html.shot-anim body:has(.ed-dabei) {
  background: #0b0b0b;
}
html.shot-inkl .ed-dabei,
html.shot-anim .ed-dabei,
html.shot-inkl .ed-dabei.ed-dabei--page,
html.shot-full .ed-dabei.ed-dabei--page {
  padding-top: 40px;
  padding-bottom: 56px;
}
.ed-dabei.ed-dabei--page {
  padding-top: 40px;
  padding-bottom: 56px;
}
html.shot-anim .ed-header { display: none !important; }
html.shot-anim-row1 .ed-kicker,
html.shot-anim-row1 .ed-row:not([data-row="1"]) {
  display: none;
}
html.shot-anim-row1 .ed-dabei { padding-top: 72px; padding-bottom: 72px; }

/* Mid-stagger freeze: negative delay = already progressed, then paused */
html.shot-anim .ed-row .ed-head,
html.shot-anim .ed-row .ed-card {
  opacity: 0;
  transform: translateY(24px);
  animation: edRise 600ms ease-out paused forwards;
  animation-delay: calc(var(--ed-delay, 0ms) - var(--ed-t, 0ms));
}

/* Mobile: headline stacks above a swipeable 75vw row */
@media (max-width: 799px) {
  .ed-dabei,
  .ed-dabei.ed-dabei--page {
    --ed-card-w: 75vw;
    --ed-card-h: 86vw; /* was 112vw; ~23% lower, width stays 75vw */
    --ed-gap: 12px;
    padding: 24px 0 48px;
  }
  .ed-kicker { padding: 0 20px; margin-bottom: 28px; }
  .ed-row {
    grid-template-columns: 1fr;
    align-items: start;
    row-gap: 22px;
    margin-bottom: 40px;
    padding-left: 20px;
  }
  .ed-head { max-width: none; padding-right: 20px; }
  /* Keep the mobile row titles at the previous size so they stay readable. */
  .ed-head h2 { font-size: clamp(2.15rem, 11vw, 3rem); }
  .ed-explore { margin-top: 16px; }
  .ed-card-copy { padding: 0 18px 20px; }
  .ed-card-copy h3,
  .ed-card h3.ph,
  .ed-card-copy h3.ph { font-size: 22px; }
  .ed-track { padding-right: 20px; }
  html.shot-inkl .ed-dabei,
  html.shot-inkl .ed-dabei.ed-dabei--page,
  html.shot-full .ed-dabei.ed-dabei--page {
    padding-top: 24px;
    padding-bottom: 48px;
  }
}

@media (min-width: 800px) and (max-width: 1100px) {
  .ed-dabei { --ed-card-w: 240px; --ed-card-h: 404px; }
  .ed-row { padding-left: 40px; column-gap: 20px; }
  .ed-kicker { padding: 0 40px; }
  .ed-head h2 { font-size: clamp(1.8rem, 3.3vw, 2.65rem); }
}

/* ===== Included v2 (ported from concepts/included-v2.html) ===== */
#dabei.ed-dabei,
#dabei.ed-dabei.ed-dabei--page,
html.shot-inkl #dabei.ed-dabei,
html.shot-inkl #dabei.ed-dabei.ed-dabei--page,
html.shot-full #dabei.ed-dabei,
html.shot-full #dabei.ed-dabei.ed-dabei--page,
html.shot-anim #dabei.ed-dabei {
  padding: 0;
  background: #111;
  overflow: hidden;
  isolation: isolate;
}

    /* Concept v2, scoped. Does not change the live site stylesheets. */
    :root {
      --iv2-black: #111111;
      --iv2-gold: #c9a54a;
      --iv2-gold-text: #8c7029;
      --iv2-emerald: #006838;
      --iv2-cream: #fdfbf7;
      --iv2-cream-deep: #f3ede2;
      --iv2-ink: #111111;
      --iv2-muted: #5c564c;
    }
    .iv2 {
      position: relative;
      isolation: isolate;
    }

    /* ---------- Always included (black) ---------- */
    .iv2-included {
      background: var(--iv2-black);
      padding: 56px 0 64px;
    }
    .iv2-kicker {
      margin: 0 0 36px;
      padding: 0 56px;
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--iv2-gold);
    }
    .iv2-included-row {
      display: grid;
      grid-template-columns: minmax(240px, 22vw) minmax(0, 1fr);
      column-gap: 36px;
      align-items: start;
      padding-left: 56px;
    }
    .iv2-head { align-self: start; max-width: 340px; padding-right: 8px; padding-top: 0; }
    .iv2-head h2 {
      margin: 0;
      font-weight: 200;
      font-size: clamp(1.85rem, 2.95vw, 2.9rem);
      letter-spacing: 0.01em;
      line-height: 0.96;
      text-transform: uppercase;
      color: #fbfaf7;
    }
    .iv2-head h2 .iv2-line { display: block; }
    .iv2-head h2 .iv2-italic { font-style: italic; font-weight: 200; }

    .iv2-cards {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
      padding-right: 56px;
      min-width: 0;
    }
    .iv2-card {
      position: relative;
      background: #1a1a1a;
      color: var(--iv2-cream);
      min-width: 0;
      display: flex;
      flex-direction: column;
    }
    .iv2-card-media {
      position: relative;
      aspect-ratio: 4 / 5;
      overflow: hidden;
      background: #1a1a1a;
    }
    .iv2-card-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      max-width: none;
      /* Full colour, no grey wash */
      filter: none;
    }
    .iv2-badge {
      position: absolute;
      top: 12px;
      left: 12px;
      z-index: 2;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      min-height: 28px;
      padding: 4px 10px 4px 7px;
      border-radius: 999px;
      background: rgba(253, 251, 247, 0.96);
      color: var(--iv2-ink);
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      line-height: 1;
    }
    .iv2-badge svg {
      width: 14px;
      height: 14px;
      color: var(--iv2-gold);
      flex: 0 0 auto;
    }
    .iv2-card-copy {
      padding: 14px 14px 16px;
      background: #161616;
    }
    .iv2-card-copy h3 {
      margin: 0;
      font-size: 17px;
      font-weight: 700;
      letter-spacing: -0.03em;
      line-height: 1.2;
      color: #fdfbf7;
    }

    /* Backup plan: warm cream tile, gold line icon, not an empty dark box */
    .iv2-card--backup .iv2-card-media {
      background:
        radial-gradient(ellipse at 50% 42%, rgba(0, 104, 56, 0.08), transparent 58%),
        var(--iv2-cream-deep);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: inset 0 0 0 1px rgba(201, 165, 74, 0.55);
    }
    .iv2-card--backup .iv2-backup-mark {
      width: 88px;
      height: 88px;
      color: var(--iv2-gold);
    }
    .iv2-card--backup .iv2-badge {
      background: var(--iv2-emerald);
      color: #fdfbf7;
    }
    .iv2-card--backup .iv2-badge svg { color: var(--iv2-gold); }
    .iv2-card--backup .iv2-card-copy {
      background: var(--iv2-cream);
    }
    .iv2-card--backup .iv2-card-copy h3 { color: var(--iv2-ink); }

    /* ---------- Divider ---------- */
    .iv2-divider {
      background: var(--iv2-black);
      padding: 8px 56px 56px;
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      column-gap: 28px;
    }
    .iv2-rule {
      display: block;
      height: 1px;
      background: var(--iv2-gold);
      opacity: 0.85;
    }
    .iv2-divider-copy { text-align: center; max-width: 28em; }
    .iv2-divider-title {
      margin: 0;
      font-family: "Cormorant Garamond", "Times New Roman", serif;
      font-style: italic;
      font-weight: 500;
      font-size: clamp(28px, 3.2vw, 40px);
      letter-spacing: -0.02em;
      line-height: 1.15;
      color: #fdfbf7;
    }
    .iv2-divider-sub {
      margin: 8px 0 0;
      font-size: 15px;
      font-weight: 400;
      line-height: 1.45;
      color: #cfc8bc;
    }

    /* ---------- Optional (one cream block) ---------- */
    .iv2-optional {
      background: var(--iv2-cream-deep);
      color: var(--iv2-ink);
      padding: 64px 56px 72px;
    }
    .iv2-opt-group + .iv2-opt-group { margin-top: 48px; }
    .iv2-opt-group h3 {
      margin: 0 0 20px;
      font-weight: 200;
      font-size: clamp(1.55rem, 2.2vw, 2.05rem);
      letter-spacing: 0.04em;
      line-height: 1.05;
      text-transform: none;
      color: var(--iv2-ink);
    }
    .iv2-opt-group h3 .iv2-opt-k {
      display: inline;
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }
    .iv2-opt-group h3 em {
      font-style: italic;
      font-weight: 200;
      letter-spacing: 0;
      text-transform: none;
    }
    .iv2-tiles {
      display: grid;
      gap: 12px;
    }
    .iv2-tiles--fav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .iv2-tiles--venue { grid-template-columns: repeat(5, minmax(0, 1fr)); }

    .iv2-tile {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
      min-height: 164px;
      padding: 18px 16px 16px;
      background: var(--iv2-cream);
      border: 1px solid rgba(201, 165, 74, 0.45);
      border-radius: 4px;
      color: var(--iv2-ink);
      text-align: left;
      cursor: default;
    }
    .iv2-tile-icon {
      width: 28px;
      height: 28px;
      color: var(--iv2-ink);
      stroke: currentColor;
      flex: 0 0 auto;
    }
    .iv2-tile h4 {
      margin: 0;
      padding-right: 44px;
      font-size: 16px;
      font-weight: 700;
      letter-spacing: -0.02em;
      line-height: 1.25;
      color: var(--iv2-ink);
    }
    .iv2-tile p {
      margin: 0;
      padding-right: 8px;
      font-size: 13px;
      font-weight: 400;
      line-height: 1.4;
      color: var(--iv2-muted);
    }
    .iv2-tile .ph { color: #8c7029; font-weight: 600; }
    .iv2-add {
      position: absolute;
      top: 10px;
      right: 10px;
      width: 44px;
      height: 44px;
      margin: 0;
      padding: 0;
      border-radius: 50%;
      border: 1px solid var(--iv2-ink);
      background: transparent;
      color: var(--iv2-ink);
      display: grid;
      place-items: center;
      cursor: pointer;
    }
    .iv2-add:hover, .iv2-add:focus-visible {
      background: var(--iv2-ink);
      color: var(--iv2-cream);
      outline: none;
    }
    .iv2-add svg { width: 16px; height: 16px; }

    /* Staggered fade-in */
    .iv2-reveal {
      opacity: 0;
      transform: translateY(24px);
    }
    .iv2-reveal.is-inview {
      animation: iv2Rise 600ms ease-out forwards;
      animation-delay: var(--iv2-delay, 0ms);
    }
    @keyframes iv2Rise {
      from { opacity: 0; transform: translateY(24px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    html.shot .iv2-reveal {
      opacity: 1 !important;
      transform: none !important;
      animation: none !important;
    }
    @media (prefers-reduced-motion: reduce) {
      .iv2-reveal {
        opacity: 1;
        transform: none;
        animation: none !important;
      }
    }

    @media (max-width: 1100px) {
      .iv2-tiles--fav,
      .iv2-tiles--venue { grid-template-columns: repeat(3, minmax(0, 1fr)); }
      .iv2-kicker, .iv2-divider, .iv2-optional { padding-left: 32px; padding-right: 32px; }
      .iv2-included-row { padding-left: 32px; }
      .iv2-cards { padding-right: 32px; }
    }

    @media (max-width: 799px) {
      .iv2-included { padding: 36px 0 40px; }
      .iv2-kicker { padding: 0 20px; margin-bottom: 28px; }
      .iv2-included-row {
        grid-template-columns: 1fr;
        padding-left: 0;
        row-gap: 22px;
      }
      .iv2-head { padding: 0 20px; max-width: none; }
      .iv2-head h2 { font-size: clamp(2.15rem, 11vw, 3rem); }
      .iv2-cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 0 20px;
        overflow: visible;
      }
      .iv2-card { width: auto; }
      .iv2-card-copy { padding: 10px 10px 12px; }
      .iv2-card-copy h3 { font-size: 14px; }
      .iv2-badge { top: 8px; left: 8px; padding: 4px 8px 4px 6px; font-size: 9px; }
      .iv2-divider {
        grid-template-columns: 1fr;
        row-gap: 16px;
        padding: 12px 20px 40px;
      }
      .iv2-divider .iv2-rule:first-child { display: none; }
      .iv2-divider-copy { text-align: left; }
      .iv2-optional { padding: 40px 20px 56px; }
      .iv2-opt-group + .iv2-opt-group { margin-top: 36px; }
      .iv2-tiles--fav,
      .iv2-tiles--venue { grid-template-columns: 1fr 1fr; }
      .iv2-tile { min-height: 172px; padding: 16px 14px 14px; }
      .iv2-tile h4 { font-size: 15px; }
    }

    @media (max-width: 379px) {
      .iv2-tiles--fav,
      .iv2-tiles--venue { grid-template-columns: 1fr; }
    }

/* Reveal: JS adds .is-inview; any ?shot class freezes the finished state. */
#dabei .iv2-reveal.is-inview {
  animation: iv2Rise 600ms ease-out forwards;
  animation-delay: var(--iv2-delay, 0ms);
}
html.shot #dabei .iv2-reveal,
html.shot-inkl #dabei .iv2-reveal,
html.shot-full #dabei .iv2-reveal,
html.shot-anim #dabei .iv2-reveal,
html.shot-top #dabei .iv2-reveal {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}
