/* =============================================
   EISENFORMER — Professional Forge Design System
   Clean, warm, trustworthy — for Swiss KMU
   ============================================= */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Backgrounds — warm, dark workshop feel */
  --bg-darkest:   #111111;
  --bg-dark:      #1a1a1a;
  --bg-surface:   #222222;
  --bg-elevated:  #2a2a2a;
  --bg-hover:     #333333;
  --bg-parchment: #f5f0e8;
  --bg-parchment-dark: #e0d8cc;

  /* Red — warm, professional (from the logo) */
  --red:           #c0392b;
  --red-light:     #d44637;
  --red-bright:    #e74c3c;
  --red-dim:       #962d22;
  --red-glow:      rgba(192, 57, 43, 0.2);

  /* Warm accents — subtle, not shiny */
  --gold:          #b8975a;
  --gold-light:    #d4b77a;
  --gold-bright:   #e0c88a;
  --gold-dim:      #8a7350;
  --bronze:        #a07a52;
  --copper:        #b87333;

  /* Text */
  --text-primary:   #e8e4de;
  --text-secondary: #a09888;
  --text-muted:     #6b6560;
  --text-gold:      #b8975a;
  --text-parchment: #f0ece4;
  --text-dark:      #1a1a18;

  /* Borders */
  --border:         #2d2d2d;
  --border-gold:    rgba(184, 151, 90, 0.2);
  --border-gold-strong: rgba(184, 151, 90, 0.4);

  /* Functional */
  --success: #6a9955;
  --error:   #a04040;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Typography — clean, professional */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-detail: 'Inter', sans-serif;

  --fs-xs:    0.8rem;
  --fs-sm:    0.9rem;
  --fs-base:  1rem;
  --fs-md:    1.1rem;
  --fs-lg:    1.2rem;
  --fs-xl:    1.5rem;
  --fs-2xl:   2rem;
  --fs-3xl:   2.2rem;
  --fs-4xl:   2.8rem;
  --fs-hero:  3.2rem;

  /* Radius */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;

  /* Shadows — no glow, just depth */
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.3);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.35);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.4);
  --shadow-gold:  0 2px 16px rgba(0,0,0,0.2);
  --shadow-red:   0 2px 16px rgba(0,0,0,0.25);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 250ms;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 80px;
}

/* ---------- Reset ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-darkest);
  overflow-x: hidden;
}

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

a {
  color: var(--red-light);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

a:hover {
  color: var(--red-bright);
}

ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: var(--font-body); font-size: inherit; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ---------- Section ---------- */
.section {
  padding: var(--space-5xl) 0;
  position: relative;
}

.section-dark {
  background: var(--bg-dark);
}

/* Section with background image */
.section-bg {
  position: relative;
  overflow: hidden;
}

.section-bg > .section-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section-bg > .section-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3) saturate(0.6);
}

.section-bg > .section-bg-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17, 17, 17, 0.7) 0%,
    rgba(17, 17, 17, 0.3) 40%,
    rgba(17, 17, 17, 0.3) 60%,
    rgba(17, 17, 17, 0.7) 100%
  );
}

.section-bg > .container {
  position: relative;
  z-index: 1;
}

/* Clean section separator */
.section-torn {
  position: relative;
}

.section-torn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--border-gold-strong);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-parchment);
  margin-bottom: var(--space-md);
}

.section-header p {
  font-family: var(--font-body);
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Simple divider */
.section-header .accent-line {
  display: block;
  width: 48px;
  height: 3px;
  margin: var(--space-lg) auto 0;
  background: var(--red);
  border-radius: 2px;
  font-size: 0;
  color: transparent;
  overflow: hidden;
}

.section-header .accent-line::before,
.section-header .accent-line::after {
  display: none;
}

/* ---------- Manifesto / Leitsatz ---------- */
.manifesto {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.manifesto-inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.manifesto-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: var(--space-xl);
}

.manifesto-headline {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--text-parchment);
  margin-bottom: var(--space-xl);
}

.manifesto-headline em {
  font-style: italic;
  color: var(--red-light);
  -webkit-text-fill-color: var(--red-light);
}

.manifesto-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto var(--space-2xl);
}

.manifesto-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.manifesto-text p {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  color: var(--text-secondary);
  line-height: 1.8;
}

