/* =========================================================================
   Pizza di Angelo – Fuoco · main.css
   Basis-Layout, Typografie und wiederverwendbare Komponenten.
   Sektions-spezifische Regeln liegen in assets/css/sections/*.css.
   Nutzt @layer für planbare Kaskade (reset < base < components < utilities).
   ========================================================================= */

@layer reset, base, components, sections, utilities;

/* -------------------------------------------------------------------------
   Reset (schlank, modern).
   ------------------------------------------------------------------------- */
@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  * {
    margin: 0;
  }

  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
  }

  body {
    min-height: 100vh;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  img,
  picture,
  svg,
  video {
    display: block;
    max-width: 100%;
    height: auto;
  }

  input,
  button,
  textarea,
  select {
    font: inherit;
    color: inherit;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  ul[role="list"],
  ol[role="list"] {
    list-style: none;
    padding: 0;
  }

  /* Reduzierte Bewegung respektieren — global. */
  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
      animation-duration: 0.001ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.001ms !important;
      scroll-behavior: auto !important;
    }
  }
}

/* -------------------------------------------------------------------------
   Base — Grundtypografie und Seiten-Grundfläche.
   ------------------------------------------------------------------------- */
@layer base {
  body {
    font-family: var(--pda-font-body);
    font-size: var(--pda-fs-body);
    background-color: var(--bg);
    color: var(--text);
    font-synthesis: none;
  }

  h1,
  h2,
  h3,
  h4 {
    font-family: var(--pda-font-display);
    font-weight: 460;
    line-height: 1.1;
    letter-spacing: -0.015em;
    font-optical-sizing: auto;
    text-wrap: balance;
    color: var(--text);
  }

  h1 {
    font-size: var(--pda-fs-hero);
  }
  h2 {
    font-size: var(--pda-fs-h2);
  }
  h3 {
    font-size: var(--pda-fs-h3);
    letter-spacing: -0.01em;
  }

  p {
    text-wrap: pretty;
  }

  a {
    color: var(--link);
    transition: color 0.18s var(--pda-ease);
  }
  a:hover {
    color: color-mix(in srgb, var(--link), #000 18%);
  }

  strong,
  b {
    font-weight: 600;
  }

  /* Sichtbarer Fokus auf allen interaktiven Elementen — nie entfernen. */
  :focus-visible {
    outline: 2px solid var(--pda-accent);
    outline-offset: 2px;
    border-radius: 2px;
  }

  ::selection {
    background: var(--pda-accent);
    color: var(--pda-accent-ink);
  }
}

/* -------------------------------------------------------------------------
   Components — wiederverwendbare Bausteine.
   ------------------------------------------------------------------------- */
@layer components {
  /* Skip-Link (Accessibility). */
  .pda-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 1.25rem;
    background: var(--pda-accent);
    color: var(--pda-accent-ink);
    border-radius: 0 0 var(--pda-radius-sm) 0;
    font-weight: 600;
  }
  .pda-skip-link:focus {
    left: 0;
  }

  /* Sektions-Grundgerüst. Hintergrund/Text kommen aus den semantischen
     Tokens, die .section--dark setzt. */
  .section {
    background-color: var(--bg);
    color: var(--text);
    padding-block: var(--pda-space);
    scroll-margin-top: var(--pda-header-h);
    /* Weicher Übergang dark↔light: 1px Border in Modus-Farbe. */
    border-top: 1px solid var(--border);
  }
  .section:first-of-type {
    border-top: 0;
  }

  /* Zentrierter Inhalts-Container. */
  .pda-container {
    width: 100%;
    max-width: var(--pda-container);
    margin-inline: auto;
    padding-inline: var(--pda-pad-x);
  }

  /* Textspalte mit begrenzter Zeilenbreite (Lesbarkeit/SEO-Text). */
  .pda-prose {
    max-width: var(--pda-container-text);
  }
  .pda-prose p + p {
    margin-top: 1em;
  }

  /* Eyebrow-Label über H2 (italienisches Markenelement). */
  .pda-eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-family: var(--pda-font-body);
    font-size: var(--pda-fs-eyebrow);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--eyebrow);
  }

  /* Buttons. */
  .pda-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.75rem 1.5rem;
    border-radius: var(--pda-radius-pill);
    border: 1px solid transparent;
    font-weight: 600;
    font-size: var(--pda-fs-body);
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.18s var(--pda-ease),
      transform 0.18s var(--pda-ease), border-color 0.18s var(--pda-ease);
  }
  .pda-btn--primary {
    background-color: var(--pda-accent);
    color: var(--pda-accent-ink);
  }
  .pda-btn--primary:hover {
    background-color: var(--pda-accent-hover);
    color: var(--pda-accent-ink);
    transform: translateY(-1px);
  }
  .pda-btn--secondary {
    background-color: transparent;
    color: var(--text);
    border-color: var(--btn-secondary-border);
  }
  .pda-btn--secondary:hover {
    border-color: var(--pda-accent);
    color: var(--pda-accent);
    transform: translateY(-1px);
  }
}

/* -------------------------------------------------------------------------
   Utilities — inkl. Scroll-Reveal-Pattern (ein Muster für alle Sektionen).
   ------------------------------------------------------------------------- */
@layer utilities {
  .pda-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  /* Reveal: Startzustand nur bei aktivem JS (.pda-js). Ohne JS bleibt der
     Inhalt sofort sichtbar. Eingeblendet via IntersectionObserver (reveal.js). */
  .pda-js .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s var(--pda-ease), transform 0.4s var(--pda-ease);
    will-change: opacity, transform;
  }
  .pda-js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  /* Gestaffeltes Reveal: die direkten Kinder blenden nacheinander ein.
     Index --pda-i wird von reveal.js gesetzt. */
  .pda-js .reveal--stagger > * {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s var(--pda-ease), transform 0.5s var(--pda-ease);
    will-change: opacity, transform;
  }
  .pda-js .reveal--stagger.is-visible > * {
    opacity: 1;
    transform: none;
    transition-delay: calc(var(--pda-i, 0) * 70ms);
  }

  @media (prefers-reduced-motion: reduce) {
    .pda-js .reveal,
    .pda-js .reveal--stagger > * {
      opacity: 1;
      transform: none;
      transition: none;
    }
  }
}

