/* =============================================================
   HanseMerkur Tierversicherung — Stylesheet
   Architecture: Design Tokens → Reset → Utilities → Components
   ============================================================= */

/* ---------------------------------------------------------------
   1. DESIGN TOKENS
--------------------------------------------------------------- */
:root {
  /* Brand colors — HanseMerkur */
  --c-green:        #00a075;
  --c-green-dark:   #005e52;
  --c-green-dim:    #003d2d;
  --c-green-light:  #edf6f2;
  --c-green-pale:   #f5fbf9;
  --c-orange:       #E8510A;
  --c-orange-dark:  #c44008;

  /* Neutrals */
  --c-ink:          #111827;
  --c-body:         #374151;
  --c-muted:        #6b7280;
  --c-border:       #e5e7eb;
  --c-bg:           #f9fafb;
  --c-white:        #ffffff;
  --c-dark:         #0f172a;

  /* Typography */
  --font:           Arial, sans-serif;
  --fs-xs:          0.75rem;
  --fs-sm:          0.875rem;
  --fs-base:        1rem;
  --fs-lg:          1.125rem;
  --fs-xl:          1.25rem;
  --fs-2xl:         1.5rem;
  --fs-3xl:         1.875rem;
  --fs-4xl:         2.25rem;
  --fs-hero:        clamp(2rem, 5vw, 3rem);

  /* Spacing scale */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

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

  /* Shadows */
  --shadow-xs: 0 1px 2px rgb(0 0 0 / .06);
  --shadow-sm: 0 1px 3px rgb(0 0 0 / .10), 0 1px 2px rgb(0 0 0 / .06);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / .10), 0 2px 4px -2px rgb(0 0 0 / .10);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .10), 0 4px 6px -4px rgb(0 0 0 / .10);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / .10), 0 8px 10px -6px rgb(0 0 0 / .10);

  /* Transitions */
  --ease:      cubic-bezier(.4, 0, .2, 1);
  --t-fast:    150ms var(--ease);
  --t-base:    200ms var(--ease);
  --t-slow:    300ms var(--ease);

  /* Layout */
  --nav-h:     68px;
  --max-w:     1200px;
}


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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + var(--sp-4));
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--c-body);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}

/* Offset body bottom for mobile sticky bar */
@media (max-width: 767px) { body { padding-bottom: 60px; } }

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }


/* ---------------------------------------------------------------
   3. UTILITIES
--------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}
@media (min-width: 640px)  { .container { padding-inline: var(--sp-8);  } }
@media (min-width: 1024px) { .container { padding-inline: var(--sp-10); } }

/* Section headings */
.section-heading {
  font-size: var(--fs-3xl);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-ink);
  text-align: center;
  margin-bottom: var(--sp-4);
}
.section-heading--left { text-align: left; }

.section-sub {
  font-size: var(--fs-lg);
  color: var(--c-muted);
  text-align: center;
  margin-bottom: var(--sp-12);
}

/* Pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  white-space: nowrap;
}
.pill--glass {
  background: rgba(255 255 255 / .15);
  border: 1px solid rgba(255 255 255 / .3);
  color: white;
  backdrop-filter: blur(6px);
}
.pill--dim {
  background: rgba(255 255 255 / .08);
  border: 1px solid rgba(255 255 255 / .15);
  color: rgba(255 255 255 / .75);
}


/* ---------------------------------------------------------------
   4. BUTTONS
--------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: .625rem 1.25rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1;
  border-radius: var(--r-md);
  border: 2px solid transparent;
  transition:
    background var(--t-base),
    border-color var(--t-base),
    color var(--t-base),
    transform var(--t-fast),
    box-shadow var(--t-fast);
  white-space: normal;
  text-align: center;
}
.btn:focus-visible {
  outline: 3px solid var(--c-green);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--c-green);
  color: white;
  border-color: var(--c-green);
}
.btn--primary:hover {
  background: var(--c-green-dark);
  border-color: var(--c-green-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: var(--c-orange);
  color: white;
  border-color: var(--c-orange);
}
.btn--outline:hover {
  background: var(--c-orange-dark);
  border-color: var(--c-orange-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: rgba(255 255 255 / .15);
  color: white;
  border-color: rgba(255 255 255 / .5);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover {
  background: rgba(255 255 255 / .25);
  border-color: white;
}

.btn--lg {
  padding: .875rem 1.75rem;
  font-size: var(--fs-base);
  border-radius: var(--r-lg);
}
.btn--sm {
  padding: .45rem .9rem;
  font-size: var(--fs-xs);
  border-radius: var(--r-sm);
}
.btn--block { width: 100%; }


/* ---------------------------------------------------------------
   5. HEADER / NAV
--------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--t-base);
  overflow: visible;
}
.header.is-scrolled { box-shadow: var(--shadow-md); }

/* ── Top bar (Row 1 — desktop only) ── */
.topbar { display: none; }

