@font-face { font-family: 'Inter'; font-weight: 400; src: url('../fonts/Inter-Regular.woff2') format('woff2'); font-display: optional; }
@font-face { font-family: 'Inter'; font-weight: 600; src: url('../fonts/Inter-SemiBold.woff2') format('woff2'); font-display: optional; }
@font-face { font-family: 'Inter'; font-weight: 700; src: url('../fonts/Inter-Bold.woff2') format('woff2'); font-display: optional; }

:root {
    --bg-body: #050507;
    --bg-card: #1c1c1e;
    --bg-card-hover: #252529;
    --text-primary: #f5f5f7;
    --text-secondary: #86868b;
    --accent: #2997ff;
    --accent-glow: rgba(41, 151, 255, 0.3);
    --accent-secondary: #ff6b6b;
    --accent-tertiary: #6366f1;
    --nav-bg: rgba(5, 5, 7, 0.78);
    --border: rgba(255,255,255,0.1);
    --border-strong: rgba(255,255,255,0.18);
    --gradient-accent: linear-gradient(135deg, #2997ff 0%, #6366f1 50%, #ff6b6b 100%);
    --gradient-text: linear-gradient(180deg, #f5f5f7 30%, #86868b 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.18);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.25);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.35);
    --shadow-glow: 0 0 50px -10px var(--accent-glow);
    --ease-out: cubic-bezier(0.165, 0.84, 0.44, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 28px;
}

body.light-theme {
    --bg-body: #f5f5f7;
    --bg-card: #ffffff;
    --bg-card-hover: #fbfbfd;
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --accent: #0071e3;
    --accent-glow: rgba(0, 113, 227, 0.15);
    --accent-tertiary: #5b5fd9;
    --nav-bg: rgba(255, 255, 255, 0.78);
    --border: rgba(0,0,0,0.1);
    --border-strong: rgba(0,0,0,0.16);
    --gradient-text: linear-gradient(180deg, #1d1d1f 30%, #6e6e73 100%);
    --shadow-sm: 0 2px 10px rgba(15,15,30,0.06);
    --shadow-md: 0 12px 28px rgba(15,15,30,0.08);
    --shadow-lg: 0 24px 50px rgba(15,15,30,0.10);
    --shadow-glow: 0 0 50px -10px var(--accent-glow);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
    overscroll-behavior-x: none;
    overflow-x: clip;
}

body {
    background: var(--bg-body);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    line-height: 1.6;
    overflow-x: clip;
    position: relative;
    width: 100%;
    transition: background 0.5s ease, color 0.5s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-overflow-scrolling: touch;
}

/* LOADING SCREEN */
@keyframes spin { to { transform: rotate(360deg); } }

/* ANIMATED BACKGROUND */
.blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
    animation: float 20s ease-in-out infinite;
    will-change: transform;
}
.blob-1 { width: 400px; height: 400px; background: radial-gradient(circle, var(--accent) 0%, transparent 70%); top: 10%; left: 10%; }
.blob-2 { width: 300px; height: 300px; background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%); top: 60%; right: 10%; animation-delay: 5s; }
.blob-3 { width: 350px; height: 350px; background: radial-gradient(circle, #6366f1 0%, transparent 70%); bottom: 10%; left: 50%; animation-delay: 10s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* PARTICLES */

/* TYPOGRAPHY */
h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.05;
    margin-bottom: 25px;
    background: linear-gradient(180deg, var(--text-primary) 20%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
h2 { font-size: clamp(2.2rem, 3vw, 3.5rem); margin-bottom: 60px; text-align: center; }
h3 { font-size: 1.5rem; margin-bottom: 15px; }
p { font-size: 1.15rem; color: var(--text-secondary); margin-bottom: 1.5rem; }
a { color: var(--text-primary); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--accent); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 25px; position: relative; z-index: 2; }
.section-padding { padding: 140px 0; }

/* CARDS */
.card-style {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 35px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}
.card-style::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
    transform: scaleX(0);
    transition: transform 0.5s;
}
.card-style:hover::before { transform: scaleX(1); }
.card-style:hover { transform: translateY(-5px); box-shadow: 0 8px 16px rgba(0,0,0,0.08); }

.glass-card {
    background: rgba(28, 28, 30, 0.9);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
body.light-theme .glass-card { background: rgba(255, 255, 255, 0.95); }

/* ANIMATIONS */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 0;
    transition: 1s cubic-bezier(0.165, 0.84, 0.44, 1); transition-property: color, background-color, border-color, box-shadow, transform, opacity;
}
.reveal { transform: translateY(40px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-scale { transform: scale(0.8); }
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-left, .reveal-right, .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
.reveal.active, .reveal-left.active, .reveal-right.active, .reveal-scale.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

.hero-animate { opacity: 0; animation: fadeIn 0.8s ease-out forwards; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }
@keyframes fadeIn {
    to { opacity: 1; }
}

/* BUTTONS */
.btn {
    display: inline-block;
    background: var(--text-primary);
    color: var(--bg-body);
    padding: 14px 32px;
    border-radius: 99px;
    font-weight: 600;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    transition: 0.3s; transition-property: color, background-color, border-color, box-shadow, transform, opacity;
    position: relative;
    overflow: hidden;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
}
.btn:hover { transform: scale(1.05) translateY(-2px); box-shadow: 0 10px 30px var(--accent-glow); }
.btn:active { transform: scale(0.98); }
.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-primary);
}
.btn-outline:hover { border-color: var(--accent); background: var(--accent); color: white; }

/* Quiz Buttons */
/* Fix: Touch-Geräte Focus-Problem */
/* Touch-Geräte: Hover deaktivieren */
@media (pointer: coarse) {
    .portrait-frame:hover img {
        transform: scale(1.2) !important;
    }
    .portrait-card:hover {
        transform: none !important;
    }
    .portrait-card:hover .portrait-img {
        transform: none !important;
    }
}

/* ================================================
   CAREER SECTION - Premium Interim Profile
   ================================================ */

/* Competency Grid */
.competency-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.competency-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: 0.3s; transition-property: color, background-color, border-color, box-shadow, transform, opacity;
}

.competency-item:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.competency-icon {
    color: var(--accent);
    font-size: 0.7rem;
}

/* Mandate Cards */
.mandate-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mandate-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 28px 32px;
    transition: 0.3s; transition-property: color, background-color, border-color, box-shadow, transform, opacity;
    position: relative;
    overflow: hidden;
}

.mandate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-secondary) 100%);
}

.mandate-featured {
    border-color: rgba(41, 151, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.mandate-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--accent);
}

.mandate-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 10px;
}

.mandate-header h4 {
    font-size: 1.25rem;
    margin: 0 0 4px 0;
    color: var(--text-primary);
}

.mandate-role {
    font-size: 0.95rem;
    color: var(--accent);
    font-weight: 500;
}

.mandate-date {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--accent-glow);
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.mandate-tasks {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.mandate-tasks li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 16px;
}

.mandate-tasks li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.8rem;
}

/* Experience Clusters */
.experience-clusters {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.cluster-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    transition: 0.3s; transition-property: color, background-color, border-color, box-shadow, transform, opacity;
}

.cluster-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.cluster-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.cluster-header h4 {
    font-size: 1rem;
    margin: 0;
    color: var(--text-primary);
    font-weight: 600;
}

.cluster-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cluster-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cluster-item-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.cluster-company {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
}

.cluster-time {
    font-size: 0.7rem;
    color: var(--text-secondary);
    opacity: 0.6;
    font-weight: 400;
}

.cluster-detail {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Project Showcase */

/* ================================================
   TESTIMONIALS - Premium Layout
   ================================================ */

/* Featured Quote */

/* Voice Message Testimonial */

/* SIGNATURE TESTIMONIAL */

/* Responsive */

/* Responsive */
@media (max-width: 900px) {
    .experience-clusters {
        grid-template-columns: 1fr;
    }

    .mandate-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .mandate-tasks {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 600px) {
    .competency-grid {
        gap: 8px;
    }

    .competency-item {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    .mandate-card {
        padding: 20px;
    }

    .mandate-header h4 {
        font-size: 1.1rem;
    }

    .cluster-card {
        padding: 18px;
    }

    .cluster-header h4 {
        font-size: 0.95rem;
    }
}

/* NAVIGATION */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: 0.4s; transition-property: color, background-color, border-color, box-shadow, transform, opacity;
    padding: 30px 0;
}
nav.scrolled {
    background: var(--nav-bg);
    backdrop-filter: none;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.brand { display: flex; align-items: center; gap: 15px; transition: transform 0.3s; }
.brand:hover { transform: scale(1.02); }

.nav-logo-img { height: 50px; width: auto; border-radius: 6px; transition: 0.4s; transition-property: color, background-color, border-color, box-shadow, transform, opacity; }
nav.scrolled .nav-logo-img { height: 35px; }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding: 5px 0;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--text-primary); }

/* MOBILE MENU */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: transparent;
    border: none;
}
.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s; transition-property: color, background-color, border-color, box-shadow, transform, opacity;
    border-radius: 2px;
}
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translateY(7px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, var(--bg-body) 0%, rgba(5, 5, 7, 0.98) 100%);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;

    /* Zentrieren */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
body.light-theme .mobile-menu {
    background: linear-gradient(180deg, var(--bg-body) 0%, rgba(245, 245, 247, 0.98) 100%);
}
.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}
.mobile-menu a {
    display: block;
    padding: 18px 50px;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-align: center;
    color: var(--text-secondary);
    border-radius: 12px;
    opacity: 0;
    transform: scale(0.9);
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); transition-property: color, background-color, border-color, box-shadow, transform, opacity;
    position: relative;
}
.mobile-menu a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent);
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}
.mobile-menu a:hover,
.mobile-menu a:focus {
    color: var(--text-primary);
}
.mobile-menu a:hover::before,
.mobile-menu a:focus::before {
    opacity: 0.1;
}
.mobile-menu.active a {
    opacity: 1;
    transform: scale(1);
}
.mobile-menu.active a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.active a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.active a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.active a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.active a:nth-child(5) { transition-delay: 0.25s; }

.icon-btn {
    cursor: pointer;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: 0.3s; transition-property: color, background-color, border-color, box-shadow, transform, opacity;
    margin-left: 10px;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
}
.icon-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--border);
    transform: translateY(-2px);
}
.icon-btn:active {
    transform: scale(0.95);
}

/* ABOUT SECTION */
.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: start;
}

/* PORTRAIT STYLES */

