/* =========================================================
   Kretsch · Ruhige Schicht (04.11.2026)
   Wird als letztes Stylesheet auf jeder Seite geladen und nimmt die Optik heraus, die nach KI aussah:
   Verlaufsflächen, Glas (backdrop-filter), Leuchtpunkte, Blueprint-Gitter, Ladescreen, Zeiger-Animation,
   generische Symbole (Phosphor), Pillen-Knöpfe. Vorlage für Ruhe und
   Abstände: Krohnbau (Abschnittsluft 64 / 88 / 128 px). Farben und Logo bleiben Kretsch (Navy, Blau, Rot).
   Bewegung nur transform und opacity, 500 bis 800 ms, reduzierte Bewegung beachtet.
   ========================================================= */
:root {
  --radius: 6px;
  --radius-sm: 4px;
  --font-display: "Barlow Condensed", system-ui, sans-serif;
  --luft: clamp(4rem, 2.6rem + 6vw, 9rem);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow-sm: 0 1px 2px rgba(10, 31, 68, .06);
  --shadow-md: 0 1px 2px rgba(10, 31, 68, .06);
  --nav-bg: #fff;
}

/* ---------- Raus: Ladescreen, Gitter, Zeiger, Glanz ---------- */
#preloader, #bggrid { display: none !important; }
.grid-overlay::before { display: none !important; }
html, body { cursor: auto !important; }
a, button, .btn, label, select, summary, [role="button"], .nav__toggle, .contact__item, .map-consent { cursor: pointer !important; }
input, textarea { cursor: text !important; }
.nav__toggle::after { display: none !important; animation: none !important; }
.openstate__dot { box-shadow: none !important; }

/* Generische Symbole: nur das Menü-Zeichen und der Pfeil am Leistungsmenü bleiben (Bedienung) */
.ph { display: none !important; }
.nav__toggle .ph, .nav__dd-t .ph { display: inline-block !important; }
.contact__item > i, .cookie__icon, .map-consent > i, .job__icon, .kjob__bild > i { display: none !important; }

/* ---------- Schrift: ruhig, wie Krohnbau (Barlow Condensed für Überschriften) ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: 0; font-weight: 600; text-wrap: balance; }
.hero h1, .khero h1, .page-hero h1 { font-weight: 700; letter-spacing: .005em; }
p { text-wrap: pretty; }

/* ---------- Abstände ---------- */
.section { padding-block: var(--luft); }
#kennzahlen { padding-block: var(--luft); }

/* ---------- Knöpfe: eckig 6 px, flach, mindestens 44 px ---------- */
.btn { border-radius: 6px; box-shadow: none !important; min-height: 48px; }
.btn--sm { min-height: 44px; }
.btn:hover, .btn:active { transform: none !important; }
.btn--light { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: transparent; border-color: rgba(255, 255, 255, .72); }
.btn--light:hover { background: rgba(255, 255, 255, .12); }

