/* ====================================================
   SUNNY TIDE — FERMENTATION COURSES
   Design: Luminous Surfaces — Warm Organic Glow
   Palette: Amber / Forest / Deep Slate
   ==================================================== */


:root {
  
  --base-amber: oklch(72% 0.18 65);
  --base-forest: oklch(42% 0.12 145);
  --base-slate: oklch(18% 0.04 240);

  
  --amber-50: color-mix(in oklch, var(--base-amber), white 88%);
  --amber-100: color-mix(in oklch, var(--base-amber), white 72%);
  --amber-200: color-mix(in oklch, var(--base-amber), white 52%);
  --amber-300: color-mix(in oklch, var(--base-amber), white 30%);
  --amber-400: color-mix(in oklch, var(--base-amber), white 12%);
  --amber-500: var(--base-amber);
  --amber-600: color-mix(in oklch, var(--base-amber), black 15%);
  --amber-700: color-mix(in oklch, var(--base-amber), black 30%);
  --amber-800: color-mix(in oklch, var(--base-amber), black 50%);

  
  --forest-100: color-mix(in oklch, var(--base-forest), white 78%);
  --forest-200: color-mix(in oklch, var(--base-forest), white 55%);
  --forest-300: color-mix(in oklch, var(--base-forest), white 30%);
  --forest-500: var(--base-forest);
  --forest-600: color-mix(in oklch, var(--base-forest), black 15%);
  --forest-700: color-mix(in oklch, var(--base-forest), black 35%);

  
  --slate-50: color-mix(in oklch, var(--base-slate), white 94%);
  --slate-100: color-mix(in oklch, var(--base-slate), white 88%);
  --slate-200: color-mix(in oklch, var(--base-slate), white 75%);
  --slate-300: color-mix(in oklch, var(--base-slate), white 55%);
  --slate-400: color-mix(in oklch, var(--base-slate), white 35%);
  --slate-500: color-mix(in oklch, var(--base-slate), white 18%);
  --slate-600: color-mix(in oklch, var(--base-slate), white 8%);
  --slate-700: var(--base-slate);
  --slate-800: color-mix(in oklch, var(--base-slate), black 12%);
  --slate-900: color-mix(in oklch, var(--base-slate), black 25%);

  
  --color-primary: var(--amber-500);
  --color-primary-light: var(--amber-300);
  --color-primary-dark: var(--amber-700);
  --color-secondary: var(--forest-500);
  --color-secondary-light: var(--forest-300);
  --color-accent: color-mix(in oklch, var(--base-amber), var(--base-forest) 40%);

  
  --surface-light: color-mix(in oklch, white, var(--amber-50) 60%);
  --surface-medium: var(--amber-50);
  --surface-dark: var(--slate-700);
  --surface-darker: var(--slate-800);
  --surface-darkest: var(--slate-900);

  
  --text-primary: var(--slate-700);
  --text-secondary: var(--slate-500);
  --text-muted: var(--slate-400);
  --text-on-dark: color-mix(in oklch, white, var(--amber-100) 30%);
  --text-on-dark-muted: color-mix(in oklch, white, var(--slate-300) 50%);

  
  --glow-amber: color-mix(in oklch, var(--base-amber), transparent 55%);
  --glow-amber-strong: color-mix(in oklch, var(--base-amber), transparent 35%);
  --glow-forest: color-mix(in oklch, var(--base-forest), transparent 60%);
  --shadow-tight: 0 2px 4px color-mix(in oklch, var(--slate-700), transparent 80%);
  --shadow-medium: 0 4px 16px color-mix(in oklch, var(--slate-700), transparent 72%);
  --shadow-large: 0 8px 32px color-mix(in oklch, var(--slate-700), transparent 65%);
  --shadow-glow-amber: 0 0 0 1px var(--glow-amber), 0 4px 20px var(--glow-amber), 0 12px 40px color-mix(in oklch, var(--base-amber), transparent 80%);
  --shadow-glow-amber-hover: 0 0 0 1px var(--glow-amber-strong), 0 6px 28px var(--glow-amber-strong), 0 16px 48px color-mix(in oklch, var(--base-amber), transparent 70%);
  --shadow-card-light: 0 1px 3px color-mix(in oklch, var(--slate-700), transparent 88%), 0 4px 16px color-mix(in oklch, var(--slate-700), transparent 80%), 0 0 0 1px color-mix(in oklch, var(--amber-200), transparent 50%);
  --shadow-card-hover: 0 2px 6px color-mix(in oklch, var(--slate-700), transparent 82%), 0 8px 28px color-mix(in oklch, var(--slate-700), transparent 72%), 0 0 24px var(--glow-amber), 0 0 0 1px var(--glow-amber);

  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  
  --font-sans: 'Work Sans', sans-serif;
  --leading-tight: 1.2;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  
  --transition-fast: 150ms ease;
  --transition-base: 280ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 480ms cubic-bezier(0.4, 0, 0.2, 1);
}


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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background-color: var(--surface-light);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

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

