/* ============================================================
   YouCare — Landingpage Stylesheet
   ============================================================
   Eine Datei, intern nach @layer gegliedert. Bewusst kein
   @import-Verbund wie im CytoCare-Hauptprojekt: Imports werden
   erst nach dem Laden der Elterndatei entdeckt und erzeugen auf
   Mobilfunk einen Request-Wasserfall.

   Design-Tokens sind aus assets/css/_variables.css des
   CytoCare-Projekts übernommen und auf --yc-* umbenannt, damit
   sich beide Projekte unabhängig entwickeln können.

   Mobile-first: Die Zielgruppe kommt fast ausschließlich vom
   Smartphone.
   ============================================================ */

@layer tokens, reset, base, components, utilities, animations;

/* ============================================================
   TOKENS
   ============================================================ */
@layer tokens {
  :root {
    /* Marke */
    --yc-blue-dark:   #218aa9;
    --yc-blue-medium: #2d97ac;
    --yc-blue-light:  #04c6dd;
    --yc-blue-pale:   #e8f7fa;
    --yc-blue-glow:   rgba(4, 198, 221, 0.15);

    /* Neutrale Töne */
    --yc-dark:     #1a1a2e;
    --yc-gray-900: #2c2c3a;
    --yc-gray-800: #3a3a4a;
    --yc-gray-700: #4a4a5a;
    --yc-gray-600: #5a5a6a;
    --yc-gray-500: #7a7a8a;
    --yc-gray-400: #9a9aaa;
    --yc-gray-300: #b8b8c8;
    --yc-gray-200: #d4d4de;
    --yc-gray-100: #f0f0f5;
    --yc-gray-50:  #f8f8fb;
    --yc-white:    #fff;

    /* Semantik */
    --yc-success: #2ecc71;
    --yc-warning: #f39c12;
    --yc-error:   #e74c3c;

    /* Verläufe */
    --yc-gradient-primary: linear-gradient(135deg, #218aa9 0%, #04c6dd 100%);
    --yc-gradient-dark:    linear-gradient(135deg, #1a1a2e 0%, #3a3a4a 100%);

    /* Typografie */
    --yc-font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --yc-text-xs:   clamp(0.75rem,  0.72rem + 0.15vw, 0.875rem);
    --yc-text-sm:   clamp(0.875rem, 0.84rem + 0.18vw, 1rem);
    --yc-text-base: clamp(1rem,     0.96rem + 0.2vw,  1.125rem);
    --yc-text-lg:   clamp(1.125rem, 1.06rem + 0.32vw, 1.375rem);
    --yc-text-xl:   clamp(1.25rem,  1.14rem + 0.55vw, 1.75rem);
    --yc-text-2xl:  clamp(1.5rem,   1.33rem + 0.85vw, 2.25rem);
    --yc-text-3xl:  clamp(1.75rem,  1.45rem + 1.45vw, 3rem);
    --yc-text-4xl:  clamp(2rem,     1.55rem + 2.2vw,  4rem);

    --yc-leading-tight:   1.15;
    --yc-leading-snug:    1.3;
    --yc-leading-normal:  1.6;
    --yc-leading-relaxed: 1.75;

    --yc-tracking-tight: -0.02em;
    --yc-tracking-wide:   0.05em;
    --yc-tracking-caps:   0.1em;

    /* Abstände */
    --yc-space-xs:  0.25rem;
    --yc-space-sm:  0.5rem;
    --yc-space-md:  1rem;
    --yc-space-lg:  1.5rem;
    --yc-space-xl:  2rem;
    --yc-space-2xl: 3rem;
    --yc-space-3xl: 4rem;
    --yc-space-4xl: 6rem;

    --yc-section-gap: clamp(3.5rem, 2.5rem + 4.5vw, 7rem);
    --yc-gutter:      clamp(1.125rem, 0.6rem + 2.5vw, 2rem);

    /* Layout */
    --yc-max-width:   1180px;
    --yc-max-narrow:  680px;
    --yc-max-text:    780px;
    --yc-header-h:    64px;

    /* Radien */
    --yc-radius-sm:   6px;
    --yc-radius-md:   10px;
    --yc-radius-lg:   18px;
    --yc-radius-xl:   26px;
    --yc-radius-full: 9999px;

    /* Schatten */
    --yc-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --yc-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --yc-shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --yc-shadow-xl: 0 16px 50px rgba(0, 0, 0, 0.15);

    /* Übergänge */
    --yc-transition-fast: 150ms ease;
    --yc-transition-base: 260ms ease;

    /* Ebenen */
    --yc-z-header: 300;
    --yc-z-cookies: 600;
  }
}

/* ============================================================
   RESET
   ============================================================ */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }

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

  body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd, address {
    margin: 0;
  }

  ul[class], ol[class] { padding: 0; list-style: none; }

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

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

  button { background: none; border: 0; cursor: pointer; }

  a { color: inherit; }

  address { font-style: normal; }

  :where(:focus-visible) {
    outline: 3px solid var(--yc-blue-light);
    outline-offset: 2px;
    border-radius: 2px;
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
}

/* ============================================================
   BASE
   ============================================================ */
@layer base {
  @font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat/Montserrat-Regular.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
  }
  @font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat/Montserrat-SemiBold.woff2') format('woff2');
    font-weight: 600; font-style: normal; font-display: swap;
  }
  @font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat/Montserrat-Bold.woff2') format('woff2');
    font-weight: 700; font-style: normal; font-display: swap;
  }

  body {
    font-family: var(--yc-font);
    font-size: var(--yc-text-base);
    line-height: var(--yc-leading-normal);
    color: var(--yc-gray-800);
    background: var(--yc-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  .yc-page { padding-top: var(--yc-header-h); }

  /* Der Hero schiebt sich unter den fixierten Header. */
  .yc-hero { margin-top: calc(var(--yc-header-h) * -1); }

  .yc-h1, .yc-h2, .yc-h3 {
    color: var(--yc-dark);
    line-height: var(--yc-leading-tight);
    letter-spacing: var(--yc-tracking-tight);
    font-weight: 700;
    text-wrap: balance;
    /* Deutsche Komposita wie "Aufwandsentschädigung" sprengen sonst
       schmale Viewports. */
    -webkit-hyphens: auto;
    hyphens: auto;
    overflow-wrap: break-word;
  }

  .yc-h1 { font-size: var(--yc-text-3xl); margin-bottom: var(--yc-space-lg); }
  .yc-h2 { font-size: var(--yc-text-2xl); }
  .yc-h3 { font-size: var(--yc-text-lg); }

  .yc-overline {
    font-size: var(--yc-text-xs);
    font-weight: 600;
    letter-spacing: var(--yc-tracking-caps);
    text-transform: uppercase;
    color: var(--yc-blue-dark);
    margin-bottom: var(--yc-space-sm);
  }

  .yc-lead {
    font-size: var(--yc-text-lg);
    color: var(--yc-gray-700);
    margin-top: var(--yc-space-md);
    text-wrap: pretty;
  }

  /* Layout-Bausteine */
  .yc-container {
    width: 100%;
    max-width: var(--yc-max-width);
    margin-inline: auto;
    padding-inline: var(--yc-gutter);
  }
  .yc-container--narrow { max-width: var(--yc-max-narrow); }
  .yc-container--text   { max-width: var(--yc-max-text); }

  .yc-section { padding-block: var(--yc-section-gap); }
  .yc-section--pale { background: var(--yc-blue-pale); }
  .yc-section--dark {
    background: var(--yc-gradient-dark);
    color: var(--yc-gray-200);
  }
  .yc-section--dark .yc-h2,
  .yc-section--dark .yc-h3 { color: var(--yc-white); }
  .yc-section--dark .yc-overline { color: var(--yc-blue-light); }

  .yc-section__head {
    max-width: var(--yc-max-text);
    margin-bottom: var(--yc-space-2xl);
  }

  /* Fließtext */
  .yc-prose { max-width: var(--yc-max-text); }
  .yc-prose--wide { max-width: 100%; }
  .yc-prose p { margin-bottom: var(--yc-space-md); text-wrap: pretty; }
  .yc-prose p:last-child { margin-bottom: 0; }
  .yc-prose h2 {
    font-size: var(--yc-text-lg);
    color: var(--yc-dark);
    font-weight: 700;
    margin-top: var(--yc-space-xl);
    margin-bottom: var(--yc-space-sm);
  }
  .yc-prose h2:first-child { margin-top: 0; }
  .yc-prose a { color: var(--yc-blue-dark); text-underline-offset: 3px; }
  .yc-prose a:hover { color: var(--yc-blue-light); }
  .yc-prose strong { color: var(--yc-dark); font-weight: 600; }

  .yc-note {
    font-size: var(--yc-text-sm);
    color: var(--yc-gray-600);
    max-width: var(--yc-max-text);
    margin-top: var(--yc-space-xl);
    padding-left: var(--yc-space-md);
    border-left: 3px solid var(--yc-blue-light);
  }

  .yc-icon { width: 1.25em; height: 1.25em; flex: none; }
  .yc-icon--lg { width: 1.75rem; height: 1.75rem; }

  /* Zweispaltiges Layout, ab Tablet nebeneinander */
  .yc-cols { display: grid; gap: var(--yc-space-xl); }
  @media (min-width: 800px) {
    .yc-cols { grid-template-columns: 1fr 1fr; gap: var(--yc-space-2xl); }
  }

  .yc-skip {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    background: var(--yc-white);
    color: var(--yc-blue-dark);
    padding: var(--yc-space-md) var(--yc-space-lg);
    font-weight: 600;
  }
  .yc-skip:focus { left: var(--yc-space-md); top: var(--yc-space-md); }
}

/* ============================================================
   COMPONENTS
   ============================================================ */
@layer components {

  /* ---------- Buttons ---------- */
  /* Im components-Layer, anders als im Hauptprojekt, wo sie
     ungelayert stehen und dadurch alles überschreiben. */
  .yc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--yc-space-sm);
    padding: 0.875rem 1.75rem;
    border-radius: var(--yc-radius-full);
    font-size: var(--yc-text-sm);
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background var(--yc-transition-base),
                color var(--yc-transition-base),
                border-color var(--yc-transition-base),
                transform var(--yc-transition-fast),
                box-shadow var(--yc-transition-base);
    min-height: 48px; /* Touch-Ziel */
  }
  .yc-btn:hover { transform: translateY(-2px); }
  .yc-btn:active { transform: translateY(0); }
  .yc-btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

  .yc-btn--primary {
    background: var(--yc-blue-dark);
    border-color: var(--yc-blue-dark);
    color: var(--yc-white);
  }
  .yc-btn--primary:hover {
    background: var(--yc-blue-light);
    border-color: var(--yc-blue-light);
    color: var(--yc-dark);
    box-shadow: 0 8px 24px var(--yc-blue-glow);
  }

  .yc-btn--secondary {
    background: transparent;
    border-color: var(--yc-blue-dark);
    color: var(--yc-blue-dark);
  }
  .yc-btn--secondary:hover {
    background: var(--yc-blue-dark);
    color: var(--yc-white);
  }

  .yc-btn--ghost {
    background: transparent;
    border-color: var(--yc-white);
    color: var(--yc-white);
  }
  .yc-btn--ghost:hover {
    background: var(--yc-white);
    color: var(--yc-blue-dark);
  }

  .yc-btn--sm { padding: 0.6875rem 1.25rem; font-size: var(--yc-text-xs); min-height: 44px; }
  .yc-btn--lg { padding: 1.0625rem 2.25rem; font-size: var(--yc-text-base); min-height: 56px; }

  /* ---------- Logo ---------- */
  .yc-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--yc-blue-light);
  }
  .yc-logo__mark { width: 2rem; height: 2rem; flex: none; }
  .yc-logo__word {
    font-size: 1.375rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--yc-dark);
    line-height: 1;
    white-space: nowrap;
  }
  .yc-logo__word strong { font-weight: 700; }
  .yc-logo--invert .yc-logo__word { color: var(--yc-white); }

  /* ---------- Header ---------- */
  .yc-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: var(--yc-z-header);
    height: var(--yc-header-h);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--yc-gray-100);
  }
  .yc-header__inner {
    height: 100%;
    max-width: var(--yc-max-width);
    margin-inline: auto;
    padding-inline: var(--yc-gutter);
    display: flex;
    align-items: center;
    gap: var(--yc-space-lg);
  }
  .yc-header__brand {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-decoration: none;
    margin-right: auto;
    min-width: 0;
  }
  /* Der Header-CTA darf nie umbrechen — sonst wächst die Kopfzeile. */
  .yc-header__cta { white-space: nowrap; flex: none; }
  .yc-header__suffix {
    font-size: 0.625rem;
    letter-spacing: 0.04em;
    color: var(--yc-gray-500);
    line-height: 1.2;
    white-space: nowrap;
    /* Nur auf sehr schmalen Displays weglassen, sonst bricht der Header.
       Der Hinweis auf die Muttergesellschaft ist ein zentrales
       Vertrauenssignal und soll so früh wie möglich sichtbar sein. */
    display: none;
  }
  @media (min-width: 380px) { .yc-header__suffix { display: block; } }

  .yc-nav { display: none; }
  @media (min-width: 940px) {
    .yc-nav { display: block; }
    .yc-nav__list { display: flex; gap: var(--yc-space-lg); }
    .yc-nav__link {
      font-size: var(--yc-text-sm);
      font-weight: 600;
      text-decoration: none;
      color: var(--yc-gray-700);
      padding-block: 0.5rem;
      transition: color var(--yc-transition-fast);
    }
    .yc-nav__link:hover { color: var(--yc-blue-dark); }
  }

  /* ---------- Hero ---------- */
  .yc-hero {
    background: var(--yc-gradient-dark);
    color: var(--yc-gray-200);
    padding-block: calc(var(--yc-header-h) + var(--yc-space-3xl)) var(--yc-space-3xl);
    position: relative;
    overflow: hidden;
  }
  /* Dezenter Farbschimmer, ersetzt vorerst das fehlende Hero-Foto. */
  .yc-hero::before {
    content: '';
    position: absolute;
    top: -30%; right: -20%;
    width: 70vw; height: 70vw;
    max-width: 720px; max-height: 720px;
    background: radial-gradient(circle, rgba(4, 198, 221, 0.28) 0%, transparent 68%);
    pointer-events: none;
  }
  .yc-hero__inner {
    position: relative;
    max-width: var(--yc-max-width);
    margin-inline: auto;
    padding-inline: var(--yc-gutter);
  }
  .yc-hero__overline {
    font-size: var(--yc-text-xs);
    font-weight: 600;
    letter-spacing: var(--yc-tracking-caps);
    text-transform: uppercase;
    color: var(--yc-blue-light);
    margin-bottom: var(--yc-space-md);
  }
  .yc-hero__title {
    font-size: var(--yc-text-4xl);
    font-weight: 700;
    line-height: var(--yc-leading-tight);
    letter-spacing: var(--yc-tracking-tight);
    color: var(--yc-white);
    max-width: 16ch;
    text-wrap: balance;
    -webkit-hyphens: auto;
    hyphens: auto;
    overflow-wrap: break-word;
  }
  .yc-hero__sub {
    font-size: var(--yc-text-lg);
    line-height: var(--yc-leading-relaxed);
    max-width: 54ch;
    margin-top: var(--yc-space-lg);
    text-wrap: pretty;
  }
  .yc-hero__sub strong { color: var(--yc-white); font-weight: 600; }

  .yc-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--yc-space-md);
    margin-top: var(--yc-space-xl);
  }

  .yc-hero__trust {
    display: grid;
    gap: var(--yc-space-sm);
    margin-top: var(--yc-space-2xl);
    padding-top: var(--yc-space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: var(--yc-text-sm);
    color: var(--yc-gray-300);
  }
  .yc-hero__trust li {
    display: flex;
    align-items: flex-start;
    gap: var(--yc-space-sm);
  }
  .yc-hero__trust .yc-icon { color: var(--yc-blue-light); margin-top: 0.15em; }

  /* ---------- Fakten-Strip ---------- */
  .yc-facts {
    background: var(--yc-blue-dark);
    color: var(--yc-white);
    padding-block: var(--yc-space-xl);
  }
  .yc-facts__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--yc-space-lg);
    text-align: center;
  }
  @media (min-width: 720px) {
    .yc-facts__grid { grid-template-columns: repeat(4, 1fr); }
  }
  .yc-facts__value {
    display: block;
    font-size: var(--yc-text-xl);
    font-weight: 700;
    line-height: 1.1;
  }
  .yc-facts__label {
    display: block;
    font-size: var(--yc-text-xs);
    color: rgba(255, 255, 255, 0.82);
    margin-top: 0.25rem;
  }
  .yc-facts__disclaimer {
    font-size: var(--yc-text-xs);
    line-height: var(--yc-leading-normal);
    color: rgba(255, 255, 255, 0.86);
    text-align: center;
    max-width: 68ch;
    margin: var(--yc-space-lg) auto 0;
    padding-top: var(--yc-space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  /* ---------- Ablauf-Schritte ---------- */
  .yc-steps {
    display: grid;
    gap: var(--yc-space-lg);
    counter-reset: step;
  }
  @media (min-width: 700px) {
    .yc-steps { grid-template-columns: repeat(2, 1fr); }
  }
  @media (min-width: 1040px) {
    .yc-steps { grid-template-columns: repeat(4, 1fr); }
  }
  .yc-steps__item {
    background: var(--yc-white);
    border-radius: var(--yc-radius-lg);
    padding: var(--yc-space-lg);
    box-shadow: var(--yc-shadow-sm);
    border-top: 4px solid var(--yc-blue-light);
  }
  .yc-steps__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem; height: 2.25rem;
    border-radius: var(--yc-radius-full);
    background: var(--yc-blue-pale);
    color: var(--yc-blue-dark);
    font-weight: 700;
    margin-bottom: var(--yc-space-md);
  }
  .yc-steps__title {
    font-size: var(--yc-text-lg);
    font-weight: 700;
    color: var(--yc-dark);
    margin-bottom: var(--yc-space-sm);
  }
  .yc-steps__text { font-size: var(--yc-text-sm); color: var(--yc-gray-700); }

  /* ---------- Vergütungs-Kacheln ---------- */
  .yc-tiles {
    display: grid;
    gap: var(--yc-space-md);
    margin-bottom: var(--yc-space-2xl);
  }
  @media (min-width: 700px) {
    .yc-tiles { grid-template-columns: repeat(3, 1fr); }
  }
  .yc-tiles__item {
    background: var(--yc-gradient-primary);
    color: var(--yc-white);
    border-radius: var(--yc-radius-lg);
    padding: var(--yc-space-lg);
    text-align: center;
  }
  .yc-tiles__value {
    display: block;
    font-size: var(--yc-text-2xl);
    font-weight: 700;
    line-height: 1.1;
  }
  .yc-tiles__label {
    display: block;
    font-size: var(--yc-text-sm);
    margin-top: var(--yc-space-xs);
    color: rgba(255, 255, 255, 0.9);
  }

  .yc-callout {
    background: var(--yc-blue-pale);
    border-radius: var(--yc-radius-lg);
    padding: var(--yc-space-lg);
    align-self: start;
  }
  .yc-callout__title {
    font-size: var(--yc-text-base);
    font-weight: 700;
    color: var(--yc-blue-dark);
    margin-bottom: var(--yc-space-sm);
  }

  .yc-secondary {
    margin-top: var(--yc-space-2xl);
    padding-top: var(--yc-space-xl);
    border-top: 1px solid var(--yc-gray-200);
    max-width: var(--yc-max-text);
  }
  .yc-secondary__title {
    font-size: var(--yc-text-base);
    font-weight: 700;
    color: var(--yc-dark);
    margin-bottom: var(--yc-space-sm);
  }
  .yc-secondary p { color: var(--yc-gray-700); text-wrap: pretty; }

  /* ---------- Sicherheitspunkte ---------- */
  .yc-points {
    display: grid;
    gap: var(--yc-space-lg);
    margin-top: var(--yc-space-2xl);
  }
  @media (min-width: 800px) {
    .yc-points { grid-template-columns: repeat(2, 1fr); gap: var(--yc-space-xl); }
  }
  .yc-points__item {
    display: flex;
    gap: var(--yc-space-md);
    align-items: flex-start;
  }
  .yc-points__item .yc-icon { color: var(--yc-blue-light); margin-top: 0.1em; }
  .yc-points__title {
    font-size: var(--yc-text-base);
    font-weight: 700;
    color: var(--yc-white);
    margin-bottom: 0.25rem;
  }
  .yc-points__item p { font-size: var(--yc-text-sm); }

  /* ---------- Visitenkarte ---------- */
  .yc-vcard {
    background: var(--yc-gray-50);
    border: 1px solid var(--yc-gray-200);
    border-radius: var(--yc-radius-lg);
    padding: var(--yc-space-lg);
    font-size: var(--yc-text-sm);
    align-self: start;
  }
  .yc-vcard__name {
    font-weight: 700;
    color: var(--yc-dark);
    font-size: var(--yc-text-base);
  }
  .yc-vcard__address { margin-block: var(--yc-space-sm); }
  .yc-vcard p { margin-bottom: var(--yc-space-md); }
  .yc-vcard p:last-child { margin-bottom: 0; }
  .yc-vcard a { color: var(--yc-blue-dark); }
  .yc-vcard__meta { color: var(--yc-gray-600); }
  .yc-vcard__meta strong { color: var(--yc-gray-800); }

  /* ---------- Eignungskriterien ---------- */
  .yc-criteria {
    background: var(--yc-white);
    border-radius: var(--yc-radius-lg);
    padding: var(--yc-space-lg);
    box-shadow: var(--yc-shadow-sm);
  }
  .yc-criteria__title {
    font-size: var(--yc-text-base);
    font-weight: 700;
    margin-bottom: var(--yc-space-md);
  }
  .yc-criteria__title--pro    { color: var(--yc-blue-dark); }
  .yc-criteria__title--contra { color: var(--yc-gray-700); }
  .yc-criteria__list { display: grid; gap: var(--yc-space-sm); font-size: var(--yc-text-sm); }
  .yc-criteria__list li {
    display: flex;
    gap: var(--yc-space-sm);
    align-items: flex-start;
  }
  .yc-criteria__list li::before {
    content: '';
    flex: none;
    width: 0.5rem; height: 0.5rem;
    margin-top: 0.55em;
    border-radius: var(--yc-radius-full);
    background: var(--yc-blue-light);
  }
  .yc-criteria__list--contra li::before { background: var(--yc-gray-300); }

  /* ---------- Quickcheck ---------- */
  .yc-qc {
    margin-top: var(--yc-space-2xl);
    background: var(--yc-white);
    border-radius: var(--yc-radius-xl);
    box-shadow: var(--yc-shadow-lg);
    padding: clamp(1.25rem, 0.9rem + 1.7vw, 2.5rem);
    max-width: 720px;
  }
  .yc-qc__intro { text-align: center; }
  .yc-qc__title {
    font-size: var(--yc-text-xl);
    font-weight: 700;
    color: var(--yc-dark);
    margin-bottom: var(--yc-space-sm);
  }
  .yc-qc__intro p {
    color: var(--yc-gray-600);
    font-size: var(--yc-text-sm);
    margin-bottom: var(--yc-space-lg);
  }

  .yc-qc__progress { margin-bottom: var(--yc-space-lg); }
  .yc-qc__progress-label {
    font-size: var(--yc-text-xs);
    font-weight: 600;
    letter-spacing: var(--yc-tracking-wide);
    text-transform: uppercase;
    color: var(--yc-gray-500);
    margin-bottom: var(--yc-space-sm);
  }
  .yc-qc__bar {
    height: 6px;
    background: var(--yc-gray-100);
    border-radius: var(--yc-radius-full);
    overflow: hidden;
  }
  .yc-qc__bar-fill {
    height: 100%;
    background: var(--yc-gradient-primary);
    border-radius: inherit;
    transition: width var(--yc-transition-base);
  }

  .yc-qc__fieldset { border: 0; padding: 0; margin: 0; }
  .yc-qc__legend {
    font-size: var(--yc-text-lg);
    font-weight: 700;
    color: var(--yc-dark);
    line-height: var(--yc-leading-snug);
    padding: 0;
    margin-bottom: var(--yc-space-sm);
    text-wrap: pretty;
  }
  /* Die Frage wird bei jedem Wechsel programmatisch fokussiert, damit
     Screenreader sie vorlesen. Sie ist nicht interaktiv und per Tab
     nicht erreichbar — ein Fokusrahmen sähe hier nach Fehler aus. */
  .yc-qc__legend:focus { outline: none; }
  .yc-qc__hint {
    font-size: var(--yc-text-sm);
    color: var(--yc-gray-600);
    margin-bottom: var(--yc-space-lg);
    text-wrap: pretty;
  }

  .yc-qc__options { display: grid; gap: var(--yc-space-sm); }

  /* Echte Radios/Checkboxen, visuell als Karten. Semantik und
     Tastaturbedienung kommen damit vom Browser. */
  .yc-qc__option { position: relative; display: block; }
  .yc-qc__option input {
    position: absolute;
    opacity: 0;
    width: 100%; height: 100%;
    margin: 0;
    cursor: pointer;
  }
  .yc-qc__option-face {
    display: flex;
    align-items: center;
    gap: var(--yc-space-md);
    padding: var(--yc-space-md);
    min-height: 56px;
    border: 2px solid var(--yc-gray-200);
    border-radius: var(--yc-radius-md);
    font-size: var(--yc-text-sm);
    line-height: var(--yc-leading-snug);
    transition: border-color var(--yc-transition-fast),
                background var(--yc-transition-fast);
  }
  .yc-qc__option input:hover + .yc-qc__option-face { border-color: var(--yc-blue-light); }
  .yc-qc__option input:focus-visible + .yc-qc__option-face {
    outline: 3px solid var(--yc-blue-light);
    outline-offset: 2px;
  }
  .yc-qc__option input:checked + .yc-qc__option-face {
    border-color: var(--yc-blue-dark);
    background: var(--yc-blue-pale);
  }
  .yc-qc__option-marker {
    flex: none;
    width: 1.375rem; height: 1.375rem;
    border: 2px solid var(--yc-gray-300);
    border-radius: var(--yc-radius-full);
    display: grid;
    place-items: center;
    transition: border-color var(--yc-transition-fast);
  }
  .yc-qc__option input[type="checkbox"] + .yc-qc__option-face .yc-qc__option-marker {
    border-radius: var(--yc-radius-sm);
  }
  .yc-qc__option-marker::after {
    content: '';
    width: 0.6875rem; height: 0.6875rem;
    border-radius: inherit;
    background: var(--yc-blue-dark);
    transform: scale(0);
    transition: transform var(--yc-transition-fast);
  }
  .yc-qc__option input:checked + .yc-qc__option-face .yc-qc__option-marker {
    border-color: var(--yc-blue-dark);
  }
  .yc-qc__option input:checked + .yc-qc__option-face .yc-qc__option-marker::after {
    transform: scale(1);
  }

  .yc-qc__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--yc-space-sm);
    margin-top: var(--yc-space-lg);
  }
  .yc-qc__back {
    background: none;
    color: var(--yc-gray-600);
    font-size: var(--yc-text-sm);
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: var(--yc-radius-full);
    min-height: 44px;
  }
  .yc-qc__back:hover { color: var(--yc-blue-dark); }

  /* Ergebnis */
  .yc-qc__result { text-align: left; }
  .yc-qc__badge {
    display: inline-block;
    font-size: var(--yc-text-xs);
    font-weight: 700;
    letter-spacing: var(--yc-tracking-wide);
    text-transform: uppercase;
    padding: 0.375rem 0.875rem;
    border-radius: var(--yc-radius-full);
    margin-bottom: var(--yc-space-md);
  }
  .yc-qc__result--fit     .yc-qc__badge { background: #e3f7ec; color: #17794a; }
  .yc-qc__result--clarify .yc-qc__badge { background: #fdf1dd; color: #8a5a10; }
  .yc-qc__result--no_fit  .yc-qc__badge { background: var(--yc-gray-100); color: var(--yc-gray-700); }
  .yc-qc__result-title {
    font-size: var(--yc-text-xl);
    font-weight: 700;
    color: var(--yc-dark);
    margin-bottom: var(--yc-space-sm);
    text-wrap: pretty;
  }
  .yc-qc__result-text {
    color: var(--yc-gray-700);
    margin-bottom: var(--yc-space-lg);
    text-wrap: pretty;
  }
  .yc-qc__privacy {
    font-size: var(--yc-text-xs);
    color: var(--yc-gray-500);
    margin-top: var(--yc-space-md);
  }

  /* ---------- Formular ---------- */
  .yc-hp {
    position: absolute;
    left: -9999px;
    width: 1px; height: 1px;
    overflow: hidden;
  }

  .yc-form { display: grid; gap: var(--yc-space-lg); }

  .yc-form__group { display: grid; gap: 0.375rem; }

  .yc-form__label {
    font-size: var(--yc-text-sm);
    font-weight: 600;
    color: var(--yc-gray-800);
  }

  .yc-form__input {
    width: 100%;
    padding: 0.875rem 1rem;
    min-height: 52px;
    font-size: 1rem; /* verhindert Auto-Zoom auf iOS */
    border: 2px solid var(--yc-gray-200);
    border-radius: var(--yc-radius-md);
    background: var(--yc-white);
    transition: border-color var(--yc-transition-fast),
                box-shadow var(--yc-transition-fast);
  }
  .yc-form__input::placeholder { color: var(--yc-gray-400); }
  .yc-form__input:hover { border-color: var(--yc-gray-300); }
  .yc-form__input:focus {
    outline: none;
    border-color: var(--yc-blue-dark);
    box-shadow: 0 0 0 3px var(--yc-blue-glow);
  }
  .yc-form__input.is-error { border-color: var(--yc-error); }

  .yc-form__hint {
    font-size: var(--yc-text-xs);
    color: var(--yc-gray-500);
  }

  .yc-form__error {
    font-size: var(--yc-text-xs);
    font-weight: 600;
    color: var(--yc-error);
    display: none;
  }
  .yc-form__error:not(:empty) { display: block; }

  /* Datenschutz-Checkbox. Im CytoCare-Bestand fehlt dafür jedes CSS. */
  .yc-form__check {
    display: flex;
    align-items: flex-start;
    gap: var(--yc-space-md);
    cursor: pointer;
    padding: var(--yc-space-md);
    border: 2px solid var(--yc-gray-200);
    border-radius: var(--yc-radius-md);
    transition: border-color var(--yc-transition-fast);
  }
  .yc-form__check:hover { border-color: var(--yc-gray-300); }
  .yc-form__check input {
    position: absolute;
    opacity: 0;
    width: 1.5rem; height: 1.5rem;
    margin: 0;
  }
  .yc-form__check-box {
    flex: none;
    width: 1.5rem; height: 1.5rem;
    border: 2px solid var(--yc-gray-300);
    border-radius: var(--yc-radius-sm);
    display: grid;
    place-items: center;
    color: var(--yc-white);
    background: var(--yc-white);
    transition: background var(--yc-transition-fast),
                border-color var(--yc-transition-fast);
  }
  .yc-form__check-box svg { width: 1rem; height: 1rem; opacity: 0; transition: opacity var(--yc-transition-fast); }
  .yc-form__check input:checked + .yc-form__check-box {
    background: var(--yc-blue-dark);
    border-color: var(--yc-blue-dark);
  }
  .yc-form__check input:checked + .yc-form__check-box svg { opacity: 1; }
  .yc-form__check input:focus-visible + .yc-form__check-box {
    outline: 3px solid var(--yc-blue-light);
    outline-offset: 2px;
  }
  .yc-form__check input.is-error + .yc-form__check-box { border-color: var(--yc-error); }
  .yc-form__check-text {
    font-size: var(--yc-text-sm);
    line-height: var(--yc-leading-normal);
    color: var(--yc-gray-700);
  }
  .yc-form__check-text a { color: var(--yc-blue-dark); }

  .yc-form__submit { width: 100%; }
  @media (min-width: 560px) { .yc-form__submit { width: auto; justify-self: start; } }

  .yc-form__note {
    font-size: var(--yc-text-xs);
    color: var(--yc-gray-500);
    text-wrap: pretty;
  }

  .yc-form__alert {
    padding: var(--yc-space-md);
    border-radius: var(--yc-radius-md);
    background: #fdeceb;
    border: 1px solid #f5c6c2;
    color: #9b2c22;
    font-size: var(--yc-text-sm);
    font-weight: 600;
  }

  /* Alternative Kontaktwege */
  .yc-alt {
    margin-top: var(--yc-space-2xl);
    padding-top: var(--yc-space-xl);
    border-top: 1px solid var(--yc-gray-200);
    text-align: center;
  }
  .yc-alt__title {
    font-size: var(--yc-text-base);
    font-weight: 700;
    color: var(--yc-dark);
    margin-bottom: var(--yc-space-md);
  }
  .yc-alt__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--yc-space-sm);
    justify-content: center;
  }
  .yc-alt__note {
    font-size: var(--yc-text-xs);
    color: var(--yc-gray-500);
    margin-top: var(--yc-space-md);
  }

  /* ---------- FAQ ---------- */
  .yc-faq {
    border-top: 1px solid var(--yc-gray-200);
  }
  .yc-faq__item { border-bottom: 1px solid var(--yc-gray-200); }
  .yc-faq__heading { margin: 0; font-size: inherit; font-weight: inherit; }
  .yc-faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--yc-space-md);
    padding: var(--yc-space-lg) 0;
    text-align: left;
    font-size: var(--yc-text-base);
    font-weight: 600;
    color: var(--yc-dark);
    min-height: 56px;
    transition: color var(--yc-transition-fast);
  }
  .yc-faq__question:hover { color: var(--yc-blue-dark); }
  .yc-faq__icon {
    flex: none;
    width: 1.25rem; height: 1.25rem;
    color: var(--yc-blue-dark);
    transition: transform var(--yc-transition-base);
  }
  .yc-faq__item.is-open .yc-faq__icon { transform: rotate(45deg); }
  .yc-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--yc-transition-base);
  }
  .yc-faq__answer-inner {
    padding-bottom: var(--yc-space-lg);
    color: var(--yc-gray-700);
    font-size: var(--yc-text-sm);
    line-height: var(--yc-leading-relaxed);
    max-width: 68ch;
    text-wrap: pretty;
  }

  /* ---------- Final-CTA ---------- */
  .yc-cta {
    background: var(--yc-gradient-primary);
    color: var(--yc-white);
    padding-block: var(--yc-section-gap);
    text-align: center;
  }
  .yc-cta__title {
    font-size: var(--yc-text-2xl);
    font-weight: 700;
    line-height: var(--yc-leading-tight);
    letter-spacing: var(--yc-tracking-tight);
    text-wrap: balance;
  }
  .yc-cta__text {
    margin-top: var(--yc-space-md);
    color: rgba(255, 255, 255, 0.92);
    text-wrap: pretty;
  }
  .yc-cta__actions { margin-top: var(--yc-space-xl); }

  /* ---------- Footer ---------- */
  .yc-footer {
    background: var(--yc-dark);
    color: var(--yc-gray-300);
    padding-top: var(--yc-space-3xl);
    font-size: var(--yc-text-sm);
  }
  .yc-footer__inner {
    max-width: var(--yc-max-width);
    margin-inline: auto;
    padding-inline: var(--yc-gutter);
    display: grid;
    gap: var(--yc-space-xl);
    padding-bottom: var(--yc-space-2xl);
  }
  @media (min-width: 760px) {
    .yc-footer__inner { grid-template-columns: 2fr 1fr 1fr; }
  }
  .yc-footer__tagline {
    margin-top: var(--yc-space-md);
    color: var(--yc-gray-400);
    font-size: var(--yc-text-xs);
  }
  .yc-footer__head {
    font-size: var(--yc-text-xs);
    font-weight: 700;
    letter-spacing: var(--yc-tracking-caps);
    text-transform: uppercase;
    color: var(--yc-white);
    margin-bottom: var(--yc-space-md);
  }
  .yc-footer__address { margin-bottom: var(--yc-space-md); }
  .yc-footer a {
    color: var(--yc-gray-300);
    text-decoration: none;
    transition: color var(--yc-transition-fast);
  }
  .yc-footer a:hover { color: var(--yc-blue-light); }
  .yc-footer__list { display: grid; gap: var(--yc-space-sm); }
  .yc-footer__bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-block: var(--yc-space-lg);
    text-align: center;
    font-size: var(--yc-text-xs);
    color: var(--yc-gray-500);
  }

  /* ---------- Cookie-Hinweis ---------- */
  .yc-cookies {
    position: fixed;
    inset: auto 0 0 0;
    z-index: var(--yc-z-cookies);
    background: var(--yc-white);
    border-top: 3px solid var(--yc-blue-dark);
    box-shadow: var(--yc-shadow-xl);
    padding: var(--yc-space-lg) 0;
  }
  .yc-cookies[hidden] { display: none; }
  .yc-cookies__inner {
    max-width: var(--yc-max-width);
    margin-inline: auto;
    padding-inline: var(--yc-gutter);
    display: grid;
    gap: var(--yc-space-md);
    align-items: center;
  }
  @media (min-width: 800px) {
    .yc-cookies__inner { grid-template-columns: 1fr auto; }
  }
  .yc-cookies__text {
    font-size: var(--yc-text-sm);
    color: var(--yc-gray-700);
  }
  .yc-cookies__text a { color: var(--yc-blue-dark); }
  .yc-cookies__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--yc-space-sm);
  }
  .yc-cookies__actions .yc-btn--ghost {
    border-color: var(--yc-gray-300);
    color: var(--yc-gray-700);
  }
  .yc-cookies__actions .yc-btn--ghost:hover {
    background: var(--yc-gray-100);
    color: var(--yc-dark);
  }

  /* ---------- Legal-Seiten ---------- */
  .yc-legal__back { margin-top: var(--yc-space-2xl); }
}

/* ============================================================
   UTILITIES
   ============================================================ */
@layer utilities {
  .yc-visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }
  .yc-hidden { display: none !important; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@layer animations {
  /* Nur mit aktivem JavaScript wird überhaupt etwas versteckt: Die
     Klasse yc-js setzt ein Inline-Script im head. Schlägt das JS fehl,
     bleibt die Seite vollständig lesbar. */
  .yc-js [data-reveal],
  .yc-js [data-reveal-stagger] > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms ease, transform 600ms ease;
  }
  .yc-js [data-reveal].is-visible,
  .yc-js [data-reveal-stagger].is-visible > * {
    opacity: 1;
    transform: none;
  }
  [data-reveal-stagger].is-visible > *:nth-child(1) { transition-delay: 0ms; }
  [data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: 90ms; }
  [data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: 180ms; }
  [data-reveal-stagger].is-visible > *:nth-child(4) { transition-delay: 270ms; }
  [data-reveal-stagger].is-visible > *:nth-child(5) { transition-delay: 360ms; }
  [data-reveal-stagger].is-visible > *:nth-child(6) { transition-delay: 450ms; }

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