.portrait-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-hover) 100%);
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--border);
    position: sticky;
    top: 120px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.portrait-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
    z-index: 10;
}
.portrait-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}
.portrait-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
}
.portrait-card:hover .portrait-img { transform: scale(1.05); }
@keyframes pulse-scale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* QUOTE */
.quote-feature {
    text-align: center;
    margin: 0 auto 80px;
    padding: 0 20px;
    max-width: 900px;
    position: relative;
}
/* dekoratives Quote-Mark entfernt – die Zitate enthalten bereits typografische „..." */
.quote-text {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 25px;
}
.quote-author {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

/* ABOUT SECTION - Visual separation */
.about-section {
    padding: 140px 0 120px;
    position: relative;
    background: linear-gradient(180deg,
        rgba(41, 151, 255, 0.02) 0%,
        transparent 30%,
        transparent 70%,
        rgba(41, 151, 255, 0.02) 100%
    );
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.5;
}

body.light-theme .about-section {
    background: linear-gradient(180deg,
        rgba(0, 113, 227, 0.03) 0%,
        transparent 30%,
        transparent 70%,
        rgba(0, 113, 227, 0.03) 100%
    );
}

/* SKILLS */
.skill-tag {
    background: var(--border);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-primary);
    border: 1px solid transparent;
    display: inline-block;
    margin: 3px;
    transition: 0.3s; transition-property: color, background-color, border-color, box-shadow, transform, opacity;
    cursor: pointer;
}
.skill-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
    transform: translateY(-3px);
}

.edu-item {
    border-left: 2px solid var(--accent);
    padding-left: 20px;
    margin-bottom: 30px;
    transition: 0.3s; transition-property: color, background-color, border-color, box-shadow, transform, opacity;
}
.edu-item:hover { border-left-width: 4px; padding-left: 24px; }
.edu-date {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}
.edu-title {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
}
.edu-desc { font-size: 0.95rem; color: var(--text-secondary); }

/* PORTRAIT IMAGE SWAP - Smooth scroll-triggered */
#about-img {
    transition: opacity 0.5s ease;
}
#about-img.swapping {
    opacity: 0;
}

/* FORMS */
input, textarea {
    width: 100%;
    padding: 18px;
    border-radius: 14px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    transition: 0.3s; transition-property: color, background-color, border-color, box-shadow, transform, opacity;
}
input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    transform: translateY(-2px);
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    overflow-y: auto;
}
body.light-theme .modal { background: rgba(255,255,255,0.6); }
.modal-content {
    max-width: 800px;
    margin: 60px auto;
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    position: relative;
    border: 1px solid var(--border);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    animation: slideUp 0.4s;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-status {
    margin-top: 15px;
    padding: 15px;
    border-radius: 12px;
    font-size: 0.9rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s;
    display: none;
}
.form-status.show { display: block; opacity: 1; }
.form-status.success { background: rgba(50, 215, 75, 0.1); color: #28cd41; border: 1px solid rgba(50, 215, 75, 0.2); }
.form-status.error { background: rgba(255, 69, 58, 0.1); color: #ff453a; border: 1px solid rgba(255, 69, 58, 0.2); }

/* FAQ SECTION */
details {
    transition: 0.3s ease; transition-property: color, background-color, border-color, box-shadow, transform, opacity;
}
details:hover {
    transform: translateY(-2px);
}
details[open] {
    padding-bottom: 10px;
}
details summary {
    transition: color 0.3s;
}
details summary:hover {
    color: var(--accent);
}
details summary::-webkit-details-marker {
    display: none;
}

/* SCROLL TO TOP */
#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: 0.3s; transition-property: color, background-color, border-color, box-shadow, transform, opacity;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
    will-change: transform, opacity;
}
#scrollTopBtn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px var(--accent-glow);
}
#scrollTopBtn:active {
    transform: scale(0.95);
}

/* SERVICES GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; }
    .portrait-card { position: relative; top: 0; margin-bottom: 40px; }
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
    .mobile-menu { display: flex; }
    .section-padding { padding: 80px 0; }
    .services-grid { grid-template-columns: 1fr; }
    .blob-1, .blob-2, .blob-3 { width: 250px; height: 250px; }
    /* Header: opak + kompakt, damit nichts mehr durchscheint und alles in eine Zeile passt */
    nav { background: var(--bg-body); padding: 12px 0; }
    nav.scrolled { padding: 10px 0; }
    .nav-content { gap: 10px; }
    .brand { gap: 10px; min-width: 0; flex: 1 1 auto; }
    .nav-logo-img, nav.scrolled .nav-logo-img { height: 36px; }
    .brand-text { font-size: 0.95rem; line-height: 1.15; }
    .brand-text br { display: none; }
    .brand-subtitle { display: none; }
    .nav-actions { gap: 6px; flex-shrink: 0; }
    .icon-btn { margin-left: 0; padding: 8px 10px; font-size: 0.85rem; }
    /* Phone-Pille auf Mobile: nur Icon (war erst ab 480px) */
    .nav-phone {
        width: 40px; height: 40px; min-height: 40px;
        padding: 0; justify-content: center; gap: 0;
    }
    .nav-phone-label { display: none; }
}

@media (max-width: 600px) {
    .container { padding: 0 20px; }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.3rem; }
    p { font-size: 1.05rem; line-height: 1.7; }
    .section-padding { padding: 60px 0; }
    .card-style { padding: 25px; }
    .btn, .btn-outline {
        padding: 16px 28px;
        font-size: 1rem;
        min-height: 44px;
        min-width: 120px;
    }
    .icon-btn {
        min-width: 44px;
        min-height: 44px;
        padding: 12px;
        font-size: 1.1rem;
    }
    .mobile-menu-btn {
        min-width: 44px;
        min-height: 44px;
        padding: 12px;
    }
    #scrollTopBtn {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
    /* Quiz-Buttons mobile */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        font-size: 16px !important;
        min-height: 44px;
        padding: 14px;
    }
    details summary {
        padding: 20px;
        font-size: 1.05rem;
        min-height: 56px;
        cursor: pointer;
    }
    .mobile-menu a {
        padding: 20px 0;
        font-size: 1.5rem;
        min-height: 56px;
        font-weight: 600;
    }
    header.section-padding {
        padding-top: 140px !important;
        min-height: 100vh !important;
    }
    #quiz {
        padding: 60px 20px;
    }
    #quiz h3 {
        font-size: 1.4rem !important;
    }
    #quiz p {
        font-size: 1.05rem !important;
    }
    section[style*="padding: 80px 0"] {
        padding: 60px 0 !important;
    }
    .card-style.glass-card {
        padding: 25px !important;
    }
    /* Quote Feature - smaller on mobile */
    .quote-feature {
        margin-bottom: 50px;
    }
    div[style*="padding: 10px"][style*="background: var(--accent)"] {
        padding: 14px !important;
        font-size: 1rem !important;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    div[style*="width: 50px; height: 50px"][style*="border-radius: 50%"] {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.3rem !important;
    }
    .blob {
        animation-duration: 40s !important;
        opacity: 0.08 !important;
    }
}

@media (max-width: 768px) and (min-width: 601px) {
    div[style*="grid-template-columns: repeat(auto-fit, minmax(250px, 1fr))"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}


/* ACCESSIBILITY */

*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

a:focus-visible, button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.skip-to-main {
    position: absolute;
    left: -9999px;
    z-index: 999;
    padding: 1em;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 4px;
}
.skip-to-main:focus {
    left: 50%;
    transform: translateX(-50%);
    top: 1em;
}

/* ================================================
   HERO SECTION - Elegant Professional Layout
   ================================================ */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero-tagline {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    margin-bottom: 25px;
}

.hero-content h1 {
    text-align: left;
    margin-bottom: 25px;
}

.hero-description {
    font-size: 1.2rem;
    max-width: 540px;
    margin-bottom: 25px;
}

.hero-quote {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    display: inline-block;
    border-left: 3px solid var(--accent);
    padding-left: 20px;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* Hero Portrait */
.hero-portrait-wrapper {
    display: flex;
    justify-content: flex-end;
}

.portrait-frame {
    position: relative;
    padding: 3px;
    background: linear-gradient(135deg, var(--accent) 0%, rgba(99, 102, 241, 0.5) 50%, var(--accent-secondary) 100%);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.4),
        0 0 40px -10px var(--accent-glow);
    transition: box-shadow 0.5s ease;
}

.portrait-frame:hover {
    box-shadow:
        0 30px 60px -12px rgba(0, 0, 0, 0.5),
        0 0 60px -5px var(--accent-glow);
}

.portrait-frame-inner {
    overflow: hidden;
    background: var(--bg-body);
}

.portrait-frame img {
    display: block;
    width: 420px;
    height: 520px;
    object-fit: cover;
    object-position: center 20%;
    transform: scale(1.2);
    filter: grayscale(10%);
    transition: filter 0.6s ease, transform 0.6s ease;
}

.portrait-frame:hover img {
    filter: grayscale(0%);
    transform: scale(1.23);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-layout {
        gap: 40px;
    }

    .portrait-frame img {
        width: 360px;
        height: 450px;
    }
}

@media (max-width: 900px) {
    .hero-section {
        padding: 140px 0 60px;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        order: 2;
    }

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

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-quote {
        border-left: none;
        padding-left: 0;
        border-bottom: 2px solid var(--accent);
        padding-bottom: 10px;
    }

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

    .hero-trust-pills {
        justify-content: center;
    }

    .hero-phone-link {
        justify-content: center;
    }

    .hero-portrait-wrapper {
        order: 1;
        justify-content: center;
        margin-bottom: 20px;
    }

    .portrait-frame img {
        width: 300px;
        height: 380px;
    }
}

@media (max-width: 600px) {
    .hero-section {
        min-height: auto;
        padding: 120px 0 50px;
    }

    .portrait-frame img {
        width: 260px;
        height: 330px;
    }

    .portrait-frame {
        padding: 2px;
    }

    .hero-tagline {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .hero-description {
        font-size: 1.05rem;
    }

    .hero-quote {
        font-size: 1.1rem;
    }
}

/* ================================================
   REFACTORED COMPONENT CLASSES
   (replaces inline styles throughout index.html)
   ================================================ */

/* Section padding variants */
.section-padding-md { padding: 100px 0; }
.section-padding-sm { padding: 80px 0; }
@media (max-width: 900px) {
    .section-padding-md { padding: 64px 0; }
    .section-padding-sm { padding: 48px 0; }
}
@media (max-width: 600px) {
    .section-padding-md { padding: 48px 0; }
    .section-padding-sm { padding: 40px 0; }
}

/* Nav */
.brand-text {
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.2;
}
.brand-subtitle {
    font-weight: 300;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.nav-actions {
    display: flex;
    align-items: center;
}

/* Section intros (subtitle under h2) */
.section-intro {
    text-align: center;
    max-width: 700px;
    margin: -30px auto 60px;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* Booking section */
.booking-header {
    text-align: center;
    margin-bottom: 40px;
}
.booking-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 15px;
}
.booking-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}
.booking-note {
    text-align: center;
    margin-top: 15px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Quiz */

/* About */
.about-heading-wrap {
    text-align: center;
    margin-bottom: 70px;
}
.about-text-stack {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.edu-skills-heading {
    font-size: 1rem;
    margin-bottom: 10px;
    margin-top: 30px;
}
.cert-list-title {
    font-size: 1rem;
    margin-top: 30px;
    margin-bottom: 15px;
}
.tool-tags-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}
.tool-tag {
    padding: 8px 16px;
    background: rgba(255,255,255,0.03);
    border-radius: 20px;
    border: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-primary);
}
.lang-level { font-size: 0.85rem; color: var(--accent); font-weight: 600; }

/* Services */
.service-list {
    list-style: none;
    padding: 0;
    line-height: 1.8;
    border-top: 1px solid var(--border);
    padding-top: 20px;
    margin: 0;
}
.service-list li { padding: 5px 0; }

/* Career */
.career-subsection {
    max-width: 900px;
    margin: 0 auto 80px;
}
.career-subsection--last { margin-bottom: 70px; }
.career-section-title {
    font-size: 1.3rem;
    margin-bottom: 30px;
}
.career-section-title--live {
    font-size: 1.3rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.live-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-scale 2s ease-in-out infinite;
    flex-shrink: 0;
}
.career-schwerpunkte {
    max-width: 900px;
    margin: 0 auto 70px;
}
.competency-label {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}
.career-cv-download {
    text-align: center;
    margin-top: 50px;
}

/* FAQ */
.faq-section {
    background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.01) 50%, transparent 100%);
}
.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

