/* ── 0. Local Fonts ────────────────────────────────────── */
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/OpenSans-VariableFont_wdth_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/OpenSans-Italic-VariableFont_wdth_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ═══════════════════════════════════════════════════════════
   KI-Horizont – style.css
   Brand: adminsoft GmbH
   Navy #0f2e5a · Gold #f0a500 · Hover #c8870a
   Fonts: Montserrat (Headings) · Open Sans (Body)
═══════════════════════════════════════════════════════════ */

/* ── 1. Custom Properties ──────────────────────────────── */
:root {
  --navy:         #0f2e5a;
  --navy-dark:    #081d3c;
  --navy-mid:     #1a3d6b;
  --gold:         #f0a500;
  --gold-hover:   #c8870a;
  --gold-text:    #7a5500;  /* WCAG AA auf weiß: ~5.9:1 */
  --white:        #ffffff;
  --text:         #28251d;
  --text-muted:   #6b6860;
  --bg:           #f7f6f2;
  --bg-tint:      #eeecea;
  --border:       #d4d1ca;
  --success:      #27ae60;
  --success-text: #19693c;  /* WCAG AA auf weiß: ~7.0:1 */

  --font-head:    'Montserrat', sans-serif;
  --font-body:    'Open Sans', sans-serif;

  --radius:       8px;
  --radius-lg:    14px;
  --shadow:       0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.16);

  --container:    1160px;
  --container-narrow: 720px;
}

/* ── 2. Reset & Base ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-text); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* ── 3. Layout Helpers ─────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow {
  max-width: var(--container-narrow);
}
.text-center { text-align: center; }

/* ── 4. Typography ─────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 12px; }
h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }

.eyebrow {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 12px;
  display: block;
}
.eyebrow--dark { color: var(--navy); }
.hero .eyebrow { color: var(--gold); } /* hell auf Navy: ~6.8:1 */

.section__sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 48px;
}
.container--narrow .section__sub { margin-bottom: 32px; }

/* ── 5. Buttons ────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: var(--radius);
  text-decoration: none !important;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s, color 0.2s, border-color 0.2s;
  text-align: center;
}

.btn--gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--navy);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

/* Outline auf dunklem Hintergrund */
.section--dark .btn--outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.section--dark .btn--outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn--full  { display: block; width: 100%; }
.btn--large { padding: 20px 48px; font-size: 1.05rem; }

/* ── 6. Section Wrappers ───────────────────────────────── */
.section {
  padding: 80px 0;
}
.section--light  { background: var(--bg); }
.section--tint   { background: var(--bg-tint); }
.section--dark   {
  background: var(--navy);
  color: var(--white);
}
.section--dark h2,
.section--dark p  { color: var(--white); }

/* ── 7. Hero ───────────────────────────────────────────── */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 72px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.hero__logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: var(--radius);
  margin-bottom: 28px;
  background: var(--white);
  padding: 6px;
}

.hero__content h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  margin-bottom: 28px;
}

/* Checklist in Hero */
.checklist {
  margin-bottom: 36px;
}
.checklist li {
  padding: 6px 0 6px 28px;
  position: relative;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}
.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold-text);
  font-weight: 700;
  font-size: 1rem;
}

/* ── 8. Hero Card (Terminbox) ──────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 28px 32px;
  box-shadow: var(--shadow-lg);
  color: var(--text);
}

.card__date-label {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
}

.session-list {
  margin-bottom: 16px;
}
.session-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text);
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
}
.session-list li:last-child { border-bottom: none; }

.session-tag {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--navy);
  color: var(--white);
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.card__meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 12px 0 0;
}

.card__divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 18px 0;
}

.card__early-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.card__price {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.card__price span {
  font-size: 1rem;
  font-weight: 600;
}

.card__price-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* ── 9. Countdown ──────────────────────────────────────── */
.countdown__label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}

.countdown {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.countdown .unit {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 4px;
  text-align: center;
}

.countdown .unit span {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown .unit .label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

.countdown-expired {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  text-align: center;
}

/* ── 10. Features Grid ─────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.feature-card__icon {
  margin-bottom: 14px;
  color: var(--navy);
  line-height: 1;
}

.feature-card h3 { color: var(--navy); }
.feature-card p  { font-size: 0.9rem; color: var(--text-muted); }

/* ── 11. Sessions Grid ─────────────────────────────────── */
.sessions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.session-block {
  display: flex;
  gap: 20px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 24px;
  align-items: flex-start;
}

.session-nr {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  opacity: 0.8;
  /* decorative only – no contrast requirement */
  line-height: 1;
  min-width: 44px;
}

.session-block h3 {
  color: var(--white);
  margin-bottom: 6px;
}
.session-block p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
}

/* ── 12. Trainer Block ─────────────────────────────────── */
.trainer-block {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: center;
}

.trainer-block__img-wrap {
  position: relative;
}

.trainer-block__img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--navy);
  background: var(--bg-tint);
}

/* Placeholder wenn kein Foto vorhanden */
.trainer-block__img[src="assets/img/trainer.jpg"]:not([complete]) {
  background: var(--bg-tint);
}

.trainer-block__text h2 { color: var(--navy); margin-bottom: 16px; }
.trainer-block__text p  { margin-bottom: 14px; color: var(--text-muted); }
.trainer-block__text .btn { margin-top: 8px; }

.trainer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.trainer-credential {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trainer-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy);
  background: rgba(240,165,0,0.12);
  border: 1px solid rgba(240,165,0,0.35);
  padding: 5px 12px;
  border-radius: 20px;
}

