/* =============================================================
   CLEVER Fliegengitter Systeme – Insektenschutz Farb-Theme
   insektenschutz-theme.css
   Primärfarbe: Terrakotta (Standardwert aus style.css, keine
   Überschreibung nötig). Prinzip wie bei Schulz-Dobrick: Farbe
   nur auf Buttons/Links/aktive Zustände beschränkt, alles andere
   (Eyebrow-Badges, Trust-Icons) bewusst neutral gehalten – das
   ergibt den kühleren, aufgeräumteren Gesamteindruck, ohne das
   Creme im Hintergrund zu verändern.
   ============================================================= */

/* Überschriftengrössen einheitlich für alle Insektenschutz-Seiten.
   H2 mit sitewide Rollenklasse (section-title--primary/standard/compact,
   siehe style.css) ausgenommen, damit diese Rollenklassen greifen. */
h2:not(.section-title--primary):not(.section-title--standard):not(.section-title--compact) { font-size: clamp(2rem, 1.55rem + 2.2vw, 2.85rem) !important; }
h3 { font-size: clamp(1.7rem, 1.35rem + 1.6vw, 2.25rem) !important; }
h4 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.75rem) !important; }

/* USP-Karten: kompaktere h3-Größe für 4-Spalten-Grid */
.usp-card h3 { font-size: clamp(0.95rem, 0.88rem + 0.35vw, 1.05rem) !important; }
.usp-card p  { font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem) !important; line-height: 1.65 !important; }

/* USP-Icons in Terrakotta */
.usp-card__icon { color: var(--c-primary) !important; }

/* Produkt-Karten: Titel schwarz, bei Hover Terrakotta */
.product-card__title { color: var(--c-ink) !important; font-size: clamp(1.1rem, 1rem + 0.6vw, 1.3rem) !important; }
.product-card[data-side="right"] .product-card__title { color: var(--c-ink) !important; }
.product-card:hover .product-card__title { color: var(--c-primary) !important; }

/* Produkt-Karten: Umrandung nur ums Bild, Text im freien Raum */
.product-card { border: none; border-radius: 0; overflow: visible; transition: transform 0.25s ease; }
.product-card__media { border: 1px solid rgba(0,0,0,.10); border-radius: 0; overflow: hidden; transition: box-shadow 0.25s ease; }
.product-card:hover { transform: translateY(-4px); }
.product-card:hover .product-card__media { box-shadow: 0 6px 24px rgba(0,0,0,.10); }

/* Hintergrundfarben: heller als Standard-Creme */
:root {
  --c-bg:      #FFFFFF;   /* reines Weiß */
  --c-bg-soft: #FFFFFF;   /* reines Weiß (Sektions-Wechsel) */
  --c-bg-mute: #F4F4F4;   /* vereinheitlicht mit style.css */
}

/* Schmale Kontaktleiste über der Menüleiste (Adresse, Öffnungszeiten,
   Region, E-Mail, Telefon) komplett entfernt – die Infos stehen
   ohnehin im Footer. */
.topbar {
  display: none;
}

/* Menüleiste: dunkler Hintergrund entfernt, helles Creme statt
   Anthrazit, Text auf Anthrazit umgestellt.
   Betrifft nur .site-header (Hauptnavigation), nicht das
   mobile Vollbild-Menü (.nav-mobile). */
.site-header {
  background: var(--c-surface);
  border-bottom: 2px solid var(--c-primary-100, #FACDB3);
}
.site-header.is-scrolled {
  background: var(--c-surface);
  border-bottom-color: var(--c-primary-100, #FACDB3);
  border-bottom-width: 2px;
}
.site-logo {
  color: var(--c-ink);
}
.nav-primary__link {
  color: var(--c-ink);
  font-weight: 700;
}
.header-cta__phone {
  color: var(--c-ink);
}
.nav-toggle {
  background: rgba(42,42,34,.08);
}
.nav-toggle:hover {
  background: rgba(42,42,34,.14);
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  background: var(--c-ink);
}

/* Footer: gleiche Logik wie Menüleiste. */
.site-footer {
  background: var(--c-bg-soft);
  color: var(--c-text);
  border-top: 1px solid var(--c-border);
}
.site-footer h4 {
  color: var(--c-ink);
}
.site-footer a {
  color: var(--c-text);
}
.site-footer a:hover {
  color: var(--c-primary-700);
  text-decoration: underline;
  transform: translateX(2px);
}
.footer-meta {
  color: var(--c-text-muted);
}
.footer-brand p {
  color: var(--c-text-muted);
}
.footer-social a {
  background: rgba(42,42,34,.08);
}
.footer-social a:hover {
  background: var(--c-primary);
}

/* Eyebrow-Badges und Trust-Icons: neutral statt farbig, damit
   Terrakotta wirklich nur bei Buttons/Links auffällt. */
.section-head__eyebrow {
  color: var(--c-ink-2);
  background: transparent !important;
  border: none !important;
  padding: 2px 7px !important;
  font-size: 15px !important;
}
.hero__eyebrow {
  color: var(--c-text-muted) !important;
  background: transparent !important;
  border: none !important;
  font-size: .9rem !important;
  font-weight: 400 !important;
}
.hero__eyebrow::before {
  background: var(--c-primary) !important;
  box-shadow: none;
}
/* Titel-Em: kein Orange in Insektenschutz-Heros */
.hero__title em {
  color: inherit !important;
  font-style: normal;
}
.trust-item__icon {
  background-color: var(--c-surface);
  color: var(--c-ink-2);
  border: 1px solid var(--c-border);
}

/* Hero-Layout wie bei Neher: zwei exakt gleich große Bereiche
   nebeneinander, Bild randabschließend bis zum rechten Viewport-
   Rand (kein Container, keine abgerundeten Ecken, kein Schatten). */
.hero--split {
  display: grid;
  grid-template-columns: 1fr;
  padding: 0;
  background: none;
  overflow: visible;
}
.hero--split::before {
  display: none;
}
@media (min-width: 992px) {
  .hero--split {
    grid-template-columns: 1fr 1fr;
    /* Zeilenhöhe explizit fest vorgegeben (statt min-height/stretch,
       das nicht zuverlässig griff) – angenähert an das Seitenverhältnis
       des Fotos (1475x1067, ≈1,38:1), damit cover beim Beschneiden
       oben/unten statt links/rechts greift und die Hände sichtbar bleiben.
       Höhe ggü. Vorgängerwert (560/46vw/780) um ~10-15% reduziert. */
    grid-template-rows: clamp(500px, 38vw, 650px);
    align-items: stretch;
  }
}
.hero--split .hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 6vw, 4.5rem);
  padding-top: clamp(3rem, 6vw, 5rem);
  min-width: 0;
}
.hero--split .hero__visual {
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: 360px;
  height: 100%;
  aspect-ratio: auto;
  overflow: hidden;
}
.hero--split .hero__visual .media-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  border-radius: 0 !important;
}

/* Hero-Bild mit Terrakotta-Akzentstreifen am rechten Rand –
   angelehnt an das Neher-Layout (dort grüner Streifen). */
.hero__visual--accent::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 10px;
  background: var(--c-primary);
}
