/* ============================================
   fixversichert.de — Stylesheet
   Brand: Allgemeines Gewerbeversicherungs-Portal
   Palette: Warm Orange + Slate Dark + Clean White
   Font: Inter (Headings + Body)
   ============================================ */

/* === CSS CUSTOM PROPERTIES === */
:root {
  /* Colors */
  --primary: #F59E0B;
  --primary-hover: #D97706;
  --primary-light: rgba(245, 158, 11, 0.1);
  --bg-dark: #111827;
  --bg-footer: #0F172A;
  --bg-white: #ffffff;
  --bg-light: #FEF3C7;
  --text: #374151;
  --text-heading: #111827;
  --text-light: #6B7280;
  --text-dark: #111827;
  --border: #E5E7EB;
  --success: #22c55e;
  --error: #ef4444;

  /* Typography */
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --content-width: 1200px;
  --section-padding: 64px;
  --radius: 8px;
}

/* === RESET & BASE === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
}

h4 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

/* === LAYOUT === */
.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 780px;
}

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

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

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

.section--dark h2,
.section--dark h3 {
  color: #ffffff;
}

/* === HEADER / NAVIGATION === */
.header {
  background: var(--bg-dark);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(245, 158, 11, 0.1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* CSS-based Logo */
.header__logo {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.header__logo:hover {
  text-decoration: none;
}

.logo__fix {
  color: var(--primary);
}

.logo__versichert {
  color: #ffffff;
}

/* Light logo variant (for footer or light backgrounds) */
.logo--light .logo__versichert {
  color: var(--text-heading);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 4px;
  padding: 0;
  margin: 0;
  align-items: center;
}

.nav__link {
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  text-decoration: none;
}

.nav__link:hover {
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  text-decoration: none;
}

.nav__link--active {
  color: var(--primary);
}

.nav__cta {
  background: var(--primary);
  color: #ffffff !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-body);
  margin-left: 8px;
  transition: background 0.2s;
  text-decoration: none;
}

.nav__cta:hover {
  background: var(--primary-hover);
  text-decoration: none;
}

/* === DROPDOWN NAVIGATION === */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-trigger {
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  cursor: pointer;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__dropdown-trigger::after {
  content: '\25BE';
  font-size: 0.7rem;
  opacity: 0.6;
  transition: transform 0.2s;
}

.nav__dropdown:hover .nav__dropdown-trigger,
.nav__dropdown-trigger:hover {
  background: rgba(255,255,255,0.1);
  color: #ffffff;
}

.nav__dropdown-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  padding: 24px;
  min-width: 280px;
  z-index: 200;
  border: 1px solid var(--border);
}

.nav__dropdown:hover .nav__dropdown-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.nav__dropdown-column {
  min-width: 180px;
}

.nav__dropdown-heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border);
}

.nav__dropdown-link {
  display: block;
  padding: 6px 0;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  text-decoration: none;
}

.nav__dropdown-link:hover {
  color: var(--primary);
  text-decoration: none;
}

.nav__dropdown-footer {
  grid-column: 1 / -1;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

.nav__dropdown-footer a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* === HERO SECTION === */
.hero {
  background: linear-gradient(135deg, #111827 0%, #1E293B 50%, #111827 100%);
  color: #ffffff;
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
}

/* Hero 2-column grid layout */
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.hero__image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.hero h1 {
  color: #ffffff;
  font-size: 2.6rem;
  max-width: 700px;
}

.hero__subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.85);
}

.hero__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.hero__bullets li {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  padding-left: 1.6em;
  position: relative;
  color: rgba(255,255,255,0.9);
}

.hero__bullets li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.hero__trust {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.hero__trust strong {
  color: var(--primary);
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  font-family: var(--font-body);
  text-align: center;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.1s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--primary);
  color: #ffffff;
}

.btn--primary:hover {
  background: var(--primary-hover);
  color: #ffffff;
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn--outline:hover {
  background: var(--primary);
  color: #ffffff;
}

.btn--white {
  background: #ffffff;
  color: var(--bg-dark);
}

.btn--white:hover {
  background: #f0f0f0;
  color: var(--bg-dark);
}

.btn--large,
.btn--lg {
  padding: 16px 40px;
  font-size: 18px;
}

/* === CARDS === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.1);
  transform: translateY(-2px);
}

.card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.95rem;
}

.card--highlight {
  border-left: 4px solid var(--primary);
}

.card__price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0.8rem 0;
}

/* Product card variant */
.product-card {
  border-left: 4px solid var(--primary);
}

.product-card__price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin: 1rem 0;
}

.product-card ul {
  margin-bottom: 1.5rem;
}

.product-card li {
  margin-bottom: 0.4rem;
}

/* === GRID HELPERS === */
.grid {
  display: grid;
  gap: 24px;
}

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

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

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

/* === TABLES === */
.table-wrapper,
.table-responsive {
  overflow-x: auto;
  margin: 1.5rem 0;
}

table,
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

thead {
  background: var(--bg-light);
}

th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  font-weight: 700;
  color: var(--text-heading);
  white-space: nowrap;
}

