/* ============================================
   d.centrio Theme - Originalgetreues CSS
   Primary Color: #113F79
   ============================================ */

/* CSS Variables */
:root {
    --primary: #113F79;
    --primary-hover: #0d2f5a;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-radius: 12px;
    --border-radius-small: 8px;
    --shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
    --shadow-lg: 0 1rem 3rem rgba(0,0,0,0.1);
    --transition: all 0.2s ease-in-out;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* E-Mail Obfuscation */
.eml-x { display: none !important; }

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

h1, .h1 { font-size: 2rem; }
h2, .h2 { font-size: 1.75rem; }
h3, .h3 { font-size: 1.5rem; }
h4, .h4 { font-size: 1.25rem; }

.lead {
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--text-muted);
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

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

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.standard-radius {
    border-radius: var(--border-radius);
}

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Page Layout - Scrollbar unter Header
   ============================================ */
html, body {
    height: 100%;
    overflow: hidden;
}

body {
    display: flex;
    flex-direction: column;
}

.page-wrapper {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

/* ============================================
   Header & Navigation (Original-Style)
   ============================================ */
.header {
    background: var(--bg-white);
    position: relative;
    z-index: 1000;
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2.5rem; /* Header Höhe ~70px */
    max-width: 100%;
}

/* Logo - Original: 35x200px */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo svg,
.logo img {
    height: 35px;
    width: 200px;
}

/* Navigation - Original Style (Text-Links, nicht Buttons!) */
.nav-main {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.nav-main li {
    position: relative;
}

.nav-main > li > a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-dark);
    font-weight: 400;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    background: transparent;
    border-radius: 0;
}

.nav-main > li > a:hover {
    color: var(--primary);
    background: transparent;
}

.nav-main > li.active > a {
    color: var(--primary);
}

/* Dropdown Arrow */
.nav-main .dropdown > a::after {
    content: " ▾";
    font-size: 0.7em;
    margin-left: 2px;
}

/* Dropdown Menu */
.nav-main .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 220px;
    border-radius: var(--border-radius-small);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    z-index: 1001;
    border: 1px solid rgba(0,0,0,0.05);
}

.nav-main .dropdown:hover .dropdown-menu {
    display: block;
}

.nav-main .dropdown-menu a {
    display: block;
    padding: 0.5rem 1.5rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

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

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-dark);
}

/* ============================================
   Hero Slider (Original-Style - Pixelgenau!)
   Original: Container 709px hoch, Bild 605px, Breite 1290px
   ============================================ */
.hero {
    padding: 0;
}

.hero .container {
    max-width: 1290px; /* Original-Breite */
    padding: 1rem 0 0 0;
    margin: 0 auto;
}

.hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    min-height: 605px; /* Original Hero-Bild Höhe */
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 2.5s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    position: relative;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 605px; /* Pixelgenaue Höhe wie Original */
    object-fit: cover;
    display: block;
    border-radius: var(--border-radius);
    transform: scale(1);
    transition: transform 6s ease-out;
}

/* Ken Burns Zoom-Effekt - sanftes Einzoomen während aktiv */
.hero-slide.active img {
    transform: scale(1.03);
}

.hero-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    color: var(--bg-white);
    padding: 1.25rem 2rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.25rem;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

/* ============================================
   Content Sections
   ============================================ */
.content-bereich {
    padding: 1.5rem 0;
}

.section-white {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.section-title {
    text-align: center;
    padding: 1.5rem 0;
}

.section-title h2,
.section-title .h1 {
    margin-bottom: 0.25rem;
}

.section-title .lead {
    margin: 0;
}

/* Two Column Layout */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
}

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

.g-4 {
    gap: 1.5rem;
}

.g-5 {
    gap: 2rem;
}

/* Divider */
.ce-div hr {
    border: none;
    border-top: 1px solid #dee2e6;
    margin: 1.5rem 0;
}

/* ============================================
   Leistungen Grid (Original asymmetrisches Layout!)
   ============================================ */
.leistungen-section {
    padding: 1.5rem 0;
}

/* Einheitliches 5-Tile Grid: Alle Tiles gleich groß */
.leistungen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Zweite Reihe: 2 Tiles zentriert */
.leistungen-grid-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
    max-width: 66.666%;
    margin-left: auto;
    margin-right: auto;
}