/* -------------------------------------------------------------------------
   Sections — Header, Navigation, Footer, Sticky-CTA.
   (Inhalts-Sektionen folgen in Phase 4.)
   ------------------------------------------------------------------------- */
@layer sections {
  /* --- Sticky-Header (immer dunkel, über allen Sektionen) --- */
  .pda-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: color-mix(in srgb, var(--pda-dark-bg) 88%, transparent);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s var(--pda-ease),
      background-color 0.2s var(--pda-ease);
  }
  .pda-header--scrolled {
    border-bottom-color: var(--pda-dark-border);
    background-color: color-mix(in srgb, var(--pda-dark-bg) 96%, transparent);
  }
  .pda-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--pda-header-h);
  }
  .pda-header__brand {
    display: inline-flex;
    align-items: center;
    line-height: 0;
  }
  /* Schwarze Strichgrafik → hell umfärben für den dunklen Header. */
  .pda-header__logo {
    height: clamp(38px, 5vw, 46px);
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.96;
  }
  .pda-header__brand-name {
    font-family: var(--pda-font-display);
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--pda-dark-text);
  }

  /* Navigation (Desktop). */
  .pda-header__nav {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 2rem);
  }
  .pda-header__menu {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2vw, 1.75rem);
    margin: 0;
  }
  .pda-header__link {
    color: var(--pda-dark-text-2);
    font-size: var(--pda-fs-small);
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.18s var(--pda-ease);
  }
  .pda-header__link:hover {
    color: var(--pda-dark-text);
  }
  .pda-header__cta {
    white-space: nowrap;
  }

  /* Hamburger-Button (nur mobil sichtbar). */
  .pda-header__toggle {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 0;
    cursor: pointer;
    color: var(--pda-dark-text);
  }
  .pda-header__toggle-bars,
  .pda-header__toggle-bars::before,
  .pda-header__toggle-bars::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transform: translateX(-50%);
    transition: transform 0.25s var(--pda-ease), opacity 0.2s var(--pda-ease);
  }
  .pda-header__toggle-bars {
    top: 50%;
    margin-top: -1px;
  }
  .pda-header__toggle-bars::before {
    top: -7px;
  }
  .pda-header__toggle-bars::after {
    top: 7px;
  }

  /* --- Mobile: Fullscreen-Overlay-Navigation --- */
  @media (max-width: 1023px) {
    .pda-header__toggle {
      display: block;
      z-index: 120;
    }
    /* Kompaktes Dropdown-Panel oben rechts (statt Fullscreen-Overlay).
       Ankert an .pda-header (position: sticky = positioniert). */
    .pda-header__nav {
      position: absolute;
      top: calc(100% + 0.5rem);
      right: var(--pda-pad-x);
      width: min(72vw, 240px);
      flex-direction: column;
      align-items: stretch;
      gap: 0.15rem;
      padding: 0.5rem;
      background-color: var(--pda-dark-surface);
      border: 1px solid var(--pda-dark-border);
      border-radius: 14px;
      box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
      opacity: 0;
      visibility: hidden;
      transform: translateY(-6px);
      transition: opacity 0.18s var(--pda-ease),
        transform 0.18s var(--pda-ease), visibility 0s linear 0.18s;
      z-index: 110;
    }
    .pda-header__menu {
      flex-direction: column;
      gap: 0;
      text-align: left;
    }
    .pda-header__link {
      display: block;
      font-family: var(--pda-font-body);
      font-size: 1rem;
      padding: 0.65rem 0.75rem;
      border-radius: 8px;
      color: var(--pda-dark-text);
    }
    .pda-header__link:hover,
    .pda-header__link:focus-visible {
      background-color: var(--pda-dark-bg);
    }
    .pda-header__cta {
      margin-top: 0.4rem;
      text-align: center;
    }

    body.pda-nav-open .pda-header__nav {
      opacity: 1;
      visibility: visible;
      transform: none;
      transition-delay: 0s;
    }
    /* Hamburger → X. */
    body.pda-nav-open .pda-header__toggle-bars {
      background: transparent;
    }
    body.pda-nav-open .pda-header__toggle-bars::before {
      top: 0;
      transform: translateX(-50%) rotate(45deg);
    }
    body.pda-nav-open .pda-header__toggle-bars::after {
      top: 0;
      transform: translateX(-50%) rotate(-45deg);
    }
  }

  /* --- Footer --- */
  .pda-footer {
    border-top: 1px solid var(--pda-dark-border);
    padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  }
  .pda-footer__grid {
    display: grid;
    /* Desktop: Marken-/Slogan-Spalte breiter, damit der Slogan ~2 Zeilen bleibt. */
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: var(--pda-gap) clamp(1.5rem, 4vw, 3rem);
  }
  /* Kleinere Displays (Tablet + Handy): einspaltig, gestapelt + zentriert. */
  @media (max-width: 900px) {
    .pda-footer__grid {
      grid-template-columns: 1fr;
    }
    .pda-footer__col {
      text-align: center;
    }
    .pda-footer__tagline {
      margin-inline: auto;
    }
    .pda-footer__social {
      justify-content: center;
    }
    .pda-footer__list {
      justify-items: center;
    }
    .pda-footer__bottom {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 0.5rem;
    }
  }
  .pda-footer__brand {
    font-family: var(--pda-font-display);
    font-size: 1.25rem;
    line-height: 1.1;
    color: var(--pda-dark-text);
    margin-bottom: 0.75rem;
  }
  .pda-footer__tagline {
    color: var(--pda-dark-text-2);
    font-size: 0.8rem;
    line-height: 1.55;
    max-width: 46ch;
  }
  .pda-footer__nap {
    font-style: normal;
    font-size: 0.8rem;
    color: var(--pda-dark-text-2);
    line-height: 1.8;
  }
  .pda-footer__nap a:hover {
    color: var(--pda-accent);
  }
  .pda-footer__heading {
    font-family: var(--pda-font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--pda-dark-text);
    margin-bottom: 0.9rem;
  }
  .pda-footer__list {
    margin: 0;
    display: grid;
    gap: 0.5rem;
    font-size: 0.8rem;
  }
  .pda-footer__list a,
  .pda-footer__nap a {
    color: var(--pda-dark-text-2);
  }
  .pda-footer__list a:hover {
    color: var(--pda-accent);
  }
  .pda-footer__social {
    display: flex;
    gap: 0.75rem;
  }
  .pda-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--pda-radius-pill);
    border: 1px solid var(--pda-dark-border-strong);
    color: var(--pda-dark-text-2);
    transition: color 0.18s var(--pda-ease), border-color 0.18s var(--pda-ease);
  }
  .pda-footer__social a:hover {
    color: var(--pda-accent);
    border-color: var(--pda-accent);
  }
  .pda-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: clamp(2rem, 5vw, 3rem);
    padding-top: 1.25rem;
    border-top: 1px solid var(--pda-dark-border);
    color: var(--pda-dark-text-3);
    font-size: var(--pda-fs-small);
  }

  /* --- Mobile Sticky-CTA-Leiste --- */
  .pda-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: flex;
    justify-content: center;
    padding: 0.75rem var(--pda-pad-x);
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
    background-color: color-mix(in srgb, var(--pda-dark-bg) 94%, transparent);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--pda-dark-border);
    transform: translateY(120%);
    transition: transform 0.28s var(--pda-ease);
  }
  .pda-sticky-cta .pda-btn {
    width: 100%;
    max-width: 30rem;
  }
  .pda-sticky-cta.is-visible {
    transform: none;
  }
  /* Nur mobil einsetzen. */
  @media (min-width: 1024px) {
    .pda-sticky-cta {
      display: none;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .pda-sticky-cta {
      transition: none;
    }
  }

  /* --- Scroll-to-Top-Button --- */
  .pda-to-top {
    position: fixed;
    right: 1rem;
    /* Über der mobilen Sticky-CTA-Leiste, Safe-Area beachtet. */
    bottom: calc(1rem + 4.5rem + env(safe-area-inset-bottom));
    z-index: 95;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    color: var(--pda-dark-text);
    background-color: color-mix(in srgb, var(--pda-dark-surface) 88%, transparent);
    border: 1px solid var(--pda-dark-border-strong);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s var(--pda-ease), transform 0.25s var(--pda-ease),
      visibility 0s linear 0.25s, border-color 0.2s var(--pda-ease);
  }
  .pda-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }
  .pda-to-top:hover,
  .pda-to-top:focus-visible {
    border-color: var(--pda-accent);
    color: #fff;
  }
  /* Desktop: keine Sticky-CTA → Button ganz unten rechts. */
  @media (min-width: 1024px) {
    .pda-to-top {
      right: 1.75rem;
      bottom: 1.75rem;
      width: 48px;
      height: 48px;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .pda-to-top {
      transition: none;
    }
  }
}

