@font-face {
  font-family: 'seepferdchen';
  src: url('seepferdchen.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'AddJazz';
  src: url('/fonts/AddJazz.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #1f5f99;
  --blue-dark: #143f66;
  --blue-darker: #102f4d;
  --bg: #f4f7fb;
  --white: #ffffff;
  --orange: #f3a126;
  --orange-hover: #ffb84e;
  --text: #1f2d3a;
  --muted: #5f7081;
  --shadow: 0 10px 24px rgba(20, 63, 102, 0.08);
  --nav-shadow: 0 10px 24px rgba(16, 47, 77, 0.08);
  --card-radius: 24px;
  --page-max: 1280px;
  --content-pad: 24px;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

* {
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--blue-dark);
  color: var(--text);
  -webkit-text-size-adjust: 100%;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.site-header,
.nav-bar,
.content,
.footer {
  position: relative;
  z-index: 1;
}

.floating-mascots {
  position: absolute;
  left: 0;
  right: 0;
  top: 340px;
  bottom: 260px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-mascot {
  position: absolute;
  opacity: 0.95;
  filter: drop-shadow(0 10px 18px rgba(20, 63, 102, 0.16));
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
}

.content {
  flex: 1 0 auto;
  width: min(var(--page-max), calc(100% - 24px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.section {
  margin-top: 28px;
}

.section:first-child {
  margin-top: 0;
}

.section-head,
.faq-hero,
.contact-hero,
.faq-cta {
  text-align: center;
}

.section-head {
  margin-bottom: 18px;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  color: var(--blue-darker);
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.15;
  text-wrap: balance;
}

.section-lead {
  max-width: 920px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.card {
  background: var(--white);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow);
  padding: 28px;
  border: 1px solid rgba(16, 47, 77, 0.08);
}

/* ================= HEADER ================= */

.site-header {
  overflow: hidden;
  color: white;
  background: url('https://www.seepferdchenschwimmschule.de/grafik/back53.jpg') center/cover no-repeat;
  display: block;
  min-height: 250px;
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(31,95,153,0.88), rgba(31,95,153,0.68));
  z-index: 1;
}

.header-inner {
  position: relative;
  z-index: 2;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 34px 20px 74px;
  text-align: center;
}

.brand-title {
  margin: 0;
  font-family: 'seepferdchen', 'AddJazz', Arial, sans-serif;
  font-size: clamp(40px, 8vw, 82px);
  line-height: 1.05;
  text-wrap: balance;
}

.brand-claim {
  max-width: 820px;
  margin: 14px auto 0;
  color: rgba(255,255,255,0.92);
  font-size: clamp(14px, 2.5vw, 18px);
  line-height: 1.5;
}

.header-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 110px;
  z-index: 2;
  display: block;
}

/* ================= NAVIGATION ================= */

.nav-bar {
  z-index: 5;
  margin-top: -8px;
  padding: 12px 0 10px;
  background: transparent;
}

.nav-inner {
  width: min(var(--page-max), calc(100% - 24px));
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-shell {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(16, 47, 77, 0.08);
  border-radius: 999px;
  box-shadow: var(--nav-shadow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  position: relative;
  color: var(--blue-darker);
  font-size: 15px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 999px;
  transition: 0.2s ease;
}

.main-nav a:hover {
  background: rgba(31,95,153,0.08);
  color: var(--blue);
}

.main-nav a.is-active {
  background: rgba(31,95,153,0.12);
  color: var(--blue);
  box-shadow: inset 0 0 0 1px rgba(31,95,153,0.08);
}

.nav-divider {
  width: 1px;
  height: 28px;
  background: rgba(16, 47, 77, 0.10);
  margin: 0 2px;
  flex: 0 0 auto;
}

.nav-cta,
.btn-primary,
.btn-secondary,
.kurs-button,
.warenkorb-button,
.checkout-button,
.modal-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.nav-cta,
.btn-primary {
  background: var(--orange);
  color: #10263d !important;
  box-shadow: 0 10px 22px rgba(243, 161, 38, 0.24);
}

.nav-cta {
  order: -1;
  padding: 12px 18px;
}

.btn-primary {
  padding: 14px 22px;
  border: 0;
  cursor: pointer;
}

.nav-cta:hover,
.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  padding: 14px 22px;
  background: white;
  color: var(--blue-darker);
  border: 1px solid rgba(16, 47, 77, 0.10);
  box-shadow: var(--shadow);
}

.btn-secondary:hover {
  background: #f8fbff;
  transform: translateY(-1px);
}

/* ================= COMMON HERO / CARDS ================= */

.hero-grid,
.intro-grid,
.contact-grid,
.apply-grid {
  display: grid;
  gap: 24px;
  align-items: stretch;
}

.hero-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

.intro-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

.contact-grid {
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
}

.apply-grid {
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
  align-items: start;
}

.hero-main,
.intro-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-main h1,
.intro-main h1,
.contact-main h2 {
  margin: 0;
  color: var(--blue-darker);
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.06;
  text-wrap: balance;
}

.intro-main h1 {
  margin-top: 8px;
  font-size: clamp(32px, 5vw, 52px);
}

.hero-main p,
.intro-main p,
.contact-main p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  max-width: 920px;
}

.hero-points,
.contact-points,
.job-list,
.course-highlights {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero-points li,
.contact-points li,
.job-list li,
.course-highlights li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-weight: 700;
  line-height: 1.6;
}

.hero-points li::before,
.contact-points li::before,
.job-list li::before,
.course-highlights li::before {
  content: '•';
  position: absolute;
  left: 8px;
  top: -1px;
  color: var(--orange);
  font-size: 22px;
  line-height: 1;
}

.hero-actions,
.contact-actions,
.course-actions,
.checkout-actions,
.modal-actions,
.faq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-side,
.intro-side {
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100%;
}

.hero-side {
  background: linear-gradient(180deg, rgba(31,95,153,0.06), rgba(31,95,153,0.02)), url('https://www.seepferdchenschwimmschule.de/grafik/hbwds1_lq') center top / cover no-repeat;
}

.intro-side {
  background: linear-gradient(180deg, rgba(31,95,153,0.06), rgba(31,95,153,0.02)), url('https://www.seepferdchenschwimmschule.de/grafik/back53.jpg') center/cover no-repeat;
}

.hero-side::before,
.intro-side::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16,47,77,0.72), rgba(16,47,77,0.12));
}

.intro-side::before {
  background: linear-gradient(to top, rgba(16,47,77,0.78), rgba(16,47,77,0.16));
}

.hero-side-text,
.intro-side .hero-side-text {
  position: relative;
  z-index: 1;
  color: white;
  padding: 24px;
}

.hero-side-text strong {
  display: block;
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.hero-side-text span {
  display: block;
  color: rgba(255,255,255,0.92);
  line-height: 1.6;
}

.hero-trust,
.conversion-bar,
.faq-info-grid,
.contact-note-grid,
.decision-grid,
.benefit-grid,
.course-grid,
.course-detail-grid,
.job-grid,
.split-grid,
.checkout-grid,
.bestaetigung-grid {
  display: grid;
  gap: 18px;
}

.hero-trust,
.conversion-bar,
.faq-info-grid,
.contact-note-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-grid,
.course-grid,
.decision-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.course-detail-grid,
.job-grid,
.split-grid,
.checkout-grid,
.bestaetigung-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trust-pill,
.conversion-box,
.faq-info-box,
.contact-note-box,
.decision-box,
.benefit-box,
.course-card,
.course-detail-card,
.job-card,
.contact-box,
.contact-main,
.apply-info,
.apply-form-shell,
.kurs-kachel,
.warenkorb-box,
.checkout-box,
.bestaetigung-box {
  background: white;
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(16, 47, 77, 0.08);
}

.trust-pill,
.conversion-box,
.faq-info-box,
.contact-note-box,
.decision-box,
.benefit-box {
  text-align: center;
}

.trust-pill strong,
.conversion-box strong,
.faq-info-box strong,
.contact-note-box strong,
.decision-box strong,
.benefit-box strong {
  display: block;
  color: var(--blue-darker);
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.trust-pill strong,
.benefit-box strong {
  color: var(--blue);
  font-size: 34px;
  line-height: 1;
  margin-bottom: 10px;
}

.trust-pill span,
.conversion-box span,
.faq-info-box span,
.contact-note-box span,
.decision-box span,
.benefit-box span {
  color: var(--muted);
  line-height: 1.6;
}

.course-card,
.course-detail-card,
.job-card {
  display: flex;
  flex-direction: column;
}

.course-card h3,
.course-detail-card h2,
.job-card h2,
.contact-box h2,
.apply-info h2,
.apply-form-shell h2 {
  margin: 0 0 12px;
  color: var(--blue-darker);
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.2;
}

.course-card p,
.course-detail-card p,
.job-card p,
.contact-box p,
.apply-info p,
.apply-info li,
.apply-form-shell p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 16px;
}

.course-meta {
  margin: 16px 0 18px;
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
}

.course-card .btn-primary {
  margin-top: auto;
  align-self: flex-start;
}

.course-subbox,
.job-subbox,
.contact-item {
  background: rgba(31,95,153,0.04);
  border: 1px solid rgba(31,95,153,0.08);
  border-radius: 18px;
  padding: 18px;
}

.course-subbox {
  margin-top: 18px;
}

.course-subbox strong,
.job-subbox strong,
.contact-item strong {
  display: block;
  color: var(--blue);
  margin-bottom: 8px;
  font-size: 17px;
}

.course-subbox span,
.job-subbox span,
.contact-item span,
.contact-item a {
  display: block;
  color: var(--muted);
  line-height: 1.65;
}

.contact-list,
.contact-info {
  display: grid;
  gap: 18px;
}

/* ================= FAQ / RATGEBER ================= */

.faq-grid {
  display: grid;
  gap: 16px;
}

.faq-grid .faq-item {
  background: white;
  border-radius: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(16, 47, 77, 0.08);
  overflow: hidden;
  padding: 0;
}

.faq-question {
  width: 100%;
  border: 0;
  background: white;
  color: var(--blue-darker);
  text-align: left;
  padding: 22px 26px;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-question:hover {
  background: rgba(31,95,153,0.03);
}

.faq-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(31,95,153,0.10);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  transition: transform 0.2s ease;
}

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

.faq-answer {
  display: none;
  padding: 0 26px 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

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

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.faq-list .faq-item {
  border: 1px solid rgba(16, 47, 77, 0.08);
  border-radius: 18px;
  padding: 16px 18px;
  background: rgba(31,95,153,0.02);
}

.faq-list .faq-item strong {
  display: block;
  color: var(--blue-darker);
  margin-bottom: 6px;
  font-size: 17px;
}

.faq-list .faq-item span {
  color: var(--muted);
  line-height: 1.6;
}

.faq-cta .card {
  max-width: 960px;
  margin: 0 auto;
}

/* ================= JOBS / BEWERBUNG / FORMULARE ================= */

.apply-info ul {
  margin: 18px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.job-form,
.form-grid {
  display: grid;
  gap: 16px;
}

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

.field,
.form-field {
  display: grid;
  gap: 8px;
}

.field label,
.form-field label {
  display: block;
  color: var(--blue-darker);
  font-weight: 700;
  font-size: 15px;
}

.field input,
.field textarea,
.field select,
.form-field input,
.form-field textarea,
.form-field select,
input[type=text],
input[type=tel],
input[type=email],
input[type=date],
input[type=number],
textarea,
select {
  width: 100%;
  border: 1px solid rgba(16, 47, 77, 0.14);
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--text);
  background: white;
  box-sizing: border-box;
}

.field textarea,
.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.checkbox-row input {
  margin-top: 3px;
  flex: 0 0 auto;
}

.form-row-full {
  grid-column: 1 / -1;
}

/* ================= KURSBUCHUNG / WARENKORB ================= */

#inhalt {
  position: relative;
  width: min(var(--page-max), calc(100% - 24px));
  min-height: 0;
  margin: 24px auto;
  padding: 32px;
  background: #ffffff !important;
  border-radius: 28px;
  box-shadow: 0 18px 48px rgba(13, 33, 61, 0.08);
  box-sizing: border-box;
}

.kurs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.kurs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.kurs-kachel {
  position: relative;
  overflow: hidden;
  min-height: 260px;
}

.kurs-kachel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.08;
  pointer-events: none;
}

.kurs-kachel > * {
  position: relative;
  z-index: 1;
}

.kurs-kachel.typ-gruppenkurs::before { background-image: url('grafik/kurskarten/gruppenkurs.png'); }
.kurs-kachel.typ-intensivkurs::before { background-image: url('grafik/kurskarten/intensivkurs.png'); }
.kurs-kachel.typ-privatkurs::before { background-image: url('grafik/kurskarten/privatkurs.png'); }
.kurs-kachel.typ-ferienkurs::before { background-image: url('grafik/kurskarten/ferienkurs.png'); }

.kurs-kachel h2 {
  margin: 0 0 14px;
  font-size: 1.2rem;
  line-height: 1.4;
  color: #0d213d;
}

.kurs-meta {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.kurs-meta li {
  margin-bottom: 6px;
  line-height: 1.45;
}

.kurs-detail,
.info-klein {
  color: #29435f;
}

.kurs-detail {
  margin: 14px 0 16px;
  font-size: 0.95rem;
  line-height: 1.55;
}

.info-klein {
  font-size: 0.9rem;
}

.kurs-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
}

.kurs-button,
.warenkorb-button,
.checkout-button,
.modal-button {
  appearance: none;
  border: 0;
  padding: 12px 18px;
  cursor: pointer;
  background: #0d213d;
  color: #fff;
}

.kurs-button:hover,
.warenkorb-button:hover,
.checkout-button:hover,
.modal-button:hover {
  background: #265fb3;
}

.kurs-button.secondary,
.warenkorb-button.secondary,
.checkout-button.secondary,
.modal-button.secondary {
  background: #d7e5ff;
  color: #003366;
}

.kurs-button[disabled],
button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}

.warenkorb-box {
  position: sticky;
  top: 20px;
  background: #f8fbff;
}

.warenkorb-box.warenkorb-box-top {
  position: static;
  margin-bottom: 24px;
}

.warenkorb-box.checkout-box-only,
.bestaetigung-box {
  position: static;
  max-width: 900px;
  margin: 0 auto;
}

.warenkorb-box h2,
.checkout-box h2,
.bestaetigung-box h2 {
  margin-top: 0;
  color: #0d213d;
}

.warenkorb-liste {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0;
}

.warenkorb-item,
.bestaetigung-block {
  padding: 12px;
  border-radius: 12px;
  background: #eef5ff;
}

.warenkorb-kopfzeile {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.warenkorb-summe {
  margin: 18px 0;
  padding-top: 14px;
  border-top: 1px solid rgba(0,51,102,0.1);
  font-size: 1.05rem;
}

.meldung,
.fehler,
.checkout-fehler,
.success-box,
.warn-box {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  line-height: 1.5;
}

.meldung,
.success-box { background: #e3f7e8; }
.fehler,
.checkout-fehler { background: #ffdede; }
.warn-box { background: #fff3cd; }

.leerstand {
  padding: 24px;
  text-align: center;
  background: #f8fbff;
  border-radius: 18px;
}

.checkout-box {
  margin-top: 28px;
  background: #f8fbff;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 33, 61, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

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

.modal-box {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.22);
  padding: 24px;
}

.modal-box h3 {
  margin-top: 0;
  margin-bottom: 12px;
  color: #0d213d;
}

/* ================= FOOTER ================= */

.footer {
  position: relative;
  margin-top: auto;
  color: rgba(255,255,255,0.92);
  overflow: visible;
  padding-top: 54px;
  background: url('https://www.seepferdchenschwimmschule.de/grafik/back53.jpg') center/cover no-repeat;
  flex-shrink: 0;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(31,95,153,0.9), rgba(20,63,102,0.85));
  z-index: 1;
}

.footer-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 62px;
  transform: translateY(-1px);
  z-index: 2;
  display: block;
}

.footer-inner {
  position: relative;
  z-index: 3;
  width: min(var(--page-max), calc(100% - 24px));
  margin: 0 auto;
  padding: 22px 0 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.footer-col h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: white;
}

.footer-col p,
.footer-col a,
.footer-col li {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-col ul {
  padding-left: 18px;
  margin: 0;
}

.footer-bottom {
  position: relative;
  z-index: 3;
  width: min(var(--page-max), calc(100% - 24px));
  margin: 0 auto;
  padding: 16px 0 26px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  border-top: 1px solid rgba(255,255,255,0.25);
}

.footer-mascot-wrap {
  position: absolute;
  right: 18px;
  bottom: 0;
  width: 170px;
  height: 130%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 4;
  pointer-events: none;
}

.footer-mascot {
  width: 100%;
  height: auto;
  transform: rotate(-15deg);
  transform-origin: bottom center;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.25));
}

/* ================= RESPONSIVE ================= */

@media (min-width: 760px) {
  .footer-inner {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 1200px) {
  .course-grid,
  .benefit-grid,
  .decision-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .intro-grid,
  .contact-grid,
  .apply-grid,
  .benefit-grid,
  .split-grid,
  .conversion-bar,
  .hero-trust,
  .faq-info-grid,
  .contact-note-grid,
  .decision-grid,
  .course-detail-grid,
  .job-grid,
  .kurs-layout {
    grid-template-columns: 1fr;
  }

  .hero-side,
  .intro-side {
    min-height: 280px;
  }

  .warenkorb-box {
    position: static;
  }
}

@media (max-width: 760px) {
  .nav-shell {
    border-radius: 28px;
    padding: 12px;
  }

  .nav-divider {
    display: none;
  }

  .form-row,
  .checkout-grid,
  .bestaetigung-grid,
  .course-grid,
  .decision-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --content-pad: 18px;
    --card-radius: 20px;
  }

  .site-header {
    display: block !important;
    min-height: 220px;
  }

  .header-inner {
    padding: 28px 16px 62px;
    min-height: 190px;
  }

  .brand-title {
    font-size: clamp(34px, 11vw, 56px);
  }

  .brand-claim {
    max-width: 92%;
  }

  .header-wave {
    height: 88px;
  }

  .nav-bar {
    margin-top: -2px;
    padding: 10px 0 8px;
  }

  .nav-inner {
    width: calc(100% - 20px);
  }

  .nav-shell {
    width: 100%;
    gap: 10px;
    padding: 12px 10px;
  }

  .main-nav {
    width: 100%;
    justify-content: center;
    gap: 6px;
  }

  .main-nav a {
    font-size: 14px;
    padding: 8px 10px;
  }

  .nav-cta {
    width: 100%;
    max-width: 280px;
  }

  .content {
    width: calc(100% - 20px);
    padding: 24px 0 40px;
  }

  #inhalt {
    width: calc(100% - 20px);
    margin: 10px auto;
    padding: 20px;
    border-radius: 20px;
  }

  .card,
  .content-box,
  .course-card,
  .benefit-box,
  .conversion-box,
  .course-detail-card,
  .decision-box,
  .faq-info-box,
  .contact-box,
  .contact-main,
  .contact-note-box,
  .job-card,
  .apply-info,
  .apply-form-shell,
  .kurs-kachel,
  .warenkorb-box,
  .checkout-box,
  .bestaetigung-box,
  .modal-box {
    padding: 22px 18px;
  }

  .hero-main h1,
  .intro-main h1,
  .contact-main h2 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .hero-main p,
  .intro-main p,
  .contact-main p,
  .course-detail-card p,
  .course-subbox span,
  .decision-box span,
  .job-card p,
  .apply-form-shell p {
    font-size: 15px;
    line-height: 1.65;
  }

  .hero-actions,
  .course-actions,
  .contact-actions,
  .checkout-actions,
  .modal-actions,
  .faq-actions,
  .kurs-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary,
  .course-actions .btn-primary,
  .kurs-button,
  .warenkorb-button,
  .checkout-button,
  .modal-button {
    width: 100%;
  }

  .faq-question {
    padding: 18px;
    font-size: 18px;
  }

  .faq-answer {
    padding: 0 18px 20px;
    font-size: 16px;
  }

  .faq-icon {
    width: 30px;
    height: 30px;
  }

  .warenkorb-kopfzeile {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }

  .footer-inner,
  .footer-bottom {
    width: calc(100% - 20px);
  }

  .footer-mascot-wrap {
    right: 8px;
    width: 82px;
    height: 130%;
  }

  .floating-mascots {
    display: none;
  }
}

@media (max-width: 420px) {
  .main-nav a {
    font-size: 13px;
    padding: 8px 9px;
  }

  .section-title {
    font-size: clamp(25px, 8vw, 34px);
  }

  .section-lead {
    font-size: 15px;
    line-height: 1.65;
  }

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