/* Unterseite Steuerrecht – ergänzt style.css */

/* Header */
header.header-sub {
    height: 75vh;
    min-height: 560px;
}

@media screen and (orientation: portrait) {
    header.header-sub {
        height: 65vh;
        min-height: 460px;
    }
}

.header-sub h1 {
    font-size: 260%;
    line-height: 110%;
}

.header-sub h1 span {
    display: inline-block;
    margin-top: 12px;
    font-size: 60%;
}

.breadcrumb {
    color: #fff;
    font-size: 85%;
    margin-bottom: 18px;
    opacity: 0.9;
}

.breadcrumb a {
    color: #fff;
    text-decoration: underline;
}

/* Allgemein */
.steuerrecht h2 {
    font-size: 230%;
    line-height: 110%;
}

.steuerrecht h2 span {
    display: inline-block;
    margin-top: 8px;
}

.lead {
    font-size: 115%;
    line-height: 165%;
}

.lead strong {
    color: var(--primaer);
}

/* Einleitung mit Faktenbox */
.st-intro .flex {
    align-items: flex-start;
}

.st-intro .col:first-of-type {
    width: 55%;
}

.fakten {
    width: 38%;
    margin: 20px 0;
    background: url('../images/background-small.png') no-repeat center/cover;
    color: #fff;
    padding: 45px 40px;
    position: relative;
}

.fakten::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 0;
    width: 20px;
    height: 100%;
    background-color: var(--primaer);
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
}

.fakten span {
    color: #fff;
}

.fakten .jahr {
    font-size: 400%;
    line-height: 100%;
    font-weight: 700;
    font-style: italic;
    display: block;
    margin-bottom: 30px;
}

.fakten .jahr-label {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 4px;
}

.fakten h3 {
    color: #fff;
    text-transform: uppercase;
}

.fakten ul {
    margin-bottom: 0;
}

.fakten ul li {
    margin-bottom: 6px;
}

.fakten ul li::marker {
    content: '› ';
    font-weight: 700;
}

.fakten p {
    margin: 25px 0 0 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
}

/* Definition / Zitatbox */
.st-definition {
    background: url('../images/background.png') no-repeat center/cover;
}

.st-definition .content {
    max-width: 1300px;
    margin: 0 auto;
}

.definition-box {
    background-color: #fff;
    box-shadow: 5px 5px 15px 5px rgba(102, 102, 102, 0.1);
    border-left: 6px solid var(--primaer);
    padding: 50px 6%;
    position: relative;
}

.definition-box::before {
    content: '§';
    position: absolute;
    right: 30px;
    top: -10px;
    font-size: 900%;
    line-height: 100%;
    font-weight: 700;
    font-style: italic;
    color: var(--primaer);
    opacity: 0.1;
}

.definition-box .lead {
    font-style: italic;
    color: var(--primaer);
    margin-bottom: 24px;
}

/* Typische Anliegen */
.anliegen-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.anliegen {
    border: 2px solid var(--primaer);
    padding: 30px 25px 25px 25px;
    position: relative;
    transition: 0.3s;
    hyphens: auto;
}

.anliegen:hover {
    background-color: var(--primaer);
    color: #fff;
}

.anliegen .nr {
    display: block;
    font-size: 220%;
    line-height: 100%;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 15px;
}

.anliegen:hover .nr {
    color: #fff;
}

.anliegen p {
    margin: 0;
    font-weight: 700;
}

/* Unternehmen / Privatpersonen */
.st-bereiche {
    background-color: #f4f8f9;
}

.bereiche {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4%;
}

.bereich {
    width: 48%;
    background-color: #fff;
    box-shadow: 5px 5px 15px 5px rgba(102, 102, 102, 0.1);
    padding: 50px 5%;
    hyphens: auto;
}

.bereich.blue {
    background: url('../images/background-small.png') no-repeat center/cover;
    color: #fff;
}

.bereich h3 {
    font-size: 150%;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.bereich h3 span {
    display: block;
    font-size: 65%;
    font-weight: 400;
    font-style: normal;
    text-transform: none;
    margin-top: 6px;
}

.bereich.blue h3,
.bereich.blue h3 span {
    color: #fff;
}

.icons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.icons img {
    width: 46px;
    height: 46px;
    padding: 8px;
    background-color: #fff;
    border: 2px solid var(--primaer);
    object-fit: contain;
}

.bereich.blue .icons img {
    border-color: #fff;
}

/* Ablauf */
.schritte {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    counter-reset: schritt;
    position: relative;
    margin-top: 20px;
}

.schritte::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px;
    border-top: 2px dashed var(--primaer);
    opacity: 0.4;
}

.schritt {
    position: relative;
    hyphens: auto;
}

.schritt::before {
    counter-increment: schritt;
    content: counter(schritt);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 60px;
    margin-bottom: 25px;
    background-color: var(--primaer);
    color: #fff;
    font-size: 180%;
    font-weight: 700;
    font-style: italic;
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    position: relative;
}

.schritt h3 {
    text-transform: uppercase;
}

/* Erfahrung */
.st-erfahrung .content {
    max-width: 1300px;
    margin: 0 auto;
}

.st-erfahrung .lead {
    font-weight: 700;
    font-style: italic;
}

.st-erfahrung .button,
.st-erfahrung .button::before,
.st-erfahrung .button::after {
    background-color: #fff;
    color: var(--primaer);
}

.st-erfahrung .flex {
    align-items: center;
}

.st-erfahrung .zitat {
    border-left: 4px solid #fff;
    padding-left: 30px;
}

/* Termin / CTA */
.st-termin .content {
    max-width: 1300px;
    margin: 0 auto;
}

.cta-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    box-shadow: 5px 5px 15px 5px rgba(102, 102, 102, 0.1);
}

.cta-text {
    width: 60%;
    padding: 50px 5%;
}

.cta-aktion {
    width: 40%;
    background: url('../images/background-small.png') no-repeat center/cover;
    color: #fff;
    padding: 50px 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-aktion h3 {
    color: #fff;
    font-size: 160%;
    text-transform: uppercase;
}

.cta-aktion a.tel {
    color: #fff;
    font-weight: 700;
    font-size: 140%;
    display: block;
    margin: 10px 0 5px 0;
}

.cta-aktion .button,
.cta-aktion .button::before,
.cta-aktion .button::after {
    background-color: #fff;
    color: var(--primaer);
}

.cta-aktion .button {
    align-self: flex-start;
    margin-left: 6px;
    cursor: pointer;
}

/* Responsive */
@media screen and (max-width: 1200px) {
    .anliegen-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .schritte {
        grid-template-columns: repeat(2, 1fr);
    }

    .schritte::before {
        display: none;
    }
}

@media screen and (max-width: 1024px) {
    .st-intro .col:first-of-type,
    .fakten,
    .bereich,
    .cta-text,
    .cta-aktion {
        width: 100%;
    }

    .fakten::before {
        display: none;
    }

    .bereich {
        margin-bottom: 30px;
    }

    .st-erfahrung .zitat {
        padding-left: 20px;
    }
}

@media screen and (max-width: 768px) {
    .steuerrecht h2 {
        font-size: 170%;
        padding-top: 70px;
    }

    .header-sub h1 {
        font-size: 170%;
    }

    .anliegen-grid,
    .schritte {
        grid-template-columns: 1fr;
    }

    .definition-box::before {
        font-size: 600%;
    }
}
