/* ============================================
   BAUWERK SÜD/WEST
   Premium Website Design | Optimiert für Performance
   Farbschema: Himmelblau (#4F8DCC) + Orange (#FF6A3D)
   ============================================ */

/* ============================================
   DESIGN TOKEN — CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    --color-primary:      #4F8DCC;   /* Sky Blue */
    --color-accent:       #FF6A3D;   /* Orange */
    --color-dark:         #14151A;   /* Anthrazit */
    --color-bg:           #F4F4F0;   /* Warm Off-White */
    --color-bg-soft:      #F8F9FC;   /* Card Light */
    --color-bg-blue:      #E6F1FB;   /* Blue Tint */
    --color-text:         #1a1a1a;   /* Body Text */
    --color-text-muted:   #4a4a4a;   /* Secondary Text */
    --color-text-subtle:  #6b7280;   /* Subtle / Meta */
    --color-text-inverse: #ffffff;   /* On Dark */
    --color-border:       rgba(0,0,0,0.07);
    --color-border-blue:  rgba(79,141,204,0.18);
}

/* ============================================
   1. RESET & PREMIUM GRUNDSTILE
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    /* Verhindert Layout-Shifts */
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
    background-color: #F4F4F0;
    color: #1a1a1a;
    font-size: 1rem;
    line-height: 1.7;
    letter-spacing: 0.01em;
    /* Performance: GPU-Beschleunigung */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    /* Verhindert horizontales Scrollen */
    overflow-x: hidden;
}

/* Premium Typografie mit weichen Übergängen */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.15;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

h2 {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

p {
    margin-bottom: 1rem;
    letter-spacing: 0.01em;
    line-height: 1.7;
}

ul, ol {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
    color: #FF6A3D;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Performance: Verhindert Layout-Shifts */
    aspect-ratio: attr(width) / attr(height);
    /* GPU-Beschleunigung für Animationen */
    will-change: transform, opacity;
}

/* Lazy Loading Optimization */
img[loading="lazy"] {
    /* Placeholder während Ladevorgang */
    background: linear-gradient(135deg, #E6F1FB 0%, #F4F4F0 100%);
}

/* ============================================
   2. LAYOUT & CONTAINER
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    /* Performance: Layout-Containment */
    contain: layout;
}

.section {
    padding: 3.5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #14151A;
    margin-bottom: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.section-subtitle {
    text-align: center;
    font-size: 1.0625rem;
    color: #4a4a4a;
    max-width: 680px;
    margin: 0 auto 1.75rem;
    line-height: 1.65;
    letter-spacing: 0.01em;
}

/* ============================================
   3. HEADER & NAVIGATION - PREMIUM
   ============================================ */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #14151A;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    margin-right: 0;
    margin-bottom: 0;
}

.logo img {
    display: block;
    height: 68px;
    max-width: 280px;
    width: auto;
    object-fit: contain;
    object-position: left center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(79, 141, 204, 0.3));
}

.nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.nav a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.625rem 1rem;
    border-radius: 6px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.01em;
}

.nav a:hover {
    color: #FF6A3D;
    background: rgba(255, 106, 61, 0.08);
}

.nav a[aria-current="page"] {
    color: #ffffff;
    background: rgba(79, 141, 204, 0.2);
}

.nav-cta {
    background: rgba(79, 141, 204, 0.15);
    color: #91c4f2 !important;
    font-weight: 600;
}

.nav-cta:hover {
    background: rgba(255, 106, 61, 0.2);
    color: #FF6A3D !important;
    transform: translateY(-1px);
}

/* Sekundärer Nav-Link (z.B. Kontakt) – dezent, matte Farbe */
.nav-muted {
    color: rgba(255, 255, 255, 0.38) !important;
    font-weight: 400 !important;
    background: transparent !important;
}
.nav-muted:hover {
    color: rgba(255, 255, 255, 0.62) !important;
    background: transparent !important;
    transform: none !important;
}
@media (min-width: 768px) {
    .nav-muted {
        font-size: 0.8125rem;
        letter-spacing: 0.02em;
    }
}

/* ============================================
   3b. HAMBURGER NAVIGATION - MOBIL
   ============================================ */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.2s ease;
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (min-width: 768px) {
    .nav ul {
        flex-direction: row;
        gap: 0.25rem;
    }
    .nav-toggle {
        display: none;
    }
    .nav {
        position: static;
        background: transparent;
        backdrop-filter: none;
        transform: none;
        visibility: visible;
        display: flex;
        align-items: center;
    }
}

@media (max-width: 767px) {
    .nav-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        inset: 0;
        background: rgba(20, 21, 26, 0.98);
        backdrop-filter: blur(16px);
        z-index: 1050;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        visibility: hidden;
    }

    .nav.nav-open {
        transform: translateX(0);
        visibility: visible;
    }

    .nav ul {
        flex-direction: column;
        gap: 1.75rem;
        align-items: center;
    }

    .nav a {
        font-size: 1.25rem;
        padding: 0.75rem 2rem;
    }
}

/* ============================================
   4. HERO - PREMIUM EDITION
   ============================================ */
.hero {
    min-height: 80vh;
    background: linear-gradient(135deg, #4F8DCC 0%, #2c5282 50%, #14151A 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 3rem 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/TechnischZeichnenHintergrund.scharf.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.07;
    pointer-events: none;
    z-index: 0;
}

.hero-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 650px;
    text-align: left;
}

.hero-eyebrow {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #91c4f2;
    font-weight: 600;
    margin-bottom: 1.25rem;
    display: inline-block;
}

.hero-headline {
    font-size: 3.2rem;
    color: #ffffff;
    margin-bottom: 1.25rem;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    margin-bottom: 2rem;
    line-height: 1.6;
    letter-spacing: 0.005em;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.hero-microcopy {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.65);
    font-style: italic;
    max-width: 42ch;
    line-height: 1.6;
}

.hero-microcopy em {
    color: #91c4f2;
    font-style: normal;
    font-weight: 600;
}

/* Hero Video Container */
.hero-visual {
    width: 100%;
    max-width: 500px;
}

.hero-3d-container {
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.05);
}

.hero-video {
    width: 100%;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
}

/* ============================================
   5. BUTTONS - PREMIUM SMOOTH
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.25rem;
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
    /* Performance: Optimiert für Animationen */
    will-change: transform;
    transform: translateZ(0);
}

/* Entfernt will-change nach Hover */
.btn:not(:hover):not(:active) {
    will-change: auto;
}

.btn span {
    position: relative;
    z-index: 2;
}