.manifesto-text p:first-child {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-style: italic;
  color: var(--text-primary);
  font-weight: 500;
}

@media (max-width: 768px) {
  .manifesto-headline {
    font-size: var(--fs-2xl);
  }
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(10, 8, 6, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  z-index: 1000;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 52px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: var(--space-xl);
}

.nav-links a {
  font-family: var(--font-body);
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--space-sm) 0;
  position: relative;
  transition: color var(--dur) var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: all var(--dur) var(--ease);
  transform: translateX(-50%);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-parchment);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: var(--space-sm);
}

.nav-toggle span {
  width: 26px;
  height: 1.5px;
  background: var(--text-parchment);
  transition: all var(--dur) var(--ease);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5.5px, 5.5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5.5px, -5.5px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + var(--space-3xl)) var(--space-xl) var(--space-3xl);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 40%;
  filter: brightness(0.85) saturate(0.85);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom right,
      rgba(17, 17, 17, 0.3) 0%,
      rgba(17, 17, 17, 0.4) 25%,
      rgba(17, 17, 17, 0.55) 55%,
      rgba(17, 17, 17, 0.75) 100%
    );
  z-index: 1;
}

/* Subtle vignette */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, transparent 60%, rgba(17, 17, 17, 0.1) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 850px;
}

.hero-badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-lg);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-xl);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: var(--space-lg);
  color: #ffffff;
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
}

.hero h1 .highlight {
  color: var(--red-light);
  -webkit-text-fill-color: var(--red-light);
}

.hero p {
  font-family: var(--font-body);
  font-size: var(--fs-lg);
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-2xl);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
}

/* Decorative scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: scroll-pulse 2s ease-in-out infinite;
}

.hero-scroll::after {
  content: '↓';
  font-size: var(--fs-lg);
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.8; transform: translateX(-50%) translateY(6px); }
}

/* ---------- CTA Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 13px 32px;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
}

.btn-primary:hover {
  background: var(--red-light);
  border-color: var(--red-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(192, 57, 43, 0.3);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--text-parchment);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}

.btn-sm {
  padding: 10px 22px;
  font-size: var(--fs-xs);
}

/* ---------- Features (open, no boxes) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3xl) var(--space-2xl);
}

.features-4 {
  grid-template-columns: repeat(4, 1fr);
}

.feature {
  text-align: center;
  padding: 0 var(--space-md);
}

.feature-boxed {
  padding: var(--space-xl) var(--space-lg);
  border: 1px solid var(--red);
  border-radius: var(--radius-md);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-lg);
  color: var(--red);
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.feature:hover .feature-icon {
  color: var(--red-light);
  transform: scale(1.1);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-parchment);
  margin-bottom: var(--space-sm);
}

.feature p {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

.feature-link {
  text-decoration: none;
}

.feature-link:hover h3 {
  color: var(--red-light);
}

.feature-btn {
  display: inline-block;
  margin-top: var(--space-md);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.04em;
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.feature-link:hover .feature-btn {
  color: var(--red-light);
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .features, .features-4 {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
  transition: all var(--dur) var(--ease);
  position: relative;
}

/* No ornamental corner */
.card::before {
  display: none;
}

.card:hover {
  border-color: rgba(255,255,255,0.12);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-lg);
  color: var(--gold);
}

.card h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: var(--space-sm);
  color: var(--text-parchment);
}

.card p {
  color: var(--text-secondary);
  font-size: var(--fs-base);
  line-height: 1.8;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

/* ---------- Steps / Process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  counter-reset: step;
}

.step {
  text-align: center;
  position: relative;
  padding-top: var(--space-xl);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-gold-strong);
  border-radius: 50%;
  color: var(--text-parchment);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-sm);
  margin: 0 auto var(--space-lg);
}

.step h4 {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-sm);
  color: var(--text-parchment);
}

.step p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

/* Connector line between steps */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: calc(var(--space-xl) + 26px);
  left: calc(50% + 34px);
  width: calc(100% - 68px);
  height: 1px;
  background: linear-gradient(90deg, var(--gold-dim), transparent 80%);
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-md);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: #0a0806;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--dur) var(--ease);
  cursor: zoom-in;
}

