:root {
    --header-h: 95px;
    --logo-h: 100px;
    --logo-overlap: 20px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #fff;
}

.wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-h);
    background: #fff;
    box-shadow: 0 2px 14px rgba(0, 0, 0, .08);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 24px;
}

.brand {
    height: var(--logo-h);
    width: auto;
    position: absolute;
    left: -20px;
    bottom: calc(-1 * var(--logo-overlap) + 5px);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .15));
}

.hero {
    position: relative;
    padding-top: calc(var(--logo-overlap) + 24px);
    min-height: 65vh;
    display: flex;
    align-items: center;
    background-image: url("../Bilder/bild1.jpg");
    background-size: cover;
    background-position: 60% 35%;
    background-repeat: no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .25);
    z-index: 0;
}

.hero>* {
    position: relative;
    z-index: 1;
}

h1 {
    font-size: clamp(32px, 5vw, 56px);
    margin: 8px 0 12px;
    line-height: 1.1;
}

p.lead {
    font-size: clamp(16px, 2.3vw, 20px);
    margin: 0 0 8px;
}

.cta {
    display: inline-block;
    margin-top: 16px;
    padding: 12px 18px;
    border-radius: 12px;
    background: #2586A2;
    color: white;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
    transition: transform .06s ease, box-shadow .2s ease;
}

.cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .12);
}


/* ================== Inhalt ================== */

.grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin: 28px 0;
}

.card {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 18px;
    background: #fff;
    color: #1f2937;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
}

.notice {
    border-left: 4px solid #EFD25B;
    padding: 12px 14px;
    background: #fafafa;
    color: #1f2937;
    border-radius: 10px;
}

footer {
    border-top: 1px solid #e5e7eb;
    margin-top: 28px;
    color: #6b7280;
}

.footer-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding: 18px 0;
}

footer a {
    color: #619cab;
}

@media (max-width: 900px) {
     :root {
        --header-h: 80px;
        --logo-h: 120px;
        --logo-overlap: 20px;
    }
    .hero {
        min-height: 55vh;
        background-position: 50% 40%;
    }
}