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

:root {
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --text-primary: #e4e4e4;
    --text-secondary: #a0a0a0;
    --accent-color: #764ba2;
    --border-color: rgba(255, 255, 255, 0.1);
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

body {
    font-family: ibm-plex-mono, monospace;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Stolzl als Standard-Schriftart für alle Überschriften */
h1, h2, h3, h4, h5, h6, .logo {
    font-family: stolzl, sans-serif;
}

/* IBM Plex Mono für alle Text-Elemente */
p, li, a, span, div, .nav-links a {
    font-family: ibm-plex-mono, monospace;
}

.header {
    background: rgba(30, 30, 30, 0.7);
    color: var(--text-primary);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

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

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    text-decoration: none;
    transition: transform 0.3s ease;
    display: inline-block;
    position: relative;
}

.logo::before {
    content: 'jan luca buntrock.';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--text-primary) 0%, #667eea 20%, #764ba2 40%, #f093fb 60%, var(--text-primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transition: opacity 0.5s ease;
}

@keyframes gradientFlow {
    0% {
        background-position: -100% 0;
    }
    50% {
        background-position: 50% 0;
    }
    100% {
        background-position: 50% 0;
    }
}

.logo:hover {
    transform: translateY(-2px);
}

.logo:hover::before {
    opacity: 1;
    animation: gradientFlow 1.5s ease-out forwards;
}

.logo:not(:hover) {
    transform: translateY(0);
}

.logo:not(:hover)::before {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.main-content {
    flex: 1;
    padding: 2rem 0;
}

.booking-container {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    margin-bottom: 2rem;
    padding-top: 20px;
}

.heading {
    text-align: center;
    margin-bottom: 2rem;
}

.heading h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.meet-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.05em;
}

.highlight {
    color: transparent;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.heading p {
    color: var(--text-secondary);
}

.footer {
    padding: 2rem 5%;
    text-align: center;
    color: #a8a8a8;
    font-size: 0.9rem;
    background: #1d1d1f;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-family: ibm-plex-mono, monospace;
    margin-top: auto;
}

.footer a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer a:hover {
    color: #764ba2;
}

/* Cal.com container styling */
#my-cal-inline-verabredung {
    width: 100%;
    min-height: 600px; /* Fallback minimum height */
    border: none;
    transition: height 0.3s ease;
}

/* Subtle glow effects */
.main-content::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

.booking-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
    pointer-events: none;
}

/* Dark mode enhancements */
::selection {
    background: var(--accent-color);
    color: #fff;
}

@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    /* Removed fixed height for booking-container to allow dynamic sizing */
    
    .booking-container {
        padding-top: 0; /* Entfernt das obere Padding auf mobilen Geräten */
    }
    
    .heading h1 {
        font-size: 1.8rem;
    }
}
