/* ============================================================
   TSS Akademie für Pflege und Soziales – Stylesheet
   Farben: Primär #2B3F5C (Dunkelblau), Akzent #4A90D9 (Hellblau),
           Weiß #FFFFFF, Hellgrau #F5F7FA, Textgrau #333333
   ============================================================ */

/* ---- CSS-Variablen ---- */
:root {
  --primary:        #2B3F5C;
  --primary-dark:   #1e2e44;
  --accent:         #4A90D9;
  --accent-light:   #6aaee8;
  --white:          #ffffff;
  --light-bg:       #F5F7FA;
  --border:         #e0e6ef;
  --text:           #333333;
  --text-light:     #666666;
  --success:        #2e7d32;
  --warning:        #e65100;
  --font-main:      'Inter', 'Segoe UI', Arial, sans-serif;
  --radius:         8px;
  --radius-lg:      16px;
  --shadow:         0 2px 16px rgba(43,63,92,0.10);
  --shadow-hover:   0 6px 28px rgba(43,63,92,0.18);
  --transition:     all 0.25s ease;
}

/* ---- Reset & Basis ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary);
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.5rem;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

p {
  margin-bottom: 1rem;
  color: var(--text);
}

ul {
  list-style: none;
}

/* SVG-Icons allgemein: korrekte Ausrichtung */
svg {
  vertical-align: middle;
  flex-shrink: 0;
}

/* ---- Hilfsklassen ---- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.text-center {
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
}

section {
  padding: 5rem 0;
}

section:nth-child(even) {
  background: var(--light-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 1rem auto 1.5rem;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(43,63,92,0.10);
  transition: var(--transition);
}

#navbar.scrolled {
  box-shadow: 0 4px 20px rgba(43,63,92,0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  background: rgba(74,144,217,0.08);
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 0.45rem 1rem !important;
}

.nav-cta:hover {
  background: var(--accent-light) !important;
}

/* Burger-Menü */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  border: none;
  background: none;
  z-index: 1100;
}

.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
@media (max-width: 900px) {
  .burger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0.5rem;
    box-shadow: -4px 0 24px rgba(43,63,92,0.15);
    transition: right 0.3s ease;
    overflow-y: auto;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1rem;
    width: 100%;
    padding: 0.65rem 1rem;
  }
}

/* ============================================================
   HERO-BEREICH
   ============================================================ */
#start {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
  background: var(--primary-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-nurses.jpg');
  background-size: cover;
  background-position: center top;
  opacity: 0.22;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-dark) 40%, rgba(43,63,92,0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 8rem 0 5rem;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(74,144,217,0.2);
  border: 1px solid rgba(74,144,217,0.4);
  color: #a8cfee;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.15;
}

.hero-claim {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: #a8cfee;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.hero-text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: left;
}

.hero-stat .stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.hero-stat .stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.25rem;
}

/* ============================================================
   ÜBER UNS
   ============================================================ */
#ueber-uns .about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

#ueber-uns .about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

#ueber-uns .about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-text h2 {
  text-align: left;
}

.about-text .section-divider {
  margin-left: 0;
}

.values-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
  box-shadow: 0 1px 6px rgba(43,63,92,0.06);
}

.value-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.value-item strong {
  display: block;
  color: var(--primary);
  font-size: 0.95rem;
}

.value-item span {
  font-size: 0.87rem;
  color: var(--text-light);
}

/* ============================================================
   ZIELGRUPPEN
   ============================================================ */
#zielgruppen {
  background: var(--primary);
  color: var(--white);
  padding: 5rem 0;
}

#zielgruppen .section-header h2 {
  color: var(--white);
}

#zielgruppen .section-divider {
  background: rgba(255,255,255,0.4);
}

#zielgruppen .section-intro {
  color: rgba(255,255,255,0.75);
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.target-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.target-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