@media (min-width: 768px) {
  .topbar {
    display: block;
    background: var(--c-green-light);
    border-bottom: 1px solid var(--c-border);
  }
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  gap: var(--sp-4);
}

.topbar__contact {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}

.topbar__contact-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--c-body);
  transition: color var(--t-fast);
}
.topbar__contact-item:hover { color: var(--c-green); }


.topbar__nav {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.825rem;
  font-weight: 600;
}
.topbar__nav a {
  color: var(--c-body);
  transition: color var(--t-fast);
}
.topbar__nav a:hover { color: var(--c-green); }
.topbar__sep {
  color: var(--c-muted);
  user-select: none;
}
.topbar__stars {
  color: #f59e0b;
  letter-spacing: 2px;
  line-height: 1;
  user-select: none;
  padding-right: var(--sp-2);
}

/* ── Main nav (Row 2) ── */
.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  height: var(--nav-h);
  overflow: visible;
}

/* Logo — absolut zentriert in der Nav */
.nav__logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
}

.nav__logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}
@media (max-width: 480px) {
  .nav__logo-img { height: 36px; }
}

/* Hund | Katze nav links (left side of main nav, desktop only) */
.nav__links {
  display: none;
  align-items: center;
  gap: var(--sp-1);
  flex-shrink: 0;
}
@media (min-width: 768px) { .nav__links { display: flex; } }

.nav__link {
  font-size: 0.963rem;
  font-weight: 600;
  color: var(--c-body);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-md);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__link:hover {
  color: var(--c-green);
  background: var(--c-green-light);
}
.nav__links-sep {
  color: var(--c-border);
  font-size: var(--fs-sm);
  user-select: none;
  padding-inline: var(--sp-1);
}

/* Contact links — now in topbar, hidden in main nav */
.nav__contact { display: none !important; }

.nav__contact-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-body);
  transition: color var(--t-fast);
}
.nav__contact-item:hover { color: var(--c-green); }

/* Action buttons */
.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.nav__cta-secondary { display: none; }
@media (min-width: 960px) { .nav__cta-secondary { display: inline-flex; } }

/* Hide the nav primary CTA on mobile — sticky bar handles it */
.nav__actions .btn--primary { display: none; }
@media (min-width: 768px) { .nav__actions .btn--primary { display: inline-flex; } }

/* Hamburger */
.nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 7px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast);
}
.nav__burger:hover { border-color: var(--c-green); }
.nav__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-body);
  border-radius: 2px;
  transition: all var(--t-base);
  transform-origin: center;
}
/* Burger → X when open */
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 768px) { .nav__burger { display: none; } }

/* Mobile menu */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--c-border);
  background: var(--c-white);
  animation: slideDown var(--t-slow) both;
}
.mobile-menu.is-open { display: block; }

.mobile-menu__inner {
  padding-block: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.mobile-menu__buttons {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--c-border);
}
.mobile-menu__links a {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-body);
}
.mobile-menu__links a:hover { color: var(--c-green); }

.mobile-menu__nav {
  display: flex;
  gap: var(--sp-3);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--c-border);
}
.mobile-menu__nav-link {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--c-ink);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
  flex: 1;
  text-align: center;
  transition: background var(--t-fast), color var(--t-fast);
}
.mobile-menu__nav-link:hover {
  background: var(--c-green-light);
  color: var(--c-green);
  border-color: var(--c-green);
}


/* ---------------------------------------------------------------
   6. HERO
--------------------------------------------------------------- */

/* ── Desktop: image fills section, box floats right ── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: visible;
}

/* Full-bleed background image */
.hero__img-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .08);
}

/* Layout container: two-row column layout */
.hero__layout {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  padding-block: var(--sp-16) var(--sp-10);
  width: 100%;
  min-height: inherit;
}

/* Top row: green box pushed right */
.hero__top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex: 1;
  padding-bottom: var(--sp-4);
}

/* Green content box */
.hero__box {
  background: rgba(0, 111, 81, .92);
  border-radius: 12px;
  padding: 40px;
  max-width: 560px;
  width: 100%;
  backdrop-filter: blur(2px);
}