.gallery-item:hover {
  border-color: rgba(255,255,255,0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
  filter: saturate(0.85);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: saturate(1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,8,6,0.8) 100%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item .label {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  right: var(--space-md);
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  z-index: 1;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--dur) var(--ease);
}

.gallery-item:hover .label {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 6, 4, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 5vw, 64px);
  box-sizing: border-box;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  transition: opacity 0.2s var(--ease);
}

.lightbox-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(12px, 3vw, 28px);
  text-align: center;
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  padding: 0 clamp(24px, 5vw, 64px);
  pointer-events: none;
}

.lightbox-btn {
  position: absolute;
  background: rgba(20, 16, 12, 0.6);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-primary);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
  z-index: 1;
}

.lightbox-btn:hover {
  background: rgba(40, 30, 20, 0.85);
  border-color: var(--gold-dim);
  transform: scale(1.05);
}

.lightbox-close {
  top: clamp(12px, 2.5vw, 24px);
  right: clamp(12px, 2.5vw, 24px);
}

.lightbox-prev {
  left: clamp(12px, 2.5vw, 24px);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: clamp(12px, 2.5vw, 24px);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  transform: translateY(-50%) scale(1.05);
}

@media (max-width: 600px) {
  .lightbox-btn { width: 40px; height: 40px; font-size: 20px; }
}

/* ---------- FAQ / Accordion ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text-parchment);
  text-align: left;
  transition: color var(--dur) var(--ease);
}

.faq-question:hover {
  color: var(--red-light);
}

.faq-question .icon {
  font-size: var(--fs-xl);
  transition: transform var(--dur) var(--ease);
  color: var(--gold-dim);
  flex-shrink: 0;
  margin-left: var(--space-md);
}

.faq-item.active .faq-question .icon {
  transform: rotate(45deg);
  color: var(--red);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}

.faq-item.active .faq-answer {
  max-height: 1600px;
  padding-bottom: var(--space-lg);
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-answer p + p {
  margin-top: var(--space-md);
}

/* ---------- Forms ---------- */
.form-container {
  max-width: 640px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-darkest);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: var(--fs-base);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c9a84c' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

/* ---------- Pricing Table ---------- */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-xl) 0;
}

.pricing-table th,
.pricing-table td {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.pricing-table th {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pricing-table td {
  font-size: var(--fs-base);
  color: var(--text-secondary);
}

.pricing-table .price {
  color: var(--gold-light);
  font-weight: 600;
  font-family: var(--font-heading);
}

.pricing-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* ---------- Timeline / Market Dates ---------- */
.timeline {
  position: relative;
  padding-left: var(--space-3xl);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--gold-dim), var(--border-gold), var(--gold-dim));
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-xl);
  padding: var(--space-lg) var(--space-xl);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  transition: all var(--dur) var(--ease);
}

.timeline-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-3xl) + 16px);
  top: calc(var(--space-lg) + 6px);
  width: 10px;
  height: 10px;
  background: var(--gold);
  border: 2px solid var(--bg-dark);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(181, 148, 92, 0.25);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-item .date {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.timeline-item .title {
  font-family: var(--font-body);
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--text-parchment);
}

/* ---------- About / Split Layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

/* About section: bigger image on left */
#about .split {
  grid-template-columns: 55% 1fr;
  gap: var(--space-4xl);
}

.split-img {
  overflow: hidden;
  border-radius: var(--radius-md);
}

#about .split-img {
  min-height: 500px;
}

.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.6s var(--ease);
}

.split-img:hover img {
  filter: brightness(1.05);
}

/* ---------- Decorative Elements ---------- */
.ornament {
  text-align: center;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  letter-spacing: 0.1em;
  padding: var(--space-lg) 0;
}

.ornament-line {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--border-gold-strong);
  margin: var(--space-xl) auto;
  border-radius: 1px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand .nav-logo {
  margin-bottom: var(--space-md);
  display: inline-block;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  max-width: 300px;
}

.footer h4 {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.footer-links a {
  display: block;
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  padding: var(--space-xs) 0;
  transition: color var(--dur) var(--ease);
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: var(--space-md);
}

.footer-socials a {
  color: var(--text-muted);
  font-size: var(--fs-lg);
  transition: color var(--dur) var(--ease);
}

.footer-socials a:hover {
  color: var(--gold-light);
}

/* ---------- Scroll animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(10px);
  transition:
    opacity 0.7s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1),
    filter 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Per-word stagger animation */
.reveal-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  filter: blur(10px);
  transition:
    opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
    filter 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-word.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  text-align: center;
  padding: var(--space-5xl) var(--space-xl);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.02) 0%, transparent 60%);
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-parchment);
  margin-bottom: var(--space-md);
}