/* Primary Button - Himmelblau Gradient */
.btn-primary {
    background: linear-gradient(135deg, #4F8DCC 0%, #3a7ab8 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(79, 141, 204, 0.35),
                0 1px 3px rgba(0, 0, 0, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #FF6A3D 0%, #ff8150 100%);
    opacity: 0;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(79, 141, 204, 0.5),
                0 2px 8px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:active {
    transform: translateY(0);
}

/* Secondary Button - Transparent Elegant */
.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover::before {
    opacity: 1;
}

.btn-secondary:active {
    transform: translateY(0);
}

/* Focus States */
.btn:focus-visible {
    outline: 3px solid rgba(255, 106, 61, 0.5);
    outline-offset: 3px;
}

/* ============================================
   6. USP-SEKTION - PREMIUM
   ============================================ */
.usps {
    background-color: #14151A;
    color: #ffffff;
    padding: 4rem 0;
}

.usps h2,
.usps .section-title {
    color: #ffffff;
}

.usps .section-subtitle {
    color: rgba(255, 255, 255, 0.75);
}

.usp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.usp-card {
    background-color: rgba(255, 255, 255, 0.04);
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Performance: Optimiert für Hover-Animation */
    will-change: transform, box-shadow;
    transform: translateZ(0);
}

/* Entfernt will-change nach Hover */
.usp-card:not(:hover) {
    will-change: auto;
}

.usp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(255, 106, 61, 0.2),
                0 0 0 1px rgba(255, 106, 61, 0.3);
    background-color: rgba(255, 255, 255, 0.06);
}

.usp-icon-3d {
    width: 100%;
    aspect-ratio: 16 / 10;
    margin: 0 0 1.75rem;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    background: rgba(0, 0, 0, 0.2);
}

.usp-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.usp-card:hover .usp-image {
    transform: scale(1.05);
}

.usp-card h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.usp-card p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 1.25rem 0;
    line-height: 1.65;
    letter-spacing: 0.005em;
}

/* USP Card Links */
.usp-link {
    display: inline-flex;
    align-items: center;
    color: #FF6A3D;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 0;
}

.usp-link:hover {
    color: #ff8150;
    transform: translateX(4px);
}

/* ============================================
   6b. BAUWERK DASHBOARD - USP HIGHLIGHT
   ============================================ */
.dashboard {
    background-color: #ffffff;
    padding: 4rem 0;
}

.dashboard-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.dashboard-features h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.features-list li {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #E6F1FB 0%, #d3e9f9 100%);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(79, 141, 204, 0.15);
}

.features-list li div {
    flex: 1;
}

.features-list li strong {
    display: block;
    font-size: 1.125rem;
    color: #1a1a1a;
    margin-bottom: 0.375rem;
    font-weight: 600;
}

.features-list li p {
    color: #666;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

/* Dashboard Preview Card */
.dashboard-preview {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.dashboard-card {
    background: linear-gradient(135deg, #f8fbfd 0%, #ffffff 100%);
    border: 1px solid rgba(79, 141, 204, 0.2);
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 
        0 8px 24px rgba(79, 141, 204, 0.12),
        0 2px 6px rgba(0, 0, 0, 0.06);
    width: 100%;
    max-width: 450px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #E6F1FB;
}

.dashboard-header h4 {
    font-size: 1.375rem;
    color: #1a1a1a;
    margin: 0;
    font-weight: 700;
}

.dashboard-status {
    background: linear-gradient(135deg, #FF6A3D 0%, #ff8150 100%);
    color: #ffffff;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.dashboard-progress {
    margin-bottom: 1.75rem;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.625rem;
    font-size: 0.9375rem;
}

.progress-label span {
    color: #666;
}

.progress-label strong {
    color: #4F8DCC;
    font-size: 1.125rem;
    font-weight: 700;
}

.progress-bar {
    height: 12px;
    background: #E6F1FB;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4F8DCC 0%, #6aabde 100%);
    border-radius: 20px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 8px rgba(79, 141, 204, 0.4);
}

.dashboard-costs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding: 1.25rem;
    background: rgba(79, 141, 204, 0.05);
    border-radius: 0.75rem;
}

.cost-item {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.cost-label {
    font-size: 0.8125rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.cost-value {
    font-size: 1.25rem;
    color: #1a1a1a;
    font-weight: 700;
}

.cost-current {
    color: #4F8DCC;
}

.dashboard-schedule {
    margin-bottom: 1.75rem;
}

.dashboard-schedule h5 {
    font-size: 1rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 600;
}

.dashboard-schedule ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dashboard-schedule li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: #333;
    line-height: 1.5;
}

.schedule-dot {
    width: 8px;
    height: 8px;
    background: #FF6A3D;
    border-radius: 50%;
    flex-shrink: 0;
}

.dashboard-photos {
    padding-top: 1.25rem;
    border-top: 1px solid #E6F1FB;
}

.photo-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.photo-thumb {
    height: 80px;
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.photo-before {
    background: linear-gradient(135deg, #666 0%, #888 100%);
}

.photo-after {
    background: linear-gradient(135deg, #4F8DCC 0%, #6aabde 100%);
}

/* Dashboard Story - Vorher/Nachher */
.dashboard-story {
    margin-top: 5rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #14151A 0%, #1f2229 100%);
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.story-header {
    text-align: center;
    margin-bottom: 3rem;
}

.story-header h3 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.story-header p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

.story-comparison {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

.story-before,
.story-after {
    position: relative;
}

.story-before {
    text-align: center;
}

.story-before .story-image {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.8;
    filter: grayscale(20%);
}

.story-after-card {
    background: linear-gradient(135deg, rgba(79, 141, 204, 0.15) 0%, rgba(79, 141, 204, 0.05) 100%);
    border: 2px solid rgba(79, 141, 204, 0.3);
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(79, 141, 204, 0.2);
    margin-bottom: 2rem;
}

.story-after-card .story-image {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.story-label {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.story-label-highlight {
    background: linear-gradient(135deg, #FF6A3D 0%, #ff8150 100%);
    color: #ffffff;
}

.story-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.story-benefits li {
    position: relative;
    padding-left: 2rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: 0.005em;
}

.story-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #FF6A3D;
    font-size: 1.25rem;
    font-weight: 700;
}

/* ============================================
   6d. USP DETAIL SECTIONS - DEEP DIVE
   ============================================ */
.usp-detail {
    background-color: #ffffff;
    padding: 6rem 0;
}

.usp-detail-dark {
    background-color: #14151A;
    color: #ffffff;
}

.usp-detail-dark .section-title {
    color: #ffffff;
}

.usp-detail-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.usp-detail-content {
    max-width: 900px;
    margin: 0 auto;
}

.usp-detail-text {
    margin: 3rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.usp-detail-text p {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #333;
    letter-spacing: 0.005em;
}

.usp-detail-dark .usp-detail-text p {
    color: rgba(255, 255, 255, 0.9);
}

.usp-detail-text strong {
    color: #4F8DCC;
    font-weight: 600;
}

.usp-detail-dark .usp-detail-text strong {
    color: #FF6A3D;
}

/* USP Detail Benefits List */
.usp-detail-benefits {
    background: linear-gradient(135deg, #E6F1FB 0%, #F4F4F0 100%);
    border-radius: 1.25rem;
    padding: 2.5rem 2rem;
    margin: 3rem 0;
}

.usp-detail-dark .usp-detail-benefits {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.usp-detail-benefits h3 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.usp-detail-dark .usp-detail-benefits h3 {
    color: #ffffff;
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.benefits-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    font-size: 1rem;
    line-height: 1.65;
    color: #333;
}

.usp-detail-dark .benefits-list li {
    color: rgba(255, 255, 255, 0.9);
}

.benefit-icon {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FF6A3D 0%, #ff8150 100%);
    color: #ffffff;
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 106, 61, 0.3);
}

.benefits-list strong {
    color: #4F8DCC;
    font-weight: 600;
}

.usp-detail-dark .benefits-list strong {
    color: #FF6A3D;
}

/* USP Detail CTA */
.usp-detail-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.usp-detail-dark .usp-detail-cta {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.cta-hint {
    margin-top: 1rem;
    font-size: 0.9375rem;
    color: #666;
    font-style: italic;
}

.usp-detail-dark .cta-hint {
    color: rgba(255, 255, 255, 0.65);
}

/* Dashboard Video Section */
.dashboard-video-section {
    margin: 3rem 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.video-intro h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.video-intro p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.dashboard-video {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35),
                0 0 0 2px rgba(79, 141, 204, 0.2);
    background: rgba(0, 0, 0, 0.3);
}

.dashboard-video video {
    width: 100%;
    height: auto;
    max-height: 500px;
    display: block;
    object-fit: cover;
}

.video-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #FF6A3D 0%, #ff8150 100%);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(255, 106, 61, 0.4);
    z-index: 10;
}

/* ============================================
   6c. KLEINPROJEKTE - HIMMELBLAU LISTE
   ============================================ */
.kleinprojekte {
    background-color: #ffffff;
    padding: 6rem 0;
}

.kleinprojekte-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
}

.kleinprojekte-grid li {
    position: relative;
    padding-left: 2.5rem;
    line-height: 1.7;
    color: #333;
    font-size: 1rem;
    letter-spacing: 0.005em;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.kleinprojekte-grid li:hover {
    color: #1a1a1a;
    padding-left: 2.75rem;
}

.kleinprojekte-grid li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 1.25rem;
    height: 1.25rem;
    background: linear-gradient(135deg, #4F8DCC 0%, #3a7ab8 100%);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(79, 141, 204, 0.3);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.kleinprojekte-grid li:hover::before {
    background: linear-gradient(135deg, #FF6A3D 0%, #ff8150 100%);
    box-shadow: 0 3px 12px rgba(255, 106, 61, 0.4);
    transform: scale(1.15);
}

/* ============================================
   7. LEISTUNGEN - PREMIUM
   ============================================ */
.services {
    background:
        linear-gradient(rgba(230,241,251,0.94), rgba(230,241,251,0.94)),
        url('assets/Architektonisch.blau.H.scharf.webp') center/cover no-repeat;
    padding: 4rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-card {
    background-color: #ffffff;
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Performance: Optimiert für Hover-Animation */
    will-change: transform, box-shadow;
    transform: translateZ(0);
}

/* Entfernt will-change nach Hover */
.service-card:not(:hover) {
    will-change: auto;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(255, 106, 61, 0.15);
    border-color: rgba(255, 106, 61, 0.4);
}

.service-icon-3d {
    width: 100%;
    aspect-ratio: 16 / 10;
    margin: 0 0 1.75rem;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-image {
    transform: scale(1.08);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.375rem;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.service-card p {
    color: #4a4a4a;
    margin: 0;
    line-height: 1.65;
    letter-spacing: 0.005em;
}

.service-note {
    font-size: 0.875rem;
    color: #4F8DCC;
    font-style: italic;
    flex-shrink: 0;
    margin-top: 0.5rem !important;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(79, 141, 204, 0.15);
}

.service-card .usp-link {
    display: inline-flex;
    margin-top: 1rem;
}

/* ============================================
   8. WARUM WIR - PREMIUM
   ============================================ */
.about {
    background-color: #F4F4F0;
    padding: 4rem 0;
}

.benefits-list {
    max-width: 800px;
    margin: 0 auto;
}

.benefits-list li {
    padding: 1.25rem 0 1.25rem 3rem;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.6;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    letter-spacing: 0.005em;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefits-list li:hover {
    padding-left: 3.25rem;
    color: #1a1a1a;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 1.25rem;
    color: #FF6A3D;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefits-list li:hover::before {
    transform: scale(1.2) rotate(10deg);
    color: #ff8150;
}

/* ============================================
   9. REFERENZEN - CASE STUDIES MIT GALERIEN
   ============================================ */
.references {
    background-color: #E6F1FB;
    padding: 4rem 0;
}

/* Case Study Container */
.case-study {
    background-color: #ffffff;
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    margin-bottom: 4rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.case-study:last-of-type {
    margin-bottom: 0;
}

/* Case Header */
.case-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.case-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: -0.02em;
}

.case-badge {
    display: inline-block;
    background: linear-gradient(135deg, #4F8DCC 0%, #3a7ab8 100%);
    color: #ffffff;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Case Description */
.case-description {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 2rem;
    letter-spacing: 0.005em;
}

/* Case Info Blocks */
.case-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-block strong {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #4F8DCC;
    margin-bottom: 0.625rem;
    font-weight: 700;
}

.info-block p {
    margin: 0;
    font-size: 1rem;
    color: #333;
    font-weight: 600;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.info-list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.6;
}

.info-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #4F8DCC;
    font-weight: 700;
    font-size: 1.25rem;
}

/* Video Placeholder */
.case-video-placeholder {
    background: linear-gradient(135deg, #E6F1FB 0%, #d3e9f9 100%);
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
    border: 2px dashed rgba(79, 141, 204, 0.3);
}

.video-hint {
    margin: 0;
    font-size: 0.9375rem;
    color: #4F8DCC;
    font-weight: 600;
    text-align: center;
}

/* Gallery Styles */
.case-gallery {
    width: 100%;
}

.gallery-item {
    margin: 0;
}

.gallery-image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Performance: Optimiert für Hover-Animation */
    will-change: transform, box-shadow;
    transform: translateZ(0);
}

/* Entfernt will-change nach Hover */
.gallery-image-wrapper:not(:hover) {
    will-change: auto;
}

.gallery-image-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.gallery-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-image-wrapper:hover .gallery-image {
    transform: scale(1.03);
}

/* Gallery Labels */
.gallery-label {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    backdrop-filter: blur(8px);
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.gallery-label-before {
    background: rgba(102, 102, 102, 0.9);
    color: #ffffff;
}

.gallery-label-after {
    background: linear-gradient(135deg, #4F8DCC 0%, #3a7ab8 100%);
    color: #ffffff;
}

.gallery-label-after:hover {
    background: linear-gradient(135deg, #FF6A3D 0%, #ff8150 100%);
}

figcaption {
    margin-top: 1rem;
    font-size: 0.9375rem;
    color: #666;
    font-style: italic;
    line-height: 1.6;
    text-align: center;
}

/* Gallery Grid (Garten) */
.case-gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.gallery-section {
    background: #f8f8f8;
    padding: 1.5rem;
    border-radius: 1rem;
}

.gallery-section-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #4F8DCC;
    margin-bottom: 1rem;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.gallery-item-small .gallery-image-wrapper {
    /* Keine feste Höhe mehr - Bilder werden vollständig angezeigt */
}

.gallery-item-small .gallery-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.gallery-caption {
    grid-column: 1 / -1;
    margin-top: 0.5rem;
}

/* Gallery Comparison (Dashboard) */
.case-gallery-comparison {
    background: linear-gradient(135deg, #f8fbfd 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 1.25rem;
    border: 2px solid rgba(79, 141, 204, 0.15);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
}

.comparison-arrow {
    font-size: 2.5rem;
    color: #4F8DCC;
    text-align: center;
    font-weight: 700;
}

.dashboard-after-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* Case CTA */
.case-cta {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 2px solid #E6F1FB;
}

.case-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: #4F8DCC;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background: rgba(79, 141, 204, 0.08);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.01em;
}

.case-link:hover {
    background: linear-gradient(135deg, #FF6A3D 0%, #ff8150 100%);
    color: #ffffff;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(255, 106, 61, 0.3);
}

/* ============================================
   10. KUNDENSTIMMEN - TESTIMONIALS
   ============================================ */
.testimonials {
    background-color: #14151A;
    padding: 4rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbfd 100%);
    border: 2px solid rgba(79, 141, 204, 0.15);
    border-radius: 1.25rem;
    padding: 2.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(79, 141, 204, 0.15);
    border-color: rgba(79, 141, 204, 0.3);
}

.testimonial-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #E6F1FB;
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
}

.star {
    font-size: 1.5rem;
    color: #FF6A3D;
    line-height: 1;
}

.testimonial-meta {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.testimonial-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #4F8DCC;
    letter-spacing: 0.01em;
}

.testimonial-source {
    font-size: 0.8125rem;
    color: #666;
    font-style: italic;
}

.testimonial-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #333;
    letter-spacing: 0.005em;
}

.testimonial-content p:last-child {
    margin-bottom: 0;
}

.testimonial-content p:first-child {
    color: #555;
    font-style: italic;
}

/* Project feedback cards (new testimonial format) */
.project-feedback-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feedback-card {
    background: #ffffff;
    border: 1px solid rgba(79, 141, 204, 0.18);
    border-radius: 1.25rem;
    padding: 2rem 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.feedback-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(79, 141, 204, 0.12);
}

.feedback-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #4F8DCC;
    background: rgba(79, 141, 204, 0.08);
    border-radius: 2rem;
    padding: 0.3rem 0.85rem;
    align-self: flex-start;
}

.feedback-quote {
    margin: 0;
    padding: 0;
    border: none;
    font-size: 0.95rem;
    line-height: 1.75;
    color: #333;
    font-style: italic;
    position: relative;
}

.feedback-quote::before {
    content: '\201E';
    font-size: 3rem;
    color: rgba(79, 141, 204, 0.2);
    line-height: 0;
    vertical-align: -0.6rem;
    margin-right: 0.25rem;
    font-style: normal;
}

.feedback-footer {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(79, 141, 204, 0.12);
    margin-top: auto;
}

.feedback-who {
    font-size: 0.875rem;
    font-weight: 700;
    color: #14151A;
}

.feedback-note {
    font-size: 0.78rem;
    color: #888;
    line-height: 1.55;
    font-style: italic;
}

@media (max-width: 768px) {
    .project-feedback-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   PROJEKTSTIMMEN – Neues Layout (2 Featured + 4 Compact)
   ============================================ */
.stimmen-featured-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stimme-featured {
    background: #ffffff;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stimme-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(79, 141, 204, 0.14);
}

.stimme-featured-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.stimme-featured-body {
    padding: 1.75rem 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.stimme-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #4F8DCC;
    background: rgba(79, 141, 204, 0.09);
    border-radius: 2rem;
    padding: 0.3rem 0.85rem;
    align-self: flex-start;
    margin-bottom: 0.9rem;
}

.stimme-context {
    font-size: 0.875rem;
    color: #6B7280;
    margin-bottom: 0.9rem;
    line-height: 1.55;
}

.stimme-quote {
    margin: 0 0 0.9rem;
    padding: 0;
    border: none;
    font-size: 0.9375rem;
    line-height: 1.72;
    color: #1f2937;
    font-style: italic;
}

.stimme-quote::before {
    content: '\201E';
    font-size: 2rem;
    color: rgba(79, 141, 204, 0.25);
    line-height: 0;
    vertical-align: -0.45rem;
    margin-right: 0.2rem;
    font-style: normal;
}

.stimme-who {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #374151;
    display: block;
    margin-bottom: 0.75rem;
}

.stimme-einschaetzung {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #374151;
    background: rgba(79, 141, 204, 0.07);
    border-left: 3px solid rgba(79, 141, 204, 0.4);
    border-radius: 0 0.4rem 0.4rem 0;
    padding: 0.6rem 0.9rem;
}

.stimme-einschaetzung strong {
    color: #4F8DCC;
}

.stimmen-compact-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.stimme-compact {
    background: #ffffff;
    border-radius: 0.875rem;
    padding: 1.4rem 1.5rem 1.25rem;
    border-left: 3px solid #4F8DCC;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stimme-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 141, 204, 0.1);
}

.stimme-compact .stimme-quote {
    font-size: 0.875rem;
    line-height: 1.65;
    margin: 0;
}

.stimme-compact .stimme-einschaetzung {
    font-size: 0.775rem;
    padding: 0.5rem 0.75rem;
}

@media (max-width: 768px) {
    .stimmen-featured-row,
    .stimmen-compact-row {
        grid-template-columns: 1fr;
    }
    .stimme-featured-img {
        height: 170px;
    }
}

/* ============================================
   11. KONTAKT - PREMIUM
   ============================================ */
.contact {
    background-color: #ffffff;
    padding: 3.5rem 0;
}

.contact-subtitle {
    color: #4a4a4a;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form h3,
.contact-info h3 {
    margin-bottom: 1.75rem;
    font-size: 1.375rem;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.625rem;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.9375rem;
    letter-spacing: 0.005em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1.5px solid #ddd;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #fafafa;
    letter-spacing: 0.005em;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF6A3D;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 106, 61, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234F8DCC' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-optional {
    font-size: 0.8rem;
    font-weight: 400;
    color: #999;
    margin-left: 0.25rem;
}

/* Zwei-Spalten-Zeile innerhalb eines Formulars */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Microcopy unter Submit-Button */
.form-microcopy {
    font-size: 0.8125rem;
    color: #6b7280;
    margin: 0.5rem 0 0;
}

/* Honeypot – Bot-Schutz, nie anzeigen */
.form-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e5e5;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    display: block;
    color: #1a1a1a;
    margin-bottom: 0.625rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.info-item p,
.info-item a {
    color: #666;
    margin: 0;
    line-height: 1.6;
    letter-spacing: 0.005em;
}

.info-item a:hover {
    color: #FF6A3D;
}

/* Contact Extra - Handout Downloads */
.contact-extra {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #E6F1FB 0%, #F4F4F0 100%);
    border-radius: 1rem;
    border-left: 4px solid #4F8DCC;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-extra p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #333;
}

.contact-extra .btn {
    align-self: flex-start;
}

.contact-extra-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.section-actions {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.page-hero {
    min-height: auto;
    padding: 6rem 0 4.5rem;
}

.page-hero .hero-content {
    max-width: 760px;
}

.page-hero .hero-wrapper {
    align-items: stretch;
}

.page-hero .hero-visual {
    max-width: 420px;
}

.page-hero-image {
    width: 100%;
    min-height: 350px;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.page-card {
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.page-card h3 {
    margin-bottom: 1rem;
}

.page-card p:last-child,
.page-card ul:last-child {
    margin-bottom: 0;
}

.page-card-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.85rem;
    color: #555;
}

.page-card-list li:last-child {
    margin-bottom: 0;
}

.page-card-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #FF6A3D;
    font-weight: 700;
}

.page-note {
    max-width: 820px;
    margin: 2rem auto 0;
    padding: 1.25rem 1.5rem;
    background: rgba(79, 141, 204, 0.08);
    border-left: 4px solid #4F8DCC;
    border-radius: 0.75rem;
    color: #333;
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.team-card {
    background: #ffffff;
    border: 1px solid rgba(79, 141, 204, 0.15);
    border-radius: 1rem;
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.team-card:hover {
    box-shadow: 0 8px 28px rgba(79, 141, 204, 0.12);
    transform: translateY(-3px);
}

.team-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #4F8DCC, #2d6aa3);
    margin: 0 auto 1rem;
}

.team-initials {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.team-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #14151A;
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.85rem;
    font-weight: 600;
    color: #4F8DCC;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.team-desc {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.65;
    margin: 0;
}

.team-desc em {
    color: #888;
    font-style: italic;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   STEP NUMBER (process flows)
   ============================================ */
.usp-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #FF6A3D;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

/* Compliance / Fachgewerke note block */
.compliance-note {
    max-width: 820px;
    margin: 0 auto;
    padding: 2rem 2rem;
    background: rgba(79, 141, 204, 0.06);
    border-left: 4px solid #4F8DCC;
    border-radius: 0.75rem;
}

.compliance-note h2 {
    font-size: 1.35rem;
    color: #14151A;
    margin-bottom: 0.75rem;
}

.compliance-note p {
    color: #444;
    line-height: 1.7;
    margin: 0;
}

.page-cta-band {
    background: linear-gradient(135deg, #E6F1FB 0%, #F4F4F0 100%);
}

/* ============================================
   11. FOOTER - PREMIUM
   ============================================ */
footer {
    background-color: #14151A;
    color: #dddddd;
    padding: 3.5rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    color: #ffffff;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.6;
    letter-spacing: 0.005em;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9375rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.005em;
}

.footer-links a:hover {
    color: #FF6A3D;
}

.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    letter-spacing: 0.005em;
}

/* ============================================
   12. MEDIA QUERIES - TABLET (768px+)
   ============================================ */
@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }

    .section {
        padding: 5rem 0;
    }

    .section-title {
        font-size: 3rem;
    }

    .header-inner {
        flex-direction: row;
        padding: 1.375rem 2rem;
    }

    .logo {
        margin-right: 2rem;
        margin-bottom: 0;
    }

    .nav ul {
        flex-direction: row;
        gap: 1.5rem;
        margin-top: 0;
        align-items: center;
    }

    .logo img {
        height: 64px;
        max-width: 260px;
    }

    .hero-headline {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.375rem;
    }

    .usp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .dashboard-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: flex-start;
    }

    .story-comparison {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .story-header h3 {
        font-size: 2.25rem;
    }

    .kleinprojekte-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .case-study {
        grid-template-columns: 1fr 1fr;
        padding: 3rem;
        gap: 3rem;
    }

    .case-study-reverse {
        grid-template-columns: 1fr 1fr;
    }

    .case-study-reverse .case-content {
        order: 2;
    }

    .case-study-reverse .case-gallery {
        order: 1;
    }

    .case-info {
        grid-template-columns: auto 1fr;
        gap: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .case-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .comparison-grid {
        grid-template-columns: 1fr auto 1.2fr;
        gap: 2rem;
    }

    .dashboard-after-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .dashboard-video-section {
        grid-template-columns: 1fr 1.2fr;
        gap: 3rem;
        align-items: center;
    }

    .dashboard-video video {
        max-height: 400px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .contact-wrapper {
        grid-template-columns: 1.2fr 1fr;
    }

    .page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ============================================
   13. MEDIA QUERIES - DESKTOP (1024px+)
   ============================================ */
@media (min-width: 1024px) {
    .container {
        padding: 0 3rem;
    }

    .section-title {
        font-size: 3.25rem;
    }

    .hero-wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 4rem;
    }

    .hero-content {
        flex: 1;
        max-width: 600px;
    }

    .hero-headline {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-visual {
        flex: 0 0 500px;
    }

    .logo img {
        height: 80px;
        max-width: 300px;
    }

    .usp-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }

    .dashboard-wrapper {
        grid-template-columns: 1.1fr 1fr;
        gap: 5rem;
    }

    .story-comparison {
        gap: 4rem;
    }

    .story-header h3 {
        font-size: 2.5rem;
    }

    .story-header p {
        font-size: 1.25rem;
    }

    .kleinprojekte-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.75rem 2.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }

    .page-hero .hero-wrapper {
        flex-direction: row;
        align-items: center;
    }

    .case-study {
        grid-template-columns: 1.2fr 1fr;
        padding: 4rem;
        gap: 4rem;
    }

    .case-title {
        font-size: 2rem;
    }

    .case-description {
        font-size: 1.125rem;
    }

    /* Keine feste Höhe für .gallery-item-small - vollständige Bildanzeige bleibt erhalten */

    .references-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }

    .benefits-list li {
        font-size: 1.25rem;
        padding: 1.5rem 0 1.5rem 3.5rem;
    }

    .benefits-list li::before {
        font-size: 2rem;
        top: 1.5rem;
    }
}

/* ============================================
   14. ACCESSIBILITY & SMOOTH INTERACTIONS
   ============================================ */
*:focus-visible {
    outline: 3px solid rgba(79, 141, 204, 0.5);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   15. UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-alert {
    color: #FF6A3D;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mt-2 {
    margin-top: 2rem;
}

.section-white {
    background-color: #ffffff;
}

.section-compact {
    padding: 1.5rem 0;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 960px;
    margin: 0 auto;
}

.decision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: start;
}

.decision-grid-narrow {
    max-width: 900px;
}

.eyebrow-tight {
    margin-bottom: 0.75rem;
}

.compliance-note-highlight {
    border-color: #FF6A3D;
    background: rgba(255, 106, 61, 0.06);
}

.inline-status-badge {
    font-size: 0.8em;
    color: #FF6A3D;
}

.compact-benefits-spaced {
    margin: 1rem 0 1.5rem;
}

.team-section-bg {
    background:
        linear-gradient(rgba(248,249,252,0.98), rgba(248,249,252,0.98)),
        url('assets/TechnischZeichnenHintergrund.scharf.webp') center/cover no-repeat;
}

.usp-link-inline {
    display: inline-block;
    margin-top: 1rem;
}

.usp-link-compact {
    margin-top: 0.75rem;
    font-size: 0.8125rem;
}

.status-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.status-page-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.status-page-action {
    margin-top: 1.5rem;
}

/* =========================================================
   PREMIUM BUTTON & TITLE SMOOTHNESS UPGRADE
   Bauwerk Süd/West
   ========================================================= */

/* Global headline smoothness */
h1, h2, h3 {
    letter-spacing: 0.02em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Basis für alle Buttons – weicher, smoother, luxus */
.btn,
.cta-button,
.cta-secondary,
.submit-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.98rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    outline: none;
    text-decoration: none;
    transition:
        transform 220ms cubic-bezier(0.19, 1, 0.22, 1),
        box-shadow 220ms cubic-bezier(0.19, 1, 0.22, 1),
        background 220ms ease,
        color 220ms ease,
        border-color 220ms ease;
    will-change: transform, box-shadow;
}

/* Primärer Button – „Software Premium" Look */
.btn-primary,
.cta-button,
.submit-button {
    background: linear-gradient(135deg, #4F8DCC 0%, #3a7ab8 100%);
    color: #ffffff;
    box-shadow:
        0 14px 35px rgba(79, 141, 204, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* Glanz-Layer für smooth shine effect */
.btn-primary::before,
.cta-button::before,
.submit-button::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.26),
        rgba(255, 255, 255, 0.05),
        transparent
    );
    opacity: 0.0;
    transform: translateX(-20%);
    transition: opacity 220ms ease, transform 350ms ease-out;
    pointer-events: none;
    z-index: 1;
}

.btn-primary span,
.cta-button span,
.submit-button span {
    position: relative;
    z-index: 2;
}

/* Hover-Effekt: micro-lift + weicher Glow */
.btn-primary:hover,
.cta-button:hover,
.submit-button:hover {
    transform: translateY(-3px);
    box-shadow:
        0 18px 45px rgba(79, 141, 204, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.15);
}

/* Hover – Glanz fährt drüber */
.btn-primary:hover::before,
.cta-button:hover::before,
.submit-button:hover::before {
    opacity: 0.85;
    transform: translateX(12%);
}

/* Fokus – Tastatur-Nutzer klar sichtbar */
.btn-primary:focus-visible,
.cta-button:focus-visible,
.submit-button:focus-visible {
    outline: 3px solid #91c4f2;
    outline-offset: 3px;
}

/* Sekundärer Button – edel, zurückhaltend */
.btn-secondary,
.cta-secondary {
    background: rgba(0, 0, 0, 0.08);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover,
.cta-secondary:hover {
    background: rgba(79, 141, 204, 0.08);
    border-color: #4F8DCC;
    color: #91c4f2;
    transform: translateY(-3px);
    box-shadow:
        0 16px 38px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.btn-secondary:focus-visible,
.cta-secondary:focus-visible {
    outline: 3px solid #91c4f2;
    outline-offset: 3px;
}

/* Speziell im Hero: etwas größer & spaced */
.hero .btn,
.hero .cta-button,
.hero .cta-secondary {
    font-size: 1rem;
    letter-spacing: 0.06em;
}

/* Kleine „Softness" beim Active-State (Touch safe) */
@media (hover: hover) {
    .btn:active,
    .cta-button:active,
    .cta-secondary:active,
    .submit-button:active {
        transform: translateY(-1px) scale(0.99);
        box-shadow:
            0 10px 26px rgba(0, 0, 0, 0.4),
            0 0 0 1px rgba(0, 0, 0, 0.2);
    }
}

/* ============================================
   HANDOUT-SEITE FÜR HAUSVERWALTUNGEN
   Neu: DIN-A4-Sheet-Design, Print-optimiert
   ============================================ */

/* ---- Reset & Grundstruktur ---- */
.handout-body {
    background-color: #f0f2f7;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: #1e2128;
    line-height: 1.65;
}

/* Sheet: weißes A4-Blatt, overflow:visible damit sticky action bar funktioniert */
.ho-sheet {
    max-width: 900px;
    margin: 2rem auto 4rem;
    background: #ffffff;
    border: 1px solid #dce3ee;
    border-radius: 6px;
    box-shadow: 0 4px 24px rgba(20, 21, 40, 0.10);
}

/* ---- Online Action Bar (Sticky innerhalb des Sheets, kein position:fixed) ---- */
.ho-action-bar {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(79, 141, 204, 0.18);
    border-radius: 6px 6px 0 0;
    z-index: 50;
}

.ho-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4375rem 0.875rem;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 6px rgba(0,0,0,0.10);
    white-space: nowrap;
}

.ho-action-primary {
    background: #4F8DCC;
    color: #ffffff;
}

.ho-action-primary:hover {
    background: #3d78b8;
}

.ho-action-secondary {
    background: #ffffff;
    color: #1e2128;
    border: 1px solid #cdd5e0;
}

.ho-action-secondary:hover {
    background: #f4f7fb;
}

/* ---- Header ---- */
.ho-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem 2.25rem 1.25rem;
    border-bottom: 3px solid #4F8DCC;
    background: #ffffff;
}

.ho-header-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ho-logo-link {
    display: block;
}

.ho-logo {
    height: 44px;
    width: auto;
    display: block;
}

.ho-logo-print {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e2128;
    letter-spacing: 0.02em;
}

.ho-header-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #4F8DCC;
    background: #e6f1fb;
    border-radius: 4px;
    padding: 0.2rem 0.6rem;
}

.ho-header-meta {
    text-align: right;
    flex-shrink: 0;
    max-width: 320px;
}

.ho-header-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1e2128;
    margin: 0 0 0.25rem;
    line-height: 1.4;
}

.ho-header-sub {
    font-size: 0.8125rem;
    color: #5a6373;
    margin: 0;
}

/* ---- Sektionen ---- */
.ho-section {
    padding: 1.5rem 2.25rem;
    border-bottom: 1px solid #e4e9f0;
}

.ho-section:last-of-type {
    border-bottom: none;
}

.ho-section-light {
    background: #f8f9fc;
}

.ho-section-blue {
    background: #1e3a5f;
    color: #ffffff;
}

.ho-section-cta {
    background: #e6f1fb;
    border-top: 2px solid #4F8DCC;
}

/* Online-Bereich: klar vom druckbaren Handout abgetrennt */
.ho-section-online {
    background: #eef3f9;
    border-top: 3px solid #4F8DCC;
    border-bottom: none;
}

.ho-section-inner {
    max-width: 820px;
    margin: 0 auto;
}

/* ---- B: Kernnutzen – dezenter Zahnräder-Hintergrund ---- */
.ho-section-nutzen {
    position: relative;
    overflow: hidden;
}

.ho-section-nutzen::before {
    content: "";
    position: absolute;
    top: -10%;
    right: -5%;
    width: 55%;
    height: 120%;
    background: url('assets/TechnischZeichnenHintergrund.scharf.webp') center / contain no-repeat;
    opacity: 0.045;
    pointer-events: none;
    z-index: 0;
}

.ho-section-nutzen .ho-section-inner {
    position: relative;
    z-index: 1;
}

/* ---- Online-Label Badge ---- */
.ho-online-label {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #4F8DCC;
    background: #ffffff;
    border: 1px solid #b8d0e8;
    border-radius: 4px;
    padding: 0.25rem 0.625rem;
    margin-bottom: 1rem;
}

.ho-online-label span {
    font-size: 0.45rem;
}

/* ---- Online-Card: weißes Panel innerhalb des Online-Bereichs ---- */
.ho-online-card {
    background: #ffffff;
    border: 1px solid #cdd5e0;
    border-radius: 8px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 2px 12px rgba(20, 21, 40, 0.06);
    max-width: 720px;
}

/* ---- Überschriften ---- */
.ho-h2 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e2128;
    margin: 0 0 0.875rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e6f1fb;
    letter-spacing: -0.01em;
}

.ho-h2-light {
    color: #ffffff;
    border-bottom-color: rgba(255,255,255,0.15);
}

/* ---- Bullet-Listen ---- */
.ho-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ho-bullets li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
    color: #2c3240;
}

.ho-bullets li:last-child {
    margin-bottom: 0;
}

.ho-bullets-checkmark li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #4F8DCC;
    font-weight: 700;
}

.ho-bullets-dot li::before {
    content: "–";
    position: absolute;
    left: 0;
    top: 0;
    color: #4F8DCC;
    font-weight: 700;
}

/* ---- Zwei-Spalten-Bullet-Liste ---- */
.ho-twocol-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 2rem;
}

/* ---- Zwei-Panel-Sektion ---- */
.ho-twopanel {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.ho-panel-accent {
    background: #f0f6ff;
    border: 1px solid #cdd5e0;
    border-left: 3px solid #4F8DCC;
    border-radius: 6px;
    padding: 1.125rem 1.25rem;
}

.ho-panel-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #4F8DCC;
    margin: 0 0 0.5rem;
}

.ho-panel-text {
    font-size: 0.9375rem;
    color: #2c3240;
    margin: 0 0 0.5rem;
    line-height: 1.6;
}

/* ---- Prozessleiste (kompakt, ohne Subtext) ---- */
.ho-process {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
}

.ho-process-step {
    flex: 1;
    min-width: 0;
    text-align: center;
    padding: 0 0.5rem;
}

.ho-process-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #4F8DCC;
    color: #ffffff;
    font-size: 0.8125rem;
    font-weight: 700;
    margin: 0 auto 0.375rem;
}

.ho-process-label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
}

.ho-process-sub {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.4;
    margin-top: 0.25rem;
}

.ho-process-arrow {
    color: rgba(255,255,255,0.5);
    font-size: 1.125rem;
    flex-shrink: 0;
    padding-bottom: 1.375rem;
}

/* ---- Hinweisbox ---- */
.ho-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    background: #f0f6ff;
    border: 1px solid #c5d9f0;
    border-left: 3px solid #4F8DCC;
    border-radius: 6px;
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
    color: #2c3240;
    line-height: 1.6;
}

.ho-notice-icon {
    font-size: 1rem;
    color: #4F8DCC;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* ---- CTA-Block ---- */
.ho-cta-block {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.ho-cta-text {
    flex: 1;
    min-width: 200px;
}

.ho-cta-text .ho-h2 {
    margin-bottom: 0.375rem;
}

.ho-cta-text p {
    font-size: 0.875rem;
    color: #3a4760;
    margin: 0;
}

.ho-cta-btn {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: #ffffff;
    background: #FF6A3D;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

.ho-cta-btn:hover {
    background: #e85e33;
}

.ho-cta-print {
    display: none;
    font-size: 0.875rem;
    color: #3a4760;
}

/* ---- Formular ---- */
.ho-form-intro {
    font-size: 0.875rem;
    color: #4a5568;
    margin: 0 0 1rem;
}

.ho-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ho-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem;
    margin-bottom: 0.875rem;
}

.ho-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.ho-form-group-full {
    grid-column: 1 / -1;
    margin-bottom: 0.875rem;
}

.ho-form-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #2c3240;
    letter-spacing: 0.02em;
}

.ho-form-group input,
.ho-form-group select,
.ho-form-group textarea {
    font-family: inherit;
    font-size: 0.9375rem;
    color: #1e2128;
    background: #f8f9fc;
    border: 1px solid #cdd5e0;
    border-radius: 5px;
    padding: 0.5625rem 0.875rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.ho-form-group input:focus,
.ho-form-group select:focus,
.ho-form-group textarea:focus {
    border-color: #4F8DCC;
    box-shadow: 0 0 0 3px rgba(79, 141, 204, 0.15);
    background: #ffffff;
}

.ho-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.ho-form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%234F8DCC' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.875rem center;
    padding-right: 2.25rem;
    cursor: pointer;
}

.ho-form-privacy {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0 0 0.875rem;
    line-height: 1.5;
}

.ho-form-privacy a {
    color: #4F8DCC;
    text-decoration: underline;
}

.ho-submit {
    display: inline-flex;
    align-items: center;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #ffffff;
    background: #4F8DCC;
    border: none;
    border-radius: 6px;
    padding: 0.75rem 1.75rem;
    cursor: pointer;
    transition: background 0.2s ease;
    align-self: flex-start;
}

.ho-submit:hover {
    background: #3d78b8;
}

.ho-submit-print {
    display: none;
}

/* ---- Footer ---- */
.ho-footer {
    padding: 1.125rem 2.25rem;
    background: #f4f7fb;
    border-top: 2px solid #dce3ee;
    border-radius: 0 0 6px 6px;
}

.ho-footer-inner {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: #4a5568;
    margin-bottom: 0.75rem;
}

.ho-footer-brand {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #2c3240;
}

.ho-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ho-footer-contact a {
    color: #4F8DCC;
    text-decoration: none;
}

.ho-footer-note {
    font-size: 0.8rem;
    color: #6b7280;
    font-style: italic;
    margin-left: auto;
    max-width: 260px;
    text-align: right;
}

.ho-footer-legal {
    display: flex;
    gap: 1.25rem;
    font-size: 0.8rem;
    border-top: 1px solid #dce3ee;
    padding-top: 0.625rem;
}

.ho-footer-legal a {
    color: #6b7280;
    text-decoration: none;
}

.ho-footer-legal a:hover {
    color: #4F8DCC;
}

/* ---- Print-only / no-print helpers ---- */
.print-only {
    display: none;
}

/* ---- Responsive Mobile ---- */
@media (max-width: 640px) {
    .ho-sheet {
        margin: 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
        box-shadow: none;
    }

    .ho-action-bar {
        border-radius: 0;
        padding: 0.5rem 1rem;
        gap: 0.375rem;
    }

    .ho-action-btn {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }

    .ho-header {
        flex-direction: column;
        padding: 1.25rem 1.25rem 1rem;
    }

    .ho-header-meta {
        text-align: left;
        max-width: 100%;
    }

    .ho-section {
        padding: 1.25rem;
    }

    .ho-twocol-list {
        grid-template-columns: 1fr;
    }

    .ho-twopanel {
        grid-template-columns: 1fr;
    }

    .ho-form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .ho-form-group-full {
        margin-bottom: 0.75rem;
    }

    .ho-process {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }

    .ho-process-step {
        flex: 0 0 auto;
        min-width: 56px;
    }

    .ho-process-arrow {
        font-size: 0.875rem;
        padding-bottom: 1rem;
    }

    .ho-cta-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .ho-footer {
        border-radius: 0;
    }

    .ho-footer-inner {
        flex-direction: column;
        gap: 0.875rem;
    }

    .ho-footer-note {
        text-align: left;
        margin-left: 0;
        max-width: 100%;
    }

    .ho-online-card {
        padding: 1.25rem;
    }
}

/* ============================================================
   PRINT / PDF – @media print
   ============================================================ */
@media print {
    /* Grundeinstellungen */
    @page {
        size: A4;
        margin: 18mm 16mm 16mm 16mm;
    }

    * {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    /* Online-Elemente ausblenden */
    .no-print,
    .ho-action-bar,
    .ho-section-online,
    .ho-footer-legal,
    .cookie-banner,
    .header,
    #fab-buttons,
    #scroll-top,
    .section-nav-pill {
        display: none !important;
    }

    /* Print-only Elemente einblenden */
    .print-only {
        display: block !important;
    }

    /* Zahnräder-Hintergrund im Druck ausblenden */
    .ho-section-nutzen::before {
        display: none !important;
    }

    /* Sheet: kein Shadow, keine abgerundeten Ecken */
    body.handout-body {
        background: #ffffff !important;
    }

    .ho-sheet {
        max-width: 100%;
        margin: 0;
        border: none;
        border-radius: 0;
        box-shadow: none;
    }

    /* Header druckfreundlich */
    .ho-header {
        padding: 0 0 10pt 0;
        border-bottom: 2pt solid #4F8DCC;
        background: #ffffff !important;
    }

    .ho-logo {
        height: 36pt;
    }

    /* Sektionen */
    .ho-section {
        padding: 9pt 0;
        border-bottom: 0.5pt solid #d0d8e8;
        page-break-inside: avoid;
    }

    .ho-section-light {
        background: #f8f9fc !important;
    }

    /* Blaues Band: hell drucken */
    .ho-section-blue {
        background: #e6f1fb !important;
        color: #1e2128 !important;
        border: 1pt solid #b8d0e8;
        border-radius: 4pt;
        padding: 10pt !important;
        page-break-inside: avoid;
    }

    .ho-section-blue .ho-h2 {
        color: #1e3a5f !important;
        border-bottom-color: #b8d0e8 !important;
    }

    .ho-process-label {
        color: #1e3a5f !important;
    }

    .ho-process-dot {
        background: #4F8DCC !important;
        color: #ffffff !important;
    }

    .ho-process-arrow {
        color: #4F8DCC !important;
    }

    /* CTA-Block: hell */
    .ho-section-cta {
        background: #f0f6ff !important;
        border: 1pt solid #b8d0e8;
        border-radius: 4pt;
        page-break-inside: avoid;
    }

    .ho-cta-text p {
        color: #2c3240 !important;
    }

    /* Boxen */
    .ho-panel-accent {
        border: 1pt solid #b8d0e8;
        box-shadow: none;
        background: #f0f6ff !important;
    }

    .ho-notice {
        background: #f0f6ff !important;
        border: 1pt solid #b8d0e8;
    }

    /* Überschriften */
    .ho-h2 {
        font-size: 11pt;
        color: #1e3a5f !important;
        border-bottom-color: #dce3ee !important;
        page-break-after: avoid;
    }

    /* Bullets */
    .ho-bullets li {
        font-size: 9.5pt;
        color: #2c3240 !important;
    }

    /* Footer druckbar */
    .ho-footer {
        background: #f4f7fb !important;
        border-top: 1pt solid #b8d0e8;
        padding: 8pt 0 0;
        page-break-inside: avoid;
        border-radius: 0;
    }

    .ho-footer-inner {
        font-size: 8.5pt;
    }

    /* Zweispalten-Layouts beibehalten */
    .ho-twocol-list {
        grid-template-columns: 1fr 1fr;
    }

    .ho-twopanel {
        grid-template-columns: 1.2fr 1fr;
    }

    /* Seitenumbrüche */
    .ho-section-blue,
    .ho-notice,
    .ho-cta-block {
        page-break-inside: avoid;
    }
}

/* ============================================
   TYPOGRAFIE-SYSTEM & HIGHLIGHT-KLASSEN
   Sparsam einsetzen: Orange = Nutzen/Aktion/Problem,
   Blau = Struktur/Vertrauen/Dokumentation
   Max. 1–3 Highlights pro Abschnitt.
   ============================================ */

/* ── H-Ebenen Typografie-Grundgewichtung ─────────── */
/* H1: Aussage, stark, nicht zu lang */
.hero-headline,
h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: #ffffff; /* überschrieben im section-Kontext */
}

/* H2: Nutzenorientiert – spezifisch, nicht generisch */
.section-title,
h2 {
    font-size: clamp(1.25rem, 2.5vw, 1.875rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

/* H3: Konkreter Einsatzfall oder Modul */
.service-card h3,
.usp-card h3,
.feedback-card h3,
h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

/* ── Orange: Aktion, Nutzen, kritischer Begriff ──── */
/* .text-accent – Primärklasse (neu) */
.text-accent {
    color: #FF6A3D;
    font-weight: 700;
}

/* .hl-orange – Bestandsklasse, identisch */
.hl-orange {
    color: #FF6A3D;
    font-weight: 600;
}

/* ── Blau: Struktur, Vertrauen, Dokumentation ────── */
/* .text-primary – Primärklasse (neu) */
.text-primary {
    color: #4F8DCC;
    font-weight: 600;
}

/* .hl-blue – Bestandsklasse, identisch */
.hl-blue {
    color: #4F8DCC;
    font-weight: 600;
}

/* ── Dezente Inline-Hervorhebung mit Hintergrund ─── */
/* Verwendung für Fachbegriffe: Übergabe, Rückmeldung,
   Neuvermietung, Dokumentation – im Fließtext */
.keyword-highlight {
    background: linear-gradient(120deg,
        rgba(255, 106, 61, 0.10) 0%,
        rgba(255, 106, 61, 0.07) 100%);
    border-radius: 3px;
    padding: 0.05em 0.25em;
    color: inherit;
    font-weight: 600;
    white-space: nowrap;
}

/* .keyword-highlight-blue – Blau-Variante für
   Struktur-/Vertrauensbegriffe */
.keyword-highlight-blue {
    background: linear-gradient(120deg,
        rgba(79, 141, 204, 0.10) 0%,
        rgba(79, 141, 204, 0.07) 100%);
    border-radius: 3px;
    padding: 0.05em 0.25em;
    color: inherit;
    font-weight: 600;
    white-space: nowrap;
}

/* ── Section-Eyebrow / Kicker ─────────────────────── */
/* .section-eyebrow – konsistente Semantic-Klasse
   Zeile ÜBER H2/H1, gibt Kontext:
   Zielgruppe · Ort · Leistungsbereich · Einsatzfall */
.section-eyebrow,
.eyebrow {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #4F8DCC;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

/* Im dunklen Kontext (Hero) */
.hero .section-eyebrow,
.hero .hero-eyebrow,
.hero .eyebrow {
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.12em;
}

/* Auf weißem / hellem Hintergrund – dezenter */
.about .section-eyebrow,
.services .section-eyebrow,
.usps .section-eyebrow {
    color: #4F8DCC;
}

/* ── Copy-Lead: Eröffnungsabsatz nach H1/H2 ──────── */
/* Größer, ruhig gesetzt, für Orientierung */
.copy-lead {
    font-size: 1.0625rem;
    line-height: 1.78;
    color: #374151;
    font-weight: 400;
    max-width: 660px;
    margin-bottom: 1.75rem;
}

/* Im Hero-Kontext heller */
.hero .copy-lead,
.page-hero .copy-lead {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.0625rem;
}

/* Mikro-Badge neben Überschriften */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #FF6A3D;
    background: rgba(255, 106, 61, 0.08);
    border: 1px solid rgba(255, 106, 61, 0.25);
    border-radius: 4px;
    padding: 0.2rem 0.6rem;
    vertical-align: middle;
    margin-left: 0.5rem;
}

/* Leseführende Trennlinie in Abschnitten */
.section-divider {
    border: none;
    border-top: 2px solid #e6f1fb;
    margin: 2.5rem 0;
}

/* Akzent-Karte (Info-Einschub, Einsatzfall, Mini-Case) */
.accent-card {
    background: #f0f6ff;
    border-left: 3px solid #4F8DCC;
    border-radius: 0 6px 6px 0;
    padding: 1rem 1.25rem;
    font-size: 0.9375rem;
    color: #2c3240;
    line-height: 1.65;
}

.accent-card strong {
    color: #1e3a5f;
}

.accent-card-orange {
    background: rgba(255, 106, 61, 0.06);
    border-left-color: #FF6A3D;
}

/* Kompakte Nutzenliste ohne Bullet-Overhead */
.compact-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.75rem 2rem;
}

.compact-benefits li {
    position: relative;
    padding-left: 1.375rem;
    font-size: 0.9375rem;
    color: #2c3240;
    line-height: 1.55;
}

.compact-benefits li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #4F8DCC;
    font-weight: 700;
}

/* Feedback-Karte – Überarbeitung */
.feedback-card {
    background: #ffffff;
    border: 1px solid #e4e9f0;
    border-radius: 10px;
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 2px 12px rgba(20, 21, 40, 0.05);
    transition: box-shadow 0.2s ease;
}

.feedback-card:hover {
    box-shadow: 0 4px 20px rgba(20, 21, 40, 0.09);
}

.feedback-tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #4F8DCC;
    background: #e6f1fb;
    border-radius: 4px;
    padding: 0.25rem 0.625rem;
    align-self: flex-start;
}

.feedback-quote {
    font-size: 0.9375rem;
    color: #2c3240;
    line-height: 1.7;
    font-style: italic;
    border-left: 3px solid #e6f1fb;
    padding-left: 1rem;
    margin: 0;
}

.feedback-quote::before {
    content: "\201E";
    font-size: 1.5rem;
    color: #4F8DCC;
    opacity: 0.5;
    line-height: 0;
    vertical-align: -0.4em;
    margin-right: 0.2em;
}

.feedback-footer {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    border-top: 1px solid #f0f2f7;
    padding-top: 0.875rem;
    font-size: 0.8125rem;
}

.feedback-who {
    font-weight: 700;
    color: #1e2128;
}

.feedback-note {
    color: #6b7280;
    font-style: italic;
    line-height: 1.55;
}

/* Anonym-Hinweis kompakt */
.feedback-anon-note {
    font-size: 0.75rem;
    color: #9ca3af;
    text-align: center;
    margin-top: 1.5rem;
}

/* CTA-Band (schmaler Zwischenruf zwischen Sektionen) */
.cta-band {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    color: #ffffff;
    padding: 2rem 0;
    text-align: center;
}

.cta-band h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: #ffffff;
}

.cta-band p {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.8);
    margin: 0 0 1.25rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* Page-Hero Varianten je Seite */
[data-page="sanierung"] .page-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2319 60%, #3d2e1a 100%);
}

[data-page="hausverwaltungen"] .page-hero {
    background: linear-gradient(135deg, #0f1f38 0%, #1a2e50 60%, #1e3a5f 100%);
}

[data-page="solar"] .page-hero {
    background: linear-gradient(135deg, #0d1f2d 0%, #1a3040 60%, #1a3d2e 100%);
}

[data-page="projektraum"] .page-hero {
    background: linear-gradient(135deg, #12151f 0%, #1a1f35 60%, #1e2840 100%);
}

   COOKIE-CONSENT-BANNER
   ============================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #14151A 0%, #1f2028 100%);
    color: #ffffff;
    z-index: 10000;
    display: none; /* Wird per JavaScript eingeblendet */
    padding: 1.5rem 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    border-top: 2px solid rgba(79, 141, 204, 0.4);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-start;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #e0e0e0;
}

.cookie-banner a {
    color: #4F8DCC;
    text-decoration: underline;
    transition: color 0.25s ease;
}

.cookie-banner a:hover {
    color: #FF6A3D;
}

.cookie-banner-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-banner .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    white-space: nowrap;
}

/* Responsive: Auf kleinen Screens vertikal stapeln */
@media (min-width: 768px) {
    .cookie-banner-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* ============================================
   RECHTLICHE SEKTIONEN (IMPRESSUM, DATENSCHUTZ)
   ============================================ */

.legal-section {
    background-color: #f8f8f8;
    padding: 4rem 0;
}

.legal-section:nth-of-type(even) {
    background-color: #ffffff;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-placeholder {
    background: #E6F1FB;
    border-left: 4px solid #4F8DCC;
    padding: 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.9375rem;
    color: #333;
    border-radius: 0.5rem;
}

.legal-info-blocks {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.legal-block h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #14151A;
    margin-bottom: 0.75rem;
    letter-spacing: -0.015em;
}

.legal-block h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #4F8DCC;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-block p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #333;
}

.legal-block p:last-child {
    margin-bottom: 0;
}

.legal-block a {
    color: #4F8DCC;
    text-decoration: underline;
    transition: color 0.25s ease;
}

.legal-block a:hover {
    color: #FF6A3D;
}

.legal-note {
    margin-top: 2.5rem;
    padding: 1.25rem;
    background: #fff3cd;
    border-left: 4px solid #FF6A3D;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #666;
    line-height: 1.6;
}

.legal-note em {
    font-style: italic;
}

/* Responsive: Legal Sections */
@media (min-width: 768px) {
    .legal-section {
        padding: 6rem 0;
    }
}

/* ============================================
   DATENSCHUTZHINWEIS IM KONTAKTFORMULAR
   ============================================ */

.form-privacy-notice {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #E6F1FB;
    border-radius: 0.5rem;
    border-left: 3px solid #4F8DCC;
}

.form-privacy-notice p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #555;
}

.form-privacy-notice a {
    color: #4F8DCC;
    text-decoration: underline;
    transition: color 0.25s ease;
}

.form-privacy-notice a:hover {
    color: #FF6A3D;
}

/* ============================================
   VISUAL UPGRADE — PHASE 9
   Kompakteres Layout, Scroll-Reveal, Section-Divider,
   Scroll-to-Top, Hero-Textur, stärkere Assets
   ============================================ */

/* ---- Base grid for references (overridden at 1024px to 3-col) ---- */
.references-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}
@media (min-width: 640px) {
    .references-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---- Scroll-Reveal: Basis ---- */
.reveal {    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
/* ---- Scroll-to-Top Button ---- */
#scroll-top {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    z-index: 900;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4F8DCC 0%, #3a7ab8 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(79,141,204,0.45);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.25s ease;
    pointer-events: none;
}
#scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
#scroll-top:hover {
    background: linear-gradient(135deg, #FF6A3D 0%, #ff8150 100%);
    box-shadow: 0 6px 20px rgba(255,106,61,0.45);
}
#scroll-top svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---- Section Divider (Schrägschnitt) ---- */
.section-divider {
    width: 100%;
    line-height: 0;
    overflow: hidden;
}
.section-divider svg {
    display: block;
    width: 100%;
    height: 48px;
}

/* ---- Hero: Textur-Overlay stärker ---- */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 70% 50%, rgba(79,141,204,0.18) 0%, transparent 70%),
        radial-gradient(ellipse at 20% 80%, rgba(255,106,61,0.08) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

/* ---- Hero Visual: größer & schattenstärker ---- */
.hero-3d-container {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0,0,0,0.5),
                0 0 0 1px rgba(255,255,255,0.07),
                0 0 60px rgba(79,141,204,0.2);
}

/* ---- Service Cards: mehr Bild-Impact ---- */
.service-icon-3d {
    aspect-ratio: 3 / 2;
    margin-bottom: 1.25rem;
}

/* ---- Referenz-Cards mit Bild-Background ---- */
.ref-img-card {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    min-height: 260px;
    display: flex;
    align-items: flex-end;
    background: #e0e0e0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s ease;
}
.ref-img-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(255,106,61,0.2);
}
.ref-img-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
    filter: brightness(0.82);
}
.ref-img-card:hover img {
    transform: scale(1.06);
}
.ref-img-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    background: linear-gradient(to top, rgba(20,21,26,0.88) 0%, rgba(20,21,26,0.3) 60%, transparent 100%);
    padding: 1.5rem 1.5rem 1.25rem;
    color: #fff;
}
.ref-img-overlay h3 {
    color: #fff;
    font-size: 1.125rem;
    margin-bottom: 0.3rem;
    font-weight: 700;
}
.ref-img-overlay p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
    margin: 0;
    line-height: 1.5;
}
.ref-img-overlay .usp-link {
    color: #FF6A3D;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: inline-block;
}

/* ---- USP Grid tighter ---- */
.usp-grid {
    gap: 1.5rem;
}
.usp-card {
    padding: 1.5rem;
}
.usp-icon-3d {
    margin-bottom: 1.25rem;
}

/* ---- Section-Anker Nav (floating pill) ---- */
.section-nav-pill {
    display: none;
    position: fixed;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    z-index: 800;
    flex-direction: column;
    gap: 0.5rem;
}
@media (min-width: 1200px) {
    .section-nav-pill {
        display: flex;
    }
}
.section-nav-pill a {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(79,141,204,0.35);
    border: 2px solid rgba(79,141,204,0.5);
    transition: background 0.25s ease, transform 0.25s ease;
    display: block;
}
.section-nav-pill a:hover,
.section-nav-pill a.active {
    background: #FF6A3D;
    border-color: #FF6A3D;
    transform: scale(1.4);
}

/* ---- Feedback Cards kompakter ---- */
.project-feedback-grid {
    gap: 1.5rem;
}
.feedback-card {
    padding: 1.5rem;
}

/* ---- Desktop: Services 3-spaltig bei 1024px (war 4, zu eng) ---- */
@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    .usp-grid {
        gap: 2rem;
    }
}
@media (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ---- Tablet: Services 2-spaltig ---- */
@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .usp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---- Glow-Separator zwischen Dark & Light Sektionen ---- */
.glow-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #4F8DCC 30%, #FF6A3D 70%, transparent 100%);
    opacity: 0.45;
    margin: 0;
    border: none;
}

/* ---- Hero Headline größer auf Desktop ---- */
@media (min-width: 1024px) {
    .hero-headline {
        font-size: 3.5rem;
    }
    .section-title {
        font-size: 2.75rem;
    }
}

/* ============================================
   PHASE 10 — COMPREHENSIVE UI/UX REPAIR
   Kontraste, Hub, FAB, Split-Teaser, Texturen
   ============================================ */

/* ---- Dashboard section: usp-cards auf weißem Hintergrund reparieren ---- */
.dashboard .usp-card {
    background: #F8F9FC;
    border: 1.5px solid rgba(79,141,204,0.15);
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.dashboard .usp-card:hover {
    box-shadow: 0 8px 28px rgba(255,106,61,0.12);
    border-color: rgba(255,106,61,0.3);
    background: #ffffff;
}
.dashboard .usp-card h3 { color: #14151A; }
.dashboard .usp-card p { color: #4a4a4a; }
.dashboard .usp-card .usp-link { color: #4F8DCC; }

/* ---- Testimonials dark: Feedback-Cards auf Dunkel ---- */
.testimonials .section-title { color: #ffffff; }
.testimonials .section-subtitle { color: rgba(255,255,255,0.7); }
.testimonials .section-eyebrow { color: #91c4f2; }
.testimonials .feedback-anon-note { color: rgba(255,255,255,0.45); }
/* Legacy feedback-card (if present elsewhere) */
.testimonials .feedback-card {
    background: rgba(255,255,255,0.05);
    border-color: rgba(79,141,204,0.2);
}
.testimonials .feedback-card:hover {
    background: rgba(255,255,255,0.08);
    box-shadow: 0 8px 28px rgba(79,141,204,0.15);
}
.testimonials .feedback-tag { color: #91c4f2; background: rgba(79,141,204,0.15); }
.testimonials .feedback-quote { color: rgba(255,255,255,0.85); }
.testimonials .feedback-quote::before { color: rgba(255,255,255,0.1); }
.testimonials .feedback-footer { border-top-color: rgba(255,255,255,0.1); }
.testimonials .feedback-who { color: #ffffff; }
.testimonials .feedback-note { color: rgba(255,255,255,0.42); }
.testimonials .page-note { color: rgba(255,255,255,0.42) !important; }
/* New stimme-* cards on dark background */
.testimonials .stimme-featured {
    background: rgba(255,255,255,0.06);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.testimonials .stimme-featured:hover {
    background: rgba(255,255,255,0.09);
}
.testimonials .stimme-compact {
    background: rgba(255,255,255,0.05);
    border-left-color: #4F8DCC;
    box-shadow: none;
}
.testimonials .stimme-compact:hover {
    background: rgba(255,255,255,0.08);
}
.testimonials .stimme-tag { color: #91c4f2; background: rgba(79,141,204,0.15); }
.testimonials .stimme-context { color: rgba(255,255,255,0.5); }
.testimonials .stimme-quote { color: rgba(255,255,255,0.88); }
.testimonials .stimme-quote::before { color: rgba(255,255,255,0.12); }
.testimonials .stimme-who { color: rgba(255,255,255,0.65); }
.testimonials .stimme-einschaetzung {
    background: rgba(79,141,204,0.12);
    border-left-color: rgba(79,141,204,0.5);
    color: rgba(255,255,255,0.72);
}
.testimonials .stimme-einschaetzung strong { color: #91c4f2; }
.testimonials .usp-link { color: #91c4f2; }

/* ---- Übersicht Hub ---- */
.uebersicht { background: #ffffff; padding: 3.5rem 0; }

.hub-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
}
@media (min-width: 560px) { .hub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hub-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }

.hub-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: #F8F9FC;
    border: 1px solid rgba(0,0,0,0.07);
    border-top: 3px solid #4F8DCC;
    border-radius: 1rem;
    padding: 1.5rem 1.25rem 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.hub-card:hover {
    background: #ffffff;
    border-top-color: #FF6A3D;
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(255,106,61,0.12);
}
.hub-card:nth-child(2) { border-top-color: #FF6A3D; }
.hub-card:nth-child(3) { border-top-color: #6aabde; }
.hub-card:nth-child(4) { border-top-color: #91c4f2; }
.hub-icon { font-size: 1.75rem; line-height: 1; display: block; }
.hub-card h3 { color: #14151A; font-size: 1rem; font-weight: 700; margin: 0; line-height: 1.35; letter-spacing: -0.01em; }
.hub-card p { color: #555; font-size: 0.875rem; line-height: 1.55; margin: 0; flex: 1; }
.hub-cta { color: #4F8DCC; font-size: 0.8125rem; font-weight: 700; margin-top: 0.25rem; display: block; transition: color 0.2s ease; }
.hub-card:hover .hub-cta { color: #FF6A3D; }

/* ---- Dashboard Teaser: Split-Section ---- */
.dashboard-teaser {
    background: #ffffff;
    padding: 3.5rem 0;
}
.split-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}
@media (min-width: 768px) { .split-section { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.split-content { display: flex; flex-direction: column; gap: 1.25rem; }
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: #4F8DCC;
    margin: 0;
}
.split-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #14151A;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin: 0;
}
@media (min-width: 1024px) { .split-content h2 { font-size: 2.125rem; } }
.split-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.split-list li { padding-left: 1.5rem; position: relative; color: #444; font-size: 0.9375rem; line-height: 1.6; }
.split-list li::before { content: '✓'; position: absolute; left: 0; color: #FF6A3D; font-weight: 700; }
.split-visual { border-radius: 1.25rem; overflow: hidden; box-shadow: 0 8px 40px rgba(0,0,0,0.12); }
.split-visual img { width: 100%; height: auto; display: block; object-fit: cover; aspect-ratio: 4/3; transition: transform 0.5s ease; }
.split-visual:hover img { transform: scale(1.03); }

/* ---- Floating Action Buttons (FAB) ---- */
#fab-buttons {
    position: fixed;
    bottom: 2rem;
    right: 1.5rem;
    z-index: 850;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    align-items: flex-end;
}
.fab-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 1.4rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.04em;
    white-space: nowrap;
    transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.25s ease, background 0.25s ease;
}
.fab-btn:hover { transform: translateY(-2px); }
.fab-primary {
    background: linear-gradient(135deg, #4F8DCC 0%, #3a7ab8 100%);
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(79,141,204,0.45);
}
.fab-primary:hover {
    background: linear-gradient(135deg, #FF6A3D 0%, #ff8150 100%);
    box-shadow: 0 8px 26px rgba(255,106,61,0.45);
    color: #ffffff;
}
.fab-secondary {
    background: rgba(255,255,255,0.95);
    color: #14151A;
    border: 1.5px solid rgba(79,141,204,0.25);
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    backdrop-filter: blur(8px);
}
.fab-secondary:hover {
    background: #ffffff;
    color: #4F8DCC;
    border-color: rgba(79,141,204,0.5);
    box-shadow: 0 6px 20px rgba(79,141,204,0.18);
}
@media (max-width: 480px) {
    #fab-buttons { bottom: 1.25rem; right: 0.875rem; }
    .fab-btn { font-size: 0.75rem; padding: 0.6rem 1.1rem; }
}

/* ---- Scroll-to-Top angehoben (wegen FAB) ---- */
#scroll-top { bottom: 5.5rem; }

/* ============================================
   CARD LAYOUT REPAIR
   Flex-Column auf allen Cards → CTA bleibt unten,
   kein leerer Weißraum unter dem Inhalt.
   ============================================ */

/* --- usp-card: flex-column, CTA ans Ende --- */
.usp-card {
    display: flex;
    flex-direction: column;
}
.usp-icon-3d {
    flex-shrink: 0;
    margin-bottom: 1rem;
}
.usp-card h3 {
    margin-bottom: 0.65rem;
}
.usp-card p {
    margin-bottom: 0;
}
/* CTA-Link am Ende: restlicher Leerraum geht VOR den Link */
.usp-card .usp-link {
    margin-top: auto;
    padding-top: 0.875rem;
    align-self: flex-start;
}

/* --- service-card: flex-column, CTA ans Ende --- */
.service-card {
    display: flex;
    flex-direction: column;
}
.service-icon-3d {
    flex-shrink: 0;
}
.service-card h3 {
    margin-bottom: 0.65rem;
}
/* Erste P-Zeile (Beschreibung) wächst, restlicher Raum bleibt dort */
.service-card p:first-of-type {
    flex: 1;
}
.service-card .usp-link {
    margin-top: auto;
    padding-top: 0.625rem;
    align-self: flex-start;
}

/* --- service-note: kein extra bottom-margin, schließt direkt an --- */
.service-note {
    margin-top: 0.5rem !important;
    margin-bottom: 0 !important;
}

/* --- team-card: flex-column, Beschreibung füllt Platz --- */
.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.team-desc {
    flex: 1;
    align-self: stretch;
}

/* --- hub-card: CTA bereits am Ende durch flex:1 auf p, nur sicherstellen --- */
.hub-cta {
    margin-top: 0;
    padding-top: 0.25rem;
}

/* --- Bild-Fallback: neutraler Hintergrund wenn Datei fehlt --- */
.usp-icon-3d {
    background: linear-gradient(135deg, rgba(79,141,204,0.12) 0%, rgba(79,141,204,0.04) 100%);
}
.service-icon-3d {
    background: linear-gradient(135deg, #eef3f8 0%, #e2eaf4 100%);
}

/* --- Mobile: Cards kompakter, kein übermäßiges Padding --- */
@media (max-width: 640px) {
    .usp-card,
    .service-card {
        padding: 1.25rem;
    }
    .usp-icon-3d,
    .service-icon-3d {
        margin-bottom: 0.875rem;
    }
    .team-card {
        padding: 1.25rem 1rem;
    }
}

/* ============================================
   FARB- & KONTRAST-REPARATUR
   Systematischer Review aller Sektionen
   ============================================ */

/* --- 1. Dark-Sektionen: Überschriften explizit weiß ---
   Die globale section-title ist jetzt #14151A.
   Alle dark-bg-Sektionen brauchen eine explizite Überschreibung. */
.usps .section-title,
.usps h2,
.testimonials .section-title,
.testimonials h2,
.usp-detail-dark .section-title,
.usp-detail-dark h2,
footer h3 {
    color: #ffffff;
}

/* --- 2. Subtitel auf dunklen Sektionen ---
   Globaler Wert #4a4a4a ist zu dunkel auf #14151A. */
.usps .section-subtitle,
.usp-detail-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.78);
}

/* --- 3. btn-secondary auf hellen Hintergründen ---
   Basis ist weiß/transparent → unsichtbar auf hellen Sections. */
.contact .btn-secondary,
.services .btn-secondary,
.about .btn-secondary,
.dashboard-teaser .btn-secondary,
.uebersicht .btn-secondary,
.references .btn-secondary,
.legal-section .btn-secondary,
.page-card .btn-secondary {
    color: #14151A;
    border-color: rgba(0, 0, 0, 0.22);
    background: rgba(0, 0, 0, 0.03);
}

.contact .btn-secondary:hover,
.services .btn-secondary:hover,
.about .btn-secondary:hover,
.dashboard-teaser .btn-secondary:hover,
.uebersicht .btn-secondary:hover,
.references .btn-secondary:hover {
    color: #4F8DCC;
    border-color: #4F8DCC;
    background: rgba(79, 141, 204, 0.06);
    box-shadow: 0 4px 14px rgba(79, 141, 204, 0.14);
}

/* --- 4. usp-link auf hellen Hintergründen ---
   Basis ist Orange → Blau ist besser als Hauptfarbe auf hell. */
.services .usp-link,
.dashboard-teaser .usp-link,
.uebersicht .usp-link,
.references .usp-link,
.about .usp-link,
.contact .usp-link {
    color: #4F8DCC;
}

.services .usp-link:hover,
.dashboard-teaser .usp-link:hover,
.uebersicht .usp-link:hover {
    color: #3a7ab8;
}

/* --- 5. Texte auf hellen Sektionen: Mittelgrau korrigieren ---
   #666 → #4a4a4a überall für bessere Lesbarkeit */
.team-desc {
    color: #4a4a4a;
}

.team-role {
    color: #4F8DCC;
}

.feedback-footer .feedback-note {
    color: #6b7280;
}

.page-card-list li {
    color: #4a4a4a;
}

.section-subtitle {
    color: #4a4a4a;
}

/* contact-info items */
.info-item p {
    color: #4a4a4a;
}

.info-item a {
    color: #4F8DCC;
}

.info-item a:hover {
    color: #3a7ab8;
}

/* --- 6. References section (Hellblau #E6F1FB) ---
   section-title ist jetzt dunkel → gut lesbar.
   Kein expliziter Fix nötig, aber overlay-Text in ref-img-card sicherstellen. */
.ref-img-overlay h3 {
    color: #ffffff;
}

.ref-img-overlay p {
    color: rgba(255, 255, 255, 0.88);
}

.ref-img-overlay .usp-link {
    color: #91c4f2;
}

.ref-img-overlay .usp-link:hover {
    color: #ffffff;
}

/* --- 7. About (Warum wir) — #F4F4F0 Hintergrund ---
   benefits-list Standardfarbe: geerbt (#1a1a1a) — OK.
   Nur hover-Zustand sicherstellen. */
.benefits-list li {
    color: #1a1a1a;
}

/* --- 8. Dashboard-Teaser: split-content Texte ---
   h2 ist #14151A ✅. split-list li #444 → leicht verbessern. */
.split-list li {
    color: #4a4a4a;
}

/* --- 9. Hub-Cards: Text sicherstellen ---
   hub-card ist auf #F8F9FC, p ist #555 → verbessern. */
.hub-card p {
    color: #4a4a4a;
}

/* --- 10. contact-extra Text ---
   #333 auf hellem Hintergrund — gut, aber neutraler Mittelgrau eleganter. */
.contact-extra p {
    color: #4a4a4a;
}

/* --- 11. Akkord-Farbe: Formular Labels auf hellem Hintergrund ---
   Keine explizite Farbe → erben #1a1a1a. Sicherstellen. */
.form-group label {
    color: #14151A;
}

/* --- 12. service-note Blau auf weiß: Kontrast prüfen ---
   #4F8DCC auf #ffffff = 4.54:1 → knapp AA. Dunkleres Blau verwenden. */
.service-note {
    color: #3a7ab8;
}

/* --- 13. Feedback-Card auf weißem Hintergrund (light testimonials fallback) ---
   .feedback-quote color: #333 → #2a2a2a für etwas mehr Gewicht. */
.feedback-quote {
    color: #2a2a2a;
}

/* Testimonials-dark bleibt unverändert durch bestehenden Override. */

/* --- 14. Footer: Lesbarkeit ---
   rgba(255,255,255,0.5) für Copyright ist sehr dezent — minimal aufhellen. */
.footer-copyright p {
    color: rgba(255, 255, 255, 0.6);
}

/* --- 15. Section-Title Akzent: Hub-Übersicht bleibt neutral-dunkel ---
   Die section-eyebrow (Projektdokumentation) bleibt Blau — absichtlich. */
.section-eyebrow {
    color: #4F8DCC;
}

/* ============================================
   DEZENTE HINTERGRUND-TEXTUREN
   Mechanische Zeichnung + Architekturblaupaue
   sehr leicht auf ausgewählten Sektionen.
   ============================================ */

/* Übersicht → Architektonischer Blueprint (Planungscharakter) */
.uebersicht {
    position: relative;
    overflow: hidden;
}
.uebersicht::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/Architektonisch.blau.H.scharf.webp') center / cover no-repeat;
    opacity: 0.045;
    pointer-events: none;
    z-index: 0;
}
.uebersicht .container { position: relative; z-index: 1; }

/* About / Warum wir → Technische Zeichnung (Präzision, Ausführung) */
.about {
    position: relative;
    overflow: hidden;
}
.about::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/TechnischZeichnenHintergrund.scharf.webp') center / cover no-repeat;
    opacity: 0.035;
    pointer-events: none;
    z-index: 0;
}
.about .container { position: relative; z-index: 1; }

/* USPs (dunkel) → Technische Zeichnung, screen blend */
.usps {
    position: relative;
    overflow: hidden;
}
.usps::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/TechnischZeichnenHintergrund.scharf.webp') center / cover no-repeat;
    opacity: 0.05;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
}
.usps .container { position: relative; z-index: 1; }

/* Testimonials (dunkel) → Technische Zeichnung, screen blend */
.testimonials {
    position: relative;
    overflow: hidden;
}
.testimonials::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/TechnischZeichnenHintergrund.scharf.webp') center / cover no-repeat;
    opacity: 0.035;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
}
.testimonials .container { position: relative; z-index: 1; }

/* Referenzen → Architektonischer Blueprint (Sanierungskontext) */
.references {
    position: relative;
    overflow: hidden;
}
.references::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/Architektonisch.blau.H.scharf.webp') center / cover no-repeat;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}
.references .container { position: relative; z-index: 1; }

/* Kontakt → Architektonischer Blueprint */
.contact {
    position: relative;
    overflow: hidden;
}
.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/Architektonisch.blau.H.scharf.webp') center / cover no-repeat;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}
.contact .container { position: relative; z-index: 1; }

/* Dashboard-Teaser → Technische Zeichnung (Interface/Präzision) */
.dashboard-teaser {
    position: relative;
    overflow: hidden;
}
.dashboard-teaser::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/TechnischZeichnenHintergrund.scharf.webp') center / cover no-repeat;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}
.dashboard-teaser .container { position: relative; z-index: 1; }

/* Footer (dunkel) → Technische Zeichnung, screen blend */
footer {
    position: relative;
    overflow: hidden;
}
footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/TechnischZeichnenHintergrund.scharf.webp') center / cover no-repeat;
    opacity: 0.04;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
}
footer .footer-content,
footer .footer-copyright { position: relative; z-index: 1; }

/* Team-Sektion: Hat eigene Hintergrundtextur (inline style) — ::before überspringen */
#team.about::before { display: none; }

/* Mobile: Texturen reduziert, weniger visuelles Rauschen */
@media (max-width: 640px) {
    .uebersicht::before,
    .about::before,
    .references::before,
    .contact::before,
    .dashboard-teaser::before { opacity: 0.025; }
    .usps::before,
    .testimonials::before,
    footer::before { opacity: 0.025; }
}

/* ============================================
   SEITENRHYTHMUS – KOMPAKTERE SEKTIONEN
   Individuelle Paddings wo nötig kleiner.
   ============================================ */

/* Kompaktere Sektionen mit weniger Eigengewicht */
.about { padding: 3.5rem 0; }
.usps { padding: 3.5rem 0; }
.references { padding: 3.5rem 0; }
.testimonials { padding: 3.5rem 0; }
.dashboard-teaser { padding: 3rem 0; }
.uebersicht { padding: 3rem 0; }

/* Hero bleibt großzügiger — gibt Einstieg Gewicht */
.hero { padding: 4rem 0; }
@media (min-width: 768px) { .hero { padding: 5.5rem 0; } }
@media (min-width: 1024px) { .hero { padding: 6rem 0; } }

/* CTA-Band: Schmales Übergangs-Element zwischen großen Blöcken */
.cta-band {
    background: linear-gradient(135deg, #4F8DCC 0%, #3a7ab8 100%);
    padding: 2.25rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/TechnischZeichnenHintergrund.scharf.webp') center / cover no-repeat;
    opacity: 0.06;
    mix-blend-mode: screen;
    pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band p {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    margin: 0 0 1.25rem;
    letter-spacing: 0.01em;
}
.cta-band h2, .cta-band h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

/* ============================================
   FAB – ERWEITERT: Cookie-Banner Awareness
   FAB bleibt unterhalb Cookie-Banner (z-index 1100+)
   ============================================ */
.cookie-banner { z-index: 1100; }

/* FAB mit verbessertem Schatten + Touch-Fläche */
#fab-buttons {
    filter: drop-shadow(0 4px 16px rgba(0,0,0,0.18));
}
.fab-btn {
    min-height: 44px;   /* WCAG touch target */
    min-width: 44px;
    gap: 0.375rem;
    box-sizing: border-box;
}
/* Subtiler Pulse auf Primary FAB beim ersten Sichtbarwerden */
@keyframes fab-pulse {
    0%, 100% { box-shadow: 0 4px 18px rgba(79,141,204,0.45); }
    50%       { box-shadow: 0 4px 26px rgba(79,141,204,0.65), 0 0 0 6px rgba(79,141,204,0.12); }
}
.fab-primary { animation: fab-pulse 3s ease-in-out 1.5s 3; }

/* ============================================
   SEITEN-SPEZIFISCHE HERO-VARIANTEN
   Visuelle Identität per body[data-page]
   Jede Seite hat eine eigene Bildseite, Farbtonalität und Layout-Gewichtung.
   ============================================ */

/* ── Sanierung: Wärmer, handwerklich, Bild LINKS ──────────────── */
body[data-page="sanierung"] .page-hero {
    background: linear-gradient(135deg, #1e1810 0%, #14151A 55%, #10191f 100%);
}
body[data-page="sanierung"] .page-hero::before {
    background-image: url('assets/Architektonisch.blau.H.scharf.webp');
    opacity: 0.06;
}
body[data-page="sanierung"] .hero-eyebrow { color: #f0b97a; }
body[data-page="sanierung"] .page-hero-image {
    border-radius: 1rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    object-position: center 30%;
}
/* Image auf der linken Seite (Desktop) */
@media (min-width: 1024px) {
    body[data-page="sanierung"] .page-hero .hero-visual { order: -1; flex: 0 0 460px; max-width: 460px; }
    body[data-page="sanierung"] .page-hero .hero-content { flex: 1; }
}

/* ── Hausmeister: B2B, Zahnräder, schmaleres Visual ───────────── */
body[data-page="hausverwaltungen"] .page-hero {
    background: linear-gradient(160deg, #0f1823 0%, #14151A 55%, #141b27 100%);
}
body[data-page="hausverwaltungen"] .page-hero::before {
    background-image: url('assets/Hintergrund.zahnräder.jpg');
    opacity: 0.08;
    background-size: cover;
}
body[data-page="hausverwaltungen"] .hero-eyebrow { color: #a8c8ef; }
/* Schmaleres Visual → mehr Textgewicht für B2B */
@media (min-width: 1024px) {
    body[data-page="hausverwaltungen"] .page-hero .hero-visual { flex: 0 0 360px; max-width: 360px; }
    body[data-page="hausverwaltungen"] .page-hero .hero-content { flex: 1 1 auto; max-width: 680px; }
}
/* Zahnräder auch auf USPs/Dokumentations-Sektion */
body[data-page="hausverwaltungen"] .usps { position: relative; overflow: hidden; }
body[data-page="hausverwaltungen"] .usps::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/Hintergrund.zahnräder.jpg') center / cover no-repeat;
    opacity: 0.04;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
}

/* ── Solar: Planung, technisch, warmes Eyebrow ────────────────── */
body[data-page="solar"] .page-hero {
    background: linear-gradient(145deg, #0d1a2e 0%, #14151A 55%, #1c1608 100%);
}
body[data-page="solar"] .page-hero::before {
    background-image: url('assets/TechnischZeichnenHintergrund.scharf.webp');
    opacity: 0.10;
}
body[data-page="solar"] .hero-eyebrow { color: #ffd580; }
@media (min-width: 1024px) {
    body[data-page="solar"] .page-hero .hero-visual { flex: 0 0 500px; max-width: 500px; }
}

/* ── Dashboard: Digital, Bild LINKS, blaue Akzentbox ─────────── */
body[data-page="projektraum"] .page-hero {
    background: linear-gradient(160deg, #0c1929 0%, #14151A 60%, #0e1621 100%);
}
body[data-page="projektraum"] .page-hero::before {
    background-image: url('assets/TechnischZeichnenHintergrund.scharf.webp');
    opacity: 0.05;
}
body[data-page="projektraum"] .hero-eyebrow { color: #91c4f2; }
body[data-page="projektraum"] .page-hero-image {
    border-radius: 1rem;
    box-shadow: 0 0 0 1px rgba(79,141,204,0.25), 0 12px 40px rgba(0,0,0,0.5);
}
/* Interface-Screenshot LINKS → Text rechts */
@media (min-width: 1024px) {
    body[data-page="projektraum"] .page-hero .hero-visual { order: -1; flex: 0 0 480px; max-width: 480px; }
    body[data-page="projektraum"] .page-hero .hero-content { flex: 1; }
}

/* ============================================
   ACCORDION – DETAILS / SUMMARY
   Native HTML, kein JavaScript
   ============================================ */
.accordion-section {
    background: #F8F9FC;
    padding: 3rem 0;
}
.accordion-group {
    max-width: 760px;
    margin: 1.75rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}
details.accordion-item {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.07);
    border-left: 3px solid #4F8DCC;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: box-shadow 0.25s ease;
}
details.accordion-item[open] {
    box-shadow: 0 4px 20px rgba(79,141,204,0.12);
    border-left-color: #FF6A3D;
}
details.accordion-item summary {
    padding: 1rem 1.375rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #14151A;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    list-style: none;
    user-select: none;
    line-height: 1.4;
}
details.accordion-item summary::-webkit-details-marker { display: none; }
details.accordion-item summary::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 400;
    color: #4F8DCC;
    flex-shrink: 0;
    transition: color 0.2s ease;
    line-height: 1;
}
details.accordion-item[open] summary::after {
    content: '−';
    color: #FF6A3D;
}
details.accordion-item > div {
    padding: 0 1.375rem 1.125rem;
    color: #4a4a4a;
    font-size: 0.9375rem;
    line-height: 1.7;
    border-top: 1px solid rgba(0,0,0,0.05);
}
details.accordion-item > div p { margin: 0.875rem 0 0; }
details.accordion-item > div p:first-child { margin-top: 0.875rem; }
details.accordion-item > div ul {
    margin: 0.625rem 0 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
details.accordion-item > div li { color: #4a4a4a; }
.accordion-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #FF6A3D;
    background: rgba(255,106,61,0.1);
    padding: 0.2rem 0.55rem;
    border-radius: 1rem;
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* ============================================
   DEAL-VISUAL im Kontaktbereich
   ============================================ */
.contact-deal-visual {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    margin-top: 1.5rem;
}
.contact-deal-visual img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/3;
}

/* ============================================
   PROZESSSEKTION – HAUSMEISTERSERVICE
   5-Schritte-Ablauf mit Verbindungslinie
   ============================================ */
.process-section {
    background: #F8F9FC;
}
.process-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-top: 2.5rem;
}
.process-step {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.07);
    border-left: 3px solid #4F8DCC;
    border-radius: 0.75rem;
    padding: 1.25rem 1.375rem;
    width: 100%;
    max-width: 680px;
    transition: box-shadow 0.2s ease;
}
.process-step:hover {
    box-shadow: 0 4px 18px rgba(79,141,204,0.1);
}
.process-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.875rem;
    height: 1.875rem;
    border-radius: 50%;
    background: #4F8DCC;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.625rem;
    flex-shrink: 0;
}
.process-step h3 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #14151A;
    margin: 0 0 0.25rem;
}
.process-step p {
    font-size: 0.875rem;
    color: #4a4a4a;
    margin: 0;
    line-height: 1.6;
}
.process-connector {
    width: 2px;
    height: 1.25rem;
    background: linear-gradient(to bottom, #4F8DCC, rgba(79,141,204,0.25));
    flex-shrink: 0;
}
/* Desktop: horizontal Abfolge */
@media (min-width: 768px) {
    .process-steps {
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
        gap: 0;
    }
    .process-step {
        flex: 1;
        max-width: 200px;
        min-width: 0;
    }
    .process-connector {
        width: 2rem;
        height: 2px;
        margin-top: 2.125rem; /* padding(1.25rem) + halbe Dot-Höhe(~0.875rem) */
        background: linear-gradient(to right, #4F8DCC, rgba(79,141,204,0.25));
    }
}
@media (min-width: 1024px) {
    .process-step {
        max-width: 220px;
    }
    .process-connector {
        width: 2.5rem;
    }
}

/* ============================================
   SIDEBAR NAVIGATION – PRIMARY NAV
   Slide-in von links, dezent, Touch-freundlich
   ============================================ */

#sidebar-nav {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 280px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbfd 100%);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    z-index: 1050;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

#sidebar-nav.sidebar-open {
    transform: translateX(0);
}

#sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0);
    z-index: 1040;
    transition: background 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

#sidebar-overlay.sidebar-overlay-visible {
    background: rgba(0,0,0,0.45);
    pointer-events: auto;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    border-bottom: 2px solid #e6f1fb;
    flex-shrink: 0;
}

.sidebar-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #14151A;
    margin: 0;
    letter-spacing: -0.01em;
}

.sidebar-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #4F8DCC;
    transition: color 0.2s ease;
}

.sidebar-close:hover {
    color: #FF6A3D;
}

.sidebar-close svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
}

.sidebar-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    flex: 1;
    overflow-y: auto;
}

.sidebar-link {
    display: block;
    padding: 0.875rem 1.375rem;
    color: #14151A;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    letter-spacing: 0.005em;
}

.sidebar-link:hover {
    background: #f0f6ff;
    color: #4F8DCC;
    border-left-color: #4F8DCC;
    padding-left: 1.5rem;
}

.sidebar-link-indent {
    padding-left: 2.375rem;
    font-size: 0.875rem;
    color: #4a4a4a;
}

.sidebar-link-indent:hover {
    padding-left: 2.5rem;
    color: #4F8DCC;
}

.sidebar-divider {
    height: 1px;
    background: #e6f1fb;
    margin: 0.5rem 0;
    border: none;
}

.sidebar-group-label {
    padding: 0.75rem 1.375rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #4F8DCC;
}

/* Sidebar Toggle Button in Header */
.sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    color: rgba(255,255,255,0.9);
    transition: color 0.2s ease;
    z-index: 1100;
}

.sidebar-toggle:hover {
    color: #FF6A3D;
}

.sidebar-toggle::before {
    content: '☰';
    font-size: 1.5rem;
    line-height: 1;
}

.sidebar-toggle[aria-expanded="true"]::before {
    content: '✕';
    font-size: 1.5rem;
}

/* Mobile responsive */
@media (max-width: 640px) {
    #sidebar-nav {
        width: 240px;
    }
    .sidebar-link {
        padding: 0.75rem 1.125rem;
    }
}

/* ============================================
   STICKY CTA BUTTON – PROJECT REQUEST
   Fixed button, sticky position pada kontakSection,
   Orange gradient, smooth animations
   ============================================ */

#sticky-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 900;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.625rem;
    background: linear-gradient(135deg, #FF6A3D 0%, #ff8150 100%);
    color: #ffffff;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9375rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 6px 25px rgba(255,106,61,0.45);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    white-space: nowrap;
}

#sticky-cta.sticky-cta-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#sticky-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 35px rgba(255,106,61,0.55);
}

#sticky-cta:active {
    transform: translateY(-1px);
}

.sticky-cta-icon {
    font-size: 1.125rem;
    line-height: 1;
}

.sticky-cta-label {
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    #sticky-cta {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.75rem 1.375rem;
        font-size: 0.8125rem;
    }
    .sticky-cta-label {
        display: none;
    }
    #sticky-cta::after {
        content: '→';
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    #sticky-cta {
        bottom: 1rem;
        right: 1rem;
        padding: 0.625rem 1.125rem;
    }
}

/* ============================================
   SECTION NAVIGATION DOTS – IMPROVED
   Bessere Scroll-Tracking mit IntersectionObserver
   ============================================ */

.section-nav-pill {
    display: none;
    position: fixed;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    z-index: 800;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

@media (min-width: 1400px) {
    .section-nav-pill {
        display: flex;
    }
}

.section-nav-pill a {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(79,141,204,0.3);
    border: 2px solid rgba(79,141,204,0.5);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.section-nav-pill a:hover {
    background: #4F8DCC;
    border-color: #4F8DCC;
    transform: scale(1.5);
}

.section-nav-pill a.active {
    background: #FF6A3D;
    border-color: #FF6A3D;
    width: 14px;
    height: 14px;
    transform: scale(1.4);
}

/* ============================================
   HEADER – SIDEBAR TRIGGER INTEGRATION
   Sidebar-Toggle neben Hamburger
   ============================================ */

header {
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #14151A;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.25rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Sidebar und Hamburger zusammen in ein Flex-Container */
.header-nav-buttons {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-left: auto;
}

/* Auf großen Displays: nur Sidebar-Toggle sichtbar (Hamburger versteckt) */
@media (min-width: 1024px) {
    .nav-toggle {
        display: none !important;
    }
    .sidebar-toggle {
        display: flex;
    }
}

/* Auf kleinen Displays: beide sichtbar wenn gewünscht, oder nur Hamburger */
@media (max-width: 1023px) {
    .sidebar-toggle {
        display: none;
    }
}

/* ============================================
   FOTO-SYSTEM: VORHER/NACHHER, GALERIE, ATMOSPHÄRE
   ============================================ */

/* Vorher/Nachher Vergleich */
.before-after-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    border-radius: 14px;
    overflow: hidden;
    margin: 32px 0 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.before-after-item {
    position: relative;
    overflow: hidden;
}
.before-after-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}
.before-after-item:hover img {
    transform: scale(1.03);
}
.ba-label {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 13px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #ffffff;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.ba-label--before { background: rgba(20,21,26,0.78); }
.ba-label--after  { background: rgba(79,141,204,0.88); }
.before-after-caption {
    text-align: center;
    color: #6b7280;
    font-size: 0.87rem;
    margin: 10px 0 40px;
    font-style: italic;
    letter-spacing: 0.01em;
}

/* Foto-Galerie Grid */
.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 14px;
    margin: 32px 0;
}
.photo-gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.photo-gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.16);
}

/* Atmosphäre-Foto (volle Breite) */
.photo-atmosphere {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 14px;
    margin: 32px 0;
    display: block;
    box-shadow: 0 6px 24px rgba(0,0,0,0.10);
}

/* Solar: Klein + Groß Vergleich */
.solar-scale-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 20px;
    margin: 32px 0;
    align-items: start;
}
.solar-scale-card {
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(79,141,204,0.10);
}
.solar-scale-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}
.solar-scale-card .solar-scale-body {
    padding: 20px 22px;
}
.solar-scale-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #14151A;
    margin: 0 0 6px;
}
.solar-scale-card p {
    font-size: 0.9rem;
    color: #4a4a4a;
    line-height: 1.6;
    margin: 0;
}

/* Hub Card Foto-Header */
.hub-card-photo {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    margin: -8px -8px 16px -8px;
    width: calc(100% + 16px);
    display: block;
}

/* Übergabe Highlight-Section */
.handover-photo-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    margin: 40px 0;
}
.handover-photo-section img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.10);
}

/* Matt-Weiß auf dunklem Hintergrund */
.hero .hero-headline,
.hero .hero-eyebrow,
.hero .hero-subtitle,
.hero .hero-microcopy,
.section-dark h1,
.section-dark h2,
.section-dark p {
    color: #F0EFE9;
}
.hero .hl-orange {
    color: #FF6A3D;
}

@media (max-width: 768px) {
    .before-after-pair { grid-template-columns: 1fr; }
    .before-after-item img { height: 240px; }
    .solar-scale-grid { grid-template-columns: 1fr; }
    .handover-photo-section { grid-template-columns: 1fr; }
}

