/* ==========================================================================
   Rhinox Arbeitsschutz GmbH — Design System
   Markenfarben aus dem Original-Logo:
     Orange  #e74516
     Grau    #626261
   ========================================================================== */

/* --- 1. Tokens ---------------------------------------------------------- */

:root {
  /* Marke */
  --brand: #e74516;
  --brand-600: #cf3c10;
  --brand-700: #a92f0b;
  --brand-soft: #fdefea;
  --brand-tint: #fbe4dc;

  /* Neutral (aus dem Logo-Grau abgeleitet) */
  --ink: #1c1c1b;
  --ink-2: #33322f;
  --grey: #626261;
  --grey-2: #82817e;
  --line: #e4e2dd;
  --line-2: #efede8;
  --paper: #ffffff;
  --paper-2: #faf9f6;
  --paper-3: #f4f2ed;

  /* Typografie */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --step--1: clamp(0.83rem, 0.81rem + 0.1vw, 0.89rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.09rem);
  --step-1: clamp(1.2rem, 1.14rem + 0.3vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.33rem + 0.6vw, 1.85rem);
  --step-3: clamp(1.8rem, 1.55rem + 1.2vw, 2.6rem);
  --step-4: clamp(2.2rem, 1.7rem + 2.4vw, 3.9rem);
  --step-5: clamp(2.6rem, 1.8rem + 3.6vw, 5rem);

  /* Layout */
  --wrap: 1200px;
  --wrap-narrow: 820px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section: clamp(4rem, 8vw, 7.5rem);
  --radius: 14px;
  --radius-lg: 22px;

  /* Effekte */
  --shadow-sm: 0 1px 2px rgba(28, 28, 27, 0.05),
    0 4px 14px -6px rgba(28, 28, 27, 0.09);
  --shadow-md: 0 2px 4px rgba(28, 28, 27, 0.04),
    0 14px 34px -12px rgba(28, 28, 27, 0.16);
  --shadow-lg: 0 30px 70px -28px rgba(28, 28, 27, 0.34);
  --ease: cubic-bezier(0.22, 0.68, 0.32, 1);

  --header-h: 82px;
}

/* --- 2. Reset ----------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.68;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

body.is-locked {
  overflow: hidden;
}

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

a {
  color: var(--brand-600);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--brand-700);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

h1 {
  font-size: var(--step-4);
}
h2 {
  font-size: var(--step-3);
}
h3 {
  font-size: var(--step-1);
  line-height: 1.28;
  letter-spacing: -0.012em;
}
h4 {
  font-size: var(--step-0);
  letter-spacing: -0.005em;
}

p {
  margin: 0 0 1.15em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 1.15em;
  padding-left: 1.25em;
}

li {
  margin-bottom: 0.4em;
}

strong {
  color: var(--ink);
  font-weight: 700;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--brand);
  color: #fff;
}

/* --- 3. Layout-Helfer --------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow {
  max-width: var(--wrap-narrow);
}

.section {
  padding-block: var(--section);
}

.section--tight {
  padding-block: clamp(2.75rem, 5vw, 4.5rem);
}

.section--paper {
  background: var(--paper-2);
}

.section--sand {
  background: var(--paper-3);
}

.section--dark {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.76);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #fff;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1.3rem;
  border-radius: 0 0 10px 10px;
  font-weight: 600;
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translate(-50%, 0);
  color: #fff;
}

/* --- 4. Typo-Bausteine -------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.1rem;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--brand);
  flex: none;
}

.section--dark .eyebrow {
  color: #ff7c52;
}

.section--dark .eyebrow::before {
  background: #ff7c52;
}

.lead {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--grey);
  text-wrap: pretty;
}

.section--dark .lead {
  color: rgba(255, 255, 255, 0.72);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.prose {
  max-width: 72ch;
}

.prose h2 {
  margin-top: 2.2em;
  font-size: var(--step-2);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 1.9em;
}

.prose > ul {
  padding-left: 0;
  list-style: none;
}

.prose > ul > li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.6em;
}

.prose > ul > li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.66em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--brand);
  transform: rotate(45deg);
}

/* --- 5. Buttons --------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  border: 2px solid transparent;
  border-radius: 100px;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s var(--ease), transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease);
}

.btn svg {
  flex: none;
  transition: transform 0.25s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 10px 26px -12px rgba(231, 69, 22, 0.85);
}

.btn--primary:hover {
  background: var(--brand-600);
  border-color: var(--brand-600);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -14px rgba(231, 69, 22, 0.9);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-2px);
}

.btn--light {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.btn--light:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}

.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn--outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transform: translateY(-2px);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brand-600);
}

.arrow-link svg {
  transition: transform 0.25s var(--ease);
}

.arrow-link:hover svg {
  transform: translateX(4px);
}

/* --- 6. Header ---------------------------------------------------------- */