/* Agent card — vertical / business card style */
.hero__agent {
  background: rgba(0, 80, 55, .94);
  border-radius: 14px;
  padding: 24px 28px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255 255 255 / .15);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  width: 220px;
  flex-shrink: 0;
}
.hero__agent-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255 255 255 / .18);
  border: 2px solid rgba(255 255 255 / .35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 12px;
}
.hero__agent-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255 255 255 / .6);
  margin-bottom: 4px;
}
.hero__agent-name {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  line-height: 1.2;
}
.hero__agent-divider {
  border: none;
  border-top: 1px solid rgba(255 255 255 / .2);
  width: 100%;
  margin: 14px 0;
}
.hero__agent-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  width: 100%;
}
.hero__agent-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255 255 255 / .92);
  transition: color var(--t-fast);
}
.hero__agent-link svg { flex-shrink: 0; opacity: .8; }
.hero__agent-link:hover { color: white; }
.hero__agent-link:hover svg { opacity: 1; }

.hero__heading {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  color: white;
  margin-bottom: var(--sp-4);
}

.hero__lead {
  font-size: var(--fs-base);
  color: rgba(255 255 255 / .88);
  line-height: 1.65;
  margin-bottom: var(--sp-5);
}

/* Checklist */
.hero__checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}
.hero__checklist li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: white;
}
.hero__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: rgba(255 255 255 / .25);
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 700;
  color: white;
}

/* CTA buttons inside box */
.hero__cta-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

/* White filled button (primary action) */
.btn--hero-white {
  background: white;
  color: var(--c-green);
  border: 2px solid white;
  font-weight: 700;
}
.btn--hero-white:hover {
  background: var(--c-green-light);
  border-color: var(--c-green-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Orange filled button (secondary action) */
.btn--hero-orange {
  background: var(--c-orange);
  color: white;
  border: 2px solid var(--c-orange);
  font-weight: 700;
}
.btn--hero-orange:hover {
  background: var(--c-orange-dark);
  border-color: var(--c-orange-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Bottom row: badges left, agent card right (aligns under green box) */
.hero__bottom {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 16px;
}
.hero__bottom .hero__agent {
  margin-left: auto;
  max-width: 560px;
  width: 100%;
  flex-shrink: 0;
}

/* Award badges — horizontal row */
.hero__badges {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 12px;
}
.hero__badge {
  height: 150px;
  width: auto;
  display: block;
  border-radius: 8px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.3));
  transition: transform 0.2s ease, filter 0.2s ease;
}
.hero__badge:hover {
  transform: translateY(-4px);
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.4));
}

/* ── Mobile: stacked (image top, box full-width below) ── */
@media (max-width: 767px) {
  .hero {
    flex-direction: column;
    min-height: auto;
    align-items: stretch;
  }
  .hero__img-wrap {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 4 / 3;
    flex-shrink: 0;
  }
  .hero__img {
    position: absolute;
    inset: 0;
  }
  .hero__overlay { display: none; }
  .hero__layout {
    position: static;
    justify-content: stretch;
    padding-block: 0;
  }
  .hero__box {
    max-width: 100%;
    border-radius: 0;
    padding: var(--sp-8) var(--sp-5);
  }
  .hero__cta-group .btn { width: 100%; text-align: center; }
  .hero__top { justify-content: stretch; }
  .hero__bottom { flex-direction: column; gap: 10px; padding: var(--sp-4) var(--sp-5); }
  .hero__badges { justify-content: center; gap: 8px; }
  .hero__badge { height: 80px; }
  .hero__bottom .hero__agent { margin-left: 0; max-width: 100%; padding: 16px 18px; }
  .hero__agent-icon { width: 50px; height: 50px; margin-bottom: 8px; }
  .hero__agent-name { font-size: 1rem; }
}


/* ---------------------------------------------------------------
   6b. HUNDEHAFTPFLICHT — Bundesland-Tabelle
--------------------------------------------------------------- */
.haftpflicht-bl {
  padding-block: var(--sp-20);
  background: var(--c-white);
}
.haftpflicht-bl__table th:first-child,
.haftpflicht-bl__table td:first-child { min-width: 200px; }