.leistung-card {
    display: block;
    text-decoration: none;
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    aspect-ratio: 16 / 10;
}

.leistung-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(17, 63, 121, 0.18);
}

.leistung-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}

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

/* Overlay - dezenter Gradient unten */
.leistung-card .card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(17, 63, 121, 0.92) 0%, rgba(17, 63, 121, 0.6) 50%, transparent 100%);
    padding: 2.5rem 1.25rem 1rem;
    transition: all 0.4s ease;
}

.leistung-card:hover .card-overlay {
    background: linear-gradient(to top, rgba(17, 63, 121, 0.95) 0%, rgba(17, 63, 121, 0.75) 60%, transparent 100%);
    padding-bottom: 1.25rem;
}

.leistung-card .title {
    display: block;
    font-size: 1.35rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.leistung-card .mehr {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.leistung-card:hover .mehr {
    opacity: 1;
    transform: translateY(0);
}

.leistung-card .mehr::after {
    content: "\2192";
    display: inline-block;
    transition: transform 0.3s ease;
}

.leistung-card:hover .mehr::after {
    transform: translateX(5px);
}

/* ============================================
   Leistung Detail Pages
   ============================================ */

/* Hero Section */
.leistung-hero {
    position: relative;
    min-height: 220px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.leistung-hero-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.leistung-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leistung-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17, 63, 121, 0.95) 0%, rgba(17, 63, 121, 0.6) 50%, rgba(17, 63, 121, 0.3) 100%);
}

.leistung-hero .container {
    position: relative;
    z-index: 2;
    padding-bottom: 2.5rem;
}

.leistung-hero-content {
    max-width: 800px;
}

.leistung-hero .breadcrumb {
    display: flex;
    gap: 0.5rem;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.leistung-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s;
}

.leistung-hero .breadcrumb a:hover {
    color: #fff;
}

.leistung-hero h1 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.leistung-hero .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0;
}

/* Leistung Content */
.leistung-content {
    padding: 0;
}

.leistung-intro {
    max-width: 800px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-dark);
}

.leistung-intro p:first-child {
    font-size: 1rem;
    color: var(--text-dark);
}

/* Section Headings */
.section-heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.75rem;
    text-align: center;
}

.section-heading.light {
    color: #fff;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-box {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: left;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.feature-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: #fff;
    border-left-color: var(--primary);
}

/* Subtile abstrakte Icons */
.feature-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(17, 63, 121, 0.08) 0%, rgba(17, 63, 121, 0.15) 100%);
    border-radius: 10px;
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 300;
}

.feature-box h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.feature-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.55;
}

/* Modern CTA */
.leistung-cta {
    padding: 3rem 0;
}

