/* ==========================================================================
   Gerüstbau Plauen – Stylesheet (Version 2)
   Ein einziges Stylesheet für alle Seiten. Keine Build-Schritte, keine Abhängigkeiten.

   Inhalt:
   Grundbausteine (aus Version 1)            Seitenbereiche (neu in Version 2)
    1. Schriften                             17. Startseite, Unternehmen, Team    (.se-…)
    2. Variablen                             18. Leistungen, Referenzen           (.ku-…)
    3. Grundlagen                            19. Karriere                         (.ka-…)
    4. Kopfzeile + Menü                      20. Kontakt, Statistik-Auswertung    (.ko-…)
    5. Buttons (+ Symbole in Buttons)        21. Druck
    6. Seitenbanner (Unterseiten)
    7. Startseite (Hero, Leistungsblock, Logos)
    8. Bildkacheln
    9. Team
   10. Listen + Adresse
   11. Referenzen
   12. Kontakt + Formular (alle Formularfelder, auch Bewerbung; Fehlerseiten)
   13. Karte
   14. Rechtstexte
   15. Fußzeile
   16. Handy-Leiste, Zähler, Platzhalter

   Klassen-Präfixe: ohne Präfix = gemeinsamer Baustein für alle Seiten; .se-/.ku-/.ka-/.ko- =
   nur im jeweiligen Seitenbereich. Neues CSS in den passenden Abschnitt schreiben.
   ========================================================================== */

/* 1. Schriften (lokal, Latin-Zeichensatz inkl. Umlaute) --------------------- */
@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/open-sans-400-latin.woff2") format("woff2");
}
@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/open-sans-600-latin.woff2") format("woff2");
}
@font-face {
    font-family: "Francois One";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/francois-one-400-latin.woff2") format("woff2");
}
@font-face {
    font-family: "Roboto Condensed";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("../fonts/roboto-condensed-300-latin.woff2") format("woff2");
}
@font-face {
    font-family: "Roboto Condensed";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/roboto-condensed-700-latin.woff2") format("woff2");
}