.target-card .card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.target-card h3 {
  color: var(--white);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.target-card p {
  color: rgba(255,255,255,0.75);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ============================================================
   FORTBILDUNGEN (KACHELN)
   ============================================================ */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.course-card .course-icon {
  width: 52px;
  height: 52px;
  background: rgba(74,144,217,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.course-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.course-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.course-card .btn {
  font-size: 0.85rem;
  padding: 0.55rem 1.25rem;
  align-self: flex-start;
}

/* Hervorgehobene Kurse */
.course-card.featured {
  border-color: var(--accent);
  border-width: 2px;
  position: relative;
}

.course-card.featured::before {
  content: "Empfohlen";
  position: absolute;
  top: -1px;
  right: 1.25rem;
  background: var(--accent);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 0 0 var(--radius) var(--radius);
}

/* ============================================================
   KURSLISTE (ersetzt den Kalender)
   Neue Kurse als <div class="kurs-item"> in index.html ergänzen.
   ============================================================ */
#kursliste {
  background: var(--light-bg);
}

.kurs-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

/* HINWEIS: Neue Fortbildung als <div class="kurs-item"> in index.html ergänzen */
.kurs-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 1.5rem;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.kurs-item:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.kurs-item.kurs-featured {
  border-color: var(--accent);
  border-width: 2px;
}

.kurs-icon {
  width: 52px;
  height: 52px;
  background: rgba(74,144,217,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.kurs-item.kurs-featured .kurs-icon {
  background: rgba(74,144,217,0.15);
}

.kurs-body {
  flex: 1;
  min-width: 0;
}

.kurs-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}

.kurs-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
}

.kurs-format {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(74,144,217,0.1);
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
}

.kurs-body h3 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.kurs-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  line-height: 1.65;
}

.kurs-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.82rem;
  color: var(--text-light);
}

.kurs-details span strong {
  color: var(--primary);
}

.kurs-action {
  display: flex;
  align-items: flex-start;
  padding-top: 0.25rem;
  flex-shrink: 0;
}

.kurs-hinweis {
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

/* SVG-Icons in Kacheln und Werte-Bereichen */
.course-icon svg,
.card-icon svg,
.ethics-icon svg,
.value-icon svg,
.badge-icon svg,
.ci-icon svg {
  display: block;
}

.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(74,144,217,0.1);
  border-radius: var(--radius);
  flex-shrink: 0;
  color: var(--accent);
}

.ci-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge-online {
  background: rgba(74,144,217,0.12);
  color: var(--accent);
}

.badge-praesenz {
  display: none; /* Präsenz-Kurse werden nicht mehr angeboten */
}

.badge-frei {
  background: rgba(46,125,50,0.12);
  color: var(--success);
}

.badge-warteliste {
  background: rgba(230,81,0,0.12);
  color: var(--warning);
}

.badge-ausgebucht {
  background: rgba(100,100,100,0.1);
  color: #666;
}

.btn-anmelden {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 0.45rem 1rem;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-anmelden:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

.btn-anmelden:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

/* ============================================================
   QUALITÄT & KOOPERATIONEN
   ============================================================ */
.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.quality-text h3 {
  margin-bottom: 1rem;
}

.quality-text p {
  color: var(--text-light);
}

.quality-badges {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quality-badge {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.quality-badge:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.quality-badge .badge-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: rgba(74,144,217,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quality-badge h4 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: var(--primary);
}

.quality-badge p {
  font-size: 0.87rem;
  color: var(--text-light);
  margin-bottom: 0;
}

.partners-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.partner-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
  box-shadow: 0 1px 4px rgba(43,63,92,0.06);
}

/* ============================================================
   ETHIK & LEITBILD
   ============================================================ */
#ethik {
  background: var(--primary);
  color: var(--white);
}

#ethik .section-header h2 {
  color: var(--white);
}

#ethik .section-divider {
  background: rgba(255,255,255,0.35);
}

#ethik .section-intro {
  color: rgba(255,255,255,0.75);
}

.ethics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

.ethics-item {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  transition: var(--transition);
}

.ethics-item:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-3px);
}

.ethics-item .ethics-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.ethics-item h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.ethics-item p {
  color: rgba(255,255,255,0.7);
  font-size: 0.87rem;
  margin-bottom: 0;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(43,63,92,0.05);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--primary);
  gap: 1rem;
  transition: background 0.15s;
}

.faq-question:hover {
  background: rgba(74,144,217,0.04);
}

.faq-question.open {
  color: var(--accent);
}

.faq-icon {
  font-size: 1.2rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.25s;
  color: var(--accent);
}

.faq-question.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.75;
  border-top: 1px solid var(--border);
}

.faq-answer.open {
  display: block;
}

/* ============================================================
   KONTAKT & ANMELDUNG
   ============================================================ */
#kontakt {
  background: var(--light-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info h3 {
  margin-bottom: 1.25rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.contact-detail .ci-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 0.1rem;
}

.contact-detail .ci-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  display: block;
  margin-bottom: 0.15rem;
}