/* -------------------------------------------------------------------------
   Sections · Gruppe 4a — Hero, Referenzen, Intro, Timeline, USP.
   ------------------------------------------------------------------------- */
@layer sections {
  /* --- Hero --- */
  .pda-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    align-items: center;
    min-height: min(88svh, 760px);
    padding-block: clamp(4rem, 12vh, 8rem);
    overflow: hidden;
    border-top: 0;
  }
  .pda-hero__img {
    position: absolute;
    left: 0;
    right: 0;
    top: -18%;
    z-index: -2;
    width: 100%;
    height: 136%;
    object-fit: cover;
  }
  /* Parallax nur mit JS: das übergrosse Bild (136 %) gibt Bewegungsspielraum,
     ohne dass Kanten sichtbar werden. will-change stösst GPU-Compositing an. */
  .pda-js .pda-hero__img {
    will-change: transform;
  }
  @media (prefers-reduced-motion: reduce) {
    .pda-hero__img {
      top: 0;
      height: 100%;
      transform: none !important;
    }
  }
  /* Mobile: Bildausschnitt auf Flamme + Pizza (Bildmitte) zentrieren –
     überschreibt die Inline-Ausrichtung (center right) des Desktops. */
  @media (max-width: 1023px) {
    .pda-hero__img {
      object-position: var(--pda-hero-pos, 35% center) !important;
    }
  }
  /* Overlay: links dunkler (Textkontrast), rechts offener (Pizza sichtbar). */
  .pda-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    /* Asymmetrischer Schleier: links weiterhin stark (weisser Text bleibt
       kontrastreich), rechts/unten aber deutlich offener, damit das hellere
       Bild (Ofen, Pizza, Flamme) sichtbar durchkommt. */
    background: linear-gradient(
        100deg,
        rgba(15, 12, 10, 0.8) 0%,
        rgba(15, 12, 10, 0.58) 38%,
        rgba(15, 12, 10, 0.44) 68%,
        rgba(15, 12, 10, 0.32) 100%
      ),
      linear-gradient(to top, rgba(15, 12, 10, 0.58), transparent 42%);
  }
  .pda-hero__content {
    max-width: 46rem;
  }
  .pda-hero__eyebrow {
    color: var(--pda-gold);
  }
  .pda-hero__title {
    font-size: var(--pda-fs-hero);
    color: var(--pda-dark-text);
    max-width: 18ch;
    /* sanftes Einblenden beim Laden (CSS only). */
    animation: pda-hero-in 0.7s var(--pda-ease) both;
  }
  .pda-hero__subline {
    margin-top: 1.25rem;
    max-width: 42ch;
    color: var(--pda-dark-text-2);
    font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
    animation: pda-hero-in 0.7s var(--pda-ease) 0.1s both;
  }
  .pda-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
    animation: pda-hero-in 0.7s var(--pda-ease) 0.2s both;
  }
  .pda-hero__trust {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    font-size: var(--pda-fs-small);
    color: var(--pda-dark-text-2);
  }
  @keyframes pda-hero-in {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .pda-hero__title,
    .pda-hero__subline,
    .pda-hero__cta {
      animation: none;
    }
  }

  /* --- Sterne --- */
  .pda-stars {
    display: inline-flex;
    gap: 2px;
    color: var(--pda-gold);
    flex: none;
  }
  .pda-stars__star {
    color: color-mix(in srgb, currentColor 25%, transparent);
  }
  .pda-stars__star--on {
    color: var(--pda-gold);
  }

  /* --- Referenzen-Leiste --- */
  .pda-refs {
    padding-block: clamp(2rem, 5vw, 3rem);
  }
  .pda-refs__title {
    font-family: var(--pda-font-body);
    font-size: var(--pda-fs-small);
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text-3);
    text-align: center;
    margin-bottom: 1.25rem;
  }
  /* Referenzen als Endlos-Laufband (Variante 2). Weisse Chips auf durchlaufendem
     Band; pausiert bei Hover und wird dann farbig. Set doppelt gerendert →
     translateX(-50%) ergibt eine nahtlose Schleife. */
  .pda-refs__marquee {
    overflow: hidden;
    /* Weiche Kanten links/rechts. */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  }
  .pda-refs__track {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3rem);
    width: max-content;
    animation: pda-marquee 45s linear infinite;
  }
  /* Bei Hover ODER Tastaturfokus pausiert das Band. */
  .pda-refs__marquee:hover .pda-refs__track,
  .pda-refs__marquee:focus-within .pda-refs__track {
    animation-play-state: paused;
  }
  @keyframes pda-marquee {
    to { transform: translateX(-50%); }
  }
  .pda-refs__chip {
    flex: 0 0 auto;
    width: clamp(120px, 15vw, 150px);
    height: 64px;
    display: grid;
    place-items: center;
    padding: 12px 16px;
    background: #ffffff;
    border-radius: var(--pda-radius-sm);
  }
  .pda-refs__chip-logo {
    /* Feste Pixel-Obergrenzen (nicht %) → alle Logos gleich gross & im Kasten,
       unabhängig von ihrer intrinsischen Bildgrösse. */
    width: auto;
    height: auto;
    max-width: 82%;
    max-height: 38px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.85;
    transition: filter 0.3s var(--pda-ease), opacity 0.3s var(--pda-ease);
  }
  /* Bei Hover/Fokus pausiert das Band und die Logos werden farbig. */
  .pda-refs__marquee:hover .pda-refs__chip-logo,
  .pda-refs__marquee:focus-within .pda-refs__chip-logo {
    filter: none;
    opacity: 1;
  }
  @media (prefers-reduced-motion: reduce) {
    /* Keine Auto-Animation: Band steht still und ist manuell horizontal
       scrollbar (statt umzubrechen). */
    .pda-refs__marquee {
      overflow-x: auto;
    }
    .pda-refs__track {
      animation: none;
      width: max-content;
    }
    /* Duplikat (nur für die Schleife) ausblenden, wenn nicht animiert wird. */
    .pda-refs__chip[aria-hidden="true"] {
      display: none;
    }
  }
  /* Logo-Chips im Firmenevent-Block (Anlässe) — unverändert. */
  .pda-refs__logo {
    width: clamp(120px, 15vw, 150px);
    height: 64px;
    object-fit: contain;
    padding: 12px 16px;
    background: #ffffff;
    border-radius: var(--pda-radius-sm);
    filter: grayscale(1);
    opacity: 0.9;
    transition: opacity 0.2s var(--pda-ease), filter 0.2s var(--pda-ease);
  }
  .pda-refs__logo:hover {
    filter: none;
    opacity: 1;
  }
  /* Kleinere Chips im Firmenevent-Block (Anlässe). */
  .pda-anlass__refs .pda-refs__logo {
    width: 108px;
    height: 48px;
    padding: 8px 12px;
  }
  .pda-refs__name {
    font-family: var(--pda-font-display);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-3);
    white-space: nowrap;
  }

  /* --- Intro-Prose --- */
  .pda-intro__prose {
    margin-top: 1.5rem;
  }

  /* --- USP-Kacheln --- */
  .pda-usps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    gap: var(--pda-gap);
    margin-top: clamp(2.5rem, 6vw, 4rem);
  }
  .pda-usp {
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--pda-radius);
  }
  .pda-usp__title {
    margin-bottom: 0.5rem;
  }
  .pda-usp__text {
    color: var(--text-2);
    font-size: var(--pda-fs-small);
  }

  /* --- Signature-Timeline „48 Stunden" --- */
  .pda-timeline {
    margin-top: clamp(3rem, 7vw, 5rem);
  }
  .pda-timeline__caption {
    font-family: var(--pda-font-display);
    font-style: italic;
    font-size: var(--pda-fs-h3);
    color: var(--text);
    margin-bottom: 1.5rem;
  }
  .pda-timeline__track {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    position: relative;
  }
  /* durchgehende Linie hinter den Markern */
  .pda-timeline__track::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-strong);
  }
  .pda-timeline__step {
    position: relative;
    display: grid;
    justify-items: start;
    gap: 0.35rem;
    padding-top: 1.5rem;
  }
  .pda-timeline__marker {
    position: absolute;
    top: 0;
    left: 0;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--pda-accent);
    box-shadow: 0 0 0 4px var(--bg);
  }
  .pda-timeline__time {
    font-family: var(--pda-font-display);
    font-size: clamp(1.1rem, 2.2vw, 1.6rem);
    color: var(--text);
    line-height: 1;
  }
  .pda-timeline__label {
    font-size: var(--pda-fs-small);
    color: var(--text-3);
  }
  /* Scroll-Reveal der Marker von links nach rechts (gestaffelt, nur mit JS). */
  .pda-js .reveal .pda-timeline__step {
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.4s var(--pda-ease), transform 0.4s var(--pda-ease);
    transition-delay: calc(var(--i) * 120ms);
  }
  .pda-js .reveal.is-visible .pda-timeline__step {
    opacity: 1;
    transform: none;
  }
  @media (prefers-reduced-motion: reduce) {
    .pda-js .reveal .pda-timeline__step {
      opacity: 1;
      transform: none;
      transition: none;
    }
  }
  @media (max-width: 560px) {
    .pda-timeline__track {
      grid-template-columns: 1fr 1fr;
      gap: 1.25rem 0.5rem;
    }
  }
}

