/* ==========================================================
   Zürcher Ultraschallkurs – main.css
   Konsolidiertes Design: Navy, Gold, Creme, klare Kontraste.
   Bestehende Klassen und IDs bleiben soweit ersichtlich erhalten.
========================================================== */

:root {
  --navy: #1c3b5b;
  --navy-2: #2c5378;
  --navy-deep: #122b45;
  --cream: #faf7f1;
  --paper: #ffffff;
  --gold: #a9762f;
  --gold-light: #cf9d4f;
  --gold-deep: #7e5a22;
  --ink: #1c2430;
  --muted: #5c6675;
  --muted-soft: #8b93a0;
  --border: #e6e0d3;
  --border-cool: #dfe3ea;
  --shadow-sm: 0 3px 12px rgba(20, 30, 50, .09);
  --shadow-md: 0 12px 28px rgba(20, 30, 50, .13);
  --shadow-lg: 0 28px 56px rgba(10, 22, 38, .2);
  --ring: 0 0 0 3px rgba(169, 118, 47, .25);
  --r-sm: 4px;
  --r-md: 7px;
  --r-lg: 12px;
  --font-serif: "Playfair Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", "Segoe UI", Arial, Helvetica, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);

  /* Admin-Kompatibilität */
  --bg: var(--cream);
  --surface: var(--paper);
  --text: var(--ink);
  --accent: var(--navy);
  --accent-h: var(--navy-2);
  --success: #0d6e3e;
  --success-bg: #e6f5ee;
  --warning: #7a4b00;
  --warning-bg: #fff3db;
  --danger: #8b1a1a;
  --danger-bg: #fdeaea;
  --radius: var(--r-lg);
  --shadow: var(--shadow-sm);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: clip; }
body {
  margin: 0;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: clip;
  color: var(--ink);
  background: var(--cream);
  font: 16px/1.65 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 {
  margin-top: 0;
  color: var(--navy);
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -.01em;
  overflow-wrap: break-word;
  hyphens: auto;
}
p, span, a { overflow-wrap: break-word; }
::selection { background: rgba(169, 118, 47, .22); }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }

/* Header und Navigation */
.site-header, .topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
  padding: 0 6%;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(20, 30, 50, .05);
}
.site-header::after, .topbar::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--gold), var(--navy));
}
.topbar { border-bottom: 0; }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: inherit;
}
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand__circle {
  display: inline-flex;
  flex: 0 0 52px;
  align-items: center;
  justify-content: center;
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  border: 2px solid var(--gold);
  border-radius: 50% !important;
  overflow: hidden;
  background: #fff;
}
.brand__mark { width: 100% !important; height: 100% !important; object-fit: cover !important; border-radius: 50% !important; }
.brand__text { display: flex; flex-direction: column; font-size: 22px; line-height: 1.15; }
.brand__title { color: var(--navy); font-family: var(--font-serif); font-weight: 700; }
.brand__sub, .brand__domain {
  margin-top: 3px;
  color: var(--gold-deep);
  font-size: .65em;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav__link {
  position: relative;
  padding: 9px 0;
  color: var(--navy);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .045em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--gold);
  transition: right .28s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--gold-deep); }
