/* Kältebox — cold, clear, calm */
@import url("fonts.css");

:root {
  --ink: #0a1628;
  --ink-soft: #1a2f4a;
  --ice: #e8f4fa;
  --mist: #b8d4e8;
  --cyan: #4ec4e0;
  --cyan-deep: #1a8fb0;
  --frost: #f4fafc;
  --white: #ffffff;
  --muted: rgba(10, 22, 40, 0.62);
  --line: rgba(10, 22, 40, 0.12);
  --glow: rgba(78, 196, 224, 0.35);
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
  --space: clamp(1.25rem, 4vw, 2.5rem);
  --max: 72rem;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Einheitliches Content-Raster für Header, Sections, Footer */
.shell,
.site-header__inner,
.section__inner,
.site-footer__inner,
.hero__shell,
.cta-band__inner {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--space);
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 120% 80% at 10% -10%, rgba(78, 196, 224, 0.18), transparent 50%),
    radial-gradient(ellipse 90% 60% at 100% 20%, rgba(26, 143, 176, 0.12), transparent 45%),
    linear-gradient(180deg, var(--frost) 0%, var(--ice) 40%, #dceef6 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--cyan-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(10, 22, 40, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: rgba(10, 22, 40, 0.14);
  box-shadow: 0 10px 28px rgba(10, 22, 40, 0.07);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
}

.brand__logo {
  height: 2.65rem;
  width: auto;
  max-width: min(14rem, 52vw);
  display: block;
  object-fit: contain;
}

.brand:hover .brand__logo {
  opacity: 0.88;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav__link {
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--ink);
}

.site-nav__cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--ink);
  border: none;
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.25s ease, box-shadow 0.35s var(--ease);
}

.site-nav__cta:hover,
.btn:hover {
  color: var(--white);
  background: var(--cyan-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px var(--glow);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  outline: 1px solid rgba(255, 255, 255, 0.55);
  text-transform: none;
  letter-spacing: -0.01em;
  font-size: 0.95rem;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  box-shadow: none;
}

.hero .btn:not(.btn--ghost) {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.hero .btn:not(.btn--ghost):hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  box-shadow: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 2rem) 0 clamp(3rem, 8vw, 5rem);
  color: var(--white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  background-color: #071526;
  background-image:
    linear-gradient(
      105deg,
      rgba(6, 14, 28, 0.88) 0%,
      rgba(6, 18, 36, 0.55) 38%,
      rgba(6, 18, 36, 0.22) 62%,
      rgba(6, 14, 28, 0.35) 100%
    ),
    linear-gradient(180deg, rgba(4, 12, 28, 0.25) 0%, rgba(6, 14, 28, 0.55) 70%, rgba(6, 14, 28, 0.9) 100%),
    var(--hero-bg);
  background-size: cover;
  background-position: center, center, center right;
  background-repeat: no-repeat;
  transform: scale(1.04);
  animation: hero-zoom 10s var(--ease) forwards;
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -18deg,
      transparent 0,
      transparent 11px,
      rgba(255, 255, 255, 0.012) 11px,
      rgba(255, 255, 255, 0.012) 12px
    );
  opacity: 0.7;
  pointer-events: none;
}

.hero__media::after {
  display: none;
}

.hero__shell {
  position: relative;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  opacity: 0;
  transform: translateY(1.5rem);
  animation: hero-rise 1s 0.25s var(--ease) forwards;
}

.hero__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 8vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  max-width: 22ch;
}

.hero__lead {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 34ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 699px) {
  .hero__media {
    /* Nur das Foto verschieben — Gradient-Filter bleiben unverändert */
    background-position: center, center, calc(100% + 60px) center;
  }
}

@keyframes hero-zoom {
  to {
    transform: scale(1);
  }
}

@keyframes hero-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes frost-drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(-3%, 4%) scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__media,
  .hero__media::after,
  .hero__content,
  .reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Sections */
.section {
  padding-block: clamp(3.5rem, 10vw, 6.5rem);
  padding-inline: 0;
}

.section__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-deep);
  margin: 0 0 0.75rem;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  max-width: none;
}

/* Video-Headline bewusst einzeilig */
#video .section__title {
  max-width: none;
}

.section__title--page {
  max-width: none;
  font-weight: 800;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.section--page {
  padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 3.5rem));
}

