/* ==========================================================================
   IZY Booking — Marketing Website
   Design-Konzept: "Der Tagesstreifen" — alle IZY-Produkte drehen sich um
   dasselbe Prinzip: ein freier Zeit-Slot wird zu einer Buchung. Dieses
   Motiv (ein Streifen aus Zeit-Bloecken, der sich fuellt) zieht sich als
   wiederkehrendes, aber unaufdringliches Signaturelement durch die Seite.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Farben */
  --ink:        #14213D;   /* fast-schwarzes Navy, Fliesstext dunkel */
  --brand:      #334A8D;   /* Marken-Blau (aus dem bestehenden Logo) */
  --brand-deep: #1F2F63;   /* dunkleres Blau fuer Flaechen/Footer */
  --brand-soft: #E7EBF6;   /* sehr helles Blau fuer Flaechen */
  --amber:      #E8A33D;   /* Signalfarbe: "reserviert/gebucht" */
  --amber-deep: #C97F1E;
  --paper:      #FAF7F1;   /* warmes Off-White, Seitenhintergrund */
  --paper-raised: #FFFFFF;
  --line:       #E4DFD3;
  --success:    #2F9E68;
  --muted:      #6B7280;

  /* Typografie */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 4.5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--ink); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

a { color: var(--brand); text-decoration: none; }

.mono { font-family: var(--font-mono); letter-spacing: -0.01em; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: 88px 0; }
section.tight { padding: 56px 0; }

/* Fokus-Sichtbarkeit (Barrierefreiheit) */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--amber);
  color: var(--brand-deep);
  box-shadow: 0 6px 18px rgba(232, 163, 61, 0.35);
}
.btn-primary:hover { background: var(--amber-deep); }

.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: inherit;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); }

.btn-outline {
  background: transparent;
  border-color: var(--brand);
  color: var(--brand);
}
.btn-outline:hover { background: var(--brand-soft); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 247, 241, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}
.brand-mark .dot {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: 0.96rem; }
.nav-links a:hover { color: var(--brand); }
.lang-switch { display: flex; gap: 4px; font-size: 0.85rem; font-family: var(--font-mono); }
.lang-switch a { padding: 4px 8px; border-radius: 6px; color: var(--muted); }
.lang-switch a.active { background: var(--brand-soft); color: var(--brand); }

/* ---------- Hero ---------- */
.hero {
  padding: 76px 0 40px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--amber-deep);
  background: rgba(232,163,61,0.12);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero-ctas { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 0.88rem; color: var(--muted); }

/* ---------- Signatur-Element: Der Tagesstreifen ---------- */
.slot-strip {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 22px;
  box-shadow: 0 24px 60px -20px rgba(20, 33, 61, 0.25);
}
.slot-strip-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
}
.slot-row {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 5px;
}
.slot {
  height: 34px;
  border-radius: 6px;
  background: var(--brand-soft);
  position: relative;
}
.slot.booked {
  background: var(--brand);
  animation: fillSlot 0.6s ease both;
}
.slot.booked.amber { background: var(--amber); }
.slot.now::after {
  content: '';
  position: absolute;
  inset: -3px;
  border: 2px solid var(--amber);
  border-radius: 8px;
}
@keyframes fillSlot {
  from { transform: scaleY(0.2); opacity: 0; }
  to { transform: scaleY(1); opacity: 1; }
}
.slot-strip-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--muted);
}
.slot-legend { display: flex; gap: 16px; align-items: center; }
.slot-legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend-swatch { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* ---------- Trust bar ---------- */
.trust-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- Produktraster ---------- */
.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head.left { margin: 0 0 48px; text-align: left; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.product-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 36px 26px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  box-shadow: 0 2px 10px -6px rgba(20,33,61,0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px -22px rgba(20,33,61,0.32);
  border-color: var(--brand);
}
.product-card .icon-wrap {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.1rem;
  margin-bottom: 12px;
  transition: transform 0.18s ease;
}
.product-card:hover .icon-wrap { transform: scale(1.06); }
.product-card h3 { margin-bottom: 2px; font-size: 1.12rem; }
.product-card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 4px; }
.product-card .arrow { margin-top: 6px; font-weight: 600; font-size: 0.86rem; color: var(--brand); }
.badge-soon {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  width: fit-content;
}

/* ---------- Warum-IZY / Feature-Zeilen ---------- */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.feature-item { display: flex; gap: 16px; }
.feature-item .num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--amber-deep);
  min-width: 34px;
}
.feature-item h4 { margin-bottom: 4px; font-size: 1.05rem; }
.feature-item p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* ---------- Dunkle Sektion ---------- */
.section-dark {
  background: var(--brand-deep);
  color: #fff;
}
.section-dark .muted { color: rgba(255,255,255,0.68); }
.section-dark h2 { color: #fff; }

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--brand);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 12px; color: var(--muted); }

/* ---------- Preis-Platzhalter ---------- */
.price-card {
  border: 1px dashed var(--line);
  border-radius: var(--radius-m);
  padding: 26px;
  background: var(--brand-soft);
  text-align: center;
}
.price-card .price {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  color: var(--brand);
  margin: 6px 0;
}

/* ---------- Video-Platzhalter ---------- */
.video-placeholder {
  aspect-ratio: 16/9;
  border-radius: var(--radius-m);
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.video-placeholder .play {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}

/* ---------- CTA-Band ---------- */
.cta-band {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-l);
  padding: 56px;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.7); }

/* ---------- Footer ---------- */
footer {
  background: var(--brand-deep);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 28px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}
footer h4 { color: #fff; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
footer a { color: rgba(255,255,255,0.75); display: block; margin-bottom: 8px; }
footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

/* ---------- Breadcrumb (Produktseiten) ---------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 620px) {
  .product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .cta-band { padding: 36px 22px; }
}