.cta-banner p {
  color: var(--text-secondary);
  font-size: var(--fs-lg);
  margin-bottom: var(--space-2xl);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards-grid-3, .cards-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --fs-hero: 2.4rem;
    --fs-3xl:  1.8rem;
    --fs-2xl:  1.5rem;
    --nav-height: 60px;
  }

  .hero {
    min-height: 90vh;
    align-items: flex-end;
    padding-bottom: var(--space-2xl);
  }

  /* Push photo focal point higher so the face stays clear of the headline */
  .hero-bg img {
    object-position: 50% 22%;
  }

  /* On mobile flatten the badge so it sits subtly above the headline (no box, smaller) */
  .hero-badge {
    border: none;
    background: transparent;
    padding: 0;
    margin-bottom: var(--space-md);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.18em;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  /* Mobile nav */
  .nav-toggle {
    display: flex;
    z-index: 1002;
    position: relative;
  }

  .nav {
    overflow: visible;
  }

  .nav-links {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    height: calc(100vh - var(--nav-height));
    height: calc(100dvh - var(--nav-height));
    background: #0a0806;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
    z-index: 1001;
    padding: var(--space-2xl) var(--space-xl);
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    font-size: var(--fs-xl);
    padding: var(--space-lg) var(--space-lg);
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--border);
    opacity: 0;
    transform: translateY(20px);
    transition: color var(--dur) var(--ease),
                opacity 0.4s var(--ease),
                transform 0.4s var(--ease);
  }

  .nav-links.open a {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links.open a:nth-child(1) { transition-delay: 0.05s; }
  .nav-links.open a:nth-child(2) { transition-delay: 0.1s; }
  .nav-links.open a:nth-child(3) { transition-delay: 0.15s; }
  .nav-links.open a:nth-child(4) { transition-delay: 0.2s; }
  .nav-links.open a:nth-child(5) { transition-delay: 0.25s; }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links a::after {
    display: none;
  }

  .cards-grid, .cards-grid-3, .cards-grid-4 {
    grid-template-columns: 1fr;
  }

  .split,
  #about .split {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  #about .split-img {
    min-height: 300px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-scroll {
    display: none;
  }
}

/* ---------- Scroll Video Animation ---------- */
.scroll-video {
  position: relative;
  height: 400vh;
}

.scroll-video-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.scroll-video-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: var(--bg-darkest);
}

/* Gradient overlays — blend top and bottom into page */
.scroll-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      #111111 0%,
      rgba(17, 17, 17, 0.7) 8%,
      rgba(0, 0, 0, 0.3) 20%,
      rgba(0, 0, 0, 0.25) 50%,
      rgba(0, 0, 0, 0.3) 80%,
      rgba(17, 17, 17, 0.7) 92%,
      #111111 100%
    );
}

/* Text slides — no transitions, driven by JS */
.scroll-video-text {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--space-xl);
  opacity: 0;
  will-change: opacity, transform;
  pointer-events: none;
}

.scroll-video-text h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.6);
  max-width: 700px;
  will-change: opacity, transform;
}

.scroll-video-text p {
  font-family: var(--font-body);
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  line-height: 1.7;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.5);
}

.scroll-word {
  will-change: opacity, transform;
}

@media (max-width: 768px) {
  .scroll-video {
    height: 400vh;
  }

  .scroll-video-text h2 {
    font-size: var(--fs-2xl);
  }

  .scroll-video-text p {
    font-size: var(--fs-base);
  }
}

/* ---------- Reviews Grid ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--space-lg);
  max-width: 1100px;
  margin: 0 auto;
}

/* Card 1 spans 2 rows on the left */
.reviews-grid .review-card:nth-child(1) {
  grid-row: 1 / 3;
}

/* CTA card spans the bottom-right (cols 2-3) so the 4-card layout fills cleanly */
.reviews-grid .review-card--cta {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: span 2;
}