.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.83rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 42px;
  padding-block: 0.35rem;
}

.topbar__claim {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.topbar__claim svg {
  color: var(--brand);
  flex: none;
}

.topbar__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 1.5rem;
  min-width: 0;
}

.topbar a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.topbar a:hover {
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.site-header.is-stuck {
  box-shadow: 0 10px 30px -22px rgba(28, 28, 27, 0.55);
  background: rgba(255, 255, 255, 0.95);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-width: 0;
  min-height: var(--header-h);
}

.brand {
  flex: none;
  display: block;
  line-height: 0;
}

.brand img {
  width: auto;
  height: 44px;
  transition: height 0.25s var(--ease);
}

.site-header.is-stuck .brand img {
  height: 38px;
}

/* Navigation (Desktop) */

/* Der Header darf breiter laufen als der Inhalt, damit die Navigation
   nicht vorzeitig mit dem Logo bzw. dem CTA kollidiert. */
.site-header .wrap {
  max-width: 1400px;
}

.nav {
  flex: 0 0 auto;
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.05rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__list > li {
  margin: 0;
  position: relative;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.6rem 0.6rem;
  border-radius: 9px;
  color: var(--ink-2);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}

.nav__link:hover,
.nav__item:focus-within > .nav__link {
  color: var(--brand-600);
  background: var(--brand-soft);
}

.nav__link[aria-current="page"] {
  color: var(--brand-600);
}

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  bottom: 0.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.nav__caret {
  flex: none;
  transition: transform 0.22s var(--ease);
  opacity: 0.55;
}

.nav__item:hover .nav__caret,
.nav__item:focus-within .nav__caret {
  transform: rotate(180deg);
}

.nav__sub {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  min-width: 288px;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease),
    visibility 0.2s;
}

.nav__item:hover .nav__sub,
.nav__item:focus-within .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav__sub li {
  margin: 0;
}

.nav__sub a {
  display: block;
  padding: 0.6rem 0.8rem;
  border-radius: 9px;
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}

.nav__sub a:hover {
  background: var(--brand-soft);
  color: var(--brand-600);
}

.nav__sub a span {
  display: block;
  font-size: 0.79rem;
  font-weight: 500;
  color: var(--grey-2);
  margin-top: 0.1rem;
}

.nav__sub a:hover span {
  color: var(--brand-600);
  opacity: 0.75;
}

.header-cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.25rem;
  border-radius: 100px;
  background: var(--brand);
  color: #fff;
  font-size: 0.93rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.header-cta:hover {
  background: var(--brand-600);
  color: #fff;
  transform: translateY(-1px);
}

.header-cta svg {
  flex: none;
}

/* Burger + Mobile-Drawer */

.burger {
  display: none;
  flex: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.burger span {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: background 0.2s var(--ease);
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease);
}

.burger span::before {
  top: -6px;
}
.burger span::after {
  top: 6px;
}

.burger[aria-expanded="true"] span {
  background: transparent;
}

.burger[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}

.burger[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: none;
  background: rgba(28, 28, 27, 0.45);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.drawer.is-open {
  opacity: 1;
}

.drawer__panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(400px, 89vw);
  background: #fff;
  padding: 1.4rem var(--gutter) 3rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.32s var(--ease);
}

.drawer.is-open .drawer__panel {
  transform: translateX(0);
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.2rem;
  margin-bottom: 0.6rem;
  border-bottom: 1px solid var(--line-2);
}

.drawer__head img {
  height: 38px;
  width: auto;
}

.drawer__close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.drawer nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.drawer nav > ul > li {
  margin: 0;
  border-bottom: 1px solid var(--line-2);
}

.drawer nav a {
  display: block;
  padding: 0.9rem 0;
  color: var(--ink);
  font-size: 1.03rem;
  font-weight: 700;
}

.drawer nav a[aria-current="page"] {
  color: var(--brand);
}

.drawer nav .sub {
  padding: 0 0 0.9rem 0.9rem;
  border-left: 2px solid var(--brand-tint);
  margin-left: 0.1rem;
}

.drawer nav .sub a {
  padding: 0.45rem 0;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--grey);
}

