/* ==========================================================================
   MindShivt - Master Stylesheet (v4.0)
   - Logo Left, Nav Center, Social Buttons Right
   - Pixel-Based Automatic Responsiveness & Zero-Scroll Desktop Viewport
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & CSS Variables
   -------------------------------------------------------------------------- */
:root {
    --color-navy-dark: #161937;
    --color-navy-card: #1D2144;
    --color-navy-footer: #1A1D39;
    --color-lime-accent: #D4F72C;
    --color-text-main: #161937;
    --color-text-body: #4B5366;
    --color-text-muted: #5C6479;
    --color-text-footer: #CBD5E0;
    --color-white: #FFFFFF;
    --color-border-light: #EEF0F4;
    
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    
    --container-max-width: 1240px;
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Box Sizing
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-white);
    color: var(--color-text-body);
    line-height: 1.5;
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 32px;
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   3. Header Navigation (Logo Left, Nav Middle, Social Right)
   -------------------------------------------------------------------------- */
.site-header {
    background-color: var(--color-white);
    padding: 24px 0 16px 0;
    width: 100%;
    flex-shrink: 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
}

.header-logo-wrapper {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.brand-logo:hover {
    opacity: 0.85;
}

.logo-img {
    height: 38px;
    width: auto;
    display: block;
}

/* Centered Middle Navigation Menu */
.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.main-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-main);
    text-decoration: none;
    padding-bottom: 4px;
    position: relative;
    white-space: nowrap;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: #3b427a;
}

/* Active Page Underline */
.nav-link.active {
    font-weight: 700;
    color: var(--color-text-main);
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 2.5px;
}

/* Far Right Social Media Buttons (LinkedIn & Xing) */
.social-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #F1F3F7;
    color: var(--color-navy-dark);
    text-decoration: none;
    transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.social-link:hover {
    background-color: var(--color-navy-dark);
    color: var(--color-lime-accent);
    transform: translateY(-2px);
}

.social-icon {
    width: 17px;
    height: 17px;
}

/* --------------------------------------------------------------------------
   4. Hero Section & Main Views (Home / Kontakt)
   -------------------------------------------------------------------------- */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    width: 100%;
}

.hero-section {
    padding: 20px 0 32px 0;
    display: flex;
    align-items: center;
    flex: 1;
    width: 100%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

/* Eyebrow Label */
.eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    display: block;
}

/* Hero Headline */
.hero-title {
    font-size: clamp(34px, 3.2vw, 48px);
    font-weight: 800;
    line-height: 1.14;
    color: var(--color-navy-dark);
    letter-spacing: -1px;
    margin-bottom: 24px;
    max-width: 580px;
}

/* Hero Paragraph Intro */
.hero-intro {
    font-size: clamp(16px, 1.3vw, 18px);
    font-weight: 500;
    line-height: 1.5;
    color: var(--color-text-body);
    margin-bottom: 28px;
    max-width: 520px;
}

.hero-intro p {
    margin-bottom: 8px;
}

.hero-intro p:last-child {
    margin-bottom: 0;
}

/* Primary Button (Home CTA) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    border-radius: 100px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--color-navy-dark);
    color: var(--color-lime-accent);
    padding: 15px 34px;
    font-size: 15px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(22, 25, 55, 0.22);
    background-color: #1f234c;
}

/* --------------------------------------------------------------------------
   5. Contact Card Box (Bild 2)
   -------------------------------------------------------------------------- */
.contact-card {
    background-color: var(--color-navy-card);
    border-radius: 18px;
    padding: clamp(24px, 2.2vw, 32px) clamp(28px, 2.5vw, 36px);
    width: 100%;
    max-width: 480px;
    color: var(--color-white);
    margin-top: 8px;
    box-shadow: 0 12px 32px rgba(29, 33, 68, 0.12);
}

.contact-card-brand {
    font-size: 13px;
    font-weight: 700;
    color: #A0AEC0;
    display: block;
    margin-bottom: 6px;
}

.contact-card-name {
    font-size: clamp(22px, 2vw, 26px);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.contact-card-address {
    font-size: 14px;
    color: #CBD5E0;
    margin-bottom: 22px;
    font-weight: 500;
}

.contact-card-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #E2E8F0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.contact-item:hover {
    color: var(--color-lime-accent);
}

.contact-icon {
    width: 18px;
    height: 18px;
    color: #A0AEC0;
    flex-shrink: 0;
}

.contact-item:hover .contact-icon {
    color: var(--color-lime-accent);
}

/* --------------------------------------------------------------------------
   6. Coach Portrait Image Container
   -------------------------------------------------------------------------- */
.hero-image-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    height: 100%;
}

.portrait-container {
    width: 100%;
    max-width: 440px;
    border-radius: 4px;
    overflow: hidden;
    background-color: #E6E4E2;
}

.portrait-img {
    width: 100%;
    height: auto;
    max-height: calc(100vh - 160px);
    display: block;
    object-fit: cover;
}

/* --------------------------------------------------------------------------
   7. Placeholder Section
   -------------------------------------------------------------------------- */
.placeholder-section {
    padding: 60px 0;
    text-align: center;
    width: 100%;
}

.placeholder-box {
    background-color: #F8FAFC;
    border: 1px solid var(--color-border-light);
    border-radius: 16px;
    padding: 48px 32px;
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
}

