/* ===== Branchen-Landingpages (Silos) ===== */

.branche-hero {
    padding: 7rem 0 4.5rem;
    background: linear-gradient(165deg, #fafafa 0%, #fff 50%, rgba(197, 165, 114, 0.07) 100%);
}

.branche-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
}

.branche-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.branche-kicker i { font-size: 0.85rem; }

.branche-hero h1 {
    font-size: clamp(1.85rem, 4.2vw, 2.85rem);
    line-height: 1.15;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.branche-lead {
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    max-width: 560px;
}

.branche-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 1.25rem;
}

.branche-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    font-size: 0.82rem;
    color: var(--gray-dark);
}

.branche-trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.branche-trust-row i {
    color: var(--primary-color);
    font-size: 0.75rem;
}

.branche-hero-visual {
    position: relative;
}

.branche-hero-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1);
}

.branche-hero-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.branche-hero-card-body {
    padding: 1.25rem 1.35rem;
}

.branche-hero-card-body h3 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.branche-hero-card-body p {
    font-size: 0.82rem;
    color: var(--gray-color);
    line-height: 1.55;
}

.branche-hero-badge-row {
    position: absolute;
    bottom: -18px;
    left: 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.branche-hero-badge {
    position: static;
    background: var(--dark-color);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.branche-hero-badge i { color: var(--primary-light); }

.branche-hero-badge-btn {
    background: var(--primary-color);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: background 0.25s ease, transform 0.25s ease;
    white-space: nowrap;
}

.branche-hero-badge-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Sections */
.branche-section {
    padding: 4.5rem 0;
}

.branche-section.alt {
    background: var(--gray-light);
}

.branche-section .section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.5rem;
}

.branche-section .section-header h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.75rem;
}

.branche-section .section-header p {
    color: var(--gray-color);
    line-height: 1.65;
}

/* Feature grid */
.branche-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.branche-feature {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.branche-section.alt .branche-feature {
    border-color: rgba(0, 0, 0, 0.05);
}

.branche-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.07);
}

.branche-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(197, 165, 114, 0.12);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.branche-feature h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.branche-feature p {
    font-size: 0.86rem;
    color: var(--gray-color);
    line-height: 1.6;
}

/* Pain points */
.branche-pain-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.branche-pain-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.branche-pain-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #fff;
    border-radius: 12px;
    padding: 1.1rem 1.2rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.branche-pain-list i {
    color: #dc2626;
    margin-top: 3px;
    flex-shrink: 0;
}

.branche-pain-list strong {
    display: block;
    font-size: 0.92rem;
    margin-bottom: 0.25rem;
}

.branche-pain-list span {
    font-size: 0.84rem;
    color: var(--gray-color);
    line-height: 1.55;
}

.branche-pain-aside {
    background: linear-gradient(160deg, #ffffff 0%, #f0fdf4 55%, #ecfdf5 100%);
    color: var(--dark-color);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(22, 163, 74, 0.18);
    border-left: 4px solid #16a34a;
    box-shadow: 0 10px 36px rgba(22, 163, 74, 0.08);
}

.branche-pain-aside h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #15803d;
}

.branche-pain-aside p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--gray-dark);
    margin-bottom: 1.25rem;
}

.branche-pain-aside ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.branche-pain-aside li {
    font-size: 0.86rem;
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: var(--gray-dark);
}

.branche-pain-aside li i {
    color: #16a34a;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Reference */
.branche-ref-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
}

.branche-ref-image {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.branche-ref-image img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}

.branche-ref-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 1rem 0 1.25rem;
}

.branche-ref-tags span {
    font-size: 0.72rem;
    font-weight: 600;
    background: var(--gray-light);
    color: var(--gray-dark);
    padding: 5px 12px;
    border-radius: 100px;
}

.branche-ref-content h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    margin-bottom: 0.75rem;
}

.branche-ref-content p {
    color: var(--gray-color);
    line-height: 1.65;
    font-size: 0.92rem;
    margin-bottom: 0.75rem;
}

/* Local */
.branche-local {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.branche-local h2 {
    font-size: clamp(1.4rem, 2.8vw, 1.9rem);
    margin-bottom: 0.75rem;
}

.branche-local p {
    color: var(--gray-color);
    line-height: 1.7;
    font-size: 0.95rem;
}

.branche-local-cities {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 1.5rem;
}

.branche-local-cities span {
    background: #fff;
    border: 1px solid rgba(197, 165, 114, 0.25);
    color: var(--gray-dark);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 100px;
}

.branche-section.alt .branche-local-cities span {
    background: #fff;
}

/* Compare table */
.branche-compare-wrap {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
}

.branche-compare {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}

.branche-compare th,
.branche-compare td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.88rem;
    vertical-align: top;
}

.branche-compare thead th {
    background: var(--gray-light);
    font-weight: 700;
    font-size: 0.92rem;
}

.branche-compare thead th:first-child {
    width: 34%;
}

.branche-compare .col-us {
    background: rgba(197, 165, 114, 0.06);
}

.branche-compare tbody tr:last-child td {
    border-bottom: none;
}

.branche-compare .ok {
    color: #059669;
    font-weight: 600;
}

.branche-compare .no {
    color: #b45309;
}

.branche-compare i {
    margin-right: 6px;
}

/* FAQ */
.branche-faq {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.branche-faq-item {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.branche-faq-item.is-open {
    border-color: rgba(197, 165, 114, 0.28);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
}

.branche-faq-q {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.2rem 1.4rem;
    font-family: var(--font-family);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    transition: color 0.2s ease, padding 0.25s ease;
}

.branche-faq-item.is-open .branche-faq-q {
    padding-bottom: 1rem;
    color: var(--primary-dark);
}

.branche-faq-q i {
    color: var(--primary-color);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.branche-faq-item.is-open .branche-faq-q i {
    transform: rotate(180deg);
}

.branche-faq-a {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 1.4rem;
    font-size: 0.88rem;
    color: var(--gray-color);
    line-height: 1.75;
    transition:
        max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.28s ease,
        padding 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.branche-faq-item.is-open .branche-faq-a {
    max-height: 320px;
    opacity: 1;
    padding: 0.25rem 1.4rem 1.45rem;
    margin-top: 0.15rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.branche-cta-inline {
    text-align: center;
    margin-top: 2.5rem;
}

.branche-ref-content .btn {
    margin-top: 0.25rem;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
    .branche-hero-grid,
    .branche-pain-grid,
    .branche-ref-grid {
        grid-template-columns: 1fr;
    }

    .branche-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .branche-hero-visual {
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .branche-hero {
        padding-top: 6rem;
    }

    .branche-features {
        grid-template-columns: 1fr;
    }

    .branche-hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== Branchen-Übersicht (Hub) ===== */

.branchen-hub-intro {
    max-width: 720px;
    text-align: center;
    margin: 0 auto;
}

.branchen-hub-intro .branche-kicker {
    justify-content: center;
}

.branchen-hub-intro .branche-lead {
    margin-left: auto;
    margin-right: auto;
}

.branchen-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.branchen-hub-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 16px;
    padding: 1.75rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.branchen-hub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(197, 165, 114, 0.35);
}

.branchen-hub-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(197, 165, 114, 0.12);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.branchen-hub-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.branchen-hub-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--gray-color);
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.branchen-hub-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.branchen-hub-link i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.branchen-hub-card:hover .branchen-hub-link i {
    transform: translateX(4px);
}

@media (max-width: 992px) {
    .branchen-hub-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .branchen-hub-grid {
        grid-template-columns: 1fr;
    }
}
