* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --h1: 3.5rem;
    --h2: 2.7rem;
    --h3: 2.2rem;
    --copy: 1.6rem;

    --padding-t-b: 5rem;
    --padding-l-r: 2rem;

    --gelb: #FFD040;
    --quarz: #1D1E22;
    --kobalt: #374F60;
    --beton: #8B9096;
    --hell: #E7E6E9;
}
@font-face {
  font-family: "Overused";
  src: url("OverusedGrotesk-Roman.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Overused";
  src: url("OverusedGrotesk-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Overused";
  src: url("OverusedGrotesk-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Overused";
  src: url("OverusedGrotesk-BoldItalic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
/* ### - A - ### */
a {
    text-decoration: none;
    color: var(--kobalt);
}
a:hover {
    text-decoration: underline;
}
:focus-visible {
    outline: 2px solid var(--kobalt);
    outline-offset: 3px;
}
.bg-quarz :focus-visible,
.bg-kobalt :focus-visible,
.bg-beton :focus-visible {
    outline-color: #fff;
}
.skip-link {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 1rem 1.5rem;
    background-color: var(--kobalt);
    color: #fff;
    transform: translateY(-150%);
    transition: transform 0.2s ease-in-out;
}
.skip-link:focus {
    transform: translateY(0);
}
/* ### - B - ### */
body {
    font-size: 1.4rem;
    line-height: 1.2;
    font-family: "Overused", sans-serif;
    color: var(--kobalt);
    font-synthesis: none;
    background-color: var(--hell);
}
.bg-quarz {
    background-color: var(--quarz);
    color: white;
}
.bg-kobalt {
    background-color: var(--kobalt);
    color: white;
}
.bg-beton {
    background-color: var(--beton);
    color: white;
}
.bg-hell {
    background-color: var(--hell);
}
.border {
    border: 1px solid var(--kobalt);
}
.border-left {
    border-left: 1px solid white;
}
.border-top {
   border-top: 1px solid white; 
}
.bg-hell .border-left {
    border-left: 1px solid var(--kobalt);
}
.bg-hell .border-top {
    border-top: 1px solid var(--kobalt);
}
.bg-quarz .border,
.bg-kobalt .border,
.bg-beton .border {
    border: 1px solid white;
}
.draw-border {
  position: relative;
}
.draw-border > svg.border__draw {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.draw-border > svg.border__draw path {
    stroke: var(--kobalt);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
    fill: none;
}
.draw-border > :not(svg) { position: relative; z-index: 1; }
.button {
    background-color: var(--gelb);
    color: var(--kobalt);
    height: 150px;
    width: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.1s ease-in-out;
    padding-bottom: 5px;
    padding: 1rem;
    border: none;
    font-family: Overused, sans-serif;
    font-size: var(--copy);
    cursor: pointer;
}
.button:hover {
    scale: 1.1;
}
.button-klein {
    background-color: var(--gelb);
    color: var(--kobalt);
    border-radius: 50px;    
    padding: 0.3rem 1rem;
    display: flex;
    width: fit-content;
    transition: all 0.1s ease-in-out;
}
.button-klein:hover {
    scale: 1.1;
}
.burger {
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
}
.burger span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--kobalt);
}
/* ### - C - ### */
.content {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: center;
    align-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}
.content-text {
    grid-column: 1/7;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
/* ### - D - ### */
/* ### - E - ### */
/* ### - F - ### */
.footer {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 3rem;
    padding: 3rem var(--padding-l-r);
    border-top: 1px solid var(--kobalt);
}
.footer p {
    margin-bottom: 0;
}
.footer__nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}
.faq-num {
    font-size: var(--h3);
    display: flex;
    align-items: center;
    justify-content: center;
}
.faq-item {
    display: grid;
    grid-template-columns: 4rem 1fr;
    grid-template-rows: auto auto;
}
.faq-question {
    margin: 0;
    font-size: var(--copy);
    font-weight: inherit;
    line-height: 1.4;
}
.faq-frage {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border: none;
    border-left: 1px solid white;
    background: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.faq-frage:hover .faq-icon {
    transform: scale(1.1);
}
.faq-icon {
    width: 1.25rem;
    flex: none;
    fill: none;
    transition: rotate 0.4s ease, transform 0.2s ease;
}
.faq-icon path {
    stroke: white;
    stroke-width: 1;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}
.faq-antwort {
    grid-column: 1/-1;
    overflow: hidden;
    border-top: 1px solid white;
}
.faq-antwort[hidden] {
    display: none;
}
/* Padding sitzt innen, damit es beim Auf-/Zuklappen nicht springt */
.faq-antwort__inhalt {
    padding: 1rem;
}
.faq-item.is-open .faq-icon {
    rotate: 180deg;
}
/* ### - G - ### */
/* ### - H - ### */
html {
    scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
.header {
    height: 100px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--padding-l-r);
}
.header__logo img {
    height: 32px;
    width: auto;
    display: block;
}
h1 {
    font-size: var(--h1);
    line-height: 1.1;
    font-weight: bold;
    hyphens: auto;
}
h2 {
    font-size: var(--h2);
    line-height: 1.1;
    font-weight: bold;
    margin-bottom: var(--copy);
}
h3 {
    font-size: var(--h3);
    line-height: 1.1;
}
/* Überschriften eine Ebene tiefer, die weiter wie eine h2 aussehen sollen */
.section-headline,
.phase-titel {
    font-size: var(--h2);
    font-weight: bold;
    margin-bottom: var(--copy);
}
.zielgruppe-titel {
    font-size: var(--h3);
    line-height: 1.1;
}
.kontakt-text h3 {
    font-size: var(--h2);
    font-weight: bold;
    margin-bottom: var(--copy);
}
.mehr-sub {
    font-size: var(--h3);
    line-height: 1.1;
    margin-bottom: 0;
}
.h-50 {
    height: 50px;
}
/* ### - I - ### */
img {
    display: block;
    max-width: 100%;
    /* nötig, sobald width/height am <img> stehen: Seitenverhältnis bleibt,
       der Platz wird aber schon vor dem Laden reserviert */
    height: auto;
}
/* ### - J - ### */
/* ### - K - ### */
.kolumne {
    /* Abschnittsname über der Headline (die Headline selbst ist die h2) */
    font-size: var(--h3);
    line-height: 1.4;
    font-weight: normal;
    margin-bottom: 0;
}
.kolumne span {
    border: 1px solid var(--kobalt);
    height: 4rem;
    width: 4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 1rem;
}
.bg-quarz .kolumne span,
.bg-kobalt .kolumne span,
.bg-beton .kolumne span {
        border: 1px solid white;
}
.kontakt-button {
    padding: 2rem;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}
.kontakt-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 0;
}
/* Formular „Erstgespräch“: siehe Abschnitt KONTAKT-DIALOG am Ende */
/* ### - L - ### */
.linie {
    height: 100%;
}
/* ### - M - ### */
.margin-bot {
    margin-bottom: 1rem;
}
.mehr {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 3rem;
    margin: 5rem 0;
}
/* ### - N - ### */
.no-mob {
    display: none;
}
.nav {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--hell);
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out, visibility 0s linear 0.4s;
}
.nav.is-open {
    visibility: visible;
    transform: translateX(0);
    transition: transform 0.4s ease-in-out, visibility 0s;
}
.nav__close {
    position: absolute;
    top: var(--padding-l-r);
    right: var(--padding-l-r);
    width: 40px;
    height: 40px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
}
.nav__close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: var(--kobalt);
}
.nav__close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}
.nav__close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}
.nav__list {
    list-style: none;
    text-align: center;
}
.nav__item a {
    display: block;
    padding: 0.5rem 0;
    font-size: var(--h2);
    color: var(--kobalt);
}
/* ### - O - ### */
/* ### - P - ### */
p {
    font-size: var(--copy);
    line-height: 1.4;
    margin-bottom: var(--copy);
}
p:last-child {
    margin-bottom: 0;
}
.panel { position: relative; }
.panel__inner {
    height: 100%;
}
.panel__overlay {
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 0;
    pointer-events: none;
}
.phasen-headline {
    font-size: var(--h3);
    text-align: center;
    margin: 3rem 0;
}
.phasen-linie {
    grid-column: 3/5;
    grid-row: 1 / var(--zeilen, 12);
}
.phasen-labels {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}
.phase-label {
    font-size: var(--copy);
    display: inline-block;
    padding: 0.3rem 0.5rem;
    background-color: var(--beton);
    position: relative;
    margin-bottom: 0rem;
}
.phase-label span {
    margin-right: 0.5rem;
}
.phase-karte {
    display: grid;
    background-color: var(--beton);
    position: relative;
}
/* Rasterzeilen kommen aus ablauf.php (--zeile / --zeilen) */
.phasen-labels,
.phase-karte,
.phasen .border-top {
    grid-row-start: var(--zeile, auto);
}
.phase-karte h3,
.phase-karte p {
    padding: 1rem;
}
.phase-karte img {
    height: 1rem;
    justify-self: end;
    margin: 1rem;
}
.phase-karte .schraffur {
    height: 2rem;
}
/* ### - Q - ### */
/* ### - R - ### */
.rotator {
  position: relative;
  display: inline-grid;
  overflow: hidden;
  vertical-align: top;
}
.rotator-word {
  grid-area: 1 / 1;
  transform: translateY(100%);
}
.rotator-word.is-active {
  transform: translateY(0%);
}
/* ### - S - ### */
.seite {
    /* Textseiten starten unter dem fixierten Header */
    padding-top: calc(var(--padding-t-b) + 100px);
}