/* 3-card single row variant (used on kurse.html) */
.reviews-grid--row {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
}
.reviews-grid--row .review-card:nth-child(1) { grid-row: auto; }
.reviews-grid--row .review-card--cta { grid-column: auto; }

.review-card {
  background: rgba(20, 18, 15, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-xl);
  text-align: left;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              border-color 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.review-card:hover::before {
  opacity: 1;
}

/* Stagger entrance animations */
.reviews-grid.visible .review-card {
  animation: reviewFadeIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.reviews-grid.visible .review-card:nth-child(1) { animation-delay: 0.05s; }
.reviews-grid.visible .review-card:nth-child(2) { animation-delay: 0.15s; }
.reviews-grid.visible .review-card:nth-child(3) { animation-delay: 0.25s; }
.reviews-grid.visible .review-card:nth-child(4) { animation-delay: 0.35s; }
.reviews-grid.visible .review-card:nth-child(5) { animation-delay: 0.45s; }

@keyframes reviewFadeIn {
  from {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.review-stars {
  font-size: var(--fs-base);
  color: var(--gold-light);
  margin-bottom: var(--space-md);
  letter-spacing: 3px;
}

.review-stars--small {
  font-size: var(--fs-sm);
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
}

.review-text {
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

/* Tall card gets bigger text */
.review-card--tall .review-text {
  font-size: var(--fs-md);
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: var(--fs-sm);
}

.review-company {
  color: var(--text-muted);
  font-size: var(--fs-xs);
}

/* Google CTA Card */
.review-card--cta {
  background: rgba(20, 18, 15, 0.6);
  border: 1px dashed rgba(255, 255, 255, 0.1);
}

.review-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-xs);
}

.review-google-logo {
  margin-bottom: var(--space-sm);
}

.review-rating-big {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-parchment);
  line-height: 1;
}

.review-cta-text {
  color: var(--text-muted);
  font-size: var(--fs-xs);
  margin-bottom: var(--space-md);
}

/* ---------- About Values ---------- */
/* (keeping existing about-values styles below) */

@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
  }

  .reviews-grid .review-card:nth-child(1) {
    grid-row: auto;
  }

  .reviews-grid .review-card--cta {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .reviews-grid .review-card--cta {
    grid-column: auto;
  }

  .review-card {
    padding: var(--space-lg);
  }

  .review-text {
    font-size: var(--fs-sm);
  }

  .review-card--tall .review-text {
    font-size: var(--fs-base);
  }
}

/* ---------- About Values ---------- */
.about-values {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.about-value {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--red);
}

.about-value svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  stroke: var(--red-light);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-value strong {
  display: block;
  color: var(--text-primary);
  font-size: var(--fs-base);
  margin-bottom: 2px;
}

.about-value span {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
}


/* ---------- Utility ---------- */
.text-center { text-align: center; }
.text-gold { color: var(--gold-light); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }


/* =============================================
   EISENFORMER — Booking Widget Styles
   ============================================= */

.eb-root {
  font-family: var(--font-body);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

.eb-root *, .eb-root *::before, .eb-root *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Card Container ──────────────────────────────────── */
.eb-card {
  background: var(--bg-dark);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 22px;
  display: grid;
  grid-template-columns: 240px 1fr auto;
  min-height: 480px;
  overflow: hidden;
  box-shadow:
    0 0 0 0.5px rgba(255,255,255,0.06),
    0 24px 80px rgba(0,0,0,0.7),
    0 4px 20px rgba(0,0,0,0.5);
  position: relative;
  transition: transform 0.12s ease-out;
}

/* Day-only mode: drop the 3rd column (time slots) */
.eb-root--day .eb-card {
  grid-template-columns: 240px 1fr;
}
.eb-root--day .eb-times { display: none; }
.eb-calendar--wide { padding: var(--space-lg) var(--space-xl); }
.eb-cal-hint {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}
.eb-cell.cat-kurs.available { box-shadow: inset 0 -3px 0 var(--gold); }
.eb-cell.cat-teamevent.available { box-shadow: inset 0 -3px 0 var(--red); }
.eb-cell.selected { box-shadow: none; }

/* Day-mode form additions */
.eb-info-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--text-parchment, #d6cfc2);
  line-height: 1.5;
}
.eb-radio-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.eb-radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.eb-radio-option:hover { background: rgba(255,255,255,0.06); }
.eb-form .eb-radio-option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  padding: 0;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  background: transparent;
  margin: 0;
  position: relative;
  flex-shrink: 0;
  flex-grow: 0;
  cursor: pointer;
  box-shadow: none;
  display: inline-block;
}
.eb-form .eb-radio-option input[type="radio"]:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(192,57,43,0.2);
}
.eb-form .eb-radio-option input[type="radio"]:checked {
  border-color: var(--red);
  background:
    radial-gradient(circle, var(--red) 0 5px, transparent 5px 100%);
}
.eb-radio-option:has(input:checked) {
  border-color: var(--red);
  background: rgba(225, 70, 60, 0.08);
}