.drawer nav .sub a:hover {
  color: var(--brand-600);
}

.drawer__foot {
  margin-top: 1.8rem;
  display: grid;
  gap: 0.7rem;
}

/* --- 7. Hero ------------------------------------------------------------ */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(
      120% 95% at 82% 8%,
      rgba(231, 69, 22, 0.5) 0%,
      rgba(231, 69, 22, 0) 58%
    ),
    radial-gradient(
      80% 70% at 5% 100%,
      rgba(98, 98, 97, 0.55) 0%,
      rgba(98, 98, 97, 0) 60%
    ),
    linear-gradient(155deg, #232322 0%, #171716 60%, #1c1c1b 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.4;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.045) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(90% 80% at 50% 20%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(
    90% 80% at 50% 20%,
    #000 20%,
    transparent 78%
  );
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem 0.45rem 0.5rem;
  margin-bottom: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
  letter-spacing: -0.005em;
}

.hero__badge b {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  background: var(--brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: var(--step-5);
  color: #fff;
  letter-spacing: -0.032em;
  line-height: 1.03;
  margin-bottom: 0.55em;
}

.hero h1 em {
  font-style: normal;
  color: var(--brand);
}

.hero__text {
  font-size: var(--step-1);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
  max-width: 34rem;
  margin-bottom: 2.1rem;
  text-wrap: pretty;
}

.hero .btn-row {
  margin-bottom: 2.6rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.7rem;
  padding-top: 1.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.62);
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__meta svg {
  color: var(--brand);
  flex: none;
}

/* Hero-Karte */

.hero__card {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.3rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
}

.hero__card h2 {
  font-size: var(--step-1);
  color: #fff;
  margin-bottom: 1.3rem;
}

.hero__card ul {
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
}

.hero__card li {
  display: flex;
  gap: 0.85rem;
  padding: 0.78rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.45;
  margin: 0;
}

.hero__card li:last-of-type {
  border-bottom: 0;
}

.hero__card li svg {
  flex: none;
  margin-top: 0.22rem;
  color: var(--brand);
}

.hero__card .btn {
  width: 100%;
}

.hero__card-note {
  margin-top: 0.9rem;
  font-size: 0.82rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

/* --- 8. Page-Hero (Unterseiten) ----------------------------------------- */

.page-hero {
  position: relative;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
      100% 120% at 88% 0%,
      rgba(231, 69, 22, 0.42) 0%,
      rgba(231, 69, 22, 0) 60%
    ),
    linear-gradient(160deg, #232322, #171716);
}

.page-hero__inner {
  padding-block: clamp(2.75rem, 6vw, 5rem);
}

/* Fließtext begrenzen, ohne den Block aus der Seitenflucht zu schieben. */
.page-hero__inner > * {
  max-width: 780px;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 0.45em;
}

.page-hero p {
  font-size: var(--step-1);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  text-wrap: pretty;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.45);
}

.crumbs li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.crumbs li + li::before {
  content: "/";
  color: rgba(255, 255, 255, 0.28);
}

.crumbs a {
  color: rgba(255, 255, 255, 0.64);
  font-weight: 600;
}

.crumbs a:hover {
  color: #fff;
}

/* --- 9. Trust-/Statistik-Leiste ----------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stats__item {
  background: var(--paper);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  text-align: center;
}

.stats__num {
  display: block;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 0.45rem;
}

.stats__num i {
  font-style: normal;
  color: var(--brand);
}

.stats__label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--grey-2);
  line-height: 1.4;
}

/* --- 10. Karten-Grids --------------------------------------------------- */

.grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

a.card:hover,
.card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.card:hover::before {
  transform: scaleX(1);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  transition: background 0.28s var(--ease), color 0.28s var(--ease);
}

.card:hover .card__icon {
  background: var(--brand);
  color: #fff;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--grey);
  font-size: 0.96rem;
  margin-bottom: 1.3rem;
}

.card .arrow-link {
  margin-top: auto;
}

a.card {
  color: inherit;
}

a.card h3 {
  color: var(--ink);
}

/* Kompakte Listen-Karte */

.tile {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 1.3rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.96rem;
  line-height: 1.45;
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease);
}

