/* =========================================
   Global Variables & Design System
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Corporate Red for Stadtmatte */
    --primary: #cc0000;
    --primary-hover: #990000;
    --primary-light: #ffe6e6;

    /* Slate/Zinc aesthetic */
    --bg-color: #ffffff;
    --bg-alt: #f1f5f9;
    /* Slate 100 */
    --bg-dark: #0f172a;
    /* Slate 900 */

    --text-main: #334155;
    /* Slate 700 */
    --text-muted: #64748b;
    /* Slate 500 */
    --text-light: #f8fafc;
    /* Slate 50 */

    --border-color: #e2e8f0;
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1.5rem;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-red: 0 10px 15px -3px rgba(204, 0, 0, 0.3);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   Reset & Base
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* =========================================
   Typography
   ========================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--bg-dark);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

/* =========================================
   Layout & Container
   ========================================= */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

.section-light {
    background-color: var(--bg-color);
}

.section-alt {
    background-color: var(--bg-alt);
}

.section-dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.section-dark h2,
.section-dark h3 {
    color: var(--text-light);
}

.section-dark p {
    color: #94a3b8;
    /* Slate 400 */
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.grid-5,
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
}

.footer-grid .footer-brand {
    min-width: 220px;
}

@media (min-width: 1100px) {
    .footer-grid {
        grid-template-columns: 1.4fr repeat(4, 1fr);
    }
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: var(--shadow-red);
    transform: translateY(-2px);
    color: #fff;
}

.content-page a:not(.btn),
.article-body a:not(.btn) {
    color: var(--primary);
}

.content-page a.btn-primary,
.cta-inline a.btn-primary,
.article-body a.btn-primary {
    color: #fff;
}

.content-page a.btn-primary:hover,
.cta-inline a.btn-primary:hover,
.article-body a.btn-primary:hover {
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: #fff;
}

.btn-white {
    background-color: #fff;
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background-color: var(--bg-alt);
    transform: translateY(-2px);
}

/* =========================================
   Header & Nav
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    line-height: 0;
    overflow: visible;
}

.logo img {
    height: 45px;
    width: auto;
    max-width: none;
    max-height: 45px;
    object-fit: contain;
    display: block;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-label {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.nav-dropdown-link {
    font-weight: 500;
    color: var(--text-main);
    transition: var(--transition);
}

.nav-dropdown-link:hover {
    color: var(--primary);
}

.nav-dropdown-chevron {
    background: none;
    border: none;
    font-family: inherit;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.35rem;
    line-height: 1;
    transition: var(--transition);
}

.nav-dropdown-chevron:hover {
    color: var(--primary);
}

.nav-dropdown-chevron i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.nav-dropdown.open .nav-dropdown-chevron i {
    transform: rotate(180deg);
}

@media (min-width: 769px) {
    .nav-dropdown:hover .nav-dropdown-chevron i {
        transform: rotate(180deg);
    }
}

.nav-dropdown-toggle {
    background: none;
    border: none;
    font-family: inherit;
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
    transition: var(--transition);
}

.nav-dropdown-toggle:hover {
    color: var(--primary);
}

.nav-dropdown-toggle i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.nav-dropdown.open .nav-dropdown-toggle i {
    transform: rotate(180deg);
}

@media (min-width: 769px) {
    .nav-dropdown:hover .nav-dropdown-toggle i {
        transform: rotate(180deg);
    }
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1100;
}

@media (min-width: 769px) {
    .nav-dropdown:hover .nav-dropdown-menu,
    .nav-dropdown.open .nav-dropdown-menu {
        opacity: 1;
        visibility: visible;
    }
}

.nav-dropdown-menu li {
    list-style: none;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.625rem 1.25rem;
    font-weight: 500;
    color: var(--text-main);
    white-space: nowrap;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-dropdown-menu a::after {
    display: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--bg-dark);
    cursor: pointer;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    padding-top: 140px;
    padding-bottom: 6rem;
    background: linear-gradient(135deg, var(--bg-alt) 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-badge-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* =========================================
   Features / USP Cards
   ========================================= */
.feature-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

/* =========================================
   Process Steps
   ========================================= */
