/* ═══════════════════════════════════════════════════
   KELLER, IHNE & TESCH — STARTSEITE
   style.css
   Hausfarben: Rot #E20000, Bordeaux #A2195B, Dunkelblau #2B2C83, Hellblau #009EE3
   Schrift: Gotham Book / Gotham Bold
   ═══════════════════════════════════════════════════ */

/* ── Gotham Font-Face ── */
@font-face {
  font-family: 'Gotham';
  src: url('assets/fonts/Gotham-Book.woff2') format('woff2'),
       url('assets/fonts/Gotham-Book.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Gotham';
  src: url('assets/fonts/Gotham-Bold.woff2') format('woff2'),
       url('assets/fonts/Gotham-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* Metrisch angepasster Fallback — verhindert Layout-Sprung beim Gotham-Swap (CLS) */
@font-face {
  font-family: 'Gotham-Fallback';
  src: local('Arial');
  size-adjust: 113.3%;
  ascent-override: 73%;
  descent-override: 16%;
  line-gap-override: 6.7%;
}


/* Header wird per JS injiziert — Platz vorreservieren, sonst Layout-Sprung (CLS) */
#site-header { min-height: 142px; }

/* ── Custom Properties ── */
:root {
  --rot: #E20000;
  --bordeaux: #A2195B;
  --lila: var(--bordeaux); /* Legacy-CSS-Alias fuer bestehende Seiten. Markenname: Bordeaux. */
  --dunkel: #2B2C83;
  --blau: #009EE3;
  --sw: #1a1a1a;
  --text: #333;
  --muted: #666;
  --border: #e0e0e0;
  --off: #f7f7f8;
  --white: #fff;
  --font: 'Gotham', 'Gotham-Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 1280px;
  --gradient: linear-gradient(90deg, var(--rot), var(--bordeaux), var(--dunkel), var(--blau));
  --anchor-offset: 230px;
  /* Verbindliche tschechische Typografie-Skala */
  --cs-type-page: clamp(34px, 3.6vw, 48px);
  --cs-type-display: clamp(36px, 4.8vw, 64px);
  --cs-type-section: clamp(28px, 3.2vw, 44px);
  --cs-type-subsection: clamp(22px, 2.4vw, 34px);
  --cs-type-category: clamp(22px, 2vw, 30px);
  --cs-type-cta: clamp(22px, 2vw, 30px);
  --cs-leading-heading: 1.12;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body {
  font-family: var(--font); font-size: 16px; line-height: 1.65;
  color: var(--text); background: var(--white);
}

/* Tschechische Versalien benötigen durch Háček und Akut mehr Oberlänge.
   Die sehr kompakte deutsche Headline-Zeilenhöhe würde Č, Š, Ž, Ř und Ě beschneiden. */
html[lang="cs"] h1,
html[lang="cs"] h2,
html[lang="cs"] h3 {
  line-height: 1.12 !important;
}

html[lang="cs"] h1 {
  font-size: var(--cs-type-page) !important;
}

html[lang="cs"] h2 {
  font-size: var(--cs-type-section) !important;
}

html[lang="cs"] .cs-title-page {
  font-size: var(--cs-type-page) !important;
  line-height: var(--cs-leading-heading) !important;
  letter-spacing: -0.02em !important;
}

html[lang="cs"] .cs-title-display {
  font-size: var(--cs-type-display) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.015em !important;
}

html[lang="cs"] .cs-title-section {
  font-size: var(--cs-type-section) !important;
  line-height: var(--cs-leading-heading) !important;
  letter-spacing: -0.01em !important;
}

html[lang="cs"] .cs-title-subsection {
  font-size: var(--cs-type-subsection) !important;
  line-height: var(--cs-leading-heading) !important;
  letter-spacing: -0.01em !important;
}

html[lang="cs"] .cs-title-cta {
  font-size: var(--cs-type-cta) !important;
  line-height: var(--cs-leading-heading) !important;
  letter-spacing: 0 !important;
  text-wrap: balance;
}

html[lang="cs"] .cs-title-category {
  font-size: var(--cs-type-category) !important;
  line-height: var(--cs-leading-heading) !important;
  letter-spacing: 0 !important;
}

/* Verbindliche Skala für die tschechische Poradna und ihre Fachartikel.
   Lokale Artikel-CSS-Dateien dürfen diese Größen nicht überschreiben. */
html[lang="cs"] body.cs-infothek-page h1,
html[lang="cs"] body.cs-infothek-page .cs-title-page {
  font-size: clamp(32px, 3.4vw, 46px) !important;
  line-height: 1.14 !important;
  letter-spacing: -0.015em !important;
  text-wrap: balance;
}

html[lang="cs"] body.cs-infothek-page h2,
html[lang="cs"] body.cs-infothek-page .cs-title-section,
html[lang="cs"] body.cs-infothek-page .cs-title-subsection {
  font-size: clamp(23px, 2.3vw, 30px) !important;
  line-height: 1.18 !important;
  letter-spacing: -0.005em !important;
  text-wrap: balance;
}

html[lang="cs"] body.cs-infothek-page h3 {
  font-size: clamp(18px, 1.7vw, 22px) !important;
  line-height: 1.24 !important;
  letter-spacing: 0 !important;
  text-wrap: pretty;
}

html[lang="cs"] .produkte-hero .breadcrumb {
  margin-bottom: 22px;
}

html[lang="cs"] .produkte-hero .cs-title-page {
  margin-bottom: 24px;
}

html[lang="cs"] .produkte-hero .prod-hero-sub {
  line-height: 1.55;
  max-width: 660px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 400000;
  transform: translateY(-140%);
  background: #fff;
  color: var(--sw);
  border: 2px solid var(--rot);
  padding: 10px 14px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(23,23,26,.16);
  transition: transform .16s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:where(a, button, input, select, textarea, summary, [role="button"], [tabindex]):focus-visible {
  outline: 3px solid var(--blau);
  outline-offset: 3px;
}

:where(.header-cta, .btn-primary, .btn-outline, .btn-outline-light, .prod-cta-btn-primary, .prod-cta-btn-ghost):focus-visible {
  box-shadow: 0 0 0 4px rgba(0,158,227,.22);
}

#main-content:focus {
  outline: none;
}

[id] {
  scroll-margin-top: var(--anchor-offset);
}

:target {
  scroll-margin-top: var(--anchor-offset) !important;
}

#kontakt,
#kontakt-form,
.prod-cta-banner,
.cta-section {
  scroll-margin-top: var(--anchor-offset);
}


/* ═══════════════════════════════════════════
   TOPBAR
   ═══════════════════════════════════════════ */
#site-header {
  position: sticky; top: 0; z-index: 100;
}
.topbar {
  background: var(--rot); color: #fff;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; padding: 8px 40px;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.topbar-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
}
.topbar a { color: #fff; transition: color .2s; }
.topbar a:hover { text-decoration: underline; }
.topbar-sep { opacity: 0.4; margin: 0 4px; }
.topbar-right { font-size: 12.5px; opacity: 1; font-weight: 700; }


/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */
.site-header {
  background: var(--white);
  border-bottom: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 0 40px;
}
.site-header::after {
  content: '';
  display: block;
  height: 6px;
  background: linear-gradient(90deg, #E20613, #A2195B, #2D2E82, #009EE2);
  margin: 0 -40px;
}
.header-inner {
  max-width: var(--max-w); margin: 0 auto; height: 100px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; }
.logo svg, .logo-svg { height: 90px; width: auto; }
.logo img { height: 90px; width: auto; }
.main-nav { display: flex; gap: 24px; margin-right: 48px; }
.main-nav a {
  font-family: var(--font); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
  padding: 4px 0; position: relative; transition: color .2s;
}
.main-nav a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1.5px; background: var(--rot); transform: scaleX(0);
  transition: transform .25s ease;
}
.main-nav a:hover { color: var(--sw); }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a.active { color: var(--sw); }
.main-nav a.active::after { transform: scaleX(1); }


.search-toggle {
  background: none; border: none; cursor: pointer; color: var(--muted);
  padding: 8px; display: flex; align-items: center; transition: color .2s;
  outline: none; -webkit-appearance: none; appearance: none;
}
.search-toggle:hover { color: var(--rot); }
.search-toggle:focus { outline: none; }
.search-toggle:focus-visible { outline: 2px solid var(--rot); outline-offset: 2px; }

.search-overlay {
  position: fixed; inset: 0; z-index: 300000;
  background: linear-gradient(135deg, var(--rot) 0%, var(--bordeaux) 35%, var(--dunkel) 70%, var(--blau) 100%);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  transform: translateY(-100%); transition: transform .4s ease;
}
.search-overlay.open { transform: translateY(0); }
.search-close {
  position: absolute; top: 32px; right: 40px;
  background: none; border: none; cursor: pointer; color: rgba(255,255,255,0.5);
  font-size: 32px; line-height: 1; transition: color .2s;
}
.search-close:focus-visible { outline-color: #fff; }
.search-close:hover { color: #fff; }
.search-label {
  font-family: var(--font); font-size: 13px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 24px;
}
.search-input-wrap {
  display: flex; align-items: center; gap: 16px; width: 90%; max-width: 560px;
  border-bottom: 2px solid rgba(255,255,255,0.3); padding-bottom: 16px; margin-bottom: 32px;
}
.search-input-wrap svg { color: rgba(255,255,255,0.4); flex-shrink: 0; }
.search-input {
  font-family: var(--font); font-size: clamp(24px, 4vw, 36px); font-weight: 700;
  color: #fff; border: none; outline: none; width: 100%;
  background: transparent; text-align: center;
}
.search-input::placeholder { color: rgba(255,255,255,0.3); }
.search-results {
  width: 90%; max-width: 560px; max-height: 50vh; overflow-y: auto;
}
.search-result {
  display: block; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
  text-decoration: none; transition: all .15s;
}
.search-result:last-child { border-bottom: none; }
.search-result:hover { padding-left: 12px; }
.search-result-title {
  font-family: var(--font); font-size: 16px; font-weight: 700;
  color: #fff; margin-bottom: 2px;
}
.search-result:hover .search-result-title { color: rgba(255,255,255,0.7); }
.search-result-path {
  font-size: 11px; color: rgba(255,255,255,0.3); letter-spacing: 0.04em;
}
.search-no-results {
  font-size: 16px; color: rgba(255,255,255,0.5); text-align: center; padding: 20px 0;
}

.header-cta {
  font-family: var(--font); font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--rot); color: var(--white);
  padding: 9px 20px;
  clip-path: polygon(7px 0%, 100% 0%, calc(100% - 7px) 100%, 0% 100%);
  transition: background .2s;
}
.header-cta:hover { background: var(--bordeaux); }

/* Mobile Toggle */
.mobile-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 32px; height: 24px; position: relative;
  padding: 8px; box-sizing: content-box;
  -webkit-tap-highlight-color: transparent;
}
.mobile-toggle span {
  display: block; width: 100%; height: 3px; background: var(--sw);
  position: absolute; left: 0; transition: all .3s;
  border-radius: 2px;
}
.mobile-toggle span:nth-child(1) { top: 8px; }
.mobile-toggle span:nth-child(2) { top: 18px; }
.mobile-toggle span:nth-child(3) { top: 28px; }


/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  background: var(--white); padding: 80px 40px 24px;
  position: relative; overflow: visible;
}
.hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 6px; background: var(--gradient);
}
.hero-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center;
  overflow: hidden;
}
.hero-tag {
  font-family: var(--font); font-size: 22px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--rot); margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font); font-size: clamp(32px, 4vw, 48px);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--sw); margin-bottom: 20px;
}
.hero-desc {
  font-size: 17px; line-height: 1.7; color: var(--muted);
  margin-bottom: 32px; max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }

/* Buttons */
.btn-primary {
  display: inline-block; font-family: var(--font); font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--rot); color: var(--white);
  padding: 14px 32px; transition: background .2s;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.btn-primary:hover { background: var(--bordeaux); }
.btn-outline {
  display: inline-block; font-family: var(--font); font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1.5px solid var(--border); color: var(--sw);
  padding: 13px 30px; transition: all .2s;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.btn-outline:hover { border-color: var(--sw); }
.btn-outline-light {
  display: inline-block; font-family: var(--font); font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1.5px solid rgba(255,255,255,0.3); color: var(--white);
  padding: 13px 30px; transition: all .2s;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-text {
  font-family: var(--font); font-size: 14px; font-weight: 700;
  color: var(--rot); letter-spacing: 0.02em; transition: opacity .2s;
}
.btn-text:hover { opacity: 0.7; }

/* Hero Stats */
.hero-stats { display: flex; gap: 40px; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-val {
  font-family: var(--font); font-size: 28px; font-weight: 700;
  color: var(--dunkel); line-height: 1;
}
.hero-stat-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); margin-top: 4px;
}

/* Hero Image */
.hero-image {
  position: relative; display: flex; align-items: center; justify-content: center;
  margin-right: -80px;
}
.hero-image img {
  width: 130%; max-width: 720px; object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.12));
}


