/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Hintergründe - Neutrale Grautöne */
    --bg-base: #0a0a0b;
    --bg-primary: #121214;
    --bg-secondary: #1a1a1e;
    --bg-elevated: #36363a;
    --bg-surface: #2e2e34;
    --bg-overlay: rgba(10, 10, 11, 0.3);

    /* Akzentfarben - Dezentes Cyan/Slate */
    --accent-primary: #64748b;         /* Slate */
    --accent-secondary: #94a3b8;       /* Heller Slate */
    --accent-muted: #475569;
    --accent-subtle: rgba(57, 68, 62, 0.6);
    --accent-subtle-solid: rgb(119, 83, 173);

    /* Borders */
    --border-subtle: rgba(148, 163, 184, 0.1);
    --border-default: rgba(148, 163, 184, 0.2);
    --border-hover: rgba(148, 163, 184, 0.65);
    --border-muted: rgba(148, 163, 184, 0.45);

    /* Text */
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --text-inverse: #0f172a;
    --text-inverse-secondary: #334155;

    /* Effekte */
    --shine: rgba(255, 255, 255, 0.08);
    --shine-accent: rgba(148, 163, 184, 0.2);

    /* Schatten */
    --shadow-color: rgba(0, 0, 0, 0.5);
    --shadow-sm: 0 2px 8px var(--shadow-color);
    --shadow-md: 0 4px 16px var(--shadow-color);
    --shadow-lg: 0 8px 32px var(--shadow-color);
    --shadow-text: 0 2px 8px var(--shadow-color);
    --shadow-text-sm: 0 1px 4px var(--shadow-color);

    /* Glow - Sehr subtil bei neutral */
    --glow-subtle: 0 0 20px rgba(148, 163, 184, 0.08);
    --glow-medium: 0 0 30px rgba(148, 163, 184, 0.12);
    --glow-strong: 0 0 40px rgba(148, 163, 184, 0.18);
}


.text-author {
    font-size: 12px;
    opacity: 0.7;
}

main {
    flex: 1;
}

body {
    font-family: Tahoma, Geneva, Verdana, sans-serif;
    background-image: url(/images/main-background.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-color: var(--bg-overlay);
    z-index: 0;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   SPLASH SCREEN
   ═══════════════════════════════════════════════════════════ */

.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(160deg, var(--bg-base), var(--accent-subtle-solid));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    pointer-events: none;
}

.splash-screen.fade-out {
    animation: splashFadeOut 1s ease-in-out forwards;
}

.splash-logo {
    max-width: 50%;
    max-height: 50vh;
    width: auto;
    height: auto;
    object-fit: contain;
    animation: logoAppear 1s ease-in-out;
}

.splash-screen.fade-out .splash-logo {
    animation: logoMoveToCorner 1s ease-in-out forwards;
}

@keyframes logoAppear {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes logoMoveToCorner {
    from {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    to {
        opacity: 0;
        transform: translate(calc(-50vw + 100px), calc(-50vh + 80px)) scale(0.3);
    }
}

@keyframes splashFadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* ═══════════════════════════════════════════════════════════
   TOP NAVIGATION
   ═══════════════════════════════════════════════════════════ */

.top-nav {
    margin: 0 10px;
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    background: linear-gradient(135deg, var(--bg-elevated), var(--accent-subtle), var(--bg-elevated));
    backdrop-filter: blur(60px);
    opacity: 1;
    border-left: 1px solid var(--border-default);
    border-right: 1px solid var(--border-default);
    border-bottom: 1px solid var(--border-default);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: all 0.3s ease;
    overflow: hidden;
}

.nav-left, .nav-right {
    display: flex;
    gap: 15px;
    z-index: 1;
    position: relative;
}

.nav-right {
    margin-left: auto;
    display: grid;
    grid-auto-columns: 1fr;
    grid-auto-flow: column;
    gap: 15px;
}

.nav-btn {
    position: relative;
    background: var(--border-muted);
    padding: 10px 14px;
    border: 1px solid var(--border-muted);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 20px;
    font-weight: 400;
    font-size: 11px;
    transition: all 0.3s ease;
    overflow: hidden;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--shine-accent), transparent);
    transition: left 0.5s ease;
}

.nav-btn:hover::before {
    left: 100%;
}

.nav-btn:hover {
    background: var(--bg-elevated);
    border-color: var(--border-hover);
    box-shadow: var(--glow-subtle);
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════
   LOGO
   ═══════════════════════════════════════════════════════════ */

.logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    order: -1;
    z-index: 1;
}

.logo-image {
    height: 80px;
    margin: 10px;
    width: auto;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

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

.logo-text {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.logo:hover .logo-text::after {
    transform: scaleX(1);
}

.logo-glow {
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--accent-subtle) 0%, transparent 70%);
    filter: blur(25px);
    opacity: 0.5;
}

.slogan {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 1;
}

.slogan p {
    font-style: italic;
    font-weight: 300;
    font-size: 22px;
    letter-spacing: 3px;
    text-transform: lowercase;
    opacity: 0.7;
}

.slogan::before,
.slogan::after {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--text-muted);
    opacity: 0.3;
}