section {
    padding: 
        var(--padding-t-b) 
        var(--padding-l-r);
        padding-bottom: 10rem;
    min-height: 100svh;
    scroll-margin-top: 100px;
}
.section-intro {
    display: grid;
    grid-template-rows: 50px 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.span-1,
.span-2,
.span-3,
.span-4,
.span-5,
.span-6 {
    grid-column: 1/-1;
}
.start {
    padding-bottom: 5rem;
}
.start .panel__inner {
    display: grid;
    grid-template-rows: 5fr 1fr;
}
.start .content:first-child {
    grid-template-rows: 0.5fr 1fr 1fr; 
    margin-top: 50px;
}
.start h1 {
    padding: 0 1rem;
}
.spacer {
    height: 100px;
}
/* ### - T - ### */
.textseite h2 {
    font-size: var(--h3);
    margin: 3rem 0 1rem;
}
.textseite h3 {
    font-size: var(--copy);
    font-weight: bold;
    margin: 2rem 0 1rem;
}
.textseite ul,
.textseite ol {
    list-style: revert;
    padding-left: 2rem;
    margin-bottom: var(--copy);
}
.textseite li {
    font-size: var(--copy);
    line-height: 1.4;
}
.textseite a {
    text-decoration: underline;
}

/* ### - U - ### */
/* ### - V - ### */
/* ### - W - ### */
/* ### - X - ### */
/* ### - Y - ### */
/* ### - Z - ### */
.zielgruppe {
    display: grid;
    border-bottom: 1px solid var(--kobalt);
    padding: 1rem;
    gap: 2rem;
}
.zielgruppe:last-child {
    border-bottom: none;
}
.zielgruppe span {
    height: 6rem;
    width: 6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--kobalt);
    font-size: var(--h3);
}
.zielgruppe div {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 750px) {
    :root {
    --h1: 6.5rem;
    --h2: 4.7rem;
    --h3: 3.2rem;
    --copy: 1.9rem;
    --padding-t-b: 10rem;
    --padding-l-r: 5rem;
}
    .start h1 {
        padding: 0 3rem;
    }
    .span-2 {
        grid-column: span 2
    }
    .zielgruppe {
        grid-template-columns: 1fr 4fr;
        padding: 2rem;
    }
    .zielgruppe span {
        height: 9rem;
        width: 9rem;
    }
    .faq-item {
        grid-template-columns: 8rem 1fr;
    }
    .faq-frage {
        padding: 3rem 2rem;
    }
}