/* ═══════════════════════════════════════════
   SECTION COMMON
   ═══════════════════════════════════════════ */
.section-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 80px 40px;
}
.section-tag {
  font-family: var(--font); font-size: 22px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--rot); margin-bottom: 12px;
}
.section-inner > h2 {
  font-family: var(--font); font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700; color: var(--sw); letter-spacing: -0.02em;
  margin-bottom: 16px; line-height: 1.15;
}
.section-desc {
  font-size: 16px; line-height: 1.7; color: var(--muted);
  max-width: 640px; margin-bottom: 48px;
}


/* ═══════════════════════════════════════════
   PRODUCTS GRID
   ═══════════════════════════════════════════ */
.products { background: var(--off); }
.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.product-card {
  background: var(--white); border: 1.5px solid var(--border);
  padding: 36px 28px 32px; transition: all .35s ease;
  display: flex; flex-direction: column;
}
.product-card:hover {
  border-color: var(--rot); transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(226,0,0,0.06);
}
.product-card-icon {
  width: 80px; height: 80px; margin-bottom: 20px;
  color: var(--dunkel); transition: color .3s;
}
.product-card:hover .product-card-icon { color: var(--rot); }
.product-card-icon svg { width: 100%; height: 100%; }
.product-card-img img {
  width: 60px; height: 60px; object-fit: contain;
}
.product-card h3 {
  font-family: var(--font); font-size: 18px; font-weight: 700;
  color: var(--sw); margin-bottom: 10px; letter-spacing: -0.01em;
}
.product-card p {
  font-size: 14px; line-height: 1.6; color: var(--muted); flex: 1;
  margin-bottom: 16px;
}
.product-card-link {
  font-family: var(--font); font-size: 13px; font-weight: 700;
  color: var(--rot); letter-spacing: 0.02em;
  transition: opacity .2s;
}
.product-card:hover .product-card-link { opacity: 0.7; }