a {
  color: var(--color-primary-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover { color: var(--color-primary); }

ul, ol { list-style: none; }

address { font-style: normal; }

mark {
  background: linear-gradient(120deg, color-mix(in oklch, var(--base-amber), transparent 55%) 0%, color-mix(in oklch, var(--base-amber), transparent 30%) 100%);
  color: inherit;
  padding: 0.05em 0.2em;
  border-radius: 3px;
}


h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: var(--leading-tight);
  color: var(--text-primary);
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.8rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; font-weight: 600; }

p { line-height: var(--leading-relaxed); }


.content-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}


.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.main-header.header-scrolled {
  background: color-mix(in oklch, var(--surface-light), transparent 8%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-medium);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 var(--space-md);
  max-width: 1200px;
  margin: 0 auto;
}

.header-logo img {
  height: 40px;
  width: auto;
  transition: opacity var(--transition-fast);
}

.header-logo:hover img { opacity: 0.8; }

.main-navigation { display: none; }

.navigation-list {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.navigation-link {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: var(--space-xs) 0;
  position: relative;
  transition: color var(--transition-base);
  color: var(--text-primary);
}

.navigation-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.navigation-link:hover::after,
.navigation-link.active::after { width: 100%; }


.main-header[data-current-theme="dark"] .navigation-link { color: var(--text-primary); }
.main-header[data-current-theme="dark"] .navigation-link::after { background: var(--color-primary); }
.main-header[data-current-theme="dark"] .header-logo { filter: brightness(1.2); }


.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
  transition: opacity var(--transition-fast);
}

.mobile-menu-toggle:hover { opacity: 0.7; }

.hamburger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: var(--radius-full);
  transition: transform var(--transition-base), opacity var(--transition-base), background var(--transition-base);
}

.main-header[data-current-theme="dark"] .hamburger-bar { background: var(--text-on-dark); }

.mobile-menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }


.mobile-menu-panel {
  max-height: 0;
  overflow: hidden;
  background: color-mix(in oklch, var(--surface-light), transparent 3%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--amber-100);
  transition: max-height var(--transition-slow), box-shadow var(--transition-base);
  box-shadow: none;
}

.mobile-menu-panel[aria-hidden="false"] {
  max-height: 400px;
  box-shadow: var(--shadow-large);
}

.mobile-navigation-list {
  padding: var(--space-sm) var(--space-md) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.mobile-navigation-link {
  display: block;
  padding: 0.75rem var(--space-sm);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.mobile-navigation-link:hover {
  background: var(--amber-100);
  color: var(--color-primary-dark);
}


.hero-section {
  padding-top: 72px;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-split-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 72px);
  position: relative;
}

.hero-split-before,
.hero-split-after {
  position: relative;
  overflow: hidden;
}

.hero-split-before { background: var(--slate-700); }
.hero-split-after { background: var(--amber-800); }

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-split-before:hover .hero-image,
.hero-split-after:hover .hero-image { transform: scale(1.03); }

.hero-figure-before,
.hero-figure-after {
  width: 100%;
  height: 100%;
  margin: 0;
}

.hero-figcaption-label {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in oklch, white, transparent 15%);
  background: color-mix(in oklch, black, transparent 55%);
  padding: 0.3em 0.8em;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.hero-before-overlay,
.hero-after-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(to top, color-mix(in oklch, black, transparent 25%) 0%, transparent 100%);
}