.section__lead {
  margin: 0 0 2rem;
  color: var(--muted);
  max-width: none;
}

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

.section--dark .section__label {
  color: var(--cyan);
}

.section--dark .section__lead,
.section--dark p {
  color: rgba(255, 255, 255, 0.78);
}

.section--band {
  background: linear-gradient(135deg, rgba(78, 196, 224, 0.15), rgba(26, 143, 176, 0.08));
  border-block: 1px solid rgba(26, 143, 176, 0.18);
}

.prose p {
  margin: 0 0 1.1rem;
  max-width: none;
}

.prose p:last-child {
  margin-bottom: 0;
}

/* Process / steps */
.steps {
  display: grid;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.steps__item {
  counter-increment: step;
  padding-top: 0.5rem;
  border-top: 2px solid var(--cyan);
}

.steps__item::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--cyan-deep);
  margin-bottom: 0.75rem;
}

.steps__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.steps__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.section--dark .steps__item {
  border-top-color: var(--cyan);
}

.section--dark .steps__item::before {
  color: var(--cyan);
}

.section--dark .steps__text {
  color: rgba(255, 255, 255, 0.72);
}

/* Benefits strip */
.benefits {
  display: grid;
  gap: 1.25rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 700px) {
  .benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}

.benefits li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ink-soft);
}

.benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--cyan);
  border-radius: 50%;
}

/* Indications */
.indications {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.indications li {
  padding: 0.45rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
}

.section--dark .indications li {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
}

.disclaimer {
  margin-top: 1.5rem;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: none;
}

.section--dark .disclaimer {
  color: rgba(255, 255, 255, 0.55);
}

/* Erfahrungsberichte */
.testimonials {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0 0;
  align-items: start;
}

.testimonial {
  margin: 0;
  padding: 1.15rem 1.25rem 1.2rem;
  border: 1px solid var(--line);
  background: var(--white);
  box-sizing: border-box;
}

.testimonial__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  margin: 0 0 0.75rem;
}

.testimonial__stars {
  display: inline-flex;
  align-items: center;
  gap: 0.12rem;
  margin: 0;
  line-height: 1;
}

.testimonial__star {
  font-size: 1.45rem;
  line-height: 1;
  color: var(--mist);
}

.testimonial__star.is-on {
  color: var(--cyan-deep);
}

