
/* ── Google Fonts ───────────────────────────────────────────── */
/* Lokal gehostete Schriften (DSGVO-konform, keine Verbindung zu Google) */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/montserrat-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/montserrat-latin-500-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/montserrat-latin-600-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/montserrat-latin-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/montserrat-latin-800-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/open-sans-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/open-sans-latin-500-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/open-sans-latin-600-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/open-sans-latin-400-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-500-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-600-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-800-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-900-normal.woff2') format('woff2');
}

/* Sichtbarkeit: Landingpage und Funnel werden ueber das hidden-Attribut gesteuert. */
[hidden] { display: none !important; }
#landing { display: block; }
#funnel { display: flex; min-height: 100vh; flex-direction: column; background: #ffffff; }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --red:      #c0392b;
      --red-d:    #a93226;
      --red-l:    #e74c3c;
      --dark:     #1a1a1a;
      --mid:      #2c2c2c;
      --light:    #f7f7f7;
      --border:   #e5e5e5;
      --white:    #ffffff;
      --text:     #1a1a1a;
      --muted:    #666;
      --radius:   10px;
      --max:      720px;
      --font:     'Inter', sans-serif;
      --shadow:   0 4px 24px rgba(0,0,0,0.10);
    }

    html { scroll-behavior: smooth; }
    body {
      font-family: var(--font);
      color: var(--text);
      background: var(--white);
      -webkit-font-smoothing: antialiased;
    }

    /* ── HEADER ── */
    header {
      background: var(--light);
      padding: 0 24px;
      height: 80px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: sticky;
      top: 0;
      z-index: 200;
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
    }
    .logo-image {
      display: block;
      height: min(60px);
      object-fit: contain;
      object-position: center center;
      flex-shrink: 0;
    }
    .logo-context {
      color: rgba(255,255,255,0.55);
      font-size: 11px;
      font-weight: 400;
      white-space: nowrap;
    }
    .website-back {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid var(--red);
  background: var(--red);
  border-radius: 8px;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.website-back:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
  background: var(--red-d);
}

header.has-website-back {
  justify-content: center;
}

header.has-website-back .website-back {
  position: absolute;
  left: 24px;
}