.hero-state-text {
  font-size: 0.9rem;
  color: color-mix(in oklch, white, var(--amber-200) 20%);
  font-weight: 400;
  font-style: italic;
}

.hero-content-overlay {
  position: absolute;
  bottom: var(--space-3xl);
  left: 50%;
  transform: translateX(-50%);
  width: min(700px, 90vw);
  text-align: center;
  z-index: 10;
  padding: var(--space-xl) var(--space-lg);
  background: color-mix(in oklch, var(--slate-800), transparent 15%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  border: 1px solid color-mix(in oklch, var(--amber-300), transparent 55%);
  box-shadow: var(--shadow-glow-amber), 0 24px 64px color-mix(in oklch, black, transparent 50%);
}

.hero-heading {
  font-size: clamp(1.8rem, 4.5vw, 3.5rem);
  color: var(--text-on-dark);
  margin-bottom: var(--space-sm);
  line-height: 1.15;
}

.hero-heading mark {
  background: linear-gradient(120deg, color-mix(in oklch, var(--base-amber), transparent 20%) 0%, color-mix(in oklch, var(--base-amber), transparent 5%) 100%);
  color: var(--amber-300);
}

.hero-subheading {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-on-dark-muted);
  font-weight: 400;
  margin-bottom: var(--space-lg);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

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


.button-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--color-primary);
  color: var(--slate-800);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition-base), box-shadow var(--transition-base), transform var(--transition-fast);
  box-shadow: var(--shadow-glow-amber);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.button-primary:hover {
  background: var(--amber-400);
  box-shadow: var(--shadow-glow-amber-hover);
  transform: translateY(-2px);
  color: var(--slate-800);
}

.button-primary:active { transform: translateY(0); }

.button-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--text-on-dark);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  border: 1.5px solid color-mix(in oklch, white, transparent 45%);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.button-secondary:hover {
  background: color-mix(in oklch, white, transparent 80%);
  border-color: color-mix(in oklch, white, transparent 20%);
  color: white;
  transform: translateY(-2px);
}

.button-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--amber-200);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--amber-300);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.button-ghost:hover {
  background: color-mix(in oklch, var(--base-amber), transparent 80%);
  color: var(--amber-100);
  transform: translateY(-2px);
}


.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: var(--space-sm);
}

.section-eyebrow--light { color: var(--amber-300); }

.section-heading {
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.section-heading--light { color: var(--text-on-dark); }


.intro-section {
  padding: var(--space-3xl) 0;
  background: var(--surface-light);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.intro-text-block { max-width: 600px; }

.intro-body-text {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  font-size: 1.05rem;
}

.intro-feature-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.intro-feature-card {
  padding: var(--space-lg);
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--amber-100);
  box-shadow: var(--shadow-card-light);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  transform-style: preserve-3d;
}

.intro-feature-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.feature-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.feature-icon {
  font-size: 1.4rem;
  color: var(--color-primary);
  flex-shrink: 0;
}

.feature-card-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
}

.feature-card-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: var(--leading-relaxed);
}


.decorative-divider {
  position: relative;
  height: 80px;
  overflow: visible;
  background: var(--surface-light);
}

.divider-wave-container {
  position: relative;
  width: 100%;
}

.divider-wave-svg {
  width: 100%;
  height: 80px;
  display: block;
}

.divider-dot-row {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 0.75rem;
  z-index: 5;
}

.divider-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  box-shadow: 0 0 8px var(--glow-amber), 0 0 20px var(--glow-amber);
  animation: divider-pulse 2.4s ease-in-out infinite;
}

.divider-dot:nth-child(2) { animation-delay: 0.3s; }
.divider-dot:nth-child(3) { animation-delay: 0.6s; }
.divider-dot:nth-child(4) { animation-delay: 0.9s; }
.divider-dot:nth-child(5) { animation-delay: 1.2s; }

@keyframes divider-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); box-shadow: 0 0 14px var(--glow-amber-strong), 0 0 28px var(--glow-amber); }
}