/* -------------------------------------------------------------------------
   Sections · Gruppe 4b — Pizzen, Anlässe, Ablauf, Pakete.
   ------------------------------------------------------------------------- */
@layer sections {
  /* --- Pizzen-Grid --- */
  .pda-pizzas {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
    gap: var(--pda-gap);
    margin-top: clamp(2rem, 5vw, 3rem);
  }
  /* 3.1 — Einklappbar: Mit JS zeigt das Grid initial nur die ersten 8 Karten;
     ohne JS (kein .pda-js) sind alle sichtbar und der Toggle ist ausgeblendet. */
  .pda-js .pda-pizzas[data-collapsed="true"] > li:nth-child(n + 9) {
    display: none;
  }
  .pda-pizzas__more {
    display: none;
    margin-top: clamp(1.5rem, 3vw, 2rem);
    text-align: center;
  }
  .pda-js .pda-pizzas__more {
    display: block;
  }
  .pda-pizza-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--pda-radius);
    overflow: hidden;
    transition: transform 0.25s var(--pda-ease), border-color 0.25s var(--pda-ease),
      box-shadow 0.25s var(--pda-ease);
  }
  .pda-pizza-card:hover {
    transform: translateY(-6px);
    border-color: var(--pda-accent);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  }
  .pda-pizza-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    flex: 0 0 auto; /* nicht vom Bild-Inhalt strecken lassen */
    overflow: hidden;
    background: color-mix(in srgb, var(--text) 6%, transparent);
  }
  .pda-pizza-card__media img {
    position: absolute; /* aus dem Fluss → Box-Höhe kommt vom aspect-ratio */
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--pda-ease); /* Hover-Zoom */
  }
  /* Dunkler Verlauf unten → der weisse Pizzaname auf dem Foto bleibt lesbar. */
  .pda-pizza-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
      to top,
      rgba(10, 8, 6, 0.85) 0%,
      rgba(10, 8, 6, 0.4) 22%,
      transparent 48%
    );
  }
  .pda-pizza-card:hover .pda-pizza-card__media img {
    transform: scale(1.07);
  }
  @media (prefers-reduced-motion: reduce) {
    .pda-pizza-card,
    .pda-pizza-card__media img {
      transition: none;
    }
    .pda-pizza-card:hover .pda-pizza-card__media img {
      transform: none;
    }
  }
  .pda-pizza-card__body {
    flex: 1 1 auto;
    padding: 1rem 1.1rem 1.25rem;
  }
  /* Name als Overlay unten auf dem Foto (über dem Verlauf). */
  .pda-pizza-card__name {
    position: absolute;
    left: 1.1rem;
    right: 1.1rem;
    bottom: 0.9rem;
    z-index: 2;
    margin: 0;
    color: #fff;
    font-size: var(--pda-fs-h3);
    line-height: 1.15;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
  }
  .pda-pizza-card__desc {
    color: var(--text-2);
    font-size: var(--pda-fs-small);
    line-height: 1.55;
  }

  /* --- Menü: Kategorie-Tabs --- */
  .pda-menu {
    margin-top: clamp(2rem, 5vw, 3rem);
  }
  .pda-menu__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
  }
  .pda-menu__tab {
    font-family: inherit;
    font-size: var(--pda-fs-small);
    font-weight: 600;
    color: var(--text-2);
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.55rem 1.2rem;
    cursor: pointer;
    transition: color 0.2s var(--pda-ease), background-color 0.2s var(--pda-ease),
      border-color 0.2s var(--pda-ease);
  }
  .pda-menu__tab:hover {
    color: var(--text);
    border-color: var(--border-strong);
  }
  .pda-menu__tab.is-active {
    color: #fff;
    background: var(--pda-accent);
    border-color: var(--pda-accent);
  }
  .pda-menu__tab:focus-visible {
    outline: 2px solid var(--pda-accent);
    outline-offset: 2px;
  }
  /* Panel-Überschrift nur relevant bei Tabs; ohne JS trennt sie die Kategorien. */
  .pda-menu__panel-title {
    margin-bottom: 1.25rem;
  }
  /* Mit JS: mehrere Panels sind sichtbar, Überschrift wäre redundant → aus. */
  .pda-js .pda-menu[data-menu-tabs] .pda-menu__panel-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  /* Mit JS ausgeblendetes Panel. Ohne JS greift dies nie → alles sichtbar. */
  .pda-js .pda-menu__panel[data-menu-inactive] {
    display: none;
  }
  /* Abstand zwischen Panels nur ohne JS (gestapelte Ansicht). */
  .pda-menu__panel + .pda-menu__panel {
    margin-top: clamp(2rem, 5vw, 3rem);
  }
  .pda-js .pda-menu[data-menu-tabs] .pda-menu__panel + .pda-menu__panel {
    margin-top: 0;
  }

  /* --- Menü: Text-Liste (Kategorien ohne Fotos, z. B. Caffè) --- */
  .pda-menu-list {
    display: grid;
    gap: 1.25rem;
  }
  .pda-menu-row {
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.1rem;
  }
  .pda-menu-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
  .pda-menu-row__name {
    margin: 0;
  }
  .pda-menu-row__desc {
    color: var(--text-2);
    font-size: var(--pda-fs-small);
    line-height: 1.55;
    margin-top: 0.35rem;
  }

  /* --- Anlässe --- */
  .pda-anlaesse {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
    gap: var(--pda-gap);
    margin-top: clamp(2rem, 5vw, 3rem);
  }
  .pda-anlass {
    padding: clamp(1.5rem, 3vw, 2rem);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--pda-radius);
    border-top: 3px solid var(--pda-accent);
  }
  .pda-anlass__title {
    margin-bottom: 0.75rem;
  }
  .pda-anlass__text {
    color: var(--text-2);
    font-size: var(--pda-fs-body);
  }
  .pda-anlass__refs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
  }
  .pda-anlass__refs .pda-refs__name {
    font-size: 1rem;
  }
  /* 2.3 — Per-Karten-CTA (Pfeil-Link) unten in jeder Anlass-Karte. */
  .pda-anlass__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.25rem;
    font-weight: 600;
    font-size: var(--pda-fs-small);
    color: var(--pda-accent);
    text-decoration: none;
    transition: gap 0.15s ease, color 0.15s ease;
  }
  .pda-anlass__cta:hover,
  .pda-anlass__cta:focus-visible {
    gap: 0.7rem;
    color: var(--text);
  }

  /* --- Ablauf (nummerierte Schritte) --- */
  .pda-ablauf {
    list-style: none;
    margin: clamp(2rem, 5vw, 3rem) 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
    gap: var(--pda-gap);
    counter-reset: none;
  }
  .pda-ablauf__step {
    position: relative;
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--pda-radius);
  }
  .pda-ablauf__num {
    display: block;
    font-family: var(--pda-font-display);
    font-size: 2rem;
    line-height: 1;
    color: var(--pda-accent);
    margin-bottom: 0.75rem;
  }
  .pda-ablauf__title {
    font-size: var(--pda-fs-h3);
    margin-bottom: 0.4rem;
  }
  .pda-ablauf__text {
    color: var(--text-2);
    font-size: var(--pda-fs-small);
  }

  /* --- Pakete-Tabelle --- */
  .pda-pakete {
    margin-top: clamp(2rem, 5vw, 3rem);
    max-width: 40rem;
  }
  .pda-pakete__table {
    width: 100%;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
  }
  .pda-pakete__table caption {
    text-align: left;
  }
  .pda-pakete__table th,
  .pda-pakete__table td {
    text-align: left;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
  }
  .pda-pakete__table thead th {
    font-family: var(--pda-font-body);
    font-size: var(--pda-fs-small);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-3);
    border-bottom-color: var(--border-strong);
  }
  .pda-pakete__table tbody th {
    font-family: var(--pda-font-display);
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
  }
  .pda-pakete__table tbody td {
    color: var(--text-2);
  }
  .pda-pakete__note {
    margin-top: 1.25rem;
    font-size: var(--pda-fs-small);
    color: var(--text-3);
  }
  .pda-pakete__cta {
    margin-top: 1.5rem;
  }
}

