@import url('');
        
        :root {
            --primary: #174a64;
            --gray: #6b7280;
            --light-gray: #f3f4f6;
            --accent: #e5e7eb;
            --white: #ffffff;
            --max-width: 1200px;
            --spacing-xs: 0.5rem;
            --spacing-sm: 1rem;
            --spacing-md: 2rem;
            --spacing-lg: 4rem;
            --spacing-xl: 8rem;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        @font-face {
    font-family: 'Cookie';
    src: url('fonts/cookie/Cookie-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('fonts/Playfair_Display/static/PlayfairDisplay-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('fonts/Lato/static/Lato-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}
        html {
            scroll-behavior: smooth;
        }
       
        body {
            font-family: "Lato", sans-serif !important;
            font-weight: 400;
            line-height: 1.6;
            color: var(--primary);
            background: var(--white);
            font-size: 16px;
            -webkit-font-smoothing: antialiased;
        }

        /* Skip Link */
        .skip-link {
            position: absolute;
            top: -40px;
            left: 0;
            background: var(--primary);
            color: var(--white);
            padding: 8px;
            text-decoration: none;
            z-index: 100;
        }

        .skip-link:focus {
            top: 0;
        }

        /* Container */
        .container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 var(--spacing-md);
        }
        .container2 {
            max-width: var(--max-width);
            padding: 0 var(--spacing-md);
        }

        /* Header */
        header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            z-index: 100;
            border-bottom: 1px solid var(--accent);
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 0;
        }

        .nav-links {
            display: flex;
            gap: 3rem;
            align-items: center;
            list-style: none;
        }

        .nav-links a {
            color: var(--gray);
            text-decoration: none;
            font-size: 0.875rem;
            font-weight: 400;
            transition: color 0.2s;
            letter-spacing: 0.01em;
        }

        .nav-links a:hover {
            color: var(--primary);
        }

        /* Service Switch */
        .service-switch {
            display: flex;
            align-items: center;
            gap: 0;
            background: var(--light-gray);
            border-radius: 100px;
            padding: 2px;
            position: relative;
        }

        .switch-option {
            padding: 0.5rem 1.25rem;
            font-size: 0.875rem;
            color: var(--gray);
            text-decoration: none;
            border-radius: 100px;
            transition: all 0.2s;
            position: relative;
            z-index: 2;
        }

        .switch-option.active {
            color: var(--primary);
            background: var(--white);
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        }

        /* Hero */
        .hero {
            padding-top: calc(80px + var(--spacing-xl));
            padding-bottom: var(--spacing-xl);
            min-height: 90vh;
            display: flex;
            align-items: center;
        }

        .hero-content {
            max-width: 100%;
        }

        .hero h1 {
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 300;
            line-height: 1.1;
            letter-spacing: -0.03em;
            margin-bottom: var(--spacing-md);
        }

        .hero h1 strong {
            font-weight: 500;
        }

        .hero p {
            font-size: 1.25rem;
            color: var(--gray);
            margin-bottom: var(--spacing-lg);
            max-width: 600px;
            font-weight: 300;
        }

        .btn-group {
            display: flex;
            gap: var(--spacing-sm);
            flex-wrap: wrap;
        }

        .btn {
            padding: 0.875rem 2rem;
            border-radius: 100px;
            text-decoration: none;
            font-size: 0.9375rem;
            font-weight: 500;
            transition: all 0.2s;
            display: inline-block;
            border: 1px solid transparent;
        }

        .btn-primary {
            background: var(--primary);
            color: var(--white);
        }

        .btn-primary:hover {
            background: #333;
            transform: translateY(-1px);
        }

        .btn-secondary {
            border: 1px solid var(--accent);
            color: var(--primary);
            background: var(--white);
        }

        .btn-secondary:hover {
            background: var(--light-gray);
        }

        /* Services */
        .services {
            padding: var(--spacing-xl) 0;
            background: var(--light-gray);
        }

        .section-header {
            margin-bottom: var(--spacing-lg);
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 300;
            letter-spacing: -0.02em;
            margin-bottom: var(--spacing-sm);
        }

        .section-subtitle {
            color: var(--gray);
            font-size: 1.125rem;
            font-weight: 300;
        }

        .service-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: var(--spacing-md);
            margin-top: var(--spacing-lg);
        }

        .service-card {
            background: var(--white);
            padding: var(--spacing-lg) var(--spacing-md);
            border-radius: 12px;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .service-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
        }

        .service-number {
            font-size: 0.875rem;
            color: var(--gray);
            margin-bottom: var(--spacing-sm);
            font-weight: 500;
        }

        .service-card h3 {
            font-size: 1.25rem;
            font-weight: 500;
            margin-bottom: var(--spacing-sm);
            letter-spacing: -0.01em;
        }

        .service-card p {
            color: var(--gray);
            font-size: 0.9375rem;
            line-height: 1.7;
        }

        /* About */
        .about {
            padding: var(--spacing-xl) 0;
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: var(--spacing-xl);
            align-items: center;
        }

        .about-text h2 {
            font-size: 2rem;
            font-weight: 300;
            margin-bottom: var(--spacing-md);
            letter-spacing: -0.02em;
        }

        .about-text p {
            color: var(--gray);
            margin-bottom: var(--spacing-md);
            font-size: 1rem;
            line-height: 1.8;
        }

        .about-image {
            aspect-ratio: 4/5;
            background-size: cover;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--gray);
            font-size: 0.875rem;
        }

        /* Stats */
        .stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: var(--spacing-lg);
            margin-top: var(--spacing-lg);
        }

        .stat {
            text-align: center;
        }

        .stat-number {
            font-size: 2.5rem;
            font-weight: 300;
            letter-spacing: -0.02em;
        }

        .stat-label {
            color: var(--gray);
            font-size: 0.875rem;
            margin-top: var(--spacing-xs);
        }

        /* Testimonials */
        .testimonials {
            padding: var(--spacing-xl) 0;
            background: var(--light-gray);

        }

        .testimonial-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: var(--spacing-md);
            margin-top: var(--spacing-lg);
        }

        .testimonial {
            border-radius: 8px;
            height: auto;
            min-height: 380px;
            margin-bottom: var(--spacing-md);
        }

        .testimonial-text {
            font-size: 1rem;
            line-height: 1.8;
            margin-bottom: var(--spacing-md);
            color: var(--primary);
        }

        .testimonial-author {
            font-size: 0.875rem;
            color: var(--gray);
        }

        /* CTA */
        .cta {
            padding: var(--spacing-xl) 0;
            text-align: center;
        }

        .cta h2 {
            font-size: 2.5rem;
            font-weight: 300;
            margin-bottom: var(--spacing-sm);
            letter-spacing: -0.02em;
        }

        .cta p {
            color: var(--gray);
            font-size: 1.125rem;
            margin-bottom: var(--spacing-md);
        }

        /* Footer */
        footer {
            padding: var(--spacing-md) 0;
            border-top: 1px solid var(--accent);
            background: var(--white);
        }

        .footer-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: var(--spacing-md);
        }

        /* Footer Links - Linke Spalte */
        .footer-left {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .footer-info {
            display: flex;
            flex-direction: column;
            gap: 0.2rem;
        }

        .footer-copyright {
            font-weight: 600;
            color: var(--primary);
            font-size: 0.8rem;
        }

        .footer-info a {
            color: var(--gray);
            text-decoration: none;
            font-size: 0.8rem;
            transition: color 0.2s;
        }

        .footer-info a:hover {
            color: var(--primary);
        }

        /* Social Media */
        .footer-social {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .social-label {
            font-size: 0.7rem;
            color: var(--gray);
            text-transform: uppercase;
            letter-spacing: 0.03em;
        }

        .social-icons {
            display: flex;
            gap: 0.5rem;
            align-items: center;
        }

        .social-icons a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.2s ease;
        }

        .social-icons a:hover {
            transform: scale(1.1);
        }

        .social-icons img {
            width: 20px;
            height: 20px;
        }

        /* Footer Mitte - Badge */
        .footer-center {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .footer-badge-img {
            height: 70px;
            width: auto;
        }

        /* Footer Rechts - Rechtliches */
        .footer-right {
            display: flex;
            flex-direction: column;
            gap: 0.2rem;
            text-align: right;
        }

        .footer-legal-label {
            font-size: 0.7rem;
            color: var(--gray);
            text-transform: uppercase;
            letter-spacing: 0.03em;
        }

        .footer-right a {
            color: var(--gray);
            text-decoration: none;
            font-size: 0.8rem;
            transition: color 0.2s;
        }

        .footer-right a:hover {
            color: var(--primary);
        }

        /* Mobile Menu Button */
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
        }

        .mobile-menu-btn span {
            display: block;
            width: 24px;
            height: 2px;
            background: var(--primary);
            margin: 5px 0;
            transition: all 0.3s;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }

            .mobile-menu-btn {
                display: block;
            }

            .hero h1 {
                font-size: 2.5rem;
            }

            .hero p {
                font-size: 1.125rem;
            }

            .about-content {
                grid-template-columns: 1fr;
                gap: var(--spacing-md);
            }

            .stats {
                grid-template-columns: 1fr;
                gap: var(--spacing-md);
            }

            .testimonial-grid {
                grid-template-columns: 1fr;
            }

            .footer-content {
                flex-direction: column;
                gap: var(--spacing-sm);
                text-align: center;
                align-items: center;
            }

            .footer-left,
            .footer-right {
                text-align: center;
                align-items: center;
            }

            .footer-social {
                justify-content: center;
            }

            .footer-badge-img {
                height: 60px;
            }

            .service-switch {
                display: none;
            }
        }

        /* Reduced Motion */
        @media (prefers-reduced-motion: reduce) {
            * {
                animation: none !important;
                transition: none !important;
            }
        }
        .header {
    display: flex;
    align-items: center;   /* vertical alignment with logo */
    gap: 12px;             /* space between logo and text */
    width: 30%;
}