/* ═══════════════════════════════════════════════════════════
   MAIN CONTENT
   ═══════════════════════════════════════════════════════════ */

.main-content {
    position: relative;
    z-index: 1;
    padding: 60px 50px;
    max-width: 80%;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════ */

.hero-section {
    text-align: center;
    margin-top: 100px;
    padding: 20px 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent-subtle)25%, var(--bg-elevated), var(--accent-subtle)75%);
    backdrop-filter: blur(40px);
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════════════════════
   CONTENT BLOCKS
   ═══════════════════════════════════════════════════════════ */

.content-block {
    display: flex;
    align-items: center;
    gap: 60px;
    margin: 100px 0;
    padding: 60px;
    background: linear-gradient(135deg, var(--bg-elevated), var(--accent-subtle), var(--bg-elevated));
    border-radius: 16px;
    backdrop-filter: blur(16px);
    border: 1.4px solid var(--border-default);
    /*box-shadow: var(--shadow-md);*/
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 1;
    transform: translateY(30px);
}

/*.content-block.animate {
    opacity: 1;
    transform: translateY(0);
}

.content-block:hover {
    box-shadow: var(--shadow-lg), var(--glow-subtle);
    border-color: var(--border-hover);
}*/

.content-block.reverse {
    flex-direction: row-reverse;
}

/* ═══════════════════════════════════════════════════════════
   TEXT CONTENT
   ═══════════════════════════════════════════════════════════ */

.text-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.text-content h2 {
    font-size: 42px;
    margin-bottom: 25px;
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.text-content h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 70%;
    height: 3px;
    background: var(--accent-primary);
}

.text-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* ═══════════════════════════════════════════════════════════
   CTA BUTTON
   ═══════════════════════════════════════════════════════════ */

.cta-button {
    padding: 14px 36px;
    background: var(--bg-surface);
    border: 1px solid var(--border-default);
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--shine), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: var(--bg-elevated);
    border-color: var(--border-hover);
    box-shadow: var(--glow-subtle);
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════
   IMAGE CONTENT
   ═══════════════════════════════════════════════════════════ */

.image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-secondary) 100%);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-secondary);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-subtle) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.image-placeholder:hover .image-overlay {
    opacity: 1;
}

.image-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), var(--glow-subtle);
    border-color: var(--border-hover);
}

.image-placeholder span {
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */

.footer {
    position: relative;
    z-index: 1;
    background: var(--bg-secondary);
    padding: 30px 10px;
    margin-top: 50px;
    border-top: 1px solid var(--border-default);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-btn {
    position: relative;
    padding: 6px 10px;
    min-width: 120px;
    max-width: 120px;
    display: flex;
    justify-content: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 90%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--shine-accent), transparent);
    transition: left 0.5s ease;
}

.footer-btn:hover {
    background: var(--bg-elevated);
    border-color: var(--border-hover);
    box-shadow: var(--glow-subtle);
    transform: translateY(-2px);
}

.footer-btn span {
    position: relative;
    z-index: 1;
}

.footer-copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-muted);
    color: var(--text-muted);
    font-size: 14px;
}

/* ═══════════════════════════════════════════════════════════
   Contact Page
   ═══════════════════════════════════════════════════════════ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
    gap: 20px;
    padding: 20px;
    margin-top: 20px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--bg-elevated), var(--accent-subtle), var(--bg-elevated));
    border: 1px solid var(--border-default);
    border-radius: 16px;
    backdrop-filter: blur(40px);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: var(--glow-subtle);
}

.contact-icon {
    font-size: 32px;
    opacity: 0.8;
}

.contact-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.5;
}

.contact-value {
    font-size: 14px;
    opacity: 0.8;
}











/* ═══════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════ */



@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }
    
    .content-block {
        padding: 40px;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .main-content {
        max-width: 98%;
        padding: 30px 20px;
    }

    .top-nav {
        flex-wrap: wrap;
        justify-content: center;
        padding: 10px 20px;
    }

    .logo {
        order: 0;
        justify-content: center;
        width: 100%;
    }

    .slogan {
        position: relative;
        left: auto;
        transform: none;
        width: 100%;
        justify-content: center;
        order: 1;
        margin-top: 4px;
    }

    .slogan p {
        font-size: 14px;
        letter-spacing: 2px;
    }

    .slogan::before,
    .slogan::after {
        width: 25px;
    }

    .nav-left {
        display: none;
    }

    .nav-right {
        order: 2;
        width: 100%;
        justify-content: center;
        margin-left: 0;
        margin-top: 8px;
    }

   .nav-btn {
        font-size: 10px;
        border-radius: 14px;
        opacity: 0.8;
        margin-top: 8px;
        
    } 

    .hero-title { font-size: 36px; }
    .hero-subtitle { font-size: 18px; }

    .content-block,
    .content-block.reverse {
        flex-direction: column;
        padding: 30px;
        gap: 30px;
    }

    .text-content h2 { font-size: 32px; }
    .text-content p { font-size: 16px; }
    .image-placeholder { height: 300px; }

    .footer { padding: 40px 20px 20px; }
    .footer-buttons { gap: 15px; }
    .footer-btn { padding: 12px 28px; font-size: 14px; }
}