@media (min-width: 1000px) {
    :root {
        --h1: 6.5rem;
        --h2: 4.7rem;
        --h3: 3.2rem;
        --copy: 1.9rem;
        --padding-t-b: 10rem;
        --padding-l-r: 10rem;
    }
    .header {
        padding: 5rem var(--padding-l-r);
    }
    .burger,
    .nav__close {
        display: none;
    }
    .nav {
        position: static;
        z-index: auto;
        flex-direction: row;
        background: none;
        visibility: visible;
        transform: none;
        transition: none;
    }
    .nav__list {
        display: flex;
        gap: 4rem;
    }
    .nav__item a {
        padding: 0;
        font-size: var(--copy);
    }
    .section-intro {
        gap: 7rem;
        margin-bottom: 7rem;
    }
    .content-text {
        gap: 4rem;
    }
    .kolumne span {
        height: 5rem;
        width: 5rem;
    }
}
@media (min-width: 1190px) {
    .span-1 {
        grid-column: span 1;
    }
    .span-3 {
        grid-column: span 3;
    }
    .span-4 {
        grid-column: span 4;
    }
    .start .content:first-child {
        grid-template-rows: 1fr;
    }
    h1 {
        hyphens: none;
    }
    .no-mob {
        display: block;
    }
    .section-intro {
        margin-bottom: 15rem;
    }
    .section-intro .border-left {
        grid-column: 1/2;
        grid-row: 1/3;
    }
    .section-intro .border-top {
        grid-row: 1/2;
    }
    .section-intro .schraffur {
        grid-column: 6/7;
        grid-row: 1/3;
    }
    .section-intro .content-text {
        grid-row: 2/5;
    }
    .content-text {
        grid-column: 2/6;
    }
    .phasen-headline {
        font-size: var(--copy);
        align-self: baseline;
        margin: 0;
        text-align: left;
        grid-row: 1/2;
    }
    .phasen-linie {
        grid-column: 1/2;
    }
    .phasen-labels {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: start;
    }
    .phase-label {
        padding: 0.5rem 1rem;
    }
    .phasen .border-top {
        grid-column: 1/2;
    }
    .button-klein {
        padding: 0.5rem 2rem;
    }
}