/* -------------------------------------------------------------------------
   Sections · Pakete-Preis-Highlight.
   ------------------------------------------------------------------------- */
@layer sections {
  .pda-pakete__price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: clamp(1.5rem, 4vw, 2.5rem) 0 0.5rem;
  }
  .pda-pakete__price-label {
    font-size: var(--pda-fs-small);
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
  .pda-pakete__price-amount {
    font-family: var(--pda-font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1;
    color: var(--pda-accent);
    font-variant-numeric: tabular-nums;
  }
  .pda-pakete__price-unit {
    font-size: var(--pda-fs-body);
    color: var(--text-2);
  }
}

/* -------------------------------------------------------------------------
   Sections · Gruppe 4c — Bewertungen, Galerie, Über Angelo.
   ------------------------------------------------------------------------- */
@layer sections {
  /* --- Bewertungen (Scroll-Snap-Slider) --- */
  .pda-reviews__summary {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.75rem;
    color: var(--text-2);
    font-size: var(--pda-fs-small);
  }
  .pda-reviews {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(78%, 22rem);
    gap: var(--pda-gap);
    margin: clamp(2rem, 5vw, 3rem) 0 0;
    padding: 0.5rem var(--pda-pad-x) 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--border-strong) transparent;
  }
  .pda-review {
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding: clamp(1.5rem, 3vw, 2rem);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--pda-radius);
  }
  .pda-review__quote {
    margin: 0;
    flex: 1;
  }
  .pda-review__quote p {
    font-family: var(--pda-font-display);
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.5;
    color: var(--text);
  }
  .pda-review__meta {
    font-size: var(--pda-fs-small);
    color: var(--text-3);
  }
  .pda-review__name {
    font-weight: 600;
    color: var(--text-2);
  }
  @media (min-width: 640px) {
    .pda-reviews {
      grid-auto-columns: minmax(20rem, 24rem);
    }
  }

  /* --- Galerie --- */
  .pda-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
    gap: var(--pda-gap);
    margin-top: clamp(2rem, 5vw, 3rem);
  }
  .pda-gallery__item {
    margin: 0;
    border-radius: var(--pda-radius);
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 4 / 3;
  }
  .pda-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--pda-ease);
  }
  .pda-gallery__item:hover img {
    transform: scale(1.04);
  }
  /* 3.2 — Admin-Platzhalter für noch fehlende Event-Fotos. */
  .pda-gallery__item--placeholder {
    display: grid;
    place-items: center;
    border-style: dashed;
    border-color: var(--border-strong);
    background: color-mix(in srgb, var(--surface) 60%, transparent);
  }
  .pda-gallery__hint {
    display: block;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    color: var(--text-3);
    font-size: var(--pda-fs-small);
  }
  .pda-gallery__hint small {
    display: block;
    margin-top: 0.4rem;
    font-weight: 400;
    opacity: 0.8;
  }

  /* --- Über Angelo --- */
  .pda-about {
    display: grid;
    gap: clamp(1.5rem, 5vw, 3rem);
    align-items: center;
  }
  .pda-about__media {
    border-radius: var(--pda-radius);
    overflow: hidden;
    border: 1px solid var(--border);
  }
  .pda-about__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Querformat (Originalverhältnis) → kein magnifizierender Crop, volle Schärfe. */
    aspect-ratio: 16 / 9;
  }
  @media (min-width: 900px) {
    .pda-about {
      grid-template-columns: 1fr 1fr;
      align-items: start;
    }
    .pda-about__img {
      aspect-ratio: 4 / 3;
    }
  }
}