/* CTA Section */

/* Contact */
.contact-section {
    position: relative;
}
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-privacy {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    text-align: left;
}
.contact-privacy input[type="checkbox"] {
    margin-top: 4px;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.contact-link { color: var(--accent); }
.contact-social {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-sm {
    padding: 10px 25px;
    font-size: 0.9rem;
}

/* Modals */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Footer */
.footer-logo-wrap { margin-bottom: 25px; }
.footer-logo { height: 60px; width: auto; border-radius: 8px; }
.footer-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Languages grid */

/* Footer base styles */
footer {
    padding: 60px 0 40px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* FAQ: details/summary full styling */
details.card-style {
    margin-bottom: 20px;
    cursor: pointer;
}
details summary {
    font-weight: 600;
    font-size: 1.1rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}
details > p {
    margin-top: 15px;
    color: var(--text-secondary);
    padding-top: 15px;
    border-top: 1px solid var(--border);
}
.faq-icon {
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s;
    flex-shrink: 0;
}

/* edu-card h3 spacing */
#edu-card h3 {
    margin-bottom: 25px;
}

/* Contact section specific padding */
.contact-section {
    padding: 120px 0 140px;
}

/* About cards: consistent h3 spacing */
.about-text-stack .card-style h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 600px) {
    .contact-social .btn-sm {
        padding: 16px 24px;
        font-size: 1rem;
    }
    details summary {
        padding: 20px;
        font-size: 1.05rem;
        min-height: 56px;
    }
}

/* ================================================
   PREMIUM REFINEMENT LAYER (2026-05) – ruhig
   Nur Substanz, keine Show. Animationen entfernt.
   ================================================ */

/* --- Selection --- */
::selection {
    background: var(--accent);
    color: #fff;
}

/* --- Navigation: glass blur (statisch, kein animierter Active-Underline) --- */
nav.scrolled {
    background: var(--nav-bg);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    nav.scrolled {
        background: var(--bg-body);
    }
}
.nav-links a.active {
    color: var(--text-primary);
}

/* --- Hero: minimal padding-bottom, kein Grid-Hintergrund, keine Scroll-Cue --- */
.hero-section {
    position: relative;
    overflow: hidden;
}
.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.hero-tagline::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--accent);
}

/* --- Hero Portrait: schlichter Rahmen, kein rotierender Gradient --- */
.portrait-frame {
    border-radius: 6px;
    background: transparent !important;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.portrait-frame::before { display: none; }
.portrait-frame-inner {
    border-radius: 4px;
    overflow: hidden;
    background: var(--bg-body);
    border: 1px solid var(--border);
}
.portrait-frame:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* --- Cards: ruhiger Hover, kein top-stripe-Akzent --- */
.card-style {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card-style:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-strong);
}
.card-style::before { display: none; }

/* Glass nur dezent */
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .glass-card {
        background: rgba(28, 28, 30, 0.55);
        -webkit-backdrop-filter: saturate(140%) blur(14px);
        backdrop-filter: saturate(140%) blur(14px);
        border: 1px solid var(--border-strong);
    }
    body.light-theme .glass-card {
        background: rgba(255, 255, 255, 0.7);
    }
}

/* --- Primary Button: solider Akzent, kein Gradient/Shine --- */
.btn {
    background: var(--accent);
    color: #fff;
    box-shadow: none;
    transition: background 0.2s ease, transform 0.2s ease;
}
.btn::after { display: none; }
.btn:hover {
    background: var(--accent-hover, #1f7fdc);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    box-shadow: none;
    border: 1px solid var(--border-strong);
}
.btn-outline::after { display: none; }
.btn-outline:hover {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-1px);
}

body.light-theme .btn:not(.btn-outline) { color: #fff; }
body.light-theme .btn-outline { color: var(--text-primary); }

/* --- Inputs: dezenter Focus-Ring --- */
input, textarea {
    transition: border-color 0.2s, box-shadow 0.2s;
}
input:hover, textarea:hover {
    border-color: var(--border-strong);
}
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px var(--accent-glow);
}

/* --- Form submit: minimaler Spinner --- */
.btn[disabled] {
    opacity: 0.6;
    cursor: progress;
}
.btn.loading {
    color: transparent !important;
    position: relative;
    pointer-events: none;
}
.btn.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border: 2px solid rgba(255,255,255,0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

/* --- Quiz / Bedarfscheck: ruhige Step-Transition --- */

/* --- Booking-Section: wir nutzen Cal.com-Embed, alte Slot-Styles werden nicht mehr verwendet --- */

/* --- About: portrait-card ruhig --- */
.portrait-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.portrait-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* --- Skill / Tool Tags: dezenter Hover --- */
.tool-tag {
    transition: border-color 0.2s, color 0.2s;
}
.tool-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* --- Mobile Menu: leichter Blur --- */
.mobile-menu {
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

/* --- Modal --- */
.modal {
    background: rgba(0,0,0,0.55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
body.light-theme .modal { background: rgba(15,15,30,0.3); }
.modal-content {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}
.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}
.modal-close:hover {
    background: var(--border);
    color: var(--accent);
}

/* --- FAQ: ruhig, kein Akzent-Color-Switch beim Open --- */
details[open] .faq-icon {
    transform: rotate(45deg);
}

/* --- Footer --- */
.footer-links a {
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: 4px;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--accent);
}

/* --- Scroll-to-top: solider Akzent --- */
#scrollTopBtn {
    background: var(--accent);
    box-shadow: var(--shadow-md);
}

/* --- Live-Dot: statischer Punkt, keine Pulse-Aura --- */
.live-dot {
    box-shadow: none;
    animation: none;
}

/* --- Mandate / Cluster: ruhig, ohne Radial-Hover-Aura --- */
.mandate-featured::after { display: none; }
.cluster-item {
    padding: 8px 0;
    border-bottom: 1px dashed var(--border);
}
.cluster-item:last-child { border-bottom: none; }

/* --- A11y: dezenter Focus --- */
*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}
.btn:focus-visible {
    box-shadow: 0 0 0 3px var(--accent-glow);
    outline: none;
}

/* --- Contact: Email-Row + Copy-Button (dezent) --- */
.contact-email-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 6px 0 14px;
}
.copy-email-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-strong);
    font-family: inherit;
    font-size: 0.82rem;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.copy-email-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
}
.copy-email-btn.copied {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-glow);
}
.copy-email-icon { font-size: 0.95rem; line-height: 1; }

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* --- Print --- */
@media print {
    nav, .mobile-menu, #scrollTopBtn, #booking, #cta { display: none !important; }
    body { background: #fff !important; color: #000 !important; }
    .container { max-width: 100% !important; }
    a { color: #000 !important; text-decoration: underline; }
    .card-style, .glass-card { box-shadow: none !important; border: 1px solid #ccc !important; background: #fff !important; }
}

/* ================================================
   ABOUT – Steckbrief, Pull-Quote, Story-Marginal, Cert-Badges
   ================================================ */

/* --- Schnell-Steckbrief (Section-Opener) --- */
.about-fact-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 0 auto 36px;
    max-width: 940px;
    padding: 22px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
}
.about-fact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 18px;
    border-left: 1px solid var(--border);
}
.about-fact:nth-child(3n+1) { border-left: none; padding-left: 0; }
.about-fact:nth-last-child(-n+3) { /* letzte Zeile keinen unteren Abstand */ }
.about-fact dt {
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0;
}
.about-fact dd {
    margin: 0;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    font-feature-settings: "tnum" 1;
}
.about-fact-sub {
    display: block;
    font-weight: 400;
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-top: 2px;
}
@media (max-width: 760px) {
    .about-fact-card { grid-template-columns: repeat(2, 1fr); padding: 16px 18px; }
    .about-fact:nth-child(3n+1) { border-left: 1px solid var(--border); padding-left: 18px; }
    .about-fact:nth-child(2n+1) { border-left: none; padding-left: 0; }
}
@media (max-width: 480px) {
    .about-fact-card { grid-template-columns: 1fr; }
    .about-fact,
    .about-fact:nth-child(3n+1),
    .about-fact:nth-child(2n+1) {
        border-left: none !important;
        padding: 8px 0 !important;
        border-bottom: 1px solid var(--border);
    }
    .about-fact:last-child { border-bottom: none; }
}

/* --- Pull-Quote (Roxanne, ersetzt Marc Benioff) --- */
.about-section .quote-feature {
    max-width: 780px;
    margin: 0 auto 64px;
    padding: 18px 28px 18px 36px;
    text-align: left;
    position: relative;
    border-left: 3px solid var(--accent);
}
.about-section .quote-feature .quote-text {
    font-size: clamp(1.2rem, 2.4vw, 1.5rem);
    line-height: 1.6;
    color: var(--text-primary);
    font-style: italic;
    font-weight: 400;
    margin: 0 0 18px;
    border: none;
    padding: 0;
    quotes: none;
}
.about-section .quote-feature .quote-author {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    font-style: normal;
    letter-spacing: 0.02em;
}

/* --- Name-Story (magazinartige Marginalie) --- */
.about-story {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 24px 26px;
    position: relative;
}
/* dekoratives Quote-Mark entfernt – Story-Headline trägt bereits „..." inline */
.about-story-label {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    font-weight: 600;
}
.about-story h3 {
    font-size: 1.1rem;
    line-height: 1.4;
    color: var(--text-primary);
    margin: 0 0 14px;
    font-style: italic;
}
.about-story p {
    color: var(--text-secondary);
    line-height: 1.65;
    font-size: 0.95rem;
    margin: 0 0 12px;
    font-style: italic;
}
.about-story p:last-child { margin-bottom: 0; }

/* --- Cert-Badge-Grid --- */
.cert-grid {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.cert-badge {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--bg-body);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color 0.2s ease, background 0.2s ease;
}
.cert-badge:hover { border-color: var(--border-strong); }
.cert-badge--active {
    border-color: var(--accent);
    background: var(--accent-glow);
}
.cert-badge-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--accent);
    border: 1px solid var(--border);
    flex-shrink: 0;
}
.cert-badge--active .cert-badge-icon {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.cert-badge-name {
    color: var(--text-primary);
    font-size: 0.86rem;
    font-weight: 500;
    line-height: 1.35;
    min-width: 0;
    overflow-wrap: anywhere;
    hyphens: auto;
}
.cert-badge-date {
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-feature-settings: "tnum" 1;
    white-space: nowrap;
}
.cert-badge-date--active {
    color: var(--accent);
    font-weight: 600;
}
@media (max-width: 600px) {
    .cert-grid { grid-template-columns: 1fr; }
}

/* ================================================
   BEDARFSCHECK (Needs Check)
   3-Frage Diagnose mit personalisierter Empfehlung
   ================================================ */
.needs-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 32px;
}
.needs-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}
.needs-header h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    margin-bottom: 12px;
}
.needs-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.needs-check {
    max-width: 720px;
    margin: 0 auto;
    padding: 36px 32px 32px;
    border-radius: var(--radius-xl);
    position: relative;
}