.checklist-section {
  padding: var(--space-3xl) 0;
  background: var(--surface-dark);
  position: relative;
  overflow: hidden;
}

.checklist-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, color-mix(in oklch, var(--base-amber), transparent 80%) 0%, transparent 70%);
  pointer-events: none;
}

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

.checklist-intro-text {
  color: var(--text-on-dark-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

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

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

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: color-mix(in oklch, white, transparent 90%);
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in oklch, var(--base-amber), transparent 70%);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.checklist-item:hover {
  background: color-mix(in oklch, var(--base-amber), transparent 85%);
  box-shadow: 0 0 16px color-mix(in oklch, var(--base-amber), transparent 75%);
}

.checklist-icon {
  color: var(--color-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.checklist-text {
  color: var(--text-on-dark);
  font-size: 0.95rem;
  line-height: var(--leading-normal);
}


.gallery-section {
  padding: var(--space-3xl) 0;
  background: var(--surface-medium);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card-light);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  transform-style: preserve-3d;
  margin: 0;
  background: var(--slate-800);
}

.gallery-item:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-6px);
}

.gallery-item--featured {
  grid-column: span 1;
}

.gallery-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item--featured .gallery-image { height: 320px; }
.gallery-item--wide .gallery-image { height: 260px; }

.gallery-item:hover .gallery-image { transform: scale(1.04); }

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-sm) var(--space-md);
  background: linear-gradient(to top, color-mix(in oklch, black, transparent 30%) 0%, transparent 100%);
  color: white;
  font-size: 0.85rem;
  font-weight: 500;
}


.process-section {
  padding: var(--space-3xl) 0;
  background: var(--surface-light);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.process-step {
  padding: var(--space-lg);
  background: white;
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--color-primary);
  box-shadow: var(--shadow-card-light);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.process-step:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateX(4px);
}

.process-step-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.process-step-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--amber-200);
  line-height: 1;
  flex-shrink: 0;
}

.process-step-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.process-step-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: var(--leading-relaxed);
}

.process-image-block {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card-light);
  margin: 0;
}

.process-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.process-image-caption {
  padding: var(--space-sm) var(--space-md);
  background: var(--amber-50);
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: center;
}


.cta-section {
  padding: var(--space-3xl) 0;
  background: var(--surface-darker);
  position: relative;
  overflow: hidden;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, color-mix(in oklch, var(--base-forest), transparent 78%) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-lg);
  background: color-mix(in oklch, white, transparent 92%);
  border-radius: var(--radius-xl);
  border: 1px solid color-mix(in oklch, var(--base-amber), transparent 60%);
  box-shadow: var(--shadow-glow-amber);
  transform-style: preserve-3d;
}

.cta-heading {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  color: var(--text-on-dark);
  margin-bottom: var(--space-md);
}

.cta-heading mark {
  background: linear-gradient(120deg, color-mix(in oklch, var(--base-amber), transparent 20%) 0%, transparent 100%);
  color: var(--amber-300);
}

.cta-body {
  color: var(--text-on-dark-muted);
  font-size: 1.05rem;
  margin-bottom: var(--space-lg);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.cta-address {
  color: var(--text-on-dark-muted);
  font-size: 0.85rem;
}

.cta-address a {
  color: var(--amber-300);
  transition: color var(--transition-fast);
}

.cta-address a:hover { color: var(--amber-200); }


.page-hero-section {
  padding: calc(72px + var(--space-xl)) 0 var(--space-xl);
  background: var(--surface-dark);
  position: relative;
  overflow: hidden;
}

.page-hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, color-mix(in oklch, var(--base-amber), transparent 82%) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero-heading {
  color: var(--text-on-dark);
  margin-bottom: var(--space-sm);
}

.page-hero-subtext {
  color: var(--text-on-dark-muted);
  font-size: 1.1rem;
  max-width: 560px;
  line-height: var(--leading-relaxed);
}


.breadcrumb-navigation {
  margin-bottom: var(--space-md);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.breadcrumb-list li {
  font-size: 0.8rem;
  color: var(--text-on-dark-muted);
}

.breadcrumb-list li:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
  opacity: 0.5;
}

.breadcrumb-list a {
  color: var(--amber-300);
  transition: color var(--transition-fast);
}

.breadcrumb-list a:hover { color: var(--amber-200); }


.team-members-section {
  padding: var(--space-3xl) 0;
  background: var(--surface-light);
}

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

.team-member-card {
  padding: var(--space-lg);
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card-light);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  transform-style: preserve-3d;
}

