:root {
    /* Enforce light theme */
    color-scheme: light;

    /* Corporate Colors */
    --color-blue: #1F405F;
    --color-gold: #DDAB56;
    --color-blue-light: #677D91;
    --color-gold-light: #DFB266;
    --color-creme: #EEDFC1;
    --color-off-white: #F6F1E6;

    /* Neutral Colors */
    --color-black: #020305;
    --color-beige: #BFB699;
    --color-grey: #9A937C;

    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Roboto', sans-serif;

    /* Spacing */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --container-width: 1200px;
}

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

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

body {
    font-family: var(--font-secondary);
    background-color: var(--color-off-white);
    color: var(--color-black);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    color: var(--color-blue);
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    color: var(--color-gold);
    font-weight: 500;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

/* Container */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-family: var(--font-primary);
    font-weight: 500;
    cursor: pointer;
    border: none;
}

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

.btn-secondary {
    background-color: var(--color-blue);
    color: white;
}

.btn-gold {
    background-color: var(--color-gold);
    color: var(--color-blue);
}

.btn-gold:hover {
    background-color: var(--color-gold-light);
}

/* Header */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--color-blue);
}

.main-nav a:hover {
    color: var(--color-gold);
}

.lang-switch,
.lang-switcher {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.lang-switch a,
.lang-switcher a {
    font-size: 0.9rem;
    padding: 0.25rem 0.35rem;
    color: var(--color-grey);
}

.lang-switch a.active,
.lang-switcher a.active {
    color: var(--color-blue);
    font-weight: bold;
    border-bottom: 2px solid var(--color-gold);
}

/* Social Section Icons */
.social-icons-large {
    display: flex;
    gap: 3rem;
    justify-content: center;
}

.social-icons-large a {
    color: var(--color-blue);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons-large a:hover {
    color: var(--color-gold);
    transform: scale(1.15);
}

.social-icons-large a svg {
    fill: currentColor;
    width: 100%;
    height: 100%;
}

.social-icons-large a.disabled {
    opacity: 0.4;
    cursor: default;
}

.social-icons-large a.disabled:hover {
    color: var(--color-blue);
    transform: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
    pointer-events: none;
}

.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    /* 16:9 aspect ratio */
    min-height: 100vh;
    min-width: 177.77vh;
    /* 16:9 aspect ratio */
    transform: translate(-50%, -50%);
    filter: saturate(0.3);
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    filter: saturate(0.3);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31, 64, 95, 0.4);
    /* Corporate Blue overlay */
    z-index: -1;
}

.hero-title {
    color: white;
    font-size: 3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections */
.section {
    padding: var(--spacing-lg) 0;
    scroll-margin-top: 100px;
}

.section-padding {
    padding: var(--spacing-lg) 0;
}

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

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

.bg-dark {
    background-color: var(--color-blue);
    color: white;
}

.bg-dark h2 {
    color: var(--color-gold);
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    margin-bottom: 2rem;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    margin-top: 1rem;
}

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

.portfolio-item {
    background: #ccc;
    height: 250px;
    display: flex;
    justify-content: center;
}

/* Testimonials Slider */
.testimonials-section {
    overflow: hidden;
    padding-bottom: 4rem;
    /* Extra padding for aesthetics */
}

.testimonials-slider {
    position: relative;
    width: 100%;
    margin-top: 2rem;
    overflow: hidden;
    /* Hide scrollbar for Chrome, Safari and Opera */
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    padding: 1rem 2rem;
    /* Add horizontal padding to avoid cutting off shadows */
    cursor: grab;
    cursor: -webkit-grab;
}

.testimonials-track:active {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}

/* 
@keyframes scroll removed. 
JS will handle the scrolling and infinite loop. 
*/

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    width: 350px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-image img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    object-fit: cover;
    border: 3px solid var(--color-gold);
}

