/* FSB Brandschutzservice-Anlagenbau GmbH – Startseite
   Statische Version. Keine Build-Tools nötig. */

/* Barlow Condensed – lokal eingebunden, latin-ext + latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/barlow-condensed-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/barlow-condensed-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/barlow-condensed-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/barlow-condensed-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Manrope – variables Schriftformat, latin-ext + latin (eine Datei pro Subset deckt alle Gewichte 400–800 ab) */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --background: #f7f5f1;
  --foreground: #1d222b;
  --card: #fdfcfa;
  --primary: #c62a1e;
  --primary-foreground: #fdfcfa;
  --secondary: #2b3341;
  --secondary-foreground: #f7f6f4;
  --muted: #eae6e0;
  --muted-foreground: #656e7c;
  --border: #d4d7dc;
  --max: 1280px;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
}

img,
svg {
  display: block;
  max-width: 100%;
}

svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svg-sprite {
  display: none;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.02;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
}

h3 {
  font-size: 1.5rem;
}

::selection {
  background: rgba(198, 42, 30, 0.24);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 5.5rem 0;
}

/* Shared typography base for eyebrow labels */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.lead {
  max-width: 52rem;
  margin-top: 1.5rem;
  color: var(--muted-foreground);
  line-height: 1.85;
}

.stack > * + * {
  margin-top: 1.15rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--primary);
  color: #fff;
  padding: 0.6rem 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  border: 1px solid transparent;
  background: var(--primary);
  color: var(--primary-foreground);
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 1.35rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  background: color-mix(in srgb, var(--primary) 0%, black);
  color: var(--primary-foreground);
}

.btn svg {
  width: 1.05rem;
  height: 1.05rem;
}

.btn--lg {
  padding: 0.95rem 1.7rem;
  font-size: 1rem;
}

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

.btn--outline:hover {
  background: #000;
  color: var(--background);
  border-color: #000;
}

.bg-muted .btn--outline:hover {
  color: var(--muted);
}

.btn--ghost-light {
  background: transparent;
  color: var(--secondary-foreground);
  border-color: rgba(247, 246, 244, 0.35);
}

.btn--ghost-light:hover {
  background: var(--secondary-foreground);
  color: var(--secondary);
}

.btn--link {
  background: none;
  color: var(--primary);
  padding: 0;
  font-weight: 700;
}

.btn--link:hover {
  background: none;
  text-decoration: underline;
  color: #000;
}

.btn--block {
  width: 100%;
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 245, 241, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4.4rem;
  background: #fff;
  color: var(--primary-foreground);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  clip-path: polygon(50% 0, 100% 18%, 88% 78%, 50% 100%, 12% 78%, 0 18%);
  object-fit: contain;
}

.logo__text strong {
  display: block;
  font-size: 0.88rem;
  line-height: 1.1;
}

.logo__text span {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
}

.nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  font-size: 0.88rem;
  font-weight: 700;
}

.nav__drop {
  position: relative;
  top: -1px;
}