@media (min-width: 1350px) {
    :root {
        --h1: 7.5rem;
        --h2: 5.7rem;
        --h3: 4.2rem;
        --copy: 1.9rem;
        --padding-t-b: 12rem;
        --padding-l-r: 12rem;
    }
    .zielgruppe {
        padding: 3rem;
    }
    .mehr {
        padding: 4rem;
    }
    .phase-karte h3, .phase-karte p {
        padding: 2rem;
    }
}

@media (min-width: 1650px) {
    :root {
        --h1: 9rem;
        --h2: 6.5rem;
        --h3: 4.2rem;
        --copy: 1.9rem;
        --padding-t-b: 12rem;
        --padding-l-r: 15rem;
    }
    .phase-karte h3, .phase-karte p {
        padding: 3rem;
    }
    .kolumne span {
        height: 6rem;
        width: 6rem;
    }
    .kontakt-button {
        padding: 4rem;
    }
}

@media (min-width: 2000px) {    
    :root {
        --h1: 14rem;
        --h2: 8rem;
        --h3: 5rem;
        --copy: 2rem;
        --padding-t-b: 18rem;
        --padding-l-r: 18rem;
    }
    .button {
        height: 200px;
        width: 200px;
    }
    .content-text {
        gap: 8rem;
    }
    .zielgruppe {
        padding: 4rem;
    }
    .mehr {
        padding: 8rem;
    }
    .kontakt-button {
        padding: 8rem;
    }
    .faq-antwort__inhalt {
        padding: 4rem;
    }
}


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

