/* ============================================
   GPM Basiszertifikat – Projektmanagement im Osten
   stylesheet
   ============================================ */

/* ── Self-hosted Fonts ─────────────────────── */
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/PlusJakartaSans-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 900;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/PlusJakartaSans-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 900;
  font-display: swap;
  font-style: italic;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
  font-style: italic;
}

/* ── Custom Properties ─────────────────────── */
:root {
  /* ── Brand palette ────────────────────────── */
  --c-primary:      #005C99;   /* Savayu Blue — actions, links */
  --c-primary-dk:   #004070;   /* hover / pressed */
  --c-accent:       #4DACD9;   /* Light blue — icons, highlights */
  --c-accent-lt:    #7DC8EF;   /* lighter blue */
  --c-dark:         #00213D;   /* deep navy — dark sections, hero overlay */
  --c-navy:         #0D1B2A;   /* near-black body bg */
  --c-white:        #FFFFFF;
  --c-bg:           #FFFFFF;
  --c-bg-alt:       #F4F8FC;   /* blue-tinted off-white */
  --c-text:         #0D1B2A;
  --c-muted:        #4A6070;
  --c-border:       #C5D5E8;

  --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;

  --shadow-sm:  0 2px 8px  rgba(0,33,61,.07);
  --shadow-md:  0 8px 32px rgba(0,33,61,.11);
  --shadow-lg:  0 20px 60px rgba(0,33,61,.16);

  --nav-h: 72px;
  --section-py: 96px;
  --container: 1200px;

  --ease-out: cubic-bezier(.22,1,.36,1);
}

/* ── Reset ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Utilities ─────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 40px);
}
.section { padding-block: var(--section-py); }
.section--alt { background: var(--c-bg-lt); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-accent);
  background: rgba(38,166,154,.1);
  border: 1px solid rgba(38,166,154,.25);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.section-head { text-align: center; margin-bottom: 3.5rem; }
.section-head h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--c-dark);
  line-height: 1.2;
  margin-bottom: .75rem;
}
.section-head p {
  font-size: 1.05rem;
  color: var(--c-muted);
  max-width: 600px;
  margin-inline: auto;
}

/* ── Buttons ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--c-accent);
  color: var(--c-white);
  box-shadow: 0 4px 20px rgba(77,172,217,.35);
}
.btn--primary:hover { background: #3A96CC; box-shadow: 0 8px 30px rgba(77,172,217,.50); }
.btn--outline {
  background: transparent;
  color: var(--c-white);
  border: 2px solid rgba(255,255,255,.55);
}
.btn--outline:hover { background: rgba(255,255,255,.1); border-color: var(--c-white); }
.btn--accent {
  background: var(--c-accent);
  color: var(--c-white);
  box-shadow: 0 4px 20px rgba(77,172,217,.30);
}
.btn--accent:hover { box-shadow: 0 8px 30px rgba(77,172,217,.45); }
.btn--lg { padding: 18px 36px; font-size: 1rem; }

/* ── Navigation ────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .3s, box-shadow .3s;
}
#navbar.scrolled {
  background: var(--c-white);
  box-shadow: 0 1px 0 var(--c-border), 0 4px 24px rgba(0,33,61,.08);
}
#navbar.scrolled .nav-logo-text { color: var(--c-dark); }
#navbar.scrolled .nav-link { color: var(--c-text); }
#navbar.scrolled .nav-link:hover { color: var(--c-primary); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo img { height: 36px; width: auto; }
.nav-logo-text {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--c-white);
  transition: color .3s;
  line-height: 1.1;
}
.nav-logo-text span { display: block; font-size: .75rem; font-weight: 500; opacity: .8; letter-spacing: .04em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,.88);
  transition: color .2s;
}
.nav-link:hover { color: var(--c-white); }

.nav-cta {
  background: var(--c-accent);
  color: var(--c-white) !important;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: .85rem;
}
.nav-cta:hover { background: var(--c-accent-lt) !important; }

#navbar.scrolled .nav-cta { color: var(--c-white) !important; }

/* Mobile menu hidden by default on all viewports */
.nav-mobile { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
#navbar.scrolled .hamburger span { background: var(--c-dark); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ──────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -10% 0;
  background-image: url('../herounit.jpg');
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,40,80,.88) 0%,
    rgba(0,61,102,.75) 50%,
    rgba(0,92,153,.60) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 80px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 999px;
}
.hero-badge svg { width: 14px; height: 14px; flex-shrink: 0; }

#hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 900;
  color: var(--c-white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  max-width: 820px;
}
#hero h1 em {
  font-style: normal;
  color: var(--c-accent-lt);
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,.82);
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.55);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  z-index: 1;
  animation: bounce 2s infinite;
}
.hero-scroll svg { width: 20px; height: 20px; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── What is GPM ───────────────────────────── */
#was-ist-gpm .intro-text {
  font-size: 1.15rem;
  color: var(--c-muted);
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 3rem;
  line-height: 1.7;
}
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--c-accent), var(--c-primary));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.feature-icon svg { width: 26px; height: 26px; color: white; }
.feature-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: .5rem;
}
.feature-card p { font-size: .9rem; color: var(--c-muted); }

/* ── Kursaufbau (Timeline Stepper) ─────────── */
#kursaufbau { background: var(--c-dark); }
#kursaufbau .section-head h2,
#kursaufbau .section-head p { color: rgba(255,255,255,.9); }
#kursaufbau .section-head p { color: rgba(255,255,255,.6); }

.stepper {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
  margin-top: 1rem;
}
.stepper::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(10% + 28px);
  right: calc(10% + 28px);
  height: 2px;
  background: linear-gradient(to right, var(--c-accent), var(--c-accent-lt));
  z-index: 0;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: .8rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  background: var(--c-accent);
  color: var(--c-white);
  border: 3px solid var(--c-dark);
  box-shadow: 0 0 0 3px var(--c-accent);
}
.step-num svg { width: 26px; height: 26px; stroke: white; }
.step:last-child .step-num {
  background: linear-gradient(135deg, #FFD700, #FFA000);
  box-shadow: 0 0 0 3px #FFD700;
}
.step:last-child .step-num svg { stroke: #00213D; }
.step-label {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  color: var(--c-accent-lt);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .4rem;
}
.step h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: var(--c-white);
  margin-bottom: .5rem;
  line-height: 1.3;
}
.step p { font-size: .82rem; color: rgba(255,255,255,.6); line-height: 1.5; }

/* ── Lernziele ─────────────────────────────── */
.competency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.competency-card {
  background: var(--c-white);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  border-top: 4px solid var(--c-accent);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.competency-card:nth-child(2) { border-top-color: var(--c-primary); }
.competency-card:nth-child(3) { border-top-color: var(--c-navy); }
.competency-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.competency-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--c-accent), var(--c-primary));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.competency-icon svg { width: 24px; height: 24px; color: white; }
.competency-card:nth-child(2) .competency-icon { background: linear-gradient(135deg, var(--c-primary), var(--c-dark)); }
.competency-card:nth-child(3) .competency-icon { background: linear-gradient(135deg, var(--c-dark), #001530); }
.competency-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--c-dark);
  margin-bottom: 1.25rem;
}
.competency-card ul { display: flex; flex-direction: column; gap: 10px; }
.competency-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--c-muted);
  line-height: 1.5;
}
.competency-card li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
  flex-shrink: 0;
  margin-top: 7px;
}
.competency-card:nth-child(2) li::before { background: var(--c-primary); }
.competency-card:nth-child(3) li::before { background: var(--c-navy); }

