/* Schwimmschule Marco Baldauf – verspielt und hell: türkises Wasser, Sonnengelb, Korallenrot,
   dazu das Violett aus dem Logo (Meerjungfrauen-Flosse) für Schrift und Links.
   Runde Schrift, Wellenkanten zwischen den Abschnitten, Bahnleine aus runden Schwimmern. */

@font-face { font-family: "Fredoka"; src: url("fonts/Fredoka-Variable.woff") format("woff"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/Nunito-Variable.woff") format("woff"); font-weight: 200 1000; font-display: swap; }

:root {
  --sky: #E7F7FB;       /* helles Becken */
  --foam: #FFFFFF;
  --pool: #22B0D8;      /* Türkis */
  --pool-2: #0E8FBF;
  --deep: #2C1A5C;      /* Logo-Aubergine: Überschriften, Fuß */
  --violet: #4A55A8;    /* Logo-Violett: Links, Akzente */
  --sun: #FFC93C;       /* Sonne, Anmelde-Aktionen */
  --coral: #FF7A59;
  --mint: #4FCFA0;
  --ink: #183847;
  --muted: #557886;
  --line: #CBE9F1;
  --ok: #17784D;
  --err: #C0392B;

  --display: "Fredoka", "Baloo 2", "Comic Neue", "Trebuchet MS", system-ui, sans-serif;
  --body: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step--1: 0.9rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.7rem;
  --step-3: clamp(2rem, 1.4rem + 2.4vw, 2.8rem);
  --step-4: clamp(2.5rem, 1.5rem + 4.6vw, 4.4rem);

  --wrap: 72rem;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --r-lg: 28px;
  --r-md: 18px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--sky);
  color: var(--ink);
  font: 500 var(--step-0)/1.65 var(--body);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); font-weight: 700; text-underline-offset: 0.2em; text-decoration-thickness: 2px; }
