/* ============================================================
   AB Industrie — Landingpage Gasfackeln
   Aufbauend auf dem Designsystem (styles.css / components.css)
   Zwei Richtungen über [data-dir="a"] (dunkel) / [data-dir="b"] (hell)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-body);
  background: var(--page-bg);
}

/* ---- Direction palettes (page-scoped roles) ---- */
[data-dir="a"] {
  --page-bg: #100E09;
  --section-bg: #15130D;
  --section-alt: #221E15;
  --surface: #1F1B14;
  --surface-2: #2B271C;
  --ink-strong: #FFFFFF;
  --ink-body: #D2D0C7;
  --ink-soft: #95937F;
  --hairline: rgba(255,255,255,0.13);
  --hairline-strong: rgba(255,255,255,0.22);
  --header-bg: rgba(18,16,11,0.82);
  --chip-bg: rgba(255,255,255,0.07);
}
[data-dir="b"] {
  --page-bg: #FFFFFF;
  --section-bg: #FFFFFF;
  --section-alt: var(--steel-50);
  --surface: #FFFFFF;
  --surface-2: var(--steel-50);
  --ink-strong: var(--ab-black);
  --ink-body: #3B3B36;
  --ink-soft: var(--steel-500);
  --hairline: var(--steel-200);
  --hairline-strong: var(--steel-300);
  --header-bg: rgba(255,255,255,0.88);
  --chip-bg: var(--steel-100);
}

/* ---- Layout helpers ---- */
.container { width: min(1200px, 92vw); margin-inline: auto; }
.container--narrow { width: min(880px, 92vw); margin-inline: auto; }
section { padding-block: clamp(56px, 8vw, 112px); background: var(--section-bg); }
section.alt { background: var(--section-alt); }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ab-red); margin: 0 0 14px; display: flex; align-items: center; gap: 10px;
}
[data-dir="a"] .eyebrow { color: #E8556A; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
/* Markenregel: h1/h3 = Anthrazit, h2 = Markenrot (#A8192B) */
h1, h3 { color: var(--ink-strong); }
h2, .h2 { color: var(--brand); }
/* Dunkler Modus / dunkle Bänder: Markenrot wird zu hellem Akzent-Rot (lesbar) */
[data-dir="a"] h2, [data-dir="a"] .h2 { color: var(--red-400); }
.h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; }
.h3 { font-size: clamp(20px, 2vw, 25px); font-weight: 700; line-height: 1.2; }
.lede { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--ink-body); margin: 18px 0 0; max-width: 60ch; text-wrap: pretty; }
p { text-wrap: pretty; }