.testimonial-quote {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--color-blue);
    line-height: 1.5;
    font-size: 1rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-gold);
    font-style: normal;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Form */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    color: var(--color-black);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-blue);
}

/* Footer */
.main-footer {
    background-color: var(--color-black);
    color: white;
    padding: 3rem 0;
}

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

.footer-links a {
    margin-right: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-beige);
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--color-grey);
}

/* Mobile Responsive */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-blue);
    margin: 5px 0;
}

@media (max-width: 768px) {
    .main-header {
        position: relative;
    }

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

    .main-nav {
        display: none;
        /* JS will toggle this */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

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

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-grid,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }
}

/* Linktree Page Styles */
.links-page {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 2rem 1rem;
}

.links-container {
    width: 100%;
    max-width: 680px;
    background: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.links-header {
    margin-bottom: 2rem;
}

.links-logo {
    height: 80px;
    margin: 0 auto;
}

.links-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.links-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: transform 0.2s ease, background-color 0.3s ease;
    text-decoration: none;
    position: relative;
    width: 100%;
}

.links-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: default;
}

.links-btn:hover {
    transform: translateY(-2px);
}

.links-btn svg {
    position: absolute;
    left: 1.5rem;
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.links-btn-glow {
    background: linear-gradient(135deg, #DDAB56 0%, #f3c97c 50%, #DDAB56 100%);
    background-size: 200% auto;
    color: #13283c !important;
    font-weight: 700;
    border: 2px solid #fff;
    box-shadow: 0 0 18px rgba(221, 171, 86, 0.75), 0 6px 20px rgba(31, 64, 95, 0.18);
    animation: linksOfferGlow 2.2s infinite ease-in-out;
}

.links-btn-glow:hover {
    transform: translateY(-3px) scale(1.015);
    background-position: right center;
    box-shadow: 0 0 28px rgba(221, 171, 86, 0.95), 0 8px 25px rgba(31, 64, 95, 0.25);
}

@keyframes linksOfferGlow {
    0%, 100% {
        box-shadow: 0 0 14px rgba(221, 171, 86, 0.65), 0 0 0 0 rgba(221, 171, 86, 0.45);
    }
    50% {
        box-shadow: 0 0 26px rgba(221, 171, 86, 0.95), 0 0 0 8px rgba(221, 171, 86, 0);
    }
}

.links-footer {
    font-size: 0.9rem;
    color: var(--color-grey);
}

.links-footer .lang-switcher {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.links-footer .lang-switcher a {
    color: var(--color-grey);
    text-decoration: none;
}

.links-footer .lang-switcher a.active {
    color: var(--color-blue);
    font-weight: bold;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background-color: var(--color-blue);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    font-size: 0.95rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
}

.cookie-content {
    flex: 1;
    min-width: 250px;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-buttons .btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 0;
        left: 0;
        transform: none;
        border-radius: 8px 8px 0 0;
        width: 100%;
        padding: 1.5rem;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
        /* Stack buttons vertically on mobile */
        gap: 0.5rem;
    }

    .cookie-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

/* Dark Mode Warning Banner */
.dark-mode-warning {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-gold);
    color: var(--color-blue);
    padding: 0.75rem 1rem;
    text-align: center;
    font-weight: 500;
    z-index: 10000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

.dark-mode-warning.show {
    transform: translateY(0);
}

.dark-mode-warning p {
    margin: 0;
    font-size: 0.9rem;
}

.dark-mode-warning .close-warning {
    background: none;
    border: none;
    color: var(--color-blue);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    font-weight: bold;
    padding: 0 0.5rem;
}


/* ==========================================================================
   Footer Legal Links ("neben dem Impressum")
   ========================================================================== */
.footer-legal-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
}

.footer-legal-links li {
    display: inline-flex;
    align-items: center;
}

.footer-legal-links li:not(:last-child)::after {
    content: "•";
    margin-left: 1rem;
    color: var(--color-grey);
}

.footer-legal-links li a {
    color: var(--color-beige);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-legal-links li a:hover {
    color: var(--color-gold);
}

/* ==========================================================================
   Sitemap Page Styling (SEO Optimized & Clean Design)
   ========================================================================== */
.sitemap-section {
    padding: 4rem 0 6rem 0;
    min-height: 80vh;
}

.sitemap-breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-grey);
}

.sitemap-breadcrumbs a {
    color: var(--color-blue);
    text-decoration: none;
    font-weight: 500;
}

.sitemap-breadcrumbs a:hover {
    color: var(--color-gold);
    text-decoration: underline;
}

.sitemap-breadcrumbs .sitemap-sep {
    color: var(--color-grey);
}

.sitemap-header {
    margin-bottom: 3rem;
}

.sitemap-badge-pill {
    display: inline-block;
    background-color: var(--color-creme);
    color: var(--color-blue);
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.sitemap-header h1 {
    font-size: 2.75rem;
    color: var(--color-blue);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.sitemap-intro {
    font-size: 1.15rem;
    color: #444;
    max-width: 800px;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.sitemap-lang-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    background: white;
    padding: 0.85rem 1.25rem;
    border-radius: 8px;
    border: 1px solid rgba(191, 182, 153, 0.4);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.sitemap-lang-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-blue);
}

.sitemap-lang-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sitemap-lang-tag {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--color-blue);
    background: var(--color-off-white);
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.sitemap-lang-tag:hover {
    background: var(--color-creme);
    border-color: var(--color-gold);
}

.sitemap-lang-tag.active {
    background: var(--color-blue);
    color: white;
    font-weight: 600;
}

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

.sitemap-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(191, 182, 153, 0.35);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sitemap-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.sitemap-card-featured {
    border: 2px solid var(--color-gold);
    position: relative;
}

.sitemap-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-off-white);
}