.process-step {
    text-align: center;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: dashed 2px var(--border-color);
    z-index: -1;
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 80px;
    height: 80px;
    background: #fff;
    border: 4px solid var(--primary);
    color: var(--primary);
    font-size: 2rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}

/* =========================================
   FAQ Accordion
   ========================================= */
.faq-accordion .faq-item {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-accordion .faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    list-style: none;
    color: var(--bg-dark);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question span {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.45;
}

.faq-question span i {
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.faq-chevron {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}

.faq-item[open] .faq-question {
    color: var(--primary);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem 1.5rem;
}

.faq-answer p {
    margin: 0;
    padding-top: 0.25rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.content-page .faq-accordion {
    margin: 1.5rem 0;
}

@media (min-width: 769px) {
    .faq-accordion--desktop-open .faq-item .faq-answer {
        display: block !important;
    }

    .faq-accordion--desktop-open .faq-chevron {
        display: none;
    }

    .faq-accordion--desktop-open .faq-question {
        pointer-events: none;
        cursor: default;
    }

    .faq-accordion--desktop-open .faq-question:hover,
    .faq-accordion--desktop-open .faq-item[open] .faq-question {
        color: var(--bg-dark);
    }
}

/* =========================================
   Target Audiences (Branchen)
   ========================================= */
.branch-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    group: hover;
}

.branch-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.branch-card:hover .branch-img {
    transform: scale(1.05);
}

.branch-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: #fff;
}

.branch-content h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.branch-content p {
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}

.branch-content > span {
    display: inline-block;
    width: fit-content;
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-light);
    background: rgba(15, 23, 42, 0.5);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

/* Ratgeber-Übersicht: weißes Overlay für bessere Lesbarkeit */
.ratgeber-grid .branch-card:not(.branch-card-cta) {
    display: block;
    background: #fff;
    box-shadow: var(--shadow-md);
    min-height: 300px;
}

.ratgeber-grid .branch-card:not(.branch-card-cta) .branch-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.92;
    filter: saturate(1) brightness(1);
}

.ratgeber-grid .branch-card:not(.branch-card-cta)::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.97) 32%,
        rgba(255, 255, 255, 0.72) 58%,
        rgba(255, 255, 255, 0.35) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.ratgeber-grid .branch-content {
    z-index: 2;
    background: transparent;
    padding: 1.5rem 1.75rem;
}

.ratgeber-grid .branch-content h3 {
    color: var(--bg-dark);
}

.ratgeber-grid .branch-content p {
    color: var(--text-main);
    margin-bottom: 0;
}

.ratgeber-grid .branch-card:not(.branch-card-cta):hover .branch-img {
    opacity: 1;
    transform: scale(1.05);
}

.ratgeber-grid .branch-card-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--bg-alt);
    padding: 2rem;
    text-align: center;
    min-height: 300px;
    box-shadow: var(--shadow-md);
}

.ratgeber-grid .branch-card-cta::before {
    display: none;
}

/* SEO-Landingpages: zweispaltig wie Matten-Service */
.seo-page-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    align-items: start;
}

.seo-content-column .content-page {
    max-width: none;
    margin: 0;
    text-align: left;
}

.seo-cta-column {
    position: sticky;
    top: 90px;
    align-self: start;
    height: fit-content;
}

.seo-cta-card {
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.seo-cta-card h3 {
    margin-bottom: 0.5rem;
    color: var(--bg-dark);
}

.seo-cta-card .summary-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.seo-cta-card .summary-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.seo-cta-card .summary-list li span:last-child {
    font-weight: 600;
    color: var(--bg-dark);
    text-align: right;
}

.seo-cta-card .cta-info {
    background: var(--primary-light);
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--primary);
}

.seo-cta-card .cta-note {
    text-align: center;
    font-size: 0.8rem;
    margin-top: 1rem;
    color: var(--text-muted);
}

.content-page h1 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-align: left;
}

.content-page h2 {
    font-size: 1.75rem;
    margin: 3rem 0 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    text-align: left;
}

.content-page h2:first-of-type {
    border-top: none;
    padding-top: 0;
}

.content-page h3 {
    font-size: 1.35rem;
    margin: 2rem 0 0.75rem;
    color: var(--bg-dark);
    text-align: left;
}