/* ---- Buttons (extend DS .ab-btn) ---- */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.ab-btn--lg { letter-spacing: 0.04em; }
[data-dir="a"] .ab-btn--secondary { color: #fff; border-color: rgba(255,255,255,0.45); }
[data-dir="a"] .ab-btn--secondary:hover { background: #fff; color: var(--ab-black); border-color: #fff; }
[data-dir="a"] .ab-btn--ghost { color: #fff; }
[data-dir="a"] .ab-btn--ghost:hover { background: rgba(255,255,255,0.10); }

/* ---- Spec chips ---- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.01em;
  color: var(--ink-strong); background: var(--chip-bg);
  border: 1px solid var(--hairline); border-radius: var(--radius-pill);
  padding: 8px 16px;
}
.chip b { color: var(--ab-red); font-weight: 800; }
[data-dir="a"] .chip b { color: #E8556A; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.site-header__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 6px; display: block; }
.brand__name { display: flex; flex-direction: column; line-height: 1; }
.brand__name b { color: var(--ink-strong); font-weight: 800; font-size: 16px; letter-spacing: 0.02em; }
.brand__name span { color: var(--ink-soft); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 3px; }
.main-nav { display: flex; gap: 4px; margin-inline: auto; }
.main-nav a {
  color: var(--ink-body); text-decoration: none; font-size: 15px; font-weight: 600;
  padding: 8px 14px; border-radius: var(--radius-md); transition: color .15s, background .15s;
}
.main-nav a:hover { color: var(--ink-strong); background: var(--chip-bg); }
.main-nav a.is-active { color: var(--ink-strong); background: var(--chip-bg); }
.header-actions { display: flex; align-items: center; gap: 12px; }

/* language dropdown — flags */
.flag { width: 22px; height: 16px; border-radius: 3px; display: block; box-shadow: 0 0 0 1px rgba(0,0,0,0.14) inset; flex: none; }
.lang-dd { position: relative; }
.lang-dd__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 9px; border: 1px solid var(--hairline-strong); background: transparent;
  border-radius: var(--radius-md); cursor: pointer; color: var(--ink-strong);
  transition: border-color .15s, background .15s;
}
.lang-dd__btn:hover { border-color: var(--ab-red); }
.flagwrap { display: inline-flex; }
.lang-dd__code { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; color: var(--ink-strong); }
.lang-dd__chev { width: 14px; height: 14px; color: var(--ink-soft); transition: transform .15s; }
.lang-dd__btn[aria-expanded="true"] .lang-dd__chev { transform: rotate(180deg); }
.lang-dd__menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 60;
  min-width: 184px; margin: 0; padding: 6px; list-style: none;
  background: var(--page-bg); border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .14s ease, transform .14s ease, visibility .14s;
}
.lang-dd__menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dd__opt {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px;
  border-radius: var(--radius-sm); cursor: pointer; color: var(--ink-body);
  font-size: 14px; font-weight: 600;
}
.lang-dd__opt:hover { background: var(--chip-bg); color: var(--ink-strong); }
.lang-dd__opt[aria-selected="true"] { color: var(--ink-strong); }
.lang-dd__opt[aria-selected="true"]::after { content: ""; margin-left: auto; width: 7px; height: 7px; border-radius: var(--radius-pill); background: var(--ab-red); }

/* mobile nav toggle */
.nav-burger { display: none; background: transparent; border: 1px solid var(--hairline-strong); border-radius: var(--radius-md); width: 44px; height: 44px; cursor: pointer; color: var(--ink-strong); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__kicker { font-size: 14px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ab-red); margin: 0 0 18px; }
[data-dir="a"] .hero__kicker { color: #E8556A; }
.hero h1 { font-size: clamp(38px, 6vw, 76px); font-weight: 800; line-height: 1.02; letter-spacing: -0.025em; }
.hero h1 .accent { color: var(--ab-red); }
[data-dir="a"] .hero h1 .accent { color: #E8556A; }
.hero__sub { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-body); margin: 22px 0 0; max-width: 54ch; }
.hero__cta { margin-top: 32px; }
.hero__chips { margin-top: 34px; }
.hero__media { position: relative; }
.dbi-seal {
  position: absolute; top: -22px; right: -16px; z-index: 5;
  width: clamp(98px, 12vw, 140px); height: auto; transform: rotate(13deg);
  filter: drop-shadow(0 8px 14px rgba(18,16,11,0.30));
  pointer-events: none; transition: transform .2s ease;
}
.dbi-seal:hover { transform: rotate(13deg) scale(1.04); }
.hero-slider { position: relative; width: 100%; height: clamp(360px, 46vw, 560px); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.3s ease-in-out; pointer-events: none; }
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-slide image-slot { width: 100%; height: 100%; display: block; box-shadow: var(--shadow-lg); }
.hero-slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 40px; height: 40px; border-radius: var(--radius-pill); border: none; cursor: pointer;
  background: rgba(18,16,11,0.55); color: #fff; display: grid; place-items: center;
  opacity: 0; transition: opacity .2s ease, background .15s ease;
}
.hero-slider__arrow svg { width: 20px; height: 20px; }
.hero-slider:hover .hero-slider__arrow { opacity: 1; }
.hero-slider__arrow:hover { background: var(--ab-red); }
.hero-slider__arrow--prev { left: 12px; }
.hero-slider__arrow--next { right: 12px; }
.hero-slider__dots { position: absolute; bottom: 14px; right: 16px; z-index: 4; display: flex; gap: 7px; }
.hero-slider__dots button {
  width: 9px; height: 9px; padding: 0; border: none; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.55); cursor: pointer; transition: width .2s ease, background .2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.hero-slider__dots button.is-active { background: var(--ab-red); width: 22px; border-radius: 5px; }
.hero__media-badge {
  position: absolute; left: -18px; bottom: 28px;
  background: var(--ab-red); color: #fff; padding: 14px 20px; border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); max-width: 210px;
}
.hero__media-badge b { display: block; font-size: 28px; font-weight: 800; line-height: 1; }
.hero__media-badge span { font-size: 13px; font-weight: 600; opacity: 0.92; letter-spacing: 0.02em; }
[data-dir="a"] .hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 80% at 78% 30%, rgba(168,25,43,0.18), transparent 70%);
}

