:root {
    --primary-blue: #084298;
    --accent-yellow: #ffcc00;
    --dark-text: #212529;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    width: 100%;
}

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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--dark-text);
    background-color: var(--white);
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, label:focus-visible {
    outline: 3px solid var(--accent-yellow);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--dark-text);
    color: var(--white);
    padding: 8px;
    z-index: 2000;
    transition: top 0.3s;
}
.skip-link:focus {
    top: 0;
}

/* Header & Navigation (Desktop) */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 5%;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.logo span {
    color: #b38f00;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.25rem 0.5rem;
    transition: var(--transition);
}

nav a:hover {
    color: var(--primary-blue);
}

/* Burger-Menü Standard (Desktop unsichtbar) */
.menu-toggle, .menu-icon {
    display: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #052c65, var(--primary-blue));
    color: var(--white);
    padding: 10rem 5% 6rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    min-height: 90vh;
    width: 100%;
}

.hero-content {
    flex: 1;
    min-width: 0;
    max-width: 100%;
}

.hero-content h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--white);
    overflow-wrap: break-word;
    word-break: break-word;
}

.hero-content h1 span {
    color: var(--accent-yellow);
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: #f8f9fa;
    overflow-wrap: break-word;
}

.btn {
    display: inline-block;
    background: var(--accent-yellow);
    color: var(--dark-text);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: var(--transition);
    text-align: center;
    max-width: 100%;
    overflow-wrap: break-word;
}

.btn:hover {
    transform: translateY(-2px);
    background: #e6b800;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
    max-width: 100%;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 480px;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.25));
}

/* Sections */
section {
    padding: 5rem 5%;
    width: 100%;
}

section:nth-child(even) {
    background: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: 2.3rem;
    margin-bottom: 3rem;
    color: var(--primary-blue);
    position: relative;
    overflow-wrap: break-word;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-yellow);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    width: 100%;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--primary-blue);
    overflow-wrap: break-word;
    word-break: break-word;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

/* Content Boxes */
.content-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Contact Grid & Legal Info */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}

.contact-info {
    min-width: 0;
    overflow-wrap: break-word;
}

.contact-info ul {
    list-style: none;
    margin-top: 1.5rem;
    padding: 0;
}

.contact-info li {
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.5rem;
    overflow-wrap: break-word;
    word-break: break-word;
}

.contact-info strong {
    color: var(--primary-blue);
    min-width: 90px;
}

.contact-info a {
    color: var(--dark-text);
    text-decoration: underline;
    overflow-wrap: anywhere;
    word-break: break-all;
}

.legal-info {
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.legal-info h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: #111;
    color: var(--white);
    text-align: center;
    padding: 2rem 5%;
    font-size: 0.9rem;
    overflow-wrap: break-word;
}

/* ==========================================
   Mobiles Layout (Unter 900px)
   ========================================== */
@media (max-width: 900px) {
    header {
        padding: 0.8rem 1rem;
        justify-content: space-between;
    }

    .logo {
        font-size: 1.1rem;
        max-width: 75%;
        overflow-wrap: break-word;
    }

    .menu-icon {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1100;
        flex-shrink: 0;
    }

    .menu-icon span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: var(--primary-blue);
        border-radius: 2px;
        transition: var(--transition);
    }

    .menu-toggle {
        display: none;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
        padding: 1.5rem 0;
        text-align: center;
        gap: 1.2rem;
    }

    nav a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }

    .menu-toggle:checked ~ nav ul {
        display: flex;
    }

    .hero {
        padding-top: 8rem;
        text-align: center;
        justify-content: center;
    }

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

    .hero-image img {
        max-width: 90%;
        height: auto;
    }

    section {
        padding: 4rem 1rem;
    }

    .contact-grid {
        padding: 1.5rem 1rem;
    }
}