/* ---------- Kopfleiste: fest, ohne Glas ---------- */
.nav { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: #fff; }
.nav.is-scrolled { box-shadow: none; }
.brand__logo { border-radius: 0; }

/* ---------- Startbereich: echtes Foto, darüber das Video ---------- */
.hero { background: var(--navy); border-bottom: 0; }
.hero__bild, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero__video { opacity: 0; transition: opacity .8s var(--ease); }
.hero__video.ist-bereit { opacity: 1; }
/* Schleier als gleichmäßige Abdunklung, keine Verlaufsfläche. Weißer Text auf dem hellsten Pixel ≥ 4,5:1 */
.hero__scrim { background: rgba(8, 20, 46, .64) !important; }
.hero__brandname { color: #fff; -webkit-text-stroke: 0; text-shadow: none !important; border-bottom: 2px solid var(--red); }
.hero__mark { border-radius: 4px; box-shadow: none; }
.hero h1 em { color: #e2ecff; }
.hero__sub { color: #e3eaf6; }
.hero__eco { background: none; border-radius: 0; border-left: 2px solid var(--red); color: #fff; padding: 4px 0 4px 14px; }
.hero__aiwm, .hero__scroll { display: none !important; }
@media (max-width: 560px) {
  .hero { min-height: 88svh; }
  .hero__scrim { background: rgba(8, 20, 46, .68) !important; }
  .hero__brandname { text-shadow: none !important; }
}

/* ---------- Kennzahlen: Haarlinien statt Kacheln ---------- */
.wert__v { font-family: var(--font-display); font-weight: 600; }

/* ---------- Leistungen: Bild mit gleichmäßigem Schleier ---------- */
.gewerk__fig--kopf::after { background: rgba(10, 31, 68, .62) !important; }
.gewerk__auf h3 { text-shadow: none; }
.gewerk__chip { border-radius: 4px; }
.gewerk__fig.foto, .teamfoto, .leistung__foto { box-shadow: none; }

/* ---------- Bildband: zwei laufende Reihen, große echte Fotos (Bauart Krohnbau) ---------- */
.streifen { padding-block: 0; display: grid; gap: 12px; background: var(--bg); }
.streifen::before, .streifen::after { display: none; }
.streifen__spur { gap: 12px; }
.streifen__spur img { height: clamp(180px, 20vw, 300px); border-radius: 0; }
.streifen__bild { border-radius: 0; }
.streifen__spur--zwei { animation-duration: 140s; animation-direction: reverse; }
@media (prefers-reduced-motion: reduce) {
  .streifen { overflow: visible; }
  .streifen__spur { overflow-x: auto; width: auto; max-width: 100%; }
  .streifen__spur--zwei li:nth-child(n+9) { display: none; }
}

/* ---------- Über uns ---------- */
.about__box, .about--zwei .about__mehr { box-shadow: none; }
.about__quote { background: none; }

/* ---------- Für wen wir arbeiten: Text auf Haarlinie, ohne Piktogramme ---------- */
.fuer { margin-top: clamp(32px, 4vw, 52px); }
.fuer__s h3 { font-size: 1.35rem; }

/* ---------- Karriere-Hinweis der Startseite: Clip im Hochformat ---------- */
.teamfoto--clip { position: relative; aspect-ratio: 3 / 4; max-width: 440px; width: 100%; justify-self: center; background: var(--navy); }
.teamfoto--clip img, .teamfoto--clip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.teamfoto--clip video { opacity: 0; transition: opacity .8s var(--ease); }
.teamfoto--clip video.ist-bereit { opacity: 1; }
@media (max-width: 1020px) { .teamfoto--clip { max-width: 360px; justify-self: start; } }

/* ---------- Kontakt: Liste ohne Symbol-Plaketten ---------- */
.contact__item { border-radius: var(--radius); }
.contact__item:hover, .contact__item:active { transform: none; }
.map-consent::after { background: rgba(246, 248, 252, .7) !important; }
.map-credit { border-radius: 2px; }

/* ---------- Unterseiten: ruhiger Kopf ohne Verlauf und Gitter ---------- */
.page-hero { background: var(--surface) !important; }
.page-hero::after { background: var(--red) !important; height: 2px !important; }
.svc3d { background: var(--surface-2) !important; border-radius: var(--radius) !important; box-shadow: none !important; }
.svc3d::after { border-radius: 2px !important; }
.ablauf li:last-child::after { background: var(--blue) !important; }

/* ---------- Karriere-Kopf: Video aus eigenen Fotos statt Raster ---------- */
.khero__media, .kjob__bild { background-image: none !important; background-color: var(--navy); }
.khero__media img, .khero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.khero__scrim { background: rgba(10, 31, 68, .66) !important; }
.khero .eyebrow, .khero__fakten { color: #fff; }
.khero p { color: #e3eaf6; }
.khero__fakten li + li::before { content: "·"; margin-right: 14px; color: #ffb3bd; }
.khero__fakten { gap: 6px 14px; }

/* ---------- Stellenkarten: Bild bzw. Clip im Hochformat neben dem Text ---------- */
.kjob__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.kjob__bild::after { height: 3px; }
.kvorteile li { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; padding: 18px 0 0; }
.kvorteile h3 { margin-top: 0; font-size: 1.3rem; }

/* ---------- Einblenden: 600 ms, 24 px, nur transform und opacity ---------- */
.reveal { transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero__video, .teamfoto--clip video, .khero__media video, .kjob__bild video { display: none !important; }
}

/* Stellenkarten untereinander, ab 800 px Bild links im Hochformat (3:4), Text rechts */
.kjobs { grid-template-columns: 1fr; gap: clamp(32px, 4vw, 56px); }
.kjob { box-shadow: none; }
.kjob:hover { transform: none; box-shadow: none; }
.kjob__bild { aspect-ratio: 1 / 1; }
@media (min-width: 800px) {
  .kjob { flex-direction: row; align-items: stretch; }
  .kjob__bild { flex: 0 0 min(38%, 420px); aspect-ratio: 3 / 4; align-self: flex-start; }
  .kjob__bild::after { left: auto; top: 0; width: 3px; height: auto; }
  .kjob__in { padding: clamp(24px, 3vw, 40px); }
}

/* Tippflächen ≥ 44 px auch am Rechner (Kopf, Fuß, Kontaktangaben) */
.brand, .nav__links > li > a, .footer ul a, .footer a, .contact__item a.val, .contact__route, .bform--anfrage .check a { display: inline-flex !important; align-items: center; min-height: 44px !important; }
.khero { background: var(--navy); }
.hero__brandname { color: #fff !important; }
.tag { border-radius: 4px !important; }

/* Leistungsseiten: großes eigenes Foto statt 3D-Szene (Bauart Krohnbau: Foto groß, ruhig, ohne Kasten) */
.leistung__gross, .service__foto { margin: 0; }
.leistung__gross img { display: block; width: 100%; height: auto; border-radius: 0; }
.leistung__gross figcaption, .service__foto figcaption { margin-top: 12px; font-size: .92rem; line-height: 1.45; color: var(--muted); }
.service__foto { margin-bottom: 22px; }
.service__foto img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; }

/* Kleine Handys (320 × 568): Zweitsatz im Startbereich aus, damit beide Knöpfe im ersten Bildschirm stehen (Mobil-Prüfer 04.11.2026) */
@media (max-width: 400px) and (max-height: 700px) { .hero__eco { display: none; } }

/* Startbereich auf der Linie von Logo und Menü (Vertrauens-Prüfer 04.11.2026): Container volle Breite, nur der Inhalt bleibt schmal */
.hero__inner { max-width: var(--maxw); }
.hero__inner > * { max-width: 780px; }

/* Kein Flackern (05.11.2026): die Seite blendet beim Wechsel nicht mehr von Weiss ein,
   und was beim Laden schon im Bild steht (.sofort, setzt revealIn), ist sofort da, ohne Gleiten. Darunter gleitet weiter beim Scrollen. */
body { animation: none !important; }
.reveal.sofort { transition: none !important; }

/* ===== 22.10.2026, gerettet 11.11.2026: Über uns, Für wen wir arbeiten, Kontakt ===== */
/* Abschnittstitel „Über uns" und „Für wen wir arbeiten": Etikett-Form, etwas größer, als echte Überschrift */
h2.eyebrow--titel, .section-head h2.eyebrow--titel { font-family: var(--font-cond); font-size: clamp(1.1rem, 1.5vw, 1.35rem); font-weight: 700; letter-spacing: .2em; line-height: 1.2; text-transform: uppercase; color: var(--red); margin: 0 0 18px; }
h2.eyebrow--titel::before { width: 36px; height: 3px; }
/* Über uns: Zitat in der Überschriftenschrift, daneben (Handy: darunter) der kurze Text ohne Kasten */
#ueber-uns .about__quote--lead { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.3vw, 1.85rem); line-height: 1.3; color: var(--ink); }
.about__fliess { display: flex; flex-direction: column; justify-content: center; }
.about__fliess p { font-size: 1.08rem; line-height: 1.65; color: var(--text); max-width: 52ch; margin: 0 0 14px; }
.about__fliess p:last-child { margin-bottom: 0; }
/* Kontakt: Telefon und Fax nebeneinander */
.contact__list--zwei { grid-template-columns: 1fr 1fr; }
.contact__list--zwei > .contact__item { grid-column: 1 / -1; }
.contact__list--zwei > .contact__item--halb { grid-column: auto; }
.contact__item--halb .val { white-space: nowrap; }
@media (max-width: 720px) {
  /* Für wen wir arbeiten: auch am Handy zwei nebeneinander */
  .fuer { grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .fuer__s, .fuer__s:first-child { border-top: 0; margin-top: 0; padding: 18px 0 6px; }
  .fuer__s:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 10px; }
  .fuer__s h3 { font-size: 1rem; }
  .fuer__s p { font-size: .9rem; }
  .fuer__s ul { font-size: .84rem; }
  /* Telefon und Fax: Symbol über der Nummer, damit die Nummer in eine Zeile passt */
  .contact__item--halb { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 14px; }
  .contact__item--halb > i { width: 38px; height: 38px; font-size: 1.15rem; }
  .contact__item--halb .val { font-size: .98rem; }
}
