/* =========================================================
   Jung & Meyer GmbH – Modernes, zurückhaltendes Stylesheet
   ========================================================= */

:root {
    --c-bg:        #f7f9fc;
    --c-surface:   #ffffff;
    --c-text:      #0f1f33;
    --c-muted:     #5a6a7d;
    --c-primary:   #0a3d62;
    --c-primary-2: #1e6091;
    --c-accent:    #00b894;
    --c-border:    #e3e8ef;
    --c-shadow:    0 6px 24px rgba(10, 61, 98, .08);
    --c-shadow-lg: 0 20px 60px rgba(10, 61, 98, .12);
    --radius:      14px;
    --radius-sm:   8px;
    --maxw:        1180px;
    --font:        "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--c-text);
    background: var(--c-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--c-primary-2); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--c-primary); text-decoration: underline; }

h1, h2, h3, h4 { color: var(--c-primary); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4vw + .5rem, 3.2rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 2.2vw + .4rem, 2.2rem); }
h3 { font-size: 1.15rem; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Header ---------- */
.site-header {
    background: rgba(255,255,255,.85);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--c-border);
    position: sticky; top: 0; z-index: 50;
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: .85rem 1.25rem;
}
.brand {
    display: inline-flex; align-items: center; gap: .75rem;
    color: var(--c-primary); text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 10px;
    background: linear-gradient(135deg, var(--c-primary), var(--c-primary-2));
    color: #fff; font-weight: 700; font-size: .95rem; letter-spacing: .02em;
    box-shadow: var(--c-shadow);
}
.brand-text strong { display: block; font-size: 1.05rem; line-height: 1.1; }
.brand-text small  { color: var(--c-muted); font-size: .8rem; }

.site-nav ul {
    list-style: none; margin: 0; padding: 0;
    display: flex; gap: .25rem;
}
.site-nav a {
    display: inline-block; padding: .55rem .9rem; border-radius: 8px;
    color: var(--c-text); font-weight: 500;
}
.site-nav a:hover,
.site-nav a.active {
    background: rgba(10, 61, 98, .08);
    color: var(--c-primary);
    text-decoration: none;
}