tbody tr:hover {
  background: rgba(245, 158, 11, 0.04);
}

/* === STEPS / PROCESS === */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}

.step {
  text-align: center;
  padding: 24px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: 1rem;
}

.step h3 {
  margin-bottom: 0.5rem;
}

/* === FAQ / ACCORDION === */
.faq-list {
  max-width: 800px;
}

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-heading);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--primary);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-question::after {
  content: '\2212';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
}

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

/* === TESTIMONIALS === */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}

.testimonial__stars {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.testimonial blockquote {
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.testimonial__author {
  font-size: 0.85rem;
  color: var(--text-dark);
}

/* === RECHNER (Vergleichsrechner Widget) === */
.rechner-section {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
}
.rechner-section #ensurance_view_root {
  width: 100%;
  min-height: 600px;
}
.rechner-wrapper {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 0;
}

/* === CTA BANNER === */
.cta-banner,
.cta-section {
  background: linear-gradient(135deg, #1E293B 0%, #111827 100%);
  color: #ffffff;
  text-align: center;
  padding: 56px 24px;
}

.cta-banner h2,
.cta-section h2 {
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.cta-banner p,
.cta-section p {
  max-width: 600px;
  margin: 0 auto 1.5rem;
  opacity: 0.9;
}

/* === BREADCRUMB === */
.breadcrumb {
  padding: 16px 0 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: #ffffff;
}

.breadcrumb span {
  margin: 0 6px;
  opacity: 0.5;
}

/* Breadcrumb on light pages */
.section .breadcrumb {
  color: var(--text);
  padding: 0 0 16px;
}

.section .breadcrumb a {
  color: var(--text);
}

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

/* === ARTICLE CONTENT === */
.article {
  max-width: 780px;
  margin: 0 auto;
}

.article h2 {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.article h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.article h3 {
  margin-top: 1.5rem;
}

.article ul, .article ol {
  margin-bottom: 1rem;
}

.article li {
  margin-bottom: 0.4rem;
}

.article blockquote {
  border-left: 4px solid var(--primary);
  padding: 16px 24px;
  margin: 1.5rem 0;
  background: var(--primary-light);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Key facts box */
.key-facts {
  background: var(--bg-light);
  border-left: 4px solid var(--primary);
  padding: 24px 28px;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
}

.key-facts h3 {
  margin-top: 0;
}

.key-facts ul {
  margin-bottom: 0;
}

/* Tip box */
.tip-box {
  background: rgba(34, 197, 94, 0.08);
  border-left: 4px solid var(--success);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}

.tip-box strong {
  color: var(--text-heading);
}

/* Warning box */
.warning-box {
  background: rgba(239, 68, 68, 0.06);
  border-left: 4px solid var(--error);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}

/* Table of Contents */
.toc {
  background: var(--bg-light);
  padding: 24px 28px;
  border-radius: var(--radius);
  margin: 1.5rem 0 2rem;
}

.toc h3 {
  margin-top: 0;
  font-size: 1rem;
}

.toc ol {
  margin-bottom: 0;
}

.toc li {
  margin-bottom: 0.3rem;
}

.toc a {
  color: var(--text);
  font-size: 0.95rem;
}

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

/* Related Links */
.related-links {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 2rem 0;
}

.related-links h3 {
  margin-top: 0;
  font-size: 1rem;
  color: var(--text-heading);
}

.related-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-links li {
  margin-bottom: 0.4rem;
}

.related-links a {
  font-size: 0.95rem;
}

/* === CONTACT FORM === */
.contact-form .form-group {
  margin-bottom: 1.2rem;
}

.contact-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--text-heading);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

/* === FOOTER === */
.footer {
  background: var(--bg-footer);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer__brand {
  padding-right: 16px;
}

.footer__brand .header__logo {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.footer__brand p {
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer h4 {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.footer__links {
  list-style: none;
  padding: 0;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: #ffffff;
  text-decoration: none;
}

.footer__contact a {
  color: var(--primary);
}

.footer__contact .btn {
  color: #ffffff;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 0.8rem;
  text-align: center;
}

/* === TRUST BAR === */
.trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 24px 0;
}

.trust-bar__item {
  text-align: center;
}

.trust-bar__stars {
  font-size: 1.3rem;
  letter-spacing: 2px;
  margin-bottom: 4px;
  color: var(--primary);
}

/* === NICHE BRAND CARDS === */
.brand-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.brand-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.brand-card__name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.brand-card__industry {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* === UTILITIES === */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.lead { font-size: 1.1rem; line-height: 1.7; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 40px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero {
    padding: 48px 0 40px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero__image {
    display: none;
  }

  /* Mobile navigation */
  .nav__list {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    flex-direction: column;
    padding: 16px 24px;
    gap: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }

  .nav__list.active {
    display: flex;
  }

  .nav__link,
  .nav__dropdown-trigger {
    padding: 12px 0;
    display: block;
    width: 100%;
    text-align: left;
  }

  .nav__cta {
    margin-left: 0;
    margin-top: 8px;
    display: inline-block;
  }

  .nav__toggle {
    display: block;
  }

  /* Mobile dropdowns */
  .nav__dropdown-panel {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    padding: 8px 16px;
    margin-bottom: 8px;
  }

  .nav__dropdown:hover .nav__dropdown-panel {
    display: none;
  }

  .nav__dropdown.active .nav__dropdown-panel {
    display: block;
  }

  .nav__dropdown-link {
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    padding: 6px 0;
  }

  .nav__dropdown-heading {
    color: rgba(255,255,255,0.5);
    border-bottom-color: rgba(255,255,255,0.1);
  }

  .nav__dropdown-footer {
    border-top-color: rgba(255,255,255,0.1);
  }

  .nav__dropdown-footer a {
    color: var(--primary);
  }

  /* Grid adjustments */
  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

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

  th, td {
    padding: 8px 12px;
  }
}

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

  .hero h1 {
    font-size: 1.7rem;
  }

  .btn--large,
  .btn--lg {
    padding: 14px 28px;
    font-size: 16px;
  }

  .trust-bar {
    flex-direction: column;
    gap: 16px;
  }
}

/* === DESKTOP HERO GRID === */
@media (min-width: 992px) {
  .hero__grid {
    grid-template-columns: 55fr 45fr;
    gap: 3rem;
  }
}


/* ============================================
   HOMEPAGE REDESIGN — "Swiss Precision Meets Startup Energy"
   Scoped to body.home so subpages are unaffected
   Fonts: Sora (headings) + Inter (body)
   Palette: Amber/orange + navy + white + light grey + accent red
   ============================================ */

/* --- Keyframes --- */
@keyframes fv-countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fv-slideReveal {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fv-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3); }
  50% { box-shadow: 0 4px 30px rgba(245, 158, 11, 0.6); }
}

@keyframes fv-gridMove {
  0% { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}

@keyframes fv-fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fv-scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fv-slideLeft {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* --- Root overrides --- */
body.home {
  --primary: #f59e0b;
  --primary-hover: #d97706;
  --navy: #1e293b;
  --accent-red: #ef4444;
  --light-grey: #f8fafc;
}

/* --- Typography override --- */
body.home h1,
body.home h2 {
  font-family: 'Sora', 'Inter', sans-serif;
  letter-spacing: -0.02em;
  font-weight: 800;
}

body.home h3,
body.home h4 {
  font-family: 'Sora', 'Inter', sans-serif;
  letter-spacing: -0.01em;
  font-weight: 700;
}

/* --- Header clean navy --- */
body.home .header {
  background: var(--navy);
  border-bottom: 3px solid var(--primary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* --- HERO: Bold asymmetric with grid pattern --- */
body.home .hero {
  background: var(--navy);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}

body.home .hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-image:
    linear-gradient(rgba(245,158,11,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,158,11,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: fv-gridMove 20s linear infinite;
  pointer-events: none;
}

body.home .hero::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

body.home .hero .container {
  position: relative;
  z-index: 2;
}

body.home .hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #ffffff;
  animation: fv-countUp 0.7s ease-out;
}

body.home .hero h1 .fv-highlight {
  color: var(--primary);
  display: inline;
}

body.home .hero__subtitle {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.8);
  animation: fv-countUp 0.7s ease-out 0.1s both;
}

body.home .hero__bullets {
  animation: fv-countUp 0.7s ease-out 0.2s both;
}

body.home .hero__bullets li::before {
  color: var(--primary);
  content: '\2714';
}

body.home .hero__trust strong {
  color: var(--primary);
}

/* --- Stat badge in hero --- */
body.home .fv-stat-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 12px;
  padding: 12px 20px;
  margin-bottom: 1.5rem;
  animation: fv-scaleIn 0.6s ease-out 0.3s both;
}

body.home .fv-stat-badge__number {
  font-family: 'Sora', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

body.home .fv-stat-badge__label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

/* --- Buttons with pulse --- */
body.home .hero .btn--primary {
  background: var(--primary);
  color: var(--navy);
  font-weight: 800;
  border: none;
  animation: fv-pulse 3s ease-in-out infinite;
}

body.home .hero .btn--primary:hover {
  background: var(--primary-hover);
  color: var(--navy);
  transform: translateY(-2px);
}

body.home .btn--outline {
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 700;
}

body.home .btn--outline:hover {
  background: var(--primary);
  color: var(--navy);
  border-color: var(--primary);
}

/* --- Cards geometric clean --- */
body.home .card {
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

body.home .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

body.home .card:hover::before {
  transform: scaleX(1);
}

body.home .card:hover {
  box-shadow: 0 8px 30px rgba(30, 41, 59, 0.1);
  transform: translateY(-4px);
}

/* --- Product cards --- */
body.home .product-card {
  border-left: 4px solid var(--primary);
  border-radius: 12px;
}

body.home .product-card__price {
  color: var(--primary);
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
}

/* --- Steps with navy circles --- */
body.home .step::before {
  background: var(--navy);
  color: var(--primary);
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  border: 2px solid var(--primary);
}

/* --- Section alt with warm grey --- */
body.home .section--alt {
  background: linear-gradient(180deg, #fffbeb, #fef9ee);
}

/* --- Brand cards --- */
body.home .brand-card {
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

body.home .brand-card:hover {
  box-shadow: 0 12px 40px rgba(30, 41, 59, 0.12);
  transform: translateY(-5px);
}

/* --- Testimonials --- */
body.home .testimonial {
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

body.home .testimonial__stars {
  color: var(--primary);
}

/* --- CTA Banner --- */
body.home .cta-banner {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

body.home .cta-banner::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-image:
    linear-gradient(rgba(245,158,11,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,158,11,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

body.home .cta-banner .container {
  position: relative;
  z-index: 1;
}

body.home .cta-banner h2 {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
}

/* --- FAQ --- */
body.home .faq-question {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
}

body.home .faq-question::after {
  color: var(--primary);
}

/* --- Footer --- */
body.home .footer {
  background: #0f172a;
  border-top: 3px solid var(--primary);
}

/* --- Trust bar --- */
body.home .trust-bar__stars {
  color: var(--primary) !important;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  body.home .hero h1 {
    font-size: 2.4rem;
  }
  body.home .hero {
    padding: 56px 0 48px;
  }
  body.home .fv-stat-badge__number {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  body.home .hero h1 {
    font-size: 1.9rem;
  }
}