.testimonial__attr {
  margin: 0;
  position: relative;
  top: 3px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.testimonial__body {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.testimonials__empty {
  margin: 1.5rem 0 0;
  color: var(--muted);
}

.testimonials__cta {
  margin-top: 2rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Testimonial Overlay */
body.testimonial-overlay-open {
  overflow: hidden;
}

.testimonial-overlay {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.testimonial-overlay[hidden] {
  display: none !important;
}

.testimonial-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.testimonial-overlay__card {
  position: relative;
  z-index: 1;
  width: min(32rem, 100%);
  max-height: min(92vh, 44rem);
  overflow: auto;
  padding: 1.75rem 1.5rem 1.5rem;
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(78, 196, 224, 0.2), transparent 55%),
    linear-gradient(180deg, #fff 0%, var(--frost) 100%);
  border: 1px solid var(--line);
  box-shadow: 0 28px 70px rgba(10, 22, 40, 0.22);
  animation: testimonial-overlay-in 0.32s var(--ease);
}

@keyframes testimonial-overlay-in {
  from { opacity: 0; transform: translateY(0.75rem) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.testimonial-overlay__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.testimonial-overlay__close:hover {
  color: var(--ink);
}

.testimonial-overlay__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-deep);
}

.testimonial-overlay__title {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}

.testimonial-overlay__lead {
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.testimonial-form {
  display: grid;
  gap: 0.95rem;
}

.testimonial-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.testimonial-form input,
.testimonial-form select,
.testimonial-form textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  border-radius: 0;
}

.testimonial-form textarea {
  resize: vertical;
  min-height: 7rem;
}

.testimonial-form input:focus,
.testimonial-form select:focus,
.testimonial-form textarea:focus {
  outline: 2px solid rgba(78, 196, 224, 0.45);
  outline-offset: 1px;
  border-color: var(--cyan-deep);
}

.testimonial-form__hint {
  font-weight: 500;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--muted);
}

.testimonial-form__stars {
  margin: 0;
  padding: 0;
  border: 0;
}

.testimonial-form__stars legend {
  margin: 0 0 0.45rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.star-rating {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 0.15rem;
}

.star-rating input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.star-rating label {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  font-size: 1.55rem;
  line-height: 1;
  color: rgba(10, 22, 40, 0.22);
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s var(--ease);
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
  color: var(--cyan-deep);
}

.star-rating label:hover {
  transform: scale(1.08);
}

.testimonial-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.testimonial-form__error {
  margin: 0;
  padding: 0.65rem 0.75rem;
  background: rgba(163, 29, 29, 0.08);
  border: 1px solid rgba(163, 29, 29, 0.28);
  color: #861616;
  font-size: 0.92rem;
}

.testimonial-form__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.testimonial-form__cancel.btn--ghost,
.testimonial-overlay .btn--ghost {
  color: var(--ink);
  outline-color: rgba(10, 22, 40, 0.28);
}

.testimonial-form__cancel.btn--ghost:hover,
.testimonial-overlay .btn--ghost:hover {
  background: rgba(10, 22, 40, 0.06);
  color: var(--ink);
}

.testimonial-thanks {
  text-align: left;
}

.testimonial-thanks .btn {
  margin-top: 0.35rem;
}

/* Video */
.video-list {
  display: grid;
  gap: 2.75rem;
}

.video-item {
  max-width: 52rem;
}

.video-item__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 0.85rem;
  color: var(--ink);
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 52rem;
  background: var(--ink);
  overflow: hidden;
}

.video-shell video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

.video-shell__preview {
  pointer-events: none;
}

.video-shell iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-shell__poster {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1;
  background:
    linear-gradient(160deg, rgba(10, 22, 40, 0.2), rgba(10, 22, 40, 0.45)),
    var(--poster-image) center / cover no-repeat,
    #0a1c30;
  transition: filter 0.3s ease;
}

.video-shell__poster--over-video {
  background: linear-gradient(160deg, rgba(10, 22, 40, 0.15), rgba(10, 22, 40, 0.28));
}

.video-shell__poster:hover {
  filter: brightness(1.05);
}

.video-shell__poster:hover .video-shell__play {
  background: rgba(20, 20, 20, 0.72);
}

.video-shell__play {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  background: rgba(28, 28, 30, 0.55);
  display: grid;
  place-items: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  transition: background 0.25s ease, transform 0.25s ease;
}

.video-shell__play::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin-left: 0.2rem;
  border-style: solid;
  border-width: 0.7rem 0 0.7rem 1.15rem;
  border-color: transparent transparent transparent #fff;
}

.video-item__desc {
  margin: 0.9rem 0 0;
  color: var(--muted);
  max-width: none;
  width: 100%;
  line-height: 1.55;
}

/* Infomaterial / PDFs */
.info-docs {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  max-width: none;
  width: 100%;
}

.info-doc {
  margin: 0;
}

.info-doc__link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 0;
  background: transparent;
  border: 0;
  text-decoration: none;
  color: inherit;
}

.info-doc__link:hover {
  color: inherit;
}

.info-doc__icon {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  display: block;
  margin-top: 0.35rem;
}

.info-doc__body {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  box-sizing: border-box;
  padding: 1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.info-doc__link:hover .info-doc__body {
  border-color: var(--cyan-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px var(--glow);
}

.info-doc__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.info-doc__desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.45;
}

/* CTA band */
.cta-band {
  padding-block: clamp(3rem, 8vw, 5rem);
  padding-inline: 0;
  background:
    linear-gradient(120deg, rgba(10, 22, 40, 0.95), rgba(26, 143, 176, 0.88)),
    radial-gradient(ellipse 70% 80% at 80% 20%, rgba(78, 196, 224, 0.35), transparent 50%),
    linear-gradient(145deg, #071526, #0d2a44);
  color: var(--white);
  text-align: center;
}

.cta-band__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

.cta-band__text {
  margin: 0 auto 0.85rem;
  max-width: none;
  width: 100%;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.85);
}

.cta-band__highlight {
  margin: 0 auto 1.5rem;
  max-width: none;
  width: 100%;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .cta-band__text,
  .cta-band__highlight {
    white-space: normal;
  }
}

/* Pages: contact / legal */
.page-hero {
  padding: calc(var(--header-h) + 3rem) var(--space) 2.5rem;
}

.page-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  letter-spacing: -0.04em;
  margin: 0 0 0.75rem;
}

.page-hero__lead {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}

.placeholder-banner {
  margin: 0 0 1.5rem;
  padding: 0.65rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  background: rgba(78, 196, 224, 0.22);
  border-left: 3px solid var(--cyan-deep);
}

.split {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 840px) {
  .split {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }
}

.contact-meta {
  margin: 0;
  padding: 0;
}

.contact-meta dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan-deep);
  margin: 1.25rem 0 0.25rem;
}

