:root {
    --primary: #4d589d;
    --secondary: #3498db;
    --accent: #e74c3c;
    --light: #ecf0f1;
    --dark: #3b4480;
    --text: #4d589d;
    --text-light: #7f8c8d;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

/* ===========================
   HEADER - Apple Navigation
   =========================== */
header {
    background: rgba(77, 88, 157, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.28, 0.11, 0.32, 1);
}

header.scrolled {
    padding: 0.7rem 0;
    background: rgba(77, 88, 157, 0.8);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    z-index: 1001;
    transition: opacity 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
    cursor: pointer;
}

.logo:hover {
    opacity: 0.7;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    transition: all 0.3s ease;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    position: relative;
    display: inline-block;
    transition: color 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 1px;
    background: white;
    transition: transform 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.nav-links a:hover {
    color: white;
}

.nav-links a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: white;
    margin: 4px 0;
    transition: all 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
    border-radius: 2px;
}

.menu-toggle:hover span {
    background: rgba(255, 255, 255, 0.7);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* ===========================
   HERO SLIDER - Clean & Minimal
   =========================== */
.hero {
    margin-top: 0;
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s cubic-bezier(0.28, 0.11, 0.32, 1);
    transform: scale(1);
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(77, 88, 157, 0.65) 0%, rgba(59, 68, 128, 0.45) 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 90%;
    max-width: 1000px;
}

.hero h1 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.28, 0.11, 0.32, 1) 0.2s forwards;
}

.hero-quote {
    font-size: 1.8rem;
    font-style: italic;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.28, 0.11, 0.32, 1) 0.4s forwards;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.28, 0.11, 0.32, 1) 0.6s forwards;
}

.cta-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 980px;
    font-weight: 400;
    font-size: 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.28, 0.11, 0.32, 1);
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.28, 0.11, 0.32, 1) 0.8s forwards;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.02);
}

.cta-button:active {
    transform: scale(0.98);
}

/* Slider Navigation Dots - Minimal */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.slider-dot.active {
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.25);
}

/* ===========================
   SECTIONS - Apple Fade-in
   =========================== */
section {
    padding: 6rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s cubic-bezier(0.28, 0.11, 0.32, 1);
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--primary);
    position: relative;
    display: inline-block;
    width: 100%;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
    opacity: 0;
    animation: fadeIn 0.8s cubic-bezier(0.28, 0.11, 0.32, 1) 0.3s forwards;
}

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

/* ===========================
   ABOUT SECTION
   =========================== */
.about {
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

.about-image {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.6s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.about-image:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary);
    letter-spacing: -0.01em;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ===========================
   PHILOSOPHY SECTION
   =========================== */
.philosophy {
    background: white;
}

.philosophy-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-quote {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2.5rem;
    font-weight: 300;
    font-style: italic;
    color: var(--primary);
    margin-bottom: 2rem;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.philosophy-text {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

/* ===========================
   SERVICES / FACHBEREICHE - Apple Precision
   =========================== */
.services {
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.28, 0.11, 0.32, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.service-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-6px);
    border-color: rgba(0, 0, 0, 0.06);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.5s cubic-bezier(0.28, 0.11, 0.32, 1);
}

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

.service-icon svg {
    width: 32px;
    height: 32px;
    fill: white;
    transition: transform 0.4s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.service-card:hover .service-icon svg {
    transform: rotate(360deg);
}

.service-card h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary);
    letter-spacing: -0.01em;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-weight: 300;
}

/* ===========================
   FOUNDER SECTION
   =========================== */
.founder {
    background: var(--light);
}

.founder-content {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.founder-content:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.founder-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

.founder-photo-wrapper {
    text-align: center;
}

.founder-photo-image {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.5s cubic-bezier(0.28, 0.11, 0.32, 1);
    background: var(--light);
}

.founder-photo-image:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
    transform: translateY(-4px);
}

.founder-photo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.founder-photo-image:hover img {
    transform: scale(1.05);
}

.founder-name {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary);
    letter-spacing: -0.01em;
}

.founder-title {
    color: var(--secondary);
    font-weight: 400;
    font-size: 1.1rem;
}

.founder-bio h3 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary);
    letter-spacing: -0.01em;
}

.founder-bio p {
    margin-bottom: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
    font-weight: 300;
}

/* ===========================
   GALLERY SECTION
   =========================== */
.gallery {
    background: white;
}

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

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.28, 0.11, 0.32, 1);
    cursor: default;
}

.gallery-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ===========================
   REFERENCES SECTION
   =========================== */
.references {
    background: white;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}

.reference-card {
    background: var(--light);
    padding: 2rem;
    border-radius: 12px;
    border-left: 3px solid var(--secondary);
    transition: all 0.4s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.reference-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-left-color: var(--accent);
}

.reference-card h4 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary);
    letter-spacing: -0.01em;
}

.reference-details {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

/* ===========================
   CONTACT SECTION
   =========================== */
.contact {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: white;
}

.contact-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact h2 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

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

.contact-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.28, 0.11, 0.32, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-item h4 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.contact-item p {
    opacity: 0.9;
    font-size: 1.05rem;
    font-weight: 300;
}

.contact-item a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.contact-item a:hover {
    opacity: 0.7;
}

/* ===========================
   FOOTER
   =========================== */
footer {
    background: var(--dark);
    color: white;
    padding: 3rem 0 2rem;
    text-align: center;
}

footer p {
    opacity: 0.7;
    margin-bottom: 1rem;
    font-weight: 300;
    transition: opacity 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
}

footer p:hover {
    opacity: 0.9;
}

footer a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
}

footer a:hover {
    opacity: 0.7;
}

/* ===========================
   BACK TO TOP BUTTON
   =========================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.28, 0.11, 0.32, 1);
    box-shadow: 0 4px 15px rgba(77, 88, 157, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(77, 88, 157, 0.4);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
    fill: white;
}

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

/* ===========================
   SCROLL PROGRESS BAR
   =========================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

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

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

    .services-grid,
    .references-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .founder-photo-image {
        max-width: 300px;
        height: 350px;
        margin: 0 auto 1.5rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(77, 88, 157, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: left 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        padding: 2rem 0;
        gap: 0.5rem;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        padding: 0.5rem 0;
    }

    .hero {
        height: 600px;
        min-height: 500px;
    }

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

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

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

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

    .about-image {
        height: 300px;
    }

    .services-grid,
    .references-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

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

    .philosophy-quote {
        font-size: 1.8rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .logo {
        font-size: 1.4rem;
    }

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

    .founder-photo-image {
        max-width: 280px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        height: 500px;
    }

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

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

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .service-card,
    .reference-card {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-text h3 {
        font-size: 1.5rem;
    }

    .about-text p,
    .philosophy-text {
        font-size: 1rem;
    }

    .gallery-item img {
        height: 250px;
    }

    .founder-photo-image {
        max-width: 250px;
        height: 280px;
    }
}
