:root {
    --bg: #f4f7fb;
    --surface: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --primary: #0ea5e9;
    --primary-dark: #0369a1;
    --border: #dbe3ea;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --radius: 16px;
    --max: 1100px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Calibri, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

a {
    color: var(--primary-dark);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: min(var(--max), calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    background: linear-gradient(135deg, #0284c7, #0ea5e9);
    color: #ffffff;
    box-shadow: var(--shadow);
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
    flex-wrap: wrap;
}

.brand h1 {
    margin: 0;
    font-size: 2rem;
    letter-spacing: 1px;
}

.brand p {
    margin: 0.35rem 0 0;
    opacity: 0.95;
}

.contact {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    text-align: right;
}

.contact a,
.main-nav a,
.site-header a {
    color: #fff;
}

.main-nav {
    background: rgba(0,0,0,0.12);
}

.nav-inner {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.9rem 0;
}

.main-nav a {
    padding: 0.6rem 0.9rem;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.main-nav a:hover {
    background: rgba(255,255,255,0.15);
    text-decoration: none;
}

main {
    padding: 2rem 0 3rem;
}

.hero,
.card,
.embed-card,
.gallery-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero {
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.hero h2 {
    margin-top: 0;
    font-size: 2rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    padding: 1.25rem;
}

.card h3 {
    margin-top: 0;
}

.embed-card {
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.embed-card iframe {
    width: 100%;
    min-height: 500px;
    border: 0;
    border-radius: 12px;
    background: #fff;
}

.section-title {
    margin: 0 0 1rem;
    font-size: 1.6rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.gallery-item {
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.gallery-item .caption {
    padding: 0.9rem 1rem 1rem;
    font-size: 0.95rem;
    color: var(--muted);
}

.site-footer {
    background: #0f172a;
    color: #e5e7eb;
    padding: 1.25rem 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-inner a {
    color: #93c5fd;
}

.list-clean {
    margin: 0;
    padding-left: 1.2rem;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.badge {
    background: #e0f2fe;
    color: #075985;
    border: 1px solid #bae6fd;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    font-size: 0.95rem;
}

.header-banner {
    background: url("/bilder/Banner.jpg") center/cover no-repeat;
    position: relative;

    height: 220px;   /* ← HIER stellst du die Höhe ein */
}

/* dunkler Overlay für bessere Lesbarkeit */
.header-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.082);
}

.banner-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: top;   /* ← TEXT UNTEN */
    height: 100%;            /* wichtig! */
    padding-bottom: 50px;
}

.banner-content h1 {
    margin: 0;
    font-size: 2.5rem;
}

.banner-content p {
    margin: 0.5rem 0 0;
}

@media (max-width: 800px) {
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .contact {
        text-align: left;
    }

    .hero h2 {
        font-size: 1.6rem;
    }

    .embed-card iframe {
        min-height: 420px;
    }
}