.cta-modern {
    background: linear-gradient(135deg, var(--primary) 0%, #0d2f5a 100%);
    border-radius: var(--border-radius);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cta-content h2 {
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin: 0;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background: #fff;
    color: var(--primary);
}

.cta-button.primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.cta-icon {
    font-size: 1.1rem;
}

/* Responsive Leistung Pages */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-modern {
        flex-direction: column;
        text-align: center;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-button {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .leistung-hero {
        min-height: 180px;
    }

    .leistung-hero h1 {
        font-size: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cta-modern {
        padding: 2rem;
    }
}

/* ============================================
   CTA / Vorfooter Section
   ============================================ */
.vorfooter {
    padding: 2rem 0;
}

.cta-box {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow);
}

.cta-box h4 {
    margin-bottom: 1rem;
}

.contact-info {
    font-size: 1.05rem;
    line-height: 1.8;
}

.contact-info a {
    color: var(--primary);
    font-weight: 500;
}

/* ============================================
   Footer (Original-Style)
   ============================================ */
.footer {
    background: var(--bg-white);
    padding: 2.5rem 0 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.footer-content {
    margin-bottom: 1.5rem;
}

.footer-company {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.footer-address {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-contact {
    margin-bottom: 1rem;
}

.footer-contact a {
    color: var(--primary);
    font-weight: 500;
    display: block;
    margin-bottom: 0.25rem;
}

.footer-links {
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.footer-links a {
    color: var(--text-muted);
    margin: 0 0.75rem;
    font-size: 0.9rem;
}

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

/* ============================================
   Forms
   ============================================ */
.form-group {
    margin-bottom: 1rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
    border-radius: var(--border-radius-small);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(17, 63, 121, 0.15);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: var(--bg-white);
    border: none;
    border-radius: var(--border-radius-small);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background: var(--primary-hover);
    color: var(--bg-white);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 992px) {
    .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }

    .leistungen-grid {
        grid-template-columns: 1fr 1fr;
    }

    .leistungen-grid-bottom {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-main {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
    }

    .nav-main.active {
        display: flex;
    }

    .nav-main > li > a {
        padding: 0.75rem 1rem;
    }

    .nav-main .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
    }

    .section-white {
        padding: 1rem 1.25rem;
    }

    .leistungen-grid,
    .leistungen-grid-bottom {
        grid-template-columns: 1fr;
    }

    h1, .h1 { font-size: 1.5rem; }
    h2, .h2 { font-size: 1.35rem; }
}

/* ============================================
   Cookie Banner (Original-Style)
   ============================================ */
.cookie-banner {
    background: var(--bg-white);
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-size: 0.85rem;
    line-height: 1.5;
    position: relative;
    z-index: 999;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin: 0 0 1rem 0;
    color: var(--text-dark);
}

.cookie-content a {
    color: var(--primary);
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cookie-label {
    background: #e9ecef;
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.cookie-btn {
    background: var(--bg-white);
    border: 1px solid #dee2e6;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-btn:hover {
    background: var(--bg-light);
}

.cookie-btn-primary {
    background: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
}

.cookie-btn-primary:hover {
    background: var(--primary-hover);
}

/* ============================================
   Utilities
   ============================================ */
.text-center { text-align: center; }
.text-dark { color: var(--text-dark); }
.primary { color: var(--primary); }
.mb-0 { margin-bottom: 0; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-3 { margin-top: 1rem; }
.py-3 { padding-top: 1rem; padding-bottom: 1rem; }
.py-4 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.px-3 { padding-left: 1rem; padding-right: 1rem; }
.px-4 { padding-left: 1.5rem; padding-right: 1.5rem; }
.d-block { display: block; }
.d-none { display: none; }

/* ============================================
   Page Hero (Unternehmen, Leistungen, Kontakt, Downloads)
   ============================================ */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1a5298 100%);
    padding: 3rem 0;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.page-hero-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.page-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17, 63, 121, 0.9) 0%, rgba(17, 63, 121, 0.5) 100%);
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero-content {
    text-align: center;
}

.page-hero h1 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.page-hero .lead {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin: 0;
}

/* ============================================
   Unternehmen Page
   ============================================ */
.unternehmen-content {
    padding-top: 2rem;
}

.unternehmen-intro {
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.7;
}

.unternehmen-intro h2 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

/* Facts Section */
.section-facts {
    background: var(--bg-light);
    padding: 2rem 0;
    margin: 2rem 0;
}

.facts-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.fact-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.fact-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.value-item {
    text-align: center;
    padding: 1.5rem 1rem;
}

.value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(17, 63, 121, 0.08) 0%, rgba(17, 63, 121, 0.15) 100%);
    border-radius: 12px;
    color: var(--primary);
    font-size: 1.3rem;
    margin: 0 auto 1rem;
}

.value-item h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

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

/* Page CTA */
.page-cta {
    padding: 2rem 0 3rem;
}

.cta-simple {
    background: linear-gradient(135deg, var(--primary) 0%, #1a5298 100%);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
}

.cta-simple h2 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.cta-simple > p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.cta-simple .cta-actions {
    justify-content: center;
}

/* ============================================
   Leistungen Overview Page
   ============================================ */
.leistungen-overview {
    padding-top: 2rem;
}

.leistungen-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 1rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Leistungen Overview spezifisches Grid (2 Spalten) */
.leistungen-overview .leistungen-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.leistungen-overview .leistung-card {
    display: block;
    text-decoration: none;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.leistungen-overview .leistung-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.leistung-card-inner {
    position: relative;
}

.leistung-card-image {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.leistung-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.leistung-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(17, 63, 121, 0.1), rgba(17, 63, 121, 0.4));
}

.leistung-card-content {
    padding: 1.25rem;
}

.leistung-card-content h2 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.leistung-card-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.leistung-card-link {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
}

.leistung-card:hover .leistung-card-link {
    color: var(--primary-hover);
}

/* ============================================
   Kontakt Page
   ============================================ */
.kontakt-content {
    padding-top: 0;
}

.kontakt-map-section {
    padding: 0;
    margin-bottom: 0;
}

.kontakt-map {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin: 2rem auto;
    max-width: 1000px;
}

.kontakt-map iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
}

/* Map Placeholder mit DSGVO-Overlay */
.map-placeholder {
    position: relative;
    width: 100%;
    height: 400px;
    cursor: pointer;
    overflow: hidden;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 63, 121, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.map-placeholder:hover .map-overlay {
    background: rgba(17, 63, 121, 0.75);
}

.map-overlay-content {
    text-align: center;
    color: #fff;
}

.map-overlay-icon {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.75rem;
    opacity: 0.9;
}

.map-overlay-content p {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 0 0.5rem 0;
}

.map-overlay-hint {
    font-size: 0.8rem;
    opacity: 0.8;
}

.map-overlay-details {
    display: block;
    font-size: 0.7rem;
    opacity: 0.6;
    margin-top: 0.25rem;
}

.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.kontakt-info h2 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.kontakt-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.kontakt-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.kontakt-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, rgba(17, 63, 121, 0.08) 0%, rgba(17, 63, 121, 0.15) 100%);
    border-radius: 8px;
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
}

.kontakt-item div {
    font-size: 0.9rem;
    line-height: 1.6;
}

.kontakt-item strong {
    color: var(--text-dark);
}

.kontakt-item a {
    color: var(--primary);
}

.kontakt-text {
    font-size: 0.95rem;
    line-height: 1.7;
}

.kontakt-text h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.anfahrt-text {
    max-width: 700px;
    margin: 0 auto;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   Downloads Page
   ============================================ */
.downloads-content {
    padding-top: 2rem;
}

.downloads-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 1rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.download-card {
    display: block;
    text-decoration: none;
    background: var(--bg-white);
    border: 1px solid #e8e8e8;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.download-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.download-card-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
}

.download-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(17, 63, 121, 0.08) 0%, rgba(17, 63, 121, 0.15) 100%);
    border-radius: 10px;
    color: var(--primary);
    font-size: 1.4rem;
    flex-shrink: 0;
}

.download-info {
    flex: 1;
}

.download-info h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.download-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.download-arrow {
    font-size: 1.2rem;
    color: var(--primary);
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.download-card:hover .download-arrow {
    opacity: 1;
    transform: translateX(0);
}

.downloads-notice {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
    background: rgba(17, 63, 121, 0.05);
    border-radius: var(--border-radius-small);
    border-left: 3px solid var(--primary);
}

.notice-icon {
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

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

/* ============================================
   Responsive: New Pages
   ============================================ */
@media (max-width: 768px) {
    .page-hero {
        padding: 2rem 0;
    }

    .page-hero h1 {
        font-size: 1.5rem;
    }

    .facts-grid {
        gap: 2rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .leistungen-grid {
        grid-template-columns: 1fr;
    }

    .kontakt-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .kontakt-map iframe {
        height: 300px;
    }

    .downloads-grid {
        grid-template-columns: 1fr;
    }

    .cta-simple {
        padding: 2rem 1.5rem;
    }

    .cta-simple .cta-actions {
        flex-direction: column;
    }
}

/* ============================================
   Legal Pages (Impressum, Datenschutz)
   ============================================ */
.legal-content {
    padding-top: 2rem;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.7;
}

.legal-text h2 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text h3 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-text p {
    margin-bottom: 0.75rem;
}

.legal-text strong {
    color: var(--text-dark);
}

/* CPN Partner Page */
.cpn-hero {
    padding: 2.5rem 0;
}

.cpn-hero-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.cpn-hero-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
    order: -1;
}

.cpn-hero-logo {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.cpn-hero-badge a:hover .cpn-hero-logo {
    transform: scale(1.05);
}

.cpn-cta {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}
