/* Website base for the integrated check. Navigation/footer use their shared styles. */
/* ============================================================
   MediEcho – Home v4 ("Meistempfohlen", mit Megamenü)
   Eigenes CSS, kein Tailwind. Ruhige, redaktionelle Anmutung:
   viel Weißraum, wenige Farben, Handschrift-Akzente (Caveat).
   ============================================================ */

/* ---------- Variablen & Basis ---------- */

:root {
    --green: #80b32c;
    --green-dark: #6a9624;
    --green-soft: rgba(128, 179, 44, 0.1);
    --navy: #0a2540;
    --navy-deep: #031e35;
    --text: #425466;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-soft: #f6f9fc;
    --bg-grad: linear-gradient(150deg, #f6f9fc 0%, #eef2f6 100%);
    --border: #e5e7eb;
    --star: #fbbf24;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --hand: 'Caveat', cursive;

    --radius: 1rem;
    --radius-lg: 1.5rem;
    --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.05);
    --shadow-md: 0 10px 24px -8px rgba(10, 37, 64, 0.12);
    --shadow-lg: 0 25px 50px -12px rgba(10, 37, 64, 0.22);

    --nav-h: 76px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img,
video {
    max-width: 100%;
    display: block;
}

h1,
h2,
h3 {
    color: var(--navy);
    letter-spacing: -0.02em;
    line-height: 1.18;
    margin: 0 0 0.6em;
    font-weight: 800;
}

h2 {
    font-size: clamp(1.9rem, 3.6vw, 2.6rem);
}

h3 {
    font-size: 1.35rem;
    font-weight: 700;
}

p {
    margin: 0 0 1em;
}

a {
    color: var(--green);
    text-decoration: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--navy);
    color: #fff;
    padding: 10px 18px;
    z-index: 200;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    left: 0;
}

::selection {
    background: rgba(128, 179, 44, 0.25);
}

/* Feines Korn über dunklen Flächen */
.noise {
    position: relative;
}

.noise::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.03'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}


.check-content { padding-top: 104px; line-height: normal; }
body.check-site .check-content .hero { padding-top: 60px; padding-bottom: 64px; }
body.check-site .check-content h1 { font-size: clamp(2.5rem, 4.4vw, 4.15rem); line-height: 1.08; }
.check-content [id] { scroll-margin-top: 120px; }
.check-content .result-actions { flex-wrap: wrap; }
@media (max-width: 720px) { .check-content { padding-top: 84px; } body.check-site .check-content .hero { padding-top: 36px; } }