.trainer-badge-seal__img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}

.trainer-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 48px;
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 0;
}

.trainer-stat {
  flex: 1;
  text-align: center;
  padding: 0 32px;
}

.trainer-stat__number {
  display: block;
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}

.trainer-stat__label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.trainer-stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── 13. Testimonials ──────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}

.testimonial::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.25;
  position: absolute;
  top: 8px;
  left: 20px;
  line-height: 1;
}

.testimonial__stars {
  color: var(--gold-text);
  font-size: 1rem;
  letter-spacing: 3px;
  position: absolute;
  top: 22px;
  right: 22px;
}

.testimonial__quote {
  font-size: 0.97rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 20px;
  padding-top: 24px;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial__avatar--photo {
  background: none;
  object-fit: cover;
}

.testimonial__author strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--navy);
}
.testimonial__author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── 13b. ProvenExpert Block ───────────────────────────── */
.provenexpert-block {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.provenexpert-block__badge {
  width: 200px;
  height: auto;
  transition: opacity 0.2s, transform 0.2s;
}
.provenexpert-block__badge:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.provenexpert-block__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}
.provenexpert-block__label a {
  color: var(--navy);
  text-decoration: underline;
}

/* ── 14. Pricing ───────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow 0.2s;
}

.pricing-card--highlight {
  border-color: var(--gold);
  position: relative;
  box-shadow: 0 0 0 4px rgba(240,165,0,0.12);
}

.pricing-card__tag {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 12px;
  margin-top: 0;
}

.pricing-card__price {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin: 0 0 4px 0;
  padding: 0;
}

.pricing-card__badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.pricing-card__old-price {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 2px;
}

.pricing-card__saving {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--success-text);
  margin-bottom: 20px;
}

.pricing-card__sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-card__list {
  margin-bottom: 28px;
}
.pricing-card__list li {
  padding: 7px 0 7px 22px;
  position: relative;
  font-size: 0.9rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.pricing-card__list li:last-child { border-bottom: none; }
.pricing-card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-text);
  font-weight: 700;
}

.pricing-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 28px;
}
.pricing-note a { color: var(--navy); text-decoration: underline; }
.pricing-note--highlight {
  color: var(--navy);
  font-weight: 600;
  background: rgba(240,165,0,0.10);
  border: 1px solid rgba(240,165,0,0.35);
  border-radius: 6px;
  padding: 10px 18px;
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
  color: var(--navy);
}

/* ── 15. FAQ ───────────────────────────────────────────── */
.faq-list {
  max-width: 720px;
  margin: 40px auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text);
  text-align: left;
  gap: 16px;
}
.faq-question:hover { color: var(--navy); }

.faq-icon {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--gold-text);
  transition: transform 0.25s;
  flex-shrink: 0;
  line-height: 1;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding-bottom: 20px;
  font-size: 0.93rem;
  color: var(--text-muted);
}

/* ── 16. Anmeldungs-Sektion ────────────────────────────── */
#anmeldung {
  text-align: center;
}

.cta-external-note {
  margin-top: 12px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
.cta-external-note a {
  color: rgba(255,255,255,0.5);
  text-decoration: underline;
}
.cta-external-note a:hover {
  color: rgba(255,255,255,0.8);
}

.cta-trust {
  margin-top: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}

/* ── 17. Footer ────────────────────────────────────────── */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  padding: 28px 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copy { font-size: 0.83rem; }

.footer__nav {
  display: flex;
  gap: 24px;
}
.footer__nav a {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}
.footer__nav a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* ── 18. Scroll-Animationen ────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ── 19a. Trust Bar ────────────────────────────────────── */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.trust-bar__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  flex-shrink: 0;
  box-shadow: var(--shadow);
}

.trust-bar__label {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}
.trust-bar__label strong {
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 2px;
}

/* ── 19b. EU AI Act Highlight ──────────────────────────── */
.eu-aiact-highlight {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
}

.eu-aiact-highlight__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(240,165,0,0.12);
  border: 1px solid rgba(240,165,0,0.3);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.eu-aiact-highlight p {
  font-size: 1.02rem;
  color: var(--text);
  margin-bottom: 14px;
}

.eu-aiact-highlight__sub {
  font-size: 0.87rem !important;
  color: var(--text-muted) !important;
  margin-bottom: 0 !important;
}

/* ── 19. Responsive ────────────────────────────────────── */

/* Tablet: 900px */
@media (max-width: 900px) {
  .hero__inner          { grid-template-columns: 1fr; }
  .hero__card           { max-width: 480px; }
  .features-grid        { grid-template-columns: repeat(2, 1fr); }
  .sessions-grid        { grid-template-columns: 1fr; }
  .trainer-block        { grid-template-columns: 1fr; text-align: center; }
  .trainer-block__img   { margin: 0 auto; }
  .pricing-grid         { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .testimonials-grid    { grid-template-columns: 1fr; }
}

/* Mobile: 540px */
@media (max-width: 540px) {
  .section { padding: 56px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
  .hero__inner  { gap: 36px; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
  .trust-bar__inner { flex-direction: column; text-align: center; gap: 8px; }
  .eu-aiact-highlight { padding: 24px 20px; }
  .trainer-stats { flex-direction: column; gap: 24px; padding: 28px 24px; }
  .trainer-stat-divider { width: 48px; height: 1px; }
  .trainer-stat { padding: 0; }
}
