@font-face {
    font-family: 'Circular';
    src: url('https://www.healthykids.vision/fonts/CircularXXTT-Book.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'Circular';
    src: url('https://www.healthykids.vision/fonts/CircularXXTT-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'Circular';
    src: url('https://www.healthykids.vision/fonts/CircularXXTT-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'Circular';
    src: url('https://www.healthykids.vision/fonts/CircularXXTT-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'Daft Brush';
    src: url('https://www.healthykids.vision/fonts/DaftBrush.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'Mr Konky';
    src: url('https://www.healthykids.vision/fonts/MrKonkyRegular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }

  :root {
    --blue:   #35699F;
    --green:  #4BB377;
    --red:    #E6524A;
    --purple: #865E9C;
    --ink:    #16202B;
    --paper:  #FFFFFF;
    --paper-tint: #F3F7F5;
    --font-display: 'Circular', -apple-system, 'Segoe UI', sans-serif;
    --font-accent: 'Daft Brush', cursive;
    --font-vision: 'Mr Konky', cursive;
  }

  * { box-sizing: border-box; }

  html, body {
    margin: 0;
    padding: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 400;
    overflow-x: hidden;
  }

  /* ---------- Zugangs-Gate ---------- */

  #gate {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
  }

  #gate::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 18% 22%, rgba(75,179,119,0.18), transparent 40%),
      radial-gradient(circle at 82% 78%, rgba(53,105,159,0.22), transparent 45%);
    pointer-events: none;
  }

  .gate-box {
    position: relative;
    width: 100%;
    max-width: 380px;
    text-align: center;
  }

  .gate-logo {
    height: 34px;
    margin-bottom: 48px;
    opacity: 0.95;
  }

  .gate-eyebrow {
    font-family: var(--font-accent);
    font-size: 28px;
    color: var(--green);
    display: block;
    margin-bottom: 4px;
    transform: rotate(-2deg);
  }

  .gate-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 28px;
    letter-spacing: 0.01em;
  }

  .gate-inputs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 22px;
  }

  .gate-inputs input {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 24px;
    font-family: var(--font-display);
    font-weight: 700;
    color: #fff;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.15s ease, background 0.15s ease;
  }

  .gate-inputs input:focus {
    border-color: var(--green);
    background: rgba(75,179,119,0.12);
  }

  .gate-inputs input.err {
    border-color: var(--red);
    background: rgba(230,82,74,0.12);
  }

  #gate-msg {
    min-height: 18px;
    font-size: 13px;
    color: var(--red);
    margin-bottom: 18px;
  }

  #gate-submit {
    appearance: none;
    border: none;
    border-radius: 10px;
    background: var(--green);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    padding: 13px 28px;
    cursor: pointer;
    transition: transform 0.12s ease, background 0.15s ease;
  }

  #gate-submit:hover { background: #3fa066; }
  #gate-submit:active { transform: scale(0.97); }

  @media (prefers-reduced-motion: reduce) {
    #gate-submit { transition: none; }
  }

  /* ---------- Site ---------- */

  #site {
    display: none;
  }

  #progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    z-index: 500;
    background: linear-gradient(90deg, var(--blue), var(--green), var(--red), var(--purple));
    transition: width 0.1s ease-out;
  }

  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
      linear-gradient(to top, rgba(22,32,43,0.95) 0%, rgba(22,32,43,0.25) 45%, rgba(22,32,43,0.55) 100%),
      url('https://www.healthykids.vision/images/PureandFunstudiosoco01023.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 32px clamp(20px, 5vw, 64px) 48px;
    overflow: hidden;
  }

  /* ---------- Fixiertes Logo (groß→klein beim Scrollen) ---------- */

  #brand-logo {
    position: fixed;
    top: 10vh;
    left: 50%;
    width: 320px;
    transform: translate(-50%, 0);
    z-index: 600;
    will-change: transform, top, left, width;
  }

  #brand-dots {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 600;
    display: flex;
    gap: 6px;
  }
  #brand-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
  }
  #brand-dots span:nth-child(1) { background: var(--blue); }
  #brand-dots span:nth-child(2) { background: var(--green); }
  #brand-dots span:nth-child(3) { background: var(--red); }
  #brand-dots span:nth-child(4) { background: var(--purple); }

  .hero__body {
    position: relative;
    z-index: 2;
    max-width: 920px;
    margin: auto;
    text-align: center;
    padding-top: 16vh;
  }

  .hero__vision {
    font-family: var(--font-vision);
    font-weight: 400;
    font-size: clamp(32px, 5.6vw, 68px);
    line-height: 1.2;
    color: var(--green);
    margin: 0 0 28px;
  }

  .hero__vision em {
    font-style: normal;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
  }

  .hero__caption {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(22px, 2.8vw, 32px);
    color: #BFD8F0;
    margin: 0 0 10px;
  }

  .hero__date {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 14px;
    color: rgba(191,216,240,0.75);
    margin: 0;
  }

  .hero__scroll {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 56px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
  }

  .hero__scroll-line {
    width: 40px;
    height: 1px;
    background: rgba(255,255,255,0.35);
    position: relative;
    overflow: hidden;
  }

  .hero__scroll-line::after {
    content: "";
    position: absolute;
    left: -40px;
    top: 0;
    width: 40px;
    height: 100%;
    background: var(--green);
    animation: scrollline 2.2s ease-in-out infinite;
  }

  @keyframes scrollline {
    0%   { left: -40px; }
    50%  { left: 40px; }
    100% { left: -40px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .hero__scroll-line::after { animation: none; left: 0; }
  }

  /* ---------- 02 — Numbers ---------- */

  .section {
    padding: 96px clamp(20px, 5vw, 64px);
  }

  .section--light {
    background: var(--paper);
    color: var(--ink);
  }

  .section--dark {
    background: var(--ink);
    color: #fff;
  }

  .section--dark .section__eyebrow {
    color: var(--green);
  }

  .section__eyebrow {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue);
    font-weight: 700;
    margin: 0 0 10px;
  }

  .section__title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 48px;
    max-width: 720px;
  }

  /* ---------- 03 — Mission ---------- */

  .mission__title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 20px;
  }

  .mission__lede {
    font-family: var(--font-vision);
    font-weight: 400;
    font-size: clamp(24px, 3vw, 36px);
    color: var(--green);
    line-height: 1.3;
    margin: 0 0 48px;
    max-width: 640px;
  }

  .mission__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
  }

  .mission__pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin: 0 0 40px;
  }

  .mission__pillar-title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin: 0 0 10px;
  }

  .mission__pillar-title--green { color: var(--green); }
  .mission__pillar-title--blue  { color: var(--blue); }

  .mission__pillar-text {
    font-size: 16px;
    line-height: 1.55;
    color: rgba(255,255,255,0.82);
    margin: 0;
  }

  .mission__closing {
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 900;
    color: var(--purple);
    margin: 0;
    line-height: 1.3;
  }

  .mission__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    aspect-ratio: 4 / 5;
  }

  @media (max-width: 820px) {
    .mission__grid { grid-template-columns: 1fr; }
    .mission__image { order: -1; }
    .mission__image img { aspect-ratio: 16 / 10; }
  }

  @media (max-width: 560px) {
    .mission__pillars { grid-template-columns: 1fr; gap: 24px; }
  }

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .stat-card {
    position: relative;
    background: var(--paper-tint);
    border-radius: 10px;
    padding: 28px 24px;
  }

  .stat-card__value {
    font-size: clamp(30px, 3.6vw, 46px);
    font-weight: 900;
    line-height: 1;
    margin: 0 0 12px;
    white-space: nowrap;
  }

  .stat-card__label {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    opacity: 0.72;
    margin: 0;
  }

  .c-blue   { color: var(--blue); }
  .c-green  { color: var(--green); }
  .c-red    { color: var(--red); }
  .c-purple { color: var(--purple); }

  .stat-card__info {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(22,32,43,0.08);
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
  }

  .stat-card__tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 10px);
    right: 0;
    width: 230px;
    background: var(--ink);
    color: #fff;
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.55;
    padding: 12px 14px;
    border-radius: 8px;
    z-index: 5;
  }

  .stat-card__info:hover .stat-card__tooltip,
  .stat-card__info:focus .stat-card__tooltip {
    display: block;
  }

  @media (max-width: 900px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
  }

  @media (max-width: 520px) {
    .stats-grid { grid-template-columns: 1fr; }
  }

  @media (max-width: 560px) {
    .hero { padding: 24px 20px 40px; }
    .hero__body { padding-top: 20vh; }
  }