:root {
    --blue: #003C82;
    --blue-deep: #002a5c;
    --blue-bright: #0a8fe0;
    --cyan: #3fd6f5;
    --blue-soft: rgba(0, 60, 130, .08);
    --blue-line: rgba(0, 60, 130, .18);
    --text-soft: rgba(0, 60, 130, .82);
}

* { box-sizing: border-box; }

html, body {
    min-height: 100%;
    margin: 0;
    color: var(--blue);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Edler Hintergrund: Weiß mit hauchzartem Blauverlauf */
body {
    min-height: 100vh;
    min-height: 100svh;
    background:
        radial-gradient(1200px 600px at 50% -10%, rgba(10, 143, 224, .07), transparent 70%),
        radial-gradient(900px 500px at 50% 110%, rgba(0, 60, 130, .05), transparent 70%),
        #fff;
    background-attachment: fixed;
    overflow-x: hidden;
}

/* ---------- Flagge ---------- */
.flag {
    position: fixed;
    top: 14px;
    right: 16px;
    z-index: 10;
    display: inline-flex;
    width: 28px;
    height: 18px;
    border: 1px solid var(--blue);
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
    overflow: hidden;
    transition: transform .15s ease, box-shadow .15s ease;
}
.flag:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }
.flag img { width: 32px; height: 21px; display: block; }

/* ---------- Footer ---------- */
.footer {
    display: flex;
    justify-content: center;
    padding: 0 16px 22px;
}
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 13px;
    line-height: 1.4;
    color: rgba(0, 60, 130, .68);
}
.footer-nav a {
    color: rgba(0, 60, 130, .78);
    text-decoration: none;
    transition: color .15s ease;
}
.footer-nav a:hover {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.footer-separator { color: rgba(0, 60, 130, .36); }

/* ---------- 3D-Glas-Button ---------- */
.glass-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: min(100%, 520px);
    min-height: 76px;
    padding: 18px 40px;
    border-radius: 22px;
    color: #fff;
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    letter-spacing: .06em;
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(0, 30, 80, .45);
    background:
        linear-gradient(135deg, var(--cyan) 0%, var(--blue-bright) 38%, #0656c4 68%, var(--blue-deep) 100%);
    border: 1px solid rgba(255, 255, 255, .35);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, .55),
        inset 0 -6px 14px rgba(0, 25, 70, .45),
        inset 0 0 0 2px rgba(63, 214, 245, .35),
        0 2px 0 #00306a,
        0 14px 30px rgba(0, 60, 130, .30),
        0 30px 60px rgba(10, 143, 224, .18);
    overflow: hidden;
    isolation: isolate;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
/* Glanzkante oben */
.glass-btn::before {
    content: "";
    position: absolute;
    inset: 3px 10px 52% 10px;
    border-radius: 18px 18px 40px 40px / 18px 18px 18px 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .06));
    z-index: -1;
    pointer-events: none;
}
/* Lichtreflex, der beim Hover durchläuft */
.glass-btn::after {
    content: "";
    position: absolute;
    top: -40%;
    left: -60%;
    width: 40%;
    height: 180%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: rotate(18deg);
    transition: left .7s ease;
    pointer-events: none;
}
.glass-btn:hover {
    transform: translateY(-3px);
    filter: saturate(1.08) brightness(1.04);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, .6),
        inset 0 -6px 14px rgba(0, 25, 70, .45),
        inset 0 0 0 2px rgba(63, 214, 245, .45),
        0 2px 0 #00306a,
        0 20px 40px rgba(0, 60, 130, .34),
        0 40px 80px rgba(10, 143, 224, .22);
}
.glass-btn:hover::after { left: 130%; }
.glass-btn:active { transform: translateY(0); }
.glass-btn:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.glass-btn svg { width: 26px; height: 26px; flex: none; transition: transform .2s ease; }
.glass-btn:hover svg { transform: translateX(4px); }

/* ---------- Kleine Buttons ---------- */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 20px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary {
    color: #fff;
    background: linear-gradient(180deg, #0656c4, var(--blue));
    border: 1px solid var(--blue);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 8px 22px rgba(0, 60, 130, .22);
}
.button.primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 12px 28px rgba(0, 60, 130, .3); }
.button.secondary {
    color: var(--blue);
    background: #fff;
    border: 1px solid var(--blue-line);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}
.button.secondary:hover { background: var(--blue-soft); }