/* ── Zielgruppen ───────────────────────────── */
#zielgruppen { background: var(--c-dark); }
#zielgruppen .section-head h2 { color: var(--c-white); }
#zielgruppen .section-head p { color: rgba(255,255,255,.65); }
#zielgruppen .tag { color: var(--c-accent-lt); background: rgba(77,172,217,.15); border-color: rgba(77,172,217,.30); }
#kursaufbau .tag { color: var(--c-accent-lt); background: rgba(77,172,217,.15); border-color: rgba(77,172,217,.30); }
#anmeldung .tag { color: var(--c-accent-lt); background: rgba(77,172,217,.15); border-color: rgba(77,172,217,.30); }

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.audience-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: background .25s, transform .3s var(--ease-out);
}
.audience-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.audience-icon-wrap {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--c-accent), var(--c-primary));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.audience-icon-wrap svg { width: 24px; height: 24px; color: white; }
.audience-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: .4rem;
}
.audience-card p { font-size: .875rem; color: rgba(255,255,255,.6); line-height: 1.55; }

/* ── Audience photo cards ───────────────────── */
.audience-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.audience-photo-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.audience-photo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.audience-photo {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.audience-photo svg { width: 100%; height: 100%; }
.audience-photo-body { padding: 1.5rem; }
.audience-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--c-accent-lt);
  background: rgba(77,172,217,.15);
  border: 1px solid rgba(77,172,217,.3);
  border-radius: 100px;
  padding: .2em .75em;
  margin-bottom: .75rem;
}
.audience-photo-body h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: .5rem;
  line-height: 1.35;
}
.audience-photo-body p { font-size: .875rem; color: rgba(255,255,255,.6); line-height: 1.55; }
@media (max-width: 640px) {
  .audience-photo-grid { grid-template-columns: 1fr; }
}

/* ── Standorte pills (non-interactive) ───────── */
.standorte-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.standort-pill {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 600;
  color: var(--c-primary);
  background: var(--c-bg);
  border: 1.5px solid var(--c-border);
  border-radius: 100px;
  padding: .4em 1.1em;
  user-select: none;
}

/* ── Schedule card footer ────────────────────── */
.schedule-card-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--c-border);
}

/* ── Stats Bar ─────────────────────────────── */
.stats-bar {
  background: var(--c-dark);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.2);
  padding: 8px 20px;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--c-white);
  line-height: 1;
  margin-bottom: .35rem;
}
.stat-label {
  font-size: .85rem;
  color: rgba(255,255,255,.8);
  font-weight: 500;
}

/* ── Termine & Orte ────────────────────────── */
.location-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.loc-tab {
  padding: 9px 22px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: .88rem;
  font-weight: 700;
  border: 2px solid var(--c-border);
  color: var(--c-muted);
  background: var(--c-white);
  transition: all .2s;
  cursor: pointer;
}
.loc-tab:hover,
.loc-tab.active {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: var(--c-white);
  box-shadow: 0 4px 16px rgba(0,92,153,.25);
}