/* ═══════════════════════════════════════════
   BRANCHES
   ═══════════════════════════════════════════ */
.branches { background: var(--white); }
.branch-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.branch-item { padding: 8px 0; }
.branch-icon {
  display: inline-block; font-size: 20px; color: var(--blau);
  margin-bottom: 12px;
}
.branch-icon-wrap {
  width: 80px; height: 80px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; color: var(--rot);
}
.branch-icon-wrap svg { width: 80px; height: 80px; }
.branch-item h3 {
  font-family: var(--font); font-size: 16px; font-weight: 700;
  color: var(--sw); margin-bottom: 8px;
}
.branch-item p {
  font-size: 14px; line-height: 1.6; color: var(--muted);
}


/* ═══════════════════════════════════════════
   TRUST / ÜBER UNS
   ═══════════════════════════════════════════ */
.trust { background: var(--off); }
.trust-layout {
  display: grid; grid-template-columns: 1fr; gap: 48px;
}
.trust-content p {
  font-size: 15px; line-height: 1.75; color: var(--text); margin-bottom: 16px;
}
.trust-content .btn-text { margin-top: 8px; display: inline-block; }
.trust-detail {
  margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border);
}
.trust-detail p {
  font-size: 15px; line-height: 1.75; color: var(--text); margin-bottom: 16px;
}
.trust-facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
.trust-fact {
  padding: 28px 24px; display: flex; flex-direction: column;
}
.trust-fact:nth-child(1) { background: var(--rot); }
.trust-fact:nth-child(2) { background: var(--bordeaux); }
.trust-fact:nth-child(3) { background: var(--dunkel); }
.trust-fact:nth-child(4) { background: var(--blau); }
.trust-fact-val {
  font-family: var(--font); font-size: 24px; font-weight: 900;
  color: #fff; line-height: 1.1; margin-bottom: 6px;
}
.trust-fact-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255,255,255,0.8);
}