.nav__drop > button {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: 0;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

.nav__drop > button:hover {
  color: var(--primary);
}

.nav__drop svg {
  width: 0.85rem;
  height: 0.85rem;
  transition: transform 0.2s ease;
}

.nav__drop[data-open="true"] svg {
  transform: rotate(180deg);
}

.nav__menu {
  position: absolute;
  top: calc(100% + 0.9rem);
  left: -1rem;
  min-width: 19rem;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 0.5rem;
  display: none;
  box-shadow: 0 18px 40px rgba(29, 34, 43, 0.12);
}

.nav__drop[data-open="true"] .nav__menu {
  display: block;
}

.nav__menu a {
  display: block;
  padding: 0.6rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.nav__menu a:hover {
  background: var(--muted);
}

.header__cta {
  display: none;
  align-items: center;
  gap: 0.9rem;
}

.header__phone {
  text-align: right;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.header__phone strong {
  display: block;
  color: var(--primary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.burger {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  background: none;
  border: 1px solid var(--border);
  cursor: pointer;
  color: inherit;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--card);
  padding: 1.25rem;
}

.mobile-nav[data-open="true"] {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
}

.mobile-nav .btn {
  margin-top: 1.25rem;
  padding: 0.75rem 1.35rem;
  border-bottom: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--secondary);
  color: var(--secondary-foreground);
}

.hero__shape {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background: no-repeat center / cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero__slide--active {
  opacity: 1;
}

.hero__slider-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.hero__slider-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.hero__slider-dot--active {
  background: #fff;
  transform: scale(1.35);
}

.hero__inner {
  position: relative;
  display: grid;
  align-items: center;
  gap: 3rem;
  padding-block: 4.5rem;
  min-height: 75vh;
  max-width: 1500px;
}


.hero__copy {
  position: relative;
}

.hero h1 {
  position: relative;
  hyphens: auto;
}

.hero h1::before {
  display: none;
  content: '';
  position: absolute;
  left: calc(-7.5rem - 1.75rem);
  top: 50%;
  transform: translateY(-50%);
  width: 10.5rem;
  height: 13.15rem;
  background: url('../images/fsb-brandschutzservice-logo.webp') center / contain no-repeat;
}

.hero__text {
  max-width: 46rem;
  margin-top: 1.9rem;
  color: rgba(247, 246, 244, 0.78);
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

/* ---------- Trust bar ---------- */
.trust {
  background: var(--card);
  border-bottom: 1px solid var(--border);
}

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

.trust__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.35rem 0.85rem;
  min-height: 7rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.trust__item svg {
  flex: none;
  color: var(--primary);
}

/* ---------- Layouts ---------- */
.split {
  display: grid;
  gap: 3rem;
}

.prose {
  max-width: 52rem;
  color: var(--muted-foreground);
  line-height: 1.9;
}

.prose p + p {
  margin-top: 1.15rem;
}

.prose .btn {
  margin-top: 1.75rem;
}

.split--service .prose,
.split--even .prose {
  margin-top: 1.75rem;
}

.split__media {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.split__media-img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.split--contact {
  margin-top: 3rem;
}

.unternehmen__split h2 {
  color: var(--foreground);
  margin-bottom: 1.75rem;
}

.split__media-placeholder {
  background: var(--muted);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  min-height: 22rem;
  width: 100%;
}

.split__video {
  width: 100%;
  border-radius: var(--radius);
  display: block;
  object-fit: cover;
}

.bg-muted {
  background: var(--muted);
}

.bg-dark {
  background: var(--secondary);
  color: var(--secondary-foreground);
}

.bg-dark h2 {
  color: var(--secondary-foreground);
}

.bg-dark .prose {
  color: rgba(247, 246, 244, 0.72);
}

.bg-dark .lead {
  color: rgba(247, 246, 244, 0.78);
}

/* ---------- Process ---------- */
.process {
  display: grid;
  gap: 0;
  margin-top: 3.5rem;
}

.process__step {
  position: relative;
  border-left: 1px solid var(--border);
  padding: 1.25rem 1.25rem 1.75rem;
}

.process__num {
  position: absolute;
  left: -0.75rem;
  top: 0;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.75rem;
  font-weight: 800;
}

.process__step svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
  margin-bottom: 1.75rem;
}

.process__step p {
  margin-top: 0.7rem;
  font-size: 0.88rem;
  color: var(--muted-foreground);
}

/* ---------- Services ---------- */
.services {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 3.5rem;
}

.service {
  display: flex;
  flex-direction: column;
  background: var(--card);
  padding: 2rem;
  min-height: 19rem;
}

.service__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.service__top svg {
  width: 2.2rem;
  height: 2.2rem;
  color: var(--primary);
}

.service p {
  margin-top: 0.65rem;
  font-size: 0.88rem;
  color: var(--muted-foreground);
  line-height: 1.8;
}

.service .btn--link {
  margin-top: auto;
  padding-top: 1.25rem;
  align-self: flex-start;
}

/* ---------- Service CTA-Kachel ---------- */
.service--cta {
  background: var(--secondary);
  justify-content: flex-start;
}

.service--cta .service__top svg {
  color: #fff;
}

.service--cta h3 {
  color: #fff;
}

.service--cta p {
  color: rgba(247, 246, 244, 0.78);
}

.service--cta .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------- Service USP ---------- */
.usp-card {
  border-left: 4px solid var(--primary);
  background: rgba(247, 246, 244, 0.06);
  padding: 2.25rem;
}

.usp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.3rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.usp-badge svg {
  width: 1rem;
  height: 1rem;
}

.usp-card__claim {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
}

.usp-card__phone {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.usp-card__phone svg {
  color: var(--primary);
}

/* ---------- Qualifikationen ---------- */
.qual-img-placeholder {
  background: var(--muted);
  border: 2px dashed var(--border);
  min-height: 22rem;
  width: 100%;
}

/* ---- Qual Slider ---- */
.qual-right {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.qual-slider {
  position: relative;
  overflow: hidden;
  border-radius: 4px 4px 0 0;
  background: var(--muted);
  height: 22rem;
  width: 100%;
}

.qual-slider__track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.qual-slider__slide {
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
}

.qual-slider__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

.qual-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  border: none;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--foreground);
  transition: background 0.2s;
  z-index: 2;
}
.qual-slider__arrow:hover { background: #fff; }
.qual-slider__arrow--prev { left: 0.75rem; }
.qual-slider__arrow--next { right: 0.75rem; }
.qual-slider__arrow svg {
  width: 1.25rem;
  height: 1.25rem;
}

.qual-slider__dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.qual-slider__dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.qual-slider__dot--active {
  background: #fff;
  transform: scale(1.35);
}

/* ---- Qual Lightbox ---- */
.qual-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qual-lightbox[hidden] { display: none; }

.qual-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
}

.qual-lightbox__img {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

/* Shared styles for lightbox close button and arrows */
.qual-lightbox__close,
.qual-lightbox__arrow {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background 0.2s;
}
.qual-lightbox__close:hover,
.qual-lightbox__arrow:hover { background: rgba(255, 255, 255, 0.25); }

.qual-lightbox__close {
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
}
.qual-lightbox__close svg {
  width: 1.25rem;
  height: 1.25rem;
}

.qual-lightbox__arrow {
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
}
.qual-lightbox__arrow--prev { left: 1.5rem; }
.qual-lightbox__arrow--next { right: 1.5rem; }
.qual-lightbox__arrow svg {
  width: 1.5rem;
  height: 1.5rem;
}

.qual-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 0;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  container-type: inline-size;
}

.qual-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--card);
  padding: 2rem;
  /* height = halbe Container-Breite minus halber Gap → echte Quadrate */
  height: calc(40cqi - 0.4px);
  overflow: hidden;
  font-weight: 700;
  font-size: 1rem;
}

.qual-item svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  flex-shrink: 0;
}

.qual-item span {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}

/* ---------- Parallax (gemeinsam) ---------- */
.parallax {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  min-height: 50vh;
  padding: 5.5rem 0;
}

.parallax::before {
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: blur(8px);
  background: rgba(15, 20, 25, 0.68);
}

.parallax .eyebrow {
  color: rgba(255, 255, 255, 0.65);
}

.parallax h1,
.parallax h2 {
  color: #fff;
}

.parallax .lead {
  color: rgba(255, 255, 255, 0.78);
}

/* ---------- Statement Parallax ---------- */
.statement--parallax {
  background-image: url('../images/sprinkleranlage-druckmessung-rohrleitung.webp');
}

.statement--parallax .statement__inner {
  position: relative;
  text-align: center;
  margin-inline: auto;
}

.statement--parallax .lead {
  margin-top: 0;
  margin-inline: auto;
}

/* Shared flex-column layout for section inner containers */
.statement__inner,
.career__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 52rem;
}

.statement__inner .btn,
.career__inner .btn {
  align-self: center;
}

/* ---------- Career ---------- */
.career {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ---------- Career Parallax ---------- */
.career--parallax {
  background-image: url('../images/fsb-karriere-brandschutz-team.webp');
  border: none;
}

.career--parallax .career__inner {
  position: relative;
  text-align: center;
}

/* ---------- Contact ---------- */
.iframe-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 24rem;
  background: var(--muted);
  border: 2px dashed var(--border);
  border-radius: 4px;
  color: var(--muted-foreground);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-list {
  display: grid;
  gap: 1.5rem;
  align-content: start;
}

.contact-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--border);
}

