/* ==========================================================================
   docunite Landing Page Design System
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  --lp-font-display: 'DM Serif Display', Georgia, serif;
  --lp-font-body: inherit;
  --lp-radius-card: 1.25rem;      /* rounded-2xl equivalent */
  --lp-radius-btn: 9999px;        /* pill-shape (docunite.com style) */
  --lp-border-light: 1px solid #e5e7eb; /* gray-200 */
  --lp-shadow-hover: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* --------------------------------------------------------------------------
   2. TYPOGRAPHY
   --------------------------------------------------------------------------
   Wireframe pattern:
   - Section titles ("Funktionen", "FAQs", "Mehr zum") = bold sans-serif
   - Emotional headlines ("Danke, dass Du...", "Wir freuen uns") = italic display serif
   - Dynamic keywords = italic display serif
   -------------------------------------------------------------------------- */

/* Bold sans-serif section headings (matches wireframe)
   Color is NOT set here — use Tailwind text-* or inherit from context */
.lp-heading {
  font-family: var(--lp-font-body);
  font-weight: 800;
  line-height: 1.1;
}

/* Italic display serif for emotional headlines + keywords
   Color is NOT set here — use Tailwind text-* or inherit from context */
.lp-heading-display {
  font-family: var(--lp-font-display);
  font-style: italic;
  line-height: 1.15;
}