.bl-pflicht {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.bl-pflicht--ja          { background: #dcfce7; color: #166534; }
.bl-pflicht--gefaehrlich { background: #fef9c3; color: #854d0e; }
.bl-pflicht--empfohlen   { background: #dbeafe; color: #1e40af; }

/* ---------------------------------------------------------------
   7. PRODUCTS
--------------------------------------------------------------- */
.products {
  padding-block: var(--sp-20);
  background: var(--c-bg);
}

.products__group { margin-bottom: var(--sp-16); }
.products__group:last-child { margin-bottom: 0; }

.products__group-label {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: var(--sp-8);
}
.products__group-label span { font-size: 1.6rem; }

/* Grid */
.product-grid {
  display: grid;
  gap: var(--sp-6);
}
.product-grid--3 { grid-template-columns: 1fr; }
.product-grid--2 { grid-template-columns: 1fr; }

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

/* Card */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-card__media { position: relative; overflow: hidden; }

.product-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.product-card:hover .product-card__img { transform: scale(1.04); }

.product-card__price-tag {
  position: absolute;
  bottom: var(--sp-3);
  left: var(--sp-3);
  background: var(--c-green);
  color: white;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.6;
}
.product-card__price-tag strong { font-size: var(--fs-sm); }

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--sp-5);
}

.product-card__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: var(--sp-2);
}

.product-card__text {
  flex: 1;
  font-size: var(--fs-sm);
  color: var(--c-muted);
  line-height: 1.65;
  margin-bottom: var(--sp-5);
}

.product-card__actions {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}


/* ---------------------------------------------------------------
   8. HOW-TO
--------------------------------------------------------------- */
.howto {
  padding-block: var(--sp-20);
  background: var(--c-white);
}

.howto__grid {
  display: grid;
  gap: var(--sp-12);
  align-items: center;
}
@media (min-width: 1024px) {
  .howto__grid { grid-template-columns: 1fr 1fr; }
}

.howto__content p {
  font-size: var(--fs-base);
  color: var(--c-body);
  line-height: 1.7;
  margin-bottom: var(--sp-8);
}

/* Steps */
.steps {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  margin-bottom: var(--sp-8);
  counter-reset: step;
}

.steps__item {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}

.steps__number {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--c-green);
  color: white;
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1;
}

.steps__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.steps__text strong {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--c-ink);
}
.steps__text span {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  line-height: 1.5;
}

.howto__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.howto__visual {
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.howto__img { width: 100%; display: block; }


/* ---------------------------------------------------------------
   9. SERVICE
--------------------------------------------------------------- */
.service {
  padding-block: var(--sp-20);
  background: var(--c-green-pale);
}

.service-grid {
  display: grid;
  gap: var(--sp-5);
}
@media (min-width: 640px)  { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  background: var(--c-white);
  border: 1px solid rgba(0, 165, 68, .12);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  box-shadow: var(--shadow-xs);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: var(--c-green-light);
  color: var(--c-green);
  border-radius: var(--r-lg);
  margin-bottom: var(--sp-4);
}

.service-card__title {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.35;
  margin-bottom: var(--sp-2);
}

.service-card__text {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  line-height: 1.65;
}


/* ---------------------------------------------------------------
   10. FAQ
--------------------------------------------------------------- */
.faq {
  padding-block: var(--sp-20);
  background: var(--c-white);
}

.faq__wrap { max-width: 780px; }

.faq__list {
  margin-top: var(--sp-10);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.faq__item {
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t-fast);
}
.faq__item:has(.faq__btn[aria-expanded="true"]) {
  border-color: var(--c-green);
}

.faq__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  width: 100%;
  text-align: left;
  padding: var(--sp-5) var(--sp-6);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--c-ink);
  background: var(--c-white);
  transition: background var(--t-fast), color var(--t-fast);
}
.faq__btn:hover {
  background: var(--c-bg);
  color: var(--c-green);
}
.faq__btn[aria-expanded="true"] {
  background: var(--c-green-light);
  color: var(--c-green-dark);
}
.faq__btn:focus-visible {
  outline: 2px solid var(--c-green);
  outline-offset: -2px;
}

.faq__chevron {
  flex-shrink: 0;
  color: var(--c-green);
  transition: transform var(--t-base);
}
.faq__btn[aria-expanded="true"] .faq__chevron { transform: rotate(180deg); }

.faq__answer {
  background: var(--c-green-light);
  padding: 0 var(--sp-6) var(--sp-5);
}
.faq__answer:not([hidden]) {
  animation: fadeSlide var(--t-base) both;
}
.faq__answer p {
  font-size: var(--fs-sm);
  color: var(--c-body);
  line-height: 1.7;
}


/* ---------------------------------------------------------------
   11. CONTACT / CTA
--------------------------------------------------------------- */
.contact {
  padding-block: var(--sp-20);
  background: var(--c-dark);
  color: white;
}

.contact__grid {
  display: grid;
  gap: var(--sp-12);
  align-items: start;
}
@media (min-width: 1024px) {
  .contact__grid { grid-template-columns: 1fr 1fr; }
}