@media (max-width: 720px) {
  .eb-root--day .eb-card { grid-template-columns: 1fr; }
}

.eb-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 40%, rgba(255,255,255,0.02) 100%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.eb-card:hover::before { opacity: 1; }

/* ── LEFT: Info Panel ────────────────────────────────── */
.eb-info {
  padding: 32px 24px;
  border-right: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  z-index: 2;
}

.eb-logo {
  margin-bottom: 18px;
}

.eb-logo img {
  height: 44px;
  width: auto;
}

.eb-profession {
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.eb-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-parchment);
  line-height: 1.2;
  margin-bottom: 10px;
}

.eb-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Legend */
.eb-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
}

.eb-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.eb-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.eb-dot-kurs { background: var(--gold); }
.eb-dot-teamevent { background: var(--red); }

.eb-meta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.eb-meta-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.79rem;
  color: var(--text-secondary);
}

.eb-meta-row svg {
  width: 14px; height: 14px;
  flex-shrink: 0;
  color: var(--red);
}

/* ── CENTRE: Calendar ────────────────────────────────── */
.eb-calendar {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 2;
  min-width: 340px;
}

.eb-month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.eb-month-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-parchment);
}
.eb-month-label span {
  color: var(--text-secondary);
  font-weight: 400;
  margin-left: 5px;
}

.eb-nav-btn {
  width: 30px; height: 30px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center; justify-content: center;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.eb-nav-btn:hover {
  border-color: var(--red);
  color: var(--red-light);
  background: rgba(255,255,255,0.06);
}
.eb-nav-btn svg { width: 14px; height: 14px; }

/* Day header */
.eb-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
}

.eb-day-label {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 8px;
  font-weight: 600;
}

/* Date grid */
.eb-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.eb-cell {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  border-radius: 9px;
  cursor: default;
  color: var(--text-muted);
  transition: background 0.15s, color 0.15s, transform 0.15s;
  position: relative;
  font-weight: 400;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  gap: 2px;
}
.eb-cell.empty { pointer-events: none; }

.eb-cell.unavailable {
  opacity: 0.22;
  cursor: not-allowed;
}

.eb-cell.available {
  color: var(--text-parchment);
  cursor: pointer;
  font-weight: 500;
  background: rgba(255,255,255,0.04);
}
.eb-cell.available:hover {
  background: rgba(255,255,255,0.1);
  transform: scale(1.08);
}