.needs-progress {
    height: 3px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 28px;
}
.needs-progress-bar {
    height: 100%;
    width: 33%;
    background: var(--accent);
    transition: width 0.35s ease;
}

.needs-step {
    display: none;
}
.needs-step--active {
    display: block;
}

.needs-step-counter {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.needs-question {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    line-height: 1.35;
    margin-bottom: 22px;
    color: var(--text-primary);
}

.needs-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.needs-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
    padding: 16px 18px;
    background: transparent;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.needs-option:hover {
    border-color: var(--accent);
    background: var(--accent-glow);
    transform: translateY(-1px);
}
.needs-option-title {
    font-weight: 600;
    font-size: 0.98rem;
}
.needs-option-sub {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.needs-back {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 6px 0;
    margin-top: 8px;
    transition: color 0.2s;
}
.needs-back:hover { color: var(--accent); }

.needs-result {
    display: none;
    text-align: center;
    padding: 8px 0;
}
.needs-result--active { display: block; animation: needs-fade 0.35s ease; }

@keyframes needs-fade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.needs-result-label {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}
.needs-result-title {
    font-size: clamp(1.4rem, 2.8vw, 1.7rem);
    margin-bottom: 14px;
    color: var(--text-primary);
}
.needs-result-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 560px;
    margin: 0 auto 24px;
}
.needs-result-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
}
.needs-result-cta {
    min-width: 200px;
    text-decoration: none;
}
.needs-result-reset {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 0.88rem;
    cursor: pointer;
    padding: 6px 12px;
    transition: color 0.2s;
}
.needs-result-reset:hover { color: var(--accent); }

@media (max-width: 600px) {
    .needs-check { padding: 28px 20px; }
    .needs-option { padding: 14px 16px; }
}

/* ================================================
   BOOKING – Teaser-Card + Cal.com-Embed (Click-to-Open)
   ================================================ */
.booking-teaser {
    max-width: 720px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-xl);
    padding: 36px 36px 32px;
    text-align: center;
}
.booking-teaser-title {
    font-size: clamp(1.4rem, 2.6vw, 1.7rem);
    color: var(--text-primary);
    margin: 0 0 12px;
}
.booking-teaser-text {
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 540px;
    margin: 0 auto 20px;
    font-size: 0.96rem;
}
.booking-teaser-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 26px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 480px;
    text-align: left;
}
.booking-teaser-list li {
    position: relative;
    padding-left: 24px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.5;
}
.booking-teaser-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: 700;
}
.booking-teaser-btn {
    min-width: 240px;
    margin-bottom: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.booking-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.82rem;
    margin: 0;
    line-height: 1.5;
}

/* Wider container for sections that need more breathing room (Cal embed). */
.container--wide { max-width: 1320px; }

.cal-embed {
    width: 100%;
    margin: 0 auto;
    position: relative;
    min-height: 420px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    transition: background 0.3s ease, border-color 0.3s ease;
}
.cal-embed.is-loading::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(110deg, transparent 30%, var(--accent-glow) 50%, transparent 70%);
    background-size: 200% 100%;
    animation: cal-skeleton 1.4s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}
.cal-embed.is-loading::after {
    content: 'Lade Kalender …';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    pointer-events: none;
    z-index: 1;
}
/* Sobald Cal geladen: Container wird zu reinem Passthrough, kein Rahmen mehr */
.cal-embed.is-loaded {
    min-height: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
}
.cal-embed.is-loaded::before,
.cal-embed.is-loaded::after { display: none; }
.cal-embed iframe {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    position: relative;
    z-index: 2;
    /* height wird von Cal.com via postMessage gesetzt – nicht überschreiben */
}
@keyframes cal-skeleton {
    from { background-position: 200% 0; }
    to   { background-position: -200% 0; }
}
.cal-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
    padding: 48px 28px;
}
.cal-fallback p {
    margin: 0;
    max-width: 460px;
    color: var(--text-secondary);
}
@media (max-width: 600px) {
    .booking-teaser { padding: 28px 22px 24px; }
    .booking-teaser-btn { width: 100%; min-width: 0; }
    .cal-embed { min-height: 560px; }
}

/* ================================================
   SECTION HEADERS (gemeinsam) – ruhig, zentriert
   ================================================ */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}
.section-header h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    margin-bottom: 12px;
}
.section-header .section-intro {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}

/* ================================================
   TESTIMONIALS – Anker (Roxanne) + Spotlight + Mini-Stimmen
   ================================================ */
.testimonials-spotlight-row {
    display: grid;
    grid-template-columns: minmax(220px, 280px) 1fr;
    gap: 28px;
    align-items: stretch;
    max-width: 1080px;
    margin: 0 auto 32px;
}
.testimonial-anchor-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
    margin-top: 8px;
    line-height: 1.2;
}
.testimonial-anchor-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    padding: 6px 10px;
    border: 1px solid var(--accent);
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
    margin-top: auto;
}
.testimonial-anchor-link:hover,
.testimonial-anchor-link:focus-visible {
    background: var(--accent);
    color: #fff;
}