.location-note {
  text-align: center;
  background: rgba(0,92,153,.06);
  border: 1px solid rgba(0,92,153,.18);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-size: .88rem;
  color: var(--c-primary);
  font-weight: 600;
  margin-bottom: 2rem;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 960px;
  margin-inline: auto;
}
.schedule-card {
  background: var(--c-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.schedule-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.schedule-card-head {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.schedule-card:nth-child(1) .schedule-card-head { background: linear-gradient(135deg, #0070BB, #4DACD9); }
.schedule-card:nth-child(2) .schedule-card-head { background: linear-gradient(135deg, #005C99, #0070BB); }
.schedule-card:nth-child(3) .schedule-card-head { background: linear-gradient(135deg, #00213D, #004070); }
.schedule-card-head h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--c-white);
}
.schedule-badge {
  background: rgba(255,255,255,.2);
  color: var(--c-white);
  font-size: .75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.schedule-body { padding: 1.25rem 1.5rem; }
.schedule-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--c-bg-lt);
}
.schedule-row:last-child { border-bottom: none; }
.schedule-module {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  color: var(--c-primary);
  background: rgba(0,92,153,.08);
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  min-width: 52px;
  text-align: center;
  flex-shrink: 0;
}
.schedule-dates { font-size: .85rem; color: var(--c-text); line-height: 1.45; }
.schedule-dates strong { display: block; font-weight: 600; }
.schedule-dates small { color: var(--c-muted); font-size: .78rem; }
.schedule-pruefung {
  margin-top: 1rem;
  padding: .875rem 1rem;
  background: #FFF8E1;
  border-left: 3px solid #FFB300;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .82rem;
}
.schedule-pruefung strong { color: #E65100; display: block; font-family: var(--font-head); margin-bottom: 2px; }
.schedule-pruefung span { color: var(--c-muted); }
.schedule-footnote {
  text-align: center;
  margin-top: 1.75rem;
  font-size: .85rem;
  color: var(--c-muted);
}
.schedule-footnote a { color: var(--c-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ── Preis ─────────────────────────────────── */
#preis { background: var(--c-bg-lt); }
.pricing-wrapper {
  display: flex;
  justify-content: center;
}
.pricing-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 560px;
  width: 100%;
  border: 1px solid var(--c-border);
}
.pricing-head {
  background: linear-gradient(135deg, var(--c-dark), var(--c-primary));
  padding: 2.5rem;
  text-align: center;
}
.pricing-head h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,.75);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}
.price-amount {
  font-family: var(--font-head);
  font-size: 4rem;
  font-weight: 900;
  color: var(--c-white);
  line-height: 1;
}
.price-amount sup { font-size: 1.5rem; vertical-align: super; }
.price-tax { font-size: .85rem; color: rgba(255,255,255,.65); margin-top: .5rem; }
.pricing-body { padding: 2.25rem 2.5rem; }
.pricing-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 2rem; }
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .95rem;
  color: var(--c-text);
}
.check-icon {
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--c-accent), var(--c-primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.check-icon svg { width: 12px; height: 12px; color: white; }
.pricing-cta { width: 100%; justify-content: center; }
.pricing-note {
  text-align: center;
  margin-top: 1rem;
  font-size: .83rem;
  color: var(--c-muted);
}
.pricing-group-note {
  text-align: center;
  margin-top: 2rem;
  padding: 1.25rem;
  background: rgba(0,92,153,.06);
  border: 1px solid rgba(0,92,153,.14);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: var(--c-primary);
  font-weight: 600;
}

/* ── FAQ ───────────────────────────────────── */
.faq-list { max-width: 800px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-dark);
  background: none;
  transition: color .2s;
}
.faq-q:hover { color: var(--c-primary); }
.faq-q[aria-expanded="true"] { color: var(--c-primary); }
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-bg-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s, transform .3s var(--ease-out);
}
.faq-q[aria-expanded="true"] .faq-icon {
  background: var(--c-primary);
  transform: rotate(45deg);
}
.faq-icon svg { width: 14px; height: 14px; color: var(--c-primary); }
.faq-q[aria-expanded="true"] .faq-icon svg { color: white; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease-out), padding .3s;
}
.faq-a.open { max-height: 600px; }
.faq-a-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: .95rem;
  color: var(--c-muted);
  line-height: 1.75;
  border-top: 1px solid var(--c-bg-lt);
  padding-top: 1rem;
}

/* ── Anmeldeformular ───────────────────────── */
#anmeldung { background: var(--c-dark); }
#anmeldung .section-head h2 { color: var(--c-white); }
#anmeldung .section-head p { color: rgba(255,255,255,.65); }
#anmeldung .tag { color: var(--c-accent-lt); background: rgba(77,172,217,.12); border-color: rgba(77,172,217,.25); }

.form-card {
  max-width: 760px;
  margin-inline: auto;
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: var(--shadow-lg);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-col-full { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  color: var(--c-dark);
  letter-spacing: .02em;
}
.form-group label .req { color: var(--c-accent); margin-left: 2px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--c-text);
  background: var(--c-white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A7070' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(38,166,154,.15);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: #e53935; }
.field-error {
  font-size: .78rem;
  color: #e53935;
  font-weight: 600;
  display: none;
}
.field-error.visible { display: block; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}
/* Hide native checkbox but keep it accessible */
.form-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  border: 2px solid var(--c-border);
  border-radius: 5px;
  background: var(--c-white);
  cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}
.form-check input[type="checkbox"]:hover {
  border-color: var(--c-primary);
}
.form-check input[type="checkbox"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 92, 153, 0.2);
  border-color: var(--c-primary);
}
.form-check input[type="checkbox"]:checked {
  background-color: var(--c-primary);
  border-color: var(--c-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='M1.5 5l3 3 6-7' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.form-check input[type="checkbox"].error {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.15);
}
.form-check-label {
  font-size: .85rem;
  color: var(--c-muted);
  line-height: 1.55;
}
.form-check-label a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }

.form-submit { width: 100%; justify-content: center; margin-top: .5rem; }
.form-honeypot { display: none !important; }

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}
.form-success.visible { display: block; }
.success-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--c-accent), var(--c-primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.success-icon svg { width: 30px; height: 30px; color: white; }
.form-success h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-dark);
  margin-bottom: .75rem;
}
.form-success p { color: var(--c-muted); font-size: 1rem; }