.team-member-card:hover { box-shadow: var(--shadow-card-hover); }

.team-member-card--featured {
  border: 1px solid var(--amber-200);
  background: linear-gradient(135deg, white 0%, var(--amber-50) 100%);
}

.team-card-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.team-member-figure {
  margin: 0;
  position: relative;
}

.team-member-portrait {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
}

.team-member-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: var(--space-sm);
}

.team-member-role-block { flex: 1; }

.team-member-role {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: var(--space-sm);
}

.team-member-bio {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-sm);
}

.team-member-bio-short {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
  line-height: var(--leading-relaxed);
}

.team-member-expertise {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: var(--space-sm);
}

.expertise-tag {
  display: inline-block;
  padding: 0.25em 0.75em;
  background: var(--amber-100);
  color: var(--amber-700);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 500;
}

.team-member-info {
  padding: 0;
}

.team-card-footer {
  margin-top: var(--space-md);
  border-top: 1px solid var(--amber-100);
  padding-top: var(--space-sm);
}

.expertise-meter {
  width: 100%;
  height: 6px;
  border-radius: var(--radius-full);
  appearance: none;
  -webkit-appearance: none;
  background: var(--amber-100);
  overflow: hidden;
}

.expertise-meter::-webkit-meter-optimum-value { background: var(--color-primary); }
.expertise-meter::-moz-meter-bar { background: var(--color-primary); }

.expertise-meter-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.team-values-card {
  background: var(--surface-dark);
  color: var(--text-on-dark);
}

.values-card-title {
  font-size: 1.3rem;
  color: var(--text-on-dark);
  margin-bottom: var(--space-md);
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.values-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-on-dark);
  font-size: 0.95rem;
}

.values-item i { color: var(--color-primary); flex-shrink: 0; }

.values-card-body {
  color: var(--text-on-dark-muted);
  font-size: 0.9rem;
  line-height: var(--leading-relaxed);
}

.team-cta-section {
  padding: var(--space-xl) 0;
  background: var(--surface-darker);
}


.course-modules-section {
  padding: var(--space-3xl) 0;
  background: var(--surface-light);
}

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

.course-module-card {
  padding: var(--space-lg);
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card-light);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  transform-style: preserve-3d;
}

.course-module-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.course-module-card--featured {
  border: 1px solid var(--amber-200);
  background: linear-gradient(135deg, white 0%, var(--amber-50) 100%);
}

.course-module-card--highlight {
  background: var(--forest-100);
  border: 1px solid var(--forest-200);
}

.module-card-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
}

.module-icon-wrapper {
  font-size: 1.8rem;
  color: var(--color-primary);
}

.module-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
}

.module-difficulty-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-secondary);
}

.module-card-body p { margin-bottom: var(--space-sm); color: var(--text-secondary); }

.module-card-body-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: var(--space-sm);
  line-height: var(--leading-relaxed);
}

.module-hgroup { margin-bottom: var(--space-md); }
.module-hgroup-sub { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.25rem; }

.module-topics-heading {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  margin-top: var(--space-md);
}

.module-topics-list {
  list-style: disc;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.module-topics-list li {
  color: var(--text-secondary);
  font-size: 0.9rem;
  list-style-type: disc;
}

.module-card-footer {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--amber-100);
  flex-wrap: wrap;
}

.module-duration,
.module-group-size {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.course-module-image-block {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card-light);
  margin: 0;
}

.course-module-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.course-module-image-caption {
  padding: var(--space-sm) var(--space-md);
  background: var(--amber-50);
  font-size: 0.85rem;
  color: var(--text-secondary);
}