/* ═══════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════ */
.faq { background: var(--white); }
.faq-list { max-width: 800px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  cursor: pointer; padding: 24px 0; list-style: none;
  display: flex; align-items: center; justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-family: var(--font); font-size: 24px; font-weight: 700;
  color: var(--rot); transition: transform .3s; flex-shrink: 0; margin-left: 16px;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary h3 {
  font-family: var(--font); font-size: 17px; font-weight: 700;
  color: var(--sw); line-height: 1.4;
}
.faq-item p {
  font-size: 15px; line-height: 1.7; color: var(--muted);
  padding: 0 0 24px; max-width: 700px;
}


/* ═══════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════ */
.cta { background: var(--rot); padding: 64px 40px; }
.cta-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center;
}
.cta h2 {
  font-family: var(--font); font-size: clamp(24px, 3vw, 32px);
  font-weight: 700; color: var(--white); margin-bottom: 12px;
}
.cta p { font-size: 16px; color: rgba(255,255,255,0.8); line-height: 1.6; max-width: 540px; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.cta .btn-primary {
  background: var(--white); color: var(--rot);
}
.cta .btn-primary:hover { background: rgba(255,255,255,0.9); }


/* ═══════════════════════════════════════════
   FOOTER (ZAK-Style)
   ═══════════════════════════════════════════ */
.footer-standorte {
  padding: 48px 40px 40px;
  border-top: 4px solid #D01020;
  border-bottom: 1px solid #E5E5E5;
}
.footer-standorte-inner {
  max-width: var(--max-w); margin: 0 auto;
}
.footer-standorte-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 32px;
}
.footer-standorte-line {
  display: block; width: 32px; height: 2px; background: #D01020;
}
.footer-standorte-label {
  font-family: var(--font);
  font-size: 14px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: #D01020;
}
.footer-adressen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 40px;
}
.footer-land-col {
  border-top: 1px solid #E5E5E5;
  padding-top: 20px;
}
.footer-land-titel {
  font-family: var(--font);
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: #D01020;
  margin-bottom: 18px;
}
.footer-logo {
  height: 80px; width: auto; max-width: 260px; margin-bottom: 20px; display: block;
  object-fit: contain; object-position: left center;
}
.footer-adresse {
  margin-bottom: 20px;
}
.footer-adresse-firma {
  font-family: var(--font);
  font-size: 13px; font-weight: 700; color: #111111;
  margin-bottom: 6px; line-height: 1.25;
}
.footer-adresse-detail {
  font-family: var(--font);
  font-size: 12px; color: #555555; line-height: 1.35;
}

