/* ==========================================================================
   CS-ITC Landing Page — Styles
   Farben: Dunkelrot #8B0000, Schwarz #1a1a1a, Weiß #fff, Hellgrau #f5f5f5
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Barlow', Arial, sans-serif;
    color: #1a1a1a;
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: #8B0000;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #b30000;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Header / Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #e0e0e0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo img {
    height: 50px;
    width: auto;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: #1a1a1a;
    letter-spacing: 0.02em;
}

.header-nav a:hover {
    color: #8B0000;
}

/* Mobile menu button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1.5rem 4rem;
    background: #fff;
}

.hero-content {
    max-width: 750px;
}

.hero-logo {
    max-width: 360px;
    margin: 0 auto 2.5rem;
}

.hero h1 {
    font-family: 'Rajdhani', 'Barlow', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.03em;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hero h1 .accent {
    color: #8B0000;
}

.hero .tagline {
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero .description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.btn {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    background: #8B0000;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border: 2px solid #8B0000;
    border-radius: 3px;
    transition: background 0.25s ease, color 0.25s ease;
    cursor: pointer;
}

.btn:hover {
    background: transparent;
    color: #8B0000;
}

/* --- Kontakt Section --- */
.kontakt {
    padding: 4rem 1.5rem;
    background: #f5f5f5;
    text-align: center;
}

.kontakt-inner {
    max-width: 600px;
    margin: 0 auto;
}

.kontakt h2 {
    font-family: 'Rajdhani', 'Barlow', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    letter-spacing: 0.03em;
}

.kontakt p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.kontakt .email-link {
    font-size: 1.15rem;
    font-weight: 600;
    color: #8B0000;
}

.kontakt .email-link:hover {
    color: #b30000;
}

/* --- Footer --- */
.footer {
    padding: 1.5rem;
    background: #1a1a1a;
    color: #999;
    text-align: center;
    font-size: 0.85rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer a {
    color: #ccc;
    font-size: 0.85rem;
}

.footer a:hover {
    color: #fff;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

/* --- Impressum / Datenschutz Pages --- */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 7rem 1.5rem 4rem;
}

.legal-page h1 {
    font-family: 'Rajdhani', 'Barlow', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
    letter-spacing: 0.03em;
}

.legal-page h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-page p {
    margin-bottom: 1rem;
    color: #444;
    line-height: 1.7;
}

.legal-page a {
    color: #8B0000;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1.25rem;
        box-shadow: -2px 0 12px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
    }

    .header-nav.open {
        right: 0;
    }

    .header-nav a {
        font-size: 1.05rem;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        padding: 5rem 1.25rem 3rem;
        min-height: 90vh;
    }

    .hero-logo {
        max-width: 260px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero .tagline {
        font-size: 1rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .hero-logo {
        max-width: 220px;
    }

    .btn {
        padding: 0.75rem 1.8rem;
        font-size: 0.9rem;
    }
}
