/* Seiteneigene Ergänzungen. Wird nach theme.css geladen. */

/* Der Kopfbereich wächst mit seinem Inhalt (die Theme-Datei setzt eine feste Höhe). */
header {
    height: auto !important;
}

/* Buttons ohne Ziel: bleiben klickbar und fokussierbar, führen aber nirgendwohin. */
a[role="button"],
[data-action] {
    cursor: pointer;
}

a[role="button"]:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
    outline: 2px solid #bf8d4e;
    outline-offset: 2px;
}

/* Wortmarke im Kopfbereich (Platzhalter statt Bild-Logo) */
.brand-mark {
    font-family: "Sofia Pro", Montserrat, Helvetica, Arial, sans-serif;
    line-height: 1.05;
    display: inline-block;
}

.brand-mark .brand-mark-main {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #222;
    display: block;
}

.brand-mark .brand-mark-sub {
    font-size: 10px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: #fff;
    display: block;
}

/* Prozess-Spalten mit Pfeilen */
.columns-with-arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.columns-with-arrows > .column {
    width: 100%;
}

.columns-with-arrows > .column-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.columns-with-arrows > .column-arrow img {
    width: 2rem;
    height: 2rem;
    transform: rotate(90deg);
}

@media (min-width: 1024px) {
    .columns-with-arrows {
        flex-direction: row;
        align-items: flex-start;
        gap: 1rem;
    }

    .columns-with-arrows > .column {
        flex: 1 1 0;
        min-width: 0;
        width: auto;
    }

    .columns-with-arrows > .column-arrow img {
        transform: none;
    }

    .columns-with-arrows.arrow-valign-top > .column-arrow {
        align-self: flex-start;
        padding-top: 2.5rem;
    }
}

/* Akkordeon: Zustand wird per .active gesteuert (siehe assets/js/main.js) */
.accordion-tab .content {
    transition: max-height .3s ease-in-out, padding .3s ease-in-out;
    padding-top: 0;
    padding-bottom: 0;
}

.accordion-tab.active .content {
    /* großzügig bemessen, damit auch lange Antworten vollständig sichtbar bleiben */
    max-height: 200vh !important;
    padding-top: .5rem;
    padding-bottom: 1rem;
}

.accordion-tab .accordion-heading {
    position: relative;
    padding-right: 2.5rem;
    user-select: none;
}

.accordion-tab .accordion-heading::after {
    content: "";
    position: absolute;
    right: .5rem;
    top: 50%;
    width: .6rem;
    height: .6rem;
    margin-top: -.45rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .3s ease-in-out;
}

.accordion-tab.active .accordion-heading::after {
    transform: rotate(-135deg);
    margin-top: -.15rem;
}

/* Chip-Listen (Fachrichtungen / Arbeiten) ohne Verlinkung */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.tag-list li {
    font-size: 14px;
    line-height: 1.4;
    color: #444;
    background-color: #f7f5f4;
    border: 1px solid #e7e2dc;
    border-radius: 999px;
    padding: .35rem .8rem;
}

/* Bewertungskarten */
.review-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #fff;
    border: 1px solid #e7e2dc;
    padding: 1.5rem;
}

.review-stars {
    color: #bf8d4e;
    letter-spacing: .15em;
    font-size: 16px;
}

.review-initials {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background-color: #f7f5f4;
    border: 1px solid #e7e2dc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #8a8178;
    flex: none;
}

/* Statusfarben im Preisrechner */
.text-red-600 {
    color: #c0392b;
}

.text-green-600 {
    color: #2f7a4d;
}

/* Dokumentvorschau statt eingebettetem PDF-Viewer */
.doc-preview {
    background-color: #fff;
    border: 1px solid #e7e2dc;
    aspect-ratio: 1 / 1.414;
    width: 100%;
    max-width: 272px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.doc-preview .doc-line {
    height: 6px;
    border-radius: 3px;
    background-color: #ece7e1;
    margin-bottom: .6rem;
}

.doc-preview .doc-line.short {
    width: 55%;
}

.doc-preview .doc-line.title {
    height: 12px;
    width: 75%;
    background-color: #bf8d4e;
    margin-bottom: 1.4rem;
}

/* Mobiles Menü */
.nav-mobile[hidden] {
    display: none;
}