.course-faq-section {
  padding: var(--space-3xl) 0;
  background: var(--surface-dark);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.faq-item {
  padding: var(--space-lg);
  background: color-mix(in oklch, white, transparent 88%);
  border-radius: var(--radius-lg);
  border: 1px solid color-mix(in oklch, var(--base-amber), transparent 72%);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.faq-item:hover {
  background: color-mix(in oklch, var(--base-amber), transparent 88%);
  box-shadow: 0 0 20px color-mix(in oklch, var(--base-amber), transparent 78%);
}

.faq-question {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-on-dark);
  margin-bottom: var(--space-sm);
}

.faq-answer {
  color: var(--text-on-dark-muted);
  font-size: 0.92rem;
  line-height: var(--leading-relaxed);
}


.contact-hero-section {
  padding: calc(72px + var(--space-xl)) 0 var(--space-xl);
  background: var(--surface-dark);
}

.contact-content-section {
  padding: var(--space-3xl) 0;
  background: var(--surface-light);
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.contact-form-title {
  font-size: 1.4rem;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

.contact-info-card,
.contact-hours-card {
  padding: var(--space-lg);
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card-light);
  margin-bottom: var(--space-md);
}

.contact-info-heading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.contact-detail-icon {
  color: var(--color-primary);
  width: 20px;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.contact-detail-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: var(--leading-normal);
}

.contact-detail-text a {
  color: var(--color-secondary);
  transition: color var(--transition-fast);
}

.contact-detail-text a:hover { color: var(--color-primary); }

.contact-hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.contact-hours-table td {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--amber-100);
}

.hours-day { color: var(--text-secondary); }
.hours-time { color: var(--text-primary); font-weight: 500; text-align: right; }
.hours-row-closed .hours-time { color: var(--text-muted); }
.hours-note { display: block; margin-top: var(--space-sm); color: var(--text-muted); font-size: 0.8rem; }

.contact-map-section {
  padding: var(--space-xl) 0 var(--space-3xl);
  background: var(--surface-medium);
}

.contact-map-heading {
  margin-bottom: var(--space-lg);
  font-size: 1.4rem;
}

.contact-map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-large);
}

.contact-map-iframe { display: block; }

.map-disclaimer {
  display: block;
  margin-top: var(--space-sm);
  font-size: 0.78rem;
  color: var(--text-muted);
}


.inquiry-form-page {
  padding: calc(72px + var(--space-xl)) 0 var(--space-3xl);
  background: var(--surface-light);
  min-height: 100vh;
}

.inquiry-form-wrapper {
  max-width: 680px;
  margin: 0 auto;
}

.inquiry-form-intro { margin-bottom: var(--space-xl); }

.inquiry-form-heading {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: var(--space-sm);
}

.inquiry-form-description {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.required-indicator { color: var(--color-primary); }

.form-text-input,
.form-select-input,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: white;
  border: 1.5px solid var(--amber-200);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  appearance: none;
  -webkit-appearance: none;
}

.form-text-input:focus,
.form-select-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--base-amber), transparent 72%);
}

.form-textarea { resize: vertical; min-height: 130px; line-height: var(--leading-relaxed); }

.form-field-helper {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.form-privacy-group { flex-direction: column; }

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
}

.form-checkbox-input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0.1rem;
  accent-color: var(--color-primary);
  cursor: pointer;
  border-radius: 4px;
}

.form-checkbox-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: var(--leading-normal);
}

.form-link { color: var(--color-secondary); }
.form-link:hover { color: var(--color-primary); }

.button-submit-full {
  width: 100%;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1rem;
}

.form-legal-note {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: -var(--space-sm);
}


.legal-hero-section {
  padding: calc(72px + var(--space-xl)) 0 var(--space-xl);
  background: var(--surface-dark);
}

.legal-last-updated {
  color: var(--text-on-dark-muted);
  font-size: 0.85rem;
  margin-top: var(--space-sm);
}

.legal-content-section {
  padding: var(--space-3xl) 0;
  background: var(--surface-medium);
}

.legal-container {
  max-width: 860px;
}

.legal-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card-light);
  margin-bottom: var(--space-lg);
  border-top: 3px solid var(--amber-200);
}

.legal-card h2 {
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.legal-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-sm);
}

.legal-card ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin: var(--space-sm) 0;
}