/* -------------------------------------------------------------------------
   Sections · Gruppe 4d — Einsatzgebiet, FAQ, Offerte.
   ------------------------------------------------------------------------- */
@layer sections {
  /* --- Einsatzgebiet: Regionen-Pills --- */
  .pda-regionen {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: clamp(1.5rem, 4vw, 2.5rem);
  }
  .pda-region {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--pda-radius-pill);
    font-size: var(--pda-fs-small);
    color: var(--text-2);
    background: var(--surface);
  }

  /* --- FAQ: Kategorie-Tabs + weiches Accordion (Variante C) --- */
  .pda-faq {
    margin-top: clamp(2rem, 5vw, 3rem);
    max-width: var(--pda-container-text);
  }

  /* Tab-Leiste: nur mit JS sinnvoll (ohne JS werden alle Kategorien gestapelt). */
  .pda-faq__tabs {
    display: none;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
  }
  .pda-js .pda-faq__tabs {
    display: flex;
  }
  .pda-faq__tab {
    font-family: var(--pda-font-body);
    font-size: var(--pda-fs-small);
    font-weight: 600;
    color: var(--text-2);
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--pda-radius-pill);
    padding: 0.5rem 1.15rem;
    cursor: pointer;
    transition: color 0.2s var(--pda-ease), background-color 0.2s var(--pda-ease),
      border-color 0.2s var(--pda-ease);
  }
  .pda-faq__tab:hover {
    color: var(--text);
    border-color: var(--border-strong);
  }
  .pda-faq__tab.is-active {
    color: var(--pda-accent-ink);
    background: var(--pda-accent);
    border-color: var(--pda-accent);
  }
  .pda-faq__tab:focus-visible {
    outline: 2px solid var(--pda-accent);
    outline-offset: 2px;
  }

  /* Panels: ohne JS gestapelt (mit Titel), mit JS ein-/ausgeblendet über Tabs. */
  .pda-js .pda-faq__panel[data-faq-inactive] {
    display: none;
  }
  .pda-faq__panel + .pda-faq__panel {
    margin-top: 2.5rem;
  }
  .pda-js .pda-faq__panel + .pda-faq__panel {
    margin-top: 0;
  }
  /* Kategorie-Titel: nur ohne JS sichtbar (mit Tabs redundant). */
  .pda-faq__panel-title {
    font-family: var(--pda-font-body);
    font-size: var(--pda-fs-small);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--eyebrow);
    margin-bottom: 0.75rem;
  }
  .pda-js .pda-faq__panel-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .pda-faq__item {
    border-bottom: 1px solid var(--border);
  }
  .pda-faq__item:first-child {
    border-top: 1px solid var(--border);
  }
  .pda-faq__q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 0;
    background: none;
    border: 0;
    text-align: left;
    cursor: pointer;
    font-family: var(--pda-font-display);
    font-size: 1.1rem;
    color: var(--text);
    transition: color 0.18s var(--pda-ease);
  }
  .pda-faq__q:hover,
  .pda-faq__item.is-open .pda-faq__q {
    color: var(--pda-accent);
  }
  .pda-faq__q:focus-visible {
    outline: 2px solid var(--pda-accent);
    outline-offset: 3px;
  }
  /* Plus-Icon, wird beim Öffnen zum Minus. */
  .pda-faq__icon {
    position: relative;
    flex: none;
    width: 20px;
    height: 20px;
  }
  .pda-faq__icon::before,
  .pda-faq__icon::after {
    content: "";
    position: absolute;
    background: var(--pda-accent);
    border-radius: 2px;
    transition: transform 0.3s var(--pda-ease), opacity 0.3s var(--pda-ease);
  }
  .pda-faq__icon::before {
    top: 9px;
    left: 2px;
    width: 16px;
    height: 2px;
  }
  .pda-faq__icon::after {
    left: 9px;
    top: 2px;
    width: 2px;
    height: 16px;
  }
  .pda-faq__item.is-open .pda-faq__icon::after {
    transform: rotate(90deg);
    opacity: 0;
  }

  /* Antwort: weiches Aufklappen über grid-template-rows (0fr → 1fr). */
  .pda-faq__answer {
    display: grid;
    grid-template-rows: 1fr; /* Standard offen → ohne JS sichtbar */
    transition: grid-template-rows 0.34s var(--pda-ease);
  }
  .pda-js .pda-faq__item:not(.is-open) .pda-faq__answer {
    grid-template-rows: 0fr;
  }
  .pda-faq__answer-inner {
    overflow: hidden;
    min-height: 0; /* erlaubt echtes Kollabieren auf 0 (grid-rows-Trick) */
  }
  .pda-faq__answer-content {
    color: var(--text-2);
    max-width: 60ch;
    padding-bottom: 1.25rem;
  }
  .pda-faq__answer-content ul {
    margin: 0.25rem 0 0;
    padding-left: 1.25rem;
  }
  .pda-faq__answer-content li {
    margin-bottom: 0.25rem;
  }
  .pda-faq__answer-content a {
    color: var(--link);
  }
  @media (prefers-reduced-motion: reduce) {
    .pda-faq__answer,
    .pda-faq__icon::before,
    .pda-faq__icon::after {
      transition: none;
    }
  }

  /* --- Offerte: gerahmte CTA-Box mit eingebettetem Formular --- */
  /* Breiterer Container nur für die Offerte-Sektion (≈1440px),
     die CTA-Box wird dadurch breiter als die übrigen Sektionen (72rem). */
  #offerte {
    position: relative;
    isolation: isolate;
    overflow: hidden;
  }
  /* Warmer Ambient-Schein über die ganze Sektion, bis an die Seitenränder. */
  #offerte::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(
      130% 75% at 50% 22%,
      rgba(232, 85, 31, 0.2),
      transparent 78%
    );
    animation: pda-glow 7s ease-in-out infinite;
  }
  @media (prefers-reduced-motion: reduce) {
    #offerte::before { animation: none; }
  }
  #offerte .pda-container {
    max-width: 90rem;
  }
  /* Kein Box-Rahmen mehr: Inhalt (Eyebrow, Headline, Lead, Formular) steht direkt
     auf dem Sektions-Schein (#offerte::before). Nur zentriert + etwas Abstand. */
  .pda-cta {
    text-align: center;
    padding-block: clamp(1rem, 3vw, 2rem);
  }
  @keyframes pda-glow {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 0.9; }
  }
  .pda-cta__eyebrow {
    display: inline-block;
    font-family: var(--pda-font-body);
    font-size: var(--pda-fs-eyebrow);
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--pda-accent);
    margin-bottom: 1rem;
  }
  .pda-cta__title {
    font-size: clamp(2.2rem, 6vw, 4rem);
    line-height: 1.03;
    margin: 0 auto 1rem;
    max-width: 18ch;
  }
  .pda-cta__fill {
    color: var(--pda-accent);
  }
  .pda-cta__lead {
    color: var(--text-2);
    max-width: 46ch;
    margin: 0 auto;
    font-size: var(--pda-fs-body);
  }
  /* Formular linksbündig in der zentrierten Box; füllt die Box-Breite
     (Plugin-Panel begrenzt sich selbst auf 900px). */
  .pda-cta__form {
    text-align: left;
    margin: clamp(2rem, 5vw, 3rem) auto 0;
  }
  /* Grauen Plugin-Panel-Kasten behalten, aber leicht transparent, damit der
     warme Verlauf der CTA-Box durchscheint. !important, weil die Plugin-CSS
     unlayered ist und gelayerte Theme-Regeln sonst unabhängig von der
     Spezifität schlägt. Das Plugin selbst bleibt unverändert. */
  .pda-cta__form .msef-container {
    background: rgba(58, 56, 54, 0.48) !important;
  }
  /* Plugin-eigene Überschrift ausblenden — die CTA-Box hat bereits Eyebrow,
     Headline und Lead; die doppelte Zeile wirkte gedrängt. */
  .pda-cta__form .msef-header {
    display: none;
  }
  /* 2.5 — Dringlichkeitszeile direkt unter der H2. */
  .pda-cta__urgency {
    color: var(--pda-accent);
    font-weight: 600;
    font-size: var(--pda-fs-small);
    margin: 0 auto 0.85rem;
    max-width: 46ch;
  }
  /* 2.4 — Trust-Zeile direkt unter dem Formular-Container. */
  .pda-cta__trust {
    margin: clamp(1.25rem, 3vw, 1.75rem) auto 0;
    color: var(--text-3);
    font-size: var(--pda-fs-small);
    text-align: center;
    line-height: 1.6;
  }
  .pda-cta__trust-stars {
    color: var(--eyebrow);
  }
  .pda-cta__fallback {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--pda-radius);
    text-align: center;
  }
  .pda-cta__fallback-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1rem;
  }
}