.sitemap-card-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.sitemap-card-header h2 {
    font-size: 1.35rem;
    margin: 0;
    color: var(--color-blue);
    font-weight: 700;
}

.sitemap-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sitemap-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.sitemap-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.sitemap-item-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.sitemap-link {
    font-family: var(--font-primary);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.sitemap-link:hover {
    color: var(--color-gold);
}

.sitemap-link-strong {
    font-size: 1.15rem;
    font-weight: 700;
}

.sitemap-desc {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.35rem;
    line-height: 1.45;
}

.sitemap-tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.sitemap-tag-landing {
    background-color: var(--color-gold);
    color: var(--color-blue);
}

.sitemap-tag-page {
    background-color: var(--color-blue);
    color: white;
}

.sitemap-tag-sec {
    background-color: var(--color-off-white);
    color: var(--color-blue-light);
    border: 1px solid var(--color-beige);
}

.sitemap-tag-tech {
    background-color: var(--color-creme);
    color: var(--color-blue);
}

.sitemap-footer-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-beige);
}

@media (max-width: 768px) {
    .sitemap-grid {
        grid-template-columns: 1fr;
    }
    .sitemap-header h1 {
        font-size: 2.15rem;
    }
    .sitemap-intro {
        font-size: 1rem;
    }
    .sitemap-footer-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .sitemap-footer-actions .btn {
        text-align: center;
    }
}


/* ==========================================================================
   FAQ Section & Accordion Component
   ========================================================================== */

