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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #ffffff;
    color: #1f2937;
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: auto;
    font-size: 16px;
}

html {
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
    scroll-padding-top: clamp(5rem, 12vh, 6rem);
}

/* Navigation */
nav {
    position: fixed;
    width: 100%;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: min(90vw, 75rem);
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*height: clamp(4rem, 10vh, 5rem);*/
    height: auto;
}

.logo-section {
    display: flex;
    align-items: center;
    /*gap: 1rem;*/
    gap: 0.75rem;
}

.logo-icon {
    width:auto; /* flexibler für kleine Bildschirme */
    /*width: clamp(2.5rem, 6vw, 3.125rem);
    height: clamp(2.5rem, 6vw, 3.125rem);
    border-radius: 0.25rem;*/
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-icon img {
    max-height: 5rem; /* passt sich der Containerhöhe an */
    height: auto;
    width: auto;      /* optional, damit es proportional bleibt */
}


.logo-text h1 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.2;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #60609f;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-switcher {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: #f3f4f6;
}

.lang-btn.active {
    background: #f3f4f6;
}

.flag {
    font-size: 1.25rem;
}

/* Hero Section */
.hero {
    padding: clamp(7rem, 15vh, 10rem) clamp(1rem, 4vw, 2rem) clamp(3rem, 8vh, 5rem);
    background: linear-gradient(to bottom, #f9fafb, #f3f4f6);
}

.hero-container {
    max-width: min(90vw, 75rem);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

@media (min-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-content h1 {
    font-size: clamp(2.25rem, 5vw, 3rem);
    font-weight: 700;
    color: #1f2937;
    margin-bottom: clamp(1rem, 2vh, 1.25rem);
    line-height: 1.2;
}

.hero-content h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    color: #60609f;
    margin-bottom: clamp(1rem, 2vh, 1.5rem);
    font-weight: 600;
    line-height: 1.3;
}

.hero-content p {
    font-size: clamp(1rem, 1.5vw, 1.0625rem);
    color: #6b7280;
    line-height: 1.7;
}

.hero-image {
    border-radius: clamp(0.5rem, 1.5vw, 0.75rem);
    height: clamp(20rem, 40vh, 25rem);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 0.625rem 2.5rem rgba(0, 0, 0, 0.08);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: clamp(0.5rem, 1.5vw, 0.75rem);
}

/* Sections */
section {
    padding: clamp(3rem, 8vh, 5rem) clamp(1rem, 4vw, 2rem);
}

.container {
    max-width: min(90vw, 75rem);
    margin: 0 auto;
}

/* Section Titles */
.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #1f2937;
    margin-bottom: clamp(1rem, 2vh, 1.5rem);
    text-align: center;
    line-height: 1.2;
}

/* Customers */
.customers {
    background: #ffffff;
}

.customers-intro {
    text-align: center;
    color: #6b7280;
    margin-bottom: clamp(2rem, 4vh, 3rem);
    font-size: clamp(1rem, 1.5vw, 1.0625rem);
    line-height: 1.6;
}

.customers-intro a {
    color: #60609f;
    text-decoration: none;
    font-weight: 500;
}

.customers-intro a:hover {
    text-decoration: underline;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(7.5rem, 15vw, 9.375rem), 1fr));
    gap: clamp(2rem, 4vw, 3rem);
    align-items: center;
    justify-items: center;
    max-width: min(85vw, 68.75rem);
    margin: 0 auto;
}

.logo-grid img {
    max-height: clamp(3.5rem, 8vh, 4.375rem);
    max-width: clamp(8rem, 18vw, 10rem);
    object-fit: contain;
    filter: grayscale(100%) brightness(0.5);
    transition: all 0.4s ease;
    opacity: 0;
    animation: logoAppear 0.6s ease-out forwards;
}

@keyframes logoAppear {
    to {
        opacity: 1;
    }
}

.logo-grid img:nth-child(1) { animation-delay: 0.1s; }
.logo-grid img:nth-child(2) { animation-delay: 0.2s; }
.logo-grid img:nth-child(3) { animation-delay: 0.3s; }
.logo-grid img:nth-child(4) { animation-delay: 0.4s; }
.logo-grid img:nth-child(5) { animation-delay: 0.5s; }

.logo-grid img:hover {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.15);
}

/* Profile */
.profile-intro {
    background-color: #f9fafb;
}

.profile-intro .content-wrapper {
    max-width: min(90vw, 75rem);
    margin: 0 auto;
}

.profile-intro h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: #1f2937;
    margin-bottom: clamp(1.5rem, 3vh, 2rem);
    font-weight: 700;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.profile-intro h2::after {
    content: '';
    position: absolute;
    bottom: clamp(-0.5rem, -1vh, -0.625rem);
    left: 0;
    width: clamp(3rem, 6vw, 3.75rem);
    height: clamp(0.2rem, 0.5vh, 0.25rem);
    background: linear-gradient(90deg, #60609f, #8080bf);
    border-radius: 0.125rem;
}

.profile-intro p {
    font-size: clamp(1rem, 1.5vw, 1.0625rem);
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: clamp(1rem, 2vh, 1.5rem);
    max-width: min(85vw, 56.25rem);
}

/* Activities */
.activities-intro {
    background-color: #ffffff;
}

.activities-intro .content-wrapper {
    max-width: min(90vw, 75rem);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 5vw, 4rem);
}