.nav__link:hover::after, .nav__link.is-active::after { right: 0; }
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--paper);
  cursor: pointer;
}
.nav-toggle span { width: 21px; height: 2px; background: var(--navy); transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Einheitliche Buttons – sichtbar, größer und gut anklickbar */
.btn, button, a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 22px;
  border: 1.5px solid var(--navy);
  border-radius: 5px;
  background: var(--navy);
  color: #fff;
  font: 700 1rem/1.35 var(--font-sans);
  letter-spacing: .015em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 11px rgba(10, 22, 38, .16);
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.btn:hover, button:hover, a.btn:hover {
  background: var(--navy-2);
  border-color: var(--navy-2);
  color: #fff;
  box-shadow: 0 7px 16px rgba(10, 22, 38, .2);
  transform: translateY(-1px);
}
.btn:active, button:active { transform: translateY(0); }
.btn--primary { background: #28557e; border-color: #28557e; color: #fff; }
.btn--primary:hover { background: #3d709e; border-color: #3d709e; color: #fff !important; }
.btn--submit { min-height: 52px; padding: 14px 30px; font-size: 1.05rem; }
.btn--ghost {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.85);
  box-shadow: none;
}
.btn--ghost:hover { background: rgba(255,255,255,.2); color: #fff !important; border-color: #fff; }
.btn--orange { background: #f0cb83; border-color: #d8ae60; color: #172b42; }
.btn--orange:hover { background: #f8dca4; border-color: #e6bd70; color: #172b42 !important; }
.btn--outline { background: #fff; color: var(--navy); border-color: var(--navy-2); }
.btn--outline:hover { background: #edf3f8; color: var(--navy); }
.btn--danger-outline { background: #fff; color: var(--danger); border-color: #e8a0a0; }
.btn--danger-outline:hover { background: var(--danger-bg); color: var(--danger); border-color: #d77b7b; }
.btn--sm { min-height: 36px; padding: 8px 12px; font-size: .88rem; }
.nav .btn--primary { min-height: 42px; padding: 10px 17px; font-size: .9rem; }

/* Startseiten-Hero */
.hero { position: relative; max-width: 100%; padding: 82px 6%; }
.hero--blue {
  overflow: hidden;
  padding-top: 1rem;
  color: var(--cream);
  background:
    radial-gradient(circle at 90% -10%, rgba(207,157,79,.24), transparent 45%),
    linear-gradient(160deg, #2a5277 0%, #1b3857 100%);
}
.hero--blue::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0, rgba(255,255,255,.025) 1px, transparent 1px, transparent 90px);
}
.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 600px);
  align-items: start;
  gap: 40px;
  max-width: 100%;
}
.hero__content { max-width: none; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--gold-light);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; }
.hero h1, .pageHero h1 { margin: 0 0 18px; color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.15; }
.hero p, .pageHero p { max-width: 720px; font-size: 1.08rem; }
.hero p { opacity: .95; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.hero__actions .btn { min-height: 54px; padding: 14px 26px; font-size: 1.03rem; }
.infoTable { margin-top: 20px; border-collapse: collapse; color: var(--cream); }
.infoTable td { padding: 7px 18px 7px 0; vertical-align: top; }
.infoTable td:first-child { color: var(--gold-light); font-size: .92rem; font-weight: 700; white-space: nowrap; }
.infoTable--leadership tbody tr, .infoTable--leadership tbody tr:hover, .infoTable--leadership tbody tr:hover td { color: inherit; background: transparent !important; }
.hero__right { display: flex; flex-direction: column; gap: 18px; max-width: 100%; color: var(--cream); font-size: .9rem; line-height: 1.45; }
.hero__box { max-width: 100%; padding: 22px; border: 1px solid rgba(207,157,79,.35); border-top: 3px solid var(--gold-light); border-radius: var(--r-md); background: rgba(255,255,255,.07); }
.hero__box h2, .hero__box h3 { margin: 0 0 14px; color: var(--gold-light); font-size: 1.1rem; }
.hero__box .hint-row { display: grid; grid-template-columns: minmax(130px,180px) 1fr; gap: 8px 24px; margin-bottom: 10px; align-items: start; }
.hero__box .label { font-weight: 700; }
.hero__box .value { text-align: left; }

/* Seitenkopf und Content-Bereiche */
.pageHero { position: relative; padding: 64px 6% 58px; color: var(--cream); background: linear-gradient(160deg, #2a5277, #1b3857); border-bottom: 3px solid var(--gold); }
.pageHero h1 { color: #fff; }
.pageHero p { opacity: .95; }
.section { padding: 64px 6%; }
.section--compact { padding-top: 46px; }
.section--narrow { max-width: 820px; }
.section h2 { margin-top: 0; font-size: 1.9rem; }
.cols, .infoGrid { display: grid; gap: 24px; }
.cols { grid-template-columns: repeat(3, minmax(0,1fr)); }
.infoGrid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.box, .ctaBox, .formBox, .splitRight, .card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.box, .ctaBox { padding: 28px; }
.box h2, .box h3, .formBox h2 { margin-top: 0; color: var(--navy); }
.box p:last-child { margin-bottom: 0; }
.textlink { padding-bottom: 1px; color: var(--navy); font-weight: 700; border-bottom: 1px solid var(--gold); }
.textlink:hover { color: var(--gold-deep); }
.ctaBox { margin-top: 28px; background: var(--cream); border-style: dashed; }
.formBox { max-width: 1100px; margin: 0 auto; padding: 36px; }
.formBox h2 { margin: 34px 0 0; padding-top: 24px; border-top: 1px solid var(--border); font-size: 1.35rem; }
.formBox h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

/* Formulare */
.formGrid, .addressGrid { display: grid; gap: 20px; }
.formGrid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.addressGrid { grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 26px; }
label { display: flex; flex-direction: column; gap: 7px; color: var(--ink); font-size: .95rem; font-weight: 700; }
input, select, textarea {
  max-width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-cool);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink);
  font: inherit;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
input:hover, select:hover, textarea:hover { border-color: var(--gold-light); }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--gold); box-shadow: var(--ring); }
fieldset { display: grid; gap: 14px; padding: 22px; border: 1.5px solid var(--border-cool); border-radius: var(--r-md); background: #fff; }
legend { padding: 0 8px; color: var(--navy); font: 700 1.05rem var(--font-serif); }
.radioGroup { display: flex; gap: 24px; }
.radioGroup label, .privacyCheck { flex-direction: row; align-items: center; font-weight: 600; }
.radioGroup input, .privacyCheck input, .courseRow input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--navy); }

/* Kursliste und Preise */
.courseList { display: flex; flex-direction: column; gap: 12px; }
.courseList h3 { margin-bottom: 2px; font-size: 1.15rem; }
.courseRow { display: grid; grid-template-columns: 32px minmax(0,1fr) 130px; align-items: center; gap: 16px; padding: 16px 18px; border: 1.5px solid var(--border-cool); border-radius: var(--r-sm); background: #fff; transition: border-color .2s, box-shadow .2s; }
.courseRow:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.courseRow span:nth-child(2) { font-size: 1.05rem; font-weight: 700; }
.priceText { justify-self: end; color: var(--navy); font: 700 1.08rem var(--font-serif); white-space: nowrap; }
.totalBox { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 28px 0; padding: 22px 26px; border-left: 4px solid var(--gold); border-radius: var(--r-md); background: var(--navy); color: #fff; font-size: 1.2rem; }
.totalBox strong, #totalPrice { font-family: var(--font-serif); }
#totalPrice { color: var(--gold-light); font-size: 1.3rem; font-weight: 700; }

/* Split-Seiten und Referenten */
.splitPage { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); align-items: start; gap: 36px; }
.splitLeft { display: grid; gap: 22px; }
.splitRight { position: sticky; top: 100px; max-width: 100%; padding: 28px; }
.splitRight h2 { margin-top: 0; }
.referentenList { max-height: 640px; overflow-y: auto; padding-right: 6px; }
.referentenList p { margin: 0 0 13px; padding-bottom: 12px; border-bottom: 1px dotted var(--border); font-size: .95rem; line-height: 1.4; }
.referentenList p:last-child { border-bottom: 0; }
.referentenList strong { color: var(--navy); font: 700 1rem var(--font-serif); }

/* Bilder / Ultraschall-Bildreihe */
.bilder { display: grid; grid-template-columns: repeat(3, minmax(0,140px)); justify-content: center; gap: 12px; margin: 30px auto 0; }
.bilder img { display: block; width: 140px; height: 140px; object-fit: cover; border: 1px solid var(--border); border-radius: var(--r-sm); }
.hero .bilder { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 10px !important; max-width: 420px !important; margin: 24px auto 0 !important; }
.hero .bilder img { width: 100% !important; max-width: none !important; height: 80px !important; object-fit: cover !important; border: 1px solid rgba(207,157,79,.4) !important; border-radius: 6px !important; box-shadow: 0 6px 14px rgba(0,0,0,.25) !important; }
.ultrasound-images { position: relative; z-index: 2; display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; align-items: stretch; gap: 24px; width: 100%; max-width: 1500px; margin: 55px auto 0; perspective: 1400px; transform-style: preserve-3d; }
.ultrasound-images__card { position: relative; min-width: 0; overflow: hidden; margin: 0 !important; aspect-ratio: 4/3; border: 1px solid rgba(207,157,79,.45); border-radius: 10px; background: var(--navy-deep); box-shadow: 0 25px 55px rgba(0,0,0,.3), 0 8px 18px rgba(0,0,0,.2); transform-style: preserve-3d; transform: perspective(1000px) translateY(var(--lift,0px)) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) scale(var(--scale,1)); animation: ultrasoundAppear 750ms var(--ease) both; animation-delay: calc(var(--index,0) * 120ms); transition: transform 500ms var(--ease), box-shadow 500ms var(--ease), filter 500ms var(--ease); }
.ultrasound-images__card img { display: block !important; width: 100% !important; max-width: none !important; height: 100% !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; object-fit: cover !important; object-position: center !important; transition: transform 700ms var(--ease), filter 500ms var(--ease); }
.ultrasound-images__card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg,transparent 25%,rgba(255,255,255,.18) 48%,transparent 70%); transform: translateX(-130%); transition: transform 800ms var(--ease); }
.ultrasound-images__card:hover, .ultrasound-images__card:focus-visible { z-index: 10; --lift: -10px; --scale: 1.025; filter: brightness(1.08); outline: 2px solid var(--gold-light); outline-offset: 3px; box-shadow: 0 38px 75px rgba(0,0,0,.4), 0 12px 28px rgba(0,0,0,.25); }
.ultrasound-images__card:hover img, .ultrasound-images__card:focus-visible img { transform: scale(1.07); }
.ultrasound-images__card:hover::after, .ultrasound-images__card:focus-visible::after { transform: translateX(130%); }
@keyframes ultrasoundAppear { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }

/* Programm / Informationen */
.infoSection { max-width: 1240px; }
.infoHero { text-align: center; }
.infoColumns { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 30px; }
.infoPanel { display: flex; flex-direction: column; min-width: 0; height: 680px; overflow: hidden; border: 1px solid var(--border); border-top: 3px solid var(--gold); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-sm); }
.infoPanel--days, .infoPanel--speakers { border-top-color: var(--gold); }
.infoPanel__header { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 92px; padding: 22px 26px; border-bottom: 1px solid var(--border); background: #fff; }
.infoPanel__header h2 { margin: 3px 0 0 !important; font-size: clamp(1.35rem,2vw,1.8rem); }
.infoPanel__eyebrow { color: var(--gold-deep); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.infoPanel__hint { flex: 0 0 auto; padding: 7px 11px; border-radius: 999px; background: rgba(20,38,62,.07); color: var(--navy); font-size: .75rem; font-weight: 700; }
.infoPanel__scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding: 20px; -webkit-overflow-scrolling: touch; }
.infoPanel__scroll:focus-visible { outline: 3px solid rgba(169,118,47,.28); outline-offset: -3px; }
.infoPanel__scroll::-webkit-scrollbar { width: 9px; }
.infoPanel__scroll::-webkit-scrollbar-track { background: rgba(20,38,62,.04); }
.infoPanel__scroll::-webkit-scrollbar-thumb { background: rgba(20,38,62,.25); border: 2px solid transparent; border-radius: 999px; background-clip: padding-box; }
.programDay { overflow: hidden; margin-bottom: 18px; padding: 18px; border: 1px solid var(--border); border-radius: var(--r-md); background: #fff; }
.programDay:last-child { margin-bottom: 0; }
.programDay h3 { margin: -18px -18px 0; padding: 17px 18px; border-bottom: 1px solid var(--border); background: #f7f5ef; color: var(--navy); font-size: 1.05rem; }
.programDay > p { margin: 0 -18px 10px; padding: 8px 18px; background: var(--cream); color: var(--gold-deep); font-size: .84rem; }
.programDay ul { margin: 0; padding: 0; list-style: none; }
.programDay li { padding: 9px 0; border-bottom: 1px dotted var(--border); color: var(--ink); font-size: .9rem; line-height: 1.45; }
.programDay li:last-child { border-bottom: 0; }
.speakersScroll { padding: 8px 24px 18px; }
.speakersScroll p { display: grid; gap: 5px; margin: 0; padding: 16px 0; border-bottom: 1px dotted var(--border); }
.speakersScroll p:last-child { border-bottom: 0; }
.speakersScroll strong { color: var(--navy); font: 700 1rem var(--font-serif); }
.speakersScroll span { color: var(--muted); font-size: .9rem; line-height: 1.45; }
.programDownload { max-width: 620px; margin: 38px auto 0; padding: 28px 32px; text-align: center; border: 1px solid var(--border); border-top: 3px solid var(--gold); border-radius: var(--r-lg); background: linear-gradient(145deg,#fff,var(--cream)); box-shadow: var(--shadow-sm); }
.programDownload h2 { margin: 7px 0 8px; }
.programDownload p { margin: 0 auto 22px; color: var(--muted); }
.programDownload__button { display: inline-flex; justify-content: center; min-width: 250px; margin-inline: auto; }

/* Downloads */
.downloadDay { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border); }
.downloadDay:first-of-type { margin-top: 22px; }
.downloadDay h3 { color: var(--navy); }
.downloadOverview { display: grid; gap: 22px; margin-bottom: 34px; padding: 24px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--cream); }
.downloadOverview h2, .downloadOverview h3, .downloadOverview p { margin-top: 0; }
.downloadOverview__label { margin-bottom: 2px; color: var(--muted); font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.courseTags, .dayTags { display: flex; flex-wrap: wrap; gap: 9px; margin: 0; padding: 0; list-style: none; }
.courseTags li, .dayTags li { padding: 8px 13px; border: 1px solid var(--border-cool); border-radius: var(--r-sm); background: #fff; color: var(--navy); font-weight: 700; }
.downloadActions { display: flex; justify-content: flex-end; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--border); }
.zhsono-link, .zhsono-link a, .zhsono-link a:link, .zhsono-link a:visited { color: var(--gold-deep) !important; font-weight: 700; text-decoration: none; }
.zhsono-link a:hover, .zhsono-link a:focus { color: var(--gold) !important; text-decoration: underline; }
.hero__layout--fees { margin-top: 50px; align-items: start; }
.hero__layout--fees .ultrasound-images { margin: 0 !important; align-self: start; width: 100%; max-width: none; }
.hero__layout--fees > .hero__right { margin: 0; align-self: start; }

/* Footer */
.footer { position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; max-width: 100%; padding: 30px 6%; border-top: 1px solid var(--border); background: #fff; color: var(--muted); font-size: .92rem; }
.footer::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg,transparent,var(--gold),transparent); }
.footer__links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer a:hover { color: var(--gold-deep); }
.site-footer { margin-top: 72px; background: #173653; color: #fff; }
.site-footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; max-width: 1180px; margin: auto; padding: 42px 24px 28px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer a { color: #fff; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__bottom { padding: 18px 24px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.75); text-align: center; font-size: .9rem; }

/* Cookie-Hinweis */
.cookie-overlay { position: fixed; inset: 0; display: none; background: rgba(10,22,38,.62); z-index: 9998; }
.cookie-banner { position: fixed; top: 50%; left: 50%; display: none; width: calc(100% - 32px); max-width: 500px; max-height: calc(100vh - 32px); overflow-y: auto; transform: translate(-50%,-50%); padding: 26px; border: 1px solid var(--border); border-top: 3px solid var(--gold); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-lg); z-index: 9999; text-align: center; }
.cookie-banner p { margin: 0; color: var(--ink); }
.cookie-banner a { color: var(--gold-deep); text-decoration: underline; font-weight: 700; }
.cookie-banner .button-group { display: flex; justify-content: center; gap: 12px; margin-top: 22px; }
.cookie-banner button { min-height: 44px; padding: 11px 20px; border-radius: 5px; font-size: .9rem; }
.cookie-banner button:last-of-type { background: #fff; color: var(--navy); border-color: var(--border-cool); box-shadow: none; }
.cookie-banner button:last-of-type:hover { background: #f2f0ea; color: var(--navy); }
body.cookie-open { position: fixed; width: 100%; overflow: hidden; touch-action: none; }

/* Anwesenheit / QR-Scanner */
.attendanceHero { text-align: center; background: linear-gradient(135deg,#edf5fa 0%,#f8fbfd 55%,#fff7ed 100%); }
.attendanceCard { border: 1px solid rgba(20,58,90,.12); box-shadow: 0 28px 70px rgba(17,43,70,.11); }
.stackForm { display: grid; gap: 22px; }
.stackForm label { display: grid; gap: 8px; font-weight: 700; }
.stackForm input { width: 100%; padding: 14px 16px; border: 1px solid #ccd6df; border-radius: 8px; font: inherit; }
.scanInfo, .qrWrap { text-align: center; }
.scannerBox { max-width: 560px; margin: 24px auto; overflow: hidden; border: 1px solid #dce4ea; border-radius: 14px; background: #fff; }
.scanStatus { max-width: 560px; min-height: 24px; margin: 18px auto; padding: 16px; border-radius: 10px; background: #edf3f7; font-weight: 700; }
.scanStatus.erfolg { background: #e8f7ec; color: #186a32; }
.scanStatus.fehler { background: #fdecec; color: #9d2525; }
.attendanceInstructions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; }
.attendanceInstructions span { padding: 8px 12px; border-radius: 999px; background: #edf3f7; }
.attendanceActions { margin-top: 22px; }
.qrEintrag { margin: 25px 0; padding: 24px; border-radius: 14px; background: #f6f9fb; }
.qrCode { display: inline-block; padding: 18px; border-radius: 12px; background: #fff; box-shadow: 0 10px 30px rgba(17,43,70,.09); }

/* Adminbereich */
.admin-header { position: relative; display: flex; align-items: center; justify-content: space-between; height: 84px; padding: 0 28px; border-bottom: 1px solid var(--border); background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.admin-header::after { content: ""; position: absolute; right: 0; bottom: -3px; left: 0; height: 3px; background: linear-gradient(90deg,var(--navy),var(--gold),var(--navy)); }
.admin-header__brand { display: flex; align-items: center; gap: 10px; font: 700 20px var(--font-serif); letter-spacing: .2px; }
.admin-header__brand svg { opacity: .85; }
.admin-header__nav { display: flex; gap: 6px; }
.nav-link { display: inline-flex; align-items: center; gap: 5px; padding: 9px 13px; border-radius: 5px; color: var(--navy); font-size: .9rem; font-weight: 700; white-space: nowrap; transition: background .15s; }
.nav-link:hover { background: #edf3f8; }
.nav-link--logout { background: var(--navy); color: #fff; }
.nav-link--logout:hover { background: var(--navy-2); color: #fff; }
.page { max-width: 1420px; margin: 0 auto; padding: 28px 24px 60px; }
.card { overflow: hidden; border-top-width: 1px; }
.card-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 18px 24px 16px; border-bottom: 1px solid var(--border); }
.card-title { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 1.05rem; font-weight: 800; }
.card-title svg { flex-shrink: 0; color: var(--navy); }
.toolbar { padding: 16px 24px; border-bottom: 1px solid var(--border); }
.alert { display: flex; align-items: center; gap: 10px; margin: 16px 24px; padding: 12px 16px; border-radius: 8px; font-size: .9rem; font-weight: 700; }
.alert--success { border: 1px solid #a7dfc2; background: var(--success-bg); color: var(--success); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
thead th { padding: 12px 14px; border-bottom: 1px solid var(--border); background: #f8fafc; color: var(--muted); font-size: .76rem; font-weight: 800; letter-spacing: .05em; text-align: left; text-transform: uppercase; white-space: nowrap; }
tbody tr { transition: background .1s; }
tbody tr:hover { background: #f5f8fc; }
tbody tr + tr { border-top: 1px solid var(--border); }
td { padding: 12px 14px; vertical-align: top; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 20px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.badge--green { background: var(--success-bg); color: var(--success); }
.badge--yellow { background: var(--warning-bg); color: var(--warning); }
.badge--grey { background: #f0f2f5; color: var(--muted); }
.code-chip { padding: 3px 8px; border: 1px solid #c7d2fe; border-radius: 6px; background: #eef2ff; color: #3730a3; font: 600 .82rem "SF Mono","Fira Code",monospace; letter-spacing: .04em; }
.course-form { display: grid; gap: 10px; }
.form-row { display: flex; gap: 10px; }
.form-group { display: flex; flex: 1; flex-direction: column; gap: 5px; min-width: 0; }
.form-group label { color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.form-group input, .form-group select { width: 100%; padding: 9px 10px; border: 1.5px solid var(--border); border-radius: 6px; background: #fff; color: var(--ink); font-size: .9rem; }
.form-group input:focus, .form-group select:focus { outline: 0; border-color: var(--navy-2); box-shadow: var(--ring); }
.sub-text, .date-val { margin-top: 3px; color: var(--muted); font-size: .82rem; }
.text-muted { color: var(--muted); font-style: italic; }
.mail-preview-backdrop { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: flex-start; justify-content: center; overflow: auto; padding: 28px; background: rgba(10,22,38,.62); }
.mail-preview-card { width: min(820px,100%); padding: 26px; border: 1px solid var(--border); border-radius: 12px; background: #fff; box-shadow: 0 28px 70px rgba(10,22,38,.28); }
.mail-preview-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.mail-preview-head h2 { color: var(--navy); font: 700 25px var(--font-serif); }
.mail-editor { display: grid; gap: 16px; }
.mail-editor label { display: grid; gap: 7px; font-weight: 700; }
.mail-editor input, .mail-editor textarea { width: 100%; padding: 12px; border: 1px solid var(--border); border-radius: 6px; background: #fff; color: var(--ink); font: inherit; }
.mail-editor textarea { resize: vertical; line-height: 1.55; }
.mail-preview-actions { display: flex; justify-content: flex-end; gap: 10px; }
.form-hint { color: var(--muted); font-size: .82rem; }
.login-page { display: grid; place-items: center; min-height: 100vh; padding: 24px; background: radial-gradient(circle at top,#fff 0,#faf7f1 55%,#eee7da 100%); }
.login-shell { width: min(460px,100%); }
.login-card { padding: 36px; border: 1px solid var(--border); border-top: 4px solid var(--gold); border-radius: 10px; background: #fff; box-shadow: 0 28px 70px rgba(10,22,38,.14); }
.login-card h1 { margin: 6px 0 24px; color: var(--navy); font: 700 32px var(--font-serif); }
.login-card label { display: grid; gap: 8px; font-weight: 700; }
.login-card input { width: 100%; margin-top: 6px; padding: 12px; border: 1px solid var(--border); border-radius: 5px; font: inherit; }
.login-card .btn { width: 100%; margin-top: 18px; }
.login-card p { margin: 10px 0; padding: 10px; border-radius: 5px; background: var(--danger-bg); }

/* Responsive */
@media (max-width: 1000px) {
  .splitPage { grid-template-columns: 1fr; }
  .splitRight { position: static; }
}
@media (max-width: 960px) {
  .infoColumns { grid-template-columns: 1fr; gap: 24px; }
  .infoSection { max-width: 760px; }
  .infoPanel, .infoPanel--speakers { width: 100%; height: min(650px,72vh); }
  .programDownload { margin-top: 30px; }
}
@media (max-width: 900px) {
  .hero__layout { grid-template-columns: 1fr; }
  .hero__right { margin-top: 22px; font-size: .95rem; }
  .formGrid--4, .addressGrid, .cols, .infoGrid { grid-template-columns: 1fr; }
  .courseRow { grid-template-columns: 30px minmax(0,1fr); }
  .priceText { grid-column: 2; justify-self: start; }
  .totalBox { flex-direction: column; align-items: flex-start; }
  .ultrasound-images { gap: 14px; margin-top: 40px; }
  .hero__layout--fees { margin-top: 36px; }
}
@media (max-width: 860px) {
  .site-header, .topbar { min-height: 72px; padding: 0 5%; }
  .site-header__inner { min-height: 72px; }
  .nav-toggle { display: flex; flex-shrink: 0; }
  .nav { position: absolute; top: 100%; right: 0; left: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; max-height: 0; overflow: hidden; border-bottom: 3px solid var(--gold); background: #fff; box-shadow: var(--shadow-lg); transition: max-height .32s var(--ease); }
  .nav.nav--open { max-height: 520px; }
  .nav__link { padding: 16px 6%; border-bottom: 1px solid var(--border); text-align: left; }
  .nav__link::after { display: none; }
  .nav__link.is-active, .nav__link:hover { background: var(--cream); }
  .admin-header { height: auto; min-height: 72px; gap: 12px; padding: 12px 18px; }
  .admin-header__nav { flex-wrap: wrap; justify-content: flex-end; }
}
@media (max-width: 760px) {
  .site-footer__inner { flex-direction: column; }
  .attendanceInstructions { flex-direction: column; }
  .scannerBox { margin-right: -8px; margin-left: -8px; }
}
@media (max-width: 700px) {
  .mail-preview-backdrop { padding: 12px; }
  .mail-preview-card { padding: 18px; }
  .mail-preview-head { display: grid; }
  .mail-preview-actions { flex-direction: column-reverse; }
  .mail-preview-actions .btn { justify-content: center; }
  .form-row { flex-direction: column; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .site-header, .topbar { padding-right: 16px; padding-left: 16px; }
  .brand { gap: 9px; }
  .brand__circle { flex-basis: 44px; width: 44px !important; height: 44px !important; min-width: 44px !important; }
  .brand__text { font-size: .92rem; }
  .hero, .pageHero, .section { padding-right: 16px; padding-left: 16px; }
  .hero { padding-top: 44px; padding-bottom: 44px; }
  .hero h1, .pageHero h1 { font-size: clamp(1.8rem,8vw,2.4rem); line-height: 1.2; }
  .hero p, .pageHero p { font-size: 1rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; min-height: 56px; padding: 14px 18px; white-space: normal; }
  .infoTable, .infoTable tbody, .infoTable tr, .infoTable td { display: block; width: 100%; }
  .infoTable td { padding: 3px 0; }
  .hero__box .hint-row { grid-template-columns: 1fr; row-gap: 2px; }
  .hero__box .label { white-space: normal; }
  .hero__box .value { min-width: 0; }
  .hero__right { font-size: .92rem; }
  .bilder { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; max-width: 100%; }
  .bilder img { width: 100%; height: 82px; }
  .hero .bilder { max-width: 300px !important; gap: 8px !important; }
  .hero .bilder img { height: 60px !important; }
  .box, .ctaBox, .formBox, .splitRight { padding: 20px; }
  .formBox { padding: 20px; }
  .radioGroup { flex-direction: column; gap: 10px; }
  .footer, .footer__links { flex-direction: column; }
  .footer__links { gap: 8px; }
  .cookie-banner { padding: 18px; }
  .cookie-banner .button-group { flex-direction: column; }
  .ultrasound-images { grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 7px; margin-top: 30px; }
  .ultrasound-images__card { aspect-ratio: 1/1; border-radius: 6px; }
  .infoSection { width: 100%; padding-right: 14px; padding-left: 14px; }
  .infoColumns { gap: 18px; }
  .infoPanel, .infoPanel--speakers { height: min(590px,70vh); border-radius: 14px; }
  .infoPanel__header { min-height: 82px; padding: 16px; }
  .infoPanel__header h2 { font-size: 1.25rem; }
  .infoPanel__hint { display: none; }
  .infoPanel__scroll { padding: 13px; }
  .programDay { margin-bottom: 13px; padding: 14px; }
  .programDay h3 { margin: -14px -14px 0; padding: 14px; font-size: .98rem; }
  .programDay > p { margin: 0 -14px 7px; padding: 7px 14px; }
  .programDay li { font-size: .86rem; }
  .speakersScroll { padding: 4px 16px 12px; }
  .speakersScroll p { padding: 13px 0; }
  .programDownload { width: 100%; margin-top: 24px; padding: 24px 16px; }
  .programDownload__button { width: 100%; min-width: 0; }
  .downloadOverview, .downloadDay { padding: 17px; }
  .downloadDay .btn, .downloadActions .btn { width: 100%; white-space: normal; }
  .downloadActions { justify-content: stretch; }
  .downloadActions .btn { width: 100%; }
  .hero__layout--fees { margin-top: 28px; }
  .admin-header { align-items: flex-start; flex-direction: column; }
  .admin-header__nav { justify-content: flex-start; }
  .page { padding: 20px 14px 40px; }
  .card-header, .toolbar { padding: 15px; }
  .alert { margin: 12px; }
  .mail-preview-actions .btn { width: 100%; }
  .login-card { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
