/* =============================================================================
   COMING SOON — Ergotherapiepraxis Lea Freibott
   Standalone launch page
   ============================================================================= */

/* ─── Page Shell ─────────────────────────────────────────────────────────── */
.coming-soon {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
  background: var(--color-bg);
}

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

/* ─── Skip Link ──────────────────────────────────────────────────────────── */
.cs-skip {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  z-index: 500;
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text);
  background: var(--color-surface);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-md);
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform var(--transition-fast);
}

.cs-skip:focus {
  transform: translateY(0);
  outline: none;
  box-shadow: var(--focus-ring);
}

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

/* ─── Ambient Background ─────────────────────────────────────────────────── */
.cs-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.cs-bg__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(253, 184, 125, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 70% 55% at 85% 75%, rgba(244, 165, 174, 0.22) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(141, 188, 176, 0.18) 0%, transparent 45%),
    var(--color-bg);
}

.cs-bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  will-change: transform;
}

.cs-bg__orb--1 {
  width: clamp(280px, 40vw, 520px);
  height: clamp(280px, 40vw, 520px);
  background: var(--color-primary-light);
  top: -8%;
  right: -6%;
  animation: cs-float-1 22s ease-in-out infinite;
}

.cs-bg__orb--2 {
  width: clamp(220px, 32vw, 400px);
  height: clamp(220px, 32vw, 400px);
  background: var(--color-secondary-light);
  bottom: 10%;
  left: -8%;
  animation: cs-float-2 26s ease-in-out infinite;
}

.cs-bg__orb--3 {
  width: clamp(160px, 24vw, 300px);
  height: clamp(160px, 24vw, 300px);
  background: var(--color-accent-light);
  top: 42%;
  left: 55%;
  animation: cs-float-3 20s ease-in-out infinite;
}

.cs-bg__grain {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

@keyframes cs-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(-30px, 40px) scale(1.05); }
  66%       { transform: translate(20px, -25px) scale(0.97); }
}

@keyframes cs-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%       { transform: translate(35px, -30px) scale(1.08); }
  70%       { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes cs-float-3 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(-40px, -35px); }
}

/* ─── Main Layout ────────────────────────────────────────────────────────── */
.cs-main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 3rem) var(--container-pad);
  padding-bottom: calc(clamp(1.5rem, 5vw, 3rem) + 5rem);
}

.cs-container {
  width: 100%;
  max-width: 640px;
  text-align: center;
}

/* ─── Entrance Animations ────────────────────────────────────────────────── */
.cs-reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: cs-reveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.cs-reveal--d1 { animation-delay: 0.1s; }
.cs-reveal--d2 { animation-delay: 0.22s; }
.cs-reveal--d3 { animation-delay: 0.34s; }
.cs-reveal--d4 { animation-delay: 0.46s; }
.cs-reveal--d5 { animation-delay: 0.58s; }
.cs-reveal--d6 { animation-delay: 0.7s; }

@keyframes cs-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Eyebrow & Headlines ────────────────────────────────────────────────── */
.cs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
}

.cs-eyebrow::before,
.cs-eyebrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary));
}

.cs-eyebrow::after {
  background: linear-gradient(90deg, var(--color-primary), transparent);
}

.cs-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: var(--fw-medium);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.cs-heading em {
  font-style: italic;
  color: var(--color-primary-dark);
}

.cs-lead {
  font-size: var(--text-md);
  line-height: var(--lh-relaxed);
  color: var(--color-text-secondary);
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

/* ─── Logo Video ─────────────────────────────────────────────────────────── */
.cs-video-wrap {
  position: relative;
  margin: 0 auto var(--space-8);
  max-width: 340px;
}

.cs-video-wrap::before {
  content: '';
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(253, 184, 125, 0.2) 0%, transparent 70%);
  z-index: -1;
  animation: cs-glow 4s ease-in-out infinite alternate;
}

@keyframes cs-glow {
  from { opacity: 0.6; transform: scale(0.95); }
  to   { opacity: 1;   transform: scale(1.05); }
}

.cs-video-frame {
  background: #ffffff;
  border-radius: var(--radius-2xl);
  padding: clamp(1.25rem, 4vw, 2rem);
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(237, 224, 212, 0.6),
    var(--shadow-primary);
  overflow: hidden;
}

.cs-video {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: var(--radius-lg);
}

/* ─── Specialty Pills ────────────────────────────────────────────────────── */
.cs-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-10);
}

.cs-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.cs-pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.cs-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cs-pill__dot--neuro  { background: #7DB0CC; }
.cs-pill__dot--ortho  { background: var(--color-primary); }
.cs-pill__dot--geria  { background: var(--color-accent); }
.cs-pill__dot--psych  { background: var(--color-secondary); }

/* ─── Notify Card ────────────────────────────────────────────────────────── */
.cs-notify {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  padding: clamp(1.25rem, 4vw, 2rem);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: var(--space-8);
  text-align: left;
}

.cs-notify__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-1);
}

