:root {
    --bg-color: #050505;
    --text-color: #f0f0f0;
    --accent-color: #ffffff;
    --font-main: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    position: relative;
    /* Ensure body has at least min-height */
    min-height: 100vh;
}

/* SVG Line Layer */
.line-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* Height will be set by JS or min 100% */
    height: 100%;
    z-index: 1;
    /* Behind text but visible */
    pointer-events: none;
    overflow: visible;
}

#slalom-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

#scroll-line {
    stroke: var(--accent-color);
    stroke-width: 16px;
    /* Deutlich dicker (significantly thicker) */
    fill: none;
    stroke-linecap: square;
    /* Square ends match the geometric feel better? Or round? User said "Lange gerade", let's keep round for turns, but maybe the line itself feels robust. */
    stroke-linejoin: round;
    /* Shadow for neon effect */
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
}

#arrow-head {
    fill: var(--accent-color);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
}

/* Header / Hero */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 5;
}

.logo-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-origin: center;
    width: 100%;
}

.logo {
    max-width: 800px;
    /* Much larger max-width */
    width: 60vw;
    /* Takes up a larger part of the screen */
    height: auto;
    display: block;
    margin-bottom: -4px;
    /* Slight overlap */
}

/* Text Blocks */
main {
    position: relative;
    z-index: 10;
    padding-top: 100px;
    padding-bottom: 100px;
    width: 100%;
    max-width: 1400px;
    /* Wider container for larger blocks */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 300px;
    /* Increased gap to allow for "Long Straight" lines between turns */
}

.text-block {
    width: 55%;
    /* "Etwas größere Textblöcke" - was 40% */
    padding: 4rem;
    /* More padding/content area */
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    /* Slightly sharper corners for the "rectangular" feel? Or keep it round? Let's go with slightly rounded. */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease;
}

.text-block:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
}

.text-block.left {
    align-self: flex-start;
    margin-left: 2%;
    /* Closer to edge to allow space for line in middle */
    text-align: right;
}

.text-block.right {
    align-self: flex-end;
    margin-right: 2%;
    text-align: left;
}

.text-block h2 {
    font-size: 3rem;
    /* Bigger headers */
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.text-block p {
    font-size: 1.25rem;
    /* Bigger text */
    line-height: 1.7;
    color: #ccc;
}

/* Footer & Contact */
.contact-section {
    position: relative;
    padding: 200px 0 100px;
    text-align: center;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.arrow-target {
    width: 20px;
    height: 20px;
    margin-bottom: 30px;
}

.contact-content {
    background: rgba(20, 20, 20, 0.95);
    padding: 4rem 5rem;
    border-radius: 8px;
    /* Sharper */
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.contact-content h2 {
    font-size: 2.5rem;
}

.contact-content p {
    font-size: 1.4rem;
    color: #ddd;
}

.btn-instagram {
    margin-top: 1.5rem;
    display: inline-block;
    padding: 16px 40px;
    border: 3px solid white;
    /* Thicker border */
    color: white;
    font-size: 1.1rem;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border-radius: 4px;
    /* Less rounded */
}

.btn-instagram:hover {
    background: white;
    color: black;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .text-block {
        width: 85%;
        margin: 0 auto !important;
        text-align: center;
    }

    .logo {
        width: 85vw;
    }
}