/* ==========================================================================
   Happe Bautechnik – Stylesheet
   --------------------------------------------------------------------------
    1. Schriften
    2. Variablen
    3. Basis
    4. Buttons
    5. Kopfbereich und Navigation
    6. Fußbereich
    7. Unterseiten: Kopfbereich und gemeinsame Bausteine
    8. Startseite
    9. Produktfinder
   10. Schulungen
   11. Unterseiten Schulungen und Prüfungen
   12. Prüfungen
   13. Gefährdungsbeurteilung
   14. Über uns
   15. Impressum und Datenschutz
   16. Anfrageformular und Anfrageliste
   17. Barrierefreiheit: reduzierte Bewegung
   ========================================================================== */


/* 1. Schriften (lokal, keine Verbindung zu Google)
   ========================================================================== */
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/roboto-latin-v30-normal-400.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('/assets/fonts/roboto-latin-v30-normal-500.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/assets/fonts/roboto-latin-v30-normal-700.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/roboto-latin-ext-v30-normal-400.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('/assets/fonts/roboto-latin-ext-v30-normal-500.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Roboto'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/assets/fonts/roboto-latin-ext-v30-normal-700.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }


/* 2. Variablen
   ========================================================================== */
:root {
  --navy-950: #061a33;
  --navy-900: #0b2748;
  --navy-800: #0b3a6e;
  --blue-700: #0f4f99;
  --blue-600: #1663c7;
  --blue-500: #2b7de9;
  --blue-100: #dceafb;
  --blue-50: #f1f6fd;
  --white: #ffffff;
  --ink: #12233b;
  --ink-soft: #1f3048;
  --muted: #3f5068;
  --line: #dbe4ef;
  --light-blue: #9cc6ff;        /* Akzent auf dunklem Grund */
  --light-text: #dbe7f6;        /* Fließtext auf dunklem Grund */
  --orange: #f39c33;
  --error: #c22;
  --bg-gradient: linear-gradient(180deg, #e6f0fc 0%, #cfe2f8 100%);

  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(11, 39, 72, 0.06), 0 1px 3px rgba(11, 39, 72, 0.08);
  --shadow-md: 0 8px 24px -8px rgba(11, 39, 72, 0.18);
  --shadow-card: 0 6px 18px -10px rgba(11, 58, 110, 0.35);
  --shadow-card-hover: 0 12px 28px -12px rgba(11, 58, 110, 0.45);
  --container: 1180px;
  --header-h: 84px;
}
@media (max-width: 480px) {
  :root { --header-h: 72px; }
}


/* 3. Basis
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
h1, h2, h3 { line-height: 1.2; color: var(--navy-900); text-wrap: balance; margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 4px; }

blockquote {
  margin: 0 0 1.2em;
  padding: 16px 20px;
  border-left: 4px solid var(--blue-500);
  background: var(--blue-50);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink-soft);
  font-size: .97rem;
}

/* Maskierte Kontaktdaten: Adresse/Nummer steht nur zerlegt in Attributen und wird hier angezeigt
   (ohne JavaScript); site.js ersetzt sie durch normalen Text und echte Links */
.hb-mail::before { content: attr(data-a) "@" attr(data-b); }
.hb-tel::before { content: attr(data-a) " " attr(data-b); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: 6px; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: 20px; }
.section { padding-block: clamp(48px, 7vw, 88px); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section--tight + .section { padding-top: 24px; }
.section--alt { background: var(--blue-50); }
.section--blue { background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head h2 { margin: 0; }
.section-head--light h2 { color: var(--white); }

.muted { color: var(--muted); }
.eyebrow { margin: 0 0 10px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-700); }
.eyebrow--light { color: var(--light-blue); }
.link-arrow { font-weight: 500; text-decoration: none; color: var(--blue-700); }
.link-arrow svg { display: inline-block; margin-left: 6px; vertical-align: -0.15em; transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }

.prose > h2:first-child { margin-top: 0; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }

@media (max-width: 720px) {
  body { font-size: 16px; }
}
@media (max-width: 480px) {
  .container { padding-inline: 16px; }
}


/* 4. Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--blue-600); color: var(--white); }
.btn-primary:hover { background: var(--blue-700); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy-800); }
.btn-light:hover { background: var(--blue-100); color: var(--navy-900); }
.btn-outline { border-color: var(--blue-600); color: var(--blue-700); background: var(--white); }
.btn-outline:hover { background: var(--blue-50); color: var(--blue-700); }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,.1); color: var(--white); }


/* 5. Kopfbereich und Navigation
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); max-width: 1280px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-900); flex-shrink: 0; }
.brand-full { display: block; height: 64px; width: auto; }

/* Hauptnavigation */
.main-nav { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-item > a {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 9px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-weight: 500; font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
}
.nav-item > a:hover, .nav-item:focus-within > a { color: var(--blue-600); background: var(--blue-50); }
.nav-item.is-active > a { color: var(--blue-600); }
.nav-item.is-active > a::after { content: ''; position: absolute; left: 9px; right: 9px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--blue-600); }
.nav-parent svg { font-size: .85em; transition: transform .15s; }

/* Untermenü */
.subnav {
  position: absolute; top: 100%; left: 0;
  min-width: 270px;
  margin: 0; padding: 8px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
.has-sub:hover .nav-parent svg { transform: rotate(180deg); }
.subnav a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: .94rem; }
.subnav a:hover, .subnav a[aria-current="page"] { background: var(--blue-50); color: var(--blue-600); }

/* Menü-Button (mobil) */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--navy-900); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Zähler „Anfrage“ (erscheint, sobald etwas auf der Anfrageliste steht) */
.hdr-list { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--navy-900); font-weight: 600; font-size: .92rem; text-decoration: none; flex-shrink: 0; }
.hdr-list[hidden] { display: none; }
.hdr-list svg { width: 20px; height: 20px; color: var(--blue-600); }
.hdr-list:hover { border-color: var(--blue-600); color: var(--blue-600); }
.hdr-list-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--orange); color: var(--navy-950); font-size: .78rem; font-weight: 700; }

