/*
 * shopware24.com
 * Farben und Formen stammen aus dem Logo: Tintenblau der Wortmarke, das Blau
 * und Cyan des Tropfens, und die Leiterbahn mit Ringknoten als Gestaltungsmotiv.
 */

@font-face {
    font-family: "Outfit";
    src: url("../fonts/outfit-latin-wght-3BR0lLl.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Sans";
    src: url("../fonts/plex-sans-400-dCzU-sz.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Sans";
    src: url("../fonts/plex-sans-400i-eMjXh-T.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Sans";
    src: url("../fonts/plex-sans-500-mSIWrNY.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Sans";
    src: url("../fonts/plex-sans-600-pA5FLX3.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --tinte: #00265d;
    --tinte-tief: #001a42;
    --tropfen: #1268e0;
    --wasser: #02baef;
    --wasser-text: #0079ad;
    --dunst: #edf6fc;
    --linie: #c5dbee;
    --papier: #ffffff;
    --text: #1b2b4b;
    --text-leise: #4a5a7a;
    --fehler: #b3261e;
    --fehler-grund: #fdf0ef;

    --schrift-titel: "Outfit", "Avenir Next", "Century Gothic", sans-serif;
    --schrift-text: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;

    --breite: 72rem;
    --rand: clamp(1.25rem, 4vw, 2.5rem);
    --abstand-abschnitt: clamp(4rem, 9vw, 7.5rem);
    --radius: 0.625rem;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--papier);
    color: var(--text);
    font-family: var(--schrift-text);
    font-size: 1.0625rem;
    line-height: 1.6;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--tinte);
    font-family: var(--schrift-titel);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.125rem, 4.9vw, 3.375rem);
}

h2 {
    font-size: clamp(1.75rem, 3.6vw, 2.625rem);
}

h3 {
    font-size: 1.3125rem;
    line-height: 1.25;
    letter-spacing: -0.005em;
}

p {
    margin: 0 0 1rem;
    text-wrap: pretty;
}

a {
    color: var(--tropfen);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--tinte);
}

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

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

address {
    font-style: normal;
    margin: 0 0 1rem;
}

.rahmen {
    width: 100%;
    max-width: calc(var(--breite) + 2 * var(--rand));
    margin-inline: auto;
    padding-inline: var(--rand);
}

.rahmen--schmal {
    max-width: calc(44rem + 2 * var(--rand));
}

.sprunglink {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 20;
    padding: 0.75rem 1rem;
    background: var(--tinte);
    color: #fff;
    border-radius: var(--radius);
}

.sprunglink:focus {
    top: 1rem;
    color: #fff;
}

/* Knöpfe */

.knopf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--tinte);
    border-radius: var(--radius);
    background: var(--tinte);
    color: #fff;
    font-family: var(--schrift-titel);
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.knopf:hover {
    background: var(--tropfen);
    border-color: var(--tropfen);
    color: #fff;
}

.knopf--linie {
    background: transparent;
    color: var(--tinte);
}

.knopf--linie:hover {
    background: var(--tinte);
    border-color: var(--tinte);
    color: #fff;
}

.knopf--hell {
    background: #fff;
    border-color: #fff;
    color: var(--tinte);
}

.knopf--hell:hover {
    background: var(--wasser);
    border-color: var(--wasser);
    color: var(--tinte-tief);
}

.knopf--klein {
    min-height: 2.75rem;
    padding: 0.5rem 1.125rem;
    font-size: 1rem;
}

/* Kopf */

.kopf {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--linie);
}

.kopf__innen {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: 4.5rem;
}

.kopf__logo {
    display: block;
    flex: none;
}

.kopf__logo img {
    display: block;
    width: 13.5rem;
}

.kopf__nav {
    margin-left: auto;
}