.contact__heading {
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: white;
  margin-bottom: var(--sp-4);
}

.contact__lead {
  font-size: var(--fs-lg);
  color: rgba(255 255 255 / .7);
  line-height: 1.7;
  margin-bottom: var(--sp-8);
}

/* Agent / Ansprechpartner Card */
.agent-card {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  background: linear-gradient(135deg, var(--c-green) 0%, var(--c-green-dark) 100%);
  border: 1px solid rgba(255 255 255 / .12);
  border-radius: var(--r-xl);
  padding: var(--sp-5) var(--sp-6);
  margin-bottom: var(--sp-6);
  box-shadow: 0 4px 20px rgba(0 0 0 / .25);
}

.agent-card__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: rgba(255 255 255 / .12);
  border: 1.5px solid rgba(255 255 255 / .2);
  border-radius: 50%;
  color: white;
}

.agent-card__body {
  flex: 1;
  min-width: 0;
}

.agent-card__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255 255 255 / .7);
  margin-bottom: 2px;
}

.agent-card__name {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: white;
  margin-bottom: var(--sp-3);
}

.agent-card__contacts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.agent-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: rgba(255 255 255 / .9);
  font-weight: 500;
  transition: color var(--t-fast);
  text-decoration: none;
}
.agent-card__link:hover { color: white; }

.contact__channels {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.contact__channel {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  transition: opacity var(--t-fast);
}
.contact__channel:hover { opacity: .8; }

.contact__channel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255 255 255 / .08);
  border: 1px solid rgba(255 255 255 / .15);
  border-radius: var(--r-lg);
  color: white;
  flex-shrink: 0;
}

.contact__channel-label {
  display: block;
  font-size: var(--fs-xs);
  color: rgba(255 255 255 / .55);
  margin-bottom: 2px;
}
.contact__channel-value {
  display: block;
  font-size: var(--fs-lg);
  font-weight: 700;
  color: white;
}

/* Form */
.contact-form {
  background: var(--c-white);
  border-radius: var(--r-2xl);
  padding: var(--sp-8);
  box-shadow: var(--shadow-xl);
}

.contact-form__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: var(--sp-6);
}

.field { margin-bottom: var(--sp-4); }

.field__label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: var(--sp-2);
}

.field__optional {
  font-weight: 400;
  color: var(--c-muted);
}

.field__input {
  width: 100%;
  padding: .6875rem var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--c-body);
  background: var(--c-bg);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.field__input::placeholder { color: var(--c-muted); }
.field__input:focus {
  border-color: var(--c-green);
  background: var(--c-white);
  box-shadow: 0 0 0 3px rgba(0, 165, 68, .14);
}
.field__input.is-invalid {
  border-color: #e40014;
  box-shadow: 0 0 0 3px rgba(228, 0, 20, .12);
}

.field__textarea {
  resize: vertical;
  min-height: 96px;
}

.contact-form__privacy {
  font-size: var(--fs-xs);
  color: var(--c-muted);
  text-align: center;
  margin-top: var(--sp-3);
}
.contact-form__privacy a {
  color: var(--c-green);
  text-decoration: underline;
}


/* ---------------------------------------------------------------
   12. CALLBACK SECTION
--------------------------------------------------------------- */
.callback-section {
  background: #f3f4f6;
  padding-block: var(--sp-16);
}

.callback__inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

.callback__photo {
  flex: 0 0 auto;
  width: 220px;
}

.callback__photo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  display: block;
}

.callback__center {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  min-width: 180px;
}

.callback__icon {
  width: 64px;
  height: 64px;
  background: var(--c-green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.callback__icon svg {
  width: 32px;
  height: 32px;
  color: var(--c-green-dark);
}

.callback__heading {
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--c-ink);
  line-height: 1.2;
  margin: 0;
}

.callback__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.callback__text {
  font-size: var(--fs-lg);
  color: var(--c-body);
  line-height: 1.6;
  margin: 0;
  max-width: 420px;
}


/* ---------------------------------------------------------------
   13. FOOTER
--------------------------------------------------------------- */
.footer {
  background: var(--c-green-dark);
  color: rgba(255 255 255 / .85);
}

/* ── USP row (top) ── */
.footer__usp {
  padding: 48px 0 40px;
}
.footer__usp-inner {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.footer__usp-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
  min-width: 200px;
  max-width: 280px;
}
.footer__usp-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255 255 255 / .12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.footer__usp-title {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 4px;
}
.footer__usp-sub {
  font-size: 0.82rem;
  color: rgba(255 255 255 / .65);
  line-height: 1.4;
}

/* ── Divider ── */
.footer__divider {
  border: none;
  border-top: 1px solid rgba(255 255 255 / .15);
  margin: 0;
}

/* ── Contact row (middle) ── */
.footer__contact-row {
  padding: 28px 0;
}
.footer__contact-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.footer__contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255 255 255 / .9);
  padding: 8px 28px;
  transition: color var(--t-fast);
  text-decoration: none;
}
.footer__contact-item:hover { color: white; }
.footer__contact-sep {
  color: rgba(255 255 255 / .25);
  font-size: 1.2rem;
  font-weight: 300;
  user-select: none;
}

