/* ============================================================
   3F – FINE FIREARMS FACTORY
   Hauptstylesheet. Farben und Abstände zentral hier ändern.
   ============================================================ */

:root {
    --background: #0b0c0e;
    --surface: #17191d;
    --surface-alt: #202329;
    --footer: #1b1d21;
    --text: #f4f4f5;
    --muted: #b5b7bd;
    --red: #e32936;
    --red-hover: #ff5965;
    --border: #363940;
}

/* Grundlayout */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
a:hover, a:focus-visible { color: var(--red-hover); }
a:focus-visible { outline: 2px solid var(--red-hover); outline-offset: 4px; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

/* Kopfzeile: nur Firmenname und Menü, keine separate Logozeile */
.site-header { background: #08090a; border-bottom: 1px solid var(--border); }
.navigation {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    color: var(--red);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .055em;
    white-space: nowrap;
}
.brand:hover { color: var(--red-hover); }
.nav-links { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.nav-links a {
    display: inline-block;
    padding: 23px 0 19px;
    border-bottom: 3px solid transparent;
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
}
.nav-links a:hover, .nav-links a.active { border-color: var(--red); color: white; }

/* Titelbereiche */
.hero {
    background: radial-gradient(circle at 80% 35%, #302027 0%, #15161a 42%, #08090b 85%);
    border-bottom: 4px solid var(--red);
    padding: 95px 0;
}
.hero h1, .page-heading h1 {
    max-width: 820px;
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    line-height: 1.1;
    letter-spacing: -.035em;
    margin: 14px 0 22px;
}
.hero p:not(.eyebrow), .page-heading p:not(.eyebrow) {
    max-width: 720px;
    color: #d9dadd;
    font-size: 1.1rem;
}
.eyebrow { color: var(--red-hover); font-weight: 800; letter-spacing: .18em; text-transform: uppercase; font-size: .8rem; }
.page-heading { background: linear-gradient(130deg, #17191d, #0b0c0e); border-bottom: 4px solid var(--red); padding: 65px 0; }
.button { display: inline-block; margin-top: 18px; padding: 13px 23px; background: var(--red); color: white; font-weight: 800; border-radius: 3px; }
.button:hover { background: #b71926; color: white; }

/* Inhaltsabschnitte und Kacheln */
.section { padding-block: 76px; }
.section-alt { background: #111317; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.2; margin: 0 0 28px; }
.section-title::after { content: ''; display: block; width: 65px; height: 4px; margin-top: 15px; background: var(--red); }
.intro { color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.card { padding: 32px; background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--red); }
.card h3 { margin: 6px 0 12px; font-size: 1.3rem; }
.card p { margin: 0; color: var(--muted); }
.card-index { color: var(--red-hover); font-weight: 800; letter-spacing: .12em; }
.partner-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.partner-links a { padding: 22px; border: 1px solid var(--border); background: var(--surface-alt); font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.partner-links a:hover { border-color: var(--red); }
.contact-prompt a, .legal-content a { color: var(--red-hover); overflow-wrap: anywhere; }

/* Impressum und Datenschutzerklärung */
.legal-content { padding-block: 50px 70px; }
.legal-section { padding: 32px; margin-bottom: 24px; background: var(--surface); border: 1px solid var(--border); }
.legal-section h2 { margin-top: 0; font-size: 1.65rem; }
.legal-section h3 { margin-top: 26px; }
.legal-section p, .legal-section li, .legal-section dd { color: var(--muted); }
.legal-section li { margin-bottom: 7px; }
.details { display: grid; grid-template-columns: minmax(160px, 1fr) 2fr; gap: 12px 22px; }
.details dt { font-weight: 700; }
.details dd { margin: 0; }
.notice { border-left: 4px solid var(--red); padding: 15px 20px; background: var(--surface-alt); }

/* Fußzeile: SVG-Logo ausschließlich hier */
.site-footer { background: var(--footer); border-top: 4px solid var(--red); padding: 55px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 38px; }
.footer-logo { display: block; width: min(250px, 100%); height: auto; margin-bottom: 22px; }
.site-footer h2 { font-size: .98rem; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 14px; }
.site-footer p, .site-footer address, .site-footer a { color: var(--muted); font-style: normal; }
.site-footer a:hover { color: white; }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 35px; padding-top: 20px; color: #999da4; font-size: .85rem; }

/* Responsive Layout */
@media (max-width: 760px) {
    .navigation { flex-direction: column; justify-content: center; padding-top: 16px; gap: 2px; }
    .brand { font-size: .9rem; white-space: normal; text-align: center; }
    .nav-links { justify-content: center; gap: 20px; }
    .nav-links a { padding: 12px 0; }
    .hero { padding: 60px 0; }
    .section { padding-block: 52px; }
    .card-grid, .partner-links, .footer-grid { grid-template-columns: 1fr; }
    .details { grid-template-columns: 1fr; gap: 3px; }
    .details dd { margin-bottom: 12px; }
    .legal-section { padding: 23px; }
}