.faq-section {
    padding: 5rem 0;
    background-color: var(--color-off-white, #F6F1E6);
    border-top: 1px solid rgba(31, 64, 95, 0.08);
    position: relative;
}

.faq-container {
    max-width: 880px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 2.75rem;
}

.faq-badge {
    display: inline-block;
    padding: 0.35rem 1.1rem;
    background-color: rgba(221, 171, 86, 0.16);
    border: 1px solid var(--color-gold, #DDAB56);
    color: var(--color-blue, #1F405F);
    font-family: var(--font-primary);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.faq-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-blue, #1F405F);
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.faq-subtitle {
    font-size: 1.05rem;
    color: #556270;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Accordion Container */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

/* Accordion Item Card */
.faq-item {
    background: #ffffff;
    border: 1px solid rgba(31, 64, 95, 0.12);
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(19, 40, 60, 0.03);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
    overflow: hidden;
}

.faq-item:hover {
    border-color: rgba(221, 171, 86, 0.7);
    box-shadow: 0 6px 18px rgba(19, 40, 60, 0.06);
}

.faq-item[open] {
    border-color: var(--color-gold, #DDAB56);
    box-shadow: 0 8px 24px rgba(221, 171, 86, 0.12);
}

/* Summary / Ausklapp-Balken */
.faq-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.6rem;
    cursor: pointer;
    list-style: none;
    user-select: none;
    gap: 1.25rem;
    background: transparent;
    transition: background-color 0.25s ease;
}

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

.faq-summary:focus-visible {
    outline: 2px solid var(--color-gold, #DDAB56);
    outline-offset: -2px;
}

.faq-item[open] .faq-summary {
    background-color: rgba(246, 241, 230, 0.45);
    border-bottom: 1px solid rgba(31, 64, 95, 0.08);
}

.faq-question-text {
    font-family: var(--font-primary);
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--color-blue, #1F405F);
    line-height: 1.45;
    flex: 1;
}

.faq-icon-wrapper {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(31, 64, 95, 0.06);
    color: var(--color-blue, #1F405F);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.25s ease, color 0.25s ease;
}

.faq-icon {
    width: 18px;
    height: 18px;
    display: block;
}

.faq-item:hover .faq-icon-wrapper {
    background-color: rgba(221, 171, 86, 0.22);
    color: var(--color-blue, #1F405F);
}

.faq-item[open] .faq-icon-wrapper {
    background-color: var(--color-gold, #DDAB56);
    color: #ffffff;
    transform: rotate(180deg);
}

/* Expanded Content / Antwort */
.faq-content {
    padding: 1.35rem 1.6rem 1.5rem;
    color: #334155;
    font-size: 1rem;
    line-height: 1.75;
    background: #ffffff;
    animation: faqContentFadeIn 0.25s ease-out;
}

.faq-content-inner p {
    margin: 0;
    color: #334155;
}

.faq-content-inner strong {
    color: var(--color-blue, #1F405F);
    font-weight: 700;
}

@keyframes faqContentFadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FAQ Footer CTA */
.faq-footer-cta {
    margin-top: 2.75rem;
    padding: 1.75rem 2rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px dashed rgba(221, 171, 86, 0.85);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    box-shadow: 0 4px 16px rgba(19, 40, 60, 0.03);
}

.faq-footer-cta-text h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--color-blue, #1F405F);
}

.faq-footer-cta-text p {
    font-size: 0.94rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

.faq-cta-btn {
    white-space: nowrap;
    padding: 0.85rem 1.6rem;
    font-weight: 700;
    font-size: 0.95rem;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 768px) {
    .faq-section {
        padding: 3.5rem 0;
    }
    .faq-title {
        font-size: 1.65rem;
    }
    .faq-subtitle {
        font-size: 0.95rem;
    }
    .faq-summary {
        padding: 1.1rem 1.25rem;
        gap: 0.85rem;
    }
    .faq-question-text {
        font-size: 0.98rem;
    }
    .faq-icon-wrapper {
        width: 32px;
        height: 32px;
    }
    .faq-icon {
        width: 16px;
        height: 16px;
    }
    .faq-content {
        padding: 1.15rem 1.25rem 1.35rem;
        font-size: 0.95rem;
        line-height: 1.65;
    }
    .faq-footer-cta {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 1.5rem 1.25rem;
    }
    .faq-cta-btn {
        width: 100%;
        text-align: center;
    }
}
