/* ==========================================================================
   UBI-Tutor IV – Landingpage
   Umsetzung des Designentwurfs „2a" (Funkkanal-Layout, ohne Preisangabe)
   Alle Ressourcen liegen lokal vor – keine externen Ladevorgänge.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design-Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Farben */
  --navy-900: #0b2f42;
  --navy-800: #123c50;
  --teal-700: #0e4a63;
  --teal-600: #0e6b7d;
  --teal-500: #0e90a8;
  --mint-400: #7fe9d6;
  --mint-200: #c7f5ea;
  --mint-100: #eafcf8;
  --orange-400: #ffb35a;
  --orange-500: #f2884a;
  --orange-ink: #1a2b1f;

  --surface-white: #fff;
  --surface-soft: #f5f8f4;
  --surface-mint: #eaf6f2;

  --text-strong: var(--navy-900);
  --text-body: #5a716d;
  --text-muted: #4d6b66;
  --text-on-dark: #d7ece9;
  --text-on-dark-muted: #9fc9c2;
  --text-on-dark-caption: #bcdfd8;
  --text-on-dark-soft: #bfe3dd;
  --text-on-dark-dim: #a9cdc7;

  /* Typografie */
  --font-display: 'Fredoka', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Sora', 'Segoe UI', system-ui, sans-serif;

  /* Layout */
  --page-max: 1200px;
  --section-pad-x: 64px;
  --section-pad-y: 64px;
  --radius-card: 14px;
  --radius-pill: 20px;
  --radius-btn: 12px;

  /* Schatten */
  --shadow-card: 0 4px 14px rgba(14, 42, 61, 0.06);
  --shadow-page: 0 8px 30px rgba(14, 42, 61, 0.14);
  --shadow-shot: 0 10px 24px rgba(0, 0, 0, 0.3);
  --shadow-cta: 0 10px 24px rgba(242, 136, 74, 0.35);
}

/* --------------------------------------------------------------------------
   2. Grundlagen
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #eef2f0;
  color: var(--text-strong);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--teal-500);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
}

/* Sichtbarer Fokus für Tastaturbedienung */
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--mint-400);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   3. Seitenrahmen & Sektionen
   -------------------------------------------------------------------------- */
.page {
  max-width: var(--page-max);
  margin: 0 auto;
  background: var(--surface-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-page);
  overflow: hidden;
}

.section {
  padding: var(--section-pad-y) var(--section-pad-x);
}

.section--soft {
  background: var(--surface-soft);
}

.section--white {
  background: var(--surface-white);
}

.section--dark {
  background: var(--navy-900);
}

.section__title {
  font-size: 32px;
  line-height: 1.2;
  color: var(--text-strong);
  margin: 0 0 8px;
}

.section__title--tight {
  margin-bottom: 28px;
}

.section__title--spaced {
  margin-bottom: 36px;
}

.section--dark .section__title {
  color: var(--surface-white);
}

.section__lead {
  color: var(--text-muted);
  font-size: 16px;
  margin: 0 0 40px;
}

.section--dark .section__lead {
  color: var(--text-on-dark-muted);
  margin-bottom: 36px;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  background: var(--orange-500);
  color: var(--orange-ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
  padding: 16px 30px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  box-shadow: var(--shadow-cta);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn:hover {
  background: var(--orange-400);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(242, 136, 74, 0.42);
}

.btn:active {
  transform: translateY(0);
}

.btn--wide {
  padding: 16px 34px;
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #0b2f42 0%, #0e4a63 55%, #0e6b7d 100%);
  padding: 72px var(--section-pad-x) var(--section-pad-y);
}

/* Dekorative Funkkreise – rein visuell */
.hero__decor {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero__decor--ring-outer {
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border: 2px dashed rgba(255, 255, 255, 0.18);
}

.hero__decor--ring-inner {
  right: -40px;
  top: -40px;
  width: 280px;
  height: 280px;
  border: 2px solid rgba(255, 255, 255, 0.14);
}

.hero__decor--sun {
  right: 60px;
  top: 60px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, var(--orange-400), var(--orange-500));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 56px;
}

.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid var(--mint-400);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand__mark::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint-400);
}

.brand__name {
  color: var(--mint-100);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.02em;
}

.hero__content {
  position: relative;
  max-width: 660px;
}

.hero__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  color: var(--mint-200);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}