@media (min-width: 1121px) {
  .main-nav { margin-left: 0; flex: 1; gap: 20px; }
  .main-nav .nav-list { margin-inline: auto; gap: clamp(4px, 0.8vw, 12px); }
  .hdr-list { order: 3; margin-left: 4px; }
}
@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: auto;
    /* feste Höhe nötig: backdrop-filter im Header begrenzt sonst die Höhe */
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px 20px 32px;
    background: var(--white);
    overflow-y: auto;
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item > a { display: flex; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-item > a:hover { background: none; }
  .nav-item.is-active > a::after { display: none; }
  .nav-parent svg { display: none; }
  .subnav { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 8px 12px; min-width: 0; }
  .subnav a { padding: 9px 8px; color: var(--ink-soft); }
  .nav-cta { align-self: flex-start; }
  body.nav-open { overflow: hidden; }
  .hdr-list { margin-left: auto; padding: 8px 12px; }
  .hdr-list:not([hidden]) + .nav-toggle { margin-left: 8px; }
}
@media (max-width: 480px) {
  .site-header .brand-full { height: 52px; }
  .hdr-list-label { display: none; }
}


/* 6. Fußbereich
   ========================================================================== */
.site-footer { background: var(--navy-950); color: #c9d8ea; font-size: .9rem; }
.site-footer .brand-full { height: 52px; }
.brand--light { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: auto 1.2fr 1.2fr 0.8fr 0.8fr; gap: 24px 48px; padding-block: 28px 20px; align-items: start; }
.footer-title { margin-bottom: 8px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--light-blue); }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-list li { display: flex; align-items: flex-start; gap: 10px; }
.footer-list svg { margin-top: .3em; color: var(--light-blue); }
.footer-list a { color: var(--white); }
.footer-list a:hover { color: var(--light-blue); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-links a { color: #c9d8ea; text-decoration: none; }
.footer-links a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { padding-block: 10px; border-top: 1px solid rgba(255,255,255,.1); color: #b3c3d8; font-size: .8rem; }

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { gap: 18px; }
  .footer-grid > div:first-child, .footer-grid > div:nth-child(2) { grid-column: 1 / -1; }
}


/* 7. Unterseiten: Kopfbereich und gemeinsame Bausteine
   ========================================================================== */
body:not(.home) main { background: var(--bg-gradient); }
body:not(.home) main blockquote { background: rgba(255,255,255,.75); }

.page-hero {
  padding-block: clamp(40px, 6vw, 72px);
  background:
    radial-gradient(circle at 90% 0%, rgba(43,125,233,.35), transparent 45%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800));
  color: var(--white);
}
.page-hero--compact { padding-block: clamp(28px, 4vw, 44px); }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero-sub { margin: 0; font-size: 1.12rem; color: var(--light-text); max-width: 780px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 20px; padding: 0; font-size: .85rem; color: #9fb4cf; }
.breadcrumb li + li::before { content: '›'; margin-right: 6px; }
.breadcrumb a { color: #c9d8ea; text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }

/* Kontakt-Box am Seitenende */
.cta-box {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center;
  margin-top: clamp(40px, 6vw, 64px);
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--blue-600), var(--navy-800));
  color: var(--white);
}
.cta-box h2 { color: var(--white); }
.cta-box p { color: var(--light-text); }
.cta-box p:last-child { margin-bottom: 0; }
.cta-actions { display: grid; gap: 12px; }
.cta-actions .btn { justify-content: flex-start; }

@media (max-width: 720px) {
  .cta-box { grid-template-columns: 1fr; }
  .cta-actions .btn { white-space: normal; }
}
@media (max-width: 560px) {
  .page-hero h1 { hyphens: auto; overflow-wrap: break-word; }
}


/* 8. Startseite
   ========================================================================== */

/* Startbereich: Logos Happe Bautechnik | ALTRAD Baumann */
.hero {
  --hero-logo-h: clamp(122px, 15.5vw, 230px);
  position: relative;
  display: grid; align-items: center;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  overflow: hidden;
  isolation: isolate;
  color: var(--navy-900);
  background: #e6f0fc;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scaleX(-1); }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(232,241,252,.80) 0%, rgba(238,245,253,.86) 55%, rgba(236,244,253,.92) 100%);
}
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(230,240,252,0) 0%, rgba(230,240,252,.35) 40%, rgba(230,240,252,.8) 75%, rgb(230,240,252) 100%);
}
.hero-inner { padding-block: 48px 96px; max-width: var(--container); }
.hero-duo { display: grid; grid-template-columns: auto 1px auto; justify-content: center; align-items: center; gap: clamp(32px, 6vw, 80px); }
.hero-brand { display: flex; align-items: center; gap: 24px; }
.hero-brand h1 { margin: 0; color: var(--white); font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1.02; }
.hero-brand h1 img { display: block; width: auto; height: var(--hero-logo-h); }
.hero-divider { align-self: stretch; background: rgba(11,39,72,.18); }
.hero-altrad { display: grid; gap: 12px; justify-items: start; }
.hero-altrad-logo { display: block; }
.hero-altrad-logo img { display: block; width: auto; height: calc(var(--hero-logo-h) - var(--hero-cap-h, 40px)); }
.hero-altrad-name { margin: 0; color: var(--navy-900); font-size: clamp(1rem, 1.4vw, 1.2rem); font-weight: 600; letter-spacing: .02em; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: var(--navy-900); border: 1px solid rgba(11,39,72,.3); background: rgba(11,39,72,.06);
  animation: hero-bounce 2s ease-in-out infinite;
}
.hero-scroll svg { width: 22px; height: 22px; }
.hero-scroll:hover { color: var(--navy-900); background: rgba(11,39,72,.12); }
@keyframes hero-bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }

@media (min-width: 861px) {
  .hero-duo { grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); width: 100%; margin-inline: auto; }
  .hero-brand { justify-self: end; }
  .hero-altrad { justify-self: start; }
}
@media (max-width: 860px) {
  .hero-duo { grid-template-columns: 1fr; gap: 28px; justify-items: center; text-align: center; }
  .hero-divider { height: 1px; width: 100%; max-width: 320px; }
  .hero-altrad { justify-items: center; }
}

/* Unser Angebot */
#mehr { background: var(--bg-gradient); }
.offer-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; max-width: none; }
.offer-head h2 { margin: 0; }
.brand-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; font-size: .9rem; color: var(--ink-soft); }
.brand-legend li { display: inline-flex; align-items: center; gap: 8px; }
.brand-legend img, .offer-brand img { width: 24px; height: 24px; object-fit: contain; }
.offer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.offer-col { padding: clamp(20px, 2.5vw, 28px); border-radius: var(--radius-lg); background: rgba(255,255,255,.45); border: 1px solid rgba(255,255,255,.8); }
.offer-col-title { margin: 0 0 4px; font-size: 1.35rem; color: var(--navy-900); }
.offer-list { display: grid; gap: 12px; }
.offer-card {
  display: flex; align-items: center; gap: 16px;
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid transparent; border-radius: var(--radius-lg);
  background: var(--white); color: var(--ink-soft); text-decoration: none;
  box-shadow: var(--shadow-card);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.offer-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); color: var(--ink-soft); }
.offer-card h4 { margin: 0; font-size: 1.05rem; color: var(--navy-900); }
.offer-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); font-size: 24px; }
.offer-card .offer-icon { background: var(--blue-600); color: var(--white); }
.offer-text { display: grid; gap: 4px; flex: 1; min-width: 0; }
.offer-text span { color: var(--ink-soft); font-size: .93rem; line-height: 1.45; }
.offer-brand { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); flex-shrink: 0; }
.offer-brands { display: flex; gap: 6px; flex-shrink: 0; }
.offer-perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; list-style: none; margin: clamp(28px, 4vw, 40px) 0 0; padding: 18px 24px; border-radius: var(--radius-lg); background: rgba(255,255,255,.55); color: var(--navy-800); font-weight: 500; }
.offer-perks li { display: inline-flex; align-items: center; gap: 10px; }
.offer-perks svg { width: 20px; height: 20px; color: var(--blue-600); }

