/* ============================================
   Barsbütteler Rundfunk Theme Styles
   ============================================ */

:root {
    --primary-color: #000000;
    --secondary-color: #ca0019;
    --accent-color: #333333;
    --gradient-1: linear-gradient(135deg, #ca0019, #a30015);
    --gradient-2: linear-gradient(135deg, #333333, #1a1a1a);
    --gradient-3: linear-gradient(135deg, #ca0019, #a30015);
    --text-color: #333333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(0, 0, 0, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.65;
    letter-spacing: 0.012em;
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
}

p {
    margin: 0 0 1.2rem;
}

.entry-content {
    line-height: 1.7;
    font-size: 1.05rem;
}

.entry-content > * + * {
    margin-top: 1.35rem;
}

.entry-content p {
    margin-bottom: 1.35rem;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-top: 2rem;
    margin-bottom: 0.9rem;
    line-height: 1.2;
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 1.35rem 1.35rem;
    line-height: 1.7;
    padding-left: 0.5rem;
}

main {
    padding-top: 136px; /* Header Top Bar (36px) + Main Header (~100px) */
}

/* Single Post und Page Styles - zusätzlicher Abstand für Header */
.site-main {
    padding-top: 150px; /* Mehr Abstand für Einzelansichten */
}

.site-main .container {
    padding-top: 1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    max-width: 960px;
}

.entry-header {
    margin: 0 auto 2rem;
    max-width: 960px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.entry-content {
    padding-top: 1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Top Bar */
.header-top-bar {
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.8rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1001;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 36px;
    display: flex;
    align-items: center;
}

.header-top-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    width: 100%;
}

.header-top-links {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    height: 100%;
    margin-left: auto;
}

.header-top-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 0.35rem 0.85rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    opacity: 0.95;
    font-size: 0.8rem;
    line-height: 1;
}

.header-top-link:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

/* Header Styles */
.main-header {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    position: fixed;
    width: 100%;
    top: 36px;
    z-index: 1000;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.nav-links .contact-btn {
    padding: 1.25rem 15px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

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

.contact-btn {
    position: relative;
    background: var(--secondary-color);
    color: var(--white) !important;
    padding: 1.25rem 4rem;
    border: none;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(202, 0, 25, 0.25);
    white-space: nowrap;
    margin-left: 3px;
    margin-right: 3px;
    align-self: center;
    min-width: fit-content;
}

.contact-btn:hover {
    background: #a30015;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(202, 0, 25, 0.35);
}

.contact-btn::after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-right: 1rem;
}

.social-icon {
    color: var(--text-color);
    transition: all 0.3s ease;
    opacity: 0.8;
}

.social-icon:hover {
    color: var(--secondary-color);
    opacity: 1;
    transform: translateY(-2px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--primary-color);
    color: white;
    padding-top: 0;
    margin-top: -108px; /* Kompensiert main padding-top, damit Hero am oberen Rand beginnt */
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    text-align: left;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transform: perspective(1000px) rotateY(-15deg);
    transition: transform 0.3s ease;
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(-5deg);
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
    line-height: 1;
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.3s;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge svg {
    color: var(--secondary-color);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn svg {
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: translateX(3px);
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 51, 102, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 51, 102, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Platforms Section */
.platforms {
    padding: 4rem 0;
    background: var(--light-gray);
}

.platform-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.platform-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    min-width: 120px;
}

.platform-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.platform-item svg {
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.platform-item:hover svg {
    transform: scale(1.1);
}

.platform-item span {
    font-weight: 600;
    color: var(--text-color);
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: 8rem 0 8.625rem;
    background: var(--white);
    position: relative;
}

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

.feature-item {
    background: var(--white);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-2);
    border-radius: 16px;
    color: var(--white);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.feature-item:hover .feature-icon::after {
    transform: translateX(100%);
}

.feature-item h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-item p {
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-meta {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
    padding: 0.5rem 1rem;
    background: var(--light-gray);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.meta-item:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.meta-item svg {
    color: var(--secondary-color);
}

/* Stats Section */
.stats {
    padding: 6rem 0;
    background: var(--gradient-2);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    opacity: 0.1;
    z-index: 0;
}

.stats .container {
    position: relative;
    z-index: 1;
}

.stats .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.stats .section-header h2 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: var(--white);
}

.stats .section-header p {
    color: var(--white);
    opacity: 0.9;
    font-size: 1.2rem;
}

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

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    color: var(--white);
}

.stat-icon svg {
    color: var(--white);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--white);
    opacity: 0.9;
}

/* Timeline Section */
.timeline {
    padding: 8rem 0;
    background: var(--white);
    position: relative;
}

.timeline h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

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

.timeline-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: all 0.3s ease;
    text-align: center;
    padding: 2rem;
}

.timeline-item:hover {
    transform: translateY(-10px);
}

.timeline-year {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.timeline-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.timeline-item p {
    font-size: 1.1rem;
    opacity: 0.8;
    line-height: 1.6;
}

/* Benefits Section */
.benefits {
    padding: 8rem 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    opacity: 0.05;
    z-index: 0;
}

.benefits .container {
    position: relative;
    z-index: 1;
}

.benefits-swiper {
    padding: 2rem 0;
    margin: 0 -1rem;
    overflow: visible;
}

.benefits-swiper .swiper-slide {
    height: auto;
    padding: 1rem;
}

.benefit-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.benefit-item:hover::before {
    opacity: 0.05;
}

.benefit-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-2);
    border-radius: 16px;
    color: var(--white);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
}

.benefit-content {
    position: relative;
    z-index: 1;
}

.benefit-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.benefit-item p {
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.benefit-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.benefit-item .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
    padding: 0.5rem 1rem;
    background: var(--light-gray);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.benefit-item .meta-item:hover {
    opacity: 1;
    transform: translateY(-2px);
    background: var(--gradient-1);
    color: var(--white);
}

.benefit-item .meta-item svg {
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.benefit-item .meta-item:hover svg {
    color: var(--white);
}

/* Swiper Navigation */
.benefits-swiper .swiper-button-next,
.benefits-swiper .swiper-button-prev {
    color: var(--secondary-color);
    background: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.benefits-swiper .swiper-button-next:after,
.benefits-swiper .swiper-button-prev:after {
    font-size: 1.2rem;
}

.benefits-swiper .swiper-button-next:hover,
.benefits-swiper .swiper-button-prev:hover {
    background: var(--gradient-1);
    color: var(--white);
}

/* Swiper Pagination */
.benefits-swiper .swiper-pagination {
    position: relative;
    margin-top: 2rem;
}

.benefits-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--secondary-color);
    opacity: 0.5;
}

.benefits-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--gradient-1);
}

/* Pricing Section */
.pricing {
    position: relative;
    background: var(--white);
    padding: 8rem 0;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    opacity: 0.1;
    z-index: 0;
}

.pricing .container {
    position: relative;
    z-index: 1;
}

.pricing h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

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

.pricing-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.pricing-icon {
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.pricing-card:hover .pricing-icon {
    background: var(--secondary-color);
    color: var(--white);
    transform: scale(1.1);
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-align: center;
}

.pricing-card .price {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
}

.pricing-card .price-subtitle {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    text-align: center;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-card li {
    margin-bottom: 1rem;
    color: var(--text-color);
    opacity: 0.9;
    line-height: 1.6;
}

.pricing-card li:before {
    content: "✓ ";
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.pricing-card .btn {
    width: 100%;
    text-align: center;
    margin-top: auto;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    border-radius: 30px;
    background: var(--secondary-color);
    border: none;
    color: var(--white);
    font-weight: 700;
    transition: all 0.3s ease;
}

.pricing-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(202, 0, 25, 0.3);
}

/* CTA Section */
.cta {
    position: relative;
    background: var(--gradient-2);
    color: var(--white);
    padding: 8rem 0;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(202,0,25,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.cta p {
    font-size: 1.5rem;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.cta .btn {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    position: relative;
    overflow: hidden;
}

.cta .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.cta .btn:hover::before {
    left: 100%;
}

/* Footer Styles */
.site-footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

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

.footer-widget h3 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-widget ul {
    list-style: none;
}

.footer-widget a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-widget a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.footer-menu a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-menu a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

/* Flyout Menu */
.flyout-menu {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.flyout-toggle {
    background: var(--gradient-1);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 25px 0 0 25px;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 10002;
}

.flyout-toggle:hover {
    width: 60px;
    background: var(--secondary-color);
}

.flyout-content {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    transition: right 0.3s ease;
    z-index: 10001;
    overflow-y: auto;
}

.flyout-menu.active .flyout-content {
    right: 0;
}

.flyout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.flyout-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.flyout-close {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.flyout-close:hover {
    color: var(--secondary-color);
    transform: rotate(90deg);
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(-5px);
    background: var(--gradient-1);
}

.contact-item:hover svg,
.contact-item:hover a,
.contact-item:hover span {
    color: var(--white);
}

.contact-item svg {
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.contact-item a,
.contact-item span {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gradient-1);
    color: var(--white);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-top-bar {
        position: fixed;
        top: 0;
        z-index: 1001;
        padding: 0.4rem 0;
        height: 32px;
    }
    
    .header-top-links {
        gap: 0.75rem;
    }
    
    .header-top-link {
        padding: 0.3rem 0.7rem;
        font-size: 0.75rem;
    }
    
    .main-header {
        top: 32px;
    }
    
    .hero {
        padding-top: 0;
        margin-top: -96px; /* Kompensiert main padding-top auf mobil (32px top bar + ~64px main header) */
    }
    
    main {
        padding-top: 96px; /* Mobile: Header Top Bar (32px) + Main Header (~64px) */
    }
    
    /* Single Post und Page Styles - Mobile */
    .site-main {
        padding-top: 110px; /* Leicht erhöhter Abstand für Einzelansichten auf mobilen Geräten */
    }
    
    .site-main .container {
        padding-top: 1rem;
    }
    
    .contact-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .main-nav {
        padding: 1rem;
    }

    .logo img {
        height: 32px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    /* Hide the desktop nav-links on mobile — the new flyout handles it */
    .nav-links {
        display: none !important;
    }

    .contact-btn {
        width: 100%;
        text-align: center;
        margin-top: 2rem;
        margin-left: 0;
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        background: var(--secondary-color);
        border: none;
        min-width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contact-btn:hover {
        transform: translateY(-2px);
        background: #a30015;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
        gap: 4rem;
        padding-top: 21rem;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
        order: 1;
        margin-bottom: 2rem;
        padding-top: 6rem;
    }

    .hero-image {
        max-width: 250px;
        margin: 0 auto;
        order: 2;
        margin-top: 2rem;
        transform: scale(0.9);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }

    .hero-badge {
        margin: 0 auto 2rem;
    }

    .platform-grid {
        gap: 1rem;
    }

    .platform-item {
        padding: 1.5rem;
        min-width: 100px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1.1rem;
    }

    .features {
        padding: 4rem 0;
    }

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

    .stats {
        padding: 4rem 0;
    }

    .stats .section-header h2 {
        font-size: 2rem;
    }

    .stat-item {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .benefits {
        padding: 4rem 0;
    }

    .benefits-swiper {
        padding: 1rem 0;
    }

    .benefit-item {
        padding: 2rem;
    }

    .benefit-icon {
        width: 56px;
        height: 56px;
    }

    .benefit-item h3 {
        font-size: 1.3rem;
    }

    .benefits-swiper .swiper-button-next,
    .benefits-swiper .swiper-button-prev {
        display: none;
    }

    .timeline {
        padding: 4rem 0;
    }

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

    .pricing {
        padding: 4rem 0;
    }

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

    .pricing-card {
        padding: 2rem;
    }

    .cta {
        padding: 4rem 0;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .footer-widgets {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .footer-menu {
        flex-direction: column;
        gap: 1rem;
    }

    .social-icons {
        display: none;
    }

    /* Flyout – Mobile: transform statt right, vermeidet Containing-Block-Konflikt */
    .flyout-menu {
        position: fixed;
        right: 0;
        top: 0;
        width: 0;
        height: 0;
        transform: none;   /* kein transform → kein falscher Containing Block */
        z-index: 9999;
        pointer-events: none;
    }

    .flyout-toggle {
        position: fixed;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10000;
        width: 40px;
        height: 40px;
        pointer-events: auto;
    }

    .flyout-content {
        position: fixed;
        top: 0;
        right: 0;
        width: min(340px, 92vw);
        height: 100vh;
        transform: translateX(100%);   /* versteckt durch Verschiebung nach rechts */
        transition: transform 0.3s ease;
        pointer-events: none;
        z-index: 10001;
    }

    .flyout-menu.active .flyout-content {
        transform: translateX(0);
        pointer-events: auto;
    }

    .btn {
        width: 100%;
    }
}

/* Hero Animation */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(202,0,25,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0.5; }
}

/* ============================================================
   Werbepakete – 6-Spalten-Grid (front-page.php)
   ============================================================ */

.pricing-grid--6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.pricing-card {
    position: relative;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: box-shadow .2s, border-color .2s;
}

.pricing-card:hover {
    box-shadow: 0 8px 32px rgba(202,0,25,.10);
    border-color: #ca0019;
}

.pricing-card--featured {
    border-color: #ca0019;
    box-shadow: 0 8px 32px rgba(202,0,25,.15);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ca0019;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 20px;
    letter-spacing: .5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.pricing-card .pricing-icon {
    color: #ca0019;
    line-height: 1;
}

.pricing-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: #111;
    margin: 0;
}

.pricing-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.pricing-price-wrap .price {
    font-size: 26px;
    font-weight: 800;
    color: #ca0019;
    line-height: 1;
}

.pricing-price-wrap .price-cycle {
    font-size: 13px;
    color: #6b7280;
}

.pricing-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.pricing-card ul li {
    font-size: 13px;
    color: #374151;
    padding-left: 20px;
    position: relative;
    line-height: 1.4;
}

.pricing-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ca0019;
    font-weight: 700;
}

.pricing-card .btn {
    margin-top: auto;
    text-align: center;
    font-size: 14px;
    padding: 10px 16px;
}

/* Add-ons */
.pricing-addons {
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px 28px 24px;
}

.pricing-addons__title {
    font-size: 16px;
    font-weight: 800;
    color: #111;
    margin: 0 0 18px;
}

.pricing-addons__title span {
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    margin-left: 6px;
}

.pricing-addons__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.pricing-addon-card {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: border-color .2s;
}

.pricing-addon-card:hover { border-color: #ca0019; }

.pricing-addon-icon { color: #ca0019; flex-shrink: 0; }

.pricing-addon-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.pricing-addon-info strong {
    font-size: 14px;
    color: #111;
}

.pricing-addon-info span {
    font-size: 12px;
    color: #6b7280;
}

.pricing-addon-price {
    font-size: 17px;
    font-weight: 800;
    color: #ca0019;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .pricing-grid--6 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .pricing-grid--6 { grid-template-columns: 1fr; }
    .pricing-addons__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Footer – 4-Spalten-Layout
   ============================================================ */
.site-footer { background: #0f0f0f; color: #d1d5db; }

.footer-main { padding: 56px 0 40px; border-bottom: 1px solid #1f1f1f; }

.footer-cols {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.3fr 1fr;
    gap: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
}
.footer-brand__icon { font-size: 22px; }

.footer-tagline {
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.6;
    margin: 0 0 20px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}
.footer-socials a {
    width: 36px;
    height: 36px;
    background: #1f1f1f;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    transition: background .2s, color .2s;
    text-decoration: none;
}
.footer-socials a:hover { background: #ca0019; color: #fff; }

.footer-col__title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: #fff;
    margin: 0 0 16px;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links li a {
    font-size: 13px;
    color: #9ca3af;
    text-decoration: none;
    transition: color .2s;
}
.footer-links li a:hover { color: #fff; }

.footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #9ca3af;
}
.footer-contact-list li svg { color: #ca0019; flex-shrink: 0; margin-top: 1px; }
.footer-contact-list li a { color: #9ca3af; text-decoration: none; transition: color .2s; }
.footer-contact-list li a:hover { color: #fff; }
.footer-contact-cta { margin-top: 8px; }

/* Footer Bottom */
.footer-bottom { padding: 18px 0; }
.footer-bottom__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-copyright { margin: 0; font-size: 12px; color: #6b7280; }
.footer-copyright strong { color: #9ca3af; }
.footer-bottom__links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.footer-bottom__links a {
    font-size: 12px;
    color: #6b7280;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color .2s;
}
.footer-bottom__links a:hover { color: #ca0019; }

@media (max-width: 900px) {
    .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .footer-cols { grid-template-columns: 1fr; }
    .footer-bottom__inner { flex-direction: column; text-align: center; }
}

/* ============================================================
   Startseite – Plattform-Label
   ============================================================ */
.platforms-label {
    text-align: center;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: #9ca3af;
    font-weight: 600;
    margin: 0 0 20px;
}

/* ============================================================
   So funktioniert's
   ============================================================ */
.how-it-works { padding: 80px 0; background: #f9fafb; }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 36px;
}

.step-item {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px 24px;
    position: relative;
    text-align: center;
    transition: box-shadow .2s;
}
.step-item:hover { box-shadow: 0 8px 28px rgba(202,0,25,.1); border-color: #ca0019; }

.step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: #ca0019;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    color: #ca0019;
    margin: 8px auto 14px;
    display: flex;
    justify-content: center;
}

.step-item h3 { font-size: 16px; font-weight: 700; color: #111; margin: 0 0 10px; }
.step-item p  { font-size: 13.5px; color: #6b7280; line-height: 1.6; margin: 0; }

.steps-cta {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { padding: 80px 0; }

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 780px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color .2s;
}
.faq-item:hover { border-color: #ca0019; }

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: #111;
    text-align: left;
    transition: color .2s;
}
.faq-question:hover { color: #ca0019; }
.faq-icon { flex-shrink: 0; color: #ca0019; transition: transform .25s; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s;
    padding: 0 20px;
}
.faq-answer.open {
    max-height: 300px;
    padding: 0 20px 18px;
}
.faq-answer p { margin: 0; font-size: 14px; color: #6b7280; line-height: 1.65; }

/* ============================================================
   Beratungstermin-Banner (Startseite)
   ============================================================ */
.consultation-banner { padding: 80px 0; background: #f9fafb; }

.consultation-banner__inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: center;
}

.consultation-banner__text h2 { font-size: 26px; font-weight: 800; color: #111; margin: 0 0 14px; }
.consultation-banner__text p  { font-size: 15px; color: #6b7280; line-height: 1.65; margin: 0 0 24px; }

.consultation-benefits { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.consultation-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}
.consultation-benefits li svg { color: #16a34a; flex-shrink: 0; }

.consultation-banner__card {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px 28px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,.07);
}
.consultation-card__icon { font-size: 40px; margin-bottom: 12px; }
.consultation-banner__card h3 { font-size: 18px; font-weight: 800; color: #111; margin: 0 0 6px; }
.consultation-banner__card p  { font-size: 13px; color: #6b7280; margin: 0 0 20px; }

.btn--full { width: 100%; display: block; text-align: center; box-sizing: border-box; }

.consultation-card__contact {
    margin-top: 16px;
    font-size: 12px;
    color: #9ca3af;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.consultation-card__contact a { color: #ca0019; text-decoration: none; font-weight: 600; }

/* CTA-Buttons */
.cta-buttons { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 20px; }

@media (max-width: 900px) {
    .steps-grid { grid-template-columns: 1fr; }
    .consultation-banner__inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .steps-cta { flex-direction: column; }
    .cta-buttons { flex-direction: column; }
}

/* ============================================================
   Footer – Logo-Größe begrenzen
   ============================================================ */
.footer-col--brand .custom-logo-link,
.footer-col--brand a.custom-logo-link {
    display: inline-block;
    max-width: 160px;
    margin-bottom: 14px;
}
.footer-col--brand .custom-logo-link img,
.footer-col--brand img.custom-logo {
    max-width: 160px;
    max-height: 48px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* ============================================================
   Logos / Partner-Sektion
   ============================================================ */
.logos-section {
    padding: 52px 0;
    background: #f9fafb;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}
.logos-label {
    text-align: center;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9ca3af;
    font-weight: 700;
    margin-bottom: 28px;
}
.logos-track {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px 48px;
}
.logo-item {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: .55;
    transition: opacity .2s;
    cursor: default;
    user-select: none;
}
.logo-item:hover { opacity: 1; }
.logo-item__mark {
    width: 36px;
    height: 36px;
    background: #e5e7eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.logo-item__name {
    font-size: 14px;
    font-weight: 800;
    color: #374151;
    letter-spacing: -.2px;
    white-space: nowrap;
}

/* ============================================================
   Case Studies
   ============================================================ */
.case-studies { padding: 80px 0; background: #fff; }

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.case-card {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}
.case-card:hover {
    box-shadow: 0 12px 36px rgba(202,0,25,.12);
    transform: translateY(-3px);
}
.case-card__header {
    background: linear-gradient(135deg, #ca0019 0%, #8b0000 100%);
    padding: 24px 22px 20px;
    position: relative;
}
.case-card__industry {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: rgba(255,255,255,.75);
    font-weight: 700;
    margin-bottom: 8px;
}
.case-card__company {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin: 0;
}
.case-card__icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    opacity: .6;
}
.case-card__body { padding: 22px; }
.case-card__quote {
    font-size: 13.5px;
    color: #374151;
    line-height: 1.65;
    font-style: italic;
    margin: 0 0 18px;
    border-left: 3px solid #ca0019;
    padding-left: 14px;
}
.case-card__results {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}
.case-result {
    flex: 1;
    background: #f9fafb;
    border-radius: 10px;
    padding: 12px 10px;
    text-align: center;
}
.case-result__value {
    font-size: 22px;
    font-weight: 900;
    color: #ca0019;
    line-height: 1;
    display: block;
}
.case-result__label {
    font-size: 11px;
    color: #6b7280;
    margin-top: 3px;
    display: block;
    line-height: 1.3;
}
.case-card__package {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #9ca3af;
}
.case-card__package strong { color: #374151; }

/* ============================================================
   Aktuelle Blog-Beiträge
   ============================================================ */
.recent-posts { padding: 80px 0; background: #f9fafb; }

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}
.post-card {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
    display: flex;
    flex-direction: column;
}
.post-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,.1);
    transform: translateY(-2px);
}
.post-card__thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f3f4f6;
}
.post-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.post-card:hover .post-card__thumb img { transform: scale(1.04); }
.post-card__thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    background: linear-gradient(135deg, #fef2f2 0%, #fff 100%);
}
.post-card__body { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.post-card__cat {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: #ca0019;
    font-weight: 700;
    margin-bottom: 8px;
}
.post-card__title {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    line-height: 1.4;
    margin: 0 0 10px;
    flex: 1;
}
.post-card__title a { color: inherit; text-decoration: none; }
.post-card__title a:hover { color: #ca0019; }
.post-card__excerpt { font-size: 13px; color: #6b7280; line-height: 1.55; margin: 0 0 14px; }
.post-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #9ca3af;
    margin-top: auto;
}
.post-card__date { display: flex; align-items: center; gap: 5px; }
.post-card__read-more {
    color: #ca0019;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 3px;
}
.post-card__read-more:hover { text-decoration: underline; }
.posts-cta { text-align: center; }

/* ============================================================
   Werbepakete Grid – Fix komprimiertes Layout
   ============================================================ */
.bbr-pkg-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 22px !important;
    margin-bottom: 48px !important;
    align-items: start !important;
}

@media (max-width: 1100px) {
    .case-grid, .posts-grid { grid-template-columns: 1fr 1fr; }
    .bbr-pkg-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 640px) {
    .case-grid, .posts-grid, .bbr-pkg-grid { grid-template-columns: 1fr !important; }
}

/* ============================================================
   Benefits Grid (static – replaces Swiper)
   ============================================================ */
.benefits-grid-static {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.benefit-card {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px 24px;
    transition: box-shadow .2s, border-color .2s;
}
.benefit-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,.08);
    border-color: #ca0019;
}
.benefit-card__icon {
    width: 56px;
    height: 56px;
    background: #fef2f2;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ca0019;
    margin-bottom: 16px;
}
.benefit-card h3 { font-size: 16px; font-weight: 700; color: #111; margin: 0 0 10px; }
.benefit-card p  { font-size: 14px; color: #6b7280; line-height: 1.6; margin: 0; }
@media (max-width: 1024px) { .benefits-grid-static { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .benefits-grid-static { grid-template-columns: 1fr; } }

/* ============================================================
   Logos / Partners Section
   ============================================================ */
.logos-label {
    text-align: center;
    font-size: 13px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .8px;
    font-weight: 600;
    margin-bottom: 24px;
}

/* ============================================================
   Case Studies (new HTML classes)
   ============================================================ */
.case-studies { padding: 80px 0; background: #f9fafb; }
.case-card__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.case-card__avatar {
    width: 48px;
    height: 48px;
    background: #fef2f2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.case-card__header strong { display: block; font-size: 15px; font-weight: 700; color: #111; }
.case-card__header span  { font-size: 12px; color: #9ca3af; }
.case-card blockquote {
    font-size: 14px;
    color: #374151;
    line-height: 1.65;
    margin: 0 0 20px;
    padding-left: 14px;
    border-left: 3px solid #ca0019;
    font-style: italic;
}
.case-result {
    display: flex;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
}
.case-result__item { flex: 1; text-align: center; }
.case-result__item strong { display: block; font-size: 18px; font-weight: 800; color: #ca0019; }
.case-result__item span  { font-size: 11px; color: #9ca3af; }

/* ============================================================
   Recent Posts Section (new HTML classes)
   ============================================================ */
.recent-posts-section { padding: 80px 0; background: #fff; }
.post-card__img {
    height: 180px;
    overflow: hidden;
    background: #f3f4f6;
    border-radius: 14px 14px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__img--placeholder { color: #d1d5db; }
.post-card__meta { font-size: 12px; color: #9ca3af; margin-bottom: 8px; }
.post-card h3 { font-size: 16px; font-weight: 700; color: #111; margin: 0 0 8px; line-height: 1.4; }
.post-card h3 a { color: inherit; text-decoration: none; }
.post-card h3 a:hover { color: #ca0019; }
.post-card p { font-size: 13px; color: #6b7280; line-height: 1.55; margin: 0 0 14px; }
.post-card__link { font-size: 13px; font-weight: 600; color: #ca0019; text-decoration: none; }
.post-card__link:hover { text-decoration: underline; }
.posts-grid__cta { text-align: center; margin-top: 36px; }
.no-posts { color: #9ca3af; text-align: center; }

/* ============================================================
   Case-card text (replaces blockquote)
   ============================================================ */
.case-card__text {
    font-size: 14px;
    color: #374151;
    line-height: 1.65;
    margin: 0 0 20px;
    padding-left: 14px;
    border-left: 3px solid #ca0019;
}

/* ============================================================
   Logos Carousel (Swiper)
   ============================================================ */
.logos-carousel-label {
    text-align: center;
    font-size: 13px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: .8px;
    font-weight: 600;
    margin-bottom: 24px;
}
.logos-swiper { padding: 8px 0; }
.logos-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 72px;
}
.logo-slide-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    transition: border-color .2s, box-shadow .2s;
    text-decoration: none;
    width: 100%;
    height: 100%;
}
.logo-slide-link:hover {
    border-color: #ca0019;
    box-shadow: 0 4px 12px rgba(202,0,25,.1);
}
.logo-slide-link img {
    max-height: 44px;
    max-width: 120px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .65;
    transition: filter .2s, opacity .2s;
}
.logo-slide-link:hover img { filter: grayscale(0); opacity: 1; }
.logo-slide-placeholder {
    font-size: 12px;
    font-weight: 700;
    color: #9ca3af;
    text-align: center;
    padding: 8px;
}
.logos-empty { text-align: center; color: #9ca3af; font-size: 14px; }

/* ── Erfolgsgeschichten – neue Kartengestaltung ────────────────────────────── */
.case-studies { padding: 80px 0; background: #f9fafb; }

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-card {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 18px;
    padding: 28px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: box-shadow .2s, border-color .2s;
}
.case-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,.09);
    border-color: #ca0019;
}

/* Logo-Bereich */
.case-card__logo-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 52px;
}
.case-card__logo {
    max-height: 48px;
    max-width: 140px;
    width: auto;
    object-fit: contain;
}
.case-card__emoji {
    font-size: 36px;
    line-height: 1;
}

/* Paket-Badge */
.case-card__badge {
    display: inline-block;
    padding: 4px 11px;
    background: #fef2f2;
    color: #ca0019;
    border: 1px solid #fca5a5;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Name & Ort */
.case-card__meta { display: flex; flex-direction: column; gap: 2px; }
.case-card__name { font-size: 16px; font-weight: 800; color: #111; }
.case-card__location { font-size: 12px; color: #9ca3af; }

/* Text */
.case-card__text {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

/* Kennzahlen */
.case-card__stats {
    display: flex;
    gap: 10px;
    padding-top: 4px;
    border-top: 1px solid #f3f4f6;
}
.case-stat {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
}
.case-stat__value {
    font-size: 20px;
    font-weight: 900;
    color: #ca0019;
    line-height: 1;
}
.case-stat__label {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 500;
}

@media (max-width: 900px) { .case-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .case-grid { grid-template-columns: 1fr; } }

/* ── Ansprechpartnerin ──────────────────────────────────────── */
.contact-person {
    background: #f8f9fa;
    padding: 80px 20px;
}
.contact-person__inner {
    display: flex;
    align-items: center;
    gap: 56px;
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 48px 56px;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
}
.contact-person__photo img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center center;
    flex-shrink: 0;
    border: 4px solid #ca0019;
}
.contact-person__label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #ca0019;
    margin-bottom: 6px;
}
.contact-person__name {
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin: 0 0 4px;
}
.contact-person__role {
    font-size: 15px;
    color: #6b7280;
    margin: 0 0 20px;
}
.contact-person__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.contact-person__links li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #ca0019;
    text-decoration: none;
    transition: opacity .15s;
}
.contact-person__links li a:hover { opacity: .75; }
@media (max-width: 640px) {
    .contact-person__inner {
        flex-direction: column;
        text-align: center;
        padding: 36px 28px;
        gap: 28px;
    }
    .contact-person__links { align-items: center; }
}

/* ── Mobile Nav Flyout ───────────────────────────────────────────── */
#bbr-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 9000;
    opacity: 0;
    transition: opacity 0.3s ease;
}
#bbr-mobile-overlay.open {
    display: block;
    opacity: 1;
}

#bbr-mobile-nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 88vw;
    height: 100vh;
    background: #fff;
    z-index: 9001;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 24px rgba(0,0,0,0.15);
    transition: right 0.3s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
}
#bbr-mobile-nav.open {
    right: 0;
}

.bbr-mnav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 16px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}
.bbr-mnav__logo { max-height: 32px; width: auto; display: block; }
.bbr-mnav__logo-text { font-size: 16px; font-weight: 700; color: var(--text-color); text-decoration: none; }
.bbr-mnav__logo-link { text-decoration: none; }

#bbr-mobile-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #555;
    padding: 6px;
    display: flex;
    align-items: center;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}
#bbr-mobile-close:hover { background: #f5f5f5; color: var(--secondary-color); }

.bbr-mnav__links {
    list-style: none;
    margin: 0;
    padding: 12px 0;
    flex: 1;
}
.bbr-mnav__links li { border-bottom: 1px solid #f5f5f5; }
.bbr-mnav__links a {
    display: block;
    padding: 14px 20px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s, background 0.2s;
}
.bbr-mnav__links a:hover {
    color: var(--secondary-color);
    background: #fafafa;
}

.bbr-mnav__footer {
    padding: 20px;
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.bbr-mnav__cta {
    display: block;
    text-align: center;
    background: var(--secondary-color);
    color: #fff !important;
    padding: 14px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.2s;
}
.bbr-mnav__cta:hover { background: #a30015; }
.bbr-mnav__social { display: flex; gap: 10px; justify-content: center; }

/* ── Flyout contact person card ──────────────────────────────────── */
.flyout-person {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f9f9f9;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 20px;
}
.flyout-person__photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
    border: 2px solid var(--secondary-color);
}
.flyout-person__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.flyout-person__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #999;
    font-weight: 600;
}
.flyout-person__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-color);
}
.flyout-person__email {
    font-size: 12px;
    color: var(--secondary-color);
    text-decoration: none;
    word-break: break-all;
}
.flyout-person__email:hover { text-decoration: underline; }

/* ── Booking-Seite: Traueranzeigen-Hinweis ───────────────────────────────── */
.bbr-booking-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff8f8;
    border: 1px solid #fcd5d5;
    border-left: 4px solid #ca0019;
    border-radius: 10px;
    padding: 14px 18px;
    margin: 24px auto;
    max-width: 780px;
    font-family: 'Montserrat', -apple-system, sans-serif;
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
}
.bbr-booking-notice svg { color: #ca0019; flex-shrink: 0; }
.bbr-booking-notice a { color: #ca0019; font-weight: 600; text-decoration: none; }
.bbr-booking-notice a:hover { text-decoration: underline; }

/* ── Montserrat override for adfoxly plugin elements ── */
.adfoxly-btn,
.adfoxly-dashboard,
.adfoxly-dashboard *,
.adfoxly-booking-form,
.adfoxly-booking-form *,
#adfoxly-invoice-modal,
#adfoxly-invoice-modal * {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