.footer-haag-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-top: 14px;
  padding: 14px 14px 14px 16px;
  background: #fff;
  border: 1px solid rgba(226,0,0,.22);
  border-left: 4px solid var(--rot);
  color: var(--sw);
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(226,0,0,.055);
  transition: transform .18s cubic-bezier(0.23, 1, 0.32, 1), border-color .18s ease, box-shadow .18s ease;
}
.footer-haag-link:hover {
  transform: translateY(-1px);
  border-color: rgba(226,0,0,.42);
  box-shadow: 0 16px 34px rgba(226,0,0,.09);
}
.footer-haag-link:active { transform: scale(.985); }
.footer-haag-link-kicker {
  display: block;
  font-family: var(--font);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rot);
  margin-bottom: 5px;
}
.footer-haag-link-title {
  display: block;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.16;
  color: var(--sw);
}
.footer-haag-link-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--rot);
  color: #fff;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 900;
  flex: 0 0 auto;
  clip-path: polygon(7px 0%, 100% 0%, calc(100% - 7px) 100%, 0% 100%);
}
.footer-bottom {
  padding: 20px 40px;
  background: #F7F7F7;
}
.footer-bottom-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom-inner p { font-size: 12px; color: #555555; margin: 0; font-family: var(--font); font-weight: 700; }
.footer-bottom-inner a { font-size: 12px; color: #555555; text-decoration: none; margin-left: 16px; transition: color .2s; font-family: var(--font); font-weight: 700; }
.footer-bottom-inner a:hover { color: #D01020; }

.article-author-note {
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid #E2E2E2;
  color: #5F6670;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: .01em;
}

.article-author-note strong {
  color: #1B1D22;
}

.article-author-strip {
  padding: 0 40px 42px;
  background: #FFFFFF;
}

.article-author-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid #E2E2E2;
  color: #5F6670;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: .01em;
}


/* ═══════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════ */
.prod-cta-banner {
  background: #D01020; position: relative; padding: 72px 40px; overflow: hidden;
}
.prod-cta-banner-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
}
.prod-cta-label {
  font-family: var(--font); font-size: 14px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.7); margin-bottom: 14px;
}
.prod-cta-banner h2 {
  font-family: var(--font); font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800; text-transform: uppercase;
  color: #fff; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 14px;
}
.prod-cta-banner h2 em {
  color: rgba(255,255,255,0.7); font-style: normal; display: block;
}
.prod-cta-sub {
  font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.6;
}
.prod-cta-actions {
  display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap;
}
.prod-cta-btn-primary {
  display: inline-flex; align-items: center;
  background: #fff; color: #D01020; padding: 14px 32px;
  font-family: var(--font); font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  transition: background .2s, color .2s;
}
.prod-cta-btn-primary:hover { background: var(--bordeaux); color: #fff; }
.prod-cta-btn-ghost {
  display: inline-flex; align-items: center;
  background: transparent; color: #fff; padding: 13px 32px;
  border: 1.5px solid rgba(255,255,255,0.5);
  font-family: var(--font); font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}
.prod-cta-btn-ghost:hover { background: var(--bordeaux); border-color: var(--bordeaux); color: #fff; }

@media (max-width: 900px) {
  .prod-cta-banner-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .prod-cta-banner { padding-left: 20px; padding-right: 20px; }
  .prod-cta-actions { flex-direction: column; width: 100%; }
  .prod-cta-btn-primary, .prod-cta-btn-ghost { justify-content: center; }
}


/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════ */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1; transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }
}


/* ═══════════════════════════════════════════
   INDEX GRIDS
   ═══════════════════════════════════════════ */
.idx-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; max-width: 1280px; margin: -10px auto 0; }
.idx-usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.idx-claim-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-bottom: 32px; }
.idx-facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 32px; }
.idx-events-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }


/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-image { order: -1; margin-right: 0; }
  .hero-image img { max-width: 520px; width: 100%; margin: 0 auto; }
  .trust-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer-adressen-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 40px; }
}