/* ================= Kopfbereich (Projekte, Impressum, Datenschutz, Kontakt) =================
   Ruhig und edel: weißer Grund, Logo oben links, Titel in MiMaNex-Blau,
   darunter eine durchgehende blaue Linie. */
.hero {
    padding: 22px 16px clamp(34px, 5vw, 52px);
    text-align: center;
}
.hero-top {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 14px;
}
/* Logo + Glas-Button nebeneinander */
.hero-brand {
    display: flex;
    align-items: center;
    gap: clamp(20px, 4vw, 48px);
}
/* Kleine Variante des Glas-Buttons für den Kopfbereich */
.glass-btn.glass-btn--sm {
    width: auto;
    min-height: 42px;
    padding: 9px 26px;
    gap: 8px;
    border-radius: 13px;
    font-size: 15px;
    letter-spacing: .08em;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .55),
        inset 0 -4px 9px rgba(0, 25, 70, .40),
        inset 0 0 0 1px rgba(63, 214, 245, .35),
        0 1px 0 #00306a,
        0 8px 18px rgba(0, 60, 130, .25);
}
.glass-btn.glass-btn--sm::before {
    inset: 2px 6px 52% 6px;
    border-radius: 10px 10px 24px 24px / 10px 10px 10px 10px;
}
.glass-btn.glass-btn--sm:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .6),
        inset 0 -4px 9px rgba(0, 25, 70, .40),
        inset 0 0 0 1px rgba(63, 214, 245, .45),
        0 1px 0 #00306a,
        0 12px 24px rgba(0, 60, 130, .30);
}
@media (max-width: 420px) {
    .glass-btn.glass-btn--sm { padding: 8px 18px; font-size: 14px; }
}
/* Linie unter dem Logo: Schatten nur nach unten, kein Rahmen an den Seiten */
.hero-top::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: #0a6cc0;
    box-shadow: 0 3px 5px rgba(0, 60, 130, .22);
}
/* Flagge im Kopf: bündig mit der Oberkante des Logos statt fest in der Ecke */
.hero-top .flag {
    position: static;
    flex: none;
}
.hero-logo { display: block; }
.hero-logo img {
    display: block;
    width: clamp(78px, 8vw, 100px);
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 60, 130, .10));
}
.hero-title {
    margin: clamp(14px, 3vw, 26px) auto 0;
}
.hero-title h1 {
    margin: 0;
    font-size: clamp(32px, 4.6vw, 50px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: .01em;
    color: var(--blue);
}
/* ================= Rechtstexte ================= */
.legal {
    width: min(100% - 32px, 820px);
    margin: 0 auto;
    position: relative;
    padding-bottom: 56px;
}
.legal-card {
    background: #fff;
    border: 1px solid var(--blue-line);
    border-radius: 24px;
    box-shadow: 0 2px 0 rgba(0, 60, 130, .04), 0 18px 44px rgba(0, 60, 130, .12);
    padding: clamp(22px, 4vw, 44px);
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.65;
}
.legal-card .legal-meta {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(0, 60, 130, .6);
}
.legal-card h2 {
    margin: 30px 0 10px;
    padding-top: 22px;
    border-top: 1px solid var(--blue-line);
    font-size: clamp(19px, 2.4vw, 23px);
    line-height: 1.3;
    color: var(--blue);
}
.legal-card h2:first-of-type { margin-top: 10px; padding-top: 0; border-top: 0; }
.legal-card h3 {
    margin: 22px 0 6px;
    font-size: 17px;
    color: var(--blue);
}
.legal-card p { margin: 0 0 12px; }
.legal-card ul { margin: 0 0 14px; padding-left: 22px; }
.legal-card li { margin: 4px 0; }
.legal-card li::marker { color: var(--blue-bright); }
.legal-card a {
    color: #0656c4;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(6, 86, 196, .35);
    text-underline-offset: 3px;
}
.legal-card a:hover { color: var(--blue); text-decoration-color: currentColor; }
.legal-card strong { color: var(--blue); }
.info-box {
    margin: 0 0 14px;
    padding: 16px 20px;
    border-radius: 16px;
    background: linear-gradient(180deg, #f7fbff, #eef5fd);
    border: 1px solid rgba(0, 60, 130, .12);
    border-left: 4px solid var(--blue-bright);
    color: var(--blue);
}
/* E-Mail-/Adress-Verschleierung (wie auf der Einkaufslisten-Seite) */
.ob { display: none !important; }
.obf { white-space: nowrap; }
