/* ============================================================================
   Stay-Board – Marketing-Website
   Modernes, dunkles SaaS-Design im Marken-Look (Indigo → Violett).
   ========================================================================== */

:root {
  --bg:        #0a0c11;
  --bg-2:      #0f1219;
  --surface:   rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border:    rgba(255, 255, 255, 0.09);
  --border-2:  rgba(255, 255, 255, 0.14);
  --text:      #eef0f5;
  --muted:     #9aa2b1;
  --muted-2:   #6b7280;
  --primary:   #6366f1;
  --primary-2: #8b5cf6;
  --accent:    #22d3ee;
  --green:     #34d399;
  --orange:    #fbbf24;
  --radius:    18px;
  --radius-sm: 12px;
  --maxw:      1180px;
  --shadow:    0 20px 50px -20px rgba(0, 0, 0, 0.7);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient background glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60vw 60vw at 80% -10%, rgba(139, 92, 246, 0.18), transparent 60%),
    radial-gradient(55vw 55vw at 0% 10%, rgba(99, 102, 241, 0.16), transparent 55%),
    radial-gradient(40vw 40vw at 50% 110%, rgba(34, 211, 238, 0.08), transparent 60%);
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

section { padding: 88px 0; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 750; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.18rem; }

p { color: var(--muted); }

.grad-text {
  background: linear-gradient(100deg, var(--primary) 10%, var(--primary-2) 55%, var(--accent) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-2);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 13px;
  border-radius: 999px;
}

.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.06rem; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 0.96rem;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(100deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(99, 102, 241, 0.6);
}
.btn-primary:hover { box-shadow: 0 18px 40px -10px rgba(99, 102, 241, 0.75); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--primary-2); }
.btn-lg { padding: 16px 28px; font-size: 1.02rem; }

/* ---- Header / Nav ------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10, 12, 17, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand img { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 0.94rem;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.9rem; font-weight: 600; color: var(--muted);
  border: 1px solid var(--border-2); border-radius: 10px; padding: 8px 12px;
  transition: color .15s, border-color .15s, background .15s;
}
.lang-switch:hover { color: var(--text); border-color: var(--primary-2); background: var(--surface); }
.lang-switch .flag { font-size: 1.05rem; line-height: 1; }
.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  color: var(--text);
  font-size: 1.3rem;
}

/* ---- Hero --------------------------------------------------------------- */
.hero { padding: 80px 0 60px; position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin: 20px 0 0; }
.hero .lead { margin-top: 20px; font-size: 1.16rem; max-width: 540px; }
.hero-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 26px; display: flex; gap: 22px; flex-wrap: wrap; color: var(--muted-2); font-size: 0.88rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }

/* ---- App mockup (CSS-only booking board) -------------------------------- */
.mockup {
  border-radius: var(--radius);
  border: 1px solid var(--border-2);
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-9deg) rotateX(3deg);
  transition: transform 0.4s ease;
}
.mockup:hover { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
.mockup-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.03); }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.mockup-bar .url { margin-left: 12px; font-size: 0.74rem; color: var(--muted-2); }
.board { padding: 16px; display: grid; gap: 8px; }
.board-row { display: grid; grid-template-columns: 84px 1fr; gap: 8px; align-items: center; }
.board-room { font-size: 0.72rem; color: var(--muted); font-weight: 600; }
.board-track { position: relative; height: 26px; background: rgba(255,255,255,0.04); border-radius: 7px; overflow: hidden; }
.board-bar { position: absolute; top: 3px; bottom: 3px; border-radius: 5px; display: flex; align-items: center; padding: 0 8px; font-size: 0.66rem; color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; }
.bg-i  { background: linear-gradient(90deg, #6366f1, #818cf8); }
.bg-v  { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }
.bg-c  { background: linear-gradient(90deg, #06b6d4, #22d3ee); }
.bg-g  { background: linear-gradient(90deg, #10b981, #34d399); }
.bg-o  { background: linear-gradient(90deg, #f59e0b, #fbbf24); color:#1a1206; }

/* ---- Cards / grids ------------------------------------------------------ */
.grid { display: grid; gap: 20px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-2); background: var(--surface-2); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.95rem; }

.ico {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: grid; place-items: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(99,102,241,0.25), rgba(139,92,246,0.18));
  border: 1px solid var(--border-2);
}

/* ---- Module detail blocks ----------------------------------------------- */
.module {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 34px 0;
  border-top: 1px solid var(--border);
}
.module:nth-child(even) .module-media { order: -1; }
.feature-list { list-style: none; margin-top: 18px; display: grid; gap: 11px; }
.feature-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.97rem; color: var(--text); }
.feature-list li::before {
  content: "✓";
  color: var(--green);
  font-weight: 800;
  background: rgba(52, 211, 153, 0.12);
  border-radius: 6px;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  flex-shrink: 0;
  font-size: 0.8rem;
}
.tag { display:inline-block; font-size:0.74rem; font-weight:600; color: var(--primary-2); background: rgba(139,92,246,0.12); border:1px solid var(--border); padding:4px 11px; border-radius:999px; margin-bottom: 14px; }

/* ---- Pricing ------------------------------------------------------------ */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}
.plan.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(99,102,241,0.12), rgba(139,92,246,0.05));
  box-shadow: 0 24px 60px -28px rgba(99,102,241,0.6);
}
.plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(100deg, var(--primary), var(--primary-2));
  color: #fff; font-size: 0.72rem; font-weight: 700;
  padding: 5px 14px; border-radius: 999px; letter-spacing: 0.03em;
}
.plan h3 { font-size: 1.25rem; }
.plan .price { margin: 14px 0 4px; font-size: 2.3rem; font-weight: 800; letter-spacing: -0.03em; }
.plan .price small { font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.plan .price-note { font-size: 0.78rem; color: var(--orange); margin-bottom: 18px; }
.plan .limits { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.plan .limit { flex: 1; }
.plan .limit b { display: block; font-size: 1.4rem; }
.plan .limit span { font-size: 0.78rem; color: var(--muted); }
.plan ul { list-style: none; display: grid; gap: 9px; margin-bottom: 22px; flex: 1; }
.plan ul li { font-size: 0.9rem; display: flex; gap: 9px; }
.plan ul li::before { content: "✓"; color: var(--primary-2); font-weight: 800; }
.plan .btn { width: 100%; margin-top: auto; }

/* ---- FAQ ---------------------------------------------------------------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 2px 18px; transition: border-color 0.2s ease; }
.faq details[open] { border-color: var(--border-2); }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary-2); font-size: 1.5rem; font-weight: 700; line-height: 1; flex-shrink: 0; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 16px; color: var(--muted); font-size: 0.96rem; }

/* ---- Stats -------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat b { display: block; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
.stat span { color: var(--muted); font-size: 0.9rem; }

/* ---- Module price pill -------------------------------------------------- */
.price-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 16px;
  padding: 9px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(99,102,241,0.18), rgba(139,92,246,0.10));
  border: 1px solid var(--border-2);
}
.price-pill b { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; }
.price-pill span { font-size: 0.8rem; color: var(--muted); font-weight: 500; }

/* ---- Pilot / Startup band ----------------------------------------------- */
.pilot-band {
  text-align: center;
  background: linear-gradient(120deg, rgba(34,211,238,0.10), rgba(139,92,246,0.13));
  border: 1px solid var(--border-2);
  border-radius: 26px;
  padding: 60px 32px;
}
.pilot-band .pilot-text { max-width: 640px; margin: 0 auto; }
.pilot-band .eyebrow { margin-bottom: 18px; }
.pilot-band h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 14px; }
.pilot-band p { font-size: 1.08rem; }
.pilot-band .btn { margin-top: 30px; }

