@font-face { font-family: "Caveat"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/caveat.woff2) format("woff2"); }
/* Sternenhimmel „Unsere Sternenkinder“ – Kopf angelehnt an die 110.000km-Seite, alles unter .sek */
.sek {
  --sek-y1: #e8e337;
  --sek-y2: #b8d626;
  --sek-g1: #5cb82b;
  --sek-g2: #3aa127;
  --sek-g3: #2c8a1c;
  --sek-gold: #e4df07;
  --sek-night-1: #0f2a2c;
  --sek-night-2: #123433;
  --sek-night-3: #18433a;
  --sek-mint: #f3f7ec;
  --sek-head: #333333;
  --sek-text: #555555;
  --sek-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.8c.5 0 .9.3 1.1.7l2.6 5.6 6 .8c.9.1 1.3 1.2.6 1.9l-4.4 4.2 1.1 6c.2.9-.8 1.6-1.6 1.1L12 19.3l-5.4 2.9c-.8.4-1.8-.2-1.6-1.1l1.1-6L1.7 10.9c-.7-.6-.3-1.8.6-1.9l6-.8 2.6-5.6c.2-.5.6-.8 1.1-.8z'/%3E%3C/svg%3E");
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--sek-text);
}
.sek *, .sek *::before, .sek *::after { box-sizing: border-box; }
.sek p { margin: 0 0 1em; padding: 0; }
.sek .sek-wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.sek-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.sek-nw { white-space: nowrap; }