@media (max-width: 768px) {
  .topbar { padding: 6px 16px; font-size: 11px; }
  .topbar-inner { justify-content: center; text-align: center; }
  .topbar-right { display: none; }
  .topbar-hide-mobile { display: none !important; }
  .topbar-left { display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: 0; }
  .topbar-left > :nth-child(n+4) { display: none !important; }
  .topbar-sep { margin: 0 3px; }
  .site-header { padding: 0 16px; }
  .site-header::after { margin: 0 -16px; }
  .header-inner { height: 70px; }
  .logo svg, .logo img, .logo-svg { height: 55px !important; }
  .main-nav { display: none; }
  .header-cta { display: none; }
  .mobile-toggle { display: block; }

  /* Mobile Nav open */
  .main-nav.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 77px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 16px 20px; box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    z-index: 200;
  }
  .main-nav.open a {
    padding: 14px 0; border-bottom: 1px solid var(--border);
  }

  .hero { padding: 48px 20px 40px; }
  .hero-stats { gap: 24px; }
  .hero-stat-val { font-size: 22px; }
  .section-inner { padding: 56px 20px; }
  .product-grid { grid-template-columns: 1fr; gap: 16px; }
  .branch-grid { grid-template-columns: 1fr; gap: 24px; }
  .trust-facts { grid-template-columns: 1fr 1fr; }
  .cta { padding: 48px 20px; }
  .cta-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-standorte { padding: 40px 20px 32px; }
  .footer-bottom { padding: 16px 20px; }
  .footer-adressen-grid { grid-template-columns: 1fr; gap: 24px; }

  /* Index Grids: 2 Spalten */
  .idx-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .idx-usp-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .idx-claim-grid { grid-template-columns: repeat(2, 1fr); }
  .idx-facts-grid { grid-template-columns: repeat(2, 1fr); }
  .idx-events-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: row; }
  .hero-actions .btn-primary, .hero-actions .btn-outline { text-align: center; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .trust-facts { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn-primary, .cta-actions .btn-outline-light { text-align: center; }

  /* Index Grids: Mobile */
  .idx-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .idx-stats-grid > div { padding: 20px 12px !important; }
  .idx-stats-grid .counter-val { font-size: clamp(28px, 8vw, 40px) !important; }
  .idx-usp-grid { grid-template-columns: 1fr; gap: 20px; }
  .idx-claim-grid { grid-template-columns: repeat(2, 1fr); }
  .idx-claim-grid > div { padding: 12px 8px !important; }
  .idx-facts-grid { grid-template-columns: repeat(2, 1fr); }
  .idx-facts-grid > div { padding: 16px 12px !important; }
  .idx-events-grid { grid-template-columns: 1fr; }

  /* Footer Mobile */
  .footer-adressen-grid { gap: 16px; }
  .footer-bottom { padding: 20px 16px; }
  .footer-bottom-inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer-bottom-inner p { font-size: 11px; line-height: 1.6; }
  .footer-bottom-inner > div {
    display: flex !important; flex-wrap: wrap; justify-content: center;
    gap: 8px 16px !important;
  }
  .footer-bottom-inner a { margin-left: 0 !important; font-size: 11px; }
}


/* Global CTA polish: angled action fields */
.header-cta,
.btn-primary,
.prod-cta-btn-primary,
.branche-cta,
.btn-cta-primary,
.solution-help-cta,
.prod-cta-actions a:first-child,
.location-cta-actions a:first-child,
.location-actions a:first-child {
  background: var(--gradient) !important;
  background-size: 180% 100% !important;
  background-position: 0 50% !important;
  color: #fff !important;
  border-color: transparent !important;
  transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), background-position 220ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 180ms ease, border-color 180ms ease !important;
}
.header-cta:hover,
.btn-primary:hover,
.prod-cta-btn-primary:hover,
.branche-cta:hover,
.btn-cta-primary:hover,
.solution-help-cta:hover,
.prod-cta-actions a:first-child:hover,
.location-cta-actions a:first-child:hover,
.location-actions a:first-child:hover {
  background-position: 100% 50% !important;
  color: #fff !important;
  box-shadow: 0 18px 42px rgba(226,0,0,.18) !important;
  transform: translateY(-1px) !important;
}
.header-cta:active,
.btn-primary:active,
.prod-cta-btn-primary:active,
.branche-cta:active,
.btn-cta-primary:active,
.solution-help-cta:active,
.prod-cta-actions a:first-child:active,
.location-cta-actions a:first-child:active,
.location-actions a:first-child:active {
  transform: scale(.97) !important;
}
.btn-outline,
.btn-outline-light,
.btn-secondary,
.prod-cta-btn-ghost,
.branche-cta-ghost,
.btn-cta-secondary,
.location-cta-actions a:last-child,
.location-actions a:last-child {
  transition: transform 160ms cubic-bezier(0.23, 1, 0.32, 1), background-position 220ms cubic-bezier(0.23, 1, 0.32, 1), color 180ms ease, border-color 180ms ease, box-shadow 180ms ease !important;
}
.btn-outline:hover,
.btn-outline-light:hover,
.btn-secondary:hover,
.prod-cta-btn-ghost:hover,
.branche-cta-ghost:hover,
.btn-cta-secondary:hover,
.location-cta-actions a:last-child:hover,
.location-actions a:last-child:hover {
  background: var(--gradient) !important;
  background-size: 180% 100% !important;
  background-position: 100% 50% !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 16px 36px rgba(226,0,0,.14) !important;
  transform: translateY(-1px) !important;
}
.btn-outline:active,
.btn-outline-light:active,
.btn-secondary:active,
.prod-cta-btn-ghost:active,
.branche-cta-ghost:active,
.btn-cta-secondary:active,
.location-cta-actions a:last-child:active,
.location-actions a:last-child:active {
  transform: scale(.97) !important;
}

