/* =============================================================================
   KI-Telefonansagen Generator — Design System
   Distinctive, modern, accessible
   ============================================================================= */

/* --- Custom Properties --- */
:root {
  /* Brand Colors */
  --color-primary: #6366f1;
  --color-primary-dark: #4f46e5;
  --color-primary-light: #818cf8;
  --color-primary-50: #eef2ff;
  --color-accent: #14b8a6;
  --color-accent-dark: #0d9488;
  --color-accent-light: #5eead4;

  /* Neutrals */
  --color-dark: #0f172a;
  --color-darker: #020617;
  --color-gray-900: #1e293b;
  --color-gray-800: #1e293b;
  --color-gray-700: #334155;
  --color-gray-600: #475569;
  --color-gray-500: #64748b;
  --color-gray-400: #94a3b8;
  --color-gray-300: #cbd5e1;
  --color-gray-200: #e2e8f0;
  --color-gray-100: #f1f5f9;
  --color-gray-50: #f8fafc;
  --color-white: #ffffff;

  /* Semantic */
  --color-text: var(--color-gray-700);
  --color-text-light: var(--color-gray-500);
  --color-heading: var(--color-gray-900);
  --color-bg: var(--color-white);
  --color-bg-alt: var(--color-gray-50);
  --color-border: var(--color-gray-200);

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
  --gradient-cta: linear-gradient(135deg, #6366f1, #14b8a6);
  --gradient-cta-hover: linear-gradient(135deg, #4f46e5, #0d9488);
  --gradient-card: linear-gradient(135deg, rgba(99,102,241,0.05), rgba(20,184,166,0.05));

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;

  /* 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;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);

  /* Borders */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;
  --header-height: 4rem;
}


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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--space-xl));
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

html.nav-open,
body.nav-open {
  overflow: hidden;
  touch-action: none;
  -webkit-overflow-scrolling: none;
}

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

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

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

ul, ol {
  list-style: none;
}


/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-heading);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

h4 {
  font-size: 1.125rem;
}

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


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

.container--narrow {
  max-width: var(--container-narrow);
}

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

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

.section--dark {
  background: var(--gradient-hero);
  color: var(--color-gray-200);
}

.section--dark h2,
.section--dark h3 {
  color: var(--color-white);
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section__header p {
  margin-top: var(--space-md);
  font-size: 1.125rem;
  color: var(--color-text-light);
}

.section--dark .section__header p {
  color: var(--color-gray-400);
}

.section__label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.section--dark .section__label {
  color: var(--color-accent-light);
}


/* --- Skip Link (A11y) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  z-index: 10000;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-md);
  font-weight: 600;
}

.skip-link:focus {
  top: var(--space-md);
}


/* --- Header & Navigation --- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
  transition: box-shadow var(--transition-base);
}

.header--scrolled {
  box-shadow: var(--shadow-md);
}

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

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--color-heading);
  letter-spacing: -0.02em;
  text-decoration: none;
  flex-shrink: 0;
}

.header__logo:hover {
  color: var(--color-primary);
}

.header__logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--gradient-cta);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.header__logo-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: white;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav__link {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-gray-600);
  border-radius: var(--radius-md);
  transition: color var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-primary);
  background: var(--color-primary-50);
}

.nav__cta {
  margin-left: var(--space-sm);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  color: var(--color-gray-700);
}

.nav-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}


/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--color-primary-light);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--gradient-cta);
  color: var(--color-white);
  border-color: transparent;
}

.btn--primary:hover {
  background: var(--gradient-cta-hover);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.btn--secondary {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--secondary:hover {
  background: var(--color-primary-50);
  color: var(--color-primary-dark);
}

.btn--outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--color-white);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
  border-radius: var(--radius-xl);
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

.btn svg {
  width: 1.125rem;
  height: 1.125rem;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}


/* --- Hero --- */
.hero {
  position: relative;
  background: var(--gradient-hero);
  color: var(--color-gray-200);
  padding: var(--space-4xl) 0;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.2;
  pointer-events: none;
}

.hero::before {
  width: 500px;
  height: 500px;
  background: var(--color-primary);
  top: -150px;
  right: -100px;
  animation: float-slow 25s ease-in-out infinite;
}

.hero::after {
  width: 350px;
  height: 350px;
  background: var(--color-accent);
  bottom: -100px;
  left: -50px;
  animation: float-slow 20s ease-in-out infinite reverse;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-accent-light);
  margin-bottom: var(--space-xl);
  backdrop-filter: blur(4px);
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.hero__subtitle {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: var(--color-gray-300);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* Hero for subpages */
.hero--compact {
  min-height: auto;
  padding: var(--space-3xl) 0 var(--space-2xl);
}


/* --- Trust Bar --- */
.trust-bar {
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-xl) 0;
  background: var(--color-white);
}

.trust-bar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xl) var(--space-3xl);
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-gray-600);
}

.trust-bar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: var(--color-primary-50);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.trust-bar__icon svg {
  width: 1rem;
  height: 1rem;
  stroke: var(--color-primary);
  stroke-width: 2;
  fill: none;
}


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

.step {
  text-align: center;
  position: relative;
}

.step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto var(--space-lg);
  background: var(--gradient-cta);
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: var(--radius-xl);
  position: relative;
}

.step h3 {
  margin-bottom: var(--space-sm);
}

.step p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
}

/* Connector line between steps */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 1.75rem;
  left: calc(50% + 2.5rem);
  width: calc(100% - 5rem);
  height: 2px;
  background: var(--color-gray-200);
}


/* --- Feature Cards --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  transition: all var(--transition-base);
}

.feature-card:hover {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: var(--gradient-card);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
}

.feature-card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: var(--color-primary);
  stroke-width: 2;
  fill: none;
}

.feature-card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.125rem;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
}


/* --- Use-Case Cards --- */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.usecase-card {
  display: block;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-decoration: none;
  transition: all var(--transition-base);
}

