@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url(fonts/nunito-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-display: swap;
  font-weight: 200 1000;
  src: url(fonts/nunito-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #ffffff; }
a { color: #00365f; }
a:hover { color: #1F7F75; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid #00a4e0; outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: 24px; }

.skip { position: absolute; left: -9999px; top: 0; background: #00365f; color: #ffffff; padding: 12px 18px; font-weight: 800; z-index: 100; }
.skip:focus { left: 12px; top: 12px; color: #ffffff; }

/* Auswahl-Schalter in Formularen */
.chip { font: inherit; font-weight: 700; min-height: 48px; min-width: 56px; padding: 8px 16px; border-radius: 10px; border: 1.5px solid #7fa3b3; background: #ffffff; color: #00365f; cursor: pointer; }
.chip-pill { border-radius: 999px; }
.chip[aria-pressed="true"] { font-weight: 800; border-color: #00365f; background: #00365f; color: #ffffff; }
.chip-error { flex: 1 1 100%; margin: 6px 0 0; color: #a3261a; font-weight: 700; font-size: 15px; }

/* Rückmeldung nach dem Absenden */
.form-ok { background: #EDF7F4; border-radius: 12px; padding: 24px; color: #00365f; }
.form-ok h3 { margin: 0 0 8px; font-size: 24px; font-weight: 800; }
.form-ok p { margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
button[disabled] { opacity: 0.6; cursor: default; }

/* Rechtstexte */
.legal { max-width: 860px; margin: 0 auto; padding: 40px 24px 88px; }
.legal h1 { margin: 0 0 32px; color: #00365f; font-size: clamp(36px, 5vw, 56px); line-height: 1.08; font-weight: 800; }
.legal h2 { margin: 40px 0 12px; color: #00365f; font-size: 24px; font-weight: 800; }
.legal p, .legal li { color: #1d1d1b; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal a { overflow-wrap: anywhere; }

/* Cookie-Banner */
.cc-back { position: fixed; inset: 0; background: rgba(0, 54, 95, 0.45); z-index: 60; }
.cc { position: fixed; z-index: 61; left: 16px; right: 16px; bottom: 16px; margin: 0 auto; max-width: 620px; max-height: calc(100vh - 32px); overflow: auto; background: #ffffff; border-radius: 16px; border: 1px solid #C7DDE3; box-shadow: 0 12px 40px rgba(0, 54, 95, 0.25); font-size: 17px; line-height: 1.5; color: #1d1d1b; }
.cc::before { content: ""; display: block; height: 5px; background: linear-gradient(45deg, #70bc7e 0%, #00a4e0 100%); }
.cc-in { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.cc h2 { margin: 0; font-size: 26px; line-height: 1.15; font-weight: 800; color: #00365f; }
.cc p { margin: 0; color: #3D5A73; }
.cc-row { display: flex; gap: 12px; flex-wrap: wrap; }
.cc-btn { flex: 1 1 180px; font: inherit; font-weight: 800; min-height: 52px; border-radius: 999px; border: 1.5px solid #00365f; background: #00365f; color: #ffffff; cursor: pointer; }
.cc-btn.cc-alt { background: #ffffff; color: #00365f; }
.cc-links { display: flex; gap: 24px; font-size: 15px; font-weight: 700; }
.cc-opt { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid #C7DDE3; }
.cc-opt input { width: 24px; height: 24px; margin: 2px 0 0; flex: none; }
.cc-opt b { display: block; color: #00365f; font-weight: 800; }
.cc-opt span { color: #3D5A73; font-size: 16px; }

@media (max-width: 640px) {
  header nav { gap: 6px 18px !important; font-size: 15px !important; }
  header nav a { padding-top: 8px !important; padding-bottom: 8px !important; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Kopfzeile liegt über den Schmuckkreisen; Kreise ragen nicht in die Kopfzeile */
header { position: relative; z-index: 2; background: #ffffff; }
section:has(> div[aria-hidden="true"][style*="top: -"]) { clip-path: inset(0 -100vw -100vw -100vw); }
@media (max-width: 760px) { section > div[aria-hidden="true"][style*="top: -"] { display: none; } }

/* Zweitmeinung: Schnell-Check und Kennzahlen-Formular */
.zm { background: #F1F7FB; }
.zm-wrap { max-width: 800px; margin: 0 auto; padding: 48px 16px 88px; font-size: 17px; line-height: 1.5; color: #1d1d1b; }
.zm-card { display: block; background: #ffffff; border-radius: 16px; border: 1px solid #C7DDE3; padding: 28px; margin: 0 0 18px; }
.zm-card.zm-dark { background: #00365f; border-color: #00365f; color: #ffffff; }
.zm-card.zm-dark h2 { color: #ffffff; }
.zm-card.zm-dark p { color: #d6e6f0; margin: 0 0 18px; }
.zm h1 { font-size: clamp(28px, 4.4vw, 38px); line-height: 1.12; margin: 0 0 12px; color: #00365f; font-weight: 800; }
.zm h2 { font-size: 22px; margin: 0 0 10px; color: #00365f; font-weight: 800; }
.zm h1:focus, .zm h2:focus { outline: none; }
.zm-lead { color: #3D5A73; font-size: 18px; margin: 0 0 20px; }
.zm-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #0b6fa0; margin: 0 0 10px; }
.zm-note { font-size: 14px; color: #3D5A73; margin: 14px 0 0; }
.zm-choice { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.zm-tile { font: inherit; text-align: left; display: flex; flex-direction: column; gap: 6px; border: 1.5px solid #7fa3b3; border-radius: 14px; padding: 22px; cursor: pointer; background: #ffffff; color: #1d1d1b; }
.zm-tile:hover { border-color: #00365f; background: #F1F7FB; }
.zm-tag { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #0b6fa0; }
.zm-tile-h { color: #00365f; font-size: 21px; font-weight: 800; }
.zm-tile-p { color: #3D5A73; font-size: 16px; }
.zm-meta { margin-top: 8px; font-weight: 800; color: #00365f; }
.zm-progress { height: 8px; background: #e3eef3; border-radius: 8px; overflow: hidden; margin: 0 0 18px; }
.zm-progress > div { height: 100%; background: linear-gradient(45deg, #70bc7e, #00a4e0); border-radius: 8px; }
.zm-qmeta { font-size: 15px; color: #3D5A73; font-weight: 700; margin: 0 0 12px; }
.zm .zm-q { font-size: 22px; line-height: 1.3; margin: 0 0 18px; }
.zm-opts { display: grid; gap: 10px; }
.zm-opt { font: inherit; text-align: left; display: flex; align-items: center; gap: 14px; min-height: 54px; border: 1.5px solid #7fa3b3; background: #ffffff; border-radius: 12px; padding: 12px 18px; cursor: pointer; font-weight: 700; color: #00365f; }
.zm-opt:hover { border-color: #00365f; }
.zm-opt[aria-pressed="true"] { border-color: #00365f; background: #00365f; color: #ffffff; }
.zm-dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid currentColor; flex: none; }
.zm-opt[aria-pressed="true"] .zm-dot { background: #00a4e0; border-color: #ffffff; }
.zm-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 22px; }
.zm-spread { justify-content: space-between; }
.zm-center { justify-content: center; margin-top: 4px; }
.zm-btn { font: inherit; font-weight: 800; display: inline-block; text-decoration: none; text-align: center; border: 1.5px solid transparent; border-radius: 999px; padding: 13px 24px; min-height: 50px; box-sizing: border-box; cursor: pointer; }
.zm-primary { background: #00365f; color: #ffffff; }
.zm-primary:hover { background: #0b4674; color: #ffffff; }
.zm-blue { background: #00a4e0; color: #00365f; }
.zm-blue:hover { color: #00365f; }
.zm-light { background: transparent; color: #ffffff; border-color: #ffffff; }
.zm-ghost { background: #ffffff; color: #00365f; border-color: #7fa3b3; }
.zm-ghost:hover { border-color: #00365f; color: #00365f; }
.zm-ringwrap { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.zm-ring { position: relative; width: 132px; height: 132px; flex: none; }
.zm-ring svg { transform: rotate(-90deg); }
.zm-val { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 800; font-size: 32px; line-height: 1; color: #00365f; }
.zm-val small { font-size: 13px; color: #3D5A73; font-weight: 700; margin-top: 4px; }
.zm-ringtext { flex: 1; min-width: 220px; }
.zm-ringtext p { color: #3D5A73; margin: 10px 0 0; }
.zm-ampel { display: inline-block; padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: 15px; }
.zm-dim { margin: 14px 0; }
.zm-dimtop { display: flex; justify-content: space-between; font-weight: 700; color: #00365f; margin-bottom: 6px; }
.zm-meter { height: 10px; border-radius: 8px; background: #e8eef2; overflow: hidden; }
.zm-meter > div { height: 100%; border-radius: 8px; }
.zm-rec { background: #F1F7FB; border-radius: 12px; padding: 16px 18px; margin: 12px 0; }
.zm-rec h3 { margin: 0 0 4px; color: #00365f; font-size: 18px; font-weight: 800; }
.zm-rec p { margin: 0 0 6px; color: #3D5A73; }
.zm-rec .zm-offer { font-weight: 800; color: #0b6fa0; margin: 0; }
.zm-info { background: #F1F7FB; border-radius: 12px; padding: 14px 16px; font-size: 16px; color: #3D5A73; margin: 0 0 8px; }
.zm-set { border: 0; margin: 22px 0 0; padding: 0; }
.zm-set legend { font-size: 14px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #0b6fa0; padding: 0; }
.zm-sectnote { font-size: 15px; color: #3D5A73; margin: 2px 0 0; }
.zm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 14px; }
.zm-field label { display: block; font-size: 15px; font-weight: 700; color: #00365f; margin-bottom: 4px; }
.zm-wide { grid-column: 1 / -1; }
.zm-req { font-weight: 600; color: #3D5A73; }
.zm-fhint { display: block; font-size: 14px; color: #3D5A73; margin: 0 0 6px; }
.zm-inwrap { position: relative; }
.zm-field input:not([type=checkbox]), .zm-field textarea { font: inherit; width: 100%; box-sizing: border-box; min-height: 48px; padding: 10px 14px; border: 1.5px solid #7fa3b3; border-radius: 10px; background: #ffffff; color: #1d1d1b; }
.zm-inwrap input[type=number] { padding-right: 84px; }
.zm-field textarea { min-height: 100px; resize: vertical; }
.zm-field input:disabled { background: #eef3f6; }
.zm-unit { position: absolute; right: 14px; top: 13px; font-size: 14px; color: #3D5A73; font-weight: 700; pointer-events: none; }
.zm-na { display: inline-flex !important; align-items: center; gap: 8px; font-size: 14px !important; font-weight: 600 !important; color: #3D5A73 !important; margin: 8px 0 0 !important; cursor: pointer; min-height: 28px; }
.zm-na input { width: 20px; height: 20px; margin: 0; accent-color: #00365f; }
.zm-gate { display: grid; gap: 14px; margin: 0 0 6px; }
.zm-consent { align-items: flex-start !important; font-size: 15px !important; }
.zm-consent input { margin-top: 2px; flex: none; }
.zm-error { margin: 18px 0 0; color: #a3261a; font-weight: 700; }
@media (max-width: 620px) { .zm-choice, .zm-grid { grid-template-columns: 1fr; } .zm-card { padding: 22px 18px; } }
@media print { header, footer, .skip, .zm-row, .cc, .cc-back { display: none !important; } .zm { background: #ffffff; } .zm-card { border: 0; padding: 0 0 12px; } }

/* Pipedrive-Terminkalender (lädt erst nach Klick) */
.sched { background: #F1F7FB; border-radius: 12px; padding: 16px; }
.sched-btn { font: inherit; font-size: 18px; font-weight: 800; width: 100%; min-height: 54px; border: 0; border-radius: 999px; background: #00a4e0; color: #00365f; cursor: pointer; }
.sched-note { margin: 10px 0 0; font-size: 14px; color: #3D5A73; text-align: center; }
.sched-or { margin: 14px 0 0; text-align: center; color: #3D5A73; font-size: 15px; font-weight: 700; }

/* ---------- Bewegung ---------- */
.lift { transition: transform 0.2s ease, box-shadow 0.2s ease; }
@media (hover: hover) { .lift:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 54, 95, 0.14); } }
.rv { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--rv-d, 0ms); }
.rv.in { opacity: 1; transform: none; }
@media print { .rv { opacity: 1 !important; transform: none !important; } .mcta, .tick, .tst-ctl { display: none !important; } }

/* Laufband mit offenen Stellen */
.tick { background: #ffffff; border-bottom: 1px solid #C7DDE3; }
.tick-in { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 20px; min-height: 60px; }
.tick-l { flex: none; font-size: 14px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #1F7F75; text-decoration: none; padding: 12px 0; }
.tick-win { flex: 1 1 auto; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 32px), transparent); }
.tick-run { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; animation: tick 45s linear infinite; }
.tick-run li { padding-right: 44px; white-space: nowrap; }
.tick-run a { display: inline-block; padding: 16px 0; font-weight: 800; color: #00365f; text-decoration: none; }
.tick-run a span { font-weight: 600; color: #3D5A73; }
.tick-run a:hover { color: #1F7F75; }
.tick:hover .tick-run, .tick:focus-within .tick-run, .tick-off .tick-run { animation-play-state: paused; }
.tick-p { flex: none; width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid #C7DDE3; background: #ffffff; color: #00365f; font-size: 13px; cursor: pointer; }
.tick-still .tick-win { -webkit-mask-image: none; mask-image: none; }
.tick-still .tick-run { animation: none; width: auto; flex-wrap: wrap; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 640px) { .tick-in { gap: 12px; padding: 0 16px; } .tick-l { font-size: 12px; max-width: 76px; line-height: 1.25; } }

/* Stimmen im Wechsel */
.tst { display: grid !important; max-width: 900px; }
.tst > figure { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.6s ease, visibility 0.6s; padding: 36px !important; box-sizing: border-box; border-left: 5px solid #53b3a7; }
.tst > figure.on { opacity: 1; visibility: visible; }
.tst > figure blockquote { font-size: clamp(20px, 2.4vw, 27px) !important; line-height: 1.4; }
.tst-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
.tst-b { width: 48px; height: 48px; border-radius: 999px; border: 1.5px solid #00365f; background: #ffffff; color: #00365f; font: inherit; font-weight: 800; font-size: 20px; cursor: pointer; }
.tst-b:hover { background: #00365f; color: #ffffff; }
.tst-dots { display: flex; gap: 4px; margin: 0 6px; }
.tst-dot { width: 28px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; position: relative; }
.tst-dot::after { content: ""; position: absolute; left: 8px; top: 16px; width: 12px; height: 12px; border-radius: 999px; background: #9fc3cf; }
.tst-dot[aria-current="true"]::after { background: #00365f; }
.tst-p { font: inherit; font-size: 15px; font-weight: 700; color: #00365f; background: none; border: 0; text-decoration: underline; cursor: pointer; min-height: 44px; padding: 0 6px; }
@media (prefers-reduced-motion: reduce) { .tst > figure { transition: none; } .lift { transition: none; } }

/* Fester Knopf am unteren Rand, nur schmale Bildschirme */
.mcta { display: none; font-family: ui-rounded, 'SF Pro Rounded', Nunito, 'Varela Rounded', Arial, sans-serif; line-height: 1.2; }
@media (max-width: 760px) {
  .mcta { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, 0.96); border-top: 1px solid #C7DDE3; box-shadow: 0 -6px 20px rgba(0, 54, 95, 0.12); transform: translateY(110%); transition: transform 0.3s ease; visibility: hidden; }
  .mcta.on { transform: none; visibility: visible; }
  .mcta a { flex: 1 1 0; text-align: center; text-decoration: none; font-weight: 800; font-size: 16px; min-height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: #00365f; color: #ffffff; border: 1.5px solid #00365f; padding: 0 10px; }
  .mcta a.alt { background: #ffffff; color: #00365f; }
  html.has-mcta body { padding-bottom: 76px; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) { .mcta { transition: none; } }
