:root {
  --navy-950: #071832;
  --navy-900: #0e284f;
  --navy-800: #17407a;
  --pool-700: #1e66be;
  --pool-500: #3293e2;
  --sky-100: #f3f9ff;
  --sky-200: #d9edff;
  --white: #ffffff;
  --ink-900: #152f57;
  --ink-700: #3a5b86;
  --surface: #ffffff;
  --stroke: #dce9f9;
  --accent: #f2c75a;
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 12px 30px rgba(10, 45, 93, 0.1);
  --shadow-strong: 0 20px 46px rgba(10, 45, 93, 0.2);
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink-900);
  background: linear-gradient(180deg, #fbfdff 0%, #f2f8ff 100%);
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: "Sora", "Manrope", "Segoe UI", Arial, sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

p,
ul,
ol { margin: 0; }

a { color: inherit; }

img {
  max-width: 100%;
  display: block;
  image-orientation: from-image;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 999;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  background: var(--white);
}

.shell {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.section {
  padding: clamp(2.6rem, 4.8vw, 4.6rem) 0;
}

.section-title {
  font-size: clamp(1.55rem, 2.9vw, 2.35rem);
  margin-bottom: 0.8rem;
}

.section-lead {
  max-width: 67ch;
  color: var(--ink-700);
  font-size: clamp(0.99rem, 1.2vw, 1.08rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(12, 48, 97, 0.09);
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.brand {
  color: var(--ink-900);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--navy-900);
  background: radial-gradient(circle at 30% 20%, #fffce8, var(--accent));
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.main-nav a {
  text-decoration: none;
  color: #325480;
  font-weight: 650;
  border-radius: 999px;
  padding: 0.4rem 0.72rem;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--ink-900);
  background: rgba(25, 98, 182, 0.08);
}

.mobile-cta { display: none; }

.header-cta {
  justify-self: end;
  text-decoration: none;
  background: var(--accent);
  color: #183663;
  border-radius: 999px;
  padding: 0.56rem 0.96rem;
  font-weight: 750;
  box-shadow: 0 8px 18px rgba(242, 199, 90, 0.26);
}

.header-cta:hover,
.header-cta:focus-visible { background: #f8d578; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(19, 64, 126, 0.2);
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy-900);
}

.hero {
  position: relative;
  overflow: clip;
  min-height: 84svh;
  color: #e9f5ff;
  background:
    linear-gradient(180deg, rgba(4, 24, 57, 0.52), rgba(4, 24, 57, 0.52)),
    url('/images/24h/hero/freibad-hero-optimized.webp') center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(7, 32, 68, 0.56), rgba(19, 72, 136, 0.44));
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 78px;
  background: radial-gradient(75% 120% at 50% -18%, transparent 63%, #f8fcff 65%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 84svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(4.8rem, 8vw, 7.2rem) 0 4rem;
}

.hero-copy { max-width: 840px; }

.kicker {
  display: inline-flex;
  color: #ffffff;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.14);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.77rem;
  font-weight: 760;
}

.kicker-logo {
  display: block;
  width: min(288px, 70.4vw);
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(2rem, 4.6vw, 4rem);
  margin: 0.85rem auto 0.8rem;
  max-width: 16ch;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.hero-date {
  color: #ffffff;
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  font-weight: 760;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.hero-place {
  color: #ffffff;
  margin-top: 0.3rem;
  font-size: clamp(1.04rem, 1.8vw, 1.34rem);
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.hero-time {
  margin-top: 0.55rem;
  font-size: clamp(0.96rem, 1.2vw, 1.08rem);
  color: #d7e9ff;
  text-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.cta-row {
  margin-top: 1.3rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 0.76rem 1.2rem;
  font-weight: 760;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #173763;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #f8d578;
  transform: translateY(-1px);
}

.btn-secondary {
  border: 1px solid #7aa8da;
  color: #1c3f6f;
  background: #eef6ff;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: #dfeeff;
  color: #173763;
}

.quick-dates {
  margin-top: -1.9rem;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.quick-dates article,
.info-card,
.rule-card,
.feature-block,
.pricing-card,
.coming-soon,
.map-card,
.page-hero,
.faq-list details {
  background: var(--surface);
  border: 1px solid rgba(18, 85, 163, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.quick-dates article,
.info-card,
.rule-card,
.feature-block,
.pricing-card,
.coming-soon,
.map-card { padding: 1.08rem; }

.quick-dates h2 {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  margin-bottom: 0.54rem;
}

.quick-dates p + p { margin-top: 0.3rem; }

.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.card-grid-5 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

.info-card { transition: transform 0.2s ease, box-shadow 0.2s ease; }

.info-card:hover { transform: translateY(-2px); }

.info-card h3 {
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  margin-bottom: 0.42rem;
}

.section-wave-light {
  background: linear-gradient(180deg, #ecf6ff 0%, #f8fcff 100%);
}

.immersive {
  position: relative;
  color: #eff8ff;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-strong);
}

.immersive::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.immersive::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(6, 28, 61, 0.68), rgba(11, 62, 122, 0.54));
}

.immersive-content {
  position: relative;
  z-index: 1;
  padding: clamp(1.2rem, 2.4vw, 2rem);
}

.immersive-medals::before { background-image: url('/images/24h/gallery/freibad-gallery-1-optimized.webp'); }
.immersive-overnight::before { background-image: url('/images/24h/gallery/freibad-gallery-2-optimized.webp'); }
.immersive-location::before { background-image: url('/images/24h/location/freibad-location-optimized.webp'); }
.immersive-team::before { background-image: url('/images/24h/gallery/freibad-gallery-2-optimized.webp'); }

.medal-panel {
  margin-top: 0.95rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-900);
  padding: 0.95rem;
}

.medal-grid {
  margin-top: 0.72rem;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.medal {
  border-radius: 14px;
  text-align: center;
  padding: 0.95rem;
  font-weight: 740;
}

.medal h4 { margin-bottom: 0.4rem; }
.medal p { font-size: clamp(1rem, 1.7vw, 1.16rem); }

.medal.bronze { background: linear-gradient(158deg, #f7dbc8, #cc9069); }
.medal.silver { background: linear-gradient(158deg, #f2f7fd, #bfcede); }
.medal.gold { background: linear-gradient(158deg, #fef0cb, #eabc47); }

.note { margin-top: 0.75rem; }

.rule-grid,
.two-col {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.immersive-team .rule-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-lead {
  color: #d8eafe;
  margin-bottom: 0.95rem;
  text-shadow: 0 5px 16px rgba(0, 0, 0, 0.32);
}

.immersive-team .section-title,
.countdown .section-title {
  color: #ffffff;
}

.immersive-medals .section-title,
.immersive-medals .section-lead,
.immersive-medals .note {
  color: #ffffff;
}

.rule-card h3,
.feature-block h2,
.pricing-card h3,
.map-card h2 { margin-bottom: 0.5rem; }

.map-card {
  color: #111827;
}

.rule-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 780;
  color: #18447d;
  background: #dcedff;
  margin-bottom: 0.45rem;
}

.deadline-banner {
  margin-top: 1rem;
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(11, 54, 109, 0.92), rgba(17, 96, 184, 0.86));
  color: #f1f8ff;
  padding: 0.84rem 0.95rem;
}

.feature-block .soft { margin-top: 0.45rem; color: var(--ink-700); }

.breakfast-card {
  margin: 0.8rem 0;
  border-radius: 12px;
  background: linear-gradient(125deg, #fff5d1, #ffe3a4);
  color: #21406d;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
  padding: 0.76rem 0.85rem;
  font-weight: 760;
}

.countdown {
  color: #f3f9ff;
  background:
    linear-gradient(140deg, rgba(8, 36, 77, 0.9), rgba(19, 90, 173, 0.84)),
    url('/images/24h/hero/freibad-hero-optimized.webp') center/cover no-repeat;
}

.count-grid {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(88px, 1fr));
  gap: 0.72rem;
  text-align: center;
}

.count-grid > div {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.72rem 0.5rem;
}

.count-grid span {
  font-size: clamp(1.5rem, 3.3vw, 2.35rem);
  font-weight: 800;
}

.count-grid small { color: #d6e7fb; }

.ticket-list {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.ticket-item {
  background: var(--surface);
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.88rem 1rem;
  border-bottom: 1px solid #e4eef9;
}

.ticket-item:last-child { border-bottom: 0; }

.pricing-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.pricing-card h3 { font-size: clamp(1.12rem, 1.8vw, 1.4rem); }

.pricing-card p {
  display: flex;
  justify-content: space-between;
  margin-top: 0.45rem;
}

.breakfast-inline {
  margin-top: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border-radius: 999px;
  background: #fff2c7;
  color: #26416b;
  font-weight: 760;
  padding: 0.52rem 0.86rem;
}

.page-hero {
  margin-top: 1rem;
  padding: clamp(1.3rem, 2.8vw, 1.9rem);
}

.page-hero h1 {
  font-size: clamp(1.76rem, 3.9vw, 2.75rem);
  margin-bottom: 0.34rem;
}

.page-hero p { color: var(--ink-700); }

.timeline,
.plain-list { padding-left: 1.1rem; }

.timeline li + li,
.plain-list li + li { margin-top: 0.36rem; }

.map-placeholder {
  margin-top: 0.86rem;
  min-height: 290px;
  border-radius: 14px;
  border: 1px solid #bedcff;
  background:
    linear-gradient(130deg, rgba(143, 220, 255, 0.5), rgba(255, 255, 255, 0.93)),
    repeating-linear-gradient(45deg, #d9efff, #d9efff 10px, #f4faff 10px, #f4faff 20px);
  display: grid;
  place-items: center;
}

.map-placeholder span {
  background: rgba(255, 255, 255, 0.88);
  border-radius: 10px;
  padding: 0.5rem 0.7rem;
  font-weight: 700;
}

.map-consent {
  margin-top: 0.86rem;
  border: 1px solid #bedcff;
  border-radius: 14px;
  background: #f7fbff;
  padding: 1rem;
}

.map-consent h3 {
  margin-bottom: 0.45rem;
  font-size: 1.08rem;
}

.map-consent p + p {
  margin-top: 0.5rem;
}

.map-consent .btn {
  margin-top: 0.75rem;
}

.google-map {
  margin-top: 0.86rem;
  width: 100%;
  min-height: 360px;
  height: clamp(360px, 52vw, 560px);
  border-radius: 14px;
  border: 1px solid #bedcff;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(130deg, rgba(143, 220, 255, 0.45), rgba(255, 255, 255, 0.92)),
    repeating-linear-gradient(45deg, #d9efff, #d9efff 10px, #f4faff 10px, #f4faff 20px);
}

.map-loading {
  position: absolute;
  inset: auto 12px 12px 12px;
  display: inline-block;
  width: fit-content;
  background: rgba(255, 255, 255, 0.9);
  color: #1f2937;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  font-weight: 700;
}

.google-map.is-loaded .map-loading {
  display: none;
}

.map-actions {
  margin-top: 0.9rem;
}

.anreise-card,
.anreise-card h2,
.anreise-card p,
.anreise-card li {
  color: #111827;
}

.anreise-card a {
  color: #1d4ed8;
}

.photo-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
}

.photo-card {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.photo-card img {
  width: 100%;
  height: 100%;
  max-height: 350px;
  object-fit: cover;
}

.sponsor-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
}

.sponsor-box {
  min-height: 88px;
  border-radius: 14px;
  border: 2px dashed #a4cbf3;
  color: #3b5f8f;
  background: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.faq-list details { padding: 0.76rem 0.9rem; }
.faq-list details + details { margin-top: 0.7rem; }
.faq-list summary { cursor: pointer; font-weight: 740; }
.faq-list p { margin-top: 0.5rem; color: var(--ink-700); }

.site-footer {
  margin-top: 2.6rem;
  background: #081c3f;
  color: #d6e8fd;
}

.footer-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  padding: 2.2rem 0 1.06rem;
}

.site-footer h3 {
  color: var(--white);
  margin-bottom: 0.42rem;
}

.site-footer p + p { margin-top: 0.25rem; }

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

.footer-logo {
  display: block;
  width: min(208px, 64vw);
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #e4f1ff;
  font-weight: 700;
}

.social-link img {
  width: 20px;
  height: 20px;
}

.social-link:hover,
.social-link:focus-visible {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.78rem 0 1.08rem;
}

.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .header-inner {
    display: flex;
    min-height: 74px;
  }

  .header-cta { display: none; }

  .menu-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .main-nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0.42rem;
    padding: 0.65rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(14, 48, 96, 0.12);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .main-nav.open {
    transform: scaleY(1);
    opacity: 1;
    visibility: visible;
  }

  .main-nav a {
    border-radius: 10px;
    padding: 0.72rem;
  }

  .mobile-cta {
    display: block;
    background: #edf5ff;
    color: #1a467f;
    font-weight: 760;
  }

  .hero {
    min-height: 76svh;
  }

  .hero-grid {
    min-height: 76svh;
    padding-top: 5.4rem;
  }
}

@media (max-width: 680px) {
  .count-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-dates { margin-top: -1.2rem; }
  .hero h1 { max-width: 12ch; }
}

.registration-app {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-xl);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.reg-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .5rem;
  margin-bottom: 1rem;
}

.reg-step {
  font-size: .85rem;
  border-radius: 999px;
  border: 1px solid #c6dcf5;
  color: #4d668d;
  padding: .35rem .55rem;
  text-align: center;
}

.reg-step.is-active {
  background: #eaf4ff;
  border-color: #7bb2eb;
  color: var(--ink-900);
  font-weight: 700;
}

.edit-entry-row {
  display: flex;
  justify-content: flex-start;
  margin: 0 0 .9rem;
}

.reg-panel { animation: fade-slide .24s ease; }
.is-hidden { display: none !important; }

.reg-type-grid {
  display: grid;
  gap: .8rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.reg-type-card {
  text-align: left;
  border: 1px solid #cfe1f7;
  border-radius: var(--radius-lg);
  background: #fff;
  padding: .9rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.reg-type-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.reg-type-card.is-active { border-color: #4d9be5; box-shadow: var(--shadow-soft); }
.reg-type-card .icon { font-size: 1.2rem; }
.reg-type-card p { color: var(--ink-700); margin-top: .3rem; }
.reg-payment-grid {
  display: grid;
  gap: .8rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.reg-payment-card {
  text-align: left;
  border: 1px solid #cfe1f7;
  border-radius: var(--radius-lg);
  background: #fff;
  padding: .9rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  cursor: pointer;
  display: grid !important;
  gap: .28rem;
}
.reg-payment-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.reg-payment-card.is-active {
  border-color: #4d9be5;
  box-shadow: var(--shadow-soft);
}
.reg-payment-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.reg-payment-card .icon { font-size: 1.2rem; }
.reg-payment-card .pay-title { font-weight: 700; color: var(--ink-900); }
.reg-payment-card .pay-desc { color: var(--ink-700); font-size: .92rem; }

.participant-card {
  border: 1px solid #d5e7fb;
  border-radius: var(--radius-md);
  background: #fbfdff;
  padding: .8rem;
  margin-bottom: .7rem;
}

.participant-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  margin-bottom: .5rem;
}

.participant-remove {
  border: 1px solid #d8a6a6;
  background: #fff3f3;
  color: #7d1f1f;
  border-radius: 10px;
  padding: .35rem .55rem;
  font-weight: 700;
}

.participant-remove:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.reg-grid-two {
  display: grid;
  gap: .65rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.reg-grid-one {
  display: grid;
  gap: .65rem;
  grid-template-columns: 1fr;
  max-width: 620px;
}

.registration-app label {
  display: grid;
  gap: .2rem;
  font-weight: 600;
  color: #24466f;
}

.registration-app input,
.registration-app select {
  border: 1px solid #bcd5f3;
  border-radius: 10px;
  padding: .5rem .6rem;
  font: inherit;
}

.registration-app input:focus,
.registration-app select:focus {
  outline: 2px solid #8fc1ef;
  outline-offset: 1px;
}

.breakfast-box { grid-column: 1 / -1; display: flex !important; align-items: center; gap: .5rem; }
.reg-note { color: var(--ink-700); font-size: .95rem; }
.reg-nav { display: flex; justify-content: flex-end; gap: .6rem; margin-top: .8rem; flex-wrap: wrap; align-items: center; }
#add-person {
  border: 1px solid #7aa8da;
  background: #eef6ff;
  color: #1c3f6f;
}
#load-map-btn {
  border: 1px solid #7aa8da;
  background: #eef6ff;
  color: #1c3f6f;
}
#add-person:hover,
#add-person:focus-visible,
#load-map-btn:hover,
#load-map-btn:focus-visible {
  background: #dfeeff;
}
#add-person:disabled {
  border-color: #c7d9ee;
  background: #f4f8fd;
  color: #6f8eb2;
  cursor: not-allowed;
}
#btn-back { border: 1px solid #7aa8da; background: #eef6ff; color: #1c3f6f; }
#btn-next { min-width: 170px; }

@media (max-width: 680px) {
  .reg-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .reg-nav .btn {
    width: 100%;
  }

  .edit-entry-row .btn {
    width: 100%;
  }
}

.team-edit-app {
  display: grid;
  gap: 1rem;
}

.edit-intro-box,
.edit-login-card,
.edit-section {
  border: 1px solid #d5e7fb;
  border-radius: var(--radius-lg);
}

.edit-intro-actions,
.edit-form-actions {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
  align-items: center;
}

.edit-login-card form {
  margin-top: .7rem;
}

.edit-error {
  color: #b42318;
  margin-top: .55rem;
  font-weight: 600;
}

.edit-success {
  color: #136a34;
  background: #edf9f0;
  border: 1px solid #bfe7c9;
  border-radius: var(--radius-md);
  padding: .75rem .85rem;
}

.info-box {
  border-radius: var(--radius-md);
  padding: .75rem .85rem;
  border: 1px solid transparent;
}

.info-box-warning {
  background: #fff7e8;
  border-color: #f0d08e;
  color: #7a5211;
}

.overview-grid,
.summary-grid,
.cost-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.cost-box {
  margin-top: .85rem;
  border-radius: var(--radius-md);
  border: 1px solid #d7e8fb;
  background: #f8fbff;
  padding: .85rem;
}

.summary-note {
  margin-top: .6rem;
  color: var(--ink-700);
}

.edit-person-card {
  margin-bottom: .75rem;
}

@media (max-width: 680px) {
  .edit-intro-actions,
  .edit-form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .edit-form-actions .btn {
    width: 100%;
  }
}
.reg-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.reg-table th, .reg-table td { border-bottom: 1px solid #e1edf9; padding: .44rem; text-align: left; }
.reg-total { margin-top: .6rem; }

@media (max-width: 680px) {
  .reg-table thead {
    display: none;
  }

  .reg-table,
  .reg-table tbody,
  .reg-table tr,
  .reg-table td {
    display: block;
    width: 100%;
  }

  .reg-table tr {
    background: #fff;
    border: 1px solid #d5e7fb;
    border-radius: 10px;
    padding: .35rem .45rem;
    margin-bottom: .5rem;
  }

  .reg-table td {
    border-bottom: 1px solid #eaf1fb;
    padding: .35rem .2rem;
  }

  .reg-table td:last-child {
    border-bottom: 0;
    font-weight: 700;
    color: #17335b;
  }

  .reg-table td::before {
    content: attr(data-label);
    display: block;
    font-size: .75rem;
    font-weight: 700;
    color: #4d668d;
    margin-bottom: .08rem;
    text-transform: uppercase;
    letter-spacing: .02em;
  }
}

@keyframes fade-slide {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 780px) {
  .reg-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reg-nav { position: sticky; bottom: .7rem; background: rgba(255,255,255,.96); padding: .55rem; border-radius: 12px; border: 1px solid #d5e7fb; }
}

.live-summary{margin:1rem 0;padding:0.8rem 1rem;background:#fff;border:1px solid #dce9f9;border-radius:12px}.live-search{display:flex;gap:.6rem;margin:1rem 0}.live-search input{padding:.6rem .8rem;border:1px solid #c9dbf6;border-radius:8px}.live-search button{padding:.6rem .9rem;border:0;background:#1e66be;color:#fff;border-radius:8px}

.live-page { padding-top: 2rem; }
.live-page.is-locked {
  min-height: calc(100svh - 160px);
  background:
    linear-gradient(140deg, rgba(8, 36, 77, 0.9), rgba(19, 90, 173, 0.84)),
    url('/images/24h/hero/freibad-hero-optimized.webp') center/cover no-repeat;
}
.live-page.is-locked .live-page-inner {
  min-height: calc(100svh - 160px);
  display: grid;
  align-content: center;
}
.live-page.is-locked .live-header {
  text-align: center;
}
.live-page.is-locked .live-header .section-title,
.live-page.is-locked .live-header .section-lead {
  color: #fff;
}
.live-page.is-locked #live-prestart {
  background: transparent;
  margin: 0;
  padding: 0;
}
.live-page.is-locked #live-prestart .count-grid > div {
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.live-summary-card { background:#fff; border:1px solid #dce9f9; border-radius:14px; padding:1rem; box-shadow:var(--shadow-soft); }
.live-summary-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:.8rem; }
.live-status-row { display:flex; justify-content:space-between; gap:1rem; margin:.8rem 0 1rem; color:var(--ink-700); font-size:.95rem; }
.live-tab-buttons { display:flex; flex-wrap:wrap; gap:.5rem; margin:1rem 0; }
.live-tab-btn { border:1px solid #bfd7f5; background:#fff; color:var(--ink-900); border-radius:999px; padding:.45rem .85rem; font-weight:700; cursor:pointer; }
.live-tab-btn.is-active { background:#1e66be; border-color:#1e66be; color:#fff; }
.live-tab-panel { display:none; }
.live-tab-panel.is-active { display:block; }
.live-table { width:100%; border-collapse:collapse; background:#fff; border:1px solid #dce9f9; border-radius:12px; overflow:hidden; }
.live-table th, .live-table td { text-align:left; padding:.55rem .65rem; border-bottom:1px solid #e9f1fb; }
.live-table th { background:#f4f9ff; }
.live-group { border:1px solid #dce9f9; border-radius:12px; background:#fff; margin-bottom:.75rem; }
.live-group summary { cursor:pointer; list-style:none; display:flex; justify-content:space-between; gap:1rem; padding:.7rem .8rem; font-weight:700; }
.live-lookup-card { background:#fff; border:1px solid #dce9f9; border-radius:14px; padding:1rem; }
.live-lookup-controls { display:flex; gap:.6rem; margin:.6rem 0 1rem; }
.live-lookup-controls input { flex:1; padding:.6rem .7rem; border:1px solid #c7ddf8; border-radius:8px; }
.live-lookup-controls button { padding:.6rem .95rem; border:0; border-radius:8px; background:#1e66be; color:#fff; font-weight:700; }
.live-lookup-section { margin-bottom:1rem; }
.live-error { color:#b42318; font-weight:600; margin-top:.6rem; }
.live-cards { display:none; }
@media (max-width: 800px) {
  .live-table { display:none; }
  .live-cards { display:grid; grid-template-columns:1fr; gap:.6rem; }
  .live-card { border:1px solid #dce9f9; border-radius:12px; background:#fff; padding:.7rem .8rem; }
  .live-tab-panel[data-panel="teams"] .live-cards { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; }
  .live-tab-panel[data-panel="teams"] .live-card { padding:.9rem .95rem; }
  .live-tab-panel[data-panel="teams"] .live-card h3 { font-size:1rem; line-height:1.3; }
  .live-tab-panel[data-panel="teams"] .live-card p { font-size:.98rem; line-height:1.35; }
}