.testimonial-spotlight {
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-xl);
    padding: 36px 36px 32px;
    position: relative;
}
.testimonial-spotlight-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: 18px;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--border);
}
.testimonial-spotlight-avatar {
    grid-column: 1;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    /* Gradient-Ring + innerer Hintergrund */
    background:
        linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
        conic-gradient(from 220deg, var(--accent), var(--accent-secondary, #ff6b6b), var(--accent)) border-box;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}
.testimonial-spotlight-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
.testimonial-spotlight-meta {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.testimonial-spotlight-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.05rem;
    line-height: 1.3;
}
.testimonial-spotlight-role {
    color: var(--text-secondary);
    font-size: 0.92rem;
}
.testimonial-spotlight-context {
    color: var(--text-secondary);
    font-size: 0.78rem;
    margin-top: 2px;
    opacity: 0.85;
}
.testimonial-spotlight-tag {
    grid-column: 3;
    align-self: start;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px 10px;
    background: var(--bg-body);
    white-space: nowrap;
}
.testimonial-spotlight-quote {
    margin: 0;
    padding: 0;
    border: none;
    position: relative;
}
.testimonial-spotlight-quote p::before {
    content: '\201E'; /* deutsches „ inline vor dem Text */
    display: inline-block;
    font-family: Georgia, serif;
    font-size: 1.6rem;
    line-height: 0;
    color: var(--accent);
    opacity: 0.5;
    margin-right: 5px;
    vertical-align: -0.18em;
}
.testimonial-spotlight-quote p::after {
    content: '\201C'; /* deutsches " inline nach dem Text */
    display: inline-block;
    font-family: Georgia, serif;
    font-size: 1.6rem;
    line-height: 0;
    color: var(--accent);
    opacity: 0.5;
    margin-left: 3px;
    vertical-align: -0.18em;
}
.testimonial-spotlight-quote p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin: 0;
    font-weight: 400;
}

.testimonials-secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    max-width: 760px;
    margin: 0 auto;
}
.testimonial-mini {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: border-color 0.2s ease;
}
.testimonial-mini:hover { border-color: var(--border-strong); }
.testimonial-mini-quote {
    font-size: 0.94rem;
    line-height: 1.65;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}
.testimonial-mini-quote::before {
    content: '\201E'; /* deutsches „ inline vor dem Text */
    display: inline-block;
    font-family: Georgia, serif;
    font-size: 1.4rem;
    line-height: 0;
    color: var(--accent);
    opacity: 0.5;
    margin-right: 4px;
    vertical-align: -0.18em;
}
.testimonial-mini-quote::after {
    content: '\201C'; /* deutsches " inline nach dem Text */
    display: inline-block;
    font-family: Georgia, serif;
    font-size: 1.4rem;
    line-height: 0;
    color: var(--accent);
    opacity: 0.5;
    margin-left: 3px;
    vertical-align: -0.18em;
}
.testimonial-mini-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}
.testimonial-mini-avatar {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    background:
        linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
        conic-gradient(from 220deg, var(--accent), var(--accent-secondary, #ff6b6b), var(--accent)) border-box;
    border: 2px solid transparent;
}
.testimonial-mini-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
.testimonial-mini-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    line-height: 1.3;
}
.testimonial-mini-name {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.92rem;
}
.testimonial-mini-role {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

@media (max-width: 880px) {
    .testimonials-spotlight-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .testimonial-anchor-name { margin-top: 0; font-size: 0.95rem; }
    .testimonial-anchor-link {
        font-size: 0.78rem;
        padding: 6px 12px;
        align-self: start;
        justify-self: start;
    }
    .testimonial-anchor-name  { grid-area: name; align-self: end; }
    .testimonial-anchor-link  { grid-area: link; margin-top: 10px; }
}
@media (max-width: 720px) {
    .testimonial-spotlight { padding: 28px 24px 26px; }
    .testimonial-spotlight-head { grid-template-columns: auto 1fr; }
    .testimonial-spotlight-tag { grid-column: 1 / -1; justify-self: start; }
    .testimonials-secondary { grid-template-columns: 1fr; }
    /* Spotlight-Quote-Marks sind jetzt inline – kein Mobile-Override nötig */
}

/* ================================================
   CASE-STUDIES – Abstand zwischen mehreren Showcases
   ================================================ */

/* ================================================
   CASE-STUDIES – Tab-Switch + Kennzahlen + Tools
   ================================================ */
.case-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 22px;
}
.case-tab {
    display: flex;
    align-items: stretch;
    gap: 14px;
    padding: 16px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.case-tab:hover {
    border-color: var(--border-strong);
    transform: translateY(-1px);
}
.case-tab--active {
    border-color: var(--accent);
    background: var(--accent-glow);
}
.case-tab-num {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--accent);
    align-self: center;
    min-width: 28px;
}
.case-tab-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.case-tab-title {
    font-weight: 600;
    font-size: 0.98rem;
    line-height: 1.3;
    color: var(--text-primary);
}
.case-tab-sub {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.case-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-xl);
    padding: 32px 30px;
    animation: case-fade 0.3s ease;
}
.case-panel[hidden] { display: none; }
@keyframes case-fade {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.case-meta-tag {
    font-size: 0.78rem;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px 12px;
    background: var(--bg-body);
    letter-spacing: 0.01em;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 28px;
}
.case-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.case-block-label {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
}
.case-block p {
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}
.case-block:nth-child(2) p,
.case-block:nth-child(3) p {
    color: var(--text-secondary);
}

.case-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 0 0 24px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.case-metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 16px;
    border-left: 1px solid var(--border);
}
.case-metric:first-child {
    border-left: none;
    padding-left: 0;
}
.case-metric-label {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    text-transform: uppercase;
    line-height: 1.3;
    margin: 0;
}
.case-metric-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 0;
    font-feature-settings: "tnum" 1;
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}
.case-metric-unit {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.case-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.case-tools-label {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-right: 4px;
}
.case-tools-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.case-tools-list li {
    font-size: 0.82rem;
    color: var(--text-primary);
    background: var(--bg-body);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 4px 10px;
    font-feature-settings: "tnum" 1;
}

@media (max-width: 880px) {
    .case-grid { grid-template-columns: 1fr; gap: 18px; }
    .case-metrics { grid-template-columns: repeat(2, 1fr); gap: 16px 0; }
    .case-metric { border-left: none; padding-left: 0; padding-right: 0; }
    .case-metric:nth-child(odd) { border-right: 1px solid var(--border); padding-right: 16px; }
    .case-metric:nth-child(even) { padding-left: 16px; }
    .case-tabs { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .case-panel { padding: 24px 20px; }
}

/* ================================================
   SERVICES – 3 Outcome-Pakete, ruhig
   ================================================ */
#services .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px 26px 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.service-tag {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-glow);
    padding: 4px 10px;
    border-radius: 999px;
    align-self: flex-start;
    font-weight: 600;
}
.service-card h3 {
    font-size: 1.2rem;
    line-height: 1.35;
    color: var(--text-primary);
    margin: 0;
}
.service-outcome {
    color: var(--text-primary);
    font-size: 0.96rem;
    line-height: 1.55;
    margin: 0;
    font-weight: 500;
}
.service-card .service-list {
    list-style: none;
    padding: 0;
    margin: 4px 0 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.service-card .service-list li {
    position: relative;
    padding-left: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}
.service-card .service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.55;
}
.service-meta {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.82rem;
}
@media (max-width: 1000px) {
    #services .services-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
}

/* ================================================
   FAQ – ruhiges Accordion ohne Akzent-Spielerei
   ================================================ */
#faq .faq-wrapper {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 0;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.faq-item:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px -18px rgba(0, 0, 0, 0.6);
}
.faq-item[open] {
    border-color: var(--border-strong);
    box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.5);
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.05rem;
    line-height: 1.45;
    letter-spacing: -0.01em;
    text-align: left;
}
.faq-item summary > span:first-child { flex: 1; }
.faq-item summary::-webkit-details-marker { display: none; }
/* Weicher Chevron statt +/−-Kreis – editorialer, weniger technisch.
   Das +/−-Zeichen (per JS/Fallback) wird ausgeblendet, das Icon rein per CSS gesteuert. */
.faq-item .faq-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    color: transparent;
    font-size: 0;
}
.faq-item .faq-icon::after {
    content: "";
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--text-secondary);
    border-bottom: 2px solid var(--text-secondary);
    border-radius: 1px;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.28s ease, border-color 0.2s ease;
}
.faq-item:hover .faq-icon::after { border-color: var(--text-primary); }
.faq-item[open] .faq-icon::after {
    transform: translateY(2px) rotate(-135deg);
    border-color: var(--accent);
}
.faq-item p {
    padding: 2px 24px 24px;
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.96rem;
    line-height: 1.7;
    max-width: 90%;
}
@media (max-width: 600px) {
    .faq-item summary { padding: 16px 18px; font-size: 0.95rem; }
    .faq-item p { padding: 0 18px 18px; }
}

/* ================================================
   INSIGHTS – Fachbeiträge als aufklappbare Artikel
   ================================================ */
.insights-section {
    background: linear-gradient(180deg, transparent 0%, rgba(41, 151, 255, 0.02) 50%, transparent 100%);
}
#insights .insights-wrapper {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 26px;
}
.insight-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg, 18px);
    overflow: hidden;
    transition: transform 0.28s ease, border-color 0.2s ease, box-shadow 0.28s ease;
}
.insight-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: 0 24px 54px -26px rgba(0, 0, 0, 0.55);
}
.insight-card-media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(41, 151, 255, 0.16), rgba(139, 92, 246, 0.12));
}
.insight-card:nth-child(3n+2) .insight-card-media {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(41, 151, 255, 0.12));
}
.insight-card:nth-child(3n) .insight-card-media {
    background: linear-gradient(135deg, rgba(41, 151, 255, 0.14), rgba(16, 185, 129, 0.12));
}
.insight-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.insight-card:hover .insight-card-media img { transform: scale(1.04); }
.insight-card-body {
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding: 22px 24px 24px;
    flex: 1;
}
.insight-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.73rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
}
.insight-source {
    color: var(--accent);
    font-weight: 700;
}
.insight-date { color: var(--text-secondary); }
.insight-date::before {
    content: '·';
    margin-right: 10px;
    color: var(--border-strong);
}
.insight-card-title {
    font-size: 1.16rem;
    line-height: 1.32;
    margin: 0;
    color: var(--text-primary);
}
.insight-card-excerpt {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.insight-card-cta {
    margin-top: auto;
    padding-top: 4px;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}
.insight-card-cta svg { transition: transform 0.2s ease; }
.insight-card:hover .insight-card-cta svg { transform: translate(2px, -2px); }
.insight-card-extnote {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}
.insight-card-extnote::before {
    content: '·';
    margin-right: 6px;
    color: var(--border-strong);
}
/* Ganze Karte klickbar (nur Live-Ansicht) */
.insight-card-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}
/* Admin-Modus: Overlay + Clamp aus, damit Texte anklick- und lesbar bleiben */
body.adm-mode .insight-card-cta::after { display: none; }
body.adm-mode .insight-card-excerpt,
.insight-card-excerpt.adm-editing {
    -webkit-line-clamp: unset;
    overflow: visible;
}
@media (max-width: 600px) {
    #insights .insights-wrapper { gap: 20px; }
    .insight-card-body { padding: 18px 18px 20px; }
    .insight-card-title { font-size: 1.08rem; }
}

/* ================================================
   CONTACT – 2-Spalten: Direktkontakt + Formular
   ================================================ */
#contact .contact-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 1.4fr;
    gap: 48px;
    max-width: 980px;
    margin: 0 auto;
    align-items: start;
}
.contact-direct {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.contact-direct-block { display: flex; flex-direction: column; gap: 6px; }
.contact-label {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-secondary);
}
.contact-direct-value {
    color: var(--text-primary);
    font-size: 0.96rem;
    line-height: 1.5;
    text-decoration: none;
    word-break: break-word;
}
a.contact-direct-value:hover { color: var(--accent); }
.contact-email-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0;
    justify-content: flex-start;
}
.contact-social {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 4px;
}
/* Xing als Outline-Pille auf gleicher Höhe wie der LinkedIn-Button (mittig ausgerichtet) */
.contact-social .contact-link {
    display: inline-flex;
    align-items: center;
    padding: 11px 20px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.contact-social .contact-link:hover { color: var(--accent); border-color: var(--accent); }

.contact-back-to-booking {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 0;
    border-top: 1px dashed var(--border);
    margin-top: 4px;
    padding-top: 16px;
    transition: gap 0.2s ease;
}
.contact-back-to-booking:hover { gap: 14px; }

/* Form */
#contactForm.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.contact-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.contact-field-label {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    font-weight: 500;
}
#contactForm.contact-form input,
#contactForm.contact-form textarea {
    background: var(--bg-body);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
}
#contactForm.contact-form textarea {
    resize: vertical;
    min-height: 110px;
}
#contactForm.contact-form input:focus,
#contactForm.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
#contactForm.contact-form .contact-privacy {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.5;
}
#contactForm.contact-form .contact-privacy input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--accent);
}
#contactForm.contact-form .contact-privacy label {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
#contactForm.contact-form .contact-privacy a {
    align-self: flex-start;
    font-size: 0.82rem;
    color: var(--accent);
    text-decoration: none;
}
#contactForm.contact-form .contact-privacy a:hover { text-decoration: underline; }
#contactForm.contact-form button[type="submit"] {
    align-self: flex-start;
    min-width: 180px;
}

@media (max-width: 880px) {
    #contact .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .contact-direct { align-items: center; text-align: center; }
    .contact-direct-block { align-items: center; }
    .contact-email-row { justify-content: center; }
    .contact-social { justify-content: center; }
    .contact-back-to-booking { justify-content: center; }
}

/* ================================================
   TELEFON: Nav · Hero · Contact (mobile-first)
   ================================================ */

