/* juuub — CSS nach Direction Contract (docs/design.md, freigegeben 2026-10-30).
   Signatur: der Punkt (Quadrat, eine runde Ecke unten links, juuub-Blau).
   Grund Weiß, Schwarz der Wortmarke, genau eine Fläche in Kundenfarbe. */

@font-face {
    font-family: "Archivo";
    src: url("../fonts/archivo-var-latin.woff2") format("woff2");
    font-weight: 100 900;
    font-stretch: 62% 125%;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, 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: "Archivo";
    src: url("../fonts/archivo-var-latin-ext.woff2") format("woff2");
    font-weight: 100 900;
    font-stretch: 62% 125%;
    font-display: swap;
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --juuub-weiss: #ffffff;
    --juuub-schwarz: #1d1d1b;
    --juuub-blau: #006998;
    --juuub-akzent: var(--juuub-blau);
    --juuub-akzent-text: #ffffff;
    --juuub-punkt: 0.6em;
    --juuub-ecke: 24px;
    --juuub-ecke-gross: clamp(48px, 9vw, 140px);
    --juuub-linie: 1px solid var(--juuub-schwarz);
    --juuub-titel: clamp(2.75rem, 7vw, 7.5rem);
    --juuub-claim: clamp(2rem, 5vw, 4.5rem);
    --juuub-eng: 75%;
    --juuub-lesen: 1.125rem;
    --juuub-rand: 24px;
    --juuub-container: 1360px;
    /* side padding: gutter, or the space that centres the container on wide screens */
    --juuub-seite: max(var(--juuub-rand), calc((100vw - var(--juuub-container)) / 2));
    --juuub-abstand: clamp(48px, 6vw, 80px);
    --juuub-mass: 32em;
}

@media (max-width: 800px) {
    :root {
        --juuub-ecke: 16px;
        --juuub-rand: 16px;
        --juuub-titel: 12vw;
    }
}

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

html {
    background: var(--juuub-weiss);
    color: var(--juuub-schwarz);
    font-family: "Archivo", system-ui, sans-serif;
    font-size: 18px;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

body { margin: 0; }

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

a { color: inherit; }

:focus-visible { outline: 3px solid var(--juuub-blau); outline-offset: 2px; }
.kopf a:focus-visible { outline-offset: -3px; }
.bewerben:focus-visible, .kopf .bewerben:focus-visible { outline-color: var(--juuub-weiss); outline-offset: -4px; }

.heox-skip-link {
    position: absolute; left: -999px; top: 0; padding: 8px 16px;
    background: var(--juuub-schwarz); color: var(--juuub-weiss);
}
.heox-skip-link:focus { left: 16px; z-index: 10; }

.heox-main { display: block; }

/* Der Punkt ------------------------------------------------------------ */

.punkt {
    display: inline-block;
    width: var(--juuub-punkt);
    height: var(--juuub-punkt);
    background: var(--juuub-blau);
    border-bottom-left-radius: 35%;
    vertical-align: 0.05em;
    flex: none;
}
.punkt--leer { background: transparent; box-shadow: inset 0 0 0 1.5px var(--juuub-blau); }
.punkt--gross { width: 96px; height: 96px; border-bottom-left-radius: 30%; margin-bottom: 24px; }
.punkt--riesig { width: clamp(96px, 18vw, 240px); height: clamp(96px, 18vw, 240px); border-bottom-left-radius: 30%; margin-bottom: 32px; }

/* Typo ----------------------------------------------------------------- */

.titel {
    margin: 0;
    font-stretch: var(--juuub-eng);
    font-weight: 800;
    font-size: var(--juuub-titel);
    line-height: 0.9;
    letter-spacing: -0.03em;
    text-wrap: balance;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
}
.titel--klein { font-size: clamp(2rem, 5vw, 4.5rem); }

.stellen__titel::before { content: ""; width: var(--juuub-punkt); height: var(--juuub-punkt); background: var(--juuub-blau); border-bottom-left-radius: 35%; flex: none; }
.abschnitt__titel, .kontakt__titel, .formular__titel, .stellen__titel {
    display: flex; align-items: center; gap: 0.5em;
    margin: 0 0 24px;
    font-stretch: var(--juuub-eng);
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    line-height: 1;
    letter-spacing: -0.02em;
}

.teaser { margin: 0; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.25rem); max-width: var(--juuub-mass); }
.teaser--besetzt { font-weight: 700; }

