/* ============================================================
   SUBPAGES.CSS (Unterseiten)
   ============================================================ */

/* ============================================================
   INFOPAGE
   ============================================================ */
.infopage {
  background:
    radial-gradient(ellipse 80% 35% at 50% -5%, rgba(87, 79, 241, 0.07) 0%, transparent 100%),
    #FAFAFA;
  min-height: 100vh;
  color: #1a1830;
  line-height: 1.6;
}
.infopage .subpage { padding-bottom: clamp(48px, 6vw, 96px); }


/* ── Artikel ── */
.infopage__article {
  padding: 0;
}
.infopage__article.post {
  background: #ffffff;
  border-radius: var(--radius-l);
  padding: 3rem 3.5rem;
  box-shadow:
    0 1px 3px rgba(87, 79, 241, 0.06),
    0 8px 32px rgba(87, 79, 241, 0.08);
}


/* ── Page Header ── */
.infopage__header {
  padding-bottom: var(--space-s);
  margin-bottom: var(--space-m);
}


.infopage__header h1 {
  color: var(--color-brand);
  margin-bottom: 0.75rem;
}

.infopage__intro {
  color: rgba(26, 24, 48, 0.55);
  max-width: 58ch;
}


/* ── Footer ── */
.infopage__footer-wrapper {
  background: transparent;
  padding-bottom: var(--space-l) !important;
}


/* ── Responsive ── */
@media (max-width: 640px) {
  .infopage__article.post {
    padding: 2rem 1.5rem;
    border-radius: var(--radius-m);
  }

  .infopage__header {
    padding-bottom: var(--space-s);
    margin-bottom: var(--space-s);
  }
}


/* ============================================================
   RATGEBER
   ============================================================ */
.guides__header {
  margin-bottom: 2rem;
}

.guides__header h1 {
  color: var(--color-brand);
  margin-bottom: 0.6rem;
}

.guides__intro {
  color: rgba(26, 24, 48, 0.55);
  max-width: 60ch;
}

.guides__grid .post-card h2 {
  min-height: 3.75em;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.guide-cta {
  padding-top: var(--space-m);
}

.guide-cta__text {
  font-family: var(--font-semibold);
  color: var(--color-ink);
  margin-bottom: var(--space-s);
}

.guide-cta__box {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(87, 79, 241, 0.06);
  border-radius: var(--radius-l);
  padding: 1.5rem;
}

.guide-cta__logo {
  flex-shrink: 0;
  border-radius: var(--radius-m);
}

.guide-cta__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.guide-cta__headline {
  font-family: var(--font-semibold);
  color: var(--color-ink);
  margin: 0;
}

.guide-cta__description {
  color: rgba(26, 24, 48, 0.7);
  margin: 0;
}

.guide-cta__button {
  flex-shrink: 0;
  height: 48px;
  padding-inline: 1.5rem;
  font-size: 15px;
  border-radius: 14px;
}

@media (max-width: 860px) {
  .guide-cta__box {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

.faq__section + .faq__section {
  margin-top: var(--space-m);
}

.infopage__body .list-card { max-width: 900px; margin-block: 1.25rem; }
.infopage__body .list-card summary h3 { font: inherit; letter-spacing: 0; text-transform: none; color: inherit; margin: 0; flex: 1; }
.infopage__body .list-card__row { scroll-margin-top: var(--space-s); }
.infopage__body .list-card__answer :is(p, ul, ol) { margin-bottom: 0; }

.infopage__body .faq__section-title {
  color: var(--color-ink);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  margin-bottom: 1rem;
}


/* ============================================================
   NEWS
   ============================================================ */
.news__header {
  margin-bottom: 2rem;
}

.news__header h1 {
  color: var(--color-brand);
  margin-bottom: 0.6rem;
}

.news__intro {
  color: rgba(26, 24, 48, 0.55);
  max-width: 60ch;
}

.news__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.news__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding-inline: 1.4rem;
  border: none;
  border-radius: 14px;
  font-family: var(--font-semibold);
  font-size: 15px;
  letter-spacing: 0.1px;
  cursor: pointer;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.92);
  color: #1a1830;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
  transition: background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease, opacity 0.15s ease, transform 0.1s ease;
}

.news__pill:hover:not(.is-active) {
  background: #ffffff;
  color: var(--color-brand);
  box-shadow: 0 6px 18px rgba(87, 79, 241, 0.18);
  transform: translateY(-1px);
}

.news__pill:active {
  opacity: 0.82;
  transform: scale(0.985);
}

.news__pill.is-active {
  background: var(--color-brand);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(119, 105, 228, 0.35);
}

.news__pill.is-active:hover { background: #6859d4;
}

.news__empty,
.news__empty-filter {
  color: rgba(var(--ink-rgb), 0.5);
  padding: 2rem 0;
}

.post__back {
  margin-bottom: 1.25rem;
}

.post__header {
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}


/* ============================================================
   NOTICE
   ============================================================ */
.landing_page_main {
  padding-top: 1rem;
}

.landing_page_main p {
  text-wrap: pretty;
}

.landing_page_hero {
  text-align: left;
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.landing_page_hero .infopage__intro {
  max-width: 72ch;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.landing_mobile_break {
  display: none;
}

.landing_word_prefix::after {
  content: "";
}

.landing_page_stores {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1.25rem;
}

.landing_page_store_form .download-badges__link {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.landing_page_main .infopage__body h2.landing_heading:first-child {
  margin: 4rem 0 1rem;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.2;
  max-width: 20ch;
}

.landing_page_features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.landing_page_feature {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius-m);
  background: #f5f4fb;
}

.landing_page_feature:nth-child(even) .landing_page_feature_copy {
  order: 2;
}

.landing_page_feature:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}

.landing_page_feature_copy h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-main);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  color: #1a1830;
}

.landing_page_feature_copy p {
  color: rgba(26, 24, 48, 0.68);
}

.landing_page_device {
  position: relative;
  width: min(100%, 220px);
  aspect-ratio: 890 / 1878;
  justify-self: center;
  filter: drop-shadow(0 12px 18px rgba(26, 24, 48, 0.16));
}

.landing_page_device_screen,
.landing_page_device_frame {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.landing_page_device_screen {
  top: 2.1%;
  left: 4.35%;
  width: 90.59%;
  height: 96.01%;
  border-radius: 13.77% / 6.16%;
  object-fit: cover;
  object-position: center top;
}

.landing_page_device_frame {
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 640px) {
  .landing_mobile_break {
    display: initial;
  }

  .landing_word_prefix::after {
    content: "-";
  }

  .landing_page_hero h1,
  .landing_page_main .landing_heading,
  .landing_page_feature_copy h3 {
    text-wrap: balance;
  }

  .landing_page_hero h1 {
    max-width: 18ch;
  }

  .landing_page_hero .infopage__intro {
    max-width: 42ch;
  }

  .landing_page_feature {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-bottom: 2rem;
    text-align: left;
  }

  .landing_page_feature:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .landing_page_feature:nth-child(even) .landing_page_feature_copy {
    order: initial;
  }

  .landing_page_device {
    width: min(62vw, 240px);
  }

}

.notice__main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 220px);
  text-align: center;
}

.notice__card {
  max-width: 600px;
}

.notice__logo {
  margin: 0 auto var(--space-m);
  border-radius: var(--radius-l);
}

.notice__card h1 {
  color: var(--color-brand);
  margin-bottom: 0.75rem;
}

.notice__text {
  color: rgba(26, 24, 48, 0.68);
  margin-bottom: var(--space-m);
}

.notice__cta {
  display: inline-flex;
}
