/* ============ Base ============ */
html { scroll-padding-top: 88px; }
body { font-feature-settings: "cv11","ss01","ss03"; }

/* ============ Hero background ============ */
.hero-gradient {
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(124,198,247,.25), transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(79,163,224,.18), transparent 60%),
    linear-gradient(180deg, #0B1220 0%, #0F1A2E 100%);
}
.hero-grid {
  background-image:
    linear-gradient(to right, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 40%, transparent 80%);
}

/* ============ Reveal on scroll ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ============ USP card ============ */
.usp-card {
  position: relative;
  border-radius: 1.25rem;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  padding: 1.5rem 1.5rem 1.75rem;
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.usp-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,198,247,.35);
  background: rgba(124,198,247,.04);
}
/* Dark cards on a light section background */
.usp-card--onlight {
  background: linear-gradient(160deg, #0F1A2E 0%, #0B1220 100%);
  border-color: rgba(255,255,255,.07);
  color: #F4F7FB;
  box-shadow: 0 18px 40px -24px rgba(11,18,32,.55);
}
.usp-card--onlight:hover {
  background: linear-gradient(160deg, #12203A 0%, #0B1220 100%);
  border-color: rgba(124,198,247,.4);
  box-shadow: 0 24px 50px -24px rgba(11,18,32,.7);
}
.usp-icon {
  display: grid;
  place-items: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: .85rem;
  background: rgba(124,198,247,.1);
  color: #7CC6F7;
  margin-bottom: 1rem;
}
.usp-icon svg { width: 1.25rem; height: 1.25rem; }

/* ============ Venue chips / marquee ============ */
.chip {
  display: inline-flex;
  align-items: center;
  padding: .65rem 1.1rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03);
  font-size: .9rem;
  color: rgba(255,255,255,.82);
}
.marquee-mask {
  /* Das Laufband ist breiter als der Viewport — ohne Abschneiden scrollt die
     ganze Seite auf dem Handy seitwaerts (gemessen 16.10.2026: 2470 px bei 390 px). */
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.marquee { width: max-content; animation: marquee 40s linear infinite; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee--reverse { animation-name: marquee-rev; }
@keyframes marquee-rev {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
/* Beim Hovern über die Sektion pausieren beide Reihen */
.marquee-mask:hover .marquee { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; }
}

/* ============ Branchen-Chips (Marquee) ============ */
.chip-lux {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .8rem 1.35rem;
  border-radius: 9999px;
  font-size: .95rem;
  font-weight: 500;
  color: rgba(255,255,255,.86);
  background:
    linear-gradient(#0F1A2E, #0F1A2E) padding-box,
    linear-gradient(135deg, rgba(124,198,247,.35), rgba(255,255,255,.06) 45%, rgba(79,163,224,.28)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.9);
  transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s ease, color .3s ease;
}
.chip-lux::before {
  content: '';
  width: .4rem; height: .4rem;
  border-radius: 9999px;
  background: #7CC6F7;
  box-shadow: 0 0 0 3px rgba(124,198,247,.15);
  flex: none;
  transition: box-shadow .3s ease, transform .3s ease;
}
.chip-lux:hover {
  transform: translateY(-4px);
  color: #fff;
  box-shadow: 0 18px 40px -20px rgba(79,163,224,.55), 0 0 0 1px rgba(124,198,247,.25);
}
.chip-lux:hover::before {
  transform: scale(1.25);
  box-shadow: 0 0 0 4px rgba(124,198,247,.25), 0 0 12px rgba(124,198,247,.8);
}

/* ============ Testimonial tabs & cards ============ */
.tab {
  padding: .55rem 1rem;
  border-radius: 9999px;
  font-size: .85rem;
  font-weight: 600;
  color: rgba(11,18,32,.65);
  background: rgba(11,18,32,.04);
  border: 1px solid rgba(11,18,32,.08);
  transition: all .2s ease;
}
.tab:hover { background: rgba(11,18,32,.08); }
.tab.is-active {
  color: #fff;
  background: #0B1220;
  border-color: #0B1220;
}
.testimonial {
  position: relative;
  border-radius: 1.25rem;
  border: 1px solid rgba(11,18,32,.08);
  background: #fff;
  padding: 1.5rem;
  transition: transform .3s ease, box-shadow .3s ease;
}
.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 60px -20px rgba(11,18,32,.18);
}
.testimonial .avatar {
  width: 44px; height: 44px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #7CC6F7, #4FA3E0);
  display: grid; place-items: center;
  color: #0B1220;
  font-weight: 700;
  font-family: Manrope, Inter, sans-serif;
  flex: none;
}

/* ============ Language switcher ============ */
[data-lang-trigger][aria-expanded="true"] [data-lang-caret] { transform: rotate(180deg); }
.lang-item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: .5rem;
  border-radius: .6rem;
  padding: .5rem .75rem;
  font-size: .85rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  text-align: left;
  transition: background .2s, color .2s;
}
.lang-item:hover { background: rgba(255,255,255,.06); color: #fff; }
.lang-item.is-active { background: rgba(124,198,247,.14); color: #fff; }
.lang-item-sm {
  border-radius: 9999px;
  padding: .3rem .65rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: rgba(255,255,255,.55);
  border: 1px solid transparent;
  transition: all .2s ease;
}
.lang-item-sm:hover { color: #fff; }
.lang-item-sm.is-active {
  color: #fff;
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.12);
}

/* ============ Gradient CTA button ============ */
.btn-grad {
  background-image: linear-gradient(to right, #56CCF2 0%, #2F80ED 51%, #56CCF2 100%);
  background-size: 200% auto;
  color: #fff;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: .02em;
  box-shadow: 0 0 22px rgba(86, 204, 242, .40);
  transition: background-position .5s ease, box-shadow .3s ease;
}
.btn-grad:hover {
  background-position: right center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 0 28px rgba(86, 204, 242, .55);
}

/* ============ Video testimonials (Stimmen) ============ */
.vtestimonial {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
}
.vtestimonial:hover {
  transform: translateY(-4px);
  border-color: rgba(124,198,247,.35);
  background: rgba(124,198,247,.04);
  box-shadow: 0 24px 60px -22px rgba(0,0,0,.55);
}
.vt-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(165deg, #16243f 0%, #0e1729 100%);
}
.vt-media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.vtestimonial:hover .vt-media img { transform: scale(1.05); }
.vt-media::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(15,26,46,0) 52%, rgba(15,26,46,.88) 100%),
    linear-gradient(180deg, rgba(79,163,224,.12), rgba(79,163,224,0) 38%);
}
.vt-play { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; }
.vt-play-btn {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  border-radius: 9999px;
  background: rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.55);
  color: #fff;
  box-shadow: 0 8px 30px rgba(0,0,0,.28);
  transition: transform .3s ease, background .3s ease;
}
.vtestimonial:hover .vt-play-btn { transform: scale(1.08); background: rgba(255,255,255,.3); }
.vt-media:focus-visible .vt-play-btn { outline: 3px solid rgba(124,198,247,.7); outline-offset: 3px; }
.vt-play-btn svg { width: 22px; height: 22px; transform: translateX(2px); }
.vt-body { padding: 1.25rem 1.5rem 1.5rem; }
.vt-quote {
  font-family: Manrope, Inter, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.4;
  color: #fff;
}
.vt-quote:empty { display: none; }
.vt-name {
  margin-top: .9rem;
  font-family: Manrope, Inter, sans-serif;
  font-weight: 700;
  font-size: .95rem;
  color: #fff;
}
.vt-role { margin-top: .15rem; font-size: .8rem; color: #7CC6F7; }

/* ============ Advisory board (Beirat) ============ */
.advisor {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.advisor:hover {
  transform: translateY(-4px);
  border-color: rgba(124,198,247,.35);
  background: rgba(124,198,247,.04);
}
.advisor-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(165deg, #16243f 0%, #0e1729 100%);
}
.advisor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.advisor-photo::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(15,26,46,.60) 0%, rgba(15,26,46,0) 34%, rgba(15,26,46,0) 52%, rgba(11,18,32,.92) 100%),
    linear-gradient(180deg, rgba(79,163,224,.20) 0%, rgba(79,163,224,.06) 45%, rgba(124,198,247,.12) 100%);
  mix-blend-mode: normal;
}
.advisor-body { padding: 1.1rem 1.25rem 1.4rem; }
.advisor-name { font-family: Manrope, Inter, sans-serif; font-weight: 700; font-size: 1.02rem; line-height: 1.25; }
.advisor-role { margin-top: .25rem; font-size: .78rem; font-weight: 600; color: #7CC6F7; }
.advisor-bio { margin-top: .6rem; font-size: .82rem; line-height: 1.55; color: rgba(255,255,255,.62); }

/* ============ Video modal ============ */
#videoModal.is-open { display: flex; }

/* ============ Form fields ============ */
.field label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  margin-bottom: .4rem;
  letter-spacing: .02em;
}
.field input, .field select, .field textarea {
  width: 100%;
  border-radius: .85rem;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  padding: .75rem 1rem;
  color: #fff;
  font-size: .95rem;
  transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: rgba(124,198,247,.6);
  background: rgba(124,198,247,.06);
}
.field input::placeholder, .field textarea::placeholder {
  color: rgba(255,255,255,.35);
}
.field select option { background: #0B1220; color: #fff; }
.field.has-error input, .field.has-error select, .field.has-error textarea {
  border-color: #f87171;
}

/* ============ Shimmer border (silver-blue travelling highlight) ============ */
@property --shimmer-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.shimmer-border { position: relative; isolation: isolate; }
.shimmer-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(
    from var(--shimmer-angle, 0deg),
    rgba(124, 198, 247, 0.10)   0deg,
    rgba(124, 198, 247, 0.10)  70deg,
    rgba(200, 220, 235, 0.55)  90deg,
    rgba(235, 245, 255, 0.90) 110deg,
    rgba(200, 220, 235, 0.55) 130deg,
    rgba(124, 198, 247, 0.10) 150deg,
    rgba(124, 198, 247, 0.10) 360deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
          mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
  animation: shimmer-spin 8s linear infinite;
}
.shimmer-border-delay-1::before { animation-delay: -2.66s; }
.shimmer-border-delay-2::before { animation-delay: -5.33s; }

@keyframes shimmer-spin { to { --shimmer-angle: 360deg; } }

/* Fallback: browsers without @property get a steady, non-rotating ring */
@supports not (background: conic-gradient(from 1deg, red, red)) {
  .shimmer-border::before { display: none; }
}

/* ============ Video play overlay ============ */
#videoPlay { transition: opacity .3s ease; }
#heroVideo::-webkit-media-controls-panel { background: rgba(11,18,32,.4); }

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .marquee { animation: none !important; }
}

/* ============ Kontakt-Blase (ersetzt das GHL-Chat-Widget) ============
   Der Einstieg fuehrt ins Formular statt in einen Dialog. z-index bewusst
   unter dem Cookie-Banner (2147483000), damit der Banner nie verdeckt wird. */
.cb-wrap {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9990;
  display: flex;
  align-items: center;
  gap: .65rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .35s ease, transform .35s ease;
}
.cb-wrap.is-in { opacity: 1; transform: translateY(0); }
/* Klassenselektor schlaegt Tailwinds [hidden]-Regel — hier explizit zurueckholen. */
.cb-wrap[hidden] { display: none; }
/* Waehrend das Buchungs-Modal offen ist, verdeckt die Blase sonst die Terminauswahl. */
.booking-open .cb-wrap { visibility: hidden; }

.cb-btn {
  flex: none;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 9999px;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: #fff;
  background-image: linear-gradient(to right, #56CCF2 0%, #2F80ED 51%, #56CCF2 100%);
  background-size: 200% auto;
  box-shadow: 0 10px 30px -8px rgba(47, 128, 237, .7), 0 0 0 1px rgba(124, 198, 247, .25);
  transition: background-position .5s ease, transform .2s ease, box-shadow .3s ease;
}
.cb-btn svg { width: 26px; height: 26px; }
.cb-btn:hover { background-position: right center; transform: translateY(-2px); }
.cb-btn:focus-visible { outline: 2px solid #7CC6F7; outline-offset: 3px; }
/* WhatsApp-Variante: Markenfarbe von WhatsApp, damit der Kanal sofort erkennbar ist. */
.cb-btn--wa { background-image: none; background-color: #25D366; box-shadow: 0 10px 30px -8px rgba(37, 211, 102, .6), 0 0 0 1px rgba(255, 255, 255, .15); }
.cb-btn--wa:hover { background-color: #1EBE5A; }

.cb-invite {
  position: relative;
  max-width: 15rem;
  padding: .7rem 2rem .7rem .95rem;
  border-radius: .9rem;
  font-size: .82rem;
  line-height: 1.45;
  color: #F4F7FB;
  background: rgba(15, 26, 46, .95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(124, 198, 247, .2);
  box-shadow: 0 18px 45px -18px rgba(0, 0, 0, .85);
  opacity: 0;
  transform: translateX(10px) scale(.96);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.cb-wrap.show-invite .cb-invite {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}
.cb-invite::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translateY(-50%) rotate(45deg);
  background: rgba(15, 26, 46, .95);
  border-right: 1px solid rgba(124, 198, 247, .2);
  border-top: 1px solid rgba(124, 198, 247, .2);
}
.cb-invite-close {
  position: absolute;
  top: .3rem;
  right: .45rem;
  border: 0;
  background: none;
  color: rgba(244, 247, 251, .5);
  font-size: 1.05rem;
  line-height: 1;
  padding: .15rem .25rem;
  cursor: pointer;
}
.cb-invite-close:hover { color: #fff; }

@media (max-width: 480px) {
  .cb-wrap { right: 1rem; bottom: 1rem; }
  .cb-invite { max-width: 11.5rem; font-size: .78rem; }
  .cb-btn { width: 52px; height: 52px; }
  .cb-btn svg { width: 23px; height: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  .cb-wrap, .cb-invite, .cb-btn { transition: none; }
}