p { max-width: var(--juuub-mass); }
/* Absätze tragen nie seitliches Padding: Container-Abstand sitzt an Sektionen, sonst bricht die Lesebreite auf breiten Monitoren zusammen. */

/* Vorschau-Hinweis (Entwurf mit Token): nie öffentlich sichtbar. */
.vorschau { margin: 0; max-width: none; padding: 8px var(--juuub-seite); background: var(--juuub-schwarz); color: var(--juuub-weiss); font-size: 0.8125rem; font-weight: 700; }
.bewerben[disabled] { opacity: 0.5; cursor: not-allowed; }

/* Kopf ----------------------------------------------------------------- */

/* Keine Trennstriche über die Seitenbreite (James, 2026-11-04): Kopf, Sektionen,
   Band und Fuß trennen sich nur über Abstand und die eine Farbfläche. */
.kopf {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: stretch;
    gap: 0 var(--juuub-rand);
}
.kopf > * { display: flex; align-items: center; padding: 16px 0; }
.kopf > :first-child { padding-left: var(--juuub-seite); }
.kopf > :last-child:not(.bewerben) { padding-right: var(--juuub-seite); }
.kopf .bewerben { margin: 12px var(--juuub-seite) 12px 0; }
.kopf__logo { display: flex; align-items: center; text-decoration: none; }
.kopf__logo img { height: 40px; width: auto; }
.kopf__name { font-stretch: var(--juuub-eng); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; text-transform: uppercase; }
.kopf__alle { font-weight: 700; text-decoration: none; white-space: nowrap; }
.kopf__alle:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.kopf .bewerben { padding: 0 32px; align-self: stretch; min-height: 56px; }

@media (max-width: 800px) {
    .kopf { grid-template-columns: 1fr; }
    .kopf__alle, .kopf .bewerben { display: none; }
}

/* Bewerben-Knopf: immer Schwarz, der Punkt geht zur Stelle -------------- */

.bewerben {
    display: inline-flex; align-items: center; gap: 0.55em;
    background: var(--juuub-schwarz);
    color: var(--juuub-weiss);
    font-weight: 700;
    text-decoration: none;
    padding: 0.95em 1.5em;
    border: 0;
    border-bottom-left-radius: var(--juuub-ecke);
    cursor: pointer;
    font: inherit; font-weight: 700;
    position: relative; overflow: hidden;
}
.bewerben .punkt { transition: transform 240ms cubic-bezier(0.23, 1, 0.32, 1); }
.bewerben__wort { position: relative; }
@media (hover: hover) {
    .bewerben:hover .punkt, .bewerben:focus-visible .punkt { transform: translateX(calc(0.55em + var(--bewerben-wort, 5.2em))); }
}
@media (prefers-reduced-motion: reduce) {
    .bewerben .punkt { transition: none; }
}
.bewerben--gross { font-size: 1.375rem; padding: 1em 1.8em; }
.bewerben--senden { font-size: 1.125rem; margin-top: 8px; }

/* Hero ----------------------------------------------------------------- */

.hero {
    display: grid;
    grid-template-columns: 58fr 42fr;
    min-height: min(78vh, 760px);
}
.hero__text {
    display: flex; flex-direction: column; justify-content: flex-end; gap: 24px;
    padding: 48px var(--juuub-rand) 40px var(--juuub-seite);
}
.hero__betrieb, .hero__claim { margin: 0; font-weight: 700; }
.hero__claim { font-size: 1.5rem; }
.hero__bild { margin: 0; position: relative; min-height: 320px; }
.hero__bild img, .hero__bild picture { width: 100%; height: 100%; }
.hero__bild img { object-fit: cover; border-bottom-left-radius: var(--juuub-ecke); }
.hero__bild--leer {
    background: var(--juuub-schwarz); color: var(--juuub-weiss);
    display: flex; align-items: flex-end; padding: var(--juuub-rand);
    border-bottom-left-radius: var(--juuub-ecke);
    margin: var(--juuub-rand) 0;
}
.hero__name { font-stretch: var(--juuub-eng); font-weight: 800; font-size: clamp(2.5rem, 6vw, 6rem); line-height: 0.9; letter-spacing: -0.03em; }
.hero--kompakt { min-height: 0; grid-template-columns: 1fr; }
.hero--kompakt .hero__text { padding-top: 40px; padding-right: var(--juuub-seite); }