/* ── Legal row (bottom) ── */
.footer__legal {
  padding: 20px 0;
}
.footer__legal-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer__legal-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer__legal-links a {
  font-size: 0.82rem;
  color: rgba(255 255 255 / .6);
  transition: color var(--t-fast);
}
.footer__legal-links a:hover { color: white; }
.footer__legal-links span {
  color: rgba(255 255 255 / .25);
  font-size: 0.82rem;
}
.footer__copy {
  font-size: 0.8rem;
  color: rgba(255 255 255 / .4);
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .footer__usp-inner { gap: 28px; }
  .footer__usp-item { max-width: 100%; }
  .footer__contact-inner { flex-direction: column; gap: 4px; }
  .footer__contact-sep { display: none; }
  .footer__contact-item { padding: 6px 0; }
}

@media (max-width: 767px) {
  .callback-section { padding-block: var(--sp-12); }
  .callback__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
  }
  .callback__photo { width: 160px; }
  .callback__photo img { height: 200px; }
  .callback__center { min-width: unset; }
  .callback__right { align-items: center; }
  .callback__text { max-width: 100%; }
}


/* ---------------------------------------------------------------
   13. LEGAL CONTENT PAGES (Impressum / Datenschutz)
--------------------------------------------------------------- */
.legal-page {
  background: var(--c-white);
  padding: var(--sp-16) 0 var(--sp-20);
}
.legal-content {
  max-width: 800px;
  margin-inline: auto;
}
.legal-content h1 {
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--c-ink);
  margin-bottom: var(--sp-8);
  padding-bottom: var(--sp-6);
  border-bottom: 2px solid var(--c-green);
}
.legal-content h2 {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--c-ink);
  margin-top: var(--sp-10);
  margin-bottom: var(--sp-4);
}
.legal-content p {
  color: var(--c-body);
  line-height: 1.75;
  margin-bottom: var(--sp-4);
}
.legal-content ul {
  list-style: disc;
  padding-left: var(--sp-6);
  margin-bottom: var(--sp-4);
}
.legal-content ul li {
  color: var(--c-body);
  line-height: 1.75;
  margin-bottom: var(--sp-2);
}
.legal-content a {
  color: var(--c-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-content a:hover { color: var(--c-green-dark); }
.legal-content hr {
  border: none;
  border-top: 1px solid var(--c-border);
  margin: var(--sp-8) 0;
}
.legal-content address {
  font-style: normal;
  line-height: 1.75;
  color: var(--c-body);
  margin-bottom: var(--sp-4);
}


/* ---------------------------------------------------------------
   14. MOBILE STICKY CTA BAR
--------------------------------------------------------------- */
.sticky-cta {
  display: none;
}
@media (max-width: 767px) {
  .sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 150;
    background: var(--c-white);
    border-top: 1px solid var(--c-border);
    box-shadow: 0 -4px 16px rgb(0 0 0 / .10);
  }
}

.sticky-cta__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-ink);
  transition: background var(--t-fast);
}
.sticky-cta__btn:hover { background: var(--c-bg); }

.sticky-cta__btn--green {
  background: var(--c-orange);
  color: white;
}
.sticky-cta__btn--green:hover { background: var(--c-orange-dark); }

.sticky-cta__btn--orange {
  background: var(--c-orange);
  color: white;
}
.sticky-cta__btn--orange:hover { background: var(--c-orange-dark); }


/* ---------------------------------------------------------------
   FAB – Floating Contact Buttons (bottom-right)
--------------------------------------------------------------- */
.fab-group {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* On mobile: show above the sticky-cta bar */
@media (max-width: 767px) {
  .fab-group { bottom: calc(60px + 1rem); }
}

.fab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--r-full);
  box-shadow: var(--shadow-lg);
  transition:
    transform var(--t-fast),
    box-shadow var(--t-fast);
  color: white;
}
.fab:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.fab--phone {
  background: var(--c-green);
}
.fab--phone:hover {
  background: var(--c-green-dark);
}

