/* =========================================================
   MEDIPATEN – Stylesheet
   Farben & Schriften angelehnt an Logo und Social-Media-Slides
   ========================================================= */
/* Schriften lokal eingebunden (SIL Open Font License) – keine Verbindung zu Google nötig */
@font-face { font-family: "Bungee"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/bungee-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Titan One"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/titan-one-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 300; font-display: swap; src: url("assets/fonts/lexend-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/lexend-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/lexend-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/lexend-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/lexend-latin-700-normal.woff2") format("woff2"); }

:root {
  --navy: #12305e;
  --navy-deep: #0c2449;
  --navy-soft: #1c3f74;
  --pink: #ff7bac;
  --magenta: #ff5fa8;
  --teal: #1fc2c2;
  --yellow: #ffd25e;
  --orange: #ff8a1f;
  --coral: #ff5a4e;
  --sun: #ffe27a;

  --ink: #14284a;
  --muted: #5b6b85;
  --bg: #ffffff;
  --bg-tint: #f4f7fc;
  --line: #e3e9f3;

  --ccf-1: #8a96c8;
  --ccf-2: #d6a1bd;
  --ccf-3: #a9d3d3;

  --radius: 22px;
  --shadow: 0 14px 40px rgba(18, 48, 94, .10);
  --font-display: "Bungee", "Lexend", system-ui, sans-serif;
  --font-fun: "Titan One", "Lexend", system-ui, sans-serif;
  --font-body: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .6em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; color: var(--navy); }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(860px, 100% - 32px); }