.logo {
    width: 15%;
    height: auto;
}

.text {
    display: flex;
    flex-direction: column;  /* stack name + slogan vertically */

}

.name {
    font-size: 16px;
    font-weight: bold;
}

.slogan {
    font-size: 12px;
    color: #174a64;
}


.nav-links li {
    position: relative;
}



/* Dropdown menu */
.dropdown-menu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 180px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    display: none;
    padding: 8px 0;
    z-index: 1000;
}

.dropdown-menu li a {
    padding: 10px 15px;
    white-space: nowrap;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* Optional hover effect */
.dropdown-menu li a:hover {
    color: #174a64 !important;
}
.testimonial-card {
    width: 100%;
    height: 300px;                 /* REQUIRED or image won’t show */
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    border-radius: 12px;
    margin-top: 20px;
}

/* Learn more label */
.learn-more {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(23, 74, 100, 0.9);
    color: #fff;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
}

/* Optional hover */
.card-link:hover .learn-more {
    background: #174a64;
}
.about-text p {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.6;
}
.card {
    max-width: 700px;             /* center card */
    padding: 30px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left !important;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 6px;
    font-weight: 600;
    color: #174a64;
}

.form-group input,
.form-group textarea {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Focus color */
.form-group input:focus,
.form-group textarea:focus {
    border-color: #174a64;
    box-shadow: 0 0 0 2px rgba(23, 74, 100, 0.2);
}

/* Submit button */
.submit-btn {
    margin-top: 10px;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: #174a64;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #12394d;
}
.cards-row {
    display: flex;
    gap: 30px;
    width: 100%;
    margin-top: 40px;
}

.card {
    flex: 1;
    border-radius: 16px;
    padding: 30px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Text card styling */
.text-card h2 {
    color: #174a64;
    margin-bottom: 15px;
}

.text-card strong {
    color: #174a64;
}

.text-card p {
    line-height: 1.6;
    color: #174a64;
}

/* Image card */
.image-card {
    padding: 0; /* remove padding */
    
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 400px;
}

/* Responsive */
@media (max-width: 900px) {
    .cards-row {
        display: block;   /* ← KEY FIX */
    }

    .image-card {
        width: 100%;
        height: 280px;    /* ← force visible height */
        min-height: unset;
        margin-bottom: 20px;
    }
}

.contact-row {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

.contact-info h3 {
    color: #174a64;
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-details li {
    margin-bottom: 15px;
}

.contact-details strong {
    color: #174a64;
}

.contact-details a {
    color: #174a64;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-row {
        flex-direction: column;
    }
}
.hero {
    background-image: url("img/kain-001_web.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    
}

/* MOBILE FIX */
@media (max-width: 768px) {
    .hero {
        background-image: url("img/kain-001_web-2.jpg");
        margin-top: 100px;
        padding-top: 60px;
        padding-bottom: 60px;
        background-repeat: no-repeat;
        background-size: cover;
    }
    .testimonial {
        margin-top: 20px !important;
        min-height: auto;
        height: auto;
        padding-bottom: 20px;
    }
    .testimonial-card {
        height: 250px;
        margin-top: 15px;
    }
    .testimonial h3,
    .testimonial h4 {
        font-size: 1rem;
        line-height: 1.3;
    }
    .testimonial-grid {
        margin-top: 120px;
        gap: var(--spacing-sm);
    }
    .sma1 {
        font-size: 60px !important;
        margin-top: -50px;
    }
    .sma2 {
        font-size: 38px !important;
    }
}

/* Extra kleine Bildschirme (unter 400px) */
@media (max-width: 400px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    .testimonial {
        margin-top: 15px !important;
        min-height: auto;
        height: auto;
    }
    .testimonial-card {
        height: 200px;
        margin-top: 10px;
    }
    .testimonial h3 {
        font-size: 0.95rem;
        margin-bottom: 2px;
    }
    .testimonial h4 {
        font-size: 0.85rem;
        line-height: 1.2;
        word-wrap: break-word;
        hyphens: auto;
    }
    .sma1 {
        font-size: 48px !important;
    }
    .sma2 {
        font-size: 28px !important;
    }
    .container {
        padding: 0 var(--spacing-sm);
    }
}

/* Sehr kleine Bildschirme (unter 342px) - kritischer Fix */
@media (max-width: 342px) {
    .testimonial-grid {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .testimonial {
        width: 100%;
        margin-top: 10px !important;
        min-height: auto;
        height: auto;
        overflow: visible;
    }
    .testimonial-card {
        height: 180px;
        margin-top: 8px;
    }
    .testimonial h3 {
        font-size: 0.9rem;
    }
    .testimonial h4 {
        font-size: 0.8rem;
        line-height: 1.15;
    }
    .sma1 {
        font-size: 40px !important;
    }
    .sma2 {
        font-size: 24px !important;
        margin-top: -20px !important;
    }
}
.header {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;   /* PREVENT WRAP */
}

.header .logo {
    height: 48px;
    width: auto;
    flex-shrink: 0;
}

.header .text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
/* Desktop */
.nav-links {
    display: flex;
    gap: 24px;
}

/* Mobile */
@media (max-width: 900px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px 0;

        display: none;          /* hidden by default */
    }

    .nav-links.active {
        display: flex;          /* shown when toggled */
    }

    .mobile-menu-btn {
        display: block;
    }
}

/* ========================================
   FOOTER STYLES - 4 SPALTEN LAYOUT
   ======================================== */
footer {
    padding: 2rem 0 !important;
    border-top: 1px solid #e5e7eb;
    background: #fff;
}

footer .footer-content {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 2rem;
}

footer .footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

footer .footer-col-label {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

footer .footer-copyright {
    font-weight: 600;
    color: #174a64;
    font-size: 0.875rem;
}

footer .footer-col a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

footer .footer-col a:hover {
    color: #174a64;
}

/* Social Media Spalte */
footer .footer-col-social {
    align-items: flex-start;
}

footer .social-icons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

footer .social-icons img {
    width: 24px !important;
    height: 24px !important;
    transition: transform 0.2s;
}

footer .social-icons a:hover img {
    transform: scale(1.1);
}

/* Badge Spalte */
footer .footer-col-badge {
    align-items: center;
    justify-content: center;
}

footer .footer-badge-img {
    height: 80px !important;
    width: auto !important;
}

/* Rechtliches Spalte */
footer .footer-col-right {
    text-align: right;
    align-items: flex-end;
}

/* Footer Mobile */
@media (max-width: 768px) {
    footer .footer-content {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 1.5rem !important;
        text-align: center;
    }

    footer .footer-col {
        align-items: center !important;
        min-width: 140px;
    }

    footer .footer-col-social {
        align-items: center;
    }

    footer .footer-col-right {
        text-align: center;
        align-items: center;
    }

    footer .footer-badge-img {
        height: 60px !important;
    }
}

@media (max-width: 500px) {
    footer .footer-content {
        flex-direction: column !important;
        gap: 1.25rem !important;
    }

    footer .footer-col {
        width: 100%;
    }
}