.contact-detail .ci-value {
  font-size: 0.95rem;
  color: var(--text);
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-form-card h3 {
  margin-bottom: 1.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.form-group label .required {
  color: var(--accent);
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 0.93rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(74,144,217,0.12);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e53935;
}

.form-group .error-msg {
  font-size: 0.8rem;
  color: #e53935;
  margin-top: 0.3rem;
  display: none;
}

.form-group .error-msg.visible {
  display: block;
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-privacy {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.form-privacy a {
  color: var(--accent);
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--success);
}

.form-success .success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(46,125,50,0.1);
  border-radius: 50%;
  margin: 0 auto 1rem;
  color: var(--success);
}

/* ============================================================
   regBP-BADGE
   ============================================================ */
.regbp-badge {
  border-left: 3px solid #1a6b3c;
  background: rgba(26, 107, 60, 0.04);
}

.regbp-icon {
  color: #1a6b3c;
}

.regbp-label {
  display: inline-block;
  background: #1a6b3c;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.4rem;
}

/* ============================================================
   BARRIEREFREIHEIT-SEKTION
   ============================================================ */
.barrierefreiheit-section {
  background: var(--light-bg);
}

.barrierefreiheit-content {
  max-width: 720px;
  margin: 0 auto;
}

.barrierefreiheit-list {
  list-style: none;
  margin: 1rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.barrierefreiheit-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
  font-size: 0.95rem;
  color: var(--text);
}

.barrierefreiheit-list li svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--accent);
}

/* ============================================================
   FOOTER DATENSCHUTZ-HINWEIS
   ============================================================ */
.footer-privacy-note {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  padding: 1rem 0 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 1.5rem;
}

/* ============================================================
   FAQ INNERE LISTE
   ============================================================ */
.faq-list-inner {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0.5rem 0 0.75rem;
  color: var(--text);
}

.faq-list-inner li {
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

/* Sichtbare Fokusmarkierungen für Tastaturnavigation (Barrierefreiheit) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ============================================================
   KURS-VORAUSSETZUNG & HERO-STAT-NOTE
   ============================================================ */
.kurs-voraussetzung,
.course-prereq {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
  margin: 0.4rem 0 0.75rem;
  padding: 0.35rem 0.7rem;
  background: rgba(43, 63, 92, 0.06);
  border-left: 3px solid var(--primary);
  border-radius: 0 4px 4px 0;
}

.stat-note {
  display: block;
  font-size: 0.65em;
  font-weight: 400;
  opacity: 0.82;
  margin-top: 0.3rem;
  line-height: 1.3;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand img {
  height: 56px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  opacity: 1;
}

.footer-brand p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 0;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col ul li a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom-links a:hover {
  color: var(--white);
}

/* ============================================================
   IMPRESSUM & DATENSCHUTZ (Modal)
   ============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 760px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
}

.modal-box h2 {
  margin-bottom: 0.5rem;
}

.modal-box .placeholder-notice {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: #856404;
  margin-bottom: 1.5rem;
}

.modal-box h3 {
  font-size: 1rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--primary);
}

.modal-box p, .modal-box li {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  line-height: 1;
  padding: 0.25rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--light-bg);
  color: var(--primary);
}

/* ============================================================
   SCROLL-TO-TOP BUTTON
   ============================================================ */
#scrollTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

#scrollTop.visible {
  opacity: 1;
  pointer-events: auto;
}

#scrollTop:hover {
  background: var(--accent-light);
  transform: translateY(-3px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .quality-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .kurs-item {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .kurs-icon {
    display: none;
  }

  .kurs-action {
    padding-top: 0;
  }

  section {
    padding: 3.5rem 0;
  }

  #ueber-uns .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .target-grid {
    grid-template-columns: 1fr;
  }

  .ethics-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .kurs-details {
    flex-direction: column;
    gap: 0.25rem;
  }

  .ethics-grid {
    grid-template-columns: 1fr;
  }

  .courses-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .contact-form-card {
    padding: 1.5rem;
  }
}

/* ============================================================
   SKIP-NAVIGATION (Barrierefreiheit WCAG 2.4.1)
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--accent);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

/* ============================================================
   TESTIMONIALS / STIMMEN AUS DEM KURS
   ============================================================ */
.stimmen-section {
  background: var(--light-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--accent);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 0.75rem;
  right: 1.25rem;
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.15;
  font-family: Georgia, serif;
}

.testimonial-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
  margin: 0 0 1.25rem;
}

.testimonial-card footer {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background: none;
  padding: 0;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
}

.testimonial-course {
  font-size: 0.78rem;
  color: var(--text-light);
}

@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   IMPRESSUM & DATENSCHUTZ (.legal-section)
   ============================================================ */
.legal-section {
  background: var(--white);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin: 2rem 0 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}

.legal-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin: 1.25rem 0 0.4rem;
}

.legal-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--primary);
}