.legal-card ul li {
  color: var(--text-secondary);
  font-size: 0.9rem;
  list-style-type: disc;
  margin-bottom: 0.35rem;
}

.legal-card a { color: var(--color-secondary); }
.legal-card a:hover { color: var(--color-primary); }

.legal-address-block {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  padding: var(--space-sm) var(--space-md);
  background: var(--amber-50);
  border-radius: var(--radius-md);
  margin-top: var(--space-sm);
}

.impressum-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-top: var(--space-sm);
}

.impressum-table th,
.impressum-table td {
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--amber-100);
  text-align: left;
}

.impressum-table th {
  color: var(--text-muted);
  font-weight: 500;
  width: 40%;
  white-space: nowrap;
}

.impressum-table td { color: var(--text-primary); }

.cookies-intro-card { border-top-color: var(--forest-500); }

.cookies-intro-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.cookies-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin: var(--space-md) 0;
}

.cookies-table th {
  background: var(--amber-50);
  padding: 0.6rem 0.8rem;
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 2px solid var(--amber-200);
}

.cookies-table td {
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--amber-100);
  color: var(--text-secondary);
}

.cookies-table code {
  background: var(--amber-50);
  padding: 0.1em 0.4em;
  border-radius: 3px;
  font-size: 0.85em;
  color: var(--color-secondary);
}


.thanks-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.thanks-section {
  flex: 1;
  display: flex;
  align-items: center;
  padding: calc(72px + var(--space-3xl)) 0 var(--space-3xl);
  background: var(--surface-dark);
  position: relative;
  overflow: hidden;
}

.thanks-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, color-mix(in oklch, var(--base-amber), transparent 78%) 0%, transparent 60%);
  pointer-events: none;
}

.thanks-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.thanks-icon-wrapper {
  margin-bottom: var(--space-lg);
}

.thanks-icon {
  font-size: 4rem;
  color: var(--color-primary);
  filter: drop-shadow(0 0 16px var(--glow-amber));
}

.thanks-heading {
  color: var(--text-on-dark);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  margin-bottom: var(--space-md);
}

.thanks-body {
  color: var(--text-on-dark-muted);
  font-size: 1.05rem;
  margin-bottom: var(--space-xl);
}

.thanks-countdown-block {
  margin-bottom: var(--space-lg);
  padding: var(--space-sm) var(--space-lg);
  background: color-mix(in oklch, white, transparent 88%);
  border-radius: var(--radius-full);
  border: 1px solid color-mix(in oklch, var(--base-amber), transparent 60%);
  display: inline-block;
}

.thanks-countdown-text {
  color: var(--text-on-dark-muted);
  font-size: 0.9rem;
}

.countdown-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
}

.thanks-return-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}


.page-footer {
  background: var(--surface-darkest);
  padding: var(--space-3xl) 0 var(--space-lg);
  position: relative;
}

.page-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glow-amber), transparent);
}

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

.footer-logo { opacity: 0.85; transition: opacity var(--transition-fast); }
.footer-logo:hover { opacity: 1; }

.footer-tagline {
  color: var(--text-on-dark-muted);
  font-size: 0.85rem;
  margin: var(--space-sm) 0 var(--space-md);
}

.footer-address {
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
  line-height: var(--leading-relaxed);
}

.footer-address a {
  color: var(--text-on-dark-muted);
  transition: color var(--transition-fast);
}

.footer-address a:hover { color: var(--amber-300); }

.footer-links-heading {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-400);
  margin-bottom: var(--space-md);
}

.footer-navigation-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-navigation-link {
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
  transition: color var(--transition-fast);
}

.footer-navigation-link:hover { color: var(--amber-300); }

.footer-bottom {
  border-top: 1px solid color-mix(in oklch, white, transparent 88%);
  padding-top: var(--space-md);
}

.footer-copyright {
  font-size: 0.8rem;
  color: color-mix(in oklch, white, transparent 60%);
}


.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}



@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item--featured { grid-column: span 2; }
  .gallery-item--wide { grid-column: span 2; }

  .intro-feature-block {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

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

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

  .course-module-card--featured { grid-column: span 2; }
}

