/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.8;
    overflow-x: hidden;
}

/* ===== VERTICAL NAVIGATION ===== */
.vertical-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
    height: 100vh;
    background-color: #000000;
    border-right: 1px solid #333333;
    z-index: 1000;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* ===== NAVIGATION LOGO ===== */
.nav-logo {
    padding: 40px 25px 30px 25px;
    border-bottom: 1px solid #333333;
    flex-shrink: 0;
}

.nav-logo img {
    width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-font-smoothing: subpixel-antialiased;
}

.nav-content {
    padding: 30px 0 40px 0;
    flex: 1;
    overflow-y: auto;
}

.vertical-nav ul {
    list-style: none;
}

.vertical-nav li {
    margin: 0;
}

.vertical-nav a {
    display: block;
    padding: 18px 30px;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.vertical-nav a:hover,
.vertical-nav a.active {
    background-color: rgba(255, 255, 255, 0.05);
    border-left-color: #ffffff;
    padding-left: 35px;
}

/* ===== HAMBURGER MENU (Mobile) ===== */
.menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: space-around;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

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

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

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

/* ===== MAIN CONTENT ===== */
.main-content {
    margin-left: 220px;
    min-height: 100vh;
    padding: 60px 80px;
    max-width: 900px;
}

/* ===== HEADER SECTION ===== */
.header-section {
    margin-bottom: 120px;
    padding-top: 40px;
}

.header-section h1 {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 18px;
    line-height: 1.8;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    margin-bottom: 100px;
    scroll-margin-top: 40px;
}

.content-section h2 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.content-section p {
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 25px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

.content-section h3 {
    font-size: 19px;
    font-weight: 500;
    margin-top: 45px;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
    color: rgba(255, 255, 255, 0.95);
}

/* ===== PARTNER SECTION ===== */
.partner-links {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.partner-item {
    border-left: 2px solid #333333;
    padding-left: 25px;
}

.partner-item h3 {
    font-size: 18px;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
    color: rgba(255, 255, 255, 0.95);
}

.partner-item a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    border-bottom: 1px solid transparent;
    transition: border-bottom-color 0.2s ease;
    display: inline-block;
}

.partner-item a:hover {
    border-bottom-color: #ffffff;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding-top: 40px;
    border-top: 1px solid #333333;
}

.contact-links {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.contact-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 400;
    border-bottom: 1px solid transparent;
    transition: border-bottom-color 0.2s ease;
}

.contact-links a:hover {
    border-bottom-color: #ffffff;
}

/* ===== APPOINTMENT BUTTON ===== */
.appointment-button-container {
    margin-top: 40px;
}

.appointment-button {
    display: inline-block;
    padding: 16px 40px;
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    border: 2px solid #ffffff;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.appointment-button:hover {
    background-color: #000000;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* ===== IMPRESSUM SECTION ===== */
.impressum-section {
    padding-top: 40px;
    border-top: 1px solid #333333;
    margin-bottom: 60px;
}

.impressum-content {
    font-size: 15px;
    line-height: 1.8;
}

.impressum-content p {
    margin-bottom: 20px;
    font-size: 15px;
}

.impressum-content a {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom-color 0.2s ease;
}

.impressum-content a:hover {
    border-bottom-color: #ffffff;
}

.impressum-content strong {
    font-weight: 500;
}

/* ===== SCROLLBAR STYLING ===== */
.nav-content::-webkit-scrollbar {
    width: 6px;
}

.nav-content::-webkit-scrollbar-track {
    background: #000000;
}

.nav-content::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 3px;
}

.nav-content::-webkit-scrollbar-thumb:hover {
    background: #555555;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet (max-width: 1024px) */
@media screen and (max-width: 1024px) {
    .main-content {
        padding: 60px 50px;
    }
}

/* Mobile (max-width: 768px) */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-logo {
        padding: 30px 20px 20px 20px;
    }

    .vertical-nav {
        transform: translateX(-100%);
    }

    .vertical-nav.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        padding: 80px 30px 40px 30px;
    }

    .header-section {
        margin-bottom: 80px;
        padding-top: 20px;
    }

    .header-section h1 {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .subtitle {
        font-size: 16px;
    }

    .content-section {
        margin-bottom: 70px;
    }

    .content-section h2 {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .content-section h3 {
        font-size: 18px;
        margin-top: 35px;
        margin-bottom: 18px;
    }

    .partner-links {
        gap: 30px;
    }

    .partner-item {
        padding-left: 20px;
    }

    .partner-item h3 {
        font-size: 17px;
        margin-bottom: 8px;
    }

    .partner-item a {
        font-size: 15px;
    }

    .content-section p {
        font-size: 16px;
        line-height: 1.8;
    }

    .contact-links {
        flex-direction: column;
        gap: 20px;
    }

    .appointment-button {
        padding: 14px 32px;
        font-size: 16px;
        width: 100%;
        text-align: center;
    }

    .vertical-nav a {
        padding: 16px 25px;
        font-size: 15px;
    }

    .vertical-nav a:hover,
    .vertical-nav a.active {
        padding-left: 30px;
    }
}

/* Small Mobile (max-width: 480px) */
@media screen and (max-width: 480px) {
    .main-content {
        padding: 80px 20px 40px 20px;
    }

    .header-section h1 {
        font-size: 24px;
        line-height: 1.5;
    }

    .subtitle {
        font-size: 15px;
    }

    .content-section h2 {
        font-size: 20px;
    }

    .content-section h3 {
        font-size: 17px;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .partner-links {
        gap: 25px;
    }

    .partner-item {
        padding-left: 15px;
    }

    .partner-item h3 {
        font-size: 16px;
    }

    .partner-item a {
        font-size: 14px;
    }

    .content-section p {
        font-size: 15px;
    }

    .contact-links a,
    .impressum-content {
        font-size: 14px;
    }

    .appointment-button {
        padding: 12px 28px;
        font-size: 15px;
    }
}