.contact-meta dt:first-child {
  margin-top: 0;
}

.contact-meta dd {
  margin: 0;
  font-size: 1.05rem;
}

.contact-meta a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.contact-meta a:hover {
  color: var(--cyan-deep);
}

.form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 500;
  font-size: 0.92rem;
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0;
}

.form input:focus,
.form textarea:focus {
  outline: 2px solid var(--cyan);
  outline-offset: 1px;
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.form__hint {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.form__status {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--cyan-deep);
}

.legal {
  max-width: 42rem;
  margin: 0;
  padding: 0;
}

.legal > :first-child {
  margin-top: 0;
}

.legal h2,
.legal h3,
.legal h4,
.legal p {
  margin-left: 0;
  padding-left: 0;
  text-indent: 0;
}

.legal h2,
.legal h3,
.legal h4 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 1.75rem 0 0.45rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.legal h2 {
  font-size: 1.15rem;
}

.legal h3 {
  font-size: 1.05rem;
}

.legal h4 {
  font-size: 1rem;
}

.legal h2:first-child,
.legal h3:first-child,
.legal h4:first-child {
  margin-top: 0;
}

.legal p {
  margin: 0 0 0.35rem;
  color: var(--muted);
}

.legal p + h2,
.legal p + h3,
.legal p + h4 {
  margin-top: 1.75rem;
}

.legal ul,
.legal ol {
  margin: 0.35rem 0 0.75rem;
  padding-left: 1.1rem;
  color: var(--muted);
}

.legal li {
  color: var(--muted);
}

.legal a {
  color: var(--cyan-deep);
}

.legal strong,
.legal b {
  color: var(--ink);
  font-weight: 600;
}

/* Footer */
/* Footer */
.site-footer {
  padding-block: 2rem;
  padding-inline: 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  min-height: 3.5rem;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
}

.site-footer__nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.site-footer__nav a:hover {
  color: var(--cyan);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* —— Booking / Ampel-Timeline (hell, wie die Infoseite) —— */
.page-booking {
  padding-top: var(--header-h);
}

.book {
  min-height: calc(100vh - var(--header-h) - 5rem);
  padding-block: clamp(2rem, 5vw, 3.5rem) 4rem;
  color: var(--ink);
}

.book__eyebrow {
  margin-bottom: 0.5rem;
}

.book__title {
  margin: 0 0 0.65rem;
}

.book__note {
  margin: 0 0 1.75rem;
  max-width: none;
  width: 100%;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.55;
}

.book__note--howto {
  margin-top: 0.25rem;
  margin-bottom: 1.25rem;
}

.book-choice {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0 1.5rem;
}

@media (min-width: 720px) {
  .book-choice {
    grid-template-columns: 1fr 1fr;
  }
}

.book-choice__btn {
  text-align: left;
  display: grid;
  gap: 0.4rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.book-choice__btn strong {
  font-size: 1.05rem;
  color: var(--ink);
}

.book-choice__btn span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.book-choice__btn:hover {
  border-color: var(--cyan-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px var(--glow);
}

.book-manage-link--gate {
  margin-top: 1.25rem;
  margin-bottom: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.book-staff--gate {
  margin-top: 0.75rem;
}

.book-locs--staff {
  margin: 0.75rem 0 1rem;
}

.book-loc.is-selected {
  border-color: var(--cyan-deep);
  box-shadow: 0 0 0 2px rgba(26, 143, 176, 0.2);
}

.book-loc--contact {
  cursor: default;
}

.book-loc--contact:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--line);
}

.book-loc a {
  color: var(--cyan-deep);
}

.book__note p {
  margin: 0 0 0.45rem;
}

.book__note p:last-child {
  margin-bottom: 0;
}

.book__note-highlight {
  display: block;
  margin-top: 0.85rem;
  padding: 0.7rem 0.9rem;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--cyan-deep);
  background: rgba(26, 143, 176, 0.12);
  border-left: 4px solid var(--cyan-deep);
}

.book__lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  max-width: 36rem;
  font-size: 1.05rem;
}

.book__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1.75rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.book__steps .is-active { color: var(--ink-soft); font-weight: 600; }
.book__steps .is-current { color: var(--cyan-deep); font-weight: 700; }

.book-panel {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  padding: 1.35rem 1.25rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 10px 36px rgba(10, 22, 40, 0.05);
}

.book-panel__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.book-panel__text {
  margin: 0 0 1rem;
  color: var(--muted);
}

.book-back {
  background: none;
  border: 0;
  color: var(--cyan-deep);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-bottom: 0.75rem;
}

.book-back:hover {
  color: var(--ink);
}

.book-locs {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .book-locs { grid-template-columns: repeat(2, 1fr); }
}

.book-loc {
  text-align: left;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  display: grid;
  gap: 0.25rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.book-loc:hover {
  border-color: var(--cyan-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px var(--glow);
}

.book-loc span {
  color: var(--muted);
  font-size: 0.9rem;
}

.book-guest {
  margin: 0 0 1.5rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--line);
}

.book-form {
  display: grid;
  gap: 0.85rem;
  max-width: 24rem;
}

.book-form--guest {
  max-width: 32rem;
  margin-top: 0.85rem;
}

.book-email-block {
  display: grid;
  gap: 0.55rem;
}

.book-no-email {
  display: grid !important;
  grid-template-columns: auto 1fr;
  gap: 0.55rem 0.7rem;
  align-items: start;
  font-weight: 500 !important;
  font-size: 0.92rem !important;
  color: var(--ink-soft);
}

.book-no-email input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  accent-color: var(--cyan-deep);
}

.book-no-email[hidden],
#customer-select-label[hidden],
#customer-email-label[hidden] {
  display: none !important;
}