@media (min-width: 768px) {
  .main-navigation { display: flex; }
  .mobile-menu-toggle { display: none; }

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

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

  .team-member-card--featured {
    grid-column: span 2;
  }

  .team-card-header {
    flex-direction: row;
    align-items: flex-start;
  }

  .team-member-figure { flex: 0 0 220px; }

  .team-member-portrait {
    width: 220px;
    height: 220px;
    border-radius: var(--radius-full);
    object-fit: cover;
  }

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

  .contact-layout-grid {
    grid-template-columns: 3fr 2fr;
  }
}

@media (min-width: 1024px) {
  .intro-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-2xl);
  }

  .intro-feature-block {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
  }

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

  .gallery-item--featured { grid-column: span 2; }
  .gallery-item--wide { grid-column: span 2; }

  .gallery-image { height: 280px; }
  .gallery-item--featured .gallery-image { height: 380px; }

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

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

  .course-module-card--featured { grid-column: span 2; }

  .team-members-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-member-card--featured { grid-column: span 2; }
}


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

abbr[title] {
  text-decoration: underline dotted;
  cursor: help;
}

code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9em;
}


:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 3px;
}


::selection {
  background: color-mix(in oklch, var(--base-amber), transparent 60%);
  color: var(--text-primary);
}


[data-tilt] { transform-style: preserve-3d; }


.cookie-consent-modal {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 9999;
  width: min(360px, calc(100vw - 3rem));
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 24px color-mix(in oklch, black, transparent 60%), 0 0 0 1px var(--amber-100), 0 0 32px var(--glow-amber);
  padding: var(--space-lg);
  border: 1px solid var(--amber-200);
  transform: translateY(0);
  transition: transform var(--transition-slow), opacity var(--transition-slow);
  opacity: 1;
}

.cookie-consent-modal.cookie-hidden {
  transform: translateY(calc(100% + 2rem));
  opacity: 0;
  pointer-events: none;
}

.cookie-consent-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.cookie-consent-text {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-sm);
}

.cookie-consent-text a {
  color: var(--color-secondary);
  text-decoration: underline;
}

.cookie-consent-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cookie-btn-accept {
  padding: 0.7rem 1rem;
  background: var(--color-primary);
  color: var(--slate-800);
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: var(--shadow-glow-amber);
}

.cookie-btn-accept:hover {
  background: var(--amber-400);
  box-shadow: var(--shadow-glow-amber-hover);
}

.cookie-btn-customize {
  padding: 0.65rem 1rem;
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid var(--amber-200);
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cookie-btn-customize:hover {
  background: var(--amber-50);
  border-color: var(--color-primary);
  color: var(--text-primary);
}

.cookie-btn-reject {
  padding: 0.55rem 1rem;
  background: transparent;
  color: var(--text-muted);
  border: none;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 400;
  cursor: pointer;
  transition: color var(--transition-fast);
  text-align: center;
}

.cookie-btn-reject:hover { color: var(--text-secondary); }

.cookie-customize-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.cookie-customize-panel.is-open {
  max-height: 300px;
}

.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--amber-100);
}

.cookie-category:last-child { border-bottom: none; }

.cookie-category-info { flex: 1; }

.cookie-category-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.2rem;
}

.cookie-category-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cookie-toggle {
  position: relative;
  width: 38px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.cookie-toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--slate-300);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--transition-base);
}

.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  top: 3px;
  background: white;
  border-radius: var(--radius-full);
  transition: transform var(--transition-base);
  box-shadow: var(--shadow-tight);
}

.cookie-toggle input:checked + .cookie-toggle-slider { background: var(--color-primary); }
.cookie-toggle input:checked + .cookie-toggle-slider::before { transform: translateX(16px); }
.cookie-toggle input:disabled + .cookie-toggle-slider { background: var(--color-primary); opacity: 0.6; cursor: not-allowed; }
.cookie-toggle input:disabled + .cookie-toggle-slider::before { transform: translateX(16px); }

.cookie-save-btn {
  display: block;
  width: 100%;
  margin-top: var(--space-sm);
  padding: 0.65rem;
  background: var(--color-primary);
  color: var(--slate-800);
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.cookie-save-btn:hover { background: var(--amber-400); }