/* ── Footer ────────────────────────────────── */
#footer {
  background: #071E1E;
  padding: 60px 0 32px;
  color: rgba(255,255,255,.7);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 32px;
}
.footer-brand .nav-logo-text { color: var(--c-white); margin-bottom: 1rem; }
.footer-brand p {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  max-width: 280px;
  margin-bottom: 1.25rem;
}
.footer-partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(38,166,154,.15);
  border: 1px solid rgba(38,166,154,.3);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--c-accent-lt);
}
.footer-col h4 {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  color: var(--c-white);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.footer-col a:hover { color: var(--c-accent-lt); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.4); }

/* ── Print ─────────────────────────────────── */
@media print {
  #navbar, .hero-scroll, #anmeldung { display: none; }
  .section { padding-block: 40px; }
  body { font-size: 12pt; }
}

/* ── Responsive ────────────────────────────── */
@media (max-width: 1024px) {
  .stepper { flex-wrap: wrap; gap: 40px; }
  .stepper::before { display: none; }
  .step { flex: 0 0 calc(50% - 20px); }
  .schedule-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.2); }
  .stat-item:nth-child(even), .stat-item:last-child { border-bottom: none; }
}

@media (max-width: 768px) {
  :root { --section-py: 64px; }
  .feature-cards { grid-template-columns: 1fr; gap: 16px; }
  .competency-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-col-full { grid-column: 1; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  #partner .container > div { grid-template-columns: 1fr !important; gap: 40px !important; }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  .nav-mobile {
    display: flex;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: var(--c-white);
    z-index: 999;
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    transform: translateX(100%);
    transition: transform .35s var(--ease-out);
  }
  .nav-mobile.open { transform: translateX(0); }
  .nav-mobile .nav-link {
    font-size: 1.1rem;
    color: var(--c-text);
    padding: .75rem 0;
    border-bottom: 1px solid var(--c-bg-lt);
  }
  .nav-mobile .nav-cta {
    background: var(--c-accent);
    color: var(--c-white) !important;
    text-align: center;
    padding: 14px;
    border-radius: var(--radius-xl);
    margin-top: .5rem;
  }

  .step { flex: 0 0 100%; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  #hero h1 { font-size: 1.9rem; }
  .pricing-card { border-radius: var(--radius-md); }
  .form-card { border-radius: var(--radius-md); }
}

/* ── Reduced motion ────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-aos] { opacity: 1 !important; transform: none !important; }
}