.placeholder-box h1 {
    font-size: 28px;
    color: var(--color-navy-dark);
    margin-bottom: 12px;
}

.placeholder-box p {
    font-size: 16px;
    color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   8. Footer Section
   -------------------------------------------------------------------------- */
.site-footer {
    background-color: var(--color-navy-footer);
    color: var(--color-text-footer);
    padding: 18px 0;
    width: 100%;
    margin-top: auto;
    flex-shrink: 0;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    width: 100%;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.footer-logo {
    height: 26px;
    width: auto;
    display: block;
}

.footer-copyright {
    font-weight: 600;
    color: #CBD5E0;
    font-size: 14px;
}

.footer-right {
    display: flex;
    gap: 28px;
}

.footer-link {
    color: #A0AEC0;
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.footer-link:hover,
.footer-link.active {
    color: var(--color-white);
}

/* --------------------------------------------------------------------------
   9. Desktop Zero-Scroll Viewport Lock (27" / 1080p / 1440p Monitors)
   -------------------------------------------------------------------------- */
@media (min-width: 993px) and (min-height: 650px) {
    html, body {
        height: 100vh;
        max-height: 100vh;
        overflow: hidden;
    }

    .main-content {
        height: calc(100vh - 120px);
        overflow: hidden;
    }

    .hero-section {
        height: 100%;
        padding: 0;
    }

    .portrait-img {
        max-height: calc(100vh - 150px);
        object-fit: cover;
    }
}

/* --------------------------------------------------------------------------
   10. Automatic Pixel-Based Mobile / Tablet Responsiveness (Max Width: 992px)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    html, body {
        height: auto;
        max-height: none;
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }

    .container {
        padding: 0 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .site-header {
        padding: 16px 0 12px 0;
        width: 100%;
    }

    /* Automatic Header Layout Switch on Mobile */
    .header-container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
    }

    .header-logo-wrapper {
        order: 1;
    }

    .social-nav {
        order: 2;
        gap: 8px;
    }

    .social-link {
        width: 32px;
        height: 32px;
    }

    .social-icon {
        width: 15px;
        height: 15px;
    }

    .main-nav {
        order: 3;
        width: 100%;
        margin-top: 4px;
    }

    .main-nav .nav-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px 12px;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .nav-link {
        font-size: 13.5px;
        font-weight: 600;
        padding: 4px 8px;
        color: var(--color-text-main);
        text-decoration: none;
        white-space: nowrap;
    }

    .nav-link.active {
        font-weight: 700;
        color: var(--color-text-main);
        text-decoration: underline;
        text-underline-offset: 4px;
        text-decoration-thickness: 2px;
    }

    /* Mobile Page Views */
    .main-content {
        height: auto;
        min-height: auto;
        overflow: visible;
        width: 100%;
    }

    .hero-section {
        padding: 20px 0 40px 0;
        height: auto;
        min-height: auto;
        width: 100%;
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        gap: 28px;
        width: 100%;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
    }

    .eyebrow {
        font-size: 11px;
        letter-spacing: 1.5px;
        margin-bottom: 12px;
    }

    .hero-title {
        font-size: clamp(24px, 6vw, 34px);
        line-height: 1.22;
        margin-bottom: 16px;
        letter-spacing: -0.5px;
        max-width: 100%;
        word-break: break-word;
    }

    .hero-intro {
        font-size: 15px;
        line-height: 1.48;
        margin-bottom: 24px;
        max-width: 100%;
    }

    .btn-primary {
        width: 100%;
        padding: 16px 20px;
        font-size: 15px;
        text-align: center;
        justify-content: center;
        box-sizing: border-box;
    }

    /* Mobile Contact Card Fix */
    .contact-card {
        width: 100%;
        max-width: 100%;
        padding: 22px 18px;
        border-radius: 16px;
        margin-top: 0;
        box-sizing: border-box;
    }

    .contact-card-name {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .contact-card-address {
        font-size: 13.5px;
        margin-bottom: 18px;
    }

    .contact-item {
        font-size: 13px;
        gap: 10px;
        word-break: break-all;
        overflow-wrap: anywhere;
    }

    /* Mobile Coach Portrait */
    .hero-image-wrapper {
        width: 100%;
        justify-content: center;
        margin-top: 4px;
    }

    .portrait-container {
        width: 100%;
        max-width: 100%;
        border-radius: 12px;
        overflow: hidden;
    }

    .portrait-img {
        width: 100%;
        height: auto;
        max-height: 420px;
        object-fit: cover;
        border-radius: 12px;
    }

    /* Mobile Placeholders */
    .placeholder-section {
        padding: 36px 0;
        width: 100%;
    }

    .placeholder-box {
        width: 100%;
        max-width: 100%;
        padding: 32px 18px;
        border-radius: 16px;
        box-sizing: border-box;
    }

    .placeholder-box h1 {
        font-size: 24px;
    }

    .placeholder-box p {
        font-size: 15px;
    }

    /* Mobile Footer */
    .footer-container {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
        width: 100%;
    }

    .footer-left {
        flex-wrap: wrap;
    }

    .footer-logo {
        height: 22px;
    }

    .footer-right {
        gap: 20px;
    }

    .footer-link {
        font-size: 13.5px;
    }
}