a:hover { color: var(--deep); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.08; text-wrap: balance; margin: 0; color: var(--deep); font-weight: 600; }
h1 { font-size: var(--step-4); font-weight: 700; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0; max-width: 65ch; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.skip { position: absolute; left: -999px; top: 0; background: var(--sun); color: var(--deep); padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- Kopfzeile ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--foam); }
.top { background: var(--foam); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; box-shadow: 0 2px 0 var(--line); }
.top .wrap { display: flex; align-items: center; gap: 1rem; min-height: 5rem; }
.brand { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; padding-block: 0.35rem; }
.brand img { height: 68px; width: auto; display: block; }
@media (max-width: 600px) { .brand img { height: 56px; } }
.intern-label { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--deep); border-left: 2px solid var(--line); padding-left: 0.8rem; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 0.2rem; }
.nav a { color: var(--ink); text-decoration: none; padding: 0.5rem 0.75rem; border-radius: 999px; font-size: 0.98rem; font-weight: 700; white-space: nowrap; }
.nav a:hover { background: var(--sky); color: var(--deep); }
.nav a[aria-current="page"] { background: var(--pool); color: #fff; }
.nav .call { background: var(--sun); color: var(--deep); margin-left: 0.3rem; }
.nav .call:hover { background: #FFD766; }
.menu-btn { display: none; margin-left: auto; background: var(--pool); border: 0; color: #fff; border-radius: 999px; padding: 0.55rem 1.1rem; font: 700 1rem var(--body); cursor: pointer; }

@media (max-width: 1180px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--foam); flex-direction: column; align-items: stretch; padding: 0.5rem var(--gutter-r) 1.2rem var(--gutter); gap: 0.2rem; box-shadow: 0 14px 24px -14px rgba(10, 85, 119, 0.35); }
  .nav.open { display: flex; }
  .nav a { padding: 0.8rem 1rem; border-radius: 14px; }
  .nav .call { margin-left: 0; text-align: center; }
}

/* ---------- Wasser-Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(180deg, #2CC0E4 0%, var(--pool) 45%, var(--pool-2) 100%);
}
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2.5rem; padding-block: 3.4rem 6.5rem; align-items: center; }
.hero h1, .hero h2 { color: #fff; }
.hero h1 { text-shadow: 0 3px 0 rgba(44, 26, 92, 0.22); }
.hero .lead { color: #EFFBFF; font-size: var(--step-1); font-weight: 600; margin-top: 1.1rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.8rem; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 80px; z-index: 1; display: block; }
.page-hero .wrap { display: block; padding-block: 2.6rem 5.5rem; }
.page-hero .lead { max-width: 58ch; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; gap: 2rem; padding-block: 2.4rem 5.5rem; } }

/* Blasen */
.bubbles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.bubbles i { position: absolute; bottom: -40px; border-radius: 50%; border: 2px solid rgba(255,255,255,.65); background: rgba(255,255,255,.12); animation: rise linear infinite; }
.bubbles i:nth-child(1) { left: 6%;  width: 18px; height: 18px; animation-duration: 11s; }
.bubbles i:nth-child(2) { left: 18%; width: 10px; height: 10px; animation-duration: 8s; animation-delay: -3s; }
.bubbles i:nth-child(3) { left: 33%; width: 24px; height: 24px; animation-duration: 14s; animation-delay: -6s; }
.bubbles i:nth-child(4) { left: 52%; width: 12px; height: 12px; animation-duration: 9s; animation-delay: -1s; }
.bubbles i:nth-child(5) { left: 68%; width: 20px; height: 20px; animation-duration: 12s; animation-delay: -8s; }
.bubbles i:nth-child(6) { left: 84%; width: 14px; height: 14px; animation-duration: 10s; animation-delay: -4s; }
.bubbles i:nth-child(7) { left: 93%; width: 26px; height: 26px; animation-duration: 15s; animation-delay: -10s; }
@keyframes rise { from { transform: translateY(0); opacity: .9; } to { transform: translateY(-640px); opacity: 0; } }

.sun { position: absolute; right: -40px; top: -40px; width: 170px; height: 170px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 18px rgba(255, 201, 60, .25), 0 0 0 38px rgba(255, 201, 60, .12); z-index: 0; }
@media (max-width: 600px) { .sun { width: 110px; height: 110px; right: -35px; top: -35px; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.9rem 1.45rem; border-radius: 999px; font: 800 1.02rem var(--body); text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-sun { background: var(--sun); color: var(--deep); box-shadow: 0 5px 0 #E0A817; }
.btn-sun:hover { color: var(--deep); box-shadow: 0 7px 0 #E0A817; }
.btn-white { background: #fff; color: var(--pool-2); box-shadow: 0 5px 0 rgba(10, 85, 119, .25); }
.btn-white:hover { color: var(--deep); }
.btn-pool { background: var(--pool); color: #fff; box-shadow: 0 5px 0 var(--pool-2); }
.btn-pool:hover { color: #fff; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* Kursplan im Hero */
.board { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 1.4rem 1.4rem 0.9rem; box-shadow: 0 10px 0 rgba(10, 85, 119, .18); position: relative; }
.board h2 { color: var(--deep); font-size: var(--step-2); display: flex; align-items: center; gap: 0.5rem; }
.board-duck { width: 42px; height: 42px; flex: none; }
.board-list { list-style: none; margin: 0.6rem 0 0; padding: 0; }
.board-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.9rem; align-items: center; padding: 0.75rem 0; border-top: 2px dashed var(--line); }
.board-date { width: 3.6rem; height: 3.6rem; border-radius: 50%; background: var(--sky); display: grid; place-content: center; text-align: center; line-height: 1; font-family: var(--display); color: var(--deep); }
.board-list li:nth-child(4n+1) .board-date { background: #FFF1C9; }
.board-list li:nth-child(4n+2) .board-date { background: #DDF6EC; }
.board-list li:nth-child(4n+3) .board-date { background: #FFE2D9; }
.board-date b { display: block; font-size: 1.35rem; font-weight: 700; }
.board-date span { font-size: 0.78rem; font-weight: 600; color: var(--muted); }
.board-what { min-width: 0; }
.board-what strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--deep); }
.board-what span { color: var(--muted); font-size: 0.93rem; }
.board-go { font-size: 0.95rem; white-space: nowrap; background: var(--sun); color: var(--deep); text-decoration: none; padding: 0.4rem 0.85rem; border-radius: 999px; }
.board-go:hover { background: #FFD766; color: var(--deep); }
.board-empty { color: var(--muted); padding: 0.8rem 0 1rem; border-top: 2px dashed var(--line); }

/* ---------- Abschnitte ---------- */
.section { padding-block: 3.2rem; }
.section-head { display: grid; gap: 0.6rem; margin-bottom: 1.8rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.prose { display: grid; gap: 1rem; }
.prose ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.35rem; max-width: 65ch; }
.prose h2 { margin-top: 0.8rem; }
.prose h3 { margin-top: 0.5rem; }
.band { background: #fff; position: relative; }
.band::before, .band::after { content: ""; position: absolute; left: 0; right: 0; height: 26px; background: #fff;
  -webkit-mask: radial-gradient(18px 14px at 50% 0, transparent 98%, #000) 0 0 / 52px 26px repeat-x;
          mask: radial-gradient(18px 14px at 50% 0, transparent 98%, #000) 0 0 / 52px 26px repeat-x; }
.band::before { top: -25px; transform: scaleY(-1); }
.band::after { bottom: -25px; }

/* Bahnleine aus runden Schwimmern */
.rope { height: 22px; margin-block: 0.5rem;
  background:
    radial-gradient(circle at 11px 11px, var(--coral) 0 9px, transparent 10px) 0 0 / 88px 22px repeat-x,
    radial-gradient(circle at 33px 11px, var(--sun) 0 9px, transparent 10px) 0 0 / 88px 22px repeat-x,
    radial-gradient(circle at 55px 11px, var(--pool) 0 9px, transparent 10px) 0 0 / 88px 22px repeat-x,
    radial-gradient(circle at 77px 11px, var(--mint) 0 9px, transparent 10px) 0 0 / 88px 22px repeat-x,
    linear-gradient(var(--line), var(--line)) 0 10px / 100% 3px no-repeat; }

/* Fakten-Blasen */
.marks { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.mark { background: rgba(255,255,255,.18); border: 2px solid rgba(255,255,255,.6); border-radius: 999px; padding: 0.45rem 1.05rem; display: flex; align-items: baseline; gap: 0.45rem; }
.mark b { font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: #fff; font-variant-numeric: tabular-nums; }
.mark span { font-size: 0.95rem; color: #EFFBFF; font-weight: 700; }

/* Kursstufen mit Tierfiguren */
.levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
@media (max-width: 900px) { .levels { grid-template-columns: 1fr; } }
.level { background: #fff; border-radius: var(--r-lg); padding: 1.5rem; display: grid; gap: 0.9rem; align-content: start; min-width: 0; box-shadow: 0 6px 0 var(--line); }
.level-icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: #FFF1C9; }
.level:nth-child(2) .level-icon { background: #FFE2D9; }
.level:nth-child(3) .level-icon { background: #DDF6EC; }
.level-icon svg { width: 54px; height: 54px; }
.level h3 { font-size: var(--step-2); }
.level dl { margin: 0; display: grid; gap: 0.6rem; }
.level dt { font-size: 0.85rem; font-weight: 800; color: var(--coral); }
.level dd { margin: 0; }

/* Kursorte */
.places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
@media (max-width: 900px) { .places { grid-template-columns: 1fr; } }
.place { border-radius: var(--r-lg); padding: 1.5rem 1.5rem 1.4rem; display: grid; gap: 0.35rem; text-decoration: none; color: #fff; position: relative; overflow: hidden; min-height: 12.5rem; align-content: start; transition: transform .15s ease; font-weight: 600; }
.place:hover { transform: translateY(-4px) rotate(-0.5deg); color: #fff; }
.place::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34px; background: rgba(255,255,255,.22);
  -webkit-mask: radial-gradient(20px 16px at 50% 0, transparent 98%, #000) 0 0 / 56px 34px repeat-x;
          mask: radial-gradient(20px 16px at 50% 0, transparent 98%, #000) 0 0 / 56px 34px repeat-x; }
.place.c1 { background: var(--pool); }
.place.c2 { background: var(--coral); }
.place.c3 { background: var(--violet); }
.place h3 { color: #fff; font-size: var(--step-3); }
.place .meta { opacity: 0.95; }
.place .price { font-family: var(--display); font-weight: 600; font-size: 1.2rem; }
.place .next { margin-top: 0.4rem; display: inline-block; justify-self: start; background: #fff; color: var(--deep); border-radius: 999px; padding: 0.3rem 0.85rem; font-weight: 800; font-size: 0.92rem; position: relative; z-index: 1; }

/* Zwei Spalten */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Fotos mit runder Welle (Ersatzfläche, falls ein Bild fehlt) */
.photo { border-radius: 44px 44px 44px 12px; overflow: hidden; aspect-ratio: 3 / 2; max-width: 100%; position: relative;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.35) 0 14px, transparent 15px), radial-gradient(circle at 70% 60%, rgba(255,255,255,.25) 0 22px, transparent 23px), linear-gradient(160deg, #47CBEA, var(--pool-2));
  box-shadow: 10px 10px 0 var(--sun); }
.photo.alt { box-shadow: -10px 10px 0 var(--coral); border-radius: 44px 44px 12px 44px; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.missing img { display: none; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.gallery .photo { box-shadow: 0 6px 0 var(--line); border-radius: 26px; }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Kurskarten ---------- */
.courses { display: grid; gap: 1.4rem; }
.course { background: #fff; border-radius: var(--r-lg); padding: 1.4rem; display: grid; gap: 0.9rem; min-width: 0; box-shadow: 0 6px 0 var(--line); }
.course-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1rem; }
.course-head h3 { font-size: var(--step-2); }
.course-head .time { font-family: var(--display); font-weight: 600; font-size: var(--step-1); color: #fff; background: var(--pool); border-radius: 999px; padding: 0.15rem 0.9rem; font-variant-numeric: tabular-nums; }
.course-head .tag { margin-left: auto; font-size: 0.88rem; font-weight: 800; padding: 0.25rem 0.8rem; border-radius: 999px; background: #DDF6EC; color: var(--ok); }
.course-head .tag.full { background: #FFE2D9; color: var(--err); }
.course .levels-line { color: var(--muted); font-weight: 600; }
.days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.7rem; }
@media (max-width: 560px) { .days { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.day { background: var(--sky); border-radius: var(--r-md); padding: 0.6rem 0.8rem; display: grid; gap: 0.05rem; }
.day small { font-size: 0.8rem; color: var(--coral); font-weight: 800; }
.day b { font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--deep); font-variant-numeric: tabular-nums; }
.course .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.notice { background: #FFF6DA; border-radius: var(--r-md); padding: 1rem 1.2rem; font-weight: 600; }

/* ---------- Formulare ---------- */
.form { background: #fff; border-radius: var(--r-lg); padding: clamp(1.25rem, 3vw, 2.2rem); display: grid; gap: 1.8rem; box-shadow: 0 6px 0 var(--line); }
.form-body { display: grid; gap: 1.8rem; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 0.9rem; min-width: 0; }
.form legend { font-family: var(--display); font-weight: 600; font-size: var(--step-2); color: var(--deep); padding: 0; margin-bottom: 0.7rem; display: flex; align-items: center; gap: 0.55rem; }
.form legend .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--sun); flex: none; }
.form fieldset:nth-of-type(2) legend .dot { background: var(--coral); }
.form fieldset:nth-of-type(3) legend .dot { background: var(--mint); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.1rem; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.3rem; min-width: 0; }
.field label, .field .label { font-weight: 800; font-size: 0.97rem; }
.field .opt { font-weight: 600; color: var(--muted); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="number"], .form select, .form textarea {
  width: 100%; font: 600 1rem var(--body); color: var(--ink); background: var(--sky); border: 2px solid transparent; border-radius: 14px; padding: 0.75rem 0.9rem;
}
.form textarea { min-height: 8rem; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--pool); background: #fff; }
.form [aria-invalid="true"] { border-color: var(--err); background: #FFF4F2; }
.choices { display: flex; flex-wrap: wrap; gap: 0.6rem; border-radius: 999px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-block; padding: 0.6rem 1.15rem; border-radius: 999px; background: var(--sky); font-weight: 800; }
.choice input:checked + span { background: var(--pool); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 2px; }
.choices[aria-invalid="true"] { outline: 2px solid var(--err); outline-offset: 4px; }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.97rem; flex-wrap: wrap; }
.consent > span { flex: 1 1 0; min-width: 0; }
.consent input { width: 1.35rem; height: 1.35rem; margin-top: 0.15rem; flex: none; accent-color: var(--pool); }
.consent .err-text { flex-basis: 100%; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-msg { border-radius: var(--r-md); padding: 1rem 1.2rem; font-weight: 800; }
.form-msg.ok { background: #DDF6EC; color: var(--ok); }
.form-msg.err { background: #FFE2D9; color: var(--err); }
.err-text { color: var(--err); font-size: 0.9rem; font-weight: 700; }
.spinner { width: 1.3rem; height: 1.3rem; border: 4px solid var(--line); border-top-color: var(--pool); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Kontakt & Fuß ---------- */
.contact-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
@media (max-width: 800px) { .contact-strip { grid-template-columns: 1fr; } }
.contact-strip.stack { grid-template-columns: 1fr; }
.contact-strip div { background: #fff; border-radius: var(--r-lg); padding: 1.3rem 1.4rem; display: grid; gap: 0.2rem; min-width: 0; overflow-wrap: anywhere; box-shadow: 0 6px 0 var(--line); }
.contact-strip small { color: var(--coral); font-weight: 800; font-size: 0.9rem; }
.contact-strip a, .contact-strip strong { font-family: var(--display); font-weight: 600; font-size: var(--step-1); color: var(--deep); text-decoration: none; }

.foot { background: var(--deep); color: #DCD6F0; margin-top: 4rem; }
.foot-rope { margin: 0; height: 22px; background-color: var(--deep); border-bottom: 0; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 2rem; padding-block: 2.6rem 1.6rem; align-items: start; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-logo { height: 92px; width: auto; }
.foot-col { display: grid; gap: 0.4rem; align-content: start; min-width: 0; overflow-wrap: anywhere; font-size: 0.97rem; }
.foot-col strong { font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: #fff; margin-bottom: 0.2rem; }
.foot a { color: #fff; text-decoration-color: rgba(255,255,255,.35); }
.foot a:hover { color: var(--sun); text-decoration-color: currentColor; }
.foot-copy { border-top: 1px solid rgba(255,255,255,.15); padding-block: 1.1rem 1.6rem; font-size: 0.88rem; color: #B9B0DA; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; border-left: 4px dotted var(--pool); }
.timeline li { padding: 0 0 1.15rem 1.3rem; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -12px; top: 0.3rem; width: 20px; height: 20px; border-radius: 50%; background: var(--sun); border: 4px solid #fff; box-shadow: 0 0 0 2px var(--sun); }
.timeline time { display: block; font-weight: 800; color: var(--coral); font-size: 0.92rem; font-variant-numeric: tabular-nums; }

/* Link zu den Kursen in der Schweiz & Deutschland (eigene Website) */
.ext-icon { width: 0.95em; height: 0.95em; flex: none; }
.flags { display: inline-flex; flex: none; }
.flags i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; display: block; box-shadow: 0 0 0 1px var(--line); }
.flags i + i { margin-left: -6px; }
.f-ch { background:
  linear-gradient(#fff, #fff) center / 9px 3px no-repeat,
  linear-gradient(#fff, #fff) center / 3px 9px no-repeat,
  #E8202A; }
.f-de { background: linear-gradient(#1a1a1a 0 33.3%, #DD0000 33.3% 66.6%, #FFCE00 66.6%); }
.nav a.abroad { display: inline-flex; align-items: center; gap: 0.45rem; border: 2px dashed var(--violet); color: var(--violet); padding: 0.35rem 0.75rem 0.35rem 0.45rem; margin-left: 0.3rem; }
.nav a.abroad:hover { background: #EEEFFA; border-style: solid; color: var(--deep); }
@media (max-width: 1180px) { .nav a.abroad { margin: 0.4rem 0 0; justify-content: center; } }

.abroad-banner { margin-top: 1.4rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; background: #fff; border: 3px dashed var(--violet); border-radius: var(--r-lg); padding: 1.2rem 1.4rem; text-decoration: none; color: var(--ink); font-weight: 600; }
.abroad-banner:hover { border-style: solid; color: var(--ink); }
.abroad-banner .flags i { width: 34px; height: 34px; border-width: 3px; }
.abroad-banner .f-ch { background-size: 17px 6px, 6px 17px, auto; }
.abroad-banner .flags i + i { margin-left: -10px; }
.abroad-text { display: grid; gap: 0.15rem; flex: 1 1 18rem; min-width: 0; }
.abroad-text strong { font-family: var(--display); font-weight: 600; font-size: var(--step-1); color: var(--deep); }
.abroad-go { display: inline-flex; align-items: center; gap: 0.45rem; background: var(--violet); color: #fff; padding: 0.6rem 1.1rem; border-radius: 999px; font-weight: 800; white-space: nowrap; }