/* ============================================================
   TRUST BAND
   ============================================================ */
.trust { background: var(--ab-red); padding-block: clamp(28px, 4vw, 44px); }
[data-dir="b"] .trust { background: var(--ab-black); }
.trust__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.trust__item { color: #fff; display: flex; flex-direction: column; gap: 6px; }
.trust__item b { font-size: clamp(15px, 1.2vw, 17px); font-weight: 800; letter-spacing: 0.01em; }
.trust__item span { font-size: 13px; line-height: 1.4; color: rgba(255,255,255,0.78); }
.trust__item .ic { width: 26px; height: 26px; color: #fff; margin-bottom: 4px; }

/* ============================================================
   PRODUCTS
   ============================================================ */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prod {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.prod:hover { transform: translateY(-4px); border-color: var(--ab-red); box-shadow: var(--shadow-lg); }
.prod__media { position: relative; border-bottom: 1px solid var(--hairline); }
.prod__media image-slot { width: 100%; height: 230px; display: block; }
.prod__tag { position: absolute; top: 14px; left: 14px; }
.prod__body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.prod__title { font-size: 23px; font-weight: 800; color: var(--ink-strong); }
.prod__desc { font-size: 15px; line-height: 1.55; color: var(--ink-body); margin: 0; }
.prod__specs { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.prod__specs li { display: flex; align-items: baseline; gap: 10px; font-size: 14px; color: var(--ink-body); }
.prod__specs li::before { content: ""; width: 7px; height: 7px; background: var(--ab-red); border-radius: 2px; flex: none; transform: translateY(1px); }
.prod__specs b { color: var(--ink-strong); font-weight: 700; }
.prod__foot { margin-top: auto; padding: 18px 24px; border-top: 1px solid var(--hairline); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.prod__price { font-size: 13px; color: var(--ink-soft); }
.prod__price b { display: block; color: var(--ink-strong); font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }

/* product groups + system spec cards */
.prod-group + .prod-group { margin-top: 52px; }
.prod-group__label { display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-strong); margin: 0 0 22px; }
.prod-group__label::after { content: ""; flex: 1; height: 1px; background: var(--hairline); }
.prod-grid--2 { grid-template-columns: repeat(2, 1fr); }
.prod__specs li b { white-space: nowrap; }
.prod__tag.is-new { background: #12100B; color: #fff; }

.spec-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 30px; }
.spec-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: 26px 28px; }
.spec-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.spec-card__head b { font-size: 19px; font-weight: 800; color: var(--ink-strong); }
.spec-list { margin: 0; }
.spec-list > div { display: grid; grid-template-columns: 44% 1fr; gap: 14px; padding: 11px 0; border-top: 1px solid var(--hairline); }
.spec-list > div:first-child { border-top: none; }
.spec-list dt { color: var(--ink-soft); font-size: 13.5px; font-weight: 600; margin: 0; }
.spec-list dd { color: var(--ink-strong); font-size: 14px; font-weight: 600; margin: 0; }
.spec-list dd .accentv { color: var(--ab-red); font-weight: 800; }
[data-dir="a"] .spec-list dd .accentv { color: #E8556A; }
.acc__body .price.req { color: var(--ab-red); font-weight: 700; }
[data-dir="a"] .acc__body .price.req { color: #E8556A; }

/* ============================================================
   TECH TABLE
   ============================================================ */
.tech-wrap { display: grid; grid-template-columns: 1fr; gap: 28px; }
.spec-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-lg); overflow: hidden; }
.spec-table caption { text-align: left; padding: 0 0 16px; color: var(--ink-soft); font-size: 14px; }
.spec-table th, .spec-table td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--hairline); font-size: 15px; }
.spec-table thead th { background: var(--surface-2); color: var(--ink-strong); font-weight: 800; font-size: 14px; letter-spacing: 0.02em; }
.spec-table thead th:first-child { width: 34%; }
.spec-table tbody th { color: var(--ink-soft); font-weight: 600; }
.spec-table td { color: var(--ink-strong); font-weight: 600; }
.spec-table td .muted { color: var(--ink-soft); font-weight: 500; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table .col-accent { color: var(--ab-red); font-weight: 800; }
[data-dir="a"] .spec-table .col-accent { color: #E8556A; }

.guide { background: var(--surface-2); border-left: 4px solid var(--ab-red); border-radius: var(--radius-md); padding: 22px 26px; }
.guide b { color: var(--ink-strong); }
.guide p { margin: 0; color: var(--ink-body); font-size: 15px; line-height: 1.6; }

/* ============================================================
   ACCESSORIES
   ============================================================ */
.acc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.acc {
  display: flex; gap: 16px; padding: 20px; background: var(--surface);
  border: 1px solid var(--hairline); border-radius: var(--radius-md);
  transition: border-color .15s ease;
}
.acc:hover { border-color: var(--ab-red); }
.acc__ic { width: 44px; height: 44px; flex: none; border-radius: var(--radius-md); background: var(--chip-bg); display: grid; place-items: center; color: var(--ab-red); }
[data-dir="a"] .acc__ic { color: #E8556A; }
.acc__ic svg { width: 24px; height: 24px; }
.acc__thumb { width: 88px; height: 88px; flex: none; align-self: flex-start; box-shadow: 0 0 0 1px var(--hairline) inset; }
.prod__link, .acc__link { display: inline-flex; align-items: center; align-self: flex-start; font-size: 13.5px; font-weight: 700; color: var(--ab-red); text-decoration: none; letter-spacing: 0.01em; }
[data-dir="a"] .prod__link, [data-dir="a"] .acc__link { color: #E8556A; }
.prod__link::after, .acc__link::after { content: "\00a0\2192"; transition: transform .15s ease; }
.prod__link:hover, .acc__link:hover { text-decoration: underline; }
.prod__link:hover::after, .acc__link:hover::after { transform: translateX(3px); }
.prod__link { margin-top: 2px; }
.acc__link { margin-top: 7px; }
.acc__body { display: flex; flex-direction: column; gap: 5px; }
.acc__body b { color: var(--ink-strong); font-size: 16px; font-weight: 700; }
.acc__body p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-body); }
.acc__body .price { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }

/* ============================================================
   HIGHLIGHTS / FEATURES
   ============================================================ */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 12px; transition: border-color .15s ease; }
.feat:hover { border-color: var(--ab-red); }
.feat__ic { width: 48px; height: 48px; flex: none; border-radius: var(--radius-md); background: var(--ab-red); color: #fff; display: grid; place-items: center; }
.feat__ic svg { width: 26px; height: 26px; }
.feat h3 { font-size: 20px; font-weight: 800; color: var(--ink-strong); margin: 0; line-height: 1.2; }
.feat p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-body); }
.feat__note { font-size: 13px; line-height: 1.5; color: var(--ink-soft); margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--hairline); }