.usecase-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  color: inherit;
}

.usecase-card__icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  line-height: 1;
}

.usecase-card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.125rem;
  color: var(--color-heading);
}

.usecase-card p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
}

.usecase-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: gap var(--transition-fast);
}

.usecase-card:hover .usecase-card__arrow {
  gap: var(--space-sm);
}


/* --- Content Sections (Subpages) --- */
.content-section h2 {
  margin-bottom: var(--space-lg);
}

.content-section p {
  margin-bottom: var(--space-md);
}

.content-section ul,
.content-section ol {
  margin: var(--space-md) 0;
  padding-left: var(--space-xl);
}

.content-section ul {
  list-style: disc;
}

.content-section ol {
  list-style: decimal;
}

.content-section li {
  margin-bottom: var(--space-sm);
}

.content-section li::marker {
  color: var(--color-primary);
}

.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.content-sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--space-xl));
}

.sidebar-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
}

.sidebar-card h3 {
  margin-bottom: var(--space-md);
  font-size: 1.0625rem;
}

.sidebar-card p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
}


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

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

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--color-heading);
  list-style: none;
  transition: color var(--transition-fast);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '';
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-left: var(--space-md);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform var(--transition-base);
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item summary:hover {
  color: var(--color-primary);
}

.faq-item__answer {
  padding: 0 0 var(--space-lg);
  color: var(--color-text);
  line-height: 1.7;
}

.faq-item__answer p + p {
  margin-top: var(--space-sm);
}


/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding: var(--space-4xl) 0;
}

.cta-section h2 {
  margin-bottom: var(--space-md);
}

.cta-section p {
  margin-bottom: var(--space-2xl);
  font-size: 1.125rem;
}

.cta-section .section--dark p {
  color: var(--color-gray-300);
}


/* --- Breadcrumbs --- */
.breadcrumbs {
  padding: var(--space-md) 0;
  font-size: 0.875rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  list-style: none;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-gray-400);
}

.breadcrumbs li:not(:last-child)::after {
  content: '›';
  margin-left: var(--space-xs);
}

.breadcrumbs a {
  color: var(--color-gray-400);
}

.breadcrumbs a:hover {
  color: var(--color-white);
}

.breadcrumbs li:last-child {
  color: var(--color-gray-200);
}


/* --- Generator Embed --- */
.generator-wrap {
  min-height: 520px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}


/* --- Info Box --- */
.info-box {
  background: var(--color-primary-50);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-lg) var(--space-xl);
  margin: var(--space-xl) 0;
}

.info-box p {
  font-size: 0.9375rem;
  color: var(--color-gray-700);
}


/* --- Footer --- */
.footer {
  background: var(--color-dark);
  color: var(--color-gray-400);
  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-2xl);
}

.footer__brand p {
  font-size: 0.9375rem;
  margin-top: var(--space-md);
  line-height: 1.6;
}

.footer__contact {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-gray-400);
  font-size: 0.9375rem;
}

.footer__contact a:hover {
  color: var(--color-accent-light);
}

.footer__contact svg {
  width: 1rem;
  height: 1rem;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

.footer h4 {
  color: var(--color-gray-200);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-lg);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__links a {
  color: var(--color-gray-400);
  font-size: 0.9375rem;
}

.footer__links a:hover {
  color: var(--color-white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-xl);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.8125rem;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__legal a {
  color: var(--color-gray-500);
}

.footer__legal a:hover {
  color: var(--color-gray-300);
}

.footer__bottom .memberof {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.72rem;
  font-weight: 300;
  text-decoration: none;
  letter-spacing: 0.02rem;
  transition: color 0.2s ease;
}

.footer__bottom .memberof span {
  display: inline-flex;
  align-items: center;
  opacity: 0.65;
  transition: opacity 0.2s ease;
}

.footer__bottom .memberof:hover { color: var(--color-white); }
.footer__bottom .memberof:hover span { opacity: 1; }


/* --- Animations --- */
@keyframes float-slow {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(20px, -30px); }
  50% { transform: translate(-10px, 20px); }
  75% { transform: translate(15px, 10px); }
}

@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* --- Cookie Consent (base layout in consent.js, colors here) --- */
.consent-banner {
  --consent-bg: rgba(15, 23, 42, 0.92);
  --consent-border: rgba(255, 255, 255, 0.08);
  --consent-text: var(--color-gray-300);
}


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

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

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

  .content-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  :root {
    --space-4xl: 3.5rem;
    --space-3xl: 2.5rem;
  }

  /* Mobile Navigation */
  .nav-toggle {
    display: block;
    z-index: 1002;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-xl);
    gap: var(--space-xs);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    overflow-y: auto;
    z-index: 1001;
  }

  .nav--open {
    transform: translateX(0);
  }

  .nav__link {
    font-size: 1.0625rem;
    padding: var(--space-md);
  }

  .nav__cta {
    margin-left: 0;
    margin-top: var(--space-md);
  }

  .nav__cta .btn {
    width: 100%;
    justify-content: center;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: var(--space-3xl) 0;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Steps */
  .steps {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

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

  /* Cards */
  .features-grid,
  .usecase-grid {
    grid-template-columns: 1fr;
  }

  /* Trust Bar */
  .trust-bar__inner {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }
}


/* --- Print --- */
@media print {
  .header,
  .consent-banner,
  .hero::before,
  .hero::after,
  .nav-toggle {
    display: none !important;
  }

  .hero {
    background: #1e293b !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .section {
    padding: 1rem 0;
  }
}


/* --- Accessibility --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

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

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