/* Einbruchschutz Viersen – Stylesheet. Schriften: Mulish und Exo (SIL OFL, lokal eingebunden). */

@font-face {
    font-family: "Mulish";
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("fonts/mulish-latin.woff2") format("woff2");
}

@font-face {
    font-family: "Exo";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("fonts/exo-latin.woff2") format("woff2");
}

:root {
    --red: #d30a10;
    --red-dark: #a3070c;
    --red-on-dark: #ff5a5f;
    --ink: #1d1d1f;
    --text: #2e2e30;
    --muted: #5f5f63;
    --line: #dcdcdf;
    --soft: #f3f3f4;
    --white: #fff;
    --radius: 6px;
}

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

body {
    margin: 0;
    font: 400 17px/1.65 "Mulish", system-ui, sans-serif;
    color: var(--text);
    background: var(--white);
}

h1, h2, h3 { font-family: "Exo", "Mulish", sans-serif; font-weight: 700; line-height: 1.2; color: var(--ink); margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); text-transform: uppercase; letter-spacing: .01em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--red); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 800px; }
.center { text-align: center; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 10; background: var(--white); padding: 8px 14px; }

.icon {
    width: 1.5em; height: 1.5em; flex: none;
    fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* Kopfbereich */
.topbar { background: var(--ink); color: #d6d6d8; font-size: 14px; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 4px 28px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--white); }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; line-height: 1.3; }
.brand .icon { width: 42px; height: 42px; color: var(--red); }
.brand strong { display: block; font: 700 21px/1.2 "Exo", sans-serif; letter-spacing: .02em; text-transform: none; color: var(--ink); }
.site-header ul { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.site-header nav a { display: block; padding: 8px 12px; color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 3px solid transparent; }
.site-header nav a:hover { color: var(--red); }
.site-header nav a[aria-current="page"] { border-bottom-color: var(--red); }

/* Dunkle Bühnen oben auf den Seiten */
.hero, .page-header {
    position: relative;
    color: #e9e9eb;
    background: linear-gradient(125deg, #17171a 0%, #2b2c31 55%, #1d1d1f 100%);
    overflow: hidden;
}
.hero::after, .page-header::after {
    content: ""; position: absolute; right: -8%; bottom: 0; width: 55%; height: 10px;
    background: var(--red); transform: skewX(-35deg);
}
.hero { padding: 96px 0 112px; }
.page-header { padding: 64px 0 72px; }
.hero h1, .page-header h1 { color: var(--white); max-width: 820px; }
.eyebrow { color: var(--red-on-dark); font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .14em; margin-bottom: .8em; }
.lead { font-size: 1.2rem; max-width: 680px; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; margin: 32px 0 0; padding: 8px 16px; background: rgba(255, 255, 255, .07); border-left: 4px solid var(--red); font-weight: 700; }

/* Schaltflächen */
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.button {
    display: inline-block; padding: 14px 26px; border: 2px solid var(--red); border-radius: 4px;
    background: var(--red); color: var(--white); font: 800 16px/1.2 "Mulish", sans-serif; text-decoration: none; cursor: pointer;
}
.button:hover { background: var(--red-dark); border-color: var(--red-dark); }
.button-light { background: transparent; border-color: var(--white); }
.button-light:hover { background: var(--white); border-color: var(--white); color: var(--ink); }

/* Inhaltsbereiche */
.section { padding: 72px 0; }
.section-soft { background: var(--soft); }
.text-link { font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.hint { display: flex; align-items: center; gap: 8px; color: var(--muted); }

.highlights, .services, .steps { display: grid; gap: 24px; margin: 32px 0 0; padding: 0; list-style: none; }
.highlights { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.highlights li { background: var(--white); padding: 28px; border-top: 4px solid var(--red); border-radius: var(--radius); box-shadow: 0 2px 10px rgba(0, 0, 0, .06); }
.highlights .icon, .services .icon { width: 42px; height: 42px; color: var(--red); margin-bottom: 12px; }
.highlights p, .services p { margin: 0; }

.product-list { columns: 220px 4; column-gap: 32px; margin: 24px 0 28px; padding: 0; list-style: none; }
.product-list li { break-inside: avoid; padding: 3px 0 3px 18px; position: relative; }
.product-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; background: var(--red); }

.services { grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); margin-top: 0; }
.services li { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.services h2 { font-size: 1.3rem; }

.steps { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
.steps li { counter-increment: step; background: var(--white); padding: 28px; border-radius: var(--radius); }
.steps li::before { content: counter(step); display: block; font: 700 2.4rem/1 "Exo", sans-serif; color: var(--red); margin-bottom: 10px; }
.steps p { margin: 0; }

.cta { background: var(--red); color: var(--white); padding: 48px 0; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; }
.cta h2 { color: var(--white); margin-bottom: .3em; }
.cta p { margin: 0; }
.cta .button-row { margin-top: 12px; }
.cta .button { background: var(--white); border-color: var(--white); color: var(--red-dark); }
.cta .button:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.cta .button-light { background: transparent; color: var(--white); }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; }
.contact-card { font-style: normal; background: var(--soft); padding: 24px; border-left: 4px solid var(--red); margin-bottom: 36px; }
.hours { margin: 0 0 1em; max-width: 380px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; }

.contact-form { margin-top: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.field input, .field textarea {
    width: 100%; padding: 12px 14px; border: 1px solid #b9b9bd; border-radius: 4px;
    font: inherit; color: var(--ink); background: var(--white);
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid rgba(211, 10, 16, .25); border-color: var(--red); }
.has-error input, .has-error textarea { border-color: var(--red); }
.field-error { color: var(--red-dark); font-size: 14px; font-weight: 700; margin: 4px 0 0; }
.form-note { font-size: 14px; color: var(--muted); }
.bait { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 18px; border-radius: 4px; font-weight: 700; }
.notice-success { background: #e7f4ea; color: #1b5a31; border-left: 4px solid #2e7d4f; }
.notice-error { background: #fdecec; color: var(--red-dark); border-left: 4px solid var(--red); }

.legal h2 { font-size: 1.25rem; margin-top: 1.8em; }

/* Fußbereich */
.site-footer { background: var(--ink); color: #cfcfd2; padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.site-footer h2 { color: var(--white); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .05em; }
.site-footer address { font-style: normal; }
.site-footer a { color: var(--white); }
.site-footer .hours div { border-bottom-color: rgba(255, 255, 255, .15); }
.footer-phone { font-size: 1.5rem; font-weight: 800; text-decoration: none; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 40px; padding-top: 18px; padding-bottom: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.footer-legal span { margin-right: auto; }

@media (max-width: 760px) {
    body { font-size: 16px; }
    .section { padding: 52px 0; }
    .hero { padding: 64px 0 80px; }
    .page-header { padding: 48px 0 56px; }
    .site-header nav a { padding: 6px 8px; }
    .contact-grid, .form-row { grid-template-columns: 1fr; }
    .footer-legal span { width: 100%; }
}