/* --- Nav-Phone (rechts, neben Sprache/Theme) --- */
.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--accent);
    color: var(--accent);
    background: transparent;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    font-feature-settings: "tnum" 1;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    min-height: 38px;
    line-height: 1;
    white-space: nowrap;
}
.nav-phone:hover,
.nav-phone:focus-visible {
    background: var(--accent);
    color: #fff;
}
.nav-phone-icon {
    flex-shrink: 0;
}
.nav-phone-label {
    display: inline-block;
}
@media (max-width: 900px) {
    /* Auf Mobile: Phone-Pill behält die Nummer aber wird kompakter */
    .nav-phone { padding: 8px 10px; gap: 6px; }
    .nav-phone-label { font-size: 0.82rem; }
}
@media (max-width: 700px) {
    /* Kompakt: nur Hörer-Icon, weiter tappable (44x44) – volle Nummer
       kollidiert unterhalb ~700px mit den DE/PL- und Theme-Buttons */
    .nav-phone {
        width: 44px;
        height: 44px;
        min-height: 44px;
        padding: 0;
        justify-content: center;
        gap: 0;
    }
    .nav-phone-label { display: none; }
}

/* --- Hero-Phone-Link (unter den Buttons) --- */
.hero-phone-link {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 18px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.92rem;
    transition: color 0.2s ease;
    padding: 6px 0;
}
.hero-phone-link:hover .hero-phone-number,
.hero-phone-link:focus-visible .hero-phone-number {
    color: var(--accent-hover, #1f7fdc);
}
.hero-phone-prefix {
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.hero-phone-number {
    color: var(--accent);
    font-weight: 600;
    font-feature-settings: "tnum" 1;
    font-size: 1rem;
    transition: color 0.2s ease;
}
@media (max-width: 600px) {
    .hero-phone-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        padding: 10px 0;
    }
    .hero-phone-number { font-size: 1.05rem; }
}

/* --- Contact-Phone-Card (großer Tap-Target) --- */
.contact-phone-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid var(--accent);
    background: var(--accent-glow);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 64px;
}
.contact-phone-card:hover,
.contact-phone-card:focus-visible {
    background: var(--accent);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.contact-phone-card:hover .contact-label,
.contact-phone-card:hover .contact-phone-hint,
.contact-phone-card:focus-visible .contact-label,
.contact-phone-card:focus-visible .contact-phone-hint {
    color: rgba(255, 255, 255, 0.85);
}
.contact-phone-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    color: var(--accent);
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}
.contact-phone-card:hover .contact-phone-icon,
.contact-phone-card:focus-visible .contact-phone-icon {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}
.contact-phone-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.contact-phone-number {
    font-size: 1.15rem;
    font-weight: 600;
    color: inherit;
    font-feature-settings: "tnum" 1;
    line-height: 1.2;
}
.contact-phone-hint {
    font-size: 0.78rem;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

@media (max-width: 600px) {
    .contact-phone-card { padding: 14px 16px; min-height: 72px; }
    .contact-phone-number { font-size: 1.1rem; }
}

/* ================================================
   HERO: Trust-Pills (3-er Reihe unter dem Quote)
   ================================================ */
.hero-trust-pills {
    list-style: none;
    padding: 0;
    margin: 18px 0 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}
.hero-trust-pills li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    background: transparent;
}
.hero-trust-pills .trust-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}
/* #gernperDu – Anrede-Umschalter (Sie ⇄ Du), als Pille gestaltet */
.hero-trust-pills li.hero-trust-du {
    padding: 0;
    border: none;
    background: none;
}
.du-toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 8px 6px 14px;
    border: 1px solid rgba(41, 151, 255, 0.55);
    border-radius: 999px;
    background: rgba(41, 151, 255, 0.10);   /* leicht gefüllt → liest sich als Bedien-Element */
    color: var(--accent);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.du-toggle:hover {
    background: rgba(41, 151, 255, 0.18);
    box-shadow: 0 6px 18px -8px var(--accent-glow);
    transform: translateY(-1px);
}
.du-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* sichtbarer Kippschalter (Track + Knopf) – macht die Klickbarkeit eindeutig */
.du-switch {
    position: relative;
    width: 30px;
    height: 16px;
    flex-shrink: 0;
    border-radius: 999px;
    background: rgba(41, 151, 255, 0.22);
    border: 1px solid rgba(41, 151, 255, 0.5);
    transition: background 0.2s, border-color 0.2s;
}
.du-switch-knob {
    position: absolute;
    top: 1px;
    left: 1px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    transition: transform 0.2s ease, background 0.2s;
}
/* Aktiver Du-Modus: gefüllte Pille + Knopf nach rechts */
body.du-mode .du-toggle {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 6px 18px -8px var(--accent-glow);
}
body.du-mode .du-switch { background: rgba(255, 255, 255, 0.4); border-color: transparent; }
body.du-mode .du-switch-knob { transform: translateX(14px); background: #fff; }
/* Auf Polnisch ausblenden – dort wird ohnehin durchgängig geduzt */
html[lang="pl"] .hero-trust-du { display: none; }

/* LinkedIn-Button (Hero) – Marken-Blau */
.btn-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #0A66C2;
    color: #fff;
}
.btn-linkedin .btn-linkedin-icon { flex-shrink: 0; }
.btn-linkedin:hover { background: #0959ab; color: #fff; box-shadow: 0 10px 30px rgba(10, 102, 194, 0.45); }

/* LinkedIn-Button (Kontakt) */
.contact-linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 20px;
    border-radius: 999px;
    background: #0A66C2;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.contact-linkedin-btn svg { flex-shrink: 0; }
.contact-linkedin-btn:hover {
    background: #0959ab;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -8px rgba(10, 102, 194, 0.6);
}

/* ================================================
   MANDATS-LOGO-MARQUEE (unter Hero)
   Auto-Scroll, pause on hover, fade edges
   ================================================ */
.mandate-strip {
    padding: 32px 0 36px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-body);
    overflow: hidden;
}
.mandate-strip-label {
    text-align: center;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin: 0 0 22px;
}

.logo-marquee {
    position: relative;
    display: flex;
    overflow: hidden;
    width: 100%;
    /* Edges leicht ausblenden, damit Logos rein-/rausgleiten */
    -webkit-mask-image: linear-gradient(90deg,
        transparent 0,
        #000 8%,
        #000 92%,
        transparent 100%);
            mask-image: linear-gradient(90deg,
        transparent 0,
        #000 8%,
        #000 92%,
        transparent 100%);
}
.logo-marquee:hover .logo-marquee-track,
.logo-marquee:focus-within .logo-marquee-track {
    animation-play-state: paused;
}

.logo-marquee-track {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 56px;
    padding-right: 56px;
    animation: logo-marquee-scroll 38s linear infinite;
    will-change: transform;
}

@keyframes logo-marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
}

.logo-item {
    display: inline-flex;
    align-items: center;
    height: 38px;
    flex-shrink: 0;
    color: var(--text-secondary);
    transition: color 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
    opacity: 0.78;
}
.logo-marquee:hover .logo-item { opacity: 0.55; }
.logo-marquee .logo-item:hover {
    opacity: 1;
    color: var(--text-primary);
}

.logo-item--img img {
    display: block;
    height: 28px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    /* Tonal angleichen: monochrom + Theme-Farbe via filter */
    filter: grayscale(1) contrast(0.95) brightness(1.4);
    transition: filter 0.2s ease;
}
body.light-theme .logo-item--img img {
    filter: grayscale(1) contrast(1.1) brightness(0.55);
}
.logo-marquee .logo-item--img:hover img {
    filter: none;
}

.logo-item--text {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
    font-feature-settings: "tnum" 1;
}

@media (prefers-reduced-motion: reduce) {
    .logo-marquee-track { animation: none; }
    .logo-marquee {
        overflow-x: auto;
        -webkit-mask-image: none;
                mask-image: none;
    }
}

/* Marquee mobile: Auto-Scroll bleibt an, nur kompakter und langsamer */
@media (max-width: 600px) {
    .mandate-strip { padding: 22px 0 26px; }
    .mandate-strip-label { font-size: 0.66rem; margin-bottom: 14px; }
    .logo-marquee-track { gap: 32px; padding-right: 32px; animation-duration: 32s; }
    .logo-item { height: 28px; }
    .logo-item--img img { height: 22px; max-width: 100px; }
    .logo-item--text { font-size: 0.92rem; }
}

@media (max-width: 600px) {
    .mandate-strip { padding: 24px 0 28px; }
    .logo-marquee-track { gap: 36px; padding-right: 36px; animation-duration: 28s; }
    .logo-item { height: 30px; }
    .logo-item--img img { height: 22px; max-width: 110px; }
    .logo-item--text { font-size: 0.92rem; }
}

/* ============================================================
   MODERN POLISH LAYER (2026-07) – dezente moderne Details:
   Typografie-Umbrüche, Hero-Gradient, FAQ-Animation,
   Theme-Überblendung, Sticky Mobile-CTA
   ============================================================ */

/* Ausgewogene Zeilenumbrüche (progressive enhancement) */
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

/* Hero: feiner Gradient-Akzent auf der zweiten Titelzeile */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .h1-accent {
        background: linear-gradient(100deg, var(--accent) 0%, #7a6cff 90%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
    }
}

/* FAQ: sanftes Aufklappen statt hartem Aufspringen (Chrome 131+, sonst wie bisher) */
details { interpolate-size: allow-keywords; }
@supports (interpolate-size: allow-keywords) {
    details::details-content {
        block-size: 0;
        overflow: clip;
        transition: block-size 0.35s ease, content-visibility 0.35s allow-discrete;
    }
    details[open]::details-content { block-size: auto; }
}

/* Theme-Wechsel: weiche Überblendung via View Transitions API */
::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: 0.35s;
    animation-timing-function: ease;
}

/* Sticky Mobile-CTA-Leiste (nur ≤600px, JS toggelt .visible) */
.mobile-cta-bar { display: none; }