@media (max-width: 800px) {
    .hero { grid-template-columns: 1fr; min-height: 0; }
    .hero__text { padding-top: 32px; }
    .hero__bild { aspect-ratio: 4 / 5; min-height: 0; }
    .hero__bild--leer { aspect-ratio: auto; padding-top: 64px; margin: 0 0 var(--juuub-rand); }
}

/* Stellen-Band: die eine Farbfläche ----------------------------------- */

.band {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    background: var(--juuub-akzent);
    color: var(--juuub-akzent-text);
    border-bottom-left-radius: var(--juuub-ecke);
}
.band__zelle { padding: 20px var(--juuub-rand) 22px; font-variant-numeric: tabular-nums; min-width: 0; }
.band__zelle:first-child { padding-left: var(--juuub-seite); }
.band__zelle:last-child { padding-right: var(--juuub-seite); }
.band__zelle + .band__zelle { border-left: 1px solid currentColor; }
.band small { display: block; font-size: 0.75rem; font-weight: 700; margin-bottom: 4px; }
.band b { display: block; font-size: clamp(1.125rem, 1.8vw, 1.5rem); font-weight: 700; line-height: 1.1; overflow-wrap: anywhere; }
.band__zusatz { display: block; margin-top: 4px; font-size: 0.875rem; font-weight: 400; }

@media (max-width: 800px) {
    .band { grid-template-columns: 1fr 1fr; }
    .band__zelle:nth-child(odd) { border-left: 0; }
    .band__zelle:nth-child(n + 3) { border-top: 1px solid currentColor; }
}
@media (max-width: 420px) {
    .band { grid-template-columns: 1fr; }
    .band__zelle + .band__zelle { border-left: 0; border-top: 1px solid currentColor; }
    .stelle--bewerben .band { grid-template-columns: 1fr 1fr; }
    .stelle--bewerben .band__zelle + .band__zelle { border-top: 0; border-left: 1px solid currentColor; }
    .stelle--bewerben .band__zelle:nth-child(odd) { border-left: 0; }
    .stelle--bewerben .band__zelle:nth-child(n + 3) { border-top: 1px solid currentColor; }
    .stelle--bewerben .band__zelle { padding: 12px var(--juuub-rand) 14px; }
}

/* Sektionen ----------------------------------------------------------- */

/* Ohne Trennstriche trägt EIN Abstand zwischen den Sektionen (nicht unten + oben);
   nur die letzte Sektion einer Seite bekommt auch unten Luft. */
.aufgaben, .benefits, .betrieb, .standorte, .kontakt, .abschluss, .formular, .stellen, .paar {
    padding: var(--juuub-abstand) var(--juuub-seite) 0;
}
.stelle > :last-child, .profil > :last-child, .start > :last-child { padding-bottom: var(--juuub-abstand); }

/* Zwei kurze Sektionen nebeneinander (Betrieb | Kontakt, Standorte | Kontakt). */
.paar { display: grid; grid-template-columns: 1fr 1fr; gap: 48px var(--juuub-rand); align-items: start; }
.paar > * { padding: 0; }
@media (max-width: 800px) { .paar { grid-template-columns: 1fr; } }

.aufgaben { display: grid; grid-template-columns: 1fr 1fr; gap: 48px var(--juuub-rand); }
@media (max-width: 800px) { .aufgaben { grid-template-columns: 1fr; } }

.liste { margin: 0; padding: 0; list-style: none; max-width: var(--juuub-mass); }
.liste li { position: relative; padding-left: 1.4em; margin-bottom: 8px; }
.liste li::before {
    content: ""; position: absolute; left: 0; top: 0.55em;
    width: var(--juuub-punkt); height: var(--juuub-punkt);
    background: var(--juuub-schwarz); border-bottom-left-radius: 35%;
}