/* ---- App store badges --------------------------------------------------- */
.stores { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 13px;
  background: #0e1015; border: 1px solid var(--border-2);
  border-radius: 14px; padding: 11px 22px; min-width: 215px;
  position: relative;
}
.store-badge svg { width: 26px; height: 28px; fill: #fff; flex-shrink: 0; }
.store-badge .sb-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-badge .sb-small { font-size: 0.7rem; color: var(--muted); }
.store-badge .sb-big { font-size: 1.1rem; font-weight: 700; color: #fff; }
.store-badge .sb-soon {
  position: absolute; top: -10px; right: 12px;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.03em;
  background: linear-gradient(100deg, var(--primary), var(--primary-2));
  color: #fff; padding: 3px 9px; border-radius: 999px;
}

/* ---- CTA band ----------------------------------------------------------- */
.cta-band {
  text-align: center;
  background: linear-gradient(120deg, rgba(99,102,241,0.16), rgba(139,92,246,0.12));
  border: 1px solid var(--border-2);
  border-radius: 26px;
  padding: 56px 28px;
}
.cta-band h2 { margin-bottom: 14px; }
.cta-band .hero-actions { justify-content: center; }

/* ---- Forms -------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--muted); }
.field input, .field textarea, .field select {
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: 11px;
  padding: 13px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.18);
}
.field textarea { resize: vertical; min-height: 130px; }

/* ---- Prose (Impressum / Datenschutz) ------------------------------------ */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.4rem; margin: 34px 0 12px; }
.prose h3 { margin: 22px 0 8px; }
.prose p, .prose li { color: var(--muted); margin-bottom: 10px; }
.prose ul { padding-left: 20px; }
.placeholder {
  background: rgba(251, 191, 36, 0.12);
  border: 1px dashed rgba(251, 191, 36, 0.5);
  color: var(--orange);
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 0.92em;
}

.page-hero { text-align: center; padding: 70px 0 30px; }
.page-hero p { max-width: 620px; margin: 16px auto 0; font-size: 1.08rem; }

/* ---- Footer ------------------------------------------------------------- */
.footer { border-top: 1px solid var(--border); padding: 56px 0 32px; margin-top: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-2); margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { color: var(--muted); font-size: 0.92rem; }
.footer ul a:hover { color: var(--text); }
.footer .brand { margin-bottom: 12px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: var(--muted-2); font-size: 0.85rem; }

/* ---- Reveal animation --------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .mockup { transform: none; }
  .cols-4, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .module, .stats { grid-template-columns: 1fr; }
  .module:nth-child(even) .module-media { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  section { padding: 60px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--border);
    padding: 18px 22px; gap: 16px;
  }
  .cols-4, .cols-3, .cols-2, .price-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .nav-cta .btn-ghost { display: none; }
}
