:root {
  --blue: #005ea8;
  --blue-dark: #003f73;
  --blue-light: #eaf4fb;
  --text: #17324d;
  --muted: #5d7184;
  --white: #ffffff;
  --border: #d9e4ec;
  --shadow: 0 12px 30px rgba(0, 61, 115, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #f7fbfd;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  min-height: 76px;
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand__mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
}

.brand__text {
  font-size: 1.05rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 600;
}

.nav a:hover,
.nav a.is-active {
  color: var(--blue);
}

.btn {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn--primary {
  background: #f28c28;
  color: #ffffff;
  border: none;
  box-shadow: 0 8px 20px rgba(242, 140, 40, 0.35);
}
.btn--submit {
    font-size: 1.05rem;
}

.btn--primary:hover {
  background: #e67600;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(230, 118, 0, 0.45);
}

.btn--ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero {
  padding: 90px 6%;
}

.hero--blue {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(0, 94, 168, 0.96), rgba(0, 63, 115, 0.96)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.25), transparent 30%);
}

.hero__content {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0.9;
}

.hero h1,
.pageHero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.08;
}

.hero p,
.pageHero p {
  max-width: 720px;
  font-size: 1.15rem;
}

.hero p {
  opacity: 0.95;
}

.hero__actions {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.pageHero {
  padding: 70px 6%;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}

.section {
  padding: 64px 6%;
}

.section--compact {
  padding-top: 48px;
}

.section h2 {
  margin-top: 0;
  font-size: 2rem;
}

.cols,
.infoGrid {
  display: grid;
  gap: 22px;
}

.cols {
  grid-template-columns: repeat(3, 1fr);
}

.infoGrid {
  grid-template-columns: repeat(2, 1fr);
}

.box,
.ctaBox,
.formBox {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.box,
.ctaBox {
  padding: 26px;
}

.formBox {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px;
}

.box h2,
.box h3,
.formBox h2 {
  margin-top: 0;
  color: var(--blue-dark);
}

.formBox h2 {
  margin-top: 34px;
}

.formBox h2:first-child {
  margin-top: 0;
}

.box p:last-child {
  margin-bottom: 0;
}

.textlink {
  color: var(--blue);
  font-weight: 700;
}

.textlink:hover {
  text-decoration: underline;
}

.ctaBox {
  margin-top: 28px;
  background: var(--blue-light);
}

.formGrid,
.addressGrid {
  display: grid;
  gap: 20px;
}

.formGrid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.addressGrid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 26px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
}

input,
select {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
}

fieldset {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  display: grid;
  gap: 14px;
}

legend {
  padding: 0 8px;
  font-weight: 700;
  color: var(--blue-dark);
}

.radioGroup {
  display: flex;
  gap: 24px;
}

.radioGroup label,
.privacyCheck {
  flex-direction: row;
  align-items: center;
}

.radioGroup input,
.privacyCheck input {
  width: 18px;
  height: 18px;
}

.courseList {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.courseRow {
  display: grid;
  grid-template-columns: 32px 1fr 130px;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
}

.courseRow input[type="checkbox"] {
  width: 20px;
  height: 20px;
  justify-self: start;
}

.courseRow span:nth-child(2) {
  font-size: 1.12rem;
  font-weight: 700;
}

.priceText {
  justify-self: end;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
}

.totalBox {
  margin: 28px 0;
  padding: 20px;
  border-radius: 16px;
  background: var(--blue-light);
  font-size: 1.2rem;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.footer {
  padding: 28px 6%;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--border);
}

.footer__links {
  display: flex;
  gap: 18px;
}

.footer a:hover {
  color: var(--blue);
}

@media (max-width: 900px) {
  .formGrid--4,
  .addressGrid,
  .cols,
  .infoGrid {
    grid-template-columns: 1fr;
  }

  .courseRow {
    grid-template-columns: 30px 1fr;
  }

  .priceText {
    grid-column: 2;
    justify-self: start;
  }

  .totalBox {
    flex-direction: column;
  }
}

@media (max-width: 800px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 18px;
    padding-bottom: 18px;
    gap: 16px;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero {
    padding: 64px 6%;
  }
}

.splitPage {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: start;
}

.splitLeft {
  display: grid;
  gap: 22px;
}

.splitRight {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.splitRight h2 {
  margin-top: 0;
  color: var(--blue-dark);
}

.referentenList p {
  margin: 0 0 13px;
  line-height: 1.3;
  font-size: 0.95rem;
}

.referentenList strong {
  color: var(--blue);
}

@media (max-width: 1000px) {
  .splitPage {
    grid-template-columns: 1fr;
  }
}
/* Hinweise rechts im blauen Hero-Bereich */
.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 600px;
  gap: 40px;
  align-items: start;
}

/* linke Seite */
.hero__content {
  max-width: none;
}

/* rechte Spalte als Container für mehrere Boxen */
.hero__right {
  display: flex;
  flex-direction: column;
  gap: 16px; /* Abstand zwischen Hinweisboxen */
  font-size: 0.8rem;
  line-height: 1.2;
  color: #fff;
}

/* einzelne Box (Hinweise / Teilnahmegebühr etc.) */
.hero__box {
  background: rgba(255,255,255,0.15);
  padding: 16px;
  border-radius: 12px;
}

/* Titel in jeder Box */
.hero__box h3 {
  margin: 0 0 14px;
}

/* Tabulator-Zeilen */
.hero__box .hint-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  column-gap: 65px;
  margin-bottom: 8px;
  align-items: start;
}

/* linke Spalte */
.hero__box .label {
  font-weight: 700;
  white-space: nowrap;
  opacity: 0.95;
}

/* rechte Spalte */
.hero__box .value {
  text-align: left;
  opacity: 0.95;
}

/* Mobile */
@media (max-width: 900px) {
  .hero__layout {
    grid-template-columns: 1fr;
  }

  .hero__right {
    margin-top: 25px;
  }
}
/* ==========================
   Cookie Banner
========================== */

.cookie-banner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 500px;
  background: #fff;
  border: 1px solid #d9e4ec;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(0, 61, 115, 0.14);
  z-index: 9999;
  text-align: center;
}

.cookie-banner .button-group {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.cookie-banner button {
  padding: 10px 18px;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
}

/* Akzeptieren */
.cookie-banner button:first-of-type {
  background: #f28c28;
  color: #fff;
  box-shadow: 0 8px 20px rgba(242, 140, 40, 0.35);
}

.cookie-banner button:first-of-type:hover {
  background: #e67600;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(230, 118, 0, 0.45);
}

/* Ablehnen */
.cookie-banner button:last-of-type {
  background: #f5f5f5;
  color: #17324d;
  border: 1px solid #d9e4ec;
}

.cookie-banner button:last-of-type:hover {
  background: #ececec;
}
.pos_cookie {
	position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cookie-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 9998;
}

.cookie-banner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

/* Scrollen verhindern */
body.cookie-open {
    overflow: hidden;
    position: fixed;
    inset: 0;
    width: 100%;
}