/* Inline-SVG-Schaubilder (snippets/schaubild.php) */
svg.schaubild {
    display: block;
    width: 100%;
    height: auto;
}

/* Pause-Knopf für die wechselnden Wörter in der H1 */
.rotator-pause {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 3.2rem;
    height: 3.2rem;
    margin: 1rem 0 0 1rem;
    padding: 0;
    border: 1px solid var(--kobalt);
    border-radius: 50%;
    background: none;
    color: var(--kobalt);
    cursor: pointer;
}
.rotator-pause[hidden] {
    display: none;
}
/* zwei Balken = Pause, Dreieck = weiter */
.rotator-pause::before,
.rotator-pause::after {
    content: "";
    width: 3px;
    height: 1.1rem;
    background-color: currentColor;
}
.rotator-pause[aria-pressed="true"]::after {
    display: none;
}
.rotator-pause[aria-pressed="true"]::before {
    width: 0;
    height: 0;
    margin-left: 3px;
    background: none;
    border-style: solid;
    border-width: 0.6rem 0 0.6rem 1rem;
    border-color: transparent transparent transparent currentColor;
}
@media (min-width: 750px) {
    .rotator-pause {
        margin-left: 3rem;
    }
}

/* ### - KONTAKT-DIALOG - ### */
:root {
    --fehler: #A3262A;
}
html:has(.kontakt-dialog[open]) {
    overflow: hidden;
}
.kontakt-dialog {
    position: fixed;
    inset: 0 0 0 auto;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 3rem var(--padding-l-r) 5rem;
    border: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    background-color: var(--hell);
    color: var(--kobalt);
    transform: translateX(100%);
    transition:
        transform 0.4s ease-in-out,
        overlay 0.4s allow-discrete,
        display 0.4s allow-discrete;
}
.kontakt-dialog[open] {
    transform: translateX(0);
}
@starting-style {
    .kontakt-dialog[open] {
        transform: translateX(100%);
    }
}
.kontakt-dialog::backdrop {
    background-color: rgb(0 0 0 / 0.6);
}
.kontakt-dialog__kopf {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}
.kontakt-dialog__titel {
    font-size: var(--h3);
    margin-bottom: 0;
}
.kontakt-dialog__schliessen {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.4rem;
    height: 4.4rem;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
}
.kontakt-dialog__schliessen img {
    width: 2.5rem;
    height: 2.5rem;
}

/* Fortschritt */
.fortschritt {
    margin-bottom: 4rem;
}
.fortschritt[hidden] {
    display: none;
}
.fortschritt__text {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}
.fortschritt__balken {
    height: 4px;
    background-color: rgb(55 79 96 / 0.2);
}
.fortschritt__balken span {
    display: block;
    width: 33.3%;
    height: 100%;
    background-color: var(--kobalt);
    transition: width 0.3s ease;
}

/* Schritte */
.kontakt-form {
    max-width: 80rem;
}
.form-step {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    transition: opacity 0.3s ease;
}
.form-step[hidden] {
    display: none;
}
@starting-style {
    .form-step {
        opacity: 0;
    }
}
.form-step__titel:focus {
    outline: none;
}
.form-step__titel:focus-visible {
    outline: 2px solid var(--kobalt);
}
.kontakt-form__einleitung {
    max-width: 60rem;
}
.kontakt-danke__titel {
    font-size: var(--h2);
    font-weight: bold;
}

/* Fragen */
.frage {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}
.frage[hidden] {
    display: none;
}
.frage__label {
    font-size: var(--h3);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}
.frage__label--klein {
    font-size: var(--copy);
    margin-bottom: 0;
}
.frage__zusatz {
    font-size: 0.85em;
}
.frage__hilfe {
    font-size: 1.6rem;
    max-width: 60rem;
}
.frage__fehler {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--fehler);
}
.frage__fehler::before {
    content: "! ";
}
.frage__fehler[hidden] {
    display: none;
}
.felder {
    display: grid;
    gap: 2rem;
}