/* Keyword styling (used inside headings for [Keyword] parts) */
.lp-keyword {
  font-family: var(--lp-font-display);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   2b. WARUM SECTION — Sub-headings inside KirbyText (warum_extended) output
   --------------------------------------------------------------------------
   Section h1–h4 are the labels (warum_heading, intro_label, text_label, extended_label).
   KirbyText markdown headings (##, ###, ####) in warum_extended render as inline sub-headings.
   -------------------------------------------------------------------------- */
[data-section="warum"] .warum-extended-text h2,
[data-section="warum"] .warum-extended-text h3,
[data-section="warum"] .warum-extended-text h4,
[data-section="warum"] .warum-extended-text h5 {
  font-family: var(--lp-font-body);
  font-weight: 700;
  line-height: 1.3;
  color: #111827;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}
[data-section="warum"] .warum-extended-text h2 { font-size: 1.25rem; }  /* sub-heading large */
[data-section="warum"] .warum-extended-text h3 { font-size: 1.125rem; } /* sub-heading medium */
[data-section="warum"] .warum-extended-text h4 { font-size: 1rem; }     /* sub-heading small */
[data-section="warum"] .warum-extended-text h5 { font-size: 1rem; }

@media (min-width: 768px) {
  [data-section="warum"] .warum-extended-text h2 { font-size: 1.5rem; }
  [data-section="warum"] .warum-extended-text h3 { font-size: 1.25rem; }
  [data-section="warum"] .warum-extended-text h4 { font-size: 1.125rem; }
}

/* First sub-heading: no top margin */
[data-section="warum"] .warum-extended-text h2:first-child {
  margin-top: 0;
}

/* Links in KirbyText sections (warum, faq) */
[data-section="warum"] a,
[data-section="faq"] a {
  color: var(--color-brand-600, #1d4ed8);
  text-decoration: underline;
  text-underline-offset: 2px;
}
[data-section="warum"] a:hover,
[data-section="faq"] a:hover {
  color: var(--color-brand-800, #1e3a5f);
}

/* --------------------------------------------------------------------------
   3. BUTTONS
   -------------------------------------------------------------------------- */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: var(--lp-radius-btn);
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.lp-btn-primary {
  padding: 0.625rem 1.25rem;
  background-color: var(--color-brand-600);
  color: white;
  font-size: 0.875rem;
}
.lp-btn-primary:hover {
  background-color: var(--color-brand-700);
}

.lp-btn-outline {
  padding: 1rem 2rem;
  border: 2px solid #111827;
  color: #111827;
  background: transparent;
}
.lp-btn-outline:hover {
  background-color: #111827;
  color: white;
}

.lp-btn-dark {
  padding: 0.5rem 1rem;
  background-color: #111827;
  color: white;
  font-size: 0.875rem;
}
.lp-btn-dark:hover {
  background-color: #1f2937;
}

/* --------------------------------------------------------------------------
   4. IMAGE TREATMENTS
   -------------------------------------------------------------------------- */
.lp-img-bw {
  filter: grayscale(100%) contrast(1.1);
}

/* Person image with thin outline frame (wireframe style) */
.lp-img-framed {
  border-radius: var(--lp-radius-card);
  border: 2px solid #111827;
  filter: grayscale(100%) contrast(1.1);
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   5. CARDS
   -------------------------------------------------------------------------- */

/* -- Module cards (Funktionen) -- */
.lp-module-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--lp-radius-card);
}
.lp-module-card img {
  transition: transform 0.3s ease;
}
.lp-module-card:hover img {
  transform: scale(1.05);
}
.lp-module-card--light {
  background-color: var(--color-brand-100);
  border: var(--lp-border-light);
}
.lp-module-card--dark {
  background-color: var(--color-brand-600);
}

/* Module card badge (top-right logo circle) */
.lp-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 2rem;
  height: 2rem;
  background: white;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* -- FAQ cards -- */
.lp-faq-card {
  border-radius: var(--lp-radius-card);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.lp-faq-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--lp-shadow-hover);
}
.lp-faq-question {
  background-color: var(--color-brand-50);
  padding: 1.5rem;
  flex: 1;
}
.lp-faq-answer {
  background-color: white;
  padding: 1.5rem;
  border-top: var(--lp-border-light);
}

/* -- Resource cards -- */
.lp-resource-card {
  position: relative;
  border-radius: var(--lp-radius-card);
  overflow: hidden;
  border: var(--lp-border-light);
}

/* --------------------------------------------------------------------------
   6. QUIZ
   -------------------------------------------------------------------------- */
.lp-quiz-option {
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: #f3f4f6;     /* gray-100 */
  border-radius: var(--lp-radius-btn);
  padding: 1.25rem;
  border: 1px solid transparent;
}
.lp-quiz-option:hover {
  background-color: var(--color-brand-50);
}
.lp-quiz-option.selected {
  background-color: var(--color-brand-100);
  border-color: var(--color-brand-600);
}
.lp-quiz-step {
  display: none;
}
.lp-quiz-step.active {
  display: block;
}

/* Poll Results (after voting) */
.poll-result-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.poll-result-item {
  position: relative;
}
.poll-result-item--voted .poll-result-label {
  font-weight: 700;
  color: var(--color-brand-700, #1d4ed8);
}
.poll-result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.375rem;
}
.poll-result-label {
  font-size: 0.9375rem;
  color: #374151;
  line-height: 1.3;
}
.poll-result-pct {
  font-size: 0.875rem;
  font-weight: 700;
  color: #111827;
  margin-left: 1rem;
  white-space: nowrap;
}
.poll-result-track {
  height: 0.625rem;
  background-color: #e5e7eb;
  border-radius: 9999px;
  overflow: hidden;
}
.poll-result-fill {
  height: 100%;
  border-radius: 9999px;
  background-color: #9ca3af;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.poll-result-fill--voted {
  background-color: var(--color-brand-600, #2563eb);
}
.poll-result-footer {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #9ca3af;
  text-align: right;
}

/* --------------------------------------------------------------------------
   7. HEADER / NAV
   -------------------------------------------------------------------------- */
.lp-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
}
/* Solid bg once scrolled (JS adds .lp-nav--scrolled) */
.lp-nav--scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: var(--lp-border-light);
}

/* --------------------------------------------------------------------------
   8. UTILITY CLASSES (missing from pre-compiled Tailwind)
   -------------------------------------------------------------------------- */

/* Positioning */
.top-4 { top: 1rem; }
.right-4 { right: 1rem; }
.bottom-4 { bottom: 1rem; }
.left-4 { left: 1rem; }
.-inset-4 { inset: -1rem; }
.z-10 { z-index: 10; }
.-z-10 { z-index: -10; }

/* Sizing */
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.w-24 { width: 6rem; }
.h-24 { height: 6rem; }
.max-w-md { max-width: 28rem; }
.max-w-sm { max-width: 24rem; }

/* Spacing */
.p-5 { padding: 1.25rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }

/* Layout */
.justify-end { justify-content: flex-end; }
.text-right { text-align: right; }
.columns-1 { columns: 1; }
.aspect-\[3\/4\] { aspect-ratio: 3/4; }

/* Colors */
.text-brand-400 { color: var(--color-brand-400); }
.border-gray-900 { border-color: #111827; }

/* Hover states */
@media (hover: hover) {
  .hover\:bg-gray-100:hover { background-color: #f3f4f6; }
  .hover\:bg-gray-800:hover { background-color: #1f2937; }
  .hover\:bg-gray-900:hover { background-color: #111827; }
  .hover\:border-gray-900:hover { border-color: #111827; }
  .hover\:text-gray-700:hover { color: #374151; }
}

/* Animation */
@keyframes bounce {
  0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
  50% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}
.animate-bounce { animation: bounce 1s infinite; }

/* --------------------------------------------------------------------------
   9. RESPONSIVE OVERRIDES
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
  .sm\:inline { display: inline; }
}
@media (min-width: 768px) {
  .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .md\:p-8 { padding: 2rem; }
  .md\:columns-2 { columns: 2; }

  .lp-faq-question { padding: 2rem; }
  .lp-faq-answer { padding: 2rem; }
}

/* ==========================================================================
   10. LP HERO (Figma-Redesign) — dunkler Split-Hero auf dem Brand-Design-System
   --------------------------------------------------------------------------
   Wiederverwendung aus homepage.css: .hero, .hero__bg, .hero__heading/sub,
   .btn-flat--glass, .eyebrow. Hier wird NUR das zentrierte Homepage-Layout auf
   zweispaltig (Text links, Bild rechts) gedreht. Höhere Spezifität (.hero--lp X)
   gewinnt über die Homepage-Basis.
   ========================================================================== */
.hero--lp .hero__body {
  text-align: left;
  max-width: none;
  padding: 40px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 508px);
  gap: 60px;
  align-items: center;
  width: 100%;
}
.hero--lp .hero__content { max-width: 560px; }
.hero--lp .hero__eyebrow { margin: 0 0 18px; justify-content: flex-start; }
.hero--lp .hero__heading {
  margin: 0;
  max-width: none;
  text-align: left;
}
.hero--lp .hero__sub {
  margin: 24px 0 0;
  max-width: 467px;
  text-align: left;
}
.hero--lp .hero__cta-row { justify-content: flex-start; margin-top: 34px; }

/* Keyword-Highlight: altes DM-Serif-lp-keyword neutralisieren, damit die Headline
   zur weißen Figma-Headline passt (kein kursives Serif im dunklen Hero). */
.hero--lp .hero__heading .lp-keyword {
  font: inherit;
  font-style: normal;
  color: inherit;
}

/* Bild rechts — gerundet, Figma 508×471, rounded-20 */
.hero--lp .hero__media { display: flex; justify-content: flex-end; }
.hero--lp .hero__media img,
.hero--lp .hero__media-placeholder {
  width: 100%;
  max-width: 508px;
  aspect-ratio: 508 / 471;
  border-radius: 20px;
  object-fit: cover;
}
.hero--lp .hero__media-placeholder { background: #c7ddff; }

/* Reduzierte LP-Nav: Menü + Hamburger + Mobile-Menü ausblenden, Logo + CTA + DE bleiben */
.nav--minimal .nav__menu,
.nav--minimal .nav__hamburger,
.nav--minimal .nav__mobile,
.nav--minimal .nav__mega { display: none !important; }
.nav--minimal .nav__right { display: flex !important; }

@media (max-width: 860px) {
  .hero--lp .hero__body { grid-template-columns: 1fr; gap: 36px; }
  .hero--lp .hero__content { max-width: none; }
  .hero--lp .hero__sub { max-width: none; }
  .hero--lp .hero__media { justify-content: stretch; }
  .hero--lp .hero__media img,
  .hero--lp .hero__media-placeholder { max-width: none; }
}

/* ==========================================================================
   11. LP VORTEILE (Figma 1397:7238) — geteilter Karten-Grid
   --------------------------------------------------------------------------
   Hellblauer Hintergrund, 3×2 Karten (transluzentes Weiß, rounded), je Bild +
   Mono-Eyebrow (.eyebrow reused) + Aspekta-Titel. Fonts/Tokens aus homepage.css.
   ========================================================================== */
.vorteile {
  padding: 96px 0;
  background: linear-gradient(180deg, #dbe8ff 0%, #cfe0ff 42%, #e9f1ff 100%);
}
.vorteile__head { text-align: center; margin-bottom: 48px; }
.vorteile__heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--text-dark);
  margin: 0;
}
.vorteile__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.vorteile__card {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 24px;
  overflow: hidden;
}
.vorteile__card-media {
  width: 100%;
  aspect-ratio: 340 / 190;
  border-radius: 15px;
  object-fit: cover;
  display: block;
}
.vorteile__card-text { display: flex; flex-direction: column; gap: 6px; }
.vorteile__card .eyebrow { margin: 0; }
.vorteile__card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.2px;
  color: #0d0f1a;
  margin: 0;
}
@media (max-width: 980px) {
  .vorteile__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .vorteile { padding: 64px 0; }
  .vorteile__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   12. LP WARUM / TEXT-SEKTION (Figma 1430:10900) — pro-LP Longform
   --------------------------------------------------------------------------
   Weißer BG, große Aspekta-Headline, zweispaltiger KirbyText-Fließtext mit
   Aspekta-Zwischentiteln, fetten USPs und blauen Gradient-Links.
   ========================================================================== */
.warum {
  padding: 96px 0;
  background: #fff;
}
.warum__heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -1px;
  color: #0d0f1a;
  max-width: 720px;
  margin: 0 0 48px;
}
.warum__heading .lp-keyword { font: inherit; font-style: normal; color: inherit; }

.warum__body {
  column-count: 2;
  column-gap: 72px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: rgba(13, 15, 26, 0.6);
}
.warum__body > :first-child { margin-top: 0; }
.warum__body p { margin: 0 0 1.4em; }
.warum__body h2,
.warum__body h3,
.warum__body h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: #0d0f1a;
  line-height: 1.12;
  margin: 1.6em 0 0.5em;
  break-after: avoid-column;
  break-inside: avoid-column;
}
.warum__body h2 { font-size: 32px; }
.warum__body h3 { font-size: 28px; }
.warum__body h4 { font-size: 22px; }
.warum__body strong { color: #0d0f1a; font-weight: 700; }
.warum__body ul,
.warum__body ol { margin: 0 0 1.4em; padding-left: 1.2em; }
.warum__body li { margin: 0 0 0.4em; }

/* Gradient-Links (Figma): blauer Verlauf als Textfüllung + Unterstreichung */
.warum__body a {
  background: linear-gradient(151deg, #3989fe 27%, #0052d3 80%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #0052d3; /* Fallback ohne background-clip-Support */
  text-decoration: underline;
  text-decoration-color: rgba(0, 82, 211, 0.6);
  text-underline-offset: 2px;
}
.warum__body a:hover { text-decoration-color: #0052d3; }

@media (max-width: 860px) {
  .warum { padding: 64px 0; }
  .warum__body { column-count: 1; }
}

/* ==========================================================================
   13. LP "MEHR ZUR" / RESOURCES (Figma 1427:10377) — geteilte Glas-Karten
   --------------------------------------------------------------------------
   Hellblauer Foto-Hintergrund, zentrierte weiße Headline + Subtitle, 3 transluzente
   Glaskarten (Bild + Titel + Text + blauer "Ansehen"-Button, btn-flat--blue reused).
   ========================================================================== */
.resources {
  position: relative;
  padding: 96px 0;
  background: #3f78cf url('/assets/images/lp/resources/resources-bg.png') center / cover no-repeat;
  isolation: isolate;
}
.resources__head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.resources__heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -1px;
  color: #fff;
  margin: 0 0 12px;
}
.resources__subtitle {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  max-width: 460px;
  margin: 0 auto;
}
.resources__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.resources__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
}
.resources__card-media {
  width: 100%;
  aspect-ratio: 340 / 190;
  border-radius: 15px;
  object-fit: cover;
  display: block;
  margin-bottom: 4px;
}
.resources__card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.25;
  color: #fff;
  margin: 0;
}
.resources__card-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}
.resources__card-btn { margin-top: 8px; }
@media (max-width: 980px) {
  .resources__grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .resources { padding: 64px 0; }
}

/* ==========================================================================
   14. LP POLL (Figma 1516:11435) — dunkler kosmischer Hintergrund, 2-spaltig
   --------------------------------------------------------------------------
   Links: FRAGE-Eyebrow + Aspekta-Frage + Multi-Step-Nav. Rechts: 4 transluzente
   Antwort-Karten (.poll-option). Voting-JS unverändert (.lp-quiz-step /
   .poll-option / .poll-results bleiben die Hook-Klassen).
   ========================================================================== */
.poll {
  position: relative;
  padding: 120px 0;
  background: #060814 url('/assets/images/lp/poll/poll-bg.webp') center / cover no-repeat;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}

/* Multi-Step-Visibility: nur die aktive Frage ist sichtbar */
.poll .lp-quiz-step { display: none; }
.poll .lp-quiz-step.active {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

.poll__head { display: flex; flex-direction: column; gap: 28px; padding-top: 8px; }
.poll__eyebrow { margin: 0; }
.poll__eyebrow .eyebrow__text { color: rgba(255, 255, 255, 0.6); }
.poll__question {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: #fff;
  margin: 0;
  max-width: 560px;
}
.poll__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.poll__nav-btn {
  background: transparent;
  border: 0;
  padding: 8px 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition: color 0.15s ease;
}
.poll__nav-btn:hover { color: #fff; }
.poll__nav-btn--next { color: rgba(255, 255, 255, 0.85); }

.poll__options { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.poll__option,
.poll .poll-option {
  display: flex;
  align-items: center;
  min-height: 96px;
  padding: 24px 28px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}
.poll .poll-option:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
}
.poll .poll-option:active { transform: scale(0.99); }
.poll .poll-option.selected {
  background: rgba(0, 82, 211, 0.32);
  border-color: rgba(99, 158, 255, 0.55);
}
.poll .poll-option.hidden { display: none; }

/* Voting-Ergebnisse (dunkles Theme) */
.poll .poll-results.hidden { display: none; }
.poll .poll-result-list { display: flex; flex-direction: column; gap: 14px; }
.poll .poll-result-item {
  padding: 18px 22px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.poll .poll-result-item--voted {
  background: rgba(0, 82, 211, 0.22);
  border-color: rgba(99, 158, 255, 0.45);
}
.poll .poll-result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  font-family: var(--font-body);
  color: #fff;
}
.poll .poll-result-label { font-size: 15px; }
.poll .poll-result-pct { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.85); }
.poll .poll-result-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.poll .poll-result-fill {
  height: 100%;
  background: rgba(255, 255, 255, 0.45);
  border-radius: inherit;
  transition: width 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.poll .poll-result-fill--voted {
  background: linear-gradient(90deg, #3989fe, #0052d3);
}
.poll .poll-result-footer {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 860px) {
  .poll { padding: 72px 0; }
  .poll .lp-quiz-step.active {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .poll__nav { order: 2; }
}

/* ==========================================================================
   15. LP FAQ (Figma 1412:8799, Variante 2) — Headline OBEN über dem Akkordeon
   --------------------------------------------------------------------------
   Reused: .faq + .faq__items/__item/__question/__answer aus homepage.css
   (Akkordeon-CSS und Accordion-JS in homepage.js bleiben unverändert). LP-
   Modifier `.faq--lp` dreht das Homepage-2-col-Grid auf single column und
   schiebt das Akkordeon Figma-konform leicht nach rechts.
   ========================================================================== */
.faq--lp .faq__grid {
  display: block;
}
.faq--lp .faq__head { margin-bottom: 56px; }
.faq--lp .faq__title {
  max-width: 820px;
  margin: 0;
  text-align: left;
}
.faq--lp .faq__title .lp-keyword {
  font: inherit;
  font-style: normal;
  color: inherit;
}
.faq--lp .faq__items {
  max-width: 900px;
  margin-left: auto; /* "Position des Akkordeons bleibt" → rechts-versetzt wie Figma */
}
@media (max-width: 1100px) {
  .faq--lp .faq__items { margin-left: 0; }
}

/* ==========================================================================
   16. LP CTA (Figma 1516:11457) — kürzere Variante des Brand-CTAs
   --------------------------------------------------------------------------
   .dsp-cta-Struktur 1:1 aus subpage.css wiederverwendet (Timo-Karte, Headline,
   Quote, weißer Primary-Button). LP-Modifier `.dsp-cta--lp` macht die Section
   niedriger und ersetzt den Original-Foto-BG (bg_cta_demo.webp, für 600px Höhe
   geschnitten) durch einen schlichten Verlauf — wartet auf den passenden BG
   vom User für die kürzere Variante.
   ========================================================================== */
.dsp-cta--lp {
  --lp-bg-seam: 0.75;       /* Naht-Stelle im Source-Bild (0..1) — MUSS mit .lp-footer matchen */
  --lp-cta-height: 480px;   /* muss min-height matchen, fließt in die calc()-Pinnung */
  height: auto;
  min-height: var(--lp-cta-height);
  padding: 80px 0;
  /* Geteilter Figma-BG (assets/images/lp/cta/lp-bg-blue.webp, 736×1472, Aspect 1:2).
     Skalen-robuste Strategie: Bild auf 100% Section-Breite mit auto Höhe rendern
     (→ Höhe = 200vw bei 1:2 Source). Position so wählen, dass die UNTERKANTE der
     CTA immer bei `--lp-bg-seam` (75%) im Source liegt. Footer pinnt seine
     OBERKANTE auf denselben Wert → nahtloser Übergang bei jeder Viewport-Breite. */
  background-color: #0747b8;
  background-image: url('/assets/images/lp/cta/lp-bg-blue.webp');
  background-size: 100% auto;
  background-position: 0 calc(var(--lp-cta-height) - 2 * var(--lp-bg-seam) * 100vw);
  background-repeat: no-repeat;
}
.dsp-cta--lp .dsp-cta__heading {
  font-size: clamp(40px, 5vw, 56px);
}
.dsp-cta--lp .dsp-cta__text {
  max-width: 560px;
}
.dsp-cta__button-secondary {
  height: 50px; /* btn-flat ist 44px hoch — auf 50px wie Figma + Primary-Button */
}
@media (max-width: 900px) {
  /* Bei Mobile/Tablet zwingt der gestackte Inhalt die CTA über die min-height.
     Variable an die ungefähre Ist-Höhe anpassen → Naht-Pinnung bleibt korrekt.
     (Container Queries wären sauberer, aber das hier ist breit unterstützt.) */
  .dsp-cta--lp { --lp-cta-height: 720px; min-height: auto; padding: 64px 0; }
}
@media (max-width: 600px) {
  .dsp-cta--lp { --lp-cta-height: 820px; }
}

/* ==========================================================================
   17. LP FOOTER (Figma 1418:10256, "Footer alternitive small") — kompakt 1-zeilig
   --------------------------------------------------------------------------
   Blauer Verlauf, Logo links / Copyright mittig / LinkedIn+Impressum+Datenschutz rechts.
   ========================================================================== */
.lp-footer {
  --lp-bg-seam: 0.75;       /* MUSS mit .dsp-cta--lp matchen (Naht im Source) */
  padding: 28px 0;
  /* Geteilter Figma-BG. OBERKANTE des Footers wird immer bei `--lp-bg-seam` (75%)
     im Source gepinnt → nahtlos an die CTA-Unterkante anschließend, bei jeder
     Viewport-Breite. Siehe Kommentar bei .dsp-cta--lp. */
  background-color: #062a78;
  background-image: url('/assets/images/lp/cta/lp-bg-blue.webp');
  background-size: 100% auto;
  background-position: 0 calc(-2 * var(--lp-bg-seam) * 100vw);
  background-repeat: no-repeat;
  color: rgba(255, 255, 255, 0.7);
}
.lp-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.lp-footer__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.lp-footer__logo img {
  height: 32px;
  width: auto;
  display: block;
}
.lp-footer__brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: #fff;
}
.lp-footer__copy {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  text-align: center;
  flex: 1 1 auto;
}
.lp-footer__links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
}
.lp-footer__link {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.15s ease;
}
.lp-footer__link:hover { color: #fff; }

@media (max-width: 720px) {
  .lp-footer { padding: 24px 0; }
  .lp-footer__inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .lp-footer__copy { flex: 0 0 auto; }
}