.contact-item svg {
  flex: none;
  color: var(--primary);
}

.contact-item small {
  display: block;
  font-size: 0.78rem;
  color: var(--muted-foreground);
}

.contact-item small + small {
  margin-top: .25rem;
}

.contact-list__note {
  margin-top: .5rem;
  font-size: .85rem;
  color: var(--muted-foreground);
}

.contact-item strong {
  font-size: 1rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--secondary);
  color: var(--secondary-foreground);
  padding: 3.5rem 0;
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer__muted {
  color: rgba(247, 246, 244, 0.6);
  font-size: 0.85rem;
  margin-top: 1.25rem;
}

.footer__tagline {
  margin-top: .25rem;
  font-weight: 700;
}

.footer__heading {
  font-weight: 700;
}

.footer__hotline {
  font-weight: 700;
  color: var(--primary);
}

.footer__phone {
  display: block;
  margin-top: .75rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.footer__links {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.88rem;
  color: rgba(247, 246, 244, 0.65);
}

.footer__links-heading {
  color: rgba(247, 246, 244, 0.65);
  font-size: 0.88rem;
  margin-top: 0.25rem;
}

.footer__links-sub {
  padding-left: 0.75rem;
  font-size: 0.82rem;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  font-size: 0.78rem;
  color: rgba(247, 246, 244, 0.6);
}

.footer__bottom {
  border-top: 1px solid rgba(247, 246, 244, 0.12);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(247, 246, 244, 0.45);
}

.footer .logo__text span {
  color: #fff;
}

/* ---------- Dialog ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(29, 34, 43, 0.55);
}

.modal[data-open="true"] {
  display: flex;
}

.modal__box {
  position: relative;
  width: min(34rem, 100%);
  background: var(--card);
  border-top: 4px solid var(--primary);
  padding: 2rem;
}

.modal__box h3 {
  font-size: 1.9rem;
}

.modal__box p {
  margin-top: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.8;
}

.modal__box .btn {
  margin-top: 1.5rem;
}

.modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
}

iframe {
  width: 100%;
  border: none;
  height: 1030px;
}

/* ---------- Responsive ---------- */
@media (max-width: 479px) {
  .qual-list {
    grid-template-columns: 1fr;
  }
  .qual-item {
    height: auto;
    padding: 1.75rem 2rem;
    flex-direction: row;
    text-align: left;
    gap: 1.25rem;
    justify-content: flex-start;
  }
  .qual-item svg {
    margin-bottom: 0;
    flex-shrink: 0;
  }
}

@media (min-width: 768px) {
  .trust__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .trust__item + .trust__item {
    border-left: 1px solid var(--border);
  }

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

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

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

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

@media screen and (max-width: 1024px) {
  html {
    hyphens: auto;
  }
  .hero__inner {
    min-height: auto;
  }
  .hero h1::before {
    display: block;
    position: static;
    width: 5rem;
    height: 5.5rem;
    margin-bottom: 1rem;
    transform: none;
  }
}

@media (min-width: 1024px) {
  .process--4col {
    grid-template-columns: repeat(4, 1fr);
  }

  .wrap {
    padding: 0 2rem;
  }

  .nav {
    display: flex;
  }

  .burger {
    display: none;
  }

  .mobile-nav[data-open="true"] {
    display: none;
  }

  .hero__shape {
    position: absolute;
    inset: 0 0 0 auto;
    width: 42%;
    height: auto;
    clip-path: polygon(32% 0, 100% 0, 100% 100%, 20% 100%);
  }

  .hero__inner {
    grid-template-columns: 1.35fr 0.65fr;
  }

  .hero__copy {
    padding-left: calc(6.5rem + 1.75rem);
  }

  .hero h1::before {
    display: block;
  }

  .split {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3.5rem;
  }

  .split--even {
    grid-template-columns: 1fr 1fr;
  }

  .split--service {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .split--contact {
    grid-template-columns: 1.25fr 0.75fr;
  }

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

@media (min-width: 1280px) {
  .header__cta {
    display: flex;
  }
}

/* ---------- Karriere-Seite ---------- */
.hero--karriere .hero__shape {
  background-image: url('../images/fsb-team-projektbesprechung-laptop.webp');
}

.lead--note {
  max-width: 52rem;
  margin: 3.5rem auto 0;
  text-align: center;
}

.qual-list--top {
  margin-top: 2rem;
}

.contact-sub {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.contact-sub > .contact-list {
  margin-top: 1.75rem;
}

@media (min-width: 1024px) {
  .services--2col {
    grid-template-columns: repeat(2, 1fr);
  }
}

.services--auto-height .service {
  min-height: 0;
}

#offene-stellen .service {
  background: #f7f5f1;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.5rem;
  margin-top: 3rem;
}

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

@media (min-width: 1024px) {
  .check-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.check-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1rem 0.5rem;
}

.check-item svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .check-grid--5col {
    grid-template-columns: repeat(5, 1fr);
  }
}

.check-grid__footer {
  margin-top: 3rem;
  text-align: center;
}

.check-item span {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--secondary-foreground);
}

/* ---------- Unternehmen-Seite ---------- */
.hero--unternehmen .hero__shape {
  background-image: url('../images/fsb-team-brandschutzplanung-besprechung.webp');
}

.gewerbe--parallax {
  background-image: url('../images/industrieschalter-sicherheitsanlage-steuerung.webp');
}

.gewerbe--parallax .statement__inner {
  position: relative;
  text-align: center;
  margin-inline: auto;
}

.gewerbe--parallax .lead {
  margin-top: 0;
  margin-inline: auto;
}

.lead + .prose {
  margin-top: 1rem;
}

.parallax .prose {
  color: rgba(255, 255, 255, 0.78);
}

.statement__kicker {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  max-width: 52rem;
  margin-inline: auto;
}

/* ---------- Kontaktseite ---------- */
.page-subtitle {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--muted-foreground);
  line-height: 1.4;
  margin-top: 0.75rem;
  max-width: 42rem;
}

/* ---------- Wartung-und-Service-Seite ---------- */
.hero--wartung .hero__shape {
  background-image: url('../images/fsb-techniker-schaltschrank-wartung.webp');
}

/* ---------- Baulicher-Brandschutz-Seite ---------- */
.hero--baulicher-brandschutz .hero__shape {
  background-image: url('../images/brandschutzplan-grundriss-detail.webp');
}

/* ---------- Löschtechnik-Seite ---------- */
.hero--loeschtechnik .hero__shape {
  background-image: url('../images/feuerloescher-brandschutz.webp');
}

/* ---------- Melde-und-Sicherheitstechnik-Seite ---------- */
.hero--melde-sicherheitstechnik .hero__shape {
  background-image: url('../images/brandmeldeanlage-bedienfeld.webp');
}

/* ---------- Pläne-und-Kennzeichnungen-Seite ---------- */
.hero--plaene-kennzeichnungen .hero__shape {
  background-image: url('../images/brandschutz-dokumentation-besprechung.webp');
}

/* ---------- Rauch-und-Wärmeabzug-Seite ---------- */
.hero--rauch-waermeabzug .hero__shape {
  background-image: url('../images/fsb-vor-ort-begehung-brandschutz.webp');
}

a[onclick] { cursor: pointer; }

/* ---------- Legal-Buttons (fixed) ---------- */
.legal-btns {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 500;
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: center;
}

.legal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--primary);
  color: var(--primary-foreground);
  border: 1px solid transparent;
  padding: 0.45rem 0.9rem;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.legal-btn:hover {
  background: color-mix(in srgb, var(--primary) 0%, black);
  color: var(--primary-foreground);
}

/* ---------- Impressum ---------- */
.impressum-grid {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 52rem;
}

.impressum-block h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

/* ---------- Speziallösungen-Seite ---------- */
.hero--spezialloesungen .hero__shape {
  background-image: url('../images/fsb-geschaeftsfuehrer-beratung.webp');
}

.service__kicker {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  margin-top: 0.75rem;
}

.system-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.system-list li {
  display: flex;
  gap: 0.6rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

.system-list li::before {
  content: '–';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