@media (min-width: 968px) {
    .activities-intro .content-wrapper {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.activities-intro .text {
    width: 100%;
}

.activities-intro .image-gallery {
    width: 100%;
}

.activities-intro .image-gallery img {
    width: 100%;
    border-radius: clamp(0.5rem, 1.5vw, 0.75rem);
    box-shadow: 0 0.625rem 2.5rem rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.activities-intro .image-gallery img:hover {
    transform: translateY(-0.3125rem);
}

.activities-intro h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: #1f2937;
    margin-bottom: clamp(1.5rem, 3vh, 2rem);
    font-weight: 700;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.activities-intro h2::after {
    content: '';
    position: absolute;
    bottom: clamp(-0.5rem, -1vh, -0.625rem);
    left: 0;
    width: clamp(3rem, 6vw, 3.75rem);
    height: clamp(0.2rem, 0.5vh, 0.25rem);
    background: linear-gradient(90deg, #60609f, #8080bf);
    border-radius: 0.125rem;
}

.activities-intro p {
    font-size: clamp(1rem, 1.5vw, 1.0625rem);
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: clamp(1rem, 2vh, 1.5rem);
}

.grid-container {
    margin-top: clamp(2.5rem, 5vh, 4rem);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1.5rem, 3vw, 2rem);
    max-width: min(90vw, 75rem);
    margin-left: auto;
    margin-right: auto;
}

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

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}

.service-category {
    background: white;
    border-radius: clamp(0.5rem, 1.5vw, 0.75rem);
    padding: clamp(1.5rem, 3vw, 2rem);
    box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 0.125rem solid transparent;
}

.service-category:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 0.75rem 2.5rem rgba(96, 96, 159, 0.12);
    border-color: #60609f;
}

.category-header {
    background: linear-gradient(135deg, #60609f 0%, #8080bf 100%);
    color: white;
    padding: clamp(1rem, 2vh, 1.25rem);
    border-radius: clamp(0.4rem, 1vw, 0.5rem);
    margin-bottom: clamp(1rem, 2vh, 1.5rem);
    text-align: center;
    font-weight: 600;
    font-size: clamp(1rem, 1.5vw, 1.0625rem);
    line-height: 1.3;
    box-shadow: 0 0.25rem 0.9375rem rgba(96, 96, 159, 0.25);
    min-height: clamp(3rem, 6vh, 3.75rem);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-item {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: clamp(0.875rem, 1.5vh, 1rem) clamp(1rem, 2vw, 1.25rem);
    margin-bottom: clamp(0.625rem, 1vh, 0.75rem);
    border-radius: clamp(0.4rem, 1vw, 0.5rem);
    color: #1f2937;
    font-weight: 500;
    font-size: clamp(0.9rem, 1.3vw, 0.9375rem);
    line-height: 1.5;
    transition: all 0.3s ease;
    border-left: 0.1875rem solid #60609f;
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-item:hover {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    transform: translateX(0.3125rem);
    box-shadow: 0 0.125rem 0.5rem rgba(96, 96, 159, 0.15);
}

/* Contact */
.contact {
    background: #f9fafb;
    color: #000000;
}

.contact .section-title {
    color: #ffffff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 3rem);
    margin-top: clamp(2rem, 4vh, 3rem);
}

@media (min-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 3vh, 2rem);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: clamp(1.25rem, 3vw, 1.5rem);
    height: clamp(1.25rem, 3vw, 1.5rem);
    color: #9ca3af;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-details h3 {
    color: #9ca3af;
    font-size: clamp(0.8125rem, 1.2vw, 0.875rem);
    margin-bottom: clamp(0.375rem, 1vh, 0.5rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-details a {
    color: #1f2937;
    /*color: #ffffff;*/
    text-decoration: none;
    font-size: clamp(1rem, 1.5vw, 1.0625rem);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #9ca3af;
}

.contact-details p {
    color: #ffffff;
    font-size: clamp(1rem, 1.5vw, 1.0625rem);
    line-height: 1.6;
}

.contact-image {
    background: #374151;
    border-radius: clamp(0.5rem, 1.5vw, 0.75rem);
    height: clamp(18rem, 35vh, 25rem);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.contact-image iframe {
    border-radius: clamp(0.5rem, 1.5vw, 0.75rem);
}

/* Footer */
footer {
    background: #111827;
    padding: clamp(1.5rem, 3vh, 2rem);
    color: #9ca3af;
}

.footer-content {
    max-width: min(90vw, 75rem);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: center;
    }
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem clamp(1.5rem, 3vw, 2rem);
    font-size: clamp(0.875rem, 1.3vw, 0.9375rem);
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #60609f;
    text-decoration: underline;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #1f2937;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

/* Responsive Design */
@media (max-width: 768px) {
    section {
        padding: clamp(2rem, 6vh, 3rem) clamp(1rem, 3vw, 1.5rem);
    }

    .hero {
        padding: clamp(6rem, 12vh, 7.5rem) clamp(1rem, 3vw, 1.5rem) clamp(2.5rem, 6vh, 3.75rem);
    }

    /*.nav-container {
        padding: 0 clamp(1rem, 3vw, 1.5rem);
    }*/
    .nav-container {
    height: auto;      /* vorher: clamp(4rem,10vh,5rem) */
    padding: 0.5rem clamp(1rem,3vw,2rem); /* optional, vertikaler Abstand */
    }


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

    .nav-links {
        position: fixed;
        top: clamp(4rem, 10vh, 5rem);
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        max-height: clamp(20rem, 40vh, 25rem);
    }

    .nav-links li {
        border-bottom: 0.0625rem solid #e5e7eb;
    }

    .nav-links a {
        display: block;
        padding: clamp(1rem, 2vh, 1.2rem) clamp(1rem, 3vw, 1.5rem);
        color: #1f2937;
    }

    .nav-links a:hover {
        background: #f9fafb;
        color: #60609f;
    }

    .logo-grid {
        grid-template-columns: repeat(auto-fit, minmax(clamp(6rem, 12vw, 7.5rem), 1fr));
        gap: clamp(1.5rem, 3vw, 2rem);
    }

    .contact-image {
        height: clamp(15rem, 30vh, 18.75rem);
    }
}

@media (max-width: 480px) {

    .logo-icon img {
        max-height: 3rem; /* kleineres Logo für kleine Smartphones */
    }
    .logo-text h1 {
        font-size: clamp(0.875rem, 2.5vw, 1rem);
    }

    section {
        padding: clamp(1.75rem, 5vh, 2.5rem) clamp(0.875rem, 2.5vw, 1rem);
    }

    .hero {
        padding: clamp(5.5rem, 11vh, 6.875rem) clamp(0.875rem, 2.5vw, 1rem) clamp(2.25rem, 5vh, 3.125rem);
    }

    .nav-container {
        padding: 0 clamp(0.875rem, 2.5vw, 1rem);
    }
}


/* Datenschutz & Impressum */
.datenschutz {
    background-color: #ffffff;
    padding-top: clamp(4rem, 8vh, 6rem) !important;
}

.datenschutz .content-wrapper {
    max-width: min(85vw, 56.25rem);
    margin: 0 auto;
}

.datenschutz .text {
    background: white;
    border-radius: clamp(0.5rem, 1.5vw, 0.75rem);
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.06);
}

.datenschutz h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: #1f2937;
    margin-bottom: clamp(1.5rem, 3vh, 2rem);
    font-weight: 700;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.datenschutz h2::after {
    content: '';
    position: absolute;
    bottom: clamp(-0.5rem, -1vh, -0.625rem);
    left: 0;
    width: clamp(3rem, 6vw, 3.75rem);
    height: clamp(0.2rem, 0.5vh, 0.25rem);
    background: linear-gradient(90deg, #60609f, #8080bf);
    border-radius: 0.125rem;
}

.datenschutz h3 {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: #60609f;
    margin-top: clamp(2rem, 4vh, 2.5rem);
    margin-bottom: clamp(1rem, 2vh, 1.25rem);
    font-weight: 600;
    line-height: 1.3;
}

.datenschutz p {
    font-size: clamp(1rem, 1.5vw, 1.0625rem);
    line-height: 1.7;
    color: #4b5563;
}

.datenschutz ol {
    margin-left: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: clamp(1rem, 2vh, 1.5rem);
}

.datenschutz ol li {
    font-size: clamp(1rem, 1.5vw, 1.0625rem);
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: clamp(0.75rem, 1.5vh, 1rem);
    padding-left: 0.5rem;
}

.datenschutz ul {
    margin-left: clamp(1.5rem, 3vw, 2rem);
    margin-top: clamp(0.5rem, 1vh, 0.75rem);
    margin-bottom: clamp(0.75rem, 1.5vh, 1rem);
}

.datenschutz ul li {
    font-size: clamp(0.9375rem, 1.4vw, 1rem);
    line-height: 1.6;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

/* Impressum Sections */

.impressum-section:first-of-type {
    margin-top: 0;
}

.impressum-grid {
    display: flex;
    flex-direction: column;
    gap: clamp(0.75rem, 1.5vh, 1rem);
}

.impressum-item {
    display: grid;
    grid-template-columns: minmax(auto, 12rem) 1fr;
    gap: 1rem;
    align-items: baseline;
}

.impressum-label {
    font-weight: 600;
    color: #60609f;
    font-size: clamp(0.9375rem, 1.4vw, 1rem);
}

.impressum-value {
    color: #4b5563;
    font-size: clamp(0.9375rem, 1.4vw, 1rem);
    line-height: 1.6;
}

.impressum-value a {
    color: #60609f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.impressum-value a:hover {
    color: #4f4f85;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .impressum-item {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
}