.content-page p,
.content-page ul {
    text-align: left;
}

.content-hero {
    padding-top: 130px;
    padding-bottom: 2rem;
    background: var(--bg-alt);
}

.content-main {
    padding: 3rem 0 5rem;
}

.related-service-links {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: left;
}

.related-service-links h3 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.related-service-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.related-service-links li {
    margin: 0;
}

.seo-benefits {
    margin: 2.5rem 0 3rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.seo-benefits h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    border: none;
    padding: 0;
}

.seo-benefits-intro {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

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

.seo-benefits .feature-card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1rem;
    row-gap: 0.35rem;
    align-items: start;
    padding: 1.25rem 1.5rem;
}

.seo-benefits .feature-card h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
    color: var(--bg-dark);
}

.seo-benefits .feature-card p {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.55;
}

.seo-benefits .feature-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
    width: 48px;
    height: 48px;
    font-size: 1.35rem;
    margin-bottom: 0;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .seo-benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* Rich Content Pages (Sauberlaufmatten, Gestaltung, etc.) */
.rich-main {
    padding: 130px 0 5rem;
}

.rich-page-intro {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
}

.rich-page-intro-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 2rem;
}

.rich-page-intro-text h1 {
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--bg-dark);
}

.rich-kicker {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rich-lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.rich-intro-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.rich-page-intro-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: block;
}

.rich-intro {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.rich-intro p {
    font-size: 1.05rem;
    line-height: 1.75;
}

.rich-benefits {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.rich-section-block {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.rich-section-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.rich-section-block-alt {
    background: var(--bg-alt);
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding: 2rem 1.5rem 3rem;
    border-radius: var(--radius-md);
    border-bottom: none;
}

.rich-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 2.5rem;
    align-items: start;
}

.rich-split .rich-prose {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}

.rich-split .rich-visual-col {
    grid-column: 2;
    grid-row: 1;
    width: 280px;
    max-width: 280px;
    position: sticky;
    top: 120px;
    align-self: start;
    height: fit-content;
}

.rich-split.rich-split-reverse {
    grid-template-columns: 280px minmax(0, 1fr);
}

.rich-split.rich-split-reverse .rich-visual-col {
    grid-column: 1;
}

.rich-split.rich-split-reverse .rich-prose {
    grid-column: 2;
}

.rich-visual-col .rich-visual-panel {
    width: 100%;
    box-sizing: border-box;
}

.rich-prose h2 {
    font-size: 1.65rem;
    margin: 0 0 1rem;
    padding: 0;
    border: none;
    color: var(--bg-dark);
}

.rich-prose h3 {
    font-size: 1.2rem;
    margin: 1.75rem 0 0.65rem;
    color: var(--bg-dark);
}

.rich-prose h4 {
    font-size: 1.05rem;
    margin: 1.25rem 0 0.5rem;
}

.rich-prose p,
.rich-prose li {
    color: var(--text-muted);
    line-height: 1.75;
}

.rich-prose p {
    margin-bottom: 1.15rem;
}

.rich-prose ul,
.rich-prose ol {
    margin: 1rem 0 1.25rem 1.25rem;
}

.rich-prose address {
    font-style: normal;
    background: #fff;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    margin-top: 1.5rem;
}

.rich-visual-panel {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.rich-section-block-alt .rich-visual-panel {
    background: #fff;
}

.rich-visual-panel i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
    display: block;
}

.rich-visual-panel h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--bg-dark);
}

.rich-visual-panel p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.55;
}

.rich-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.rich-info-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.rich-section-block-alt .rich-info-card {
    background: #fff;
}

.rich-info-card h4 {
    font-size: 1.05rem;
    margin-bottom: 0.65rem;
    color: var(--bg-dark);
}

.rich-info-card p {
    font-size: 0.92rem;
    margin: 0;
    line-height: 1.6;
    color: var(--text-muted);
}

.rich-info-card-icon {
    padding: 1.75rem;
}

.rich-info-card-icon i {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

.rich-info-card-icon h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--bg-dark);
}

.rich-feature-grid {
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.rich-process-grid {
    margin-top: 2rem;
}

.rich-process-grid .process-step {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-sm);
}