/* --- Wiederverwendbare CTA-Zeile / -Band (section-cta.php, Block 2.2) --- */
@layer sections {
  .pda-inline-cta {
    text-align: center;
    margin-top: clamp(2rem, 5vw, 3rem);
  }
  /* H2-ähnliche Zeile (Fraunces) über dem Button. */
  .pda-inline-cta__heading {
    font-family: var(--pda-font-display);
    font-size: var(--pda-fs-h2);
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 1.25rem;
  }
  .pda-inline-cta__text {
    font-family: var(--pda-font-display);
    font-size: var(--pda-fs-h3);
    color: var(--text);
    margin-bottom: 1rem;
  }
  .pda-inline-cta__micro {
    margin-top: 0.85rem;
    color: var(--text-3);
    font-size: var(--pda-fs-small);
  }
  /* Eigenständiges Primär-CTA-Band (band => true) nach der Bewertungs-Sektion.
     Kompakter als eine volle Sektion: vertikales Padding auf ~60 % reduziert. */
  .pda-cta-band {
    padding-block: calc(var(--pda-space) * 0.6);
  }
  .pda-cta-band .pda-inline-cta {
    margin-top: 0;
  }
  .pda-cta-band .pda-inline-cta__btn {
    font-size: 1.05rem;
  }
}