.kopf__nav ul {
    display: flex;
    gap: 1.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kopf__nav a {
    color: var(--tinte);
    font-family: var(--schrift-titel);
    font-weight: 500;
    text-decoration: none;
}

.kopf__sprache {
    color: var(--tinte);
    font-family: var(--schrift-titel);
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 0.25rem;
}

.kopf__sprache:hover {
    text-decoration: underline;
    text-decoration-color: var(--wasser);
    text-decoration-thickness: 2px;
}

.kopf__nav a:hover {
    text-decoration: underline;
    text-decoration-color: var(--wasser);
    text-decoration-thickness: 2px;
}

@media (max-width: 62rem) {
    .kopf__nav {
        display: none;
    }
    .kopf__sprache {
        margin-left: auto;
    }
}

@media (max-width: 30rem) {
    .kopf__logo img {
        width: 9.75rem;
    }
    .kopf__innen {
        gap: 0.75rem;
    }
    .kopf__cta {
        padding-inline: 0.75rem;
        font-size: 0.9375rem;
    }
}

/* Hero */

.hero {
    padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.5rem, 8vw, 6.5rem);
    background:
        radial-gradient(60rem 30rem at 105% -10%, rgba(2, 186, 239, 0.16), transparent 60%),
        var(--papier);
}

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

.fussnote {
    margin-left: 0.1em;
    color: var(--wasser-text);
    font-size: 0.5em;
    vertical-align: super;
    text-decoration: none;
}

.hero__einleitung {
    max-width: 36rem;
    margin-top: 1.5rem;
    font-size: 1.1875rem;
    line-height: 1.55;
}