.rich-highlight-box {
    margin-top: 2rem;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    border: 1px solid rgba(220, 38, 38, 0.12);
}

.rich-branch-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.rich-branch-card {
    display: flex;
    gap: 1rem;
    align-items: center;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.rich-branch-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.rich-branch-card img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.rich-branch-card h4 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
    color: var(--bg-dark);
}

.rich-branch-card p {
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
    color: var(--text-muted);
}

.rich-promise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.rich-promise-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.rich-promise-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.rich-promise-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: var(--bg-dark);
}

.rich-promise-card p {
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.55;
    color: var(--text-muted);
}

.rich-team-split {
    align-items: center;
    gap: 3rem;
}

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

.rich-check-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.rich-check-list i {
    color: var(--primary);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .rich-page-intro-grid {
        grid-template-columns: 1fr;
    }

    .rich-page-intro-image {
        order: -1;
        max-width: 420px;
    }

    .rich-split,
    .rich-split.rich-split-reverse {
        grid-template-columns: 1fr;
    }

    .rich-split .rich-prose,
    .rich-split .rich-visual-col,
    .rich-split.rich-split-reverse .rich-prose,
    .rich-split.rich-split-reverse .rich-visual-col {
        grid-column: 1;
        width: 100%;
        max-width: none;
        position: static;
    }

    .rich-card-grid,
    .rich-promise-grid {
        grid-template-columns: 1fr;
    }

    .rich-branch-grid {
        grid-template-columns: 1fr;
    }

    .rich-section-block-alt {
        margin-left: 0;
        margin-right: 0;
    }

    .rich-team-split .rich-team-image {
        order: -1;
    }
}

@media (max-width: 900px) {
    .seo-page-wrapper {
        grid-template-columns: 1fr;
    }

    .seo-cta-column {
        position: static;
        order: 2;
    }

    .seo-content-column {
        order: 1;
    }
}

.footer-ratgeber-cta {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1e293b 100%);
    padding: 2.5rem 0;
    border-top: 3px solid var(--primary);
}

.footer-ratgeber-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-ratgeber-kicker {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.footer-ratgeber-cta h3 {
    color: #fff;
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.footer-ratgeber-cta p {
    color: #94a3b8;
    margin-bottom: 0;
    font-size: 1rem;
}

.article-body h2 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    color: var(--bg-dark);
}

.article-body p {
    margin-bottom: 1.25rem;
    line-height: 1.75;
    color: var(--text-muted);
}

.article-links {
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.75rem;
    margin-top: 2.5rem;
}

.article-links h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.article-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.article-links li {
    margin-bottom: 0.5rem;
}

.article-links a {
    color: var(--primary);
    font-weight: 500;
}

.article-related {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.article-related h3 {
    margin-bottom: 1rem;
}

/* =========================================
   CTA Section
   ========================================= */
.cta-box {
    background: var(--primary);
    color: #fff;
    padding: 4rem;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box h2,
.cta-box p {
    color: #fff;
    position: relative;
    z-index: 2;
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 2px, transparent 2px);
    background-size: 30px 30px;
    z-index: 1;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--primary);
}

.footer-links h4 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
}

/* =========================================
   Media Queries
   ========================================= */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text p {
        margin: 0 auto 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .process-step::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: #fff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        padding: 1.5rem 0;
        overflow-y: auto;
        transition: var(--transition);
    }

    .nav-links > li {
        width: 100%;
    }

    .nav-links > li > a,
    .nav-dropdown-label,
    .nav-dropdown-toggle {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 1rem 1.5rem;
    }

    .nav-dropdown-label {
        align-items: center;
        gap: 0.5rem;
    }

    .nav-dropdown-link {
        flex: 1;
        text-align: center;
    }

    .nav-dropdown-chevron {
        flex-shrink: 0;
        padding: 0.5rem;
    }

    .nav-dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        background: var(--bg-alt);
        margin: 0;
        display: none;
        border-radius: 0;
        padding: 0.25rem 0;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }

    .nav-links.active {
        left: 0;
    }

    .menu-toggle {
        display: block;
    }

    .cta-box {
        padding: 2.5rem 1.5rem;
    }
}