/* Eingabefelder: sichtbarer Rahmen (WCAG 1.4.11) */
.kontakt-form input[type="text"],
.kontakt-form input[type="email"],
.kontakt-form input[type="tel"],
.kontakt-form textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    font-family: Overused, sans-serif;
    font-size: var(--copy);
    color: var(--kobalt);
    background-color: #fff;
    border: 1px solid var(--kobalt);
    border-radius: 0;
}
.kontakt-form textarea {
    min-height: 15rem;
    resize: vertical;
}
.kontakt-form ::placeholder {
    color: #5E6E7A;
    opacity: 1;
}
.kontakt-form [aria-invalid="true"]:not([type="radio"]):not([type="checkbox"]) {
    border: 2px solid var(--fehler);
}

/* Chips = gestaltete Radio-Buttons */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.chip {
    position: relative;
    display: inline-flex;
    cursor: pointer;
}
.chip input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}
.chip span {
    display: block;
    padding: 0.5rem 1.4rem;
    border: 1px solid var(--kobalt);
    border-radius: 5rem;
    font-size: var(--copy);
    line-height: 1.4;
    transition: background-color 0.1s ease-in-out;
}
.chip:hover span {
    background-color: #fff;
}
.chip input:checked + span {
    background-color: var(--gelb);
    font-weight: bold;
}
.chip input:focus-visible + span {
    outline: 2px solid var(--kobalt);
    outline-offset: 3px;
}
.chips:has([aria-invalid="true"]) .chip span {
    border-color: var(--fehler);
}

/* Einwilligung */
.frage--checkbox {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    column-gap: 1.2rem;
}
.frage--checkbox input {
    width: 2.2rem;
    height: 2.2rem;
    margin-top: 0.3rem;
    accent-color: var(--kobalt);
}
.frage--checkbox label {
    font-size: 1.6rem;
    line-height: 1.4;
}
.frage--checkbox label a {
    text-decoration: underline;
}
.frage--checkbox .frage__fehler {
    grid-column: 1 / -1;
}

/* Honeypot */
.kontakt-form__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    padding: 1.5rem;
    border: 2px solid var(--fehler);
    font-weight: bold;
}
.form-status:empty {
    display: none;
}

.form-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}
.form-nav .button:only-child {
    margin-left: auto;
}
.form-nav .button {
    width: 12rem;
    height: 12rem;
}
.form-nav [data-submit] {
    width: 15rem;
    height: 15rem;
}
.form-nav .button[aria-disabled="true"] {
    opacity: 0.6;
    cursor: progress;
}

/* Terminbuchung */
.buchung__hinweis {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    border: 1px solid var(--kobalt);
}
.buchung__hinweis[hidden] {
    display: none;
}
.buchung__hinweis p,
.buchung__hinweis a {
    font-size: 1.6rem;
}
.buchung__aktionen {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}
.buchung__aktionen .button-klein {
    border: none;
    font-family: Overused, sans-serif;
    font-size: var(--copy);
    cursor: pointer;
}
.buchung__hinweis a,
.buchung__link {
    text-decoration: underline;
}
.buchung__rahmen iframe {
    display: block;
    width: 100%;
    height: 70rem;
    border: 1px solid var(--kobalt);
    background-color: #fff;
}

@media (min-width: 750px) {
    .felder {
        grid-template-columns: 1fr 1fr;
    }
}
@media (min-width: 1000px) {
    .kontakt-dialog {
        width: 70%;
        padding: 4rem 6rem 6rem;
        border-left: 1px solid var(--kobalt);
    }
    .form-step {
        gap: 4rem;
    }
}
@media (prefers-reduced-motion: reduce) {
    .kontakt-dialog,
    .form-step,
    .fortschritt__balken span {
        transition: none;
    }
}