.hero__title {
  font-size: 56px;
  line-height: 1.06;
  color: var(--surface-white);
  margin: 0 0 20px;
}

.hero__lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-on-dark);
  margin: 0 0 32px;
  max-width: 540px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero__note {
  color: var(--text-on-dark-soft);
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   6. Features
   -------------------------------------------------------------------------- */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature {
  display: flex;
  gap: 16px;
  background: var(--surface-white);
  border-radius: var(--radius-card);
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.feature__check {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal-600);
  color: var(--surface-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.feature__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-strong);
  margin: 0 0 4px;
}

.feature__text {
  color: var(--text-body);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
}

/* --------------------------------------------------------------------------
   7. Galerie
   -------------------------------------------------------------------------- */
.gallery {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin: 0;
  list-style: none;
  scroll-snap-type: x proximity;
}

.shot {
  flex: none;
  width: 280px;
  margin: 0;
  scroll-snap-align: start;
}

.shot__frame {
  background: var(--navy-800);
  border-radius: 12px;
  padding: 10px 10px 26px;
  box-shadow: var(--shadow-shot);
}

.shot__frame img {
  width: 100%;
  display: block;
  border-radius: 6px;
}

.shot__caption {
  color: var(--text-on-dark-caption);
  font-size: 13px;
  margin-top: 10px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   8. Zielgruppe
   -------------------------------------------------------------------------- */
.audience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.audience__item {
  background: var(--surface-mint);
  border-radius: var(--radius-card);
  padding: 24px;
}

.audience__title {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--text-strong);
  font-size: 17px;
  margin: 0 0 8px;
}

.audience__text {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

/* --------------------------------------------------------------------------
   9. FAQ
   -------------------------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
}

.faq {
  background: var(--surface-white);
  border-radius: 12px;
  padding: 18px 22px;
}

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-weight: 700;
  color: var(--text-strong);
  font-size: 16px;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: 7px;
  border-right: 2px solid var(--teal-500);
  border-bottom: 2px solid var(--teal-500);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 10px;
}

.faq__answer {
  color: var(--text-body);
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.6;
}

.faq__answer a {
  color: var(--teal-500);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   10. Abschluss-CTA & Footer
   -------------------------------------------------------------------------- */
.closing {
  background: linear-gradient(135deg, #0e6b7d, #0b2f42);
  padding: 56px var(--section-pad-x) 40px;
  text-align: center;
}

.closing__title {
  font-size: 30px;
  color: var(--surface-white);
  margin: 0 0 14px;
}

.closing__lead {
  color: var(--mint-200);
  font-size: 16px;
  margin: 0 0 26px;
}

.site-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.site-footer a {
  color: var(--text-on-dark-soft);
  font-size: 13px;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   11. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1240px) {
  .page {
    border-radius: 0;
    box-shadow: none;
  }
}

@media (max-width: 900px) {
  :root {
    --section-pad-x: 40px;
    --section-pad-y: 52px;
  }

  .hero {
    padding-top: 56px;
  }

  .hero__title {
    font-size: 44px;
  }

  .hero__decor--sun {
    right: 24px;
    top: 24px;
    width: 88px;
    height: 88px;
  }

  .features,
  .audience {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  :root {
    --section-pad-x: 22px;
    --section-pad-y: 44px;
  }

  .brand {
    margin-bottom: 36px;
  }

  .hero__title {
    font-size: 34px;
  }

  .hero__lead {
    font-size: 17px;
  }

  .hero__actions {
    gap: 14px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .section__title {
    font-size: 26px;
  }

  .hero__decor--sun {
    width: 64px;
    height: 64px;
    right: 16px;
    top: 16px;
  }

  .shot {
    width: 230px;
  }
}

/* --------------------------------------------------------------------------
   12. Bewegungsreduktion & Druck
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  body {
    background: #fff;
  }

  .page {
    box-shadow: none;
  }

  .hero,
  .closing,
  .section--dark {
    background: #fff !important;
    color: #000;
  }

  .hero__title,
  .closing__title,
  .section--dark .section__title,
  .brand__name {
    color: #000;
  }

  .hero__decor {
    display: none;
  }

  /* Antworten im Druck immer ausklappen */
  .faq:not([open]) > .faq__answer {
    display: block;
  }

  .faq summary::after {
    display: none;
  }
}