.hero__knoepfe {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.hero__hinweis {
    max-width: 34rem;
    margin: 1.25rem 0 0;
    padding-left: 1rem;
    border-left: 3px solid var(--wasser);
    color: var(--text-leise);
    font-size: 1rem;
}

/* Beispielschätzung: das Kernstück der Plattform als Blatt */

.schaetzung {
    position: relative;
    margin: 0;
    padding: clamp(1.25rem, 2.5vw, 2rem);
    background: var(--papier);
    border: 1px solid var(--linie);
    border-radius: 1rem;
    box-shadow: 1rem 1rem 0 var(--dunst), 0 1.5rem 3rem -1.5rem rgba(0, 38, 93, 0.35);
}

.schaetzung__art {
    margin: 0 0 0.25rem;
    color: var(--wasser-text);
    font-family: var(--schrift-titel);
    font-weight: 600;
}

.schaetzung__titel {
    margin: 0 0 1.25rem;
    color: var(--tinte);
    font-family: var(--schrift-titel);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.25;
}

.schaetzung__tabelle {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 0.9375rem;
    line-height: 1.3;
}

.schaetzung__tabelle th,
.schaetzung__tabelle td {
    padding: 0.625rem 0;
    border-top: 1px solid var(--linie);
    text-align: left;
    vertical-align: top;
}

.schaetzung__tabelle thead th {
    padding-top: 0;
    border-top: 0;
    color: var(--text-leise);
    font-weight: 500;
    white-space: nowrap;
}

.schaetzung__tabelle th:first-child {
    width: 44%;
    padding-right: 0.75rem;
    font-weight: 500;
}

.schaetzung__tabelle td,
.schaetzung__tabelle thead th:not(:first-child) {
    width: 28%;
    padding-right: 0.5rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.schaetzung__wer {
    display: block;
    color: var(--text-leise);
    font-size: 0.8125rem;
    font-weight: 400;
}

.schaetzung__tabelle tfoot th,
.schaetzung__tabelle tfoot td {
    border-top: 2px solid var(--tinte);
    color: var(--tinte);
    font-family: var(--schrift-titel);
    font-size: 1.0625rem;
    font-weight: 600;
}

.legende {
    display: inline-block;
    width: 0.625rem;
    height: 0.625rem;
    margin-right: 0.375rem;
    border-radius: 2px;
}

.legende--klassisch,
.balken--klassisch {
    background: #9db3cf;
}

.legende--ki,
.balken--ki {
    background: linear-gradient(90deg, var(--tropfen), var(--wasser));
}

.balken {
    display: block;
    height: 0.5rem;
    margin-bottom: 0.3125rem;
    border-radius: 0.25rem;
    transform-origin: left center;
    animation: balken-wachsen 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

tbody tr:nth-child(2) .balken { animation-delay: 0.08s; }
tbody tr:nth-child(3) .balken { animation-delay: 0.16s; }
tbody tr:nth-child(4) .balken { animation-delay: 0.24s; }
tbody tr:nth-child(5) .balken { animation-delay: 0.32s; }

/* Balkenlänge in Stunden, 22 Std. = volle Breite */
.balken--w3 { width: 14%; }
.balken--w4 { width: 18%; }
.balken--w5 { width: 23%; }
.balken--w6 { width: 27%; }
.balken--w7 { width: 32%; }
.balken--w8 { width: 36%; }
.balken--w22 { width: 100%; }

@keyframes balken-wachsen {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.schaetzung__ergebnis {
    margin: 1.25rem 0 0.5rem;
    padding: 0.875rem 1rem;
    background: var(--tinte);
    border-radius: var(--radius);
    color: #fff;
    font-family: var(--schrift-titel);
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.3;
}

.schaetzung__klein {
    margin: 0;
    color: var(--text-leise);
    font-size: 0.8125rem;
    line-height: 1.45;
}

@media (max-width: 62rem) {
    .hero__raster {
        grid-template-columns: minmax(0, 1fr);
    }
    .schaetzung {
        max-width: 34rem;
        margin-right: 1rem;
    }
}

@media (max-width: 30rem) {
    .schaetzung__tabelle {
        font-size: 0.875rem;
    }
    .schaetzung__tabelle th:first-child {
        width: 38%;
        padding-right: 0.5rem;
        overflow-wrap: anywhere;
    }
    .schaetzung__tabelle td,
    .schaetzung__tabelle thead th:not(:first-child) {
        width: 31%;
        padding-right: 0.25rem;
    }
    .schaetzung__tabelle thead th {
        font-size: 0.8125rem;
    }
    .legende {
        margin-right: 0.25rem;
    }
}

/* Abschnitte */

.abschnitt {
    padding-block: var(--abstand-abschnitt);
}

.abschnitt--dunst {
    background: var(--dunst);
}

.abschnitt--tinte {
    background: var(--tinte);
    color: #d9e8f7;
}

.abschnitt--tinte h2 {
    color: #fff;
}

.abschnitt--schmal {
    padding-block: clamp(2.5rem, 6vw, 4.5rem) var(--abstand-abschnitt);
}

.abschnitt__kopf {
    max-width: 44rem;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.abschnitt__kopf p,
.zweispaltig__kopf p {
    margin: 1.25rem 0 0;
    font-size: 1.125rem;
}

.zweispaltig {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: start;
}

.zweispaltig--mittig {
    align-items: center;
}

.zweispaltig__kopf .knopf {
    margin-top: 2rem;
}

@media (min-width: 62.0625rem) {
    .zweispaltig:not(.zweispaltig--mittig) .zweispaltig__kopf {
        position: sticky;
        top: 7rem;
    }
}

@media (max-width: 62rem) {
    .zweispaltig {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Ablauf als Leiterbahn mit Ringknoten wie im Logo */

.leiterbahn {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: schritt;
}

.leiterbahn li {
    position: relative;
    padding: 0 0 2.5rem 4.25rem;
    counter-increment: schritt;
}

.leiterbahn li::before {
    content: counter(schritt);
    position: absolute;
    left: 0;
    top: -0.375rem;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    background: var(--papier);
    border: 4px solid var(--tropfen);
    border-radius: 50%;
    color: var(--tinte);
    font-family: var(--schrift-titel);
    font-size: 1.125rem;
    font-weight: 600;
}

.leiterbahn li::after {
    content: "";
    position: absolute;
    left: calc(1.375rem - 2px);
    top: 2.25rem;
    bottom: -0.375rem;
    width: 4px;
    background: linear-gradient(var(--tropfen), var(--wasser));
}

.leiterbahn li:last-child {
    padding-bottom: 0;
}

.leiterbahn li:last-child::before {
    background: var(--tinte);
    border-color: var(--tinte);
    color: #fff;
}

.leiterbahn li:last-child::after {
    display: none;
}

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

.leiterbahn p {
    max-width: 36rem;
    margin: 0;
}

/* Beispielaufträge */

.auftraege {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 2px solid var(--tinte);
}

.auftraege li {
    padding: 2rem 2.5rem 2rem 0;
    border-bottom: 1px solid var(--linie);
}

.auftraege li:nth-child(even) {
    padding-left: 2.5rem;
    padding-right: 0;
    border-left: 1px solid var(--linie);
}

.auftraege h3 {
    margin-bottom: 0.75rem;
}

.auftraege p {
    max-width: 32rem;
}

.auftraege .auftraege__beispiel {
    margin: 0;
    color: var(--text-leise);
    font-size: 1rem;
}

@media (max-width: 48rem) {
    .auftraege {
        grid-template-columns: minmax(0, 1fr);
    }
    .auftraege li,
    .auftraege li:nth-child(even) {
        padding: 1.75rem 0;
        border-left: 0;
    }
}

/* Ersparnis */

.rollen {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.rollen__spalte {
    padding-top: 1.25rem;
    border-top: 4px solid var(--linie);
}

.rollen__spalte--ki {
    border-top-color: var(--wasser);
}

.rollen__spalte h3 {
    margin-bottom: 0.75rem;
}

.rollen__spalte p {
    margin: 0;
}

@media (max-width: 48rem) {
    .rollen {
        grid-template-columns: minmax(0, 1fr);
    }
}

.quellen {
    margin-top: clamp(3rem, 6vw, 5rem);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background: var(--dunst);
    border-radius: 1rem;
}

.quellen h3 {
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.quellen > p {
    max-width: 50rem;
}

.tabelle-rahmen {
    overflow-x: auto;
    margin-top: 1.5rem;
}

.quellen__tabelle {
    width: 100%;
    min-width: 36rem;
    border-collapse: collapse;
    font-size: 1rem;
    line-height: 1.45;
}

.quellen__tabelle th,
.quellen__tabelle td {
    padding: 0.875rem 1.25rem 0.875rem 0;
    border-top: 1px solid var(--linie);
    text-align: left;
    vertical-align: top;
    font-weight: 400;
}

.quellen__tabelle thead th {
    border-top: 0;
    color: var(--text-leise);
    font-weight: 500;
}

.quellen__tabelle tbody th {
    width: 36%;
    color: var(--tinte);
    font-weight: 500;
}

.quellen .quellen__klein {
    margin: 1.25rem 0 0;
    color: var(--text-leise);
    font-size: 0.9375rem;
}

/* Auftragnehmer */

.abschnitt--tinte .zweispaltig__kopf p {
    color: #d9e8f7;
}

.haken {
    margin: 0;
    padding: 0;
    list-style: none;
}

.haken li {
    position: relative;
    padding: 1.125rem 0 1.125rem 2.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.125rem;
}

.haken li:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.haken li::before {
    content: "";
    position: absolute;
    left: 0.25rem;
    top: 1.5rem;
    width: 1.125rem;
    height: 0.5625rem;
    border-left: 3px solid var(--wasser);
    border-bottom: 3px solid var(--wasser);
    transform: rotate(-45deg);
}

/* Fragen */

.fragen details {
    border-top: 1px solid var(--linie);
}

.fragen details:last-child {
    border-bottom: 1px solid var(--linie);
}

.fragen summary {
    position: relative;
    padding: 1.25rem 3rem 1.25rem 0;
    color: var(--tinte);
    font-family: var(--schrift-titel);
    font-size: 1.1875rem;
    font-weight: 500;
    line-height: 1.3;
    cursor: pointer;
    list-style: none;
}

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

.fragen summary::after {
    content: "";
    position: absolute;
    right: 0.5rem;
    top: 1.5rem;
    width: 0.75rem;
    height: 0.75rem;
    border-right: 3px solid var(--tropfen);
    border-bottom: 3px solid var(--tropfen);
    transform: rotate(45deg);
    transition: transform 0.2s;
}

.fragen details[open] summary::after {
    top: 1.875rem;
    transform: rotate(-135deg);
}

.fragen summary:hover {
    color: var(--tropfen);
}

.fragen details p {
    max-width: 40rem;
    margin: 0;
    padding-bottom: 1.5rem;
}

/* Abschluss */

.abschluss {
    padding-block: var(--abstand-abschnitt);
    background: var(--dunst);
}

.abschluss p {
    max-width: 44rem;
    margin: 1.25rem 0 0;
    font-size: 1.125rem;
}

/* Fuß */

.fuss {
    padding-block: 3rem 2rem;
    background: var(--tinte-tief);
    color: #c3d5ea;
    font-size: 1rem;
}

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

.fuss__marke {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.fuss__marke p {
    margin: 0;
    max-width: 22rem;
    line-height: 1.4;
}

.fuss__name {
    color: #fff;
    font-family: var(--schrift-titel);
    font-size: 1.375rem;
    font-weight: 600;
}

.fuss__links {
    display: grid;
    grid-template-columns: auto auto;
    gap: 0.5rem 2.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fuss a {
    color: #fff;
    text-decoration-color: rgba(255, 255, 255, 0.4);
}

.fuss a:hover {
    color: var(--wasser);
}

.fuss .fuss__klein {
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.875rem;
}

@media (max-width: 48rem) {
    .fuss__innen,
    .fuss__links {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Unterseiten, Rechtstexte */

.vorspann {
    margin-top: 1.25rem;
    font-size: 1.1875rem;
    line-height: 1.55;
}

.rechtstext h2 {
    margin: 2.5rem 0 0.75rem;
    font-size: 1.375rem;
    line-height: 1.25;
    letter-spacing: 0;
}

.rechtstext h1 + h2,
.rechtstext h1 + .meldung {
    margin-top: 2rem;
}

.rechtstext .rechtstext__stand {
    margin-top: 2.5rem;
    color: var(--text-leise);
}

.meldung {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--wasser);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: var(--dunst);
}

.meldung--fehler {
    border-left-color: var(--fehler);
    background: var(--fehler-grund);
    color: #7a1a14;
}

.wechsel {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--linie);
}

/* Formular */

.formular {
    margin-top: 2rem;
}

.formular__hinweis {
    color: var(--text-leise);
    font-size: 1rem;
}

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

@media (max-width: 36rem) {
    .formular__paar {
        grid-template-columns: minmax(0, 1fr);
    }
}

.feld {
    margin-bottom: 1.5rem;
}

.feld label {
    display: block;
    margin-bottom: 0.375rem;
    color: var(--tinte);
    font-weight: 600;
}

.feld .feld__optional {
    color: var(--text-leise);
    font-weight: 400;
}

.feld input[type="text"],
.feld input[type="email"],
.feld select,
.feld textarea {
    display: block;
    width: 100%;
    min-height: 3.125rem;
    padding: 0.75rem 0.875rem;
    border: 1.5px solid #7f93b3;
    border-radius: var(--radius);
    background: #fff;
    color: var(--text);
    font: inherit;
    line-height: 1.4;
}

.feld textarea {
    min-height: 10rem;
    resize: vertical;
}

.feld input:hover,
.feld select:hover,
.feld textarea:hover {
    border-color: var(--tinte);
}

.feld input:focus-visible,
.feld select:focus-visible,
.feld textarea:focus-visible {
    border-color: var(--tropfen);
    outline-offset: 1px;
    border-radius: var(--radius);
}

.feld__hilfe {
    margin: 0.375rem 0 0;
    color: var(--text-leise);
    font-size: 0.9375rem;
}

.feld__fehler {
    margin: 0.375rem 0 0;
    color: var(--fehler);
    font-weight: 500;
}

.feld--fehler input[type="text"],
.feld--fehler input[type="email"],
.feld--fehler select,
.feld--fehler textarea {
    border-color: var(--fehler);
}

.feld__haken {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.875rem;
    align-items: start;
}

.feld__haken input {
    width: 1.5rem;
    height: 1.5rem;
    margin: 0.125rem 0 0;
    accent-color: var(--tinte);
}

.feld .feld__haken label {
    margin: 0;
    color: var(--text);
    font-weight: 400;
}

/* Honeypot: für Menschen unsichtbar, für Bots ein normales Feld */
.feld-hp {
    position: absolute;
    left: -200vw;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Anfrage: Editor, Ablauf, Ergebnis */

.rahmen--mittel {
    max-width: 54rem;
}

.rahmen--mittel h2 {
    margin: 2.75rem 0 0.75rem;
    font-size: 1.5rem;
    line-height: 1.25;
    letter-spacing: 0;
}

.formular__titel {
    margin: 2.75rem 0 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--linie);
    font-size: 1.375rem;
    line-height: 1.25;
    letter-spacing: 0;
}

.formular > .formular__titel:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.feld input[type="number"],
.feld input[type="date"],
.feld input[type="password"],
.feld input[type="url"] {
    width: 100%;
    padding: 0.75rem 0.875rem;
    border: 1px solid #8ea6c4;
    border-radius: var(--radius);
    background: var(--papier);
    color: var(--text);
    font: inherit;
}

.feld input[type="number"]:focus-visible,
.feld input[type="date"]:focus-visible,
.feld input[type="password"]:focus-visible,
.feld input[type="url"]:focus-visible,
.editor:focus-within {
    outline: 3px solid var(--wasser);
    outline-offset: 2px;
    border-color: var(--tinte);
}

.feld--fehler input[type="number"],
.feld--fehler input[type="date"],
.feld--fehler input[type="password"],
.feld--fehler .editor {
    border-color: var(--fehler);
}

.editor {
    border: 1px solid #8ea6c4;
    border-radius: var(--radius);
    background: var(--papier);
    overflow: hidden;
}

.editor__leiste {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    padding: 0.375rem;
    border-bottom: 1px solid var(--linie);
    background: var(--dunst);
}

.editor__leiste button {
    min-width: 2.25rem;
    padding: 0.375rem 0.625rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    background: transparent;
    color: var(--tinte);
    font: inherit;
    font-size: 0.9375rem;
    cursor: pointer;
}

.editor__leiste button:hover {
    border-color: var(--linie);
    background: var(--papier);
}

.editor__leiste button:focus-visible {
    outline: 2px solid var(--tropfen);
    outline-offset: 1px;
}

.editor__flaeche {
    min-height: 16rem;
    max-height: 32rem;
    padding: 0.875rem 1rem;
    overflow-y: auto;
    outline: 0;
}

.editor__flaeche > :first-child,
.fliesstext > :first-child {
    margin-top: 0;
}

.editor__flaeche h3,
.fliesstext h3 {
    margin: 1.25rem 0 0.5rem;
    font-size: 1.125rem;
}

.editor__flaeche p,
.editor__flaeche ul,
.editor__flaeche ol,
.fliesstext p,
.fliesstext ul,
.fliesstext ol {
    margin: 0 0 0.875rem;
}

.fliesstext {
    overflow-wrap: anywhere;
}

.knopfreihe {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.fortschritt {
    margin: 2rem 0;
    padding: 0;
    list-style: none;
}

.fortschritt li {
    position: relative;
    padding: 0 0 1.25rem 2.25rem;
    color: var(--text-leise);
}

.fortschritt li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.2em;
    width: 1.125rem;
    height: 1.125rem;
    border: 2px solid var(--linie);
    border-radius: 50%;
    background: var(--papier);
}

.fortschritt li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0.5rem;
    top: 1.5em;
    bottom: 0;
    width: 2px;
    background: var(--linie);
}

.fortschritt .fortschritt__fertig {
    color: var(--text);
}

.fortschritt .fortschritt__fertig::before {
    border-color: var(--tropfen);
    background: var(--tropfen);
}

.fortschritt .fortschritt__aktiv {
    color: var(--tinte);
    font-weight: 600;
}

.fortschritt .fortschritt__aktiv::before {
    border-color: var(--wasser);
    animation: puls 1.4s ease-in-out infinite;
}

@keyframes puls {
    0%, 100% { box-shadow: 0 0 0 0 rgba(2, 186, 239, 0.5); }
    50% { box-shadow: 0 0 0 0.5rem rgba(2, 186, 239, 0); }
}

.rueckfragen {
    margin: 1.5rem 0 2rem;
    padding-left: 1.5rem;
}

.rueckfragen li {
    margin-bottom: 0.625rem;
    padding-left: 0.25rem;
    color: var(--tinte);
    font-weight: 500;
}

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

.kennzahlen > div {
    padding: 1rem 1.125rem;
    border: 1px solid var(--linie);
    border-radius: var(--radius);
}

.kennzahlen dt {
    color: var(--text-leise);
    font-size: 0.9375rem;
}

.kennzahlen dd {
    margin: 0.25rem 0 0;
    color: var(--tinte);
    font-family: var(--schrift-titel);
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.kennzahlen .kennzahlen__ki {
    border-color: var(--tinte);
    background: var(--tinte);
}

.kennzahlen .kennzahlen__ki dt,
.kennzahlen .kennzahlen__ki dd {
    color: #fff;
}

@media (max-width: 40rem) {
    .kennzahlen {
        grid-template-columns: minmax(0, 1fr);
    }
}

.schaetzung__tabelle--ergebnis {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.schaetzung__tabelle--ergebnis th:first-child {
    width: 50%;
}

.schaetzung__tabelle--ergebnis td,
.schaetzung__tabelle--ergebnis thead th:not(:first-child) {
    width: 25%;
}

.schaetzung__text {
    display: block;
    margin-top: 0.25rem;
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.45;
}

@media (max-width: 36rem) {
    .schaetzung__tabelle--ergebnis {
        min-width: 30rem;
    }
}

.balken--p5 { width: 5%; }
.balken--p10 { width: 10%; }
.balken--p15 { width: 15%; }
.balken--p20 { width: 20%; }
.balken--p25 { width: 25%; }
.balken--p30 { width: 30%; }
.balken--p35 { width: 35%; }
.balken--p40 { width: 40%; }
.balken--p45 { width: 45%; }
.balken--p50 { width: 50%; }
.balken--p55 { width: 55%; }
.balken--p60 { width: 60%; }
.balken--p65 { width: 65%; }
.balken--p70 { width: 70%; }
.balken--p75 { width: 75%; }
.balken--p80 { width: 80%; }
.balken--p85 { width: 85%; }
.balken--p90 { width: 90%; }
.balken--p95 { width: 95%; }
.balken--p100 { width: 100%; }

.urteil {
    margin: 1.25rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--wasser);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: var(--dunst);
}

.urteil strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--tinte);
    font-family: var(--schrift-titel);
    font-size: 1.125rem;
}

.urteil--deutlich_zu_niedrig,
.urteil--niedrig {
    border-left-color: #c77700;
    background: #fff6e5;
}

.punkte {
    margin: 0 0 1.5rem;
    padding-left: 1.25rem;
}

.punkte li {
    margin-bottom: 0.5rem;
    padding-left: 0.25rem;
}

.punkte li::marker {
    color: var(--tropfen);
}

.aktionen {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--tinte);
}

.verwerfen {
    margin-top: 2rem;
    color: var(--text-leise);
}

.verwerfen summary {
    cursor: pointer;
    text-decoration: underline;
}

.verwerfen p {
    margin: 0.75rem 0;
}

.cf-turnstile {
    min-height: 4.0625rem;
}

/* Vom Editor ersetztes Textfeld: display der Feldregeln sticht sonst das Attribut aus */
.feld textarea[hidden],
.editor[hidden] {
    display: none;
}

/* Auftragsbörse */

.eckdaten {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
    margin: 1.25rem 0 1.5rem;
}

.eckdaten dt {
    color: var(--text-leise);
    font-size: 0.875rem;
}

.eckdaten dd {
    margin: 0;
    color: var(--tinte);
    font-weight: 600;
}

.filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0 2rem;
}

.filter a {
    padding: 0.375rem 0.875rem;
    border: 1px solid var(--linie);
    border-radius: 999px;
    color: var(--tinte);
    font-size: 0.9375rem;
    text-decoration: none;
}

.filter a:hover {
    border-color: var(--tinte);
}

.filter a[aria-current] {
    border-color: var(--tinte);
    background: var(--tinte);
    color: #fff;
}

.auftraege {
    margin: 0;
    padding: 0;
    list-style: none;
}

.auftraege > li {
    padding: 1.5rem 0 0.5rem;
    border-top: 1px solid var(--linie);
}

.auftraege > li:last-child {
    border-bottom: 1px solid var(--linie);
}

.rahmen--mittel .auftraege h2 {
    margin: 0 0 0.375rem;
    font-size: 1.375rem;
}

.auftraege h2 a {
    color: var(--tinte);
    text-decoration: none;
}

.auftraege h2 a:hover {
    text-decoration: underline;
}

.auftraege p {
    margin: 0;
}

/* Bewerbungen */

.bewerbung {
    margin: 1.25rem 0;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--linie);
    border-radius: var(--radius);
}

.bewerbung--ausgewaehlt {
    border: 2px solid var(--tinte);
}

.bewerbung--abgesagt {
    background: var(--dunst);
}

.bewerbung h3 {
    margin: 0;
    font-size: 1.1875rem;
}

.bewerbung h4 {
    margin: 0 0 0.25rem;
    font-size: 0.9375rem;
    color: var(--text-leise);
    font-weight: 500;
}

.bewerbung__text {
    margin: 0 0 1rem;
    overflow-wrap: anywhere;
}

.bewerbung details {
    margin-bottom: 1rem;
}

.bewerbung summary {
    cursor: pointer;
}

.bewerbung .knopfreihe {
    margin: 0.5rem 0 0;
    align-items: flex-start;
}

.bewerbung__wahl p {
    margin: 0.75rem 0;
    max-width: 30rem;
}

.bewerbung__wahl[open] summary {
    display: none;
}

.feld input[type="email"]:not([class]),
.feld input[type="password"]:not([class]) {
    display: block;
}

/* Administration */

.admin h1 {
    margin-top: 0.5rem;
}

.admin h2 {
    margin: 2.25rem 0 0.5rem;
    font-size: 1.375rem;
    letter-spacing: 0;
}

.admin .filter {
    align-items: center;
}

.admin__tabelle {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.admin__tabelle th,
.admin__tabelle td {
    padding: 0.5rem 0.75rem 0.5rem 0;
    border-bottom: 1px solid var(--linie);
    text-align: left;
    vertical-align: top;
}

.admin__tabelle th {
    color: var(--text-leise);
    font-weight: 500;
    white-space: nowrap;
}

.admin__aktionen {
    display: flex;
    gap: 0.5rem;
}

.admin__knopf {
    padding: 0.3125rem 0.75rem;
    border: 1px solid var(--tinte);
    border-radius: 999px;
    background: var(--papier);
    color: var(--tinte);
    font: inherit;
    font-size: 0.875rem;
    cursor: pointer;
}

.admin__knopf:hover {
    background: var(--dunst);
}

.admin__knopf--warn {
    border-color: var(--fehler);
    color: var(--fehler);
}

/* Cookie-Banner */

.cookie {
    position: fixed;
    z-index: 50;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: 34rem;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding: 1.25rem 1.5rem 1.5rem;
    border: 2px solid var(--tinte);
    border-radius: var(--radius);
    background: var(--papier);
    box-shadow: 0 0.75rem 2.5rem rgba(0, 38, 93, 0.25);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.cookie[hidden] {
    display: none;
}

.cookie .cookie__titel {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    letter-spacing: 0;
}

.cookie .cookie__titel:focus {
    outline: 0;
}

.cookie p {
    margin: 0 0 1rem;
}

.cookie__wahl {
    display: flex;
    gap: 0.625rem;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.cookie__wahl input {
    flex: none;
    width: 1.125rem;
    height: 1.125rem;
    margin: 0.2rem 0 0;
    accent-color: var(--tinte);
}

.cookie__knoepfe {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.cookie__knoepfe .knopf {
    flex: 1 1 auto;
}

.fuss .fuss__knopf {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.fuss .fuss__knopf[hidden] {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .balken,
    .fortschritt .fortschritt__aktiv::before {
        animation: none;
    }
    * {
        transition: none !important;
    }
}

@media print {
    .kopf,
    .fuss,
    .sprunglink {
        display: none;
    }
}