/* Mobile hardening for mixed legacy/inline page sections */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  #dust-cloud {
    width: 100vw !important;
    max-width: 100vw !important;
    contain: paint;
  }

  .footer-standorte,
  footer > div[style*="padding:48px 40px"],
  footer > div[style*="padding: 48px 40px"] {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .footer-adressen-grid,
  footer div[style*="grid-template-columns:repeat(5,1fr)"],
  footer div[style*="grid-template-columns: repeat(5,1fr)"],
  footer div[style*="grid-template-columns:repeat(4,1fr)"],
  footer div[style*="grid-template-columns: repeat(4,1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .footer-land-col,
  .footer-land-titel,
  .footer-adresse,
  .footer-adresse-firma,
  .footer-adresse-detail,
  .footer-haag-link,
  .footer-bottom-inner,
  .footer-bottom-inner p {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere;
  }

  .footer-haag-link {
    width: 100% !important;
  }

  .footer-logo {
    max-width: min(260px, 100%) !important;
  }

  .footer-bottom-inner > div {
    max-width: 100% !important;
  }
}

@media (max-width: 600px) {
  h1,
  h2,
  h3,
  p,
  a,
  span,
  div {
    overflow-wrap: break-word;
  }

  .kontakt-body,
  .kontakt-hero-inner,
  .prod-section,
  .rueckruf-inner,
  .form-grid,
  .rueckruf-fields,
  .free-check-grid,
  .info-messe-grid,
  .idx-kat-nav-grid {
    grid-template-columns: 1fr !important;
    min-width: 0 !important;
  }

  .kontakt-hero,
  .kontakt-body,
  .hero,
  .hero-inner,
  .branchen-wrap,
  .branche-section,
  .location-hero,
  .location-hero-inner,
  .article-layout,
  .article-shell,
  .prod-body,
  .prod-section,
  .prod-section > *,
  .prod-downloads,
  .article-main,
  .tc-depth-copy,
  .rueckruf-banner,
  .free-check,
  .section-inner {
    width: 100% !important;
    max-width: 100% !important;
  }

  div[style*="padding:64px 40px"],
  div[style*="padding: 64px 40px"],
  div[style*="padding:72px 40px"],
  div[style*="padding: 72px 40px"] {
    padding-left: 16px !important;
    padding-right: 16px !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .person-photo-wrap {
    max-width: 100% !important;
  }

  .person-photo-wrap,
  .person-photo-wrap img {
    flex: 0 0 auto;
  }

  .person-photo-wrap {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: auto !important;
    min-width: 0 !important;
    text-align: center !important;
  }

  .person-photo-wrap img {
    width: 130px !important;
    max-width: 130px !important;
  }

  div[style*="auto-fill"][style*="minmax(220px"] {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-flow: row !important;
    grid-auto-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  div[style*="auto-fill"][style*="minmax(220px"] > * {
    grid-column: 1 !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  div[style*="background:#fff"][style*="text-align:center"][style*="align-items:center"] {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  div[style*="white-space:nowrap"] {
    white-space: normal !important;
    max-width: 100% !important;
  }

  .breadcrumb,
  .hero-sub,
  .article-hero-sub,
  .hero h1,
  .hero h1 em,
  .location-kicker,
  .location-hero h1,
  .location-hero h1 em,
  .branche-content,
  .prod-intro,
  .prod-section-label,
  .prod-section h2,
  .quick-card,
  .dl-cat-header,
  .dl-item,
  .dl-item-info {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-wrap: anywhere !important;
  }

  .hero,
  .branchen-wrap,
  .location-hero {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .branche-section {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .prod-section {
    gap: 28px !important;
  }

  .dl-cat-header {
    flex-wrap: wrap !important;
  }

  .dl-cat-count {
    display: none !important;
  }

  .dl-nav,
  .dl-nav-scroll {
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  a[href^="tel:"],
  a[href^="mailto:"] {
    overflow-wrap: anywhere !important;
  }

  .info-hero-bg {
    display: none !important;
  }

  .info-messe {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .info-messe-logo {
    max-width: 100% !important;
  }

  table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  table thead,
  table tbody,
  table tr {
    min-width: max-content;
  }
}