.center { text-align: center; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .75em 1.4em;
  border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.btn-primary { background: var(--pink); color: #fff; box-shadow: 0 8px 20px rgba(255, 95, 168, .35); }
.btn-primary:hover { background: var(--magenta); box-shadow: 0 12px 26px rgba(255, 95, 168, .45); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-lg { padding: .95em 1.8em; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(18,48,94,.08); }
.header-inner { display: flex; align-items: center; gap: 22px; height: var(--header-h); width: min(1400px, 100% - 32px); }
.logo-medipaten { width: 207px; height: auto; }
.brand-support { display: flex; align-items: center; gap: 10px; padding-left: 20px; border-left: 1px solid var(--line); }
/* Logos behalten immer ihr Seitenverhältnis; wird es eng, schrumpfen sie proportional */
.brand, .brand-support { flex: 0 1 auto; min-width: 0; }
.brand-support > a { min-width: 0; display: block; }
.logo-medipaten, .logo-ccf { max-width: 100%; height: auto; display: block; }
.nav-toggle { flex-shrink: 0; }
.brand-support span { font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); line-height: 1.25; width: 92px; }
.logo-ccf { width: 138px; height: auto; }
.main-nav { display: flex; gap: 16px; margin-left: auto; white-space: nowrap; }
.main-nav a { text-decoration: none; font-weight: 500; font-size: .96rem; color: var(--navy); position: relative; padding: 4px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 3px; width: 100%; border-radius: 3px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.btn-header { padding: .6em 1.25em; white-space: nowrap; flex-shrink: 0; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; border-radius: 2px; background: var(--navy); margin: 5px 0; transition: transform .25s, opacity .25s; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(72px, 10vw, 120px) 0; overflow: hidden; }
.section-light { background: var(--bg); }
.section-tint { background: var(--bg-tint); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 52px; }
.kicker { font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: .8em; }
.display { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: .01em; line-height: 1.08; }
.title-bar { display: block; width: 90px; height: 5px; border-radius: 5px; background: var(--teal); margin: 18px 0 28px; }
.center .title-bar { margin-inline: auto; }

/* rainbow decoration (like the slides) */
.rainbow {
  position: absolute; width: 260px; height: 260px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle,
    transparent 0 38%, var(--coral) 38% 48%, transparent 48% 52%,
    var(--pink) 52% 62%, transparent 62% 66%,
    var(--yellow) 66% 76%, transparent 76% 80%,
    var(--teal) 80% 90%, transparent 90%);
  opacity: .95;
}
.rainbow-left { left: -130px; bottom: -130px; }
.rainbow-right { right: -130px; top: -130px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(31,194,194,.18), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(255,123,172,.16), transparent 60%),
    var(--navy);
  color: #fff;
  padding: clamp(56px, 8vw, 96px) 0 clamp(80px, 10vw, 120px);
}
.hero-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.eyebrow { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); font-weight: 600; }
.hero h1 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.08; margin-bottom: .5em; }
.hl-pink { color: var(--pink); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: rgba(255,255,255,.88); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-scene { position: relative; }
.scene { width: 100%; height: auto; overflow: hidden; }
.replay { position: absolute; right: 8px; bottom: 0; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 4px 12px; font: inherit; font-size: .8rem; cursor: pointer; opacity: 0; transition: opacity .3s, background .2s; }
.replay.show { opacity: 1; }
.replay:hover { background: rgba(255,255,255,.2); }
.scroll-hint { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); width: 28px; height: 44px; border: 2px solid rgba(255,255,255,.5); border-radius: 16px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrolldot 1.8s ease-in-out infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- SVG scene styling ---------- */
.ground { fill: rgba(255,255,255,.08); }
.limb { fill: none; stroke-linecap: round; stroke-width: 18; }
.coat { fill: #ffffff; }
.coat-arm { stroke: #ffffff; stroke-width: 17; }
.coat-line { stroke: #d7deea; stroke-width: 2; }
.shirt-w { fill: var(--teal); }
.shirt-m { fill: var(--navy-soft); }
.pocket { fill: #eef2f8; }
.pants-w { stroke: #3b5a8f; stroke-width: 16; }
.pants-m { stroke: #26406b; stroke-width: 17; }
.shoe { fill: #0c1c38; }
.skin-w { fill: #f2c9a5; }
.skin-m { fill: #c98e64; }
.skin-c { fill: #f6d3b5; }
.hair-w { fill: #7a4a2b; }
.hair-m { fill: #2b1e17; }
.eye { fill: #14284a; }
.smile { fill: none; stroke: #14284a; stroke-width: 3; stroke-linecap: round; }
.cheek { fill: #ff9fbf; opacity: .6; }
.stetho { fill: none; stroke: var(--navy-soft); stroke-width: 3; stroke-linecap: round; }
.stetho-dot { fill: var(--navy-soft); }
.shirt-c { fill: var(--yellow); }
.shirt-c-arm { stroke: var(--yellow); stroke-width: 13; }
.pants-c { stroke: var(--teal); stroke-width: 13; }
.shoe-c { fill: var(--coral); }
.beanie { fill: var(--pink); }
.beanie-band { fill: var(--magenta); }
.beanie-pom { fill: var(--sun); }
.heart { fill: var(--pink); transform-box: fill-box; transform-origin: center; }
.heart-3 { fill: var(--coral); }
.sparkles circle { animation: twinkle 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.sparkles circle:nth-child(2) { animation-delay: .8s; }
.sparkles circle:nth-child(3) { animation-delay: 1.6s; }
.sparkles circle:nth-child(4) { animation-delay: 2.2s; }
@keyframes twinkle { 0%, 100% { opacity: .3; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.2); } }

/* Default = final pose, so the scene is complete even without JavaScript
   (e.g. file previews on phones) or with reduced motion. */
.scene g { transform-box: view-box; }
.arm-reach-left  { transform: rotate(-23.7deg); }
.arm-reach-right { transform: rotate(23.7deg); }
.child-arm-left  { transform: rotate(137deg); }
.child-arm-right { transform: rotate(-137deg); }

/* armed (set by JS right before playing): walkers wait outside the stage */
.scene.armed .walker-left  { transform: translateX(-560px); }
.scene.armed .walker-right { transform: translateX(560px); }
.scene.armed .arm-reach-left, .scene.armed .arm-reach-right,
.scene.armed .child-arm-left, .scene.armed .child-arm-right { transform: none; }
.scene.armed .heart { opacity: 0; }

/* play */
.scene.play .walker-left  { animation: walkInLeft 2.4s cubic-bezier(.25,.8,.35,1) both; }
.scene.play .walker-right { animation: walkInRight 2.4s cubic-bezier(.25,.8,.35,1) both; }
.scene.play .leg-a { animation: legSwing .4s ease-in-out 6 both; }
.scene.play .leg-b { animation: legSwing .4s ease-in-out 6 reverse both; }
.scene.play .arm-back { animation: legSwing .4s ease-in-out 6 reverse both; }
.scene.play .bob { animation: bob .2s ease-in-out 12 alternate both; }
.scene.play .arm-reach-left  { animation: reachLeft .6s 2.45s cubic-bezier(.3,1.4,.5,1) both; }
.scene.play .arm-reach-right { animation: reachRight .6s 2.45s cubic-bezier(.3,1.4,.5,1) both; }
.scene.play .child-arm-left  { animation: childLeft .6s 2.3s cubic-bezier(.3,1.3,.5,1) both; }
.scene.play .child-arm-right { animation: childRight .6s 2.3s cubic-bezier(.3,1.3,.5,1) both; }
.scene.play .child-bob { animation: childHop .7s 3.1s ease-out 2 both; }
.scene.play .heart-1 { animation: heartPop 1s 3.2s ease-out both, heartFloat 3s 4.2s ease-in-out infinite; }
.scene.play .heart-2 { animation: heartPop 1s 3.4s ease-out both, heartFloat 3s 4.4s ease-in-out infinite; }
.scene.play .heart-3 { animation: heartPop 1s 3.7s ease-out both, heartFloat 3s 4.7s ease-in-out infinite; }


@keyframes walkInLeft  { from { transform: translateX(-560px); } to { transform: translateX(0); } }
@keyframes walkInRight { from { transform: translateX(560px); } to { transform: translateX(0); } }
@keyframes legSwing { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(16deg); } 75% { transform: rotate(-16deg); } }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-5px); } }
@keyframes reachLeft  { from { transform: rotate(0); } to { transform: rotate(-23.7deg); } }
@keyframes reachRight { from { transform: rotate(0); } to { transform: rotate(23.7deg); } }
@keyframes childLeft  { from { transform: rotate(0); } to { transform: rotate(137deg); } }
@keyframes childRight { from { transform: rotate(0); } to { transform: rotate(-137deg); } }
@keyframes childHop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px); } }
@keyframes heartPop { 0% { opacity: 0; transform: scale(0) translateY(10px); } 60% { opacity: 1; transform: scale(1.3) translateY(-4px); } 100% { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes heartFloat { 0%, 100% { opacity: 1; transform: translateY(0) scale(1); } 50% { opacity: 1; transform: translateY(-6px) scale(1.08); } }

/* ---------- Idee ---------- */
.big-quote { margin: 0 0 24px; font-size: clamp(1.45rem, 3vw, 2.2rem); font-weight: 600; line-height: 1.35; color: var(--navy); }
.big-quote span { background-repeat: no-repeat; background-size: 100% .35em; background-position: 0 88%; }
.u-teal { background-image: linear-gradient(rgba(31,194,194,.35), rgba(31,194,194,.35)); }
.u-yellow { background-image: linear-gradient(rgba(255,210,94,.6), rgba(255,210,94,.6)); }
.u-pink { background-image: linear-gradient(rgba(255,123,172,.4), rgba(255,123,172,.4)); }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; align-items: center; }
.split-reverse { grid-template-columns: 1.1fr 1fr; }
.section-navy p { color: rgba(255,255,255,.9); font-size: 1.12rem; }
.section-navy strong { color: #fff; }
.otter-wrap { display: flex; justify-content: center; }
.otter { width: min(360px, 80%); }
.float { animation: float 4s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1.5deg); } }
.chips { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 6px 16px; font-weight: 500; }

/* ---------- Cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { border-radius: var(--radius); padding: 32px 28px; transition: transform .3s ease, box-shadow .3s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-blue { background: #eaf4fd; }
.card-pink { background: #fdecf3; }
.card-green { background: #e8f7f1; }
.card-num { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #fff; font-weight: 700; color: var(--navy); margin-bottom: 18px; box-shadow: 0 4px 12px rgba(18,48,94,.08); }
.card h3 { color: var(--navy); }
.card ul { list-style: none; padding: 0; margin: 0; }
.card li { position: relative; padding-left: 22px; margin-bottom: 10px; color: #33445f; font-size: .98rem; }
.card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 9px; height: 9px; border-radius: 50%; }
.card-blue li::before { background: #3d8fe0; }
.card-pink li::before { background: var(--pink); }
.card-green li::before { background: #2fb383; }

/* ---------- Journey ---------- */
.journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 20px 0 48px; text-align: center; }
.journey-step { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 30px 22px; position: relative; }
.journey-step p { font-size: 1rem; margin: 0; }
.journey-step h3 { font-size: 1.15rem; }
.journey-icon { font-size: 2.2rem; margin-bottom: 10px; }
.section-navy .pink-line { font-family: var(--font-fun); color: var(--pink); font-size: clamp(1.8rem, 4.2vw, 3rem); line-height: 1.15; margin-bottom: 36px; }
.burst-row { display: flex; justify-content: center; }
.burst {
  display: grid; place-items: center; text-align: center; text-decoration: none;
  width: 230px; height: 230px; padding: 38px;
  background: var(--sun); color: var(--navy);
  font-family: var(--font-fun); font-size: 1.2rem; line-height: 1.2;
  clip-path: polygon(50% 0%, 59% 9%, 71% 4%, 75% 16%, 88% 15%, 86% 28%, 97% 33%, 90% 44%, 100% 52%, 90% 60%, 96% 72%, 84% 76%, 85% 89%, 72% 88%, 66% 99%, 55% 92%, 44% 100%, 37% 90%, 25% 95%, 22% 83%, 9% 82%, 12% 69%, 1% 62%, 9% 52%, 0% 43%, 10% 36%, 5% 24%, 17% 21%, 18% 8%, 31% 11%, 38% 1%);
  animation: wobble 5s ease-in-out infinite;
  transition: transform .2s;
}
.burst:hover { transform: scale(1.06) rotate(-4deg); animation-play-state: paused; }
@keyframes wobble { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(4deg); } }

/* ---------- Für Eltern ---------- */
.hero-parents { margin: 22px 0 0; font-size: .98rem; color: rgba(255,255,255,.8); }
.hero-parents a { color: var(--yellow); font-weight: 600; }
.parents { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 32px; align-items: start; }
.parents h3 { color: var(--navy); margin-bottom: 18px; }
.parents-flow { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.flow { list-style: none; margin: 0 0 24px; padding: 0; position: relative; }
.flow::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: linear-gradient(var(--yellow), var(--orange), var(--teal), var(--pink), var(--magenta)); }
.flow li { position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; padding-bottom: 16px; }
.flow li:last-child { padding-bottom: 0; }
.flow-num { position: relative; z-index: 1; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; border: 3px solid #fff; box-shadow: 0 3px 10px rgba(18,48,94,.15); }
.flow h4 { font-size: 1rem; color: var(--navy); margin: 7px 0 2px; }
.flow p { margin: 0; font-size: .95rem; color: #33445f; }
.parents-note { margin: 12px 0 0; font-size: .88rem; color: var(--muted); text-align: center; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: 0 8px 22px rgba(18,48,94,.08); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; font-weight: 600; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-tint); color: var(--magenta); font-size: 1.2rem; font-weight: 700; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 16px; }
.faq details p { margin: 0 20px 14px; color: #33445f; font-size: .97rem; }
.faq details p:last-child { margin-bottom: 18px; }
.faq details a { color: var(--magenta); font-weight: 600; }

/* ---------- Konzept ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 72px; }
.col-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: #fff; box-shadow: 0 4px 18px rgba(18,48,94,.04); }
.col-box h3 { color: var(--navy); display: flex; align-items: center; gap: 12px; }
.dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.dot-pink { background: var(--pink); }
.dot-teal { background: var(--teal); }
.check { list-style: none; padding: 0; margin: 0; }
.check li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.check li::before { content: "✓"; position: absolute; left: 0; top: .1em; width: 22px; height: 22px; border-radius: 50%; background: rgba(31,194,194,.15); color: #0f9b9b; font-size: .8rem; font-weight: 700; display: grid; place-items: center; }
.steps-title { color: var(--navy); font-size: 1.6rem; margin-bottom: 36px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; top: 32px; left: 12%; right: 12%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--yellow), var(--orange), var(--teal), var(--pink)); z-index: 0; }
.step { text-align: center; position: relative; z-index: 1; }
.step-num { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; color: #fff; font-family: var(--font-display); font-size: 1.6rem; border: 5px solid #fff; box-shadow: 0 6px 16px rgba(18,48,94,.12); }
.s1 { background: var(--yellow); color: var(--navy); }
.s2 { background: var(--orange); }
.s3 { background: var(--teal); }
.s4 { background: var(--pink); }
.step h4 { font-size: 1.15rem; color: var(--navy); margin-bottom: .3em; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- Standort ---------- */
.partner-logos { display: grid; gap: 20px; }
.logo-card { background: #fff; border-radius: var(--radius); padding: 28px 36px; box-shadow: var(--shadow); display: grid; place-items: center; }
.logo-card img { max-height: 110px; width: auto; mix-blend-mode: multiply; }
.logo-card-partner { position: relative; border: 2px solid var(--teal); padding-top: 40px; }
.partner-badge { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); white-space: nowrap; background: var(--teal); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .04em; padding: 6px 14px; border-radius: 999px; box-shadow: 0 6px 14px rgba(31,194,194,.35); }
#standort h2 { margin-bottom: .5em; }

/* ---------- Standorte (Karte) ---------- */
.locations { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.locations .map { margin-bottom: 44px; }
.map { position: relative; margin: 0; width: 100%; max-width: 460px; justify-self: center; aspect-ratio: 399.9 / 530.3; }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map-land { fill: #e9f0fa; stroke: #b9c8df; stroke-width: 1.2; stroke-linejoin: round; }
.map-pins { list-style: none; margin: 0; padding: 0; }
.map-pin { position: absolute; width: 0; height: 0; z-index: 1; }
.map-pin:hover, .map-pin:focus-within { z-index: 3; }
.map-pin a { color: inherit; text-decoration: none; }
.map-pin a:focus-visible { outline: none; }
.map-pin a:focus-visible .pin-logo { outline: 3px solid var(--teal); outline-offset: 3px; }
.pin-logo {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%);
  width: 50px; height: 50px; border-radius: 50%; background: #fff;
  display: grid; place-items: center;
  border: 3px solid var(--c, var(--pink)); box-shadow: 0 6px 16px rgba(18,48,94,.18);
  transition: transform .25s ease, box-shadow .25s ease;
}
.pin-logo img { width: 74%; height: auto; }
.pin-logo::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%;
  border: 3px solid var(--c, var(--pink)); opacity: 0; animation: pinPulse 2.8s ease-out infinite;
  animation-delay: calc(var(--i) * .45s);
}
.map-pin a:hover .pin-logo, .map-pin a:focus-visible .pin-logo { transform: translate(-50%, -50%) scale(1.14); box-shadow: 0 10px 22px rgba(18,48,94,.25); }
.pin-label {
  position: absolute; top: 0; transform: translateY(-50%);
  display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 5px;
  font-size: .9rem; line-height: 1.2; color: var(--navy); white-space: nowrap;
  background: rgba(255,255,255,.94); padding: 4px 9px 4px 7px; border-radius: 8px;
  box-shadow: 0 2px 8px rgba(18,48,94,.08);
}
.pin-ig { width: 14px; height: 14px; color: var(--magenta); }
.pin-handle { display: none; grid-column: 1 / -1; font-size: .74rem; font-weight: 500; color: var(--magenta); }
.map-pin a:hover .pin-handle, .map-pin a:focus-visible .pin-handle { display: block; }
.map-pin a:hover .pin-label, .map-pin a:focus-visible .pin-label { background: #fff; box-shadow: 0 6px 18px rgba(18,48,94,.16); }
.pin-right .pin-label { left: 31px; }
.pin-left .pin-label { right: 31px; }
.pin-bottom .pin-label { top: 30px; left: 0; transform: translateX(-50%); }
.map-hint { position: absolute; left: 0; right: 0; bottom: -44px; text-align: center; font-size: .85rem; color: var(--muted); }
@keyframes pinPulse { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.7); opacity: 0; } }

/* pins drop in one after another once the map is visible */
.map.reveal .pin-logo, .map.reveal .pin-label { opacity: 0; }
.map.reveal.visible .pin-logo, .map.reveal.visible .pin-label { opacity: 1; }
.map.reveal.visible .pin-logo { animation: pinDrop .6s cubic-bezier(.3,1.5,.5,1) backwards; animation-delay: calc(.3s + var(--i) * .18s); }
.map.reveal.visible .pin-label { animation: fadeIn .5s ease backwards; animation-delay: calc(.6s + var(--i) * .18s); }
.no-js .map.reveal .pin-logo, .no-js .map.reveal .pin-label { opacity: 1; }
@keyframes pinDrop { from { opacity: 0; transform: translate(-50%, -120%) scale(.6); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.history-lead { font-size: 1.12rem; font-weight: 500; color: var(--navy) !important; }
/* Historie als ein zusammenhängender Weg: Punkte auf einer durchgehenden Linie */
.history { list-style: none; margin: 0 0 30px; padding: 0; position: relative; }
.history::before { content: ""; position: absolute; left: 39px; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: linear-gradient(var(--yellow), var(--teal), var(--pink)); }
.history-step { position: relative; display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 18px; padding-bottom: 20px; }
.history-step:last-child { padding-bottom: 0; }
.history-year { position: relative; z-index: 1; align-self: start; justify-self: center; background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: .8rem; font-weight: 700; color: var(--magenta); font-variant-numeric: tabular-nums; white-space: nowrap; box-shadow: 0 3px 10px rgba(18,48,94,.08); }
.history-step h3 { font-size: 1.02rem; color: var(--navy); margin: 3px 0 4px; }
.history-step p { margin: 0; font-size: .97rem; }
.locations-text p { color: #33445f; }

/* ---------- CCF ---------- */
.section-ccf {
  background:
    radial-gradient(600px 400px at 0% 0%, rgba(138,150,200,.16), transparent 70%),
    radial-gradient(600px 400px at 100% 30%, rgba(214,161,189,.16), transparent 70%),
    radial-gradient(700px 400px at 50% 100%, rgba(169,211,211,.18), transparent 70%),
    #fff;
}
.ccf-logo-link { display: block; width: min(440px, 90%); margin: 12px auto 36px; }
.ccf-logo-link:hover .ccf-hero-logo { transform: scale(1.03); }
.ccf-logo-link:focus-visible { outline: 3px solid var(--teal); outline-offset: 6px; border-radius: 12px; }
.ccf-hero-logo { width: 100%; transition: transform .3s ease; }
.ccf-quote { margin: 0 auto 48px; font-size: clamp(1.3rem, 2.6vw, 1.85rem); font-weight: 500; line-height: 1.45; color: var(--navy); font-style: italic; max-width: 760px; }
.ccf-about { max-width: 720px; margin: 0 auto 72px; color: #33445f; }
.ccf-about h3 { color: var(--navy); }
.timeline-title { color: var(--navy); font-size: 1.6rem; margin-bottom: 40px; }
.timeline { list-style: none; padding: 0; margin: 0 0 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.tl-item { position: relative; background: rgba(255,255,255,.75); border: 1px solid #e8e6f0; border-radius: var(--radius); padding: 28px 26px 26px; backdrop-filter: blur(4px); transition: transform .3s, box-shadow .3s; }
.tl-item:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(138,150,200,.18); }
.tl-item::before { content: ""; position: absolute; left: 26px; right: 26px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--ccf-1), var(--ccf-2), var(--ccf-3)); }
.tl-year { display: block; font-size: 1.7rem; font-weight: 700; margin-bottom: 8px; background: linear-gradient(90deg, #6f7dbb, #c78aac); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tl-item p { margin: 0; color: #3e4c66; font-size: .98rem; }
.btn-ccf { color: #fff; background: linear-gradient(90deg, #7d8bc4, #c792b0, #8cc4c4); box-shadow: 0 8px 20px rgba(138,150,200,.35); }

/* ---------- Form ---------- */
.form-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.otter-small { width: 180px; margin-top: 24px; }
.run { animation: run 1.1s ease-in-out infinite; }
@keyframes run { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
[hidden] { display: none !important; }
.contact-card { background: #fff; color: var(--ink); border-radius: 26px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 30px 60px rgba(0,0,0,.25); min-width: 0; }
.contact-card h3 { color: var(--navy); font-size: 1.5rem; margin-bottom: 18px; }
.form-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 5px; margin-bottom: 26px; background: var(--bg-tint); border: 1px solid var(--line); border-radius: 999px; }
.form-tab { font: inherit; font-weight: 600; font-size: .95rem; color: var(--muted); background: transparent; border: 0; border-radius: 999px; padding: 10px 12px; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.form-tab:hover { color: var(--navy); }
.form-tab[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: 0 3px 10px rgba(18,48,94,.12); }
.form-tab[aria-selected="true"]:nth-child(1) { box-shadow: inset 0 -3px 0 var(--pink), 0 3px 10px rgba(18,48,94,.12); }
.form-tab[aria-selected="true"]:nth-child(2) { box-shadow: inset 0 -3px 0 var(--yellow), 0 3px 10px rgba(18,48,94,.12); }
.form-tab[aria-selected="true"]:nth-child(3) { box-shadow: inset 0 -3px 0 var(--teal), 0 3px 10px rgba(18,48,94,.12); }
.form-tab[aria-selected="true"]:nth-child(4) { box-shadow: inset 0 -3px 0 var(--orange), 0 3px 10px rgba(18,48,94,.12); }
.form-tabs { border-radius: 20px; }
.form-tab { border-radius: 15px; font-size: .88rem; padding: 10px 8px; }
.contact-card .form-note { background: #fff6dc; border-radius: 12px; padding: 10px 14px; font-size: .9rem; color: #5a4a1f; margin-bottom: 18px; line-height: 1.5; }
.choice-group { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.choice-group legend { font-weight: 600; font-size: .92rem; color: var(--navy); margin-bottom: 8px; padding: 0; }
.choice { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; margin-bottom: 8px; border: 2px solid var(--line); border-radius: 14px; background: #fbfcfe; cursor: pointer; font-size: .95rem; transition: border-color .2s, background .2s; }
.choice input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--pink); flex-shrink: 0; }
.choice:has(input:checked) { border-color: var(--pink); background: #fff; }
.choice-group.invalid .choice { border-color: var(--coral); }
/* Texte in der weißen Formular-Karte nicht weiß färben (Abschnitt hat dunklen Hintergrund) */
.section-navy .contact-card .form-note, .section-navy .contact-card .form-note strong { color: #5a4a1f; font-size: .9rem; }
.section-navy .contact-card .success p { color: #33445f; font-size: 1rem; }
.section-navy .contact-card .success p.muted { color: var(--muted); font-size: .92rem; }
.section-navy .contact-card .success a { color: var(--magenta); font-weight: 600; }
.form-tab { line-height: 1.2; }
.intro-hint { font-size: .98rem !important; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.intro-hint a { color: var(--yellow); font-weight: 600; }
.insta-hint { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding: 14px 18px; border-radius: 16px; text-decoration: none; text-align: left; color: rgba(255,255,255,.92); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); transition: background .2s, transform .2s; }
.insta-hint:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.insta-hint:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.insta-hint-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: radial-gradient(circle at 30% 110%, #ffd25e 0 20%, #ff8a1f 35%, #ff5fa8 60%, #8a5cf6 95%); }
.insta-hint-text { font-size: .98rem; line-height: 1.5; min-width: 0; }
.insta-hint-text strong { color: #fff; display: block; }
.insta-hint-handle { color: var(--yellow); font-weight: 600; word-break: break-word; }
.social-note { text-align: center; margin: 28px 0 0; color: var(--muted); }
.social-note a { color: var(--magenta); font-weight: 600; }
.form-tab:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.contact-form { animation: fadeIn .35s ease; }
.locations-cta { margin-top: 8px; }
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; }
.field label { font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--navy); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; background: #fbfcfe;
  transition: border-color .2s, box-shadow .2s, background .2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(31,194,194,.15); }
.field .invalid, .consent.invalid span { border-color: var(--coral) !important; }
.consent.invalid span { color: var(--coral); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin: 6px 0 22px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--pink); flex-shrink: 0; }
.form-status { margin: 14px 0 0; font-weight: 500; text-align: center; min-height: 1.5em; }
.form-status.ok { color: #1a9a6c; }
.form-status.err { color: var(--coral); }
.contact-form.sent { text-align: center; }
.success { padding: 30px 0; }
.success .big { font-size: 3.4rem; animation: heartPop 1s ease-out both; display: block; }
.success h3 { margin: 12px 0; }

/* ---------- Socials ---------- */
.social-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 320px)); justify-content: center; gap: 24px; }
.social-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  padding: 40px 28px 34px; border-radius: 28px; text-decoration: none; color: var(--ink);
  background: linear-gradient(135deg, #fff5f9, #f1fbfb); border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.social-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.social-card:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.social-icon { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; margin-bottom: 12px; background: var(--navy); }
.social-instagram .social-icon { background: radial-gradient(circle at 30% 110%, #ffd25e 0 20%, #ff8a1f 35%, #ff5fa8 60%, #8a5cf6 95%); box-shadow: 0 12px 26px rgba(255,95,168,.35); }
.social-linkedin .social-icon { background: #0a66c2; box-shadow: 0 12px 26px rgba(10,102,194,.3); }
.social-name { font-size: 1.35rem; font-weight: 700; color: var(--navy); }
.social-handle { color: var(--muted); font-size: .98rem; word-break: break-word; }
.social-cta { margin-top: 14px; font-weight: 600; color: var(--magenta); }

/* ---------- Rechtliche Seiten (Impressum) ---------- */
.legal { padding: clamp(48px, 8vw, 96px) 0; background:
  radial-gradient(700px 360px at 100% 0%, rgba(31,194,194,.10), transparent 70%),
  radial-gradient(600px 360px at 0% 20%, rgba(255,123,172,.10), transparent 70%), var(--bg); }
.legal-title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; color: var(--navy); font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 36px; }
.legal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 48px; }
.legal-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; box-shadow: 0 4px 18px rgba(18,48,94,.04); }
.legal-card h2, .legal-text h2 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: .6em; }
.legal-card p { margin: 0; color: #33445f; }
.legal-card a, .legal-text a { color: var(--magenta); font-weight: 600; }
.legal-list { list-style: none; margin: 0; padding: 0; color: #33445f; }
.legal-list li + li { margin-top: 4px; }
.legal-list span { color: var(--muted); }
.iban { font-variant-numeric: tabular-nums; white-space: nowrap; }
.legal-text h2 { font-size: 1.15rem; margin-top: 1.6em; }
.legal-text h2:first-child { margin-top: 0; }
.legal-text p { color: #33445f; }
.legal-back { margin-left: auto; }
.legal-text h3 { font-size: 1rem; color: var(--navy); margin: 1.4em 0 .5em; }
.legal-text ul { color: #33445f; padding-left: 1.2em; margin: 0 0 1em; }
.legal-text li + li { margin-top: 4px; }
.legal-todo { background: #fff6dc; border-left: 4px solid var(--orange); border-radius: 10px; padding: 12px 16px; font-size: .95rem; color: #5a4a1f !important; }
.legal-stand { margin-top: 2em; font-size: .9rem; color: var(--muted) !important; }
@media (max-width: 640px) { .legal-grid { grid-template-columns: 1fr; } }

/* Impressum in der Demo-Datei (eingeblendet über #impressum) */
.legal-overlay { display: none; }
.legal-overlay:target { display: block; position: fixed; inset: 0; z-index: 100; overflow-y: auto; background: var(--bg); }
.legal-overlay-bar { position: sticky; top: 0; z-index: 1; display: flex; justify-content: flex-end; padding: 14px 16px; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--line); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.8); padding: 56px 0 24px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: center; }
.footer-logo { height: 42px; width: auto; background: #fff; border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; }
.footer-brand p { margin: 0; font-size: .95rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--pink); }
.copy { text-align: center; font-size: .85rem; color: rgba(255,255,255,.5); margin: 36px 0 0; }
.credit { text-align: center; font-size: .78rem; color: rgba(255,255,255,.4); margin: 6px 0 0; letter-spacing: .02em; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
/* „unterstützt von“ nur zeigen, wenn genug Platz ist */
@media (max-width: 1400px) {
  .brand-support span { display: none; }
}
/* Menü klappt zum ☰-Menü ein, sobald alle Punkte nicht mehr in eine Zeile passen */
@media (max-width: 1280px) {
  .nav-toggle { display: block; order: 3; }
  .btn-header { margin-left: auto; }
  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(18,48,94,.08);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .main-nav a { padding: 14px 24px; border-top: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .site-header.open .main-nav { max-height: 480px; }
  .site-header.open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .logo-medipaten { width: 162px; }
  .logo-ccf { width: 103px; }
  .brand-support { padding-left: 14px; }
  .hero-inner, .split, .split-reverse, .form-layout { grid-template-columns: 1fr; }
  .hero-text { text-align: center; }
  .hero-scene { order: -1; max-width: 520px; width: 100%; margin: -16px auto 0; }
  .hero-inner { gap: 8px; }
  .lead { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .cards-3, .journey { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .locations { grid-template-columns: 1fr; gap: 36px; }
  .parents { grid-template-columns: 1fr; }
  .hero-parents { text-align: center; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .steps::before { display: none; }
  .form-intro { text-align: center; }
  .form-intro .title-bar { margin-inline: auto; }
  .otter-small { margin-inline: auto; }
  /* timeline vertical on mobile */
  .timeline { grid-template-columns: 1fr; gap: 18px; padding-left: 28px; }
  .timeline::before { content: ""; position: absolute; left: 8px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: linear-gradient(var(--ccf-1), var(--ccf-2), var(--ccf-3)); }
  .tl-item::after { content: ""; position: absolute; left: -27px; top: 34px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid var(--ccf-2); }
}
@media (max-width: 560px) {
  /* Regenbogen im Hero kleiner und unter den Text, damit nichts verdeckt wird */
  .hero { padding-bottom: 110px; }
  .hero .rainbow-left { width: 170px; height: 170px; left: -85px; bottom: -85px; }
  .pin-logo { width: 38px; height: 38px; border-width: 2.5px; }
  .pin-right .pin-label { left: 24px; }
  .pin-left .pin-label { right: 24px; }
  .pin-bottom .pin-label { top: 23px; }
  .pin-label { font-size: .76rem; padding: 3px 7px 3px 5px; column-gap: 4px; }
  .pin-ig { width: 12px; height: 12px; }
  .map-hint { font-size: .78rem; bottom: -40px; }
  .pin-left .pin-label { transform: translateY(-85%); }
  .header-inner { gap: 10px; }
  .brand-support { padding-left: 10px; }
  .logo-medipaten { width: 118px; }
  .logo-ccf { width: 79px; }
  .btn-header { padding: .5em .9em; font-size: .85rem; }
  .nav-toggle { padding: 6px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-tabs { grid-template-columns: repeat(2, 1fr); border-radius: 18px; }
  .form-tab { font-size: .8rem; padding: 9px 6px; border-radius: 13px; }
  .steps { grid-template-columns: 1fr; }
  .burst { width: 200px; height: 200px; font-size: 1.05rem; }
}
@media (max-width: 400px) {
  .pin-logo { width: 32px; height: 32px; border-width: 2px; }
  .pin-right .pin-label { left: 20px; }
  .pin-left .pin-label { right: 20px; }
  .pin-bottom .pin-label { top: 20px; }
  .pin-label { font-size: .7rem; padding: 2px 6px 2px 4px; }
  .logo-medipaten { width: 103px; }
  .logo-ccf { width: 69px; }
  .header-inner { gap: 8px; }
  .brand-support { padding-left: 8px; }
  .btn-header { padding: .5em .8em; font-size: .8rem; }
}
@media (max-width: 360px) {
  .header-inner { width: calc(100% - 24px); }
  .logo-medipaten { width: 89px; }
  .logo-ccf { width: 59px; }
  .btn-header { padding: .45em .7em; font-size: .74rem; }
  .nav-toggle { padding: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .map.reveal .pin-logo, .map.reveal .pin-label { opacity: 1; }
}