/* 2. Variablen -------------------------------------------------------------- */
:root {
    --gruen: #009036;          /* Hausfarbe – nur für Dekoration (Linien, Rahmen, Symbole) */
    --gruen-text: #00802f;     /* Grün für Flächen MIT Schrift und für grüne Schrift:
                                  Weiß auf #00802f = 5,09 : 1, #00802f auf Weiß ebenso
                                  (WCAG AA verlangt 4,5 : 1; #009036 hätte nur 4,16 : 1) */
    --gruen-dunkel: #006b28;   /* Hover-Zustände, 6,7 : 1 zu Weiß */
    --gruen-hell: #e6f4ec;
    --dunkel: #3a3a3a;
    --text: #5b5b5b;           /* Fließtext (etwas dunkler als früher, besser lesbar) */
    --ueberschrift: #4a4a4a;
    --grau-hell: #f1f1f1;
    --rahmen: #dddddd;
    --breite: 1080px;          /* Inhaltsbreite */
    --schrift: "Open Sans", Arial, sans-serif;
    --schrift-titel: "Francois One", "Arial Narrow", Arial, sans-serif;
    --schrift-menue: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
    --leiste-hoehe: 58px;      /* feste Anruf/Jobs-Leiste unten auf dem Handy */
}

/* 3. Grundlagen ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    font-family: var(--schrift);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background: #fff;
}

strong, b { font-weight: 600; }   /* echte Open Sans SemiBold statt künstlich fett */

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

a { color: var(--gruen-text); }
a:hover { color: var(--gruen-dunkel); }

:focus-visible { outline: 3px solid var(--gruen); outline-offset: 2px; }
/* Auf grünen und dunklen Flächen wäre der grüne Ring kaum sichtbar (1,2 : 1) – dort weiß
   (5,1 : 1 auf --gruen-text, 11 : 1 auf --dunkel). Gleiches Muster wie .ku-cta. */
.topbar :focus-visible, .footer__unten :focus-visible, .se-jobband :focus-visible,
.leistungsblock__titel :focus-visible, .ka-hero :focus-visible, .kontakt-box :focus-visible,
.se-aktionen :focus-visible, .se-cta :focus-visible { outline-color: #fff; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--schrift-titel);
    font-weight: 400;
    color: var(--ueberschrift);
    line-height: 1.2;
    text-transform: uppercase;
    margin: 0 0 .6em;
}
h1 { font-size: clamp(1.7rem, 3.2vw, 2.1rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }

.container {
    width: 100%;
    max-width: var(--breite);
    margin: 0 auto;
    padding: 0 20px;
}

.section { padding: 60px 0; }
@media (max-width: 759px) { .section { padding: 36px 0; } }
.section--grau { background: var(--grau-hell); }
.zentriert { text-align: center; }
.untertitel { font-size: 1.2rem; margin-top: -.4em; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: 10px; top: -60px; z-index: 100;
    background: var(--gruen-text); color: #fff; padding: 10px 16px;
    text-decoration: none;
}
.skip-link:focus { top: 10px; color: #fff; }

/* 4. Kopfzeile + Menü -------------------------------------------------------- */
.topbar {
    background: var(--gruen-text);
    color: #fff;
    font-family: var(--schrift-menue);
    font-size: .8rem;
    text-transform: uppercase;
}
.topbar__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px 18px;
    min-height: 40px;
    padding-top: 6px;
    padding-bottom: 6px;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 15px; height: 15px; flex: none; }
/* Stellen-Hinweis: erster und auffälligster Eintrag der Kopfleiste */
.topbar__jobs { display: inline-block; font-family: var(--schrift); font-weight: 600; text-transform: none; font-size: .85rem; }   /* kein Flex: sonst Lücke vor dem Doppelpunkt */
.topbar__jobs .pfeil { font-family: Arial, sans-serif; }   /* Pfeil fehlt im Latin-Zeichensatz der Webschriften */
@media (max-width: 599px) {
    /* Handy: nur Stellen-Hinweis und Telefonnummer, möglichst in einer Zeile */
    .topbar__inner { flex-wrap: nowrap; justify-content: space-between; gap: 10px; padding-left: 12px; padding-right: 12px; }
    .topbar__mail, .topbar__zeiten { display: none; }
    .topbar__jobs { font-size: .78rem; white-space: nowrap; }
    .topbar__tel { white-space: nowrap; }
}
@media (max-width: 479px) {
    .topbar__jobs-detail { display: none; }   /* sehr schmal: nur „Wir stellen ein →“ */
}

.header { background: #fff; position: relative; z-index: 20; }
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;             /* Mindestabstand Logo ↔ Menü („Startseite“) */
    min-height: 90px;
}

/* Logo: auf großen Bildschirmen als weiße Karte, die in das Bild darunter ragt */
.logo { display: block; flex: none; }
.logo img { width: 200px; height: auto; }
@media (min-width: 1050px) {
    .logo {
        align-self: flex-start;
        background: #fff;
        padding: 18px 26px 22px;
        margin-bottom: -80px;
        box-shadow: 1px 2px 2px rgba(0, 0, 0, .23);
        border-radius: 0 0 6px 6px;
    }
    .logo img { width: 340px; }
}
/* Schmaler Desktop: Logo-Karte etwas kleiner, damit das Menü Abstand zum Logo behält */
@media (min-width: 1050px) and (max-width: 1239px) {
    .logo img { width: 300px; }
}

.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a {
    font-family: var(--schrift-menue);
    font-weight: 300;
    text-transform: uppercase;
    text-decoration: none;
    color: #666;
    font-size: 1.1rem;
}
.nav a:hover, .nav a[aria-current="page"], .nav .ist-aktiv > a { color: var(--dunkel); }

/* Menüpunkt „Karriere“: hervorgehobener grüner Knopf */
.nav .nav__karriere > a {
    background: var(--gruen-text);
    color: #fff;
    font-weight: 700;
    border-radius: 3px;
}
.nav .nav__karriere > a:hover { background: var(--gruen-dunkel); color: #fff; }
.nav .nav__karriere > a[aria-current="page"],
.nav .nav__karriere.ist-aktiv > a { background: var(--gruen-dunkel); color: #fff; }

.menu-toggle { display: none; }

/* Menü Desktop */
@media (min-width: 900px) {
    .nav__liste { display: flex; align-items: center; gap: 16px; }
    .nav__liste > li { position: relative; }
    .nav__liste > li > a {
        display: inline-block;
        white-space: nowrap;   /* Pfeil der Untermenüs bleibt neben dem Wort */
        padding: 8px 0;
        border-bottom: 2px solid transparent;
    }
    .nav__liste > li > a[aria-current="page"],
    .nav__liste > li.ist-aktiv > a { border-bottom-color: var(--gruen); }
    .nav__liste > li > a:hover { border-bottom-color: var(--rahmen); }
    .nav__liste > li.nav__karriere > a { padding: 6px 16px; border-bottom: 0; }
    .nav__liste > li.nav__karriere > a[aria-current="page"],
    .nav__liste > li.nav__karriere.ist-aktiv > a { box-shadow: inset 0 -3px 0 rgba(255, 255, 255, .55); }

    .hat-untermenue > a::after {
        content: "";
        display: inline-block;
        width: 6px; height: 6px;
        margin: 0 0 4px 6px;
        border-right: 1px solid currentColor;
        border-bottom: 1px solid currentColor;
        transform: rotate(45deg);
    }
    .untermenue {
        position: absolute;
        left: -14px; top: 100%;
        min-width: 170px;
        background: #fff;
        box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
        padding: 8px 0;
        opacity: 0; visibility: hidden;
        transform: translateY(6px);
        transition: opacity .15s, transform .15s, visibility .15s;
    }
    .hat-untermenue:hover .untermenue,
    .hat-untermenue:focus-within .untermenue {
        opacity: 1; visibility: visible; transform: none;
        transition: opacity .15s, transform .15s, visibility 0s;   /* sofort fokussierbar für Tastatur */
    }
    .untermenue a { display: block; padding: 6px 16px; font-size: 1rem; }
    .untermenue a:hover, .untermenue a[aria-current="page"] { background: rgba(0, 0, 0, .06); }
}

/* Menü Desktop: sechs Punkte (zwei mit Untermenü-Pfeil) + Logo müssen in eine Zeile passen,
   mit sichtbarem Abstand zur Logo-Karte (gilt seit 16.10.2026 für alle Desktop-Breiten) */
@media (min-width: 900px) {
    .nav__liste { gap: 12px; }
    .nav a { font-size: 1rem; }
}

/* Menü Handy/Tablet. Ohne JavaScript ist das Menü einfach immer sichtbar. */
@media (max-width: 899px) {
    .header__inner { flex-wrap: wrap; min-height: 70px; }
    .logo img { width: 150px; }
    .js .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px; height: 44px;
        border: 0; border-radius: 50%;
        background: var(--gruen-text);
        color: #fff;
        cursor: pointer;
    }
    .menu-toggle svg { width: 22px; height: 22px; }
    .menu-toggle .icon-schliessen { display: none; }
    .menu-toggle[aria-expanded="true"] .icon-oeffnen { display: none; }
    .menu-toggle[aria-expanded="true"] .icon-schliessen { display: block; }

    .nav { flex-basis: 100%; }
    .js .nav { display: none; }
    .js .nav.ist-offen { display: block; }
    .nav__liste { border-top: 1px solid var(--rahmen); padding: 6px 0 14px; }
    .nav__liste a { display: block; padding: 10px 4px; border-bottom: 1px solid var(--grau-hell); }
    .untermenue a { padding-left: 24px; font-size: 1rem; }
    .nav a[aria-current="page"], .nav .ist-aktiv > a { color: var(--gruen-text); }
    .nav .nav__karriere > a { margin-top: 10px; padding-left: 12px; border-bottom: 0; }
}

/* 5. Buttons ----------------------------------------------------------------- */
.button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-family: var(--schrift);
    font-weight: 600;
    font-size: .9rem;
    letter-spacing: .02em;
    text-decoration: none;
    text-transform: uppercase;
    border: 2px solid var(--gruen-text);
    background: var(--gruen-text);
    color: #fff;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.button:hover { background: var(--gruen-dunkel); border-color: var(--gruen-dunkel); color: #fff; }
.button--rahmen { background: transparent; color: var(--gruen-text); }
.button--rahmen:hover { background: var(--gruen-text); color: #fff; }
.button--weiss { background: #fff; border-color: #fff; color: var(--dunkel); }
.button--weiss:hover { background: transparent; color: #fff; border-color: #fff; }
.button-reihe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5em; }
/* Symbole (Inline-SVG) in Buttons: Telefon-Hörer o. Ä. 16 px, Pfeile mit .icon-pfeil 12 px */
.button svg { width: 16px; height: 16px; flex: none; }
.icon-pfeil, .button svg.icon-pfeil { width: 12px; height: 12px; flex: none; }

/* 6. Seitenbanner (Unterseiten) ---------------------------------------------- */
.seitenbanner { background: #8fb5d6; }
.seitenbanner img {
    width: 100%;
    height: clamp(140px, 22vw, 250px);
    object-fit: cover;
    object-position: center 45%;
}

/* 7. Startseite --------------------------------------------------------------- */
.hero { position: relative; background: #9bb8c9; }
.hero__bild img {
    width: 100%;
    height: clamp(260px, 32vw, 420px);
    object-fit: cover;
    object-position: center 60%;
}
.hero__slogan {
    position: absolute;
    top: 0; bottom: 0;
    right: max(20px, calc((100% - var(--breite)) / 2 + 20px));
    width: 230px;
    background: rgba(255, 255, 255, .88);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px 22px 26px;
    margin: 0;
}
.hero__slogan img { width: 150px; margin: 0 auto 18px; }
.hero__slogan span {
    font-family: var(--schrift-titel);
    font-size: 2.9rem;
    line-height: 1.05;
    text-transform: uppercase;
    color: #767676;            /* früher #a9a9a9 (2,2 : 1) – jetzt über 3 : 1 für große Schrift */
}
@media (max-width: 700px) {
    .hero__slogan { width: 150px; padding: 12px 14px 16px; }
    .hero__slogan img { width: 90px; margin-bottom: 10px; }
    .hero__slogan span { font-size: 1.8rem; }
}

.zweispaltig {
    display: grid;
    gap: 40px;
    align-items: start;
}
@media (min-width: 760px) {
    .zweispaltig { grid-template-columns: 320px 1fr; }
    .zweispaltig--trenner > :last-child { border-left: 1px solid var(--rahmen); padding-left: 30px; }
}

.mitglied-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
    margin-top: 1em;
}
.mitglied-logos img { max-height: 70px; width: auto; max-width: 100%; margin: 0 auto; }
.mitglied-logos .logo-bvg { width: 280px; max-height: none; }

/* Leistungs-Block auf der Startseite: grüne Box + 2×2 Bilder vor Gerüst-Grafik */
.leistungsblock {
    background: url("../img/geruest-muster-1174.png") center / auto 100% repeat-x;
    margin: 30px 0 60px;
}
@supports (background-image: image-set(url("x.webp") type("image/webp"))) {
    .leistungsblock {
        background-image: image-set(url("../img/geruest-muster-1174.webp") type("image/webp"),
                                    url("../img/geruest-muster-1174.png") type("image/png"));
    }
}
.leistungsblock__inner { display: grid; }
@media (min-width: 760px) { .leistungsblock__inner { grid-template-columns: 1fr 1fr; } }
.leistungsblock__titel {
    position: relative;
    background: var(--gruen-text);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 30px;
}
.leistungsblock__titel::before {   /* kleines Dreieck oben, wie im Original */
    content: "";
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    border: 10px solid transparent;
    border-top-color: #fff;
}
.leistungsblock__titel h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; }
.leistungsblock__titel p { margin: 0; }
.leistungsblock__bilder { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #fff; }
.leistungsblock__bilder figure { margin: 0; position: relative; }
.leistungsblock__bilder img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.leistungsblock__bilder figcaption {
    position: absolute;
    left: 50%; bottom: 16%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, .9);
    color: #444;
    font-size: .85rem;
    line-height: 1.35;
    padding: 6px 14px;
    text-align: center;
    white-space: nowrap;
}


/* 8. Bildkacheln (Leistungen) ------------------------------------------------ */
.kacheln {
    list-style: none;
    margin: 0 0 50px;
    padding: 0;
    display: grid;
    gap: 26px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.kacheln--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
@media (min-width: 900px) {
    .kacheln--3 { grid-template-columns: repeat(3, 1fr); }
    .kacheln--3-schmal { grid-template-columns: repeat(3, 1fr); max-width: 760px; margin-left: auto; margin-right: auto; }
    .kacheln--4 { grid-template-columns: repeat(4, 1fr); }
}
.kachel { margin: 0; box-shadow: 0 1px 3px rgba(0, 0, 0, .18); background: var(--gruen-text); }
.kachel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.kacheln--3-schmal .kachel img, .kacheln--4 .kachel img { aspect-ratio: 6 / 5; }
.kachel figcaption {
    background: var(--gruen-text);
    color: #fff;
    text-align: center;
    padding: 8px 10px;
    font-size: .9rem;
    line-height: 1.4;
}

/* 9. Team -------------------------------------------------------------------- */
.team-person { margin: 0 0 40px; }
.team-person img { width: 100%; }
.team-person figcaption { padding-top: 12px; }
.team-person .name { display: block; font-family: var(--schrift-titel); text-transform: uppercase; color: var(--ueberschrift); letter-spacing: .03em; }
.team-person .rolle { display: block; font-family: var(--schrift-menue); font-weight: 700; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.team-raster { display: grid; gap: 40px; }
@media (min-width: 760px) {
    .team-raster { grid-template-columns: 1fr 1fr; }
    .team-raster .team-person figcaption { text-align: center; }
}

/* 10. Listen + Adresse ------------------------------------------------------- */
.haken-liste { list-style: none; padding: 0; margin: 0 0 1.5em; }
.haken-liste li { position: relative; padding-left: 28px; margin-bottom: .4em; }
.haken-liste li::before {
    content: "";
    position: absolute;
    left: 4px; top: .35em;
    width: 7px; height: 12px;
    border-right: 3px solid var(--gruen);
    border-bottom: 3px solid var(--gruen);
    transform: rotate(45deg);
}
.adresse { font-style: normal; margin-bottom: 1.1em; }

/* 11. Referenzen ---------------------------------------------------------------- */
.referenzen {
    list-style: none;
    margin: 0; padding: 0;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.referenzen a { display: block; position: relative; overflow: hidden; color: #fff; text-decoration: none; }
.referenzen img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s; }
.referenzen a:hover img, .referenzen a:focus-visible img { transform: scale(1.04); }
.referenzen span {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: rgba(0, 128, 47, .94);   /* --gruen-text, fast deckend: Kontrast auch über hellen Fotos */
    padding: 3px 14px;
    font-size: .95rem;
}
@media (prefers-reduced-motion: reduce) { .referenzen img { transition: none; } }

/* 12. Kontakt + Formular -------------------------------------------------------- */
.kontakt-raster { display: grid; gap: 40px; }
@media (min-width: 900px) { .kontakt-raster { grid-template-columns: 400px 1fr; gap: 60px; } }
.kontakt-box {
    position: relative;
    background: var(--gruen-text);
    color: #fff;
    padding: 50px 40px;
}
.kontakt-box h1 { color: #fff; }
.kontakt-box .button { width: 100%; justify-content: center; margin-top: 14px; text-transform: uppercase; }
@media (min-width: 900px) {
    .kontakt-box::after {   /* Pfeil Richtung Formular */
        content: "";
        position: absolute;
        right: -1px; top: 30px;
        border: 14px solid transparent;
        border-right-color: #fff;
    }
}

.formular label, .formular legend { display: block; font-size: .9rem; color: var(--dunkel); margin-bottom: 4px; }
.formular .feld { margin-bottom: 18px; }
.formular input[type="text"], .formular input[type="email"], .formular input[type="tel"], .formular textarea {
    width: 100%;
    font: inherit;
    font-size: 1rem;
    color: var(--dunkel);
    padding: 9px 12px;
    border: 1px solid #c8c8c8;
    border-radius: 0;
    background: #fff;
}
.formular input:focus, .formular textarea:focus { border-color: var(--gruen); outline: 2px solid var(--gruen); outline-offset: 0; }
.formular textarea { min-height: 150px; resize: vertical; }
.formular .pflicht { color: #b3261e; }
.formular .hinweis { font-size: .85rem; margin: -2px 0 18px; }
.formular .checkbox { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; font-size: .95rem; }
.formular .checkbox input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--gruen); }
/* Honigtopf-Feld für Spam-Bots: für Menschen unsichtbar */
.formular .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Auswahlliste und Datei-Feld (Kontakt- und Bewerbungsformular) */
.formular select,
.formular input[type="file"] {
    width: 100%;
    font: inherit;
    font-size: 1rem;
    color: var(--dunkel);
    padding: 9px 12px;
    border: 1px solid #c8c8c8;
    border-radius: 0;
    background: #fff;
}
.formular select { appearance: auto; min-height: 44px; }
.formular input[type="file"] { padding: 10px; background: var(--grau-hell); cursor: pointer; }
.formular input[type="file"]::file-selector-button {
    font: inherit;
    font-weight: 600;
    margin-right: 12px;
    padding: 6px 14px;
    border: 2px solid var(--gruen-text);
    background: #fff;
    color: var(--gruen-text);
    cursor: pointer;
}
.formular select:focus,
.formular input[type="file"]:focus { border-color: var(--gruen); outline: 2px solid var(--gruen); outline-offset: 0; }
.formular input::placeholder { color: #8a8a8a; }

/* kleiner Hinweis direkt unter einem Feld */
.feldhinweis { font-size: .85rem; margin: 5px 0 0; color: var(--text); }

/* Feldgruppe mit Rahmen, z. B. „Wie erreichen wir Sie?“ (mindestens E-Mail oder Telefon) */
.formular fieldset.ko-erreichbar {
    margin: 0 0 18px;
    padding: 14px 16px 0;
    border: 1px solid var(--rahmen);
    border-left: 4px solid var(--gruen);
    min-width: 0;
}
.formular fieldset.ko-erreichbar legend { padding: 0 6px; margin-left: -6px; font-weight: 600; }
.ko-erreichbar > .feldhinweis { margin: 0 0 12px; }

/* zwei Felder nebeneinander ab Tablet-Breite */
.ko-zwei { display: grid; gap: 0 20px; }
@media (min-width: 600px) { .ko-zwei { grid-template-columns: 1fr 1fr; } }

.meldung { padding: 40px; border-left: 6px solid var(--gruen); background: var(--gruen-hell); }
.meldung a:not(.button) { color: var(--gruen-dunkel); }   /* Textlinks auf hellgrünem Grund dunkler für 4,5 : 1; Buttons behalten ihre Farben */
.meldung .button--rahmen { color: var(--gruen-dunkel); border-color: var(--gruen-dunkel); }
.meldung .button--rahmen:hover { color: #fff; background: var(--gruen-dunkel); }
.meldung--fehler { border-left-color: #b3261e; background: #fbeceb; }
/* Fehlerseiten: send.php hängt #grund-… an die Adresse; der passende Listenpunkt wird ohne
   JavaScript hervorgehoben (/kontakt/fehler/ und /karriere/fehler/, <li id="grund-…">). */
.meldung li[id] { scroll-margin-top: 16rem; }
.meldung li:target {
    font-weight: 600;
    color: var(--dunkel);
    background: #fff;
    outline: 2px solid #b3261e;
    outline-offset: 2px;
    padding: 2px 6px;
}

/* 13. Karte (statische OpenStreetMap-Kacheln, keine externen Anfragen) ----------- */
.karte { margin: 0; }
.karte__ausschnitt {
    position: relative;
    height: 380px;
    overflow: hidden;
    background: #f2efe9;
    border-top: 3px solid var(--gruen);
}
.karte__kacheln {
    position: absolute;
    left: 50%; top: 50%;
    width: 1280px;                 /* 5 × 256 px */
    margin-left: -707px;           /* Firmenstandort genau in der Mitte */
    margin-top: -341px;
    display: grid;
    grid-template-columns: repeat(5, 256px);
}
.karte__kacheln img { width: 256px; height: 256px; max-width: none; }
.karte__pin {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -100%);
    color: var(--gruen);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .45));
}
.karte__pin svg { width: 40px; height: 40px; display: block; }
.karte__leiste { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 30px; padding-top: 16px; }
.karte__leiste address { font-style: normal; }
.karte figcaption { font-size: .8rem; margin-top: 10px; }
.karte figcaption a { color: inherit; }

/* 14. Rechtstexte ---------------------------------------------------------------- */
.rechtstext { max-width: 820px; }
.rechtstext h1 { margin-bottom: 1em; }
.rechtstext h2 { font-size: 1.35rem; margin-top: 1.8em; }
.rechtstext h3 { font-size: 1.1rem; margin-top: 1.5em; }
.rechtstext h4 { font-size: 1rem; margin-top: 1.2em; }
.rechtstext a { overflow-wrap: anywhere; }

/* 15. Fußzeile -------------------------------------------------------------------- */
.footer { border-top: 3px solid var(--gruen); margin-top: 20px; }
/* Farbiger Abschnitt als letzter Teil von <main>: schließt ohne weiße Lücke an die Fußzeile an */
#inhalt > .section--grau:last-child,
#inhalt > .se-cta:last-child,
#inhalt > .ku-cta:last-child,
#inhalt > .se-jobband:last-child { margin-bottom: -20px; }
.footer__inner {
    display: grid;
    gap: 30px;
    padding-top: 50px;
    padding-bottom: 50px;
}
@media (min-width: 760px) {
    .footer__inner { grid-template-columns: 1fr auto auto; gap: 40px; align-items: start; }
    .footer__spalte + .footer__spalte { border-left: 1px solid var(--rahmen); padding-left: 30px; }
}
.footer__logo img { width: 300px; }
.footer h2 { font-size: 1.1rem; margin-bottom: .8em; }
.footer address { font-style: normal; }
.footer dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0; }
.footer dd { margin: 0; }
.footer a { color: var(--text); text-decoration: none; }
.footer a:hover { color: var(--gruen-text); text-decoration: underline; }
.footer__unten { background: var(--gruen-text); padding: 14px 0; text-align: center; }
.footer__unten ul { list-style: none; margin: 0; padding: 0 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.footer__unten a {
    color: #fff;
    font-family: var(--schrift-menue);
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    text-decoration: none;
}
.footer__unten a:hover { color: #fff; text-decoration: underline; }

/* 16. Handy-Leiste, Zähler, Platzhalter ------------------------------------ */

/* Feste Leiste unten auf Handy/Tablet: „Anrufen“ und „Jobs“.
   body bekommt unten Platz in Leistenhöhe, damit nie Inhalt verdeckt wird. */
.mobilleiste { display: none; }
@media (max-width: 899px) {
    body { padding-bottom: calc(var(--leiste-hoehe) + env(safe-area-inset-bottom, 0px)); }
    /* Beim Weitertabben/Scrollen das fokussierte Element oberhalb der Leiste halten (WCAG 2.4.11) */
    html { scroll-padding-bottom: calc(var(--leiste-hoehe) + env(safe-area-inset-bottom, 0px) + 8px); }
    .mobilleiste {
        display: grid;
        grid-template-columns: 1fr 1fr;
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 50;
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: var(--dunkel);
        box-shadow: 0 -2px 8px rgba(0, 0, 0, .25);
    }
    .mobilleiste a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        height: var(--leiste-hoehe);
        font-family: var(--schrift);
        font-weight: 600;
        font-size: 1rem;
        text-transform: uppercase;
        letter-spacing: .03em;
        text-decoration: none;
        color: #fff;
    }
    .mobilleiste__anrufen { background: var(--gruen-text); }
    .mobilleiste__jobs { background: var(--dunkel); }
    .mobilleiste a:hover { color: #fff; text-decoration: underline; }
    .mobilleiste a:focus-visible { color: #fff; outline: 3px solid #fff; outline-offset: -6px; }
    .mobilleiste svg { width: 20px; height: 20px; flex: none; }
}

/* Statistik-Zähler (1-Pixel-Bild). Bewusst nicht display:none, sonst lädt der Browser es nicht.
   Der Zähler ist in /stats/zaehler.php ausgeschaltet, bis er freigegeben wird. */
.zaehler {
    position: absolute;
    left: 0; top: 0;
    width: 1px; height: 1px;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

/* PLATZHALTER: markiert fehlende Angaben, die der Inhaber noch liefern muss.
   VOR DEM LIVEGANG müssen alle <mark class="platzhalter"> ersetzt sein –
   eine Suche nach „PLATZHALTER“ in allen Dateien darf dann nichts mehr finden. */
mark.platzhalter, .platzhalter {
    background: #fff3a6;
    color: #3d3200;
    outline: 2px dashed #a07800;
    outline-offset: 1px;
    padding: 0 .25em;
    font-style: normal;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

/* 17. Startseite, Unternehmen, Team (Version 2, Präfix .se-) ============================== */
/* ---- Gemeinsam ---------------------------------------------------------------- */
.se-button--gross { padding: 14px 24px; font-size: 1rem; }
.se-abschnitt-kopf { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.se-abschnitt-kopf p:last-child { margin-bottom: 0; }

/* ---- Startseite: Aktionen direkt unter dem Hero ------------------------------- */
.se-aktionen { background: var(--dunkel); color: #fff; padding: 26px 0; }
.se-aktionen__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px 40px;
}
.se-aktionen h1 { color: #fff; margin: 0; font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.15; }
.se-aktionen__unterzeile { margin: 6px 0 0; color: #e4e4e4; }
.se-aktionen .button-reihe { margin-top: 0; }
.se-aktionen .button--weiss:hover { border-color: #fff; }
@media (max-width: 599px) {
    .se-aktionen { padding: 20px 0 22px; }
    .se-aktionen .button-reihe { width: 100%; }
    .se-aktionen .button { width: 100%; justify-content: center; }
}

/* ---- Startseite: Fakten-Reihe ------------------------------------------------- */
.se-fakten-abschnitt { padding: 36px 0 10px; }
.se-fakten {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 760px) { .se-fakten { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .se-fakten { grid-template-columns: repeat(5, 1fr); } }
.se-fakten li {
    border-top: 4px solid var(--gruen);
    background: var(--grau-hell);
    padding: 16px 14px 18px;
    text-align: center;
    font-size: .88rem;
    line-height: 1.4;
}
@media (max-width: 759px) { .se-fakten li:last-child { grid-column: 1 / -1; } }
.se-fakten svg { width: 30px; height: 30px; color: var(--gruen); margin: 0 auto 8px; display: block; }
.se-fakten__wert {
    display: block;
    font-family: var(--schrift-titel);
    font-weight: 400;
    text-transform: uppercase;
    font-size: 1.25rem;
    line-height: 1.15;
    color: var(--ueberschrift);
    margin-bottom: 4px;
}

/* ---- Startseite: kurzer Willkommenstext --------------------------------------- */
.se-willkommen h2 { margin-top: 0; }
.se-willkommen__gruss { font-style: italic; }

/* ---- Stellen-Band (Startseite, Team, Unternehmen) ----------------------------- */
.se-jobband { background: var(--gruen-text); color: #fff; padding: 56px 0; }
@media (max-width: 759px) { .se-jobband { padding: 36px 0; } }
.se-jobband h2, .se-jobband h3 { color: #fff; }
.se-jobband a:not(.button) { color: #fff; }
.se-jobband__inner { display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) { .se-jobband__inner { grid-template-columns: 300px 1fr; gap: 44px; } }
.se-jobband__bild img { width: 100%; border: 4px solid #fff; }
@media (max-width: 899px) { .se-jobband__bild { max-width: 260px; } }
@media (max-width: 759px) { .se-jobband__bild { display: none; } }   /* Handy: Stellen sofort sichtbar, Foto würde einen ganzen Bildschirm füllen */
.se-jobband__kicker {
    display: inline-block;
    font-family: var(--schrift-menue);
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .8rem;
    background: #fff;
    color: var(--gruen-dunkel);
    padding: 3px 10px;
    margin-bottom: 12px;
}
.se-jobband h2 { margin-top: 0; }
.se-jobs {
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.se-jobs a {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    color: var(--text);
    text-decoration: none;
    padding: 16px 16px 14px;
    border-bottom: 4px solid var(--dunkel);
    transition: border-color .15s;
}
.se-jobband .se-jobs a { color: var(--text); }
.se-jobs a:hover, .se-jobs a:focus-visible { border-bottom-color: var(--gruen-dunkel); }
.se-jobs__art {
    font-family: var(--schrift-menue);
    font-weight: 700;
    font-size: .75rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--gruen-text);
}
.se-jobs__titel {
    font-family: var(--schrift-titel);
    text-transform: uppercase;
    color: var(--ueberschrift);
    font-size: 1.1rem;
    line-height: 1.2;
    margin: 2px 0 6px;
}
.se-jobs__text { font-size: .9rem; flex: 1; }
.se-jobs__mehr {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-weight: 600;
    font-size: .85rem;
    color: var(--gruen-text);
}
.se-jobs a:hover .se-jobs__mehr { color: var(--gruen-dunkel); }
.se-jobband .button-reihe { margin-top: 24px; }

/* ---- Startseite: Leistungsblock-Ergänzung ------------------------------------- */
.se-leistungen-link { margin-top: 22px; }

/* ---- Mitgliedschaften --------------------------------------------------------- */
.se-mitglied h2 { font-size: 1.2rem; text-align: center; }

/* ---- Abschluss-Band (Angebot / Anrufen) --------------------------------------- */
.se-cta { background: var(--dunkel); color: #fff; padding: 50px 0; }
.se-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.se-cta h2 { color: #fff; margin: 0 0 6px; }
.se-cta p { margin: 0; color: #e4e4e4; }
.se-cta .button-reihe { margin-top: 0; }
.se-cta .button--weiss:hover { border-color: #fff; }
@media (max-width: 599px) {
    .se-cta .button-reihe, .se-cta .button { width: 100%; justify-content: center; }
}

/* ---- /unternehmen/ ------------------------------------------------------------ */
.se-gruender { margin: 0; }
.se-gruender img { width: 100%; }
.se-gruender figcaption { font-size: .8rem; margin-top: 8px; }
.se-merkmale {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.se-merkmale li { background: #fff; padding: 22px 20px; border-left: 4px solid var(--gruen); }
.se-merkmale svg { width: 34px; height: 34px; color: var(--gruen); display: block; margin-bottom: 10px; }
.se-merkmale h3 { margin: 0 0 .5em; font-size: 1.1rem; }
.se-merkmale p { margin: 0; font-size: .95rem; }

.se-zeitleiste { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; border-left: 3px solid var(--gruen); }
.se-zeitleiste li { position: relative; padding: 0 0 26px 30px; }
.se-zeitleiste li:last-child { padding-bottom: 0; }
.se-zeitleiste li::before {
    content: "";
    position: absolute;
    left: -10px; top: 4px;
    width: 17px; height: 17px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--gruen);
}
.se-zeitleiste__jahr {
    display: block;
    font-family: var(--schrift-titel);
    font-size: 1.3rem;
    color: var(--ueberschrift);
    line-height: 1.2;
}
.se-zeitleiste p { margin: 4px 0 0; }

.se-teaser-paar { display: grid; gap: 30px; }
@media (min-width: 760px) { .se-teaser-paar { grid-template-columns: 1fr 1fr; } }
.se-teaser { display: flex; flex-direction: column; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .18); }
.se-teaser img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.se-teaser__text { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.se-teaser__text h3 { margin-top: 0; }
.se-teaser__text p { flex: 1; }
.se-teaser .button { align-self: flex-start; }

/* ---- /team/ ------------------------------------------------------------------- */
.se-team-intro { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.se-team .team-person img { aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%; }
.se-team .team-person figcaption { text-align: center; }
.se-team .team-person { margin-bottom: 0; }   /* Abstand kommt aus .team-raster (gap) */

.se-fotoplatz {
    aspect-ratio: 4 / 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 24px;
    text-align: center;
    background: #fff repeating-linear-gradient(45deg, transparent 0 14px, rgba(0, 0, 0, .035) 14px 28px);
    border: 3px dashed #a07800;
    margin: 0;
}
.se-fotoplatz svg { width: 56px; height: 56px; color: #a07800; }

.se-kontakt-team { display: grid; gap: 30px; }
@media (min-width: 760px) { .se-kontakt-team { grid-template-columns: 1fr 1fr; gap: 44px; } }
.se-kontakt-team dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0 0 1.1em; }
.se-kontakt-team dt { font-weight: 600; color: var(--dunkel); }
.se-kontakt-team dd { margin: 0; }
.se-kontakt-team address { font-style: normal; margin-bottom: 1.1em; }

/* 18. Leistungen, Referenzen (Version 2, Präfix .ku-) ===================================== */
/* 18.1 Gemeinsam ---------------------------------------------------------------- */
.ku-einleitung { max-width: 720px; margin: 0 auto 2em; }

.ku-cta { background: var(--gruen-text); color: #fff; padding: 50px 0; }
.ku-cta h2 { color: #fff; margin-bottom: .4em; }
.ku-cta p { margin: 0; max-width: 620px; }
.ku-cta__inner { display: grid; gap: 10px 40px; align-items: center; }
@media (min-width: 900px) { .ku-cta__inner { grid-template-columns: 1fr auto; } .ku-cta .button-reihe { margin-top: 0; } }
.ku-cta .button { min-height: 44px; }
.ku-cta .button svg { width: 18px; height: 18px; }
.ku-cta__tel { background: transparent; border-color: #fff; color: #fff; }
.ku-cta__tel:hover, .ku-cta__tel:focus-visible { background: #fff; border-color: #fff; color: var(--dunkel); }
.ku-cta :focus-visible { outline-color: #fff; }

/* 18.2 Leistungen --------------------------------------------------------------- */
.ku-einsatzgebiet { margin-bottom: 2em; }

.ku-leistung { display: flex; flex-direction: column; }
.ku-leistung p { margin: 14px 2px 0; font-size: .95rem; line-height: 1.6; }
/* Titel als <h3> in der grünen Bildunterschrift – Optik wie die V1-Bildunterschrift */
.ku-leistung__titel {
    font-family: var(--schrift);
    font-weight: 600;
    font-size: .95rem;
    line-height: 1.4;
    text-transform: none;
    color: #fff;
    margin: 0;
}
.ku-leistung { scroll-margin-top: 20px; }

.ku-vorteile {
    list-style: none;
    margin: 0; padding: 0;
    display: grid;
    gap: 30px 26px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    text-align: center;
}
@media (min-width: 900px) { .ku-vorteile { grid-template-columns: repeat(4, 1fr); } }
.ku-vorteile svg { width: 44px; height: 44px; color: var(--gruen); margin: 0 auto 10px; display: block; }
.ku-vorteile strong { display: block; color: var(--ueberschrift); font-size: 1.05rem; line-height: 1.35; }
.ku-vorteile span { display: block; font-size: .92rem; margin-top: 4px; }

.ku-ablauf__liste {
    list-style: none;
    counter-reset: ku-schritt;
    margin: 30px 0 0; padding: 0;
    display: grid;
    gap: 26px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
@media (min-width: 900px) { .ku-ablauf__liste { grid-template-columns: repeat(3, 1fr); } }
.ku-ablauf__schritt {
    counter-increment: ku-schritt;
    position: relative;
    padding: 20px 20px 6px 76px;
    border: 1px solid var(--rahmen);
    border-top: 4px solid var(--gruen);
    background: #fff;
}
.ku-ablauf__schritt::before {
    content: counter(ku-schritt);
    position: absolute;
    left: 20px; top: 18px;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--gruen-text);
    color: #fff;
    font-family: var(--schrift-titel);
    font-size: 1.3rem;
    line-height: 40px;
    text-align: center;
}
.ku-ablauf__schritt h3 { font-size: 1.1rem; margin-bottom: .35em; }
.ku-ablauf__schritt p { font-size: .95rem; }

/* 18.3 Referenzen --------------------------------------------------------------- */
.ku-referenzen li { scroll-margin-top: 20px; }

/* Großansicht (Lightbox) nur mit CSS: Kachel verlinkt auf #ref-…, :target zeigt die Box.
   Ohne CSS stehen alle Großansichten als Liste unter dem Raster. Bilder haben loading="lazy"
   und werden daher erst geladen, wenn die Box sichtbar wird. */
.ku-lb-liste__titel { display: none; }
.ku-lb { display: none; }
.ku-lb:target {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 12px;
}
.ku-lb:focus { outline: none; }
html:has(.ku-lb:target) { overflow: hidden; }
.ku-lb__hintergrund { position: absolute; inset: 0; background: rgba(20, 20, 20, .88); }
.ku-lb__fenster {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 860px;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 30px rgba(0, 0, 0, .5);
}
.ku-lb__kopf {
    display: flex;
    align-items: center;
    gap: 6px 14px;
    padding: 8px 8px 8px 16px;
    border-bottom: 4px solid var(--gruen);
}
.ku-lb__kopf h3 { margin: 0; font-size: 1.15rem; }
.ku-lb__zaehler { font-size: .85rem; color: var(--text); margin-right: auto; }
.ku-lb a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; font-weight: 600; text-decoration: none; }
.ku-lb a svg { width: 20px; height: 20px; flex: none; }
.ku-lb a.ku-lb__schliessen { color: var(--dunkel); }
.ku-lb a.ku-lb__schliessen:hover { color: var(--gruen-dunkel); }
.ku-lb__bild { margin: 0; padding: 10px 10px 0; min-height: 0; flex: 1 1 auto; display: flex; flex-direction: column; }
.ku-lb__bild picture { min-height: 0; flex: 1 1 auto; display: flex; justify-content: center; align-items: center; }
.ku-lb__bild img {
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 190px);
    max-height: calc(100dvh - 190px);
    object-fit: contain;
}
.ku-lb__bild figcaption { padding: 8px 6px 0; font-size: .9rem; text-align: center; }
.ku-lb__fuss { display: flex; justify-content: space-between; align-items: center; gap: 4px; padding: 6px 4px; }
.ku-lb a.ku-lb__original { font-size: .85rem; font-weight: 400; text-decoration: underline; }
@media (max-width: 520px) {
    .ku-lb { padding: 0; }
    .ku-lb:target { padding: 0; }
    .ku-lb__fenster { max-height: 100vh; max-height: 100dvh; height: 100%; }
    .ku-lb__zaehler { display: none; }
    .ku-lb__kopf h3 { margin-right: auto; font-size: 1.05rem; }
    .ku-lb__bild { justify-content: center; }
    .ku-lb__bild img { max-height: calc(100dvh - 210px); }
    .ku-lb__fuss { flex-wrap: wrap; }
    .ku-lb a.ku-lb__original { order: 3; flex: 1 0 100%; justify-content: center; min-height: 36px; }
}

/* Kundenstimmen (optional, derzeit Platzhalter) */
.ku-stimmen__raster { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 26px; }
.ku-stimme { margin: 0; background: #fff; padding: 26px 26px 20px; border-left: 4px solid var(--gruen); position: relative; }
.ku-stimme::before {
    content: "\201E";
    position: absolute;
    right: 18px; top: -18px;
    font-family: var(--schrift-titel);
    font-size: 5rem;
    line-height: 1;
    color: var(--gruen);
    opacity: .35;
}
.ku-stimme blockquote { margin: 0 0 12px; font-size: 1.05rem; font-style: italic; }
.ku-stimme figcaption { font-size: .9rem; font-weight: 600; color: var(--ueberschrift); }

/* 19. Karriere (Version 2, Präfix .ka-) =================================================== */
/* Kleine Überzeile über Überschriften */
.ka-kicker {
    font-family: var(--schrift-menue);
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin: 0 0 .4em;
}
.ka-kicker--gruen { color: var(--gruen-text); }
.ka-einleitung { max-width: 640px; margin-left: auto; margin-right: auto; margin-bottom: 36px; }

/* 19.1 Kopfbereich /karriere/ ---------------------------------------------------- */
.ka-hero { background: var(--gruen-text); color: #fff; overflow: hidden; }
.ka-hero__inner { display: grid; gap: 0; padding-top: 40px; }
.ka-hero__text { padding-bottom: 40px; }
.ka-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.05; margin-bottom: .4em; }
.ka-hero__lead { font-size: 1.1rem; max-width: 560px; }
.ka-hero strong { color: #fff; }
.ka-hero__punkte { list-style: none; margin: 0 0 1em; padding: 0; }
.ka-hero__punkte li { position: relative; padding-left: 26px; margin-bottom: .35em; }
.ka-hero__punkte li::before {   /* weißes Häkchen */
    content: "";
    position: absolute;
    left: 2px;
    top: .35em;
    width: 12px;
    height: 7px;
    border-left: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(-45deg);
}
.ka-hero .button--weiss { color: var(--gruen-dunkel); }
.ka-hero .button--weiss:hover { color: #fff; }
.ka-button--hell { background: transparent; border-color: #fff; color: #fff; text-transform: none; font-size: 1rem; }
.ka-button--hell:hover { background: #fff; border-color: #fff; color: var(--gruen-dunkel); }
.ka-hero__bild { margin: 0 -20px; }
.ka-hero__bild img { width: 100%; height: 320px; object-fit: cover; object-position: 50% 35%; }
@media (min-width: 760px) {
    .ka-hero__inner { grid-template-columns: 1fr 360px; gap: 40px; align-items: end; padding-top: 0; }
    .ka-hero__text { padding: 56px 0; align-self: center; }
    .ka-hero__bild { margin: 0; align-self: stretch; }
    .ka-hero__bild img { height: 100%; min-height: 420px; }
}
@media (min-width: 1000px) { .ka-hero__inner { grid-template-columns: 1fr 420px; } }
@media (min-width: 1050px) { .ka-hero__text { padding-top: 110px; } }   /* Logo-Karte ragt 80 px in den Bereich */

/* 19.2 Stellen-Karten ------------------------------------------------------------- */
.ka-stellen { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ka-stellen { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .ka-stellen { grid-template-columns: repeat(3, 1fr); } }   /* 5 Karten: 3 + 2 */
.ka-stelle {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--rahmen);
    border-top: 4px solid var(--gruen);
    padding: 24px 22px;
    scroll-margin-top: 20px;
}
.ka-stelle:target { outline: 3px solid var(--gruen); outline-offset: 2px; }   /* alte Anker #ausbildung / #geruestbauer */
.ka-stelle__symbol { width: 44px; height: 44px; color: var(--gruen); margin-bottom: 12px; }
.ka-stelle__symbol svg { width: 100%; height: 100%; }
@media (max-width: 759px) {   /* Handy: Karriereseite kürzer – Foto und Karten-Symbole weglassen */
    .ka-hero__bild, .ka-stelle__symbol { display: none; }
}
.ka-stelle__art {
    font-family: var(--schrift-menue);
    font-weight: 700;
    font-size: .75rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--gruen-text);
    margin: 0 0 .3em;
}
.ka-stelle h3 { font-size: 1.25rem; }
.ka-stelle .haken-liste { font-size: .95rem; }
.ka-stelle__link { margin-top: auto; align-self: flex-start; }
.ka-stelle--klein { border-top-width: 1px; background: var(--grau-hell); padding: 18px 20px; }   /* Praktikum, Initiativ */
.ka-stelle--klein h3 { font-size: 1.1rem; }
.ka-stelle--klein p:last-of-type { margin-bottom: .6em; }
.ka-stelle__textlink { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--gruen-dunkel); }

/* 19.3 Was wir bieten -------------------------------------------------------------- */
.ka-vorteile { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 18px 40px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .ka-vorteile { grid-template-columns: 1fr 1fr; } }
.ka-vorteil { display: grid; grid-template-columns: 30px 1fr; column-gap: 14px; align-items: start; align-content: start; }
.ka-vorteil h3 { font-size: 1rem; margin: 2px 0 .15em; }
.ka-vorteil p { margin: 0; font-size: .95rem; grid-column: 2; }
.ka-vorteil__symbol { display: block; width: 30px; height: 30px; color: var(--gruen); grid-row: span 2; }
.ka-vorteil > div { grid-column: 2; font-size: .95rem; }   /* Punkt mit Liste (Weiterbildung) */
.ka-vorteil > div p { margin: 0; }
.ka-vorteil .haken-liste { margin: .3em 0 .4em; }
.ka-bewerben__info ol { padding-left: 1.3em; margin: 0 0 1em; }
.ka-bewerben__info ol li + li { margin-top: .3em; }
.ka-vorteil__symbol svg { width: 100%; height: 100%; }

/* 19.4 Ansprechpartnerin (im Bewerben-Bereich) ------------------------------------- */
.ka-ansprechpartner {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 18px;
    align-items: start;
    max-width: 640px;
    margin: 0 auto;
    padding: 22px;
    background: var(--gruen-hell);
    border-left: 6px solid var(--gruen);
}
.ka-ansprechpartner a { color: var(--gruen-dunkel); }   /* auf hellgrünem Grund dunkler */
.ka-ansprechpartner p { margin: 0 0 .4em; }
.ka-ansprechpartner__bild { width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--gruen-dunkel); padding: 14px; }
.ka-ansprechpartner__bild svg { width: 100%; height: 100%; }
.ka-ansprechpartner__rolle { font-family: var(--schrift-menue); font-weight: 700; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.ka-ansprechpartner__name { font-family: var(--schrift-titel); font-size: 1.15rem; color: var(--ueberschrift); }
.ka-ansprechpartner__tel { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.ka-ansprechpartner__tel svg { width: 16px; height: 16px; }
.ka-bewerben__info .ka-ansprechpartner { margin: 30px 0 0; }

/* 19.5 Häufige Fragen ---------------------------------------------------------------- */
.ka-faq { max-width: 820px; }
.ka-faq h2 { margin-bottom: 1em; }
.ka-faq__eintrag { background: #fff; border: 1px solid var(--rahmen); margin-bottom: 10px; }
.ka-faq__eintrag summary {
    position: relative;
    cursor: pointer;
    list-style: none;
    padding: 16px 52px 16px 20px;
    font-weight: 600;
    color: var(--dunkel);
}
.ka-faq__eintrag summary::-webkit-details-marker { display: none; }
.ka-faq__eintrag summary::after {   /* Plus/Minus */
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    line-height: 1;
    color: var(--gruen-text);
}
.ka-faq__eintrag[open] summary::after { content: "\2013"; }
.ka-faq__eintrag summary:hover { color: var(--gruen-text); }
.ka-faq__antwort { padding: 0 20px 6px; }

/* 19.6 Bewerben (Info + Formular) ----------------------------------------------------- */
.ka-bewerben { display: grid; gap: 40px; }
@media (min-width: 900px) { .ka-bewerben { grid-template-columns: 1fr 1.25fr; gap: 60px; } }
.ka-bewerben__form { background: #fff; padding: 26px 24px; border-top: 4px solid var(--gruen); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.ka-bewerben__info .button { text-transform: none; font-size: 1rem; }
.ka-bewerben__post { margin-top: 24px; font-size: .9rem; }
.ka-formular__titel { font-size: 1.3rem; }
.ka-formular textarea { min-height: 110px; }

/* 19.7 Stellenseiten (Ausbildung / Gerüstbauer) -------------------------------------- */
.ka-pfad ol { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .85rem; }
.ka-pfad li + li::before { content: "/"; margin: 0 6px 0 2px; color: #999; }
.ka-pfad [aria-current] { color: var(--dunkel); }
.ka-job__raster { display: grid; gap: 40px; }
@media (min-width: 900px) {
    .ka-job__raster { grid-template-columns: minmax(0, 1fr) 300px; gap: 50px; align-items: start; }
    .ka-eckdaten { position: sticky; top: 20px; }
}
.ka-job__inhalt h2 { margin-top: 1.6em; }
.ka-job__inhalt h1 + .untertitel { margin-bottom: 1.4em; }
.ka-job__inhalt h3 { margin-top: 1.4em; }
.ka-job__bild { width: 100%; }
.ka-job__figur { margin: 0; }
.ka-job__figur figcaption {
    background: var(--gruen-text);
    color: #fff;
    font-family: var(--schrift-titel);
    text-transform: uppercase;
    letter-spacing: .02em;
    padding: 10px 16px;
    font-size: 1.1rem;
}
.ka-eckdaten { background: var(--grau-hell); border-top: 4px solid var(--gruen); padding: 22px 20px; }
.ka-eckdaten h2 { font-size: 1.2rem; }
.ka-eckdaten dl { margin: 0 0 18px; }
.ka-eckdaten dt { font-family: var(--schrift-menue); font-weight: 700; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gruen-dunkel); }
.ka-eckdaten dd { margin: 0 0 12px; color: var(--dunkel); }
.ka-eckdaten .button { width: 100%; justify-content: center; margin-top: 8px; }
.ka-eckdaten .button--rahmen { text-transform: none; font-size: 1rem; }

/* 20. Kontakt, Statistik-Auswertung (Version 2, Präfix .ko-) ============================== */
/* 20.1 Anruf-Knopf in der grünen Kontakt-Box ------------------------------------------------- */
.ko-anruf {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 22px;
    padding: 16px 20px;
    background: #fff;
    color: var(--dunkel);
    text-decoration: none;
    border: 2px solid #fff;
}
.ko-anruf svg { flex: 0 0 auto; width: 34px; height: 34px; color: var(--gruen-text); }
.ko-anruf__text { display: flex; flex-direction: column; line-height: 1.25; }
.ko-anruf__titel {
    font-family: var(--schrift-menue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: .85rem;
    color: var(--gruen-text);
}
.ko-anruf__nummer { font-family: var(--schrift-titel); font-size: clamp(1.35rem, 6vw, 1.75rem); color: var(--dunkel); letter-spacing: .02em; white-space: nowrap; }
@media (max-width: 400px) { .ko-anruf { padding: 14px; gap: 12px; } .ko-anruf svg { width: 28px; height: 28px; } }
.ko-box-freimeldung { margin: 18px 0 0; }   /* Abstand zum E-Mail-Knopf */
.ko-anruf__zeiten { font-size: .85rem; color: var(--text); }
.ko-anruf:hover, .ko-anruf:focus-visible { background: var(--gruen-hell); }
.ko-anruf:hover .ko-anruf__titel, .ko-anruf:focus-visible .ko-anruf__titel { color: var(--gruen-dunkel); }   /* 5,9 : 1 auf --gruen-hell */
.ko-anruf:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.kontakt-box .ko-anruf + .button { margin-top: 14px; }
.kontakt-box p > a { color: #fff; text-decoration: underline; }   /* Textlinks in der grünen Box (z. B. Gerüstfreimeldung) */
.kontakt-box p > a:hover { color: #fff; text-decoration-thickness: 2px; }
.kontakt-box .haken-liste li::before { border-color: #fff; }   /* Häkchen weiß auf Grün (/geruestfreimeldung/) */

.ko-formular h2 { margin-top: 0; }
.ko-hinweise { background: var(--grau-hell); padding: 14px 18px; margin: 0 0 18px; font-size: .9rem; }   /* /geruestfreimeldung/: Hinweise 1–4 */
.ko-hinweise h3 { font-size: 1rem; margin: 0 0 .4em; }
.ko-hinweise ol { margin: 0; padding-left: 1.3em; }
.ko-hinweise li + li { margin-top: .35em; }
.ko-grundliste li + li { margin-top: 6px; }   /* Liste der Fehlergründe (/kontakt/fehler/) */

/* 20.2 Statistik-Auswertung (/stats/, nur intern) --------------------------------------------- */
.ko-statistik-login { max-width: 380px; }
.ko-statistik-rahmen { overflow-x: auto; margin: 1em 0; }
.ko-statistik { border-collapse: collapse; font-size: .95rem; min-width: 100%; }
.ko-statistik th, .ko-statistik td { padding: 6px 12px; border-bottom: 1px solid var(--rahmen); white-space: nowrap; }
.ko-statistik thead th { text-align: right; font-weight: 600; border-bottom: 2px solid var(--gruen); }
.ko-statistik thead th:first-child, .ko-statistik tbody th, .ko-statistik tfoot th { text-align: left; font-weight: 400; }
.ko-statistik td { text-align: right; font-variant-numeric: tabular-nums; }
.ko-statistik tfoot th, .ko-statistik tfoot td { font-weight: 600; border-top: 2px solid var(--gruen); }
.ko-nowrap { white-space: nowrap; }

/* 21. Druck =============================================================================== */
@media print {
    .topbar, .nav, .menu-toggle, .seitenbanner, .footer__unten, .mobilleiste { display: none; }
    body { padding-bottom: 0; }
    .se-aktionen, .se-jobband, .se-cta { background: none; color: inherit; }
    .se-aktionen h1, .se-jobband h2, .se-jobband h3, .se-cta h2 { color: inherit; }
    .ku-lb-liste, .ku-cta .button-reihe { display: none; }
    .ku-cta { background: none; color: inherit; padding: 20px 0; }
    .ku-cta h2 { color: inherit; }
    .ka-hero { background: none; color: #000; }
    .ka-hero h1, .ka-hero strong { color: #000; }
    .ka-bewerben__form, .ka-hero .button-reihe, .ka-eckdaten .button { display: none; }
    .ka-faq__eintrag .ka-faq__antwort { display: block; }
}