@media (max-width: 600px) {
    .mobile-cta-bar {
        display: flex;
        gap: 10px;
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        z-index: 98;
        padding: 10px;
        border-radius: 16px;
        border: 1px solid var(--border);
        background: var(--bg-card);
        background: color-mix(in srgb, var(--bg-card) 80%, transparent);
        -webkit-backdrop-filter: saturate(160%) blur(14px);
        backdrop-filter: saturate(160%) blur(14px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
        transform: translateY(calc(100% + 24px));
        opacity: 0;
        pointer-events: none;
        transition: transform 0.35s ease, opacity 0.35s ease;
    }
    .mobile-cta-bar.visible {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .mobile-cta-call,
    .mobile-cta-book {
        flex: 1;
        text-align: center;
        padding: 12px 8px;
        border-radius: 10px;
        font-size: 0.95rem;
        font-weight: 600;
        text-decoration: none;
        touch-action: manipulation;
    }
    .mobile-cta-call {
        color: var(--text-primary);
        border: 1px solid var(--border);
    }
    .mobile-cta-book {
        background: var(--accent);
        color: #fff;
    }
    /* Scroll-Top-Button über die Leiste schieben, wenn sie sichtbar ist */
    body.mobile-cta-visible #scrollTopBtn { bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-cta-bar { transition: none; }
    details::details-content { transition: none; }
}

/* Nav-CTA: Terminbuchung direkt aus der Desktop-Navigation */
.nav-cta {
    margin-left: 14px;
    white-space: nowrap;
}
/* Fix: globales a:hover (Z. 159) färbte die Schrift von Link-Buttons beim
   Hovern accent-blau auf blauem Grund (Nav-CTA, Hero-CTA) – Weiß erzwingen */
a.btn:not(.btn-outline):hover { color: #fff; }
.nav-links a { white-space: nowrap; }
.icon-btn { white-space: nowrap; }
/* Mehr Luft zwischen Logo · Links · Actions (nur volle Desktop-Breite;
   Link-Abstand + CTA-Padding dafür leicht reduziert: Brand ~250px, Links ~420px
   und Actions ~320px müssen inkl. Abständen in die 1050px des Containers passen,
   sonst quetscht Flexbox den Markennamen auf drei Zeilen) */
@media (min-width: 1121px) {
    .nav-content { gap: 20px; }
    .nav-links { gap: 18px; }
    .nav-cta { margin-left: 10px; padding: 10px 20px; }
}
/* Neben 5 Nav-Links + Buchungs-CTA passt die ausgeschriebene Nummer nicht
   mehr in den 1100px-Container: Telefon-Pill dauerhaft Icon-only
   (Nummer bleibt in Hero, Kontakt-Sektion und Sticky Mobile-CTA sichtbar) */
.nav-phone {
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    justify-content: center;
    gap: 0;
}
.nav-phone-label { display: none; }
@media (min-width: 981px) and (max-width: 1120px) {
    /* Schmale Desktops: Brand kompakter (kleineres Logo + Schrift) und engere
       Abstände, damit CTA + Telefon + Links ohne Umbruch hineinpassen */
    .nav-content { gap: 10px; }
    .nav-links { gap: 12px; }
    .nav-cta { margin-left: 6px; padding: 10px 14px; }
    .icon-btn { margin-left: 4px; }
    .nav-logo-img, nav.scrolled .nav-logo-img { height: 40px; }
    .brand { gap: 10px; }
    .brand-text { font-size: 1.05rem; white-space: nowrap; }
}
@media (max-width: 980px) {
    /* Unter 980px reicht der Platz selbst mit Fallback-Font nicht mehr:
       CTA übernehmen Hero-Buttons bzw. ab 600px die Sticky Mobile-CTA */
    .nav-cta { display: none; }
}


/* ============================================================
   LAUNCH CLEAN LAYER (2026-11)
   Ruhigere Anordnung: einheitliche Breiten und Abstände, ein
   Karten-Stil, weniger Deko. Überschreibt gezielt ältere Layer.
   ============================================================ */
:root {
    --w-wide: 1080px;
    --w-read: 760px;
    --sec-y: clamp(64px, 8vw, 104px);
    --card-radius: 20px;
    color-scheme: dark;
}
body.light-theme { color-scheme: light; }
body { transition: none; }
html { scroll-padding-top: 88px; }

/* --- Rhythmus: gleiche Abstände für alle Bereiche --- */
.section-padding, .section-padding-md, .section-padding-sm,
.contact-section, .faq-section, .insights-section { padding: var(--sec-y) 0; }
.container, .container--wide { max-width: calc(var(--w-wide) + 48px); padding: 0 24px; }

main section h2 {
    font-size: clamp(1.75rem, 2.7vw, 2.5rem);
    line-height: 1.12;
    letter-spacing: -0.022em;
    margin: 0 auto 12px;
    text-align: center;
}
main section h2 + p, .section-intro,
.needs-header p, .booking-header p, .contact-header p {
    max-width: 60ch;
    margin: 0 auto clamp(32px, 4vw, 48px);
    font-size: 1.0625rem;
    line-height: 1.55;
    color: var(--text-secondary);
    text-align: center;
}
.section-header, .needs-header, .booking-header { margin-bottom: 0; }
.about-heading-wrap { margin-bottom: clamp(32px, 4vw, 48px); }

/* --- Bewegung: ein einziges, kurzes Einblenden --- */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
    transform: translateY(14px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.reveal.active { transform: none; }

/* --- Karten: ein Stil, kein Glas --- */
.card-style, .glass-card, .service-card, .cluster-card, .mandate-card,
.testimonial-spotlight, .testimonial-mini, .insight-card, .faq-item,
.needs-check, .booking-teaser, .contact-form, .case-panel, .about-fact-card {
    border-radius: var(--card-radius);
    border: 1px solid var(--border);
    background: var(--bg-card);
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
body.light-theme .glass-card { background: var(--bg-card); }

/* --- Kleinstschrift: Minimum 12px --- */
.mandate-strip-label, .service-tag, .about-fact dt, .about-story-label,
.testimonial-spotlight-tag, .cluster-time, .case-block-label, .case-metric-label,
.case-tools-label, .insight-source, .insight-date, .insight-card-extnote,
.contact-label, .needs-step-counter, .needs-eyebrow { font-size: 0.75rem; }

/* --- Navigation --- */
@media (max-width: 600px) {
    .nav-phone { display: none; }
}

/* --- Hero --- */
.hero-section {
    min-height: 0;
    display: block;
    padding: clamp(112px, 15vh, 152px) 0 clamp(48px, 7vh, 80px);
}
.hero-layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}
.hero-tagline { font-size: 0.8125rem; letter-spacing: 0.14em; margin-bottom: 18px; }
.hero-content h1 {
    font-size: clamp(2.375rem, 4.5vw, 3.75rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}
.hero-description { font-size: 1.125rem; line-height: 1.55; max-width: 54ch; margin-bottom: 14px; }
.hero-quote {
    display: block;
    border: 0;
    padding: 0;
    margin: 0 0 28px;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-primary);
}
.hero-buttons { gap: 12px; margin: 0 0 22px; align-items: center; }
.hero-buttons .btn { margin: 0; }
.hero-trust-pills { gap: 8px 18px; margin: 0 0 14px; align-items: center; }
.hero-trust-pills li:not(.hero-trust-du) {
    border: 0;
    background: none;
    padding: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
}
.hero-phone-link { margin-top: 0; }
.hero-portrait-wrapper { justify-content: flex-end; }
.portrait-frame {
    padding: 0;
    background: none;
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.35);
}
.portrait-frame:hover { box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.35); }
.portrait-frame-inner { border-radius: 24px; border: 0; }
.portrait-frame img,
.portrait-frame:hover img {
    width: 100%;
    max-width: 380px;
    height: auto;
    aspect-ratio: 4 / 5;
    transform: none;
    filter: none;
}
@media (max-width: 900px) {
    .hero-section { padding: 104px 0 48px; }
    .hero-layout { grid-template-columns: 1fr; gap: 28px; }
    .hero-portrait-wrapper { margin-bottom: 0; justify-content: center; }
    .portrait-frame img, .portrait-frame:hover img { max-width: 240px; }
    .hero-quote { border: 0; padding: 0; }
    .hero-description { margin-left: auto; margin-right: auto; }
}
@media (max-width: 600px) {
    .hero-section { padding: 92px 0 40px; }
    .portrait-frame img, .portrait-frame:hover img { max-width: 200px; }
}

/* --- Leistungen --- */
.services-grid { gap: 20px; }
.service-card { padding: 28px; }

/* --- Bedarfscheck / Buchung / FAQ: gleiche Lesebreite --- */
.needs-check, .booking-teaser, .faq-wrapper, .cal-embed { max-width: var(--w-read); margin-left: auto; margin-right: auto; }

/* --- Referenzen: eine große Stimme, zwei kleine, gleiche Breite --- */
.testimonials-spotlight-row { display: block; max-width: none; margin: 0 0 20px; }
.testimonial-spotlight { padding: clamp(24px, 3.2vw, 40px); }
.testimonial-spotlight-quote p { font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.5; }
.testimonials-secondary { max-width: none; margin: 0; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.testimonials-more { text-align: center; margin-top: 28px; }
@media (max-width: 760px) { .testimonials-secondary { grid-template-columns: 1fr; } }

/* --- Über mich: Bild + Text, dann Steckbrief, dann Details --- */
.about-section, body.light-theme .about-section { background: none; border: 0; }
.about-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
    margin: 0;
}
.about-grid .portrait-card {
    position: sticky;
    top: 104px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: none;
    transform: none;
}
.about-grid .portrait-card::before, .about-grid .portrait-card::after { content: none; }
.about-grid .portrait-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; transform: none; }
.about-text-stack { display: block; }
.about-text-stack .quote-feature {
    margin: 0 0 28px;
    padding: 0;
    max-width: none;
    border: 0;
    background: none;
    text-align: left;
}
.about-text-stack .quote-text {
    font-size: clamp(1.25rem, 2vw, 1.625rem);
    line-height: 1.35;
    font-weight: 600;
    font-style: normal;
    letter-spacing: -0.015em;
    color: var(--text-primary);
}
.about-text-stack .quote-author { margin-top: 12px; font-size: 0.875rem; color: var(--text-secondary); }
.about-bio h3 { display: none; }
.about-bio p { font-size: 1.0625rem; line-height: 1.65; color: var(--text-secondary); margin: 0 0 16px; max-width: 62ch; }
.about-text-stack .about-story {
    margin: 28px 0 0;
    padding: 20px 0 0;
    border: 0;
    border-top: 1px solid var(--border);
    border-radius: 0;
    background: none;
}
.about-story h3 { font-size: 1.0625rem; font-style: normal; margin-bottom: 8px; }
.about-story p { font-size: 0.9375rem; font-style: normal; line-height: 1.6; max-width: 62ch; }
.about-fact-card {
    max-width: none;
    margin: clamp(40px, 5vw, 64px) 0 20px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    padding: 24px;
    gap: 20px;
}
.about-fact { border: 0; padding: 0; }
.about-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.about-details .card-style { margin: 0; padding: 28px; }
.about-details h3 { font-size: 1.25rem; margin-bottom: 18px; }
.about-details .cert-grid { grid-template-columns: 1fr; }
@media (max-width: 1000px) {
    .about-fact-card { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-grid .portrait-card { position: relative; top: 0; max-width: 360px; margin: 0 auto; }
    .about-details { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .about-fact-card { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 20px; }
    .about-details .card-style { padding: 22px; }
}

/* --- Erfahrung: neutrale Karten ohne Farbkante --- */
.mandate-card { border-left: 1px solid var(--border); }
.mandate-card::before { content: none; }
.competency-icon { display: none; }

/* --- Bewegung reduzieren --- */
@media (prefers-reduced-motion: reduce) {
    .logo-marquee-track { animation: none; }
    .logo-marquee { overflow-x: auto; }
    .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; transition: none; }
    .hero-animate { opacity: 1; animation: none; }
}

/* --- Feinschliff zum Clean Layer --- */
main .section-header .section-intro,
main section .section-intro {
    margin: 0 auto clamp(32px, 4vw, 48px);
    font-size: 1.0625rem;
    text-wrap: balance;
}
.about-section::before, .about-section::after { content: none; }
.insights-section { background: none; }

/* Über mich */
.about-section .about-text-stack .quote-feature .quote-text {
    font-size: clamp(1.25rem, 2vw, 1.625rem);
    line-height: 1.35;
    font-weight: 600;
    font-style: normal;
    letter-spacing: -0.015em;
    color: var(--text-primary);
}
.about-section .about-text-stack .quote-feature { border: 0; padding: 0; margin: 0 0 28px; }
.about-fact-card { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 32px; padding: 28px; }
.about-details { grid-template-columns: 1fr; }
#edu-card { columns: 2; column-gap: 48px; }
#edu-card > h3 { column-span: all; }
#edu-card .edu-item, #edu-card .cert-badge { break-inside: avoid; }
#edu-card .cert-list-title { break-before: column; margin-top: 0; }
#edu-card .edu-skills-heading { margin-top: 24px; }
@media (max-width: 760px) {
    #edu-card { columns: 1; }
    #edu-card .cert-list-title { margin-top: 24px; }
}
@media (max-width: 600px) {
    .about-fact-card { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; padding: 20px; }
}

/* Referenzen */
.testimonial-mini-meta { align-items: flex-start; text-align: left; }

/* Erfahrung: volle Breite wie alle anderen Raster */
.career-subsection { max-width: none; margin: 0 0 clamp(40px, 5vw, 64px); }
.career-subsection--last { margin-bottom: 32px; }

/* Insights / Kontakt: volle Breite */
#insights .insights-wrapper { max-width: none; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { #insights .insights-wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { #insights .insights-wrapper { grid-template-columns: 1fr; } }
#contact .contact-grid { max-width: none; gap: clamp(28px, 5vw, 64px); }
.contact-phone-card { border-color: var(--border); background: var(--bg-card); border-radius: var(--card-radius); }

@media (max-width: 760px) {
    #edu-card { columns: auto; }
    #edu-card .cert-list-title { break-before: auto; margin-top: 24px; }
}
@media (max-width: 600px) {
    .hero-tagline::before { content: none; }
    .about-fact dt { letter-spacing: 0.06em; }
}

/* Insights: Platzhalter-Artikel ohne echten Link bleiben auf der Live-Seite
   unsichtbar (im Admin weiter bearbeitbar). Ohne echte Artikel verschwindet
   der ganze Bereich samt Menüpunkt – und erscheint automatisch, sobald
   der erste Artikel-Link eingetragen ist. */
body:not(.adm-mode) .insight-card:has(.insight-card-cta[href="#"]) { display: none; }
body:not(.adm-mode) #insights:not(:has(.insight-card-cta:not([href="#"]))) { display: none; }
body:not(.adm-mode):not(:has(.insight-card-cta:not([href="#"]))) a[href="#insights"] { display: none; }
/* Karten ohne Foto: schmaler Akzentstreifen statt leerer Fläche */
body:not(.adm-mode) .insight-card-media:not(:has(img)) { aspect-ratio: auto; height: 6px; }

/* <footer> in Zitat-Karten erbt sonst das Seiten-Footer-Padding */
.testimonial-mini-footer { padding: 16px 0 0; margin: auto 0 0; text-align: left; background: none; }

/* --- Über mich: zweites Foto (ArbG-Buch) neben Ausbildung & Kompetenzen,
       im selben Spaltenraster wie Portrait + Text darüber --- */
.about-details {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 20px clamp(28px, 5vw, 64px);
    align-items: start;
}
.about-details #tools-card { grid-column: 1 / -1; }
.about-photo-2 { margin: 0; position: sticky; top: 104px; border-radius: 24px; overflow: hidden; }
.about-photo-2 img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 7; object-fit: cover; }
#edu-card { columns: auto; }
#edu-card .cert-list-title { break-before: auto; margin-top: 24px; }
@media (max-width: 900px) {
    .about-details { grid-template-columns: 1fr; }
    .about-photo-2 { position: relative; top: 0; width: 100%; max-width: 360px; margin: 0 auto; }
}

/* Fix: Das Foto darf nur innerhalb seiner eigenen Zeile mitlaufen, nicht über
   die Tools-Karte darunter. Sticky sitzt deshalb auf dem Bild, die Figure
   spannt die Zeilenhöhe auf und begrenzt den Weg. */
.about-photo-2 { position: static; align-self: stretch; overflow: visible; border-radius: 0; }
.about-photo-2 img { position: sticky; top: 104px; border-radius: 24px; }
@media (max-width: 900px) {
    .about-photo-2 { position: static; align-self: auto; }
    .about-photo-2 img { position: static; }
}

/* ============================================================
   FAQ (2026-11): links Überschrift + persönliche Kontaktkarte,
   rechts EINE Karte mit den Fragen. Die offene Frage liegt auf
   einer weichen Akzentfläche, es ist immer nur eine offen
   (setupFaq in main.js, mit weicher Höhen-Animation).
   Markup (details.faq-item) bleibt für den Admin-Editor gleich.
   ============================================================ */
#faq .container {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
}
#faq .section-header { position: sticky; top: 104px; text-align: left; }
#faq .section-header h2 { text-align: left; margin: 0 0 12px; }
#faq .section-header .section-intro { text-align: left; margin: 0 0 28px; max-width: 32ch; }