@media (max-width: 960px) {
  .offer-cols { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .offer-col { padding: 16px; }
  .offer-card { padding: 14px 16px; gap: 12px; }
  .offer-card .offer-icon { width: 42px; height: 42px; }
  .offer-brands { flex-direction: column; }
}

/* Ansprechpartner */
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.person { padding: 28px; border-radius: var(--radius-lg); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.person-head { display: flex; align-items: center; gap: 20px; margin-bottom: 18px; }
.person-head h3 { color: var(--white); margin: 0; font-size: 1.35rem; }
.person-title { margin: 0; color: var(--light-blue); font-weight: 500; }
.person-photo { width: 160px; height: 200px; object-fit: cover; object-position: center top; border-radius: 12px; flex-shrink: 0; box-shadow: 0 8px 20px -10px rgba(0,0,0,.5); }
.person-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.person-contact li { display: flex; align-items: flex-start; gap: 10px; }
.person-contact svg { margin-top: .3em; color: var(--light-blue); }
.person-contact a { color: var(--white); }
.person-contact a:hover { color: var(--light-blue); }

@media (max-width: 720px) {
  .people { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .person-photo { width: 112px; height: 140px; }
}


/* 9. Produktfinder
   ========================================================================== */
.pf { display: grid; gap: 28px; }
.pf-legend { justify-content: flex-end; }

/* Isometrisches Haus */
.pf-house { position: relative; padding: 8px 12px; border-radius: var(--radius-lg); overflow: hidden; background: radial-gradient(ellipse at 50% 35%, #ffffff 0%, #e6f0fc 55%, #d3e3f7 100%); box-shadow: var(--shadow-card); }
.pf-svg { display: block; width: 100%; height: auto; stroke: none; stroke-width: 0; fill: #000; flex-shrink: 1; }
.pf-svg .hz { cursor: pointer; }
.pf-svg .hz:focus { outline: none; }
.pf-svg .hz g { transition: filter .15s; }
.pf-svg .hz:hover g, .pf-svg .hz:focus g { filter: drop-shadow(0 0 3px rgba(22,99,199,1)) drop-shadow(0 0 8px rgba(22,99,199,.6)) brightness(1.06); }
.pf-svg .hz-num circle { fill: var(--navy-900); stroke: #fff; stroke-width: 3; filter: drop-shadow(0 2px 3px rgba(11,58,110,.45)); transition: fill .15s; }
.pf-svg .hz-num text { fill: #fff; font: 700 14px/1 Inter, Roboto, Arial, sans-serif; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.pf-svg .hz-num:hover circle, .pf-svg .hz-num:focus circle { fill: var(--blue-600); }
.pf-tip { position: absolute; pointer-events: none; transform: translate(-50%, calc(-100% - 14px)); padding: 6px 12px; border-radius: 999px; background: var(--navy-900); color: var(--white); font-size: .88rem; font-weight: 600; white-space: nowrap; opacity: 0; transition: opacity .12s; }
.pf-tip.is-on { opacity: 1; }
.pf-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 8px; z-index: 1; }
.pf-dot { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 2px solid var(--white); background: rgba(255,255,255,.4); cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.pf-dot.is-on { background: var(--white); }

/* Auswahlbereich */
.pf-panel { padding: clamp(20px, 3vw, 32px); border-radius: var(--radius-lg); background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.85); }
.pf-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 14px; }
.pf-crumbs { font-size: .9rem; color: var(--muted); }
.pf-crumbs a { color: var(--blue-600); text-decoration: none; }
.pf-crumbs a:hover { text-decoration: underline; }
.pf-crumbs span { color: var(--navy-900); font-weight: 600; }
.pf-search { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); min-width: min(280px, 100%); }
.pf-search svg { color: var(--muted); }
.pf-search input { border: 0; outline: 0; font: inherit; width: 100%; background: transparent; }
.pf-title { margin: 0 0 4px; }
.pf-lead { margin: 0 0 18px; color: var(--ink-soft); }
.pf-lead:empty { display: none; }

/* Kategorie-Kacheln */
.pf-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.pf-tile { position: relative; display: flex; align-items: center; gap: 10px; padding: 16px 14px; border-radius: var(--radius); background: var(--white); text-decoration: none; color: var(--navy-900); font-weight: 600; box-shadow: var(--shadow-card); transition: transform .15s, box-shadow .15s; }
.pf-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); color: var(--blue-600); }
.pf-tile .offer-icon { width: 42px; height: 42px; background: var(--blue-600); color: var(--white); flex-shrink: 0; }
.pf-tile-label { flex: 1; min-width: 0; hyphens: manual; overflow-wrap: normal; font-size: .95rem; }
.pf-tile .pf-num { position: absolute; top: 6px; left: 6px; z-index: 1; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 4px; border-radius: 999px; border: 2px solid #fff; background: var(--navy-900); color: #fff; font-size: .75rem; font-weight: 700; line-height: 1; }
.pf-count { margin-left: auto; font-size: .78rem; font-weight: 600; color: var(--muted); background: var(--blue-50); border-radius: 999px; padding: 2px 8px; }

/* Produktkarten */
.pf-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.pf-products:not(:empty) { margin-top: 4px; }
.pf-tiles:not(:empty) + .pf-products:not(:empty) { margin-top: 24px; }
.pf-sub { grid-column: 1 / -1; margin: 0; font-size: 1rem; color: var(--muted); }
.pf-card { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-card); overflow: hidden; }
.pf-card h3 { margin: 0; font-size: 1.05rem; min-width: 0; hyphens: manual; overflow-wrap: normal; }
.pf-brand { position: absolute; top: 10px; right: 10px; z-index: 1; border-color: transparent; box-shadow: 0 2px 8px rgba(11,39,72,.2); }
.pf-bg { position: absolute; left: 10px; top: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; max-width: calc(100% - 66px); padding: 5px 10px 5px 8px; border-radius: 999px; background: #fff; color: #1f6b34; font-size: .74rem; font-weight: 700; line-height: 1.2; white-space: nowrap; box-shadow: 0 2px 8px rgba(11,39,72,.2); }
.pf-media .pf-bg svg { width: 15px; height: 15px; color: #2e8a48; stroke-width: 2.4; }
.pf-media .pf-brand img { position: static; width: 24px; height: 24px; padding: 0; object-fit: contain; }
.pf-card p { margin: 0; color: var(--ink-soft); font-size: .93rem; }
.pf-media { position: relative; aspect-ratio: 4 / 3; background: #f4f7fb; display: grid; place-items: center; overflow: hidden; }
.pf-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf-media--contain { background: #fff; }
.pf-media--contain img { object-fit: contain; padding: 10px; }
.pf-media--empty svg { width: 48px; height: 48px; color: #b8c6d8; }
.pf-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.pf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: auto; padding-top: 6px; }
.pf-pdf { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 500; color: var(--blue-700); text-decoration: none; }
.pf-pdf:hover { text-decoration: underline; }
.pf-soon { font-style: italic; }
.pf-empty { grid-column: 1 / -1; margin: 0; padding: 18px 20px; border-radius: var(--radius); background: var(--white); color: var(--ink-soft); }

/* Button „Zur Anfrage“ auf der Produktkarte */
.pf-card .pf-ask { padding: 8px 18px; font-size: .9rem; }
.pf-ask .pf-ask-ok { display: none; }
.pf-ask.is-added { background: var(--white); color: var(--blue-600); box-shadow: inset 0 0 0 2px var(--blue-600); }
.pf-ask.is-added .pf-ask-add { display: none; }
.pf-ask.is-added .pf-ask-ok { display: inline; }

@media (max-width: 720px) {
  .pf-house { display: none; }
  .pf-tiles { grid-template-columns: 1fr 1fr; }
  .pf-tile { flex-direction: column; align-items: flex-start; }
  .pf-tile .pf-num { display: none; }
  .pf-count { position: absolute; top: 12px; right: 12px; }
}


/* 10. Schulungen
   ========================================================================== */
.sch-hero-points { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #dbe9ff; font-size: .95rem; }
.sch-hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.sch-hero-points svg, .sch-facts svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.sch-hero-points svg { color: #7fb6ff; }

/* Hinweis: ein Preis pro Schulung */
.sch-usp { display: flex; gap: 18px; align-items: center; margin: -8px 0 28px; padding: 18px 22px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--blue-600); box-shadow: var(--shadow-sm); }
.sch-usp-icon { flex-shrink: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--blue-600); color: #fff; }
.sch-usp-icon svg { width: 26px; height: 26px; }
.sch-usp strong { display: block; font-size: 1.12rem; color: var(--navy-900); }
.sch-usp p { margin: 4px 0 0; color: var(--ink-soft); }

/* 2-in-1-Schulung */
.sch-combo-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(135deg, var(--navy-900), var(--navy-800) 60%, var(--blue-700)); color: #fff; box-shadow: 0 18px 40px -18px rgba(11,39,72,.55); margin-bottom: 40px; }
.sch-combo-card--text { display: block; margin: 28px 0 0; }
.sch-combo-body { padding: 34px 38px 36px; }
.sch-combo-card--text .sch-combo-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px 48px; align-items: start; padding: 34px 40px 36px; }
.sch-combo-kicker { margin: 0 0 6px; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--light-blue); }
.sch-combo-card--text .sch-combo-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sch-combo-body h3 { margin: 0 0 10px; font-size: 1.8rem; line-height: 1.2; color: #fff; }
.sch-combo-lead { margin: 0 0 18px; color: #d3e3f7; }
.sch-combo-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 9px; }
.sch-combo-card--text .sch-combo-list { margin-bottom: 24px; }
.sch-combo-list li { display: flex; gap: 10px; align-items: flex-start; }
.sch-combo-list svg { width: 18px; height: 18px; margin-top: 4px; color: #7fd18f; stroke-width: 2.6; }
.sch-combo-phone { color: #d3e3f7; font-weight: 500; text-decoration: none; }
.sch-combo-phone:hover { color: #fff; text-decoration: underline; }
.sch-combo-phone a { color: #fff; font-weight: 600; }

/* Einzelschulungen */
.sch-courses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.sch-course { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.sch-course-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.sch-course-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sch-course-tag { position: absolute; left: 16px; top: 16px; padding: 4px 12px; border-radius: 999px; background: var(--white); color: var(--navy-900); font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.sch-course-body { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 28px; }
.sch-course-body h3 { margin: 0; font-size: 1.45rem; }
.sch-course-norm { margin: 4px 0 18px; color: var(--muted); }
.sch-facts { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.sch-facts li { display: flex; gap: 10px; align-items: flex-start; }
.sch-facts svg { color: var(--blue-600); margin-top: 4px; }
.sch-course-extra { margin: 0 0 22px; padding: 12px 14px; border-radius: var(--radius); background: var(--blue-50); color: var(--ink-soft); font-size: .95rem; }
.sch-course-actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

/* Ablauf */
.sch-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.sch-steps li { position: relative; background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.sch-steps h3 { margin: 12px 0 6px; font-size: 1.1rem; }
.sch-steps p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.sch-step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue-600); color: #fff; font-weight: 700; }

/* Zielgruppen */
.sch-who { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.sch-who > span { font-weight: 600; color: var(--navy-900); }
.sch-who ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sch-who li { padding: 5px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .92rem; }

/* Schulungsleiter */
.sch-trainer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.sch-trainer--single { grid-template-columns: 1fr; max-width: 860px; }
.sch-trainer-text h2 { margin: 0 0 18px; }
.sch-trainer-person { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; padding: 14px; border-radius: var(--radius); background: var(--blue-50); }
.sch-trainer-person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; flex-shrink: 0; }
.sch-trainer-person strong { display: block; color: var(--navy-900); }
.sch-trainer-person span { font-size: .9rem; color: var(--ink-soft); line-height: 1.45; }

/* Häufige Fragen */
.sch-faq { max-width: 860px; }
.sch-faq-item { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 12px; }
.sch-faq-item summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; font-weight: 600; color: var(--navy-900); position: relative; }
.sch-faq-item summary::-webkit-details-marker { display: none; }
.sch-faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--blue-600); }
.sch-faq-item[open] summary::after { content: "–"; }
.sch-faq-body { padding: 0 22px 20px; }
.sch-faq-body p { margin: 0 0 12px; }
.sch-faq-body blockquote { margin: 0; padding: 12px 16px; border-left: 3px solid var(--blue-600); background: var(--blue-50); font-size: .9rem; color: var(--ink-soft); }
.sch-faq-body cite { display: block; margin-top: 8px; font-style: normal; font-weight: 600; font-size: .82rem; color: var(--muted); }

@media (max-width: 900px) {
  .sch-courses, .sch-trainer { grid-template-columns: 1fr; }
  .sch-steps { grid-template-columns: 1fr 1fr; }
  .sch-combo-card { grid-template-columns: 1fr; }
  .sch-combo-body { padding: 26px 24px 28px; }
  .sch-combo-body h3 { font-size: 1.45rem; }
  .sch-combo-card--text .sch-combo-body { grid-template-columns: 1fr; padding: 26px 24px 28px; }
}
@media (max-width: 560px) {
  .sch-steps { grid-template-columns: 1fr; }
  .sch-course-body { padding: 22px; }
  .sch-usp { flex-direction: column; align-items: flex-start; }
}


/* 11. Unterseiten Schulungen und Prüfungen
   ========================================================================== */
.sub-hero-actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.sub-hero-phone { color: #d3e3f7; }
.sub-hero-phone a { color: #fff; font-weight: 600; }
.sub-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.sub-fact { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.sub-fact svg { width: 26px; height: 26px; color: var(--blue-600); stroke-width: 1.9; margin-top: 2px; }
.sub-fact span { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.sub-fact strong { display: block; color: var(--navy-900); line-height: 1.35; }
.sub-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.sub-intro-media img { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.sub-intro-text h2 { margin: 0 0 14px; }
.sub-intro-text .sch-who { margin-top: 22px; }
.sub-intro-text .sch-trainer-person { margin: 18px 0 0; }
.sub-focus { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.sub-focus li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.sub-focus svg { width: 20px; height: 20px; color: var(--blue-600); stroke-width: 2.6; margin-top: 3px; }
.sub-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sub-feature { padding: 22px; border-radius: var(--radius); background: var(--blue-50); }
.sub-feature h3 { margin: 12px 0 6px; font-size: 1.08rem; }
.sub-feature p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.sub-feature-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--blue-600); color: #fff; }
.sub-feature-icon svg { width: 22px; height: 22px; }
.sub-back { margin: 18px 0 0; }

@media (max-width: 900px) {
  .sub-facts { grid-template-columns: 1fr 1fr; }
  .sub-intro, .sub-focus { grid-template-columns: 1fr; }
  .sub-features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .sub-facts, .sub-features { grid-template-columns: 1fr; }
}


/* 12. Prüfungen
   ========================================================================== */
.pr-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pr-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.pr-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -16px rgba(11,39,72,.4); }
.pr-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.pr-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pr-badge { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.95); color: var(--navy-900); font-size: .8rem; font-weight: 600; }
.pr-badge svg { width: 14px; height: 14px; color: var(--blue-600); }
.pr-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.pr-card-body h3 { margin: 0 0 6px; font-size: 1.2rem; color: var(--navy-900); }
.pr-card-body p { margin: 0 0 16px; color: var(--ink-soft); font-size: .95rem; }
.pr-card-body .link-arrow { margin-top: auto; }
.pr-card--note { background: var(--blue-50); box-shadow: none; border-style: dashed; }
.pr-card--note h3 { margin-top: 14px; }
.pr-split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.pr-split h2 { margin: 0 0 8px; }

/* Kasten „Ihr Prüfer“ */
.pr-qual { padding: 24px; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-md); border: 1px solid var(--line); text-align: left; }
.pr-qual-head { display: flex; gap: 16px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.pr-qual-head img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: top; flex-shrink: 0; }
.pr-qual-head strong { display: block; font-size: 1.15rem; color: var(--navy-900); }
.pr-qual-head span { display: block; font-size: .88rem; line-height: 1.45; color: var(--ink-soft); }
.pr-qual-head .pr-qual-kicker { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-700); }
.pr-qual-title { margin: 16px 0 8px; font-weight: 600; color: var(--navy-900); }
.pr-qual-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pr-qual-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--navy-900); font-weight: 500; }
.pr-qual-list svg { width: 18px; height: 18px; margin-top: 4px; color: var(--blue-600); stroke-width: 2.6; }
.pr-qual-list small { display: block; font-size: .8rem; font-weight: 400; color: var(--muted); margin-top: 1px; }

/* Prüffristen als Kacheln */
.pf-ints { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.pf-int { display: flex; flex-direction: column; padding: 18px 18px 16px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); border-top: 4px solid var(--blue-600); }
.pf-int--alt { border-top-color: var(--navy-900); }
.pf-int-name { font-weight: 700; font-size: 1.05rem; color: var(--navy-900); margin-bottom: 8px; }
.pf-int-pre { font-size: .82rem; color: var(--ink-soft); line-height: 1.3; min-height: 2.6em; }
.pf-int-val { font-size: 1rem; color: var(--navy-900); line-height: 1.1; margin: 2px 0 10px; }
.pf-int-val strong { font-size: 2rem; font-weight: 800; color: var(--blue-700); }
.pf-int--alt .pf-int-val strong { font-size: 1.35rem; line-height: 1.5; }
.pf-int-src { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); }

@media (max-width: 1000px) {
  .pf-ints { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .pr-cards { grid-template-columns: 1fr 1fr; }
  .pr-split { grid-template-columns: minmax(0, 1fr); }
  .pr-split > * { min-width: 0; }
}
@media (max-width: 560px) {
  .pr-cards { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .pf-ints { grid-template-columns: 1fr; }
}


/* 13. Gefährdungsbeurteilung
   ========================================================================== */
.gb-benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gb-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gb-partner { margin-top: 28px; display: flex; align-items: center; gap: 20px; padding: 22px 26px; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.gb-partner img { width: 56px; height: 56px; flex-shrink: 0; }
.gb-partner strong { display: block; color: var(--navy-900); font-size: 1.08rem; }
.gb-partner p { margin: 4px 0 0; color: var(--ink-soft); font-size: .95rem; }
.gb-partner-actions { margin-left: auto; display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }

@media (max-width: 900px) {
  .gb-benefits { grid-template-columns: 1fr 1fr; }
  .gb-steps { grid-template-columns: 1fr; }
  .gb-partner { flex-direction: column; align-items: flex-start; }
  .gb-partner-actions { margin-left: 0; }
}
@media (max-width: 560px) {
  .gb-benefits { grid-template-columns: 1fr; }
}


/* 14. Über uns
   ========================================================================== */
.uu-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.uu-timeline li { display: flex; gap: 16px; align-items: flex-start; }
.uu-timeline strong { display: block; color: var(--navy-900); }
.uu-timeline p { margin: 2px 0 0; color: var(--ink-soft); font-size: .95rem; }
.uu-year { flex-shrink: 0; min-width: 64px; padding: 4px 10px; border-radius: 999px; background: var(--blue-600); color: #fff; font-weight: 700; font-size: .9rem; text-align: center; }
.uu-team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.uu-person { display: flex; gap: 20px; align-items: flex-start; padding: 22px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.uu-person img { width: 110px; height: 136px; object-fit: cover; object-position: top; border-radius: var(--radius); flex-shrink: 0; }
.uu-person h3 { margin: 0; font-size: 1.25rem; }
.uu-person p:last-child { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.uu-role { margin: 2px 0 10px; color: var(--blue-700); font-weight: 600; font-size: .92rem; }
.uu-partner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 48px; align-items: center; }
.uu-partner img { width: 100%; max-width: 320px; height: auto; justify-self: center; }
.uu-partner h2 { margin: 0 0 12px; }
.uu-note { margin: 22px 0 0; font-size: .85rem; color: var(--muted); }

@media (max-width: 900px) {
  .uu-team, .uu-partner { grid-template-columns: 1fr; }
  .uu-partner img { justify-self: start; max-width: 240px; }
}
@media (max-width: 560px) {
  .uu-person { flex-direction: column; }
}


/* 15. Impressum und Datenschutz
   ========================================================================== */
.legal-page { max-width: 820px; }
.legal-page h2 { font-size: 1.35rem; }
.legal-page h3 { font-size: 1.1rem; }
.legal-page p, .legal-page li { color: var(--ink-soft); overflow-wrap: anywhere; }


/* 16. Anfrageformular und Anfrageliste
   ========================================================================== */
.af-wrap { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.af { padding: 30px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.af-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.af-full { grid-column: 1 / -1; }
.af-sub { margin: 8px 0 -4px; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 700; color: var(--navy-900); }
.af-sub--first { margin-top: 0; padding-top: 0; border-top: 0; }

/* Felder */
.af-field { display: grid; gap: 6px; }
.af-field[hidden] { display: none; }
.af-field > span { font-weight: 600; font-size: .92rem; color: var(--navy-900); }
.af input[type=text], .af input[type=email], .af input[type=tel], .af input[type=number], .af select, .af textarea {
  width: 100%; padding: 11px 14px;
  border: 1px solid #c7d4e4; border-radius: var(--radius);
  background: #fbfdff;
  font: inherit; font-size: 1rem; color: var(--ink);
}
.af textarea { resize: vertical; min-height: 140px; }
.af input:focus, .af select:focus, .af textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(22,99,199,.18); background: #fff; }
.af--checked :invalid { border-color: #d33; }
.af-check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-soft); }
.af-check input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; accent-color: var(--blue-600); }
.af--checked .af-check input:invalid + span { color: var(--error); }
.af-liefer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; padding: 16px; border-radius: var(--radius); background: var(--blue-50); }
.af-liefer[hidden] { display: none; }
/* Spam-Schutz: unsichtbares Feld, das nur Bots ausfüllen */
.af-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Absenden, Fehlermeldung */
.af-actions { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.af-actions .btn { font-size: 1rem; padding: 12px 28px; }
.af-error { margin: 0 0 18px; padding: 12px 16px; border-radius: var(--radius); background: #fdecec; color: #8a1c1c; }
.af-check a, .af-actions a, .af-contact a { color: var(--blue-700); }

/* Seitenleiste „Direkter Kontakt“ */
.af-side { padding: 26px; border-radius: var(--radius-lg); background: var(--blue-50); }
.af-side h2 { margin: 0 0 14px; font-size: 1.25rem; }
.af-contact { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.af-contact li { display: flex; gap: 12px; align-items: flex-start; }
.af-contact svg { width: 20px; height: 20px; color: var(--blue-600); margin-top: 3px; }

/* Anfrageliste im Formular */
.af-list ul { list-style: none; margin: 8px 0 12px; padding: 0; display: grid; gap: 8px; }
.af-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius); background: var(--blue-50); border: 1px solid var(--line); }
.af-list-typ { padding: 2px 8px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--blue-100); color: var(--blue-700); }
.af-list-typ--schulung { background: #fde7cc; color: #8a4b0b; }
.af-list-typ--pruefung { background: #dff3e4; color: #1f6b34; }
.af-list-name { font-weight: 600; color: var(--navy-900); line-height: 1.35; }
.af-list-qty { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); }
.af .af-list-qty input { width: 78px; padding: 6px 8px; }
.af-list-del { width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.af-list-del:hover { background: #fdecec; color: var(--error); }
.af-list-empty { margin: 8px 0 12px; padding: 14px; border-radius: var(--radius); border: 1px dashed #c7d4e4; color: var(--muted); font-size: .95rem; }
.af-list-empty a, .af-list-hint a { color: var(--blue-700); }
.af-list-hint { margin: 8px 0 0; font-size: .85rem; color: var(--muted); }
.af-list-err { display: none; margin: 8px 0 0; color: var(--error); font-size: .9rem; font-weight: 600; }
.af-list-wrap.is-invalid .af-list-err { display: block; }

/* Hinweis nach „Zur Anfrage hinzufügen“ */
.hb-toast { position: fixed; left: 50%; bottom: 20px; z-index: 200; display: flex; align-items: center; gap: 16px; max-width: calc(100% - 32px); padding: 14px 16px 14px 20px; border-radius: var(--radius-lg); background: var(--navy-900); color: #fff; box-shadow: 0 18px 40px -12px rgba(0,0,0,.45); transform: translate(-50%, 140%); opacity: 0; transition: transform .25s, opacity .25s; }
.hb-toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.hb-toast .btn { flex-shrink: 0; padding: 8px 16px; font-size: .9rem; }

@media (max-width: 900px) {
  .af-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .af { padding: 20px; }
  .af-grid, .af-liefer { grid-template-columns: 1fr; }
  .af-list li { grid-template-columns: minmax(0, 1fr) auto; }
  .af-list-typ { grid-column: 1 / -1; justify-self: start; }
  .hb-toast { flex-direction: column; align-items: stretch; text-align: center; }
}


/* 17. Barrierefreiheit: reduzierte Bewegung
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  .hero-scroll { animation: none; }
}