.fab--whatsapp {
  background: #25D366;
}
.fab--whatsapp:hover {
  background: #1da851;
}


/* ---------------------------------------------------------------
   14. COMPARISON TABLE
--------------------------------------------------------------- */
.comparison {
  padding-block: var(--sp-20);
  background: var(--c-white);
  border-top: 1px solid var(--c-border);
}

.comp-scroll-hint {
  display: none;
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--c-muted);
  margin-bottom: var(--sp-4);
  padding: var(--sp-2) var(--sp-5);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-full);
  width: fit-content;
  margin-inline: auto;
}
@media (max-width: 1099px) {
  .comp-scroll-hint { display: block; }
}

.comp-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
}

.comp-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  background: var(--c-white);
}

.comp-table thead tr {
  border-bottom: 2px solid var(--c-border);
}
.comp-table thead th {
  padding: var(--sp-4) var(--sp-3);
  text-align: center;
  background: var(--c-bg);
  font-weight: 600;
  vertical-align: bottom;
  white-space: nowrap;
}
.comp-table thead th:first-child {
  text-align: left;
  width: 260px;
  min-width: 200px;
  white-space: normal;
}

.comp-th-highlight {
  background: var(--c-orange) !important;
}

.comp-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.comp-head__type {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--c-muted);
}
.comp-head__name {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-ink);
}
.comp-th-highlight .comp-head__type,
.comp-th-highlight .comp-head__name {
  color: white;
}

.comp-section-row td {
  padding: 0;
  background: var(--c-ink);
}
.comp-section-btn {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  width: 100%;
  padding: var(--sp-3) var(--sp-5);
  background: none;
  border: none;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: white;
  cursor: pointer;
  text-align: left;
  transition: background var(--t-fast);
}
.comp-section-btn:hover { background: rgba(255 255 255 / .1); }
.comp-section-btn:focus-visible {
  outline: 2px solid white;
  outline-offset: -2px;
}

.comp-section-arrow {
  display: inline-block;
  font-size: 1rem;
  line-height: 1;
  transition: transform var(--t-base);
}
.comp-section-btn[aria-expanded="true"] .comp-section-arrow {
  transform: rotate(90deg);
}

.comp-row td {
  padding: var(--sp-3);
  border-bottom: 1px solid var(--c-border);
  text-align: center;
  color: var(--c-body);
  vertical-align: middle;
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.comp-row td:first-child {
  text-align: left;
  color: var(--c-ink);
  font-weight: 500;
  font-size: var(--fs-xs);
  background: var(--c-white);
  position: sticky;
  left: 0;
  z-index: 1;
  box-shadow: 2px 0 6px rgba(0 0 0 / .07);
  padding-inline: var(--sp-4);
  max-width: 260px;
}
.comp-row--alt td { background: var(--c-bg); }
.comp-row--alt td:first-child { background: var(--c-bg); }

.comp-td-highlight {
  background: rgba(232, 81, 10, 0.07) !important;
  font-weight: 600;
}
.comp-row--alt .comp-td-highlight {
  background: rgba(232, 81, 10, 0.13) !important;
}

.comp-check {
  color: var(--c-green);
  font-size: 1.1rem;
  font-weight: 700;
}
.comp-cross {
  color: #d1d5db;
  font-size: 1.1rem;
  font-weight: 700;
}

.comp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
  margin-top: var(--sp-8);
}

.comp-footnotes {
  margin-top: var(--sp-5);
  padding: var(--sp-4) var(--sp-5);
  background: var(--c-bg);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
}
.comp-footnotes p {
  font-size: var(--fs-xs);
  color: var(--c-muted);
  line-height: 1.7;
}

@media (max-width: 639px) {
  .comparison { padding-block: var(--sp-12); }
}


/* ---------------------------------------------------------------
   15. ANIMATIONS
--------------------------------------------------------------- */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ---------------------------------------------------------------
   15. ACCESSIBILITY & REDUCED MOTION
--------------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--c-green);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Skip-to-content link (hidden until focused) */
.skip-link {
  position: absolute;
  top: -40px;
  left: var(--sp-4);
  background: var(--c-green);
  color: white;
  padding: var(--sp-2) var(--sp-4);
  border-radius: 0 0 var(--r-md) var(--r-md);
  font-size: var(--fs-sm);
  font-weight: 600;
  z-index: 999;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 0; }


/* ---------------------------------------------------------------
   16. RESPONSIVE OVERRIDES
--------------------------------------------------------------- */