/* Kontaktkarte: „Frage nicht dabei?" */
.faq-aside {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 4px 16px;
    align-items: center;
    max-width: 380px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    background: var(--bg-card);
}
.faq-aside img { grid-row: 1 / span 2; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; display: block; }
.faq-aside-title { align-self: end; font-size: 1rem; font-weight: 600; line-height: 1.3; color: var(--text-primary); }
.faq-aside-text { align-self: start; font-size: 0.875rem; line-height: 1.4; color: var(--text-secondary); }
.faq-aside .btn { grid-column: 1 / -1; margin: 14px 0 0; justify-content: center; text-align: center; }

/* Fragenkarte */
#faq .faq-wrapper {
    max-width: none;
    margin: 0;
    display: block;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: var(--bg-card);
}
#faq .faq-item,
#faq .faq-item:hover,
#faq .faq-item[open] {
    position: relative;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: none;
    box-shadow: none;
    transform: none;
    overflow: hidden;
    interpolate-size: numeric-only;
    transition: background-color 0.3s ease;
}
#faq .faq-item::details-content { transition: none; block-size: auto; }
#faq .faq-item[open] { background: color-mix(in srgb, var(--accent) 8%, transparent); }
/* feine Trennlinie zwischen zwei geschlossenen Fragen */
#faq .faq-item + .faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: var(--border);
    transition: opacity 0.2s ease;
}
#faq .faq-item[open]::before,
#faq .faq-item[open] + .faq-item::before,
#faq .faq-item:hover::before,
#faq .faq-item:hover + .faq-item::before { opacity: 0; }
#faq .faq-item:not([open]):hover { background: color-mix(in srgb, var(--text-primary) 4%, transparent); }

#faq .faq-item summary,
#faq .faq-item[open] summary {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    min-height: 44px;
    border: 0;
    background: none;
    font-size: clamp(1.0625rem, 1.45vw, 1.1875rem);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.012em;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    transition: color 0.2s ease;
}
#faq .faq-item[open] summary { color: var(--accent); }
#faq .faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 18px; }

/* Chevron im Kreis, dreht sich beim Öffnen */
#faq .faq-item .faq-icon {
    position: relative;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: color-mix(in srgb, var(--text-primary) 7%, transparent);
    font-size: 0;
    color: transparent;
    transform: none;
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1), background-color 0.25s ease;
}
#faq .faq-item .faq-icon::before { content: none; }
#faq .faq-item .faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    margin: 0;
    background: none;
    border: 0;
    border-right: 2px solid var(--text-primary);
    border-bottom: 2px solid var(--text-primary);
    border-radius: 1px;
    transform: translate(-50%, -70%) rotate(45deg);
    transition: border-color 0.25s ease;
}
#faq .faq-item[open] .faq-icon { transform: rotate(180deg); background: var(--accent); }
#faq .faq-item[open] .faq-icon::after { border-color: #fff; }

#faq .faq-item p {
    margin: 0;
    padding: 0 76px 24px 20px;
    max-width: none;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text-primary);
    opacity: 0.82;
}

@media (max-width: 900px) {
    #faq .container { grid-template-columns: 1fr; gap: 24px; }
    #faq .section-header { position: static; text-align: center; }
    #faq .section-header h2 { text-align: center; margin: 0 auto 12px; }
    #faq .section-header .section-intro { text-align: center; margin: 0 auto; max-width: 60ch; }
    /* Kontaktkarte wandert unter die Fragen */
    #faq .section-header { display: contents; }
    #faq .section-header h2 { order: 1; margin-bottom: -12px; }
    #faq .section-header .section-intro { order: 2; }
    #faq .faq-wrapper { order: 3; }
    .faq-aside { order: 4; max-width: none; text-align: left; }
}
@media (max-width: 600px) {
    #faq .faq-wrapper { padding: 6px; border-radius: 22px; }
    #faq .faq-item { border-radius: 16px; }
    #faq .faq-item summary, #faq .faq-item[open] summary { padding: 16px 14px; gap: 12px; font-size: 1.0625rem; }
    #faq .faq-item .faq-icon { flex-basis: 32px; width: 32px; height: 32px; }
    #faq .faq-item + .faq-item::before { left: 14px; right: 14px; }
    #faq .faq-item p { padding: 0 14px 20px; font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
    #faq .faq-item, #faq .faq-item .faq-icon { transition: none; }
}
#faq .faq-item p { border: 0; }

/* --- Logo-Leiste im Namen-Modus (im Admin umschaltbar): statt der
       Original-Logos erscheinen ausschließlich die Firmennamen als Text --- */
.logo-marquee--names .logo-item--img img { display: none; }
.logo-marquee--names .logo-item--img::after {
    content: attr(data-name);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
}
@media (max-width: 900px) {
    .logo-marquee--names .logo-item--img::after { font-size: 0.92rem; }
}

/* Cal.com-Einwilligung (2-Klick) über dem Booking-Button */
.booking-note.booking-consent {
    max-width: 56ch;
    margin: 4px auto 16px;
    font-size: 0.8rem;
    line-height: 1.55;
    opacity: 1;
}
.booking-consent a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}