/* ---------- Kopf: hell, Verlauf wie bei der 110.000km-Aktion ---------- */
.sek-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 96px) 20px clamp(64px, 9vw, 104px);
  background: linear-gradient(160deg, var(--sek-y1) 0%, var(--sek-y2) 35%, var(--sek-g1) 75%, var(--sek-g2) 100%);
  text-align: center;
  color: #fff;
  isolation: isolate;
}
.sek-hero-star {
  position: absolute;
  z-index: -1;
  background: #fff;
  -webkit-mask: var(--sek-star) center / contain no-repeat;
          mask: var(--sek-star) center / contain no-repeat;
  animation: sek-drift 16s ease-in-out infinite alternate;
}
.sek-hero-star--a { width: 380px; height: 380px; right: -60px; top: 6%; opacity: .16; }
.sek-hero-star--b { width: 150px; height: 150px; left: 6%; bottom: 10%; opacity: .14; animation-duration: 12s; animation-delay: -4s; }
.sek-hero-star--c { width: 70px; height: 70px; left: 22%; top: 14%; opacity: .2; animation-duration: 9s; animation-delay: -2s; }
@keyframes sek-drift {
  from { transform: translate(0, 0) rotate(-6deg); }
  to   { transform: translate(-18px, 14px) rotate(8deg); }
}
.sek-hero-in { position: relative; max-width: 820px; margin: 0 auto; }
.sek .sek-hero-script {
  font-family: "Caveat", cursive !important; /* die Website setzt Inter mit !important auf alle p */
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1.1;
  margin: 0 0 14px;
}
.sek .sek-hero-title {
  display: inline-block;
  margin: 0 0 22px;
  padding: 10px 26px 4px;
  background: #fff;
  color: var(--sek-g2);
  font-family: "Overpass", sans-serif;
  font-weight: 900;
  font-size: clamp(30px, 5.6vw, 58px);
  line-height: 1.1;
  text-transform: uppercase;
}
.sek .sek-hero-text {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.5;
  font-weight: 500;
  max-width: 34em;
  margin: 0 auto 22px;
}
.sek .sek-hero-pill {
  display: inline-block;
  margin: 0 0 30px;
  padding: 6px 20px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  font-size: 18px;
  font-weight: 700;
}
.sek-hero-actions { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; }
.sek-search {
  display: flex;
  align-items: center;
  width: min(100%, 380px);
  padding: 5px 5px 5px 20px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 6px 20px -10px rgba(30,90,10,.6);
}
.sek-search input {
  flex: 1; min-width: 0;
  border: 0; background: transparent;
  font: inherit; font-size: 16px; color: var(--sek-head);
  padding: 8px 6px;
  outline: none;
  -webkit-appearance: none;
}
.sek-search input::placeholder { color: #888; }
.sek-search:focus-within { box-shadow: 0 0 0 3px rgba(255,255,255,.7); }
.sek-search button {
  border: 0;
  border-radius: 999px;
  background: var(--sek-g2);
  color: #fff;
  font: 700 15px/1 "Overpass", sans-serif;
  padding: 12px 18px 10px;
  cursor: pointer;
}
.sek-search button:hover { background: var(--sek-g3); }
.sek-hero-btn {
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  font: 700 16px/1.2 "Inter", sans-serif;
  text-decoration: none;
  background: rgba(255,255,255,.12);
  transition: background .2s, color .2s;
}
.sek-hero-btn:hover { background: #fff; color: var(--sek-g2); }
.sek .sek-search-status { min-height: 1.6em; margin: 14px 0 0; font-weight: 600; }
.sek-hero a:focus-visible, .sek-search button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* ---------- Himmel ---------- */
.sek-sky {
  position: relative;
  overflow: hidden;
  padding: 72px 16px 96px;
  background: linear-gradient(180deg, var(--sek-night-1) 0%, var(--sek-night-2) 50%, var(--sek-night-3) 100%);
  isolation: isolate;
}
.sek-sky::before, .sek-sky::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sek-sky::before {
  background-image:
    radial-gradient(1px 1px at 20px 30px, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at 140px 80px, rgba(255,255,255,.5), transparent),
    radial-gradient(1.3px 1.3px at 90px 170px, rgba(255,255,255,.8), transparent),
    radial-gradient(1px 1px at 200px 210px, rgba(255,255,255,.4), transparent);
  background-size: 233px 233px;
}
.sek-sky::after {
  background-image:
    radial-gradient(1.4px 1.4px at 50px 260px, rgba(255,255,255,.9), transparent),
    radial-gradient(1px 1px at 300px 40px, rgba(255,255,255,.6), transparent),
    radial-gradient(1px 1px at 410px 330px, rgba(255,255,255,.7), transparent);
  background-size: 521px 521px;
  animation: sek-dust 6s ease-in-out infinite alternate;
}
@keyframes sek-dust { from { opacity: .35; } to { opacity: 1; } }

.sek .sek-field { position: relative; list-style: none; margin: 0 auto; padding: 0; max-width: 1180px; }
.sek .sek-star {
  --fx: 4px; --fy: -10px; --dur: 8s; --delay: 0s; --s: 1;
  position: absolute; top: 0; left: 0;
  margin: 0; padding: 0;
  list-style: none;
  text-align: center;
  animation: sek-float var(--dur) ease-in-out var(--delay) infinite alternate;
  transition: opacity .4s ease;
}
@keyframes sek-float { from { translate: 0 0; } to { translate: var(--fx) var(--fy); } }
.sek-lights { display: flex; justify-content: center; gap: 4px; height: 16px; margin: 0 0 6px; filter: drop-shadow(0 0 6px rgba(232,227,55,.55)); }
.sek-light {
  width: 16px; height: 16px;
  background: linear-gradient(200deg, var(--sek-y1), var(--sek-y2) 55%, var(--sek-g1));
  -webkit-mask: var(--sek-star) center / contain no-repeat;
          mask: var(--sek-star) center / contain no-repeat;
  animation: sek-twinkle var(--tw, 4s) ease-in-out var(--delay) infinite alternate;
}
.sek-light + .sek-light { width: 13px; height: 13px; margin-top: 2px; }
@keyframes sek-twinkle {
  from { transform: scale(.85) rotate(-12deg); opacity: .75; }
  to   { transform: scale(1.1) rotate(12deg); opacity: 1; }
}
.sek-name {
  display: block;
  font-family: "Overpass", sans-serif;
  font-weight: 700;
  font-size: calc(17px * var(--s));
  line-height: 1.25;
  color: #fff;
  overflow-wrap: anywhere;
}
.sek-name--none { font-weight: 500; color: rgba(255,255,255,.7); }
.sek-details { display: block; margin-top: 2px; font-size: 12px; line-height: 1.45; color: rgba(255,255,255,.62); }
.sek-field.is-searching .sek-star { opacity: .15; }
.sek-field.is-searching .sek-star.is-match { opacity: 1; }
.sek-star.is-match .sek-name { color: var(--sek-y1); }
.sek-star.is-current .sek-light { animation-duration: .8s; }

/* ---------- Eintragen ---------- */
.sek-entry { padding: clamp(56px, 8vw, 88px) 0; }
.sek .sek-entry h2 {
  font-family: "Overpass", sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 3.4vw, 34px);
  line-height: 1.2;
  color: var(--sek-g3);
  margin: 0 0 14px;
  padding: 0;
}
.sek-entry .sek-wrap > p { max-width: 720px; }
.sek .sek-note {
  max-width: 720px;
  margin: 8px 0 32px;
  padding: 18px 22px;
  background: var(--sek-mint);
  border-radius: 14px;
}
.sek .sek-note strong { color: var(--sek-head); }
.sek-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.sek-field-wrap { margin-bottom: 14px; }
.sek-row .sek-field-wrap { margin-bottom: 0; }
.sek-form label.sek-lbl { position: absolute !important; left: -9999px !important; }
.sek-form input[type="text"],
.sek-form input[type="email"] {
  width: 100%;
  background: var(--sek-mint);
  border: 1px solid #e0e8d2;
  border-radius: 12px;
  padding: 15px 16px;
  font: inherit; font-size: 15px; color: var(--sek-head);
}
.sek-form input::placeholder { color: #8a8f84; }
.sek-form input:focus { outline: 2px solid var(--sek-g2); outline-offset: 0; background: #fff; }
.sek-form .sek-check { display: grid; grid-template-columns: 22px 1fr; gap: 8px; margin: 6px 0 20px; font-size: 14px; line-height: 1.6; color: var(--sek-text); }
.sek-check input { width: 16px; height: 16px; margin: 4px 0 0; accent-color: var(--sek-g2); }
.sek-check a { color: var(--sek-g3); }
.sek-bottom { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sek-bottom .sek-math-q { font-size: 15px; font-weight: 600; color: var(--sek-head); }
.sek-bottom input[type="text"] { width: 76px; }
.sek-submit {
  margin-left: auto;
  border: 0;
  border-radius: 999px;
  background: var(--sek-g2);
  color: #fff;
  font: 700 16px/1.2 "Inter", sans-serif;
  padding: 14px 28px;
  cursor: pointer;
  transition: background .2s;
}
.sek-submit:hover { background: var(--sek-g3); }
.sek-submit:focus-visible { outline: 3px solid var(--sek-y1); outline-offset: 3px; }
.sek .sek-error { color: #b0341f; font-size: 15px; font-weight: 600; }
.sek-done { max-width: 720px; padding: 22px 24px; background: var(--sek-mint); border-radius: 14px; }
.sek-done h3 { font-family: "Overpass", sans-serif; font-size: 22px; font-weight: 900; color: var(--sek-g3); margin: 0 0 6px; }
.sek-done p { margin: 0; }

@media (max-width: 600px) {
  .sek-hero-star--a { width: 220px; height: 220px; right: -70px; }
  .sek .sek-hero-title { padding: 8px 14px 2px; }
  .sek-sky { padding: 56px 10px 72px; }
  .sek-name { font-size: calc(15px * var(--s)); }
  .sek-details { font-size: 11px; }
  .sek-row { grid-template-columns: 1fr; }
  .sek-submit { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .sek .sek-star, .sek-light, .sek-sky::after, .sek-hero-star { animation: none !important; }
}