#customer-select {
  width: 100%;
  max-width: 100%;
}

.book-privacy {
  display: grid !important;
  grid-template-columns: auto 1fr;
  gap: 0.55rem 0.7rem;
  align-items: start;
  font-weight: 500 !important;
  font-size: 0.92rem !important;
  color: var(--ink-soft);
}

.book-privacy input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  accent-color: var(--cyan-deep);
}

.book-privacy a {
  color: var(--cyan-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.book-privacy[hidden] {
  display: none !important;
}

.book-form--otp {
  margin-top: 1.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.book-form__hint {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 500;
  color: var(--muted);
}

.book-form label {
  display: grid;
  gap: 0.3rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.book-form input {
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.book-form input:focus {
  outline: 2px solid rgba(78, 196, 224, 0.45);
  outline-offset: 1px;
  border-color: var(--cyan-deep);
}

.book-btn { justify-self: start; }

.page-booking .btn--ghost {
  color: var(--ink);
  outline-color: rgba(10, 22, 40, 0.28);
}

.page-booking .btn--ghost:hover {
  background: rgba(10, 22, 40, 0.06);
  color: var(--ink);
}

.book-staff {
  margin-top: 1.5rem;
  color: var(--muted);
}

.book-staff summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink-soft);
}

.book-days {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
  scrollbar-width: thin;
}

.book-day {
  flex: 0 0 auto;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.book-day.is-active {
  border-color: var(--cyan-deep);
  background: rgba(78, 196, 224, 0.14);
  color: var(--ink);
  font-weight: 700;
}

.book-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.85rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.lg {
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  margin-right: 0.35rem;
  vertical-align: middle;
}
.lg--free { background: #2fbf7a; }
.lg--hold { background: #e6b84d; }
.lg--booked { background: #d64545; }
.lg--mine { background: #4ec4e0; box-shadow: 0 0 0 2px rgba(78, 196, 224, 0.35); }

.book-timeline-wrap {
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.book-hours,
.book-timeline {
  display: grid;
  gap: 0.35rem;
  min-width: max-content;
}

.book-hours {
  margin-bottom: 0.35rem;
}

.book-hours__mark {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
}

.book-slot {
  height: 3.25rem;
  border: 0;
  cursor: pointer;
  position: relative;
  font: inherit;
  color: transparent;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.book-slot span,
.book-slot__icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(0, 0, 0, 0.38);
}

.book-slot__icon svg {
  display: block;
}

.book-slot.is-free .book-slot__icon { color: rgba(4, 40, 20, 0.45); }
.book-slot.is-hold .book-slot__icon { color: rgba(60, 40, 0, 0.45); }
.book-slot.is-booked .book-slot__icon { color: rgba(60, 10, 10, 0.4); }
.book-slot.is-past .book-slot__icon { color: rgba(10, 22, 40, 0.28); }
.book-slot.is-mine .book-slot__icon { color: #041018; }

.book-slot.is-free { background: linear-gradient(180deg, #3ad18c, #1f9a5c); }
.book-slot.is-hold { background: linear-gradient(180deg, #f0c75a, #c9921f); cursor: not-allowed; }
.book-slot.is-booked { background: linear-gradient(180deg, #e85a5a, #a82828); cursor: not-allowed; }
.book-slot.is-past { background: rgba(10, 22, 40, 0.08); cursor: not-allowed; }
.book-slot.is-mine {
  background: linear-gradient(180deg, #6ed7f0, #1a8fb0);
  box-shadow: 0 0 0 2px #fff, 0 8px 24px rgba(78, 196, 224, 0.35);
  color: #041018;
}
.book-slot.is-free:hover:not(:disabled) { transform: translateY(-3px); filter: brightness(1.08); }
.book-slot.is-free:not(:disabled) { cursor: pointer; }

.book-hold {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 1rem;
  row-gap: 0.55rem;
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(26, 143, 176, 0.35);
  background: rgba(78, 196, 224, 0.12);
}

.book-hold.is-done {
  border-color: rgba(31, 154, 92, 0.45);
  background: rgba(47, 191, 122, 0.14);
}

.book-hold__info p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.book-hold__btn {
  justify-self: end;
  grid-column: 2;
  grid-row: 1;
}

.book-hold__hint {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: end;
  margin: 0 !important;
  max-width: 22rem;
  font-size: 0.88rem !important;
  font-weight: 600;
  color: #a31d1d !important;
  text-align: right;
  line-height: 1.35;
}

.book-hold__hint.is-alert,
.book-privacy.is-alert {
  outline: 2px solid rgba(163, 29, 29, 0.35);
  outline-offset: 3px;
  border-radius: 2px;
}

.book-privacy.is-alert span {
  color: #a31d1d;
}

.book-alert {
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.book-alert.is-error { background: #fdeaea; color: #a31d1d; }
.book-alert.is-ok { background: #e5f6ec; color: #1a7a45; }

.book-code {
  font-family: ui-monospace, monospace;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--cyan-deep);
}

.book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.book-manage-link {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.book-manage-link a { color: var(--cyan-deep); font-weight: 600; }

.book-empty {
  color: var(--muted);
  padding: 1rem 0;
}

/* Passwort einblenden */
.pw-field {
  position: relative;
  display: block;
}

.pw-field input {
  width: 100%;
  padding-right: 2.75rem;
  box-sizing: border-box;
}

.pw-field__toggle {
  position: absolute;
  top: 50%;
  right: 0.35rem;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.pw-field__toggle:hover,
.pw-field__toggle[aria-pressed="true"] {
  color: var(--ink);
}

/* Dialog / Overlay */
body.book-dialog-open {
  overflow: hidden;
}

.book-dialog {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.book-dialog[hidden] {
  display: none !important;
}

.book-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.48);
  backdrop-filter: blur(6px);
}

.book-dialog__card {
  position: relative;
  z-index: 1;
  width: min(26rem, 100%);
  padding: 1.6rem 1.45rem 1.35rem;
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(78, 196, 224, 0.18), transparent 55%),
    var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(10, 22, 40, 0.18);
  animation: book-dialog-in 0.28s var(--ease);
}

@keyframes book-dialog-in {
  from { opacity: 0; transform: translateY(0.6rem) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.book-dialog__eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-deep);
}

.book-dialog__title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
}

.book-dialog__text {
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.book-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.book-dialog__actions .btn--ghost {
  color: var(--ink);
  outline-color: rgba(10, 22, 40, 0.28);
}

.book-dialog__actions .btn--ghost:hover {
  background: rgba(10, 22, 40, 0.06);
  color: var(--ink);
}

.book-dialog__ok--danger {
  background: #a31d1d;
}

.book-dialog__ok--danger:hover {
  background: #861616;
  box-shadow: 0 12px 28px rgba(163, 29, 29, 0.28);
}