.eb-cell.selected {
  background: var(--red);
  color: #fff;
  font-weight: 700;
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.eb-cell.today::after {
  content: '';
  position: absolute;
  top: 4px;
  right: 4px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--red-light);
}
.eb-cell.selected::after { background: #fff; }

.eb-cell-day {
  font-size: 0.82rem;
  line-height: 1;
}

.eb-cell-indicators {
  display: flex;
  gap: 3px;
  height: 5px;
}

.eb-indicator {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.eb-ind-kurs { background: var(--gold); }
.eb-ind-teamevent { background: var(--red-light); }

.eb-cell.selected .eb-ind-kurs { background: rgba(255,255,255,0.7); }
.eb-cell.selected .eb-ind-teamevent { background: rgba(255,255,255,0.5); }

/* ── RIGHT: Time slots ───────────────────────────────── */
.eb-times {
  width: 200px;
  border-left: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.eb-times-header {
  padding: 20px 16px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}

.eb-times-date {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-parchment);
}

.eb-slots-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.eb-slots-list::-webkit-scrollbar { width: 3px; }
.eb-slots-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }

.eb-slot-btn {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 9px;
  color: var(--text-parchment);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.eb-slot-btn:hover {
  background: rgba(255,255,255,0.1);
  transform: translateX(-2px);
}

.eb-slot-kurs { border-left: 3px solid var(--gold); }
.eb-slot-kurs:hover { border-color: var(--gold-light); color: var(--gold-light); }

.eb-slot-teamevent { border-left: 3px solid var(--red); }
.eb-slot-teamevent:hover { border-color: var(--red-light); color: var(--red-light); }

.eb-slot-btn.selected.eb-slot-kurs {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg-darkest);
  font-weight: 700;
  transform: translateX(-2px);
}

.eb-slot-btn.selected.eb-slot-teamevent {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  font-weight: 700;
  transform: translateX(-2px);
}

.eb-slot-category {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
}

.eb-no-date {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-align: center;
  line-height: 1.6;
  opacity: 0.7;
}
.eb-no-date svg { width: 28px; height: 28px; opacity: 0.4; }

/* ── STEP 2: Booking form overlay ────────────────────── */
.eb-step2 {
  position: absolute;
  inset: 0;
  background: var(--bg-dark);
  border-radius: 22px;
  z-index: 10;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateX(40px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.4s ease;
  overflow-y: auto;
}
.eb-step2.visible {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}

.eb-step2-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.eb-step2-back {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s, color 0.2s;
}
.eb-step2-back:hover { border-color: var(--red); color: var(--red-light); }
.eb-step2-back svg { width: 16px; height: 16px; }

.eb-step2-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-parchment);
  margin-bottom: 4px;
}

.eb-step2-meta {
  font-size: 0.76rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.eb-meta-cat {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.eb-meta-cat-kurs {
  background: var(--gold);
  color: var(--bg-darkest);
}

.eb-meta-cat-teamevent {
  background: var(--red);
  color: #fff;
}

.eb-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  flex: 1;
}

.eb-form-group { display: flex; flex-direction: column; gap: 6px; }
.eb-form-group.eb-span2 { grid-column: 1 / -1; }

.eb-form label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 600;
}

.eb-form input,
.eb-form textarea,
.eb-form select {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  color: var(--text-parchment);
  font-family: var(--font-body);
  font-size: 0.88rem;
  padding: 11px 14px;
  width: 100%;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.eb-form input:focus,
.eb-form textarea:focus,
.eb-form select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(192,57,43,0.15);
}

.eb-form textarea { resize: none; height: 72px; }

.eb-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a09888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.eb-form select option {
  background: #1a1a1a;
  color: #e8e4de;
  padding: 8px 12px;
}

.eb-form select option:checked {
  background: #c0392b;
  color: #fff;
}

.eb-form select option:hover {
  background: #333;
}

/* Fix number input spinner */
.eb-form input[type="number"]::-webkit-inner-spin-button,
.eb-form input[type="number"]::-webkit-outer-spin-button {
  opacity: 0.5;
  cursor: pointer;
}

.eb-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  padding: 15px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  grid-column: 1 / -1;
}
.eb-submit:hover {
  background: var(--red-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.eb-submit:active { transform: translateY(0); }
.eb-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* Success */
.eb-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 40px;
  height: 100%;
}
.eb-success.visible { display: flex; }
.eb-success svg { width: 56px; height: 56px; color: var(--red-light); }
.eb-success h3 { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: var(--text-parchment); }
.eb-success p { font-size: 0.88rem; color: var(--text-secondary); max-width: 300px; line-height: 1.6; }

@keyframes ebFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.eb-success.visible { animation: ebFadeUp 0.5s ease; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 900px) {
  .eb-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: unset;
  }
  .eb-info {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 24px 20px;
  }
  .eb-legend { flex-direction: row; gap: 16px; }
  .eb-meta { flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .eb-times {
    width: 100%;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.07);
  }
  .eb-slots-list {
    flex-direction: row;
    flex-wrap: wrap;
    max-height: 200px;
  }
  .eb-slot-btn { width: auto; padding: 9px 18px; flex: 0 0 auto; }
  .eb-slot-btn:hover { transform: translateY(-2px); }
  .eb-slot-btn.selected { transform: translateY(-2px); }
  .eb-calendar { min-width: unset; }
  .eb-form { grid-template-columns: 1fr; }
  .eb-step2 { padding: 24px 20px; }
}