.cs-notify__sub {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-5);
}

.cs-notify__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.cs-notify__row {
  display: flex;
  gap: var(--space-3);
}

.cs-notify__input-wrap {
  flex: 1;
  position: relative;
}

.cs-notify__input {
  width: 100%;
  padding: var(--space-4) var(--space-4) var(--space-4) var(--space-10);
  font-size: var(--text-sm);
  color: var(--color-text);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.cs-notify__input::placeholder {
  color: var(--color-text-light);
}

.cs-notify__input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: var(--focus-ring);
}

.cs-notify__input-icon {
  position: absolute;
  left: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--color-text-light);
  pointer-events: none;
}

.cs-notify__submit {
  flex-shrink: 0;
  white-space: nowrap;
}

.cs-notify__checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  line-height: var(--lh-snug);
  cursor: pointer;
}

.cs-notify__checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-primary);
  flex-shrink: 0;
  cursor: pointer;
}

.cs-notify__checkbox a {
  color: var(--color-primary-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cs-notify__checkbox a:hover {
  color: var(--color-text);
}

/* ─── Form Feedback ──────────────────────────────────────────────────────── */
.cs-alert {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  line-height: var(--lh-snug);
  margin-bottom: var(--space-5);
}

.cs-alert svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.cs-alert--success {
  background: rgba(125, 184, 139, 0.15);
  border: 1px solid rgba(125, 184, 139, 0.35);
  color: #2d5a38;
}

.cs-alert--error {
  background: rgba(224, 118, 118, 0.12);
  border: 1px solid rgba(224, 118, 118, 0.3);
  color: #8b3333;
}

/* Honeypot — hidden from humans */
.cs-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ─── Contact Strip ──────────────────────────────────────────────────────── */
.cs-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3) var(--space-6);
  margin-bottom: var(--space-6);
}

.cs-contact__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.cs-contact__link svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary-dark);
}

.cs-contact__link:hover {
  color: var(--color-text);
}

/* ─── Quick Actions (floating) ───────────────────────────────────────────── */
.cs-actions {
  position: fixed;
  bottom: calc(var(--space-6) + env(safe-area-inset-bottom, 0px));
  right: calc(var(--space-6) + env(safe-area-inset-right, 0px));
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.cs-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-spring), box-shadow var(--transition-base);
}

.cs-action-btn:hover {
  transform: scale(1.08);
  box-shadow: var(--shadow-lg);
}

.cs-action-btn:active {
  transform: scale(0.96);
}

.cs-action-btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring), var(--shadow-md);
}

.cs-action-btn--phone {
  background: var(--color-primary);
  color: var(--color-text);
}

.cs-action-btn--whatsapp {
  background: #25D366;
  color: #fff;
}

.cs-action-btn svg {
  width: 24px;
  height: 24px;
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.cs-footer {
  position: relative;
  z-index: 1;
  padding: var(--space-6) var(--container-pad);
  padding-bottom: calc(var(--space-6) + env(safe-area-inset-bottom, 0px));
  text-align: center;
  border-top: 1px solid var(--color-border-light);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
}

.cs-footer__text {
  font-size: var(--text-xs);
  color: var(--color-text-light);
}

.cs-footer__text a {
  color: var(--color-text-secondary);
  text-decoration: none;
}

.cs-footer__text a:hover {
  color: var(--color-text);
  text-decoration: underline;
}

/* ─── Status Badge ───────────────────────────────────────────────────────── */
.cs-status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  margin-bottom: var(--space-6);
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
}

.cs-status__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 0 rgba(125, 184, 139, 0.6);
  animation: cs-pulse 2s ease infinite;
}

@keyframes cs-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(125, 184, 139, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(125, 184, 139, 0); }
  100% { box-shadow: 0 0 0 0 rgba(125, 184, 139, 0); }
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .cs-notify__row {
    flex-direction: column;
  }

  .cs-notify__submit {
    width: 100%;
  }

  .cs-actions {
    bottom: calc(var(--space-4) + env(safe-area-inset-bottom, 0px));
    right: calc(var(--space-4) + env(safe-area-inset-right, 0px));
  }

  .cs-action-btn {
    width: 48px;
    height: 48px;
  }

  .cs-contact {
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
  }
}

/* ─── Reduced Motion ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .cs-bg__orb,
  .cs-video-wrap::before,
  .cs-status__pulse,
  .cs-reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .cs-action-btn:hover {
    transform: none;
  }
}