/* ============================================================
   USE CASES + INDUSTRIES
   ============================================================ */
.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.use { padding: 28px; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-lg); position: relative; }
.use__n { font-size: 14px; font-weight: 800; color: var(--ab-red); letter-spacing: 0.1em; }
[data-dir="a"] .use__n { color: #E8556A; }
.use h3 { margin-top: 12px; font-size: 21px; }
.use p { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--ink-body); }
.ind-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.ind {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px;
  background: var(--chip-bg); border: 1px solid var(--hairline); border-radius: var(--radius-pill);
  color: var(--ink-strong); font-weight: 600; font-size: 15px;
}
.ind svg { width: 18px; height: 18px; color: var(--ab-red); }
[data-dir="a"] .ind svg { color: #E8556A; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.about__media { display: flex; justify-content: center; }
.about-slider {
  position: relative; width: auto; height: clamp(440px, 50vw, 620px); aspect-ratio: 9 / 16;
  max-width: 100%; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  background: var(--surface-2);
}
.about-slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity 1.4s ease-in-out; }
.about-slide.is-active { opacity: 1; pointer-events: auto; transition: opacity 1.4s ease-in-out 1.4s; }
.about-slide image-slot { width: 100%; height: 100%; display: block; }
.about-slider:hover .hero-slider__arrow { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .about-slide image-slot::part(image) {
    animation: ab-kenburns 9s ease-in-out infinite alternate;
  }
}
@keyframes ab-kenburns {
  from { transform: translate(-50%, -50%) scale(1.03); }
  to   { transform: translate(-50%, -50%) scale(1.16); }
}
.stat-row { display: flex; gap: 36px; margin-top: 30px; flex-wrap: wrap; }
.stat b { display: block; font-size: clamp(30px, 4vw, 44px); font-weight: 800; color: var(--ab-red); line-height: 1; letter-spacing: -0.02em; }
[data-dir="a"] .stat b { color: #E8556A; }
.stat span { font-size: 14px; color: var(--ink-soft); margin-top: 6px; display: block; }

/* ============================================================
   REFERENCES
   ============================================================ */
.ref-logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 40px; }
.ref-logo { height: 72px; border: 1px dashed var(--hairline-strong); border-radius: var(--radius-md); display: grid; place-items: center; color: var(--ink-soft); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.ref-slot { height: 72px; width: 100%; }
.ref-slot::part(frame) { background: #fff; }ter-spacing: 0.06em; text-transform: uppercase; }
.quote { background: var(--surface); border: 1px solid var(--hairline); border-left: 4px solid var(--ab-red); border-radius: var(--radius-md); padding: 32px 36px; max-width: 820px; }
.quote p { font-size: clamp(18px, 2vw, 23px); line-height: 1.5; color: var(--ink-strong); font-weight: 600; margin: 0; }
.quote footer { margin-top: 18px; font-size: 14px; color: var(--ink-soft); }
.quote footer b { color: var(--ink-strong); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-info h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; }
.contact-info .lede { margin-bottom: 28px; }
.contact-card { display: flex; flex-direction: column; gap: 18px; margin-top: 10px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; }
.contact-line .ic { width: 42px; height: 42px; flex: none; border-radius: var(--radius-md); background: var(--ab-red); color: #fff; display: grid; place-items: center; }
.contact-line .ic svg { width: 20px; height: 20px; }
.contact-line div b { display: block; color: var(--ink-strong); font-size: 16px; font-weight: 700; }
.contact-line div span, .contact-line div a { color: var(--ink-body); font-size: 15px; text-decoration: none; line-height: 1.5; }
.contact-line div a:hover { color: var(--ab-red); }

.form-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-strong); }
.field label .req { color: var(--ab-red); }
.field input, .field select, .field textarea {
  font-family: var(--font-sans); font-size: 15px; color: var(--ink-strong);
  background: var(--page-bg); border: 2px solid var(--hairline-strong); border-radius: var(--radius-md);
  padding: 11px 14px; width: 100%; transition: border-color .15s, box-shadow .15s;
}
[data-dir="a"] .field input, [data-dir="a"] .field select, [data-dir="a"] .field textarea { background: #14120C; }
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-soft); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ab-red); box-shadow: 0 0 0 3px rgba(168,25,43,0.18); }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.form-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ab-red); }
.form-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 14px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #0B0A06; color: #C9C7BE; padding-block: 56px 28px; }
[data-dir="b"] .site-footer { background: var(--ab-black); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .brand__name b { color: #fff; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 800; letter-spacing: 0.04em; margin: 0 0 14px; text-transform: uppercase; }
.footer-col a, .footer-col p { display: block; color: rgba(255,255,255,0.66); text-decoration: none; font-size: 14px; line-height: 1.9; margin: 0; }
.footer-col a:hover { color: #fff; }
.footer-about { color: rgba(255,255,255,0.66); font-size: 14px; line-height: 1.6; max-width: 36ch; margin: 16px 0 0; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,0.5); }
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-weight: 600; }
.form-consent a { color: var(--ab-red); text-decoration: underline; text-underline-offset: 2px; }
[data-dir="a"] .form-consent a { color: #E8556A; }

/* ============================================================
   THEME TOGGLE (Hell/Dunkel) — Flammen-Icon im Header
   ============================================================ */
.theme-toggle {
  width: 40px; height: 40px; border-radius: var(--radius-md);
  border: 1px solid var(--hairline-strong); background: transparent; cursor: pointer;
  display: grid; place-items: center; color: var(--ink-body);
  transition: border-color .15s ease, background .15s ease;
}
.theme-toggle:hover { border-color: var(--ab-red); background: var(--chip-bg); }
.theme-toggle .flame { width: 20px; height: 20px; display: block; transition: filter .25s ease; transform-origin: 50% 92%; }
/* light (B): ruhige Umriss-Flamme mit rotem Kern */
[data-dir="b"] .flame-outer { fill: none; stroke: var(--ink-body); stroke-width: 1.5; stroke-linejoin: round; }
[data-dir="b"] .flame-inner { fill: var(--ab-red); }
/* dark (A): lodernde, glühende Flamme */
[data-dir="a"] .flame-outer { fill: #EE5A2A; stroke: none; }
[data-dir="a"] .flame-inner { fill: #FFD24A; }
[data-dir="a"] .theme-toggle .flame { filter: drop-shadow(0 0 4px rgba(238,90,42,0.75)); }
@media (prefers-reduced-motion: no-preference) {
  [data-dir="a"] .theme-toggle .flame { animation: ab-flicker 2.4s ease-in-out infinite; }
}
@keyframes ab-flicker {
  0%, 100% { transform: scale(1); }
  45% { transform: scaleY(1.07) scaleX(0.96); }
  70% { transform: scaleY(0.97) scaleX(1.02); }
}

/* i18n: text is applied via JS (window.AB_I18N / app.js) */

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero__grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .prod-grid, .acc-grid, .use-grid, .feat-grid { grid-template-columns: 1fr 1fr; }
  .spec-cards { grid-template-columns: 1fr; }
  .trust__grid { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .ref-logos { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .nav-burger { display: grid; place-items: center; }
  .main-nav.is-open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; left: 0; right: 0; top: 72px;
    background: var(--header-bg); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--hairline); padding: 12px 4vw 18px; margin: 0;
  }
  .main-nav.is-open a { padding: 12px 14px; }
}
@media (max-width: 600px) {
  .prod-grid, .acc-grid, .use-grid, .form-grid, .trust__grid, .ref-logos, .footer-grid, .feat-grid { grid-template-columns: 1fr; }
  .spec-list > div { grid-template-columns: 1fr; gap: 2px; }
  .hero__media-badge { left: 12px; }
  .spec-table thead th:first-child { width: auto; }
}

/* ============================================================
   FAQ (Accordion · SEO-relevante Fragen)
   ============================================================ */
.faq-list { display: grid; gap: 12px; max-width: 880px; }
.faq-item {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.faq-item[open] { border-color: var(--hairline-strong); box-shadow: var(--shadow-sm); }
.faq-item + .faq-item { /* gap handled by grid */ }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  cursor: pointer; list-style: none;
  padding: clamp(16px, 2vw, 22px) clamp(18px, 2.2vw, 26px);
  font-size: clamp(16px, 1.3vw, 19px); font-weight: 700; line-height: 1.3;
  color: var(--ink-strong);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: ""; flex: none; width: 11px; height: 11px; margin-top: -4px;
  border-right: 2.4px solid var(--ab-red); border-bottom: 2.4px solid var(--ab-red);
  transform: rotate(45deg); transition: transform .22s ease;
}
[data-dir="a"] .faq-q::after { border-color: #E8556A; }
.faq-item[open] .faq-q::after { transform: rotate(-135deg); margin-top: 3px; }
.faq-q:hover { color: var(--ab-red); }
[data-dir="a"] .faq-q:hover { color: #E8556A; }
.faq-a {
  padding: 0 clamp(18px, 2.2vw, 26px) clamp(18px, 2vw, 24px);
  color: var(--ink-body); line-height: 1.62; max-width: 72ch;
  font-size: clamp(15px, 1.1vw, 17px);
}
@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] .faq-a { animation: faqReveal .24s ease; }
}
@keyframes faqReveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   Werkstatt-Karte (OpenStreetMap · cookie-frei)
   ============================================================ */
.map-wrap {
  margin-top: 24px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.map-frame {
  display: block; width: 100%; height: 260px; border: 0;
  filter: saturate(0.9);
}
.map-wrap--full { margin-top: clamp(32px, 4.5vw, 56px); }
.map-wrap--full .map-frame { height: clamp(300px, 36vw, 440px); }
[data-dir="a"] .map-frame { filter: saturate(0.85) brightness(0.92) invert(0.92) hue-rotate(180deg); }
.map-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 18px; border-top: 1px solid var(--hairline);
  font-size: 14px; color: var(--ink-body); flex-wrap: wrap;
}
.map-bar__addr b { color: var(--ink-strong); font-weight: 700; }
.map-bar__link {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  font-size: 14px; font-weight: 700; color: #fff; text-decoration: none;
  background: var(--ab-red); border-radius: var(--radius-md);
  padding: 9px 16px; transition: background .15s ease;
}
.map-bar__link:hover { background: var(--ab-red-dark); }
.map-bar__link svg { width: 16px; height: 16px; }

/* ============================================================
   Hersteller-Credit (KROHSE-Logo + Link)
   ============================================================ */
.mfr {
  display: flex; flex-direction: column; gap: 14px;
  margin-top: 34px; padding: 18px 20px; max-width: 380px;
  border: 1px solid var(--hairline); border-radius: var(--radius-lg);
  background: var(--surface-2); text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.mfr:hover { border-color: var(--ab-red); box-shadow: var(--shadow-sm); }
[data-dir="a"] .mfr:hover { border-color: #E8556A; }
.mfr__label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-soft);
}
.mfr__row { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.mfr__plate {
  display: inline-flex; align-items: center;
  background: #fff; border: 1px solid var(--steel-200);
  border-radius: var(--radius-md); padding: 9px 14px;
}
.mfr__logo { display: block; height: 30px; width: auto; }
.mfr__cta {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 14px; font-weight: 700; color: var(--ab-red); white-space: nowrap;
}
[data-dir="a"] .mfr__cta { color: #E8556A; }
.mfr:hover .mfr__cta { text-decoration: underline; }

/* Footer-Herstellerlink sichtbar machen */
.footer-bottom span a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom span a:hover { color: #fff; }

/* ============================================================
   RATGEBER / Blog-Karten
   ============================================================ */
.blog-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.blog-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 26px 24px; border-radius: var(--radius-lg);
  border: 1px solid var(--hairline); background: var(--surface); text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.blog-card:hover { border-color: var(--ab-red); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
[data-dir="a"] .blog-card:hover { border-color: #E8556A; }
.blog-card__title { color: var(--ink-strong); font-size: clamp(18px, 1.5vw, 21px); font-weight: 700; line-height: 1.25; }
.blog-card__desc { color: var(--ink-body); line-height: 1.55; font-size: 15px; margin: 0; flex: 1; }
.blog-card__cta { color: var(--ab-red); font-weight: 700; font-size: 14px; margin-top: 4px; }
[data-dir="a"] .blog-card__cta { color: #E8556A; }

/* ============================================================
   WHY / USP — Komplettlösung (dunkles Brand-Band)
   ============================================================ */
.why { position: relative; background: #100E09; color: rgba(255,255,255,0.74); }
.why::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--ab-red); }
.why .eyebrow { color: #E8556A; }
.why .eyebrow::before { background: currentColor; }
.why .h2 { color: var(--red-400); }
.why .lede { color: rgba(255,255,255,0.72); }
.why__head { max-width: 720px; }
.why-grid {
  display: grid; gap: 20px; margin-top: clamp(32px, 4vw, 48px);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.why-card {
  padding: 26px 24px; border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.05);
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.why-card:hover { border-color: rgba(255,255,255,0.24); background: rgba(255,255,255,0.06); transform: translateY(-2px); }
.why-card__ic {
  width: 46px; height: 46px; border-radius: var(--radius-md);
  display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(232,85,106,0.14); color: #E8556A;
}
.why-card__ic svg { width: 24px; height: 24px; }
.why-card .h3 { color: #fff; margin-bottom: 10px; }
.why-card p { color: rgba(255,255,255,0.70); line-height: 1.6; font-size: 15px; margin: 0; }
.why-card--accent { border-color: rgba(232,85,106,0.5); background: rgba(232,85,106,0.10); }
.why-card--accent .why-card__ic { background: var(--ab-red); color: #fff; }
.why__cta { margin-top: clamp(28px, 4vw, 40px); }

/* ============================================================
   PERSÖNLICHE BERATUNG ("Klein genug … groß genug …")
   ============================================================ */
.beratung__grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.beratung__media { position: relative; isolation: isolate; width: fit-content; max-width: 100%; }
.beratung__media img {
  position: relative; z-index: 1; display: block;
  width: 100%; max-width: 360px; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
/* roter Akzent-Block hinter dem Foto (Markendevice) */
.beratung__media::before {
  content: ""; position: absolute; z-index: 0; left: -16px; bottom: -16px;
  width: 58%; height: 58%; background: var(--ab-red); border-radius: var(--radius-md);
}
[data-dir="a"] .beratung__media::before { background: var(--red-400); }
.beratung__caption {
  display: block; position: relative; z-index: 2; margin-top: 28px;
  font-size: 13px; font-weight: 600; color: var(--ink-soft); letter-spacing: 0.02em;
}
.beratung__steps { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.beratung__steps li { display: flex; gap: 16px; align-items: flex-start; }
.beratung__n {
  flex: none; width: 34px; height: 34px; border-radius: var(--radius-pill);
  background: var(--ab-red); color: #fff; font-weight: 800; font-size: 15px;
  display: grid; place-items: center; margin-top: 1px;
}
[data-dir="a"] .beratung__n { background: var(--red-400); color: #15130D; }
.beratung__steps b { display: block; color: var(--ink-strong); font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.beratung__steps li span { color: var(--ink-body); font-size: 15px; line-height: 1.55; }
.beratung__cta { margin-top: 30px; }
@media (max-width: 760px) {
  .beratung__grid { grid-template-columns: 1fr; }
  .beratung__media { margin-inline: auto; }
  .beratung__media img { max-width: 100%; }
}