@media (max-width: 520px) {
  header.has-website-back .website-back {
  position:relative;
  left: 0px;
  }
  .website-back {
    padding: 8px 10px;
    font-size: 12px;
  }
   header.has-website-back {
    justify-content: space-between;
  }

  header.has-website-back .logo-context {
    display: none;
  }
}

    /* ── LANDING / FUNNEL VISIBILITY ── */

    /* ── HERO ── */
    .hero {
      background-image: linear-gradient(
      rgba(0, 0, 0, 0.45),
      rgba(0, 0, 0, 0.7)), url(bilder/moritz-andy-detlef.webp);
      background-size: cover;
      background-position: 50% 35%;
      background-repeat: no-repeat;
      background-color: var(--dark);
      color: var(--white);
      padding: 16px 24px 56px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    @media (max-width: 600px) {
    .hero {
    background-position: 36%;
    padding: 48px 16px 44px;
      }
    }
    /*.hero::before {
      content: '';
      position: absolute;
      top: -80px; right: -80px;
      width: 320px; height: 320px;
      background: var(--red);
      border-radius: 50%;
      opacity: 0.12;
      pointer-events: none;
    }
    .hero::after {
      content: '';
      position: absolute;
      bottom: -60px; left: -60px;
      width: 220px; height: 220px;
      background: var(--red);
      border-radius: 50%;
      opacity: 0.08;
      pointer-events: none;
    }*/
    .hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(192,57,43,0.6);
      border: 1px solid rgba(192,57,43,0.4);
      color: #fff;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.5px;
      padding: 5px 14px;
      border-radius: 20px;
      margin-bottom: 32px;
    }
    .hero h1 {
      font-size: clamp(28px, 6vw, 48px);
      font-weight: 900;
      line-height: 1.15;
      margin-bottom: 20px;
      letter-spacing: -0.5px;
      margin-top: 240px;
    }
    .hero h1 span { color: var(--white); }
    .hero-sub {
      font-size: 16px;
      line-height: 1.7;
      color: var(--white);
      max-width: 520px;
      margin: 0 auto 36px;
    }
    .hero-chips {
      display: flex;
      justify-content: center;
      gap: 10px;
      flex-wrap: wrap;
      margin-bottom: 40px;
    }
    .chip {
      background: rgba(255,255,255,0.07);
      border: 1px solid rgba(255,255,255,0.12);
      color: var(--white);
      font-size: 13px;
      font-weight: 500;
      padding: 6px 16px;
      border-radius: 20px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    /* ── BUTTONS ── */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-family: var(--font);
      font-weight: 700;
      border: none;
      cursor: pointer;
      text-decoration: none;
      transition: all 0.18s ease;
      border-radius: var(--radius);
    }
    .btn-red {
      background: var(--red);
      color: var(--white);
      padding: 16px 32px;
      font-size: 16px;
      box-shadow: 0 4px 20px rgba(192,57,43,0.4);
    }
    .btn-red:hover { background: var(--red-d); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(192,57,43,0.45); }
    .btn-red.large { font-size: 18px; padding: 18px 40px; }
    .btn-outline {
      background: transparent;
      border: 2px solid rgba(255,255,255,0.2);
      color: rgba(255,255,255,0.8);
      padding: 14px 28px;
      font-size: 15px;
    }
    .btn-outline:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }
    .btn-back {
      background: none;
      border: none;
      color: var(--muted);
      font-family: var(--font);
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 8px 0;
      margin-bottom: 8px;
      transition: color 0.15s;
    }
    .btn-back:hover { color: var(--dark); }

    /* Hero job cards */
    .hero-job-cards {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
      max-width: 560px;
      margin: 0 auto;
    }
    @media(max-width: 540px) {
      .hero-job-cards { grid-template-columns: 1fr 1fr; }
    }
    .hero-job-card {
      background: rgba(255,255,255,0.08);
      border: 1.5px solid rgba(255,255,255,0.50);
      border-radius: 12px;
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      padding: 22px 12px 18px;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      transition: all 0.18s ease;
    }
    .hero-job-card:hover {
      background: rgba(255, 255, 255, 0.14);
      border-color: rgba(255, 255, 255, 0.8);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      transform: translateY(-4px);
      box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
    
    }

    .hjc-icon { font-size: 32px; line-height: 1; }
    .hjc-label { font-size: 13px; font-weight: 700; color: var(--white); text-align: center; }

    /* ── SECTIONS ── */
    .section { padding: 64px 24px; }
    .section-inner { max-width: var(--max); margin: 0 auto; }
    .section-label {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--red);
      margin-bottom: 10px;
    }
    h2.s-title {
      font-size: clamp(24px, 4vw, 36px);
      font-weight: 800;
      color: var(--dark);
      line-height: 1.2;
      margin-bottom: 14px;
      letter-spacing: -0.3px;
    }
    .s-lead {
      font-size: 15px;
      line-height: 1.7;
      color: var(--muted);
      margin-bottom: 40px;
    }

    /* ── BENEFITS ── */
    .benefits-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 16px;
    }
    .benefit-card {
      background: var(--light);
      border-radius: var(--radius);
      padding: 22px 18px;
      border-top: 3px solid var(--red);
      transition: transform 0.15s;
    }
    .benefit-card:hover { transform: translateY(-3px); }
    .b-icon { font-size: 26px; margin-bottom: 10px; }
    .b-title { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 5px; }
    .b-desc { font-size: 12px; line-height: 1.55; color: var(--muted); }

    /* ── ABOUT ── */
    .about-section { background: var(--dark); color: var(--white); }
    .about-section .s-title { color: var(--white); }
    .about-section .s-lead { color: rgba(255,255,255,0.6); }
    .stats-row {
      display: flex;
      gap: 32px;
      flex-wrap: wrap;
      margin-top: 32px;
    }
    .stat-item .num {
      font-size: 40px;
      font-weight: 900;
      color: var(--red-l);
      line-height: 1;
    }
    .stat-item .lbl {
      font-size: 12px;
      color: rgba(255,255,255,0.5);
      margin-top: 4px;
    }

    /* ── DAY IN LIFE ── */
    .day-section { background: var(--light); }
    .timeline { display: flex; flex-direction: column; gap: 0; }
    .tl-item {
      display: flex;
      gap: 20px;
      position: relative;
      padding-bottom: 28px;
    }
    .tl-item:last-child { padding-bottom: 0; }
    .tl-left {
      display: flex;
      flex-direction: column;
      align-items: center;
      flex-shrink: 0;
      width: 44px;
    }
    .tl-dot {
      width: 44px; height: 44px;
      background: var(--red);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 20px;
      flex-shrink: 0;
    }
    .tl-line {
      width: 2px;
      flex: 1;
      background: var(--border);
      margin-top: 8px;
    }
    .tl-item:last-child .tl-line { display: none; }
    .tl-body {
      background: var(--white);
      border-radius: var(--radius);
      padding: 18px 20px;
      flex: 1;
      box-shadow: var(--shadow);
    }
    .tl-body strong { display: block; font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
    .tl-body p { font-size: 13px; line-height: 1.6; color: var(--muted); }

    /* ── FIT CHECK ── */
    .fit-section { background: var(--white); }
    .fit-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
    .fit-list li {
      display: flex;
      gap: 12px;
      align-items: flex-start;
      background: var(--light);
      border-radius: var(--radius);
      padding: 14px 16px;
      font-size: 14px;
      line-height: 1.5;
      color: var(--text);
    }
    .fit-list li .check {
      color: var(--red);
      font-size: 16px;
      font-weight: 900;
      flex-shrink: 0;
      margin-top: 1px;
    }

    /* ── FAQ ── */
    .faq-section { background: var(--light); }
    .accordion { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
    .acc-item { border-bottom: 1px solid var(--border); }
    .acc-item:last-child { border-bottom: none; }
    .acc-btn {
      width: 100%; background: var(--white); border: none;
      padding: 18px 20px;
      text-align: left; font-family: var(--font);
      font-size: 14px; font-weight: 700; color: var(--dark);
      cursor: pointer;
      display: flex; justify-content: space-between; align-items: center; gap: 12px;
      transition: background 0.15s;
    }
    .acc-btn:hover { background: var(--light); }
    .acc-chevron { font-size: 16px; transition: transform 0.25s; flex-shrink: 0; color: var(--red); }
    .acc-btn.open .acc-chevron { transform: rotate(180deg); }
    .acc-body { display: none; padding: 16px 20px 16px; font-size: 13px; line-height: 1.7; color: var(--muted); background: var(--white); }
    .acc-body.open { display: block; }

    /* ── CTA STRIP ── */
    .cta-strip {
      background: var(--red);
      padding: 48px 24px;
      text-align: center;
    }
    .cta-strip h2 { font-size: clamp(22px, 4vw, 32px); font-weight: 800; color: var(--white); margin-bottom: 10px; }
    .cta-strip p { color: rgba(255,255,255,0.8); font-size: 15px; margin-bottom: 28px; }

    /* ── FOOTER ── */
    footer {
      background: var(--dark);
      color: rgba(255,255,255,0.4);
      text-align: center;
      padding: 28px 24px;
      font-size: 12px;
      line-height: 1.8;
    }
    footer a { color: rgba(255,255,255,0.4); text-decoration: none; margin: 0 8px; }
    footer a:hover { color: rgba(255,255,255,0.8); }
    footer strong { color: rgba(255,255,255,0.7); }

    /* ── STICKY CTA ── */
    .sticky {
      position: fixed; bottom: 0; left: 0; right: 0;
      background: var(--dark);
      border-top: 1px solid rgba(255,255,255,0.06);
      padding: 14px 20px;
      display: flex; align-items: center; justify-content: space-between;
      gap: 16px;
      z-index: 100;
    }
    .sticky-text { color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 500; }
    .sticky-text strong { color: var(--white); }
    @media(max-width: 480px) { .sticky-text { display: none; } .sticky { justify-content: center; } }

    /* ═══════════════════════════════════════
       FUNNEL
    ═══════════════════════════════════════ */

    /* Progress bar */
    .progress-bar-wrap {
      background: var(--border);
      height: 4px;
      width: 100%;
    }
    .progress-bar-fill {
      height: 4px;
      background: var(--red);
      transition: width 0.4s ease;
    }

    /* Funnel pages – hidden by default, shown via .active */
    .funnel-page      { display: none; flex-direction: column; align-items: center; padding: 40px 24px 80px; max-width: 680px; margin: 0 auto; width: 100%; }
    .funnel-page.active { display: flex !important; }
    .thank-you-page   { display: none; flex-direction: column; align-items: center; justify-content: center; padding: 60px 24px; text-align: center; }
    .thank-you-page.active { display: flex !important; }

    .funnel-step-label {
      font-size: 12px;
      font-weight: 600;
      color: var(--muted);
      letter-spacing: 0.5px;
      margin-bottom: 28px;
      align-self: flex-start;
    }
    .funnel-step-label span { color: var(--red); }

    .funnel-q {
      font-size: clamp(20px, 4vw, 28px);
      font-weight: 800;
      color: var(--dark);
      text-align: center;
      margin-bottom: 36px;
      line-height: 1.3;
      letter-spacing: -0.3px;
    }

    /* Answer cards */
    .answer-grid {
      display: grid;
      gap: 14px;
      width: 100%;
    }
    .answer-grid.cols-2 { grid-template-columns: 1fr 1fr; }
    .answer-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
    @media(max-width: 520px) {
      .answer-grid.cols-4 { grid-template-columns: 1fr 1fr; }
    }

    .answer-card {
      background: var(--light);
      border: 2px solid var(--border);
      border-radius: 14px;
      padding: 28px 16px 22px;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
      transition: all 0.18s ease;
      user-select: none;
    }
    .answer-card:hover {
      border-color: var(--red);
      background: var(--white);
      transform: translateY(-3px);
      box-shadow: 0 8px 24px rgba(192,57,43,0.15);
    }
    .answer-card.selected {
      border-color: var(--red);
      background: var(--red);
    }
    .answer-card.selected .card-emoji,
    .answer-card.selected .card-label { color: var(--white); }
    .answer-card.disqualified {
      border-color: #e0e0e0;
      background: #f0f0f0;
      opacity: 0.5;
      cursor: not-allowed;
    }
    .card-emoji { font-size: 36px; line-height: 1; }
    .card-label { font-size: 14px; font-weight: 700; color: var(--dark); text-align: center; }

    /* Disqualification overlay */
    .disq-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.6);
      z-index: 300;
      align-items: center;
      justify-content: center;
      padding: 24px;
    }
    .disq-overlay.show { display: flex; }
    .disq-box {
      background: var(--white);
      border-radius: 16px;
      padding: 40px 32px;
      max-width: 420px;
      width: 100%;
      text-align: center;
    }
    .disq-icon { font-size: 48px; margin-bottom: 16px; }
    .disq-box h3 { font-size: 22px; font-weight: 800; color: var(--dark); margin-bottom: 12px; }
    .disq-box p { font-size: 14px; line-height: 1.7; color: var(--muted); margin-bottom: 24px; }
    .disq-box .btn-red { width: 100%; justify-content: center; }

    /* Contact form */
    .contact-intro {
      text-align: center;
      margin-bottom: 32px;
    }
    .contact-avatar {
      width: 64px; height: 64px;
      background: var(--light);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 28px;
      margin: 0 auto 12px;
      border: 3px solid var(--border);
    }
    .contact-intro h3 { font-size: 20px; font-weight: 800; color: var(--dark); margin-bottom: 4px; }
    .contact-intro p { font-size: 13px; color: var(--muted); font-style: italic; }
    .contact-intro .q-title {
      font-size: clamp(18px, 4vw, 24px);
      font-weight: 800;
      color: var(--dark);
      margin: 20px 0 4px;
      font-style: normal;
    }
    .contact-sub { font-size: 13px; color: var(--red); font-weight: 600; }

    .form-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 28px 24px;
      width: 100%;
    }
    .form-group { margin-bottom: 16px; }
    .form-group label { display: block; font-size: 12px; font-weight: 700; color: var(--dark); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
    .form-field {
      width: 100%;
      padding: 13px 14px 13px 42px;
      border: 1.5px solid var(--border);
      border-radius: var(--radius);
      font-family: var(--font);
      font-size: 14px;
      color: var(--text);
      outline: none;
      transition: border-color 0.2s;
      background: var(--light);
      position: relative;
    }
    .form-field:focus { border-color: var(--red); background: var(--white); }
    .field-wrap { position: relative; }
    .field-icon {
      position: absolute;
      left: 14px; top: 50%;
      transform: translateY(-50%);
      font-size: 16px;
      pointer-events: none;
    }
    .file-field {
      width: 100%;
      padding: 12px 14px;
      border: 1.5px dashed var(--border);
      border-radius: var(--radius);
      font-family: var(--font);
      font-size: 13px;
      color: var(--muted);
      background: var(--light);
      cursor: pointer;
    }
    .file-note { font-size: 11px; color: var(--muted); margin-top: 4px; }

    .submit-btn {
      width: 100%;
      justify-content: center;
      font-size: 16px;
      padding: 17px;
      margin-top: 8px;
    }

    .next-steps {
      margin-top: 32px;
      width: 100%;
    }
    .next-steps h4 { font-size: 18px; font-weight: 800; color: var(--dark); text-align: center; margin-bottom: 20px; }
    .next-steps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    @media(max-width: 480px) { .next-steps-grid { grid-template-columns: 1fr; } }
    .next-step-item {
      display: flex;
      gap: 12px;
      align-items: flex-start;
    }
    .ns-num {
      width: 28px; height: 28px;
      background: var(--red);
      color: var(--white);
      border-radius: 6px;
      display: flex; align-items: center; justify-content: center;
      font-size: 13px;
      font-weight: 800;
      flex-shrink: 0;
    }
    .ns-text { font-size: 13px; line-height: 1.55; color: var(--muted); }
    .ns-text strong { color: var(--dark); }

    /* Thank you page */
    .ty-icon { font-size: 72px; margin-bottom: 24px; }
    .ty-title { font-size: 32px; font-weight: 900; color: var(--dark); margin-bottom: 12px; }
    .ty-sub { font-size: 16px; color: var(--muted); line-height: 1.7; max-width: 420px; }

    /* Mobile tweaks */
    @media(max-width: 480px) {
      .hero { padding: 48px 16px 44px; }
      .section { padding: 48px 16px; }
    }


/* Logo asset and form feedback */
.form-status {
  min-height: 20px;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
}
.form-status.error { color: var(--red-d); font-weight: 600; }
.submit-btn:disabled { opacity: 0.65; cursor: wait; transform: none; }
@media(max-width: 520px) {
  .logo-context { display: none; }
  .logo-image { width: 170px; }
}

/* Image slider – isolated test component */
.image-slider-section {
  background: #f7f7f7;
  padding: 72px 24px 68px;
  overflow: hidden;
}
.image-slider-inner {
  width: min(100%, 720px);
  margin: 0 auto;
  text-align: center;
}
.image-slider {
  position: relative;
  margin: 30px auto 0;
  width: 100%;
}
.image-slider-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #1a1a1a;
  box-shadow: 0 12px 34px rgba(0,0,0,0.16);
  outline: none;
  touch-action: pan-y;
}
.image-slider-viewport:focus-visible {
  box-shadow: 0 0 0 4px rgba(192,57,43,0.35), 0 12px 34px rgba(0,0,0,0.16);
}
.image-slider-track {
  display: flex;
  transform: translate3d(0,0,0);
  transition: transform 0.42s cubic-bezier(0.22,0.61,0.36,1);
  will-change: transform;
}
.image-slider-track.is-dragging { transition: none; cursor: grabbing; }
.image-slide {
  flex: 0 0 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
  background: #222;
}
.image-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
.image-slider-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.48);
  border-radius: 50%;
  background: rgba(26,26,26,0.64);
  color: #fff;
  font: 400 34px/35px Arial, sans-serif;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.18s ease, transform 0.18s ease;
}
.image-slider-control:hover,
.image-slider-control:focus-visible {
  background: var(--red);
  transform: translateY(-50%) scale(1.05);
  outline: none;
}
.image-slider-prev { left: 14px; }
.image-slider-next { right: 14px; }
.image-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 17px;
}
.image-slider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c9c9c9;
  cursor: pointer;
  transition: width 0.18s ease, background 0.18s ease;
}
.image-slider-dot.is-active {
  width: 25px;
  border-radius: 8px;
  background: var(--red);
}
.image-slider-dot:focus-visible { outline: 3px solid rgba(192,57,43,0.35); outline-offset: 3px; }
.image-slider-note {
  margin: 16px auto 0;
  max-width: 620px;
  color: #777;
  font-size: 11px;
  line-height: 1.55;
}
@media (max-width: 520px) {
  .image-slider-section { padding: 52px 16px 50px; }
  .image-slider-control { width: 36px; height: 36px; font-size: 29px; line-height: 30px; }
  .image-slider-prev { left: 9px; }
  .image-slider-next { right: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .image-slider-track, .image-slider-control, .image-slider-dot { transition: none; }
}
/* Einheitliche Kachelgrößen nur für die Deutschkenntnisse */
#q3 .answer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(130px, 1fr);
  align-items: stretch;
}

#q3 .answer-card {
  min-width: 0;
  min-height: 130px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#q3 .card-emoji {
  max-width: 100%;
  overflow-wrap: anywhere;
  line-height: 1.25;
}

/* Auf schmalen Bildschirmen: zwei gleich große Kacheln pro Zeile */
@media (max-width: 600px) {
  #q3 .answer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}