/* --- Einzelseiten: Impressum, Datenschutz, AGB (page.php) --- */
@layer sections {
  /* Textspalte auf lesbare Breite begrenzen (--pda-container-text) und
     innerhalb des Containers zentrieren. Dunkles Layout via section--dark. */
  .pda-entry {
    margin-inline: auto;
    padding-block: clamp(0.5rem, 3vw, 2rem);
  }
  .pda-entry__title {
    font-size: var(--pda-fs-hero);
    line-height: 1.1;
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  }
  .pda-entry__content {
    color: var(--text-2);
    font-size: var(--pda-fs-body);
    line-height: 1.75;
  }
  .pda-entry__content > * + * {
    margin-top: 1em;
  }
  .pda-entry__content h2 {
    font-size: var(--pda-fs-h2);
    color: var(--text);
    margin-top: 2em;
    margin-bottom: 0.5em;
  }
  .pda-entry__content h3 {
    font-size: var(--pda-fs-h3);
    color: var(--text);
    margin-top: 1.5em;
    margin-bottom: 0.4em;
  }
  .pda-entry__content a {
    color: var(--link);
    text-decoration: underline;
    text-underline-offset: 0.15em;
  }
  .pda-entry__content strong {
    color: var(--text);
  }
  .pda-entry__content ul,
  .pda-entry__content ol {
    padding-left: 1.4em;
  }
  .pda-entry__content li + li {
    margin-top: 0.4em;
  }
}