.tile:hover {
  border-color: var(--brand-tint);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.tile svg {
  flex: none;
  margin-top: 0.18rem;
  color: var(--brand);
}

.tile strong {
  display: block;
}

.tile span {
  color: var(--grey-2);
  font-size: 0.87rem;
}

/* --- 11. Split-Bereich -------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split--wide-left {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

/* Wenn die Spalten stark unterschiedlich hoch sind, oben bündig setzen. */
.split--top {
  align-items: start;
}

.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-3);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Motive, die nicht beschnitten werden dürfen (Schrift im Bild). */
.media {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-3);
  box-shadow: var(--shadow-md);
  line-height: 0;
}

.media img {
  width: 100%;
  height: auto;
}

.media figcaption {
  padding: 0.9rem 1.2rem;
  background: var(--paper);
  border-top: 1px solid var(--line);
  font-size: 0.87rem;
  line-height: 1.5;
  color: var(--grey-2);
}

/* Vollbreites Markenmotiv als eigenes Band. */
.showcase {
  position: relative;
  background: var(--ink);
  overflow: hidden;
}

.showcase img {
  width: 100%;
  height: clamp(280px, 42vw, 560px);
  object-fit: cover;
  object-position: center 45%;
  opacity: 0.88;
}

.showcase__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
  background: linear-gradient(transparent, rgba(23, 23, 22, 0.92) 62%);
  color: #fff;
}

.showcase__caption p {
  max-width: 46ch;
  margin: 0;
  font-size: var(--step-1);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.showcase__caption span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.66);
}

/* Zitat / Claim-Block */

.quote {
  position: relative;
  padding: clamp(1.8rem, 3.5vw, 2.8rem);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  overflow: hidden;
  isolation: isolate;
}

.quote::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    90% 110% at 92% 0%,
    rgba(231, 69, 22, 0.4),
    transparent 62%
  );
}

.quote p {
  font-size: var(--step-2);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1.4rem;
  text-wrap: balance;
}

.quote footer {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.9rem;
}

.quote footer b {
  display: block;
  color: #fff;
  font-size: 0.96rem;
}

.quote__avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* --- 12. Prozess-Schritte ----------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.5vw, 2rem);
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 2.6rem;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 0;
  left: 0;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.step::after {
  content: "";
  position: absolute;
  top: 0.45rem;
  left: 2.4rem;
  right: -1rem;
  height: 1px;
  background: var(--line);
}

.step:last-child::after {
  display: none;
}

.step h3 {
  font-size: 1.06rem;
  margin-bottom: 0.4rem;
}

.step p {
  font-size: 0.93rem;
  color: var(--grey);
  margin: 0;
}

.section--dark .step::after {
  background: rgba(255, 255, 255, 0.14);
}

.section--dark .step p {
  color: rgba(255, 255, 255, 0.62);
}

.section--dark .step::before {
  color: #ff7c52;
}

/* --- 13. Team ----------------------------------------------------------- */

.person {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.person:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.person__avatar {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 1.15rem;
  border-radius: 20px;
  background: linear-gradient(140deg, var(--brand), #ff7c52);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* Porträt statt Initialen */
.person {
  padding: 0;
  overflow: hidden;
}

.person__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--paper-3);
  overflow: hidden;
}

.person__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 0.5s var(--ease);
}

.person:hover .person__photo img {
  transform: scale(1.035);
}

.person__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(1.35rem, 2.4vw, 1.8rem);
}

.person h3 {
  margin-bottom: 0.15rem;
}

.person__role {
  display: block;
  margin-bottom: 1.15rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand);
}

.person ul {
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  color: var(--grey);
}

.person ul li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.35rem;
  line-height: 1.45;
}

.person ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--brand-tint);
  transform: rotate(45deg);
}

.person__contact {
  display: grid;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-2);
  font-size: 0.9rem;
}

.person__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  word-break: break-word;
}

.person__contact svg {
  flex: none;
  color: var(--grey-2);
}

/* --- 14. Referenzen / Logos --------------------------------------------- */

.refs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.refs div {
  display: grid;
  place-items: center;
  gap: 0.2rem;
  padding: clamp(1.5rem, 3vw, 2.2rem) 1rem;
  background: var(--paper);
  text-align: center;
}

.refs b {
  font-size: 1.02rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.refs span {
  font-size: 0.85rem;
  color: var(--grey-2);
}

/* --- 15. Akkordeon (FAQ) ------------------------------------------------ */

.faq {
  display: grid;
  gap: 0.7rem;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.faq details[open] {
  border-color: var(--brand-tint);
  box-shadow: var(--shadow-sm);
}

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  line-height: 1.4;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  margin-top: 0.4rem;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
}

.faq__body {
  padding: 0 1.35rem 1.35rem;
  color: var(--grey);
  font-size: 0.96rem;
}

/* --- 16. CTA-Band ------------------------------------------------------- */

.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--brand);
  color: rgba(255, 255, 255, 0.9);
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
      75% 130% at 88% 12%,
      rgba(255, 255, 255, 0.19),
      transparent 62%
    ),
    linear-gradient(140deg, #f05320, #c8380f);
}

.cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(2.8rem, 5.5vw, 4.5rem);
}

.cta h2 {
  color: #fff;
  margin-bottom: 0.4em;
}

.cta p {
  font-size: var(--step-1);
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
  max-width: 46ch;
  text-wrap: pretty;
}

.cta .btn-row {
  flex-direction: column;
  align-items: stretch;
  min-width: 260px;
}

/* --- 17. Kontakt -------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 1.15rem 1.3rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-list svg {
  flex: none;
  margin-top: 0.2rem;
  color: var(--brand);
}

.contact-list b {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-2);
  margin-bottom: 0.2rem;
}

.contact-list a,
.contact-list span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.contact-list a:hover {
  color: var(--brand-600);
}

.form {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--paper-2);
  font: inherit;
  font-size: 0.96rem;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.field textarea {
  min-height: 148px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px var(--brand-soft);
}

.field--check {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.87rem;
  color: var(--grey);
  line-height: 1.5;
}

.field--check input {
  width: 19px;
  height: 19px;
  flex: none;
  margin-top: 0.15rem;
  accent-color: var(--brand);
}

.form .btn {
  margin-top: 1.4rem;
  width: 100%;
}

.form__note {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: var(--grey-2);
  text-align: center;
}

.map-frame {
  margin-top: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  line-height: 0;
}

.map-frame iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

/* --- 18. Footer --------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.94rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a:hover {
  color: #fff;
}

.site-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.8rem, 4vw, 3.5rem);
  padding-block: clamp(3rem, 6vw, 4.75rem);
}

.site-footer h4 {
  color: #fff;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin-bottom: 0.55rem;
}

/* Nur das Wortbildzeichen invertieren – nicht die Logos in .footer-badges. */
.footer-brand > img {
  height: 44px;
  width: auto;
  margin-bottom: 1.25rem;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.footer-brand p {
  max-width: 34ch;
  font-size: 0.93rem;
  line-height: 1.6;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
  margin-top: 1.75rem;
}

/* Das VDSI-Logo trägt eine weiße Unterzeile – die braucht Größe, um lesbar
   zu bleiben, und funktioniert nur auf dunklem Grund. */
.footer-vdsi {
  width: auto;
  height: 96px;
  flex: none;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-social svg {
  flex: none;
  color: var(--brand);
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 100px;
  font-size: 0.79rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

.footer-badge svg {
  color: var(--brand);
}

.site-footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

.site-footer__bar ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}

.site-footer__bar li {
  margin: 0;
}

/* --- 19. Scroll-Reveal -------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal][style*="--d"] {
  transition-delay: var(--d);
}

/* --- 20. Responsive ----------------------------------------------------- */

@media (max-width: 1330px) {
  .nav__link {
    font-size: 0.88rem;
    padding-inline: 0.45rem;
  }

  .header-cta {
    padding-inline: 1rem;
    font-size: 0.88rem;
  }
}

@media (max-width: 1240px) {
  .nav,
  .header-cta {
    display: none;
  }

  .burger {
    display: inline-flex;
  }

  .drawer {
    display: block;
    visibility: hidden;
  }

  .drawer.is-open {
    visibility: visible;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .split,
  .split--wide-left,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

  .step::after {
    display: none;
  }

  .site-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 70px;
  }

  .topbar__claim {
    display: none;
  }

  .topbar__inner {
    justify-content: center;
  }

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

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

  .cta__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .refs {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .grid--2,
  .grid--3,
  .grid--4,
  .steps,
  .form__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer__main {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.2rem;
  }

  .btn {
    width: 100%;
  }

  .btn-row {
    flex-direction: column;
  }

  /* Einspaltig würden die Hochformat-Porträts die halbe Seite füllen. */
  .person__photo {
    aspect-ratio: 5 / 4;
  }

  .topbar__links a:last-child {
    display: none;
  }
}

/* --- 21. Motion / Print ------------------------------------------------- */

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

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .topbar,
  .site-header,
  .drawer,
  .cta,
  .hero__card {
    display: none !important;
  }

  body {
    color: #000;
  }
}
