:root {
    --primary: #0b4f6c;
    --secondary: #01baef;
    --accent: #f4d35e;
    --light: #f7f7f7;
    --dark: #222;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--dark);
    background-color: white;
    line-height: 1.6;
}

header {
    background: linear-gradient(90deg, #06344a, #0b4f6c, #3bb4e5);
    color: white;
    padding: 1.8rem 10% 1.6rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .brand {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

header h1 {
    margin: 0;
    font-size: 1.6rem;
}

header p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

nav {
    margin-top: 0.75rem;
}

nav a {
    color: white;
    text-decoration: none;
    margin-right: 1.5rem;
    font-size: 0.95rem;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.25rem;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.2s ease;
}

nav a:hover::after {
    width: 100%;
}

main {
    padding: 2.5rem 10% 3rem;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 3rem;
}

.hero-text h2 {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.hero-text p {
    margin-top: 0;
}

.hero-highlight {
    display: inline-block;
    background-color: #8fd3f4;
    color: #0b4f6c;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
	font-weight: 600; /* Schrift fett */
}

.hero-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn {
    border: none;
    border-radius: 999px;
    padding: 0.7rem 1.3rem;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
    font-weight: 500;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 6px 12px rgba(0,0,0,.15);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(0,0,0,.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

.hero-card {
    background-color: var(--light);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.hero-card h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.hero-card ul {
    list-style: none;
    padding-left: 0;
    margin: 0 0 1rem 0;
}

.hero-card li {
    margin-bottom: 0.4rem;
    font-size: 0.92rem;
}

.hero-card li::before {
    content: "✓";
    color: var(--primary);
    margin-right: 0.4rem;
}

section {
    scroll-margin-top: 170px;
}

section h2 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.section-intro {
    margin-top: 0;
    margin-bottom: 1.3rem;
    max-width: 100rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
    border-radius: 0.9rem;
    border: 1px solid #e2e2e2;
    padding: 1.3rem 1.2rem;
    background-color: white;
    transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.card:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,.08);
    transform: translateY(-1px);
    border-color: var(--secondary);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.pill {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    background-color: var(--light);
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.facts {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.fact {
    min-width: 140px;
}

.fact strong {
    display: block;
    font-size: 1.4rem;
    color: var(--primary);
}

.seminar-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.seminar-list li {
    margin-bottom: 0.7rem;
}

.seminar-meta {
    font-size: 0.85rem;
    color: #555;
}

.quote {
    border-left: 4px solid var(--secondary);
    padding-left: 1rem;
    margin: 1rem 0;
    font-style: italic;
    color: #555;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 2rem;
}

form {
    display: grid;
    gap: 0.8rem;
}

label {
    font-size: 0.9rem;
    font-weight: 500;
}

input, textarea {
    width: 100%;
    padding: 0.6rem 0.7rem;
    border-radius: 0.4rem;
    border: 1px solid #ccc;
    font-family: inherit;
    font-size: 0.95rem;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 2px rgba(1,186,239,.2);
}

footer {
    background-color: #111;
    color: #bbb;
    padding: 1.5rem 10%;
    font-size: 0.85rem;
}

footer a {
    color: #ddd;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.footer-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

@media (max-width: 900px) {
    header, main, footer {
        padding-left: 6%;
        padding-right: 6%;
    }
    .hero, .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    nav {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    header {
        position: static;
    }
    .hero-text h2 {
        font-size: 1.6rem;
    }
}

/* -------------------------------------------------- */
/* Hamburger Menü – Mobile Navigation                 */
/* -------------------------------------------------- */

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
	margin-left: auto; /* Schiebt Button sauber nach rechts */
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: 0.3s ease;
}

@media (max-width: 800px) {

    nav.nav-links {
        display: none;
        flex-direction: column;
        background: linear-gradient(135deg, #06344a, #0b4f6c);
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 10%;
        gap: 1rem;
        z-index: 150;
    }

    nav.nav-links.open {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    header {
        padding-right: 12%;
    }
}