/* Nav & sticky buttons always stay on one line */
.nav__actions .btn,
.nav__cta-secondary,
.sticky-cta__btn { white-space: nowrap; }


/* =============================================
   MOBILE  ≤ 639px
   ============================================= */
@media (max-width: 639px) {

  /* --- Section spacing --- */
  .products,
  .howto,
  .service,
  .faq,
  .contact { padding-block: var(--sp-12); }

  /* --- Section headings --- */
  .section-heading { font-size: var(--fs-2xl); }
  .section-sub {
    font-size: var(--fs-base);
    margin-bottom: var(--sp-8);
  }

  /* --- Hero (tablet tweaks handled by mobile block) --- */
  .hero__box { padding: 32px; }

  /* --- Products --- */
  .products__group-label { font-size: var(--fs-xl); }
  .product-card__actions {
    flex-direction: column;
    gap: var(--sp-2);
  }
  .product-card__actions .btn { width: 100%; }

  /* --- How-to --- */
  .howto__grid { gap: var(--sp-8); }
  .howto__actions {
    flex-direction: column;
    gap: var(--sp-3);
  }
  .howto__actions .btn { width: 100%; }

  /* --- Service grid: 1 column on very small screens --- */
  .service-grid { grid-template-columns: 1fr; }

  /* --- FAQ --- */
  .faq__btn {
    padding: var(--sp-4);
    font-size: var(--fs-sm);
  }
  .faq__answer { padding: 0 var(--sp-4) var(--sp-4); }

  /* --- Contact --- */
  .contact__heading { font-size: var(--fs-2xl); }
  .contact__lead { font-size: var(--fs-base); }
  .agent-card {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-3);
    padding: var(--sp-4);
  }
  .agent-card__icon { width: 46px; height: 46px; }
  .contact-form { padding: var(--sp-5); border-radius: var(--r-xl); }
  .contact-form__title { font-size: var(--fs-lg); margin-bottom: var(--sp-4); }

  /* --- Footer --- */
  .footer__inner { padding-block: var(--sp-10); gap: var(--sp-8); }
}


/* =============================================
   EXTRA SMALL PHONE  ≤ 374px
   ============================================= */
@media (max-width: 374px) {
  .section-heading { font-size: var(--fs-xl); }
  .contact-form { padding: var(--sp-4); }
  .agent-card { padding: var(--sp-3); }
  .faq__btn { padding: var(--sp-3); }
  .products, .howto, .service, .faq, .contact { padding-block: var(--sp-10); }
}


/* =============================================
   TABLET  640px – 1023px
   ============================================= */
@media (min-width: 640px) and (max-width: 1023px) {

  /* Section spacing slightly reduced */
  .products, .howto, .service, .faq, .contact { padding-block: var(--sp-16); }

  /* Hero: green box slightly narrower on mid-size screens */
  .hero__box { max-width: 460px; }
  .hero__bottom .hero__agent { max-width: 460px; }

  /* Product card buttons: stack on tablet too */
  .product-card__actions {
    flex-direction: column;
    gap: var(--sp-2);
  }
  .product-card__actions .btn { width: 100%; }

  /* How-to actions: wrap nicely */
  .howto__actions { flex-wrap: wrap; }
  .howto__actions .btn { flex: 1 1 200px; }

  /* Contact form padding */
  .contact-form { padding: var(--sp-6); }

  /* Footer 2-column is handled, just reduce gap */
  .footer__inner { gap: var(--sp-8); }
}


/* ================================================================
   COOKIE BANNER
   ================================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fff;
  border-top: 2px solid var(--c-green);
  box-shadow: 0 -4px 24px rgba(0,0,0,.12);
  padding: 1.25rem 1.5rem;
}

.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1 1 300px;
  font-size: .875rem;
  color: var(--c-text);
  line-height: 1.5;
}

.cookie-banner__text a {
  color: var(--c-green);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.cookie-banner__btn--accept {
  background: var(--c-green);
  color: #fff;
  border: 2px solid var(--c-green);
  padding: .6rem 1.4rem;
  border-radius: 6px;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, border-color .2s;
}

.cookie-banner__btn--accept:hover {
  background: var(--c-green-dark);
  border-color: var(--c-green-dark);
}

.cookie-banner__btn--decline {
  background: transparent;
  color: var(--c-text-muted);
  border: 2px solid #d1d5db;
  padding: .6rem 1.4rem;
  border-radius: 6px;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .2s, color .2s;
}

.cookie-banner__btn--decline:hover {
  border-color: #9ca3af;
  color: var(--c-text);
}
}