/* Mobile burger */
.nav-toggle, .nav-burger { display: none; }
@media (max-width: 820px) {
    .nav-burger {
        display: inline-flex; flex-direction: column; gap: 5px;
        cursor: pointer; padding: 10px;
    }
    .nav-burger span {
        width: 24px; height: 2px; background: var(--c-primary); border-radius: 2px;
        transition: transform .25s, opacity .25s;
    }
    .site-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        background: #fff; border-bottom: 1px solid var(--c-border);
        max-height: 0; overflow: hidden; transition: max-height .3s ease;
    }
    .site-nav ul { flex-direction: column; padding: .5rem 1rem; }
    .site-nav a { padding: .75rem .5rem; display: block; }
    .nav-toggle:checked ~ .site-nav { max-height: 400px; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(1000px 500px at 90% -10%, rgba(0,184,148,.18), transparent 60%),
        radial-gradient(800px 400px at 0% 0%, rgba(30,96,145,.20), transparent 60%),
        linear-gradient(180deg, #0a3d62 0%, #0f4c81 100%);
    color: #fff;
    padding: clamp(4rem, 8vw, 7rem) 0 clamp(4rem, 8vw, 6rem);
}
.hero h1 { color: #fff; }
.hero-lead {
    max-width: 720px;
    font-size: 1.15rem;
    color: rgba(255,255,255,.88);
}
.hero-cta { margin-top: 1.75rem; display: flex; gap: .75rem; flex-wrap: wrap; }
.hero-grid-decor {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 42px 42px;
    pointer-events: none; mask-image: radial-gradient(ellipse at center, #000 35%, transparent 75%);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .75rem 1.25rem; border-radius: 10px;
    font-weight: 600; font-size: .95rem;
    border: 1px solid transparent; cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
    text-decoration: none;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary {
    background: var(--c-accent); color: #062b24;
    box-shadow: 0 6px 18px rgba(0,184,148,.35);
}
.btn-primary:hover { background: #00a383; color: #062b24; }
.btn-ghost {
    background: transparent; color: #fff; border-color: rgba(255,255,255,.4);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); color:#fff; }
.btn-outline {
    background: transparent; color: var(--c-primary); border-color: var(--c-border);
}
.btn-outline:hover { background: #fff; border-color: var(--c-primary); }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-head { max-width: 760px; margin-bottom: 2.5rem; }
.section-head .eyebrow {
    display: inline-block;
    color: var(--c-accent); font-weight: 700;
    font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
    margin-bottom: .5rem;
}
.section-head p { color: var(--c-muted); font-size: 1.05rem; }

/* ---------- Product cards ---------- */
.product-grid {
    display: grid; gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.product-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--c-shadow);
    display: flex; flex-direction: column;
    transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
    position: relative; overflow: hidden;
}
.product-card::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
    background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
    opacity: .85;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--c-shadow-lg);
    border-color: #d6deea;
}
.product-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(10,61,98,.08); color: var(--c-primary);
    margin-bottom: 1rem;
}
.product-icon svg { width: 26px; height: 26px; }
.product-card h3 { margin-bottom: .2rem; }
.product-card .subtitle {
    color: var(--c-accent); font-weight: 600; font-size: .85rem;
    text-transform: uppercase; letter-spacing: .06em;
    margin-bottom: .75rem;
}
.product-card p { color: var(--c-muted); flex-grow: 1; }
.product-card .btn { margin-top: 1.25rem; align-self: flex-start; }

/* ---------- Feature strip ---------- */
.feature-strip {
    background: #fff; border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border);
}
.feature-grid {
    display: grid; gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    padding: 2rem 0;
}
.feature { display: flex; gap: .9rem; align-items: flex-start; }
.feature .dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--c-accent); margin-top: .5rem; flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(0,184,148,.18);
}
.feature strong { display:block; color: var(--c-primary); }
.feature span { color: var(--c-muted); font-size: .95rem; }

/* ---------- Content page ---------- */
.page-hero {
    background: linear-gradient(180deg, #0a3d62 0%, #0f4c81 100%);
    color: #fff; padding: 3.5rem 0 3rem; position: relative; overflow: hidden;
}
.page-hero h1 { color: #fff; margin-bottom: .35rem; }
.page-hero .crumb {
    color: rgba(255,255,255,.75); font-size: .9rem;
}
.page-hero .crumb a { color: rgba(255,255,255,.9); }

.content-card {
    background: #fff; border: 1px solid var(--c-border);
    border-radius: var(--radius); padding: 2rem; box-shadow: var(--c-shadow);
}

/* ---------- Stats placeholder ---------- */
.stats-grid {
    display: grid; gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin-bottom: 2rem;
}
.stat {
    background: #fff; border: 1px solid var(--c-border);
    border-radius: var(--radius); padding: 1.25rem 1.4rem;
    box-shadow: var(--c-shadow);
}
.stat .label {
    color: var(--c-muted); font-size: .85rem; text-transform: uppercase;
    letter-spacing: .08em;
}
.stat .value {
    font-size: 1.8rem; font-weight: 700; color: var(--c-primary);
    margin: .25rem 0 .15rem;
}
.stat .trend { font-size: .85rem; color: var(--c-accent); font-weight: 600; }
.stat .trend.down { color: #d9534f; }

/* ---------- Footer ---------- */
.site-footer {
    background: #0b2338;
    color: rgba(255,255,255,.85);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}
.site-footer h3 {
    color: #fff; font-size: .95rem; text-transform: uppercase;
    letter-spacing: .1em; margin-bottom: .85rem;
}
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: #fff; }
.footer-grid {
    display: grid; gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { margin-bottom: .4rem; }
.footer-bottom {
    padding-top: 1.25rem; font-size: .85rem;
    color: rgba(255,255,255,.6);
}

/* ---------- Helpers ---------- */
.prose p { margin-bottom: 1rem; color: #243447; }
.prose h2 { margin-top: 2rem; }
address { font-style: normal; color: rgba(255,255,255,.85); }