.benefits__liste { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 var(--juuub-rand); }
.benefits__liste li { padding: 16px 0; border-top: var(--juuub-linie); }
.benefits__liste strong { display: block; }

.standorte__liste { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }

.kontakt__text { margin: 0; }
.kontakt__text a { text-decoration: none; }
.kontakt__text a:hover { text-decoration: underline; }

/* Abschluss: die Seite endet auf einer Aussage und dem Knopf, im selben Zweispalter wie Aufgaben/Profil. */
.abschluss { display: grid; grid-template-columns: 1fr 1fr; gap: 24px var(--juuub-rand); align-items: end; }
.abschluss__aktion { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.abschluss__hinweis { margin: 0; font-size: var(--juuub-lesen); }
@media (max-width: 800px) { .abschluss { grid-template-columns: 1fr; } }

/* Stellenliste --------------------------------------------------------- */

.stellen__liste { margin: 0; padding: 0; list-style: none; border-top: var(--juuub-linie); display: grid; grid-template-columns: auto 1fr auto auto auto; }
.stellen__zeile { border-bottom: var(--juuub-linie); grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; }
.stellen__zeile a, .stellen__zeile--besetzt {
    grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center; gap: 24px;
    padding: 20px 0; text-decoration: none;
}
.stellen__zeile--besetzt { color: var(--juuub-schwarz); opacity: 0.6; }
.stellen__zeile--besetzt .stellen__ort { grid-column: 3 / -1; }
.stellen__name { font-weight: 700; font-size: 1.25rem; }
.stellen__meta { display: contents; } /* desktop: the three facts stay subgrid columns */
.stellen__ort, .stellen__ausmass, .stellen__gehalt { font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (hover: hover) {
    .stellen__zeile a:hover { background: var(--juuub-akzent); color: var(--juuub-akzent-text); box-shadow: 0 0 0 var(--juuub-seite) var(--juuub-akzent); clip-path: inset(0 calc(-1 * var(--juuub-seite))); }
}
.stellen__leer { margin: 0 0 24px; }
@media (max-width: 800px) {
    .stellen__liste { display: block; }
    .stellen__zeile, .stellen__zeile a, .stellen__zeile--besetzt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 0.6em; padding: 16px 0; }
    .stellen__zeile { padding: 0; }
    .stellen__zeile a .punkt, .stellen__zeile--besetzt .punkt { align-self: center; }
    .stellen__name { flex: 1 1 calc(100% - 2em); }
    /* Mobil: die Fakten als ein Textfluss unter dem Titel, eingerückt auf Titelkante. */
    .stellen__meta { display: block; flex: 1 1 100%; margin-left: calc(var(--juuub-punkt) + 0.6em); }
    .stellen__ort, .stellen__ausmass { white-space: normal; }
    .stellen__ausmass::before, .stellen__gehalt::before { content: " · "; }
}

/* Formular ------------------------------------------------------------- */

.formular__kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 24px; max-width: 44em; }
.formular__kopf .formular__titel { margin: 0; }
.formular__zurueck { font-weight: 700; font-size: 0.9375rem; text-decoration: underline; text-underline-offset: 0.2em; white-space: nowrap; }
.formular__hinweis { margin: 0 0 32px; }
.formular__form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px var(--juuub-rand); max-width: 48em; }
.formular__feld { display: flex; flex-direction: column; gap: 6px; grid-column: 1 / -1; }
.formular__feld--halb { grid-column: auto; }
@media (max-width: 600px) { .formular__feld--halb { grid-column: 1 / -1; } }
.formular__feld label { font-weight: 700; font-size: 0.9375rem; }
.formular__feld input:not([type="checkbox"]):not([type="file"]), .formular__feld textarea {
    font: inherit; padding: 12px 14px; border: var(--juuub-linie); border-radius: 0; background: var(--juuub-weiss); color: inherit;
}
.formular__feld input[aria-invalid="true"], .formular__feld textarea[aria-invalid="true"] { border-width: 2px; border-color: #b3261e; }
.formular__feld--check label { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; }
.formular__feld--check input { width: 20px; height: 20px; margin-top: 4px; flex: none; accent-color: var(--juuub-blau); }
.formular__fehler { background: var(--juuub-schwarz); color: var(--juuub-weiss); padding: 16px var(--juuub-rand); margin: 0 0 24px; max-width: 48em; border-bottom-left-radius: var(--juuub-ecke); }
.formular__fehler ul { margin: 0; padding-left: 1.2em; }
.uniform__potty { position: absolute; left: -9999px; }

/* Funnel (Fragen vor den Kontaktdaten; Phase 2: Schritt für Schritt) ---- */

.funnel { grid-column: 1 / -1; margin: 0 0 8px; padding: 0; border: 0; min-width: 0; }
.funnel__intro { font-weight: 700; padding: 0; margin-bottom: 16px; }
.funnel__schritt { display: grid; grid-template-columns: auto 1fr; gap: 12px 16px; padding: 20px 0; border-top: var(--juuub-linie); }
.funnel__schritt:last-child { border-bottom: var(--juuub-linie); }
.funnel__nummer { display: inline-flex; align-items: center; gap: 0.4em; font-variant-numeric: tabular-nums; font-weight: 700; font-size: 0.9375rem; white-space: nowrap; padding-top: 2px; }
.funnel__frage { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.funnel__frage legend, .funnel__frage > label { font-weight: 700; padding: 0; }
.funnel__frage small { font-weight: 400; }
.funnel__optionen { display: flex; flex-wrap: wrap; gap: 8px; }
.funnel__option { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: var(--juuub-linie); cursor: pointer; }
.funnel__option input { appearance: none; -webkit-appearance: none; width: var(--juuub-punkt); height: var(--juuub-punkt); margin: 0; border: 1.5px solid currentColor; border-radius: 0 0 0 35%; background: transparent; flex: none; }
.funnel__option input:checked { background: var(--juuub-blau); border-color: var(--juuub-blau); }
.funnel__option:has(input:focus-visible) { outline: 3px solid var(--juuub-blau); outline-offset: 2px; }
.funnel__option input:focus-visible { outline: 0; }
.funnel__option:has(input:checked) { background: var(--juuub-schwarz); color: var(--juuub-weiss); border-bottom-left-radius: 12px; }
.funnel__frage input[type="number"], .funnel__frage input[type="date"], .funnel__frage textarea { font: inherit; padding: 12px 14px; border: var(--juuub-linie); border-radius: 0; background: var(--juuub-weiss); color: inherit; max-width: 20em; }
.funnel__frage textarea { max-width: none; }
@media (max-width: 600px) { .funnel__schritt { grid-template-columns: 1fr; } }

/* Funnel mit JS: ein Schritt pro Bildschirm ----------------------------- */

.funnel-js { display: block; max-width: 44em; }
.funnel-js .funnel { margin: 0; }
.funnel-js .funnel__intro--js { font-size: 1.0625rem; font-weight: 400; margin: 0 0 20px; }
.funnel-js .funnel__schritt { display: block; border: 0; padding: 0; }
.funnel-js .funnel__schritt[hidden] { display: none; }
.funnel-js .funnel__nummer { display: none; }
.funnel-js .funnel__frage legend, .funnel-js .funnel__frage > label {
    font-stretch: var(--juuub-eng); font-weight: 800; letter-spacing: -0.02em; line-height: 1;
    font-size: clamp(1.75rem, 4vw, 3rem); margin-bottom: 20px; text-wrap: balance;
}
.funnel-js .funnel__optionen { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 601px) { .funnel-js .funnel__optionen { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; } }
.funnel-js .funnel__option { min-height: 64px; font-size: 1.125rem; padding: 16px 20px; justify-content: flex-start; border-bottom-left-radius: var(--juuub-ecke); transition: background 160ms cubic-bezier(0.23,1,0.32,1), color 160ms; }
@media (hover: hover) { .funnel-js .funnel__option:hover { background: var(--juuub-akzent); color: var(--juuub-akzent-text); } }
.funnel-js .funnel__frage input[type="number"], .funnel-js .funnel__frage input[type="date"], .funnel-js .funnel__frage textarea { font-size: 1.25rem; padding: 16px; max-width: 24em; }
.funnel-js .funnel__schritt--kontakt { display: grid; grid-template-columns: 1fr 1fr; gap: 20px var(--juuub-rand); }
.funnel-js .funnel__schritt--kontakt[hidden] { display: none; }
.funnel-js .funnel__schritt--kontakt .bewerben--senden { grid-column: 1 / -1; justify-self: start; }
@media (max-width: 600px) { .funnel-js .funnel__schritt--kontakt { grid-template-columns: 1fr; } }

.funnel__kopf { margin: 0 0 28px; }
.funnel__fortschritt { height: 6px; background: var(--juuub-weiss); box-shadow: inset 0 0 0 1px var(--juuub-schwarz); position: relative; }
.funnel__balken { display: block; height: 100%; background: var(--juuub-schwarz); transition: width 320ms cubic-bezier(0.23,1,0.32,1); position: relative; }
.funnel__balken::after { content: ""; position: absolute; right: -3px; top: -4px; width: 14px; height: 14px; background: var(--juuub-blau); border-bottom-left-radius: 35%; }
.funnel__zaehler { margin: 10px 0 0; font-weight: 700; font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.funnel__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; }
.funnel__nav[hidden] { display: none; }
.funnel__zurueck { font: inherit; font-weight: 700; background: none; border: 0; padding: 12px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; color: inherit; }
.funnel__zurueck[hidden], .funnel__weiter[hidden] { display: none; }
.funnel__weiter { margin-left: auto; font-size: 1.125rem; }
.funnel__ende { display: flex; flex-direction: column; gap: 20px; padding: 24px 0; }
.funnel__ende[hidden] { display: none; }
.funnel__ende-text { font-size: 1.375rem; font-weight: 700; max-width: 28em; margin: 0; }
.funnel__ende-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin: 0; }
.funnel__trotzdem { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; color: inherit; }
@media (prefers-reduced-motion: reduce) { .funnel__balken, .funnel-js .funnel__option { transition: none; } }

/* Danke ---------------------------------------------------------------- */

.danke__flaeche { padding: var(--juuub-abstand) var(--juuub-seite); min-height: 70vh; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.danke .teaser { font-size: 1.375rem; }
.danke .punkt--gross { width: clamp(96px, 18vw, 240px); height: clamp(96px, 18vw, 240px); }

/* Startseite ----------------------------------------------------------- */

/* Der Kopf der Startseite ist der Punkt selbst: eine blaue Fläche mit der einen
   runden Ecke, das Logo in Weiß, dahinter das Schriftband (assets/js/templates/home.js). */
.kopf--punkt {
    display: block;
    position: relative;
    overflow: hidden;
    min-height: clamp(360px, 68vh, 760px);
    background: var(--juuub-blau);
    color: var(--juuub-weiss);
    border-bottom-left-radius: var(--juuub-ecke-gross);
    padding: 0;
}
.kopf--punkt .kopf__logo { position: relative; z-index: 1; padding: 28px var(--juuub-seite); }
.kopf--punkt .kopf__logo img { height: 48px; width: auto; }
.kopf--punkt a:focus-visible { outline-color: var(--juuub-weiss); outline-offset: 4px; }
.kopf__band { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }

.start__hero { padding: var(--juuub-abstand) var(--juuub-seite); display: flex; flex-direction: column; gap: 24px; }
.start__funnel { padding: 0 var(--juuub-seite) var(--juuub-abstand); display: grid; grid-template-columns: 1fr 1fr; gap: 32px var(--juuub-rand); align-items: start; }
.start__funnel .abschnitt__titel { grid-column: 1 / -1; }
.start__funnel-text p { margin: 0 0 1em; font-size: var(--juuub-lesen); }
.start__funnel-text p:last-child { margin-bottom: 0; }
.start__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.start__cta-text { margin: 0; font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.75rem); font-weight: 700; font-stretch: var(--juuub-eng); letter-spacing: -0.01em; line-height: 1.2; }
.start__cta-note { margin: -8px 0 4px; font-size: 1rem; }
.start__cta-mail { font-weight: 700; text-decoration: none; text-underline-offset: 0.2em; }
.start__cta-mail:hover { text-decoration: underline; }
@media (max-width: 800px) {
    .start__funnel { grid-template-columns: 1fr; }
}
/* Der Claim steht weiter als die Stellentitel: zwei Wörter müssen als zwei lesbar sein. */
.titel--start { font-size: clamp(2.75rem, 8vw, 7.5rem); letter-spacing: 0.01em; word-spacing: 0.2em; }
@media (max-width: 800px) {
    .kopf--punkt { min-height: clamp(300px, 56vh, 520px); }
    .kopf--punkt .kopf__logo { padding: 20px var(--juuub-seite); }
    .kopf--punkt .kopf__logo img { height: 36px; }
}

/* Fuß ------------------------------------------------------------------ */

.fuss {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px var(--juuub-rand);
    padding: 40px var(--juuub-seite) 32px;
    font-size: 0.9375rem;
}
.fuss__betrieb { margin: 0; font-weight: 700; }
.fuss__nav { display: flex; flex-wrap: wrap; gap: 16px; }
.fuss__nav a, .fuss__nav button { color: inherit; text-decoration: none; font: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.fuss__nav a:hover, .fuss__nav button:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.fuss__juuub { display: inline-flex; align-items: center; gap: 0.5em; text-decoration: none; font-weight: 700; }

/* Mobile Leiste -------------------------------------------------------- */

.leiste { display: none; }
@media (max-width: 800px) {
    .leiste {
        display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 5;
        background: var(--juuub-schwarz); padding: 12px var(--juuub-rand);
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
    }
    body:has(.leiste) .fuss { padding-bottom: 96px; }
    .leiste { border-top: 1px solid var(--juuub-weiss); }
    .leiste .bewerben { width: 100%; justify-content: center; border: 1px solid var(--juuub-weiss); }
}

/* heox-Blocks (Freitext) ------------------------------------------------ */

.heox-block { max-width: var(--juuub-mass); margin-bottom: 32px; }
.heox-block img { border-bottom-left-radius: var(--juuub-ecke); }
.heox-gallery { display: grid; gap: 16px; grid-template-columns: repeat(var(--cols, 3), 1fr); max-width: none; }
.heox-gallery figure { margin: 0; }

/* Textseiten (Impressum, Datenschutz, Standard, Fehler) ----------------- */

/* Container-Abstand wie jede Sektion; Inhalt in Lesebreite, linksbündig am Raster. */
.page { padding: var(--juuub-abstand) var(--juuub-seite); overflow-wrap: break-word; }
.page > * { max-width: var(--juuub-mass); }
.page h1 {
    margin: 0 0 32px; max-width: none;
    font-stretch: var(--juuub-eng); font-weight: 800;
    font-size: clamp(2rem, 5vw, 4.5rem); line-height: 0.95; letter-spacing: -0.03em;
    hyphens: auto; -webkit-hyphens: auto;
}
.page h2 {
    margin: 56px 0 16px;
    font-stretch: var(--juuub-eng); font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.05; letter-spacing: -0.02em;
    hyphens: auto; -webkit-hyphens: auto;
}
.page h3 { margin: 40px 0 12px; font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.page h1 + h2, .page h2 + h3 { margin-top: 24px; }
.page p, .page ul, .page ol, .page dl { margin: 0 0 16px; font-size: var(--juuub-lesen); }
.page ul, .page ol { padding-left: 1.2em; }
.page li { margin-bottom: 4px; }
.page li::marker { color: var(--juuub-blau); }
.page a { text-underline-offset: 0.2em; }
.page a:hover { color: var(--juuub-blau); }
.page code { font-size: 0.9em; }
.page > :last-child { margin-bottom: 0; }
.page-legal__data { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin-top: 40px; }
.page-legal__data dt { font-weight: 700; }
.page-legal__data dd { margin: 0; }
@media (max-width: 800px) {
    .page h2 { margin-top: 40px; }
    .page-legal__data { grid-template-columns: 1fr; gap: 0; }
    .page-legal__data dd { margin-bottom: 12px; }
}
