/* ==========================================================================
   SCS PACTOR – scs-pactor.com
   Classic, serious, engineering-style design system
   ----------------------------------------------------------------------------
   Typografie: IBM Plex Trio (Variante B)
     · IBM Plex Serif  → Headlines, Marken-Wortmarke
     · IBM Plex Sans   → Body, Navigation, Buttons
     · IBM Plex Mono   → Microcopy, Technische Werte, Kicker, Footer-H4

   Schrift einbinden – einmalig im <head> jeder Seite, VOR dieser CSS-Datei:

     <link rel="preconnect" href="https://fonts.googleapis.com">
     <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
     <link rel="stylesheet" href="https://fonts.googleapis.com/css2?
       family=IBM+Plex+Sans:wght@400;500;600;700&
       family=IBM+Plex+Serif:wght@400;600;700&
       family=IBM+Plex+Mono:wght@400;500;600&display=swap">

   (Google-Fonts liefert font-display: swap automatisch mit. Wer DSGVO-konform
    self-hosten möchte: Fonts bei https://www.ibm.com/plex/ oder via
    google-webfonts-helper laden, in /assets/fonts/ ablegen und mit
    @font-face einbinden – Layout und Klassen bleiben identisch.)

   Technische Werte können im HTML mit <span class="mono">2400 Hz</span>
   ausgezeichnet werden – sie erscheinen dann in IBM Plex Mono mit
   leichter Hintergrund-Tönung.
   ========================================================================== */

/* --- Reset & base -------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    font-family: 'IBM Plex Sans', "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1f2933;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "ss01", "ss02";
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #003a70;
    text-decoration: underline;
}

a:hover,
a:focus {
    color: #c10b14;
    text-decoration: underline;
}

h1, h2, h3, h4 {
    font-family: 'IBM Plex Serif', Georgia, "Times New Roman", Times, serif;
    color: #002a4e;
    line-height: 1.25;
    margin: 0 0 0.6em 0;
    font-weight: 600;
    letter-spacing: -0.005em;
}

h1 { font-size: 2.1rem; }
h2 { font-size: 1.5rem; border-bottom: 1px solid #d0d7de; padding-bottom: 0.25em; margin-top: 1.8em; }
h3 { font-size: 1.18rem; margin-top: 1.4em; }
h4 { font-size: 1rem; color: #34495e; }

p { margin: 0 0 0.9em 0; }

ul, ol { margin: 0 0 0.9em 1.4em; padding: 0; }
li { margin-bottom: 0.25em; }

hr {
    border: 0;
    border-top: 1px solid #d0d7de;
    margin: 2em 0;
}

/* --- Mono-Utility für Frequenzen, Modellnummern, Standards ---------------- */
.mono,
code,
kbd {
    font-family: 'IBM Plex Mono', "Courier New", Courier, monospace;
    font-feature-settings: "zero";
    font-size: 0.92em;
    background: rgba(0, 0, 0, 0.04);
    padding: 0 4px;
    border-radius: 2px;
}

.hero-highlights .mono {
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
}

/* --- Topbar (language switch + meta) ------------------------------------ */
.topbar {
    background: #002a4e;
    color: #c8d3e0;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.01em;
    border-bottom: 2px solid #c10b14;
}

.topbar-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 6px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.topbar a { color: #ffffff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

.topbar .lang a {
    padding: 2px 6px;
    border: 1px solid #4a6a8a;
    margin-left: 4px;
}

.topbar .lang a.active {
    background: #ffffff;
    color: #002a4e;
    border-color: #ffffff;
    font-weight: 600;
}

/* --- Header / branding -------------------------------------------------- */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #cfd6dd;
}

.site-header-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
}

.brand-logo {
    height: 56px;
    width: auto;
    display: block;
}

.brand-mark {
    width: 56px;
    height: 56px;
    background: #002a4e;
    color: #fff;
    font-family: 'IBM Plex Serif', Georgia, serif;
    font-weight: 700;
    font-size: 22px;
    display: grid;
    place-items: center;
    border-radius: 2px;
    letter-spacing: 1px;
}

.brand-text { line-height: 1.15; }
.brand-text .name {
    font-family: 'IBM Plex Serif', Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    color: #002a4e;
    display: block;
    letter-spacing: 0;
}
.brand-text .tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0;
    text-transform: none;
    color: #5b6b7a;
}

.header-meta {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: #5b6b7a;
    text-align: right;
    line-height: 1.45;
    letter-spacing: 0;
}
.header-meta strong {
    font-family: 'IBM Plex Serif', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 13px;
    color: #002a4e;
}

/* --- Primary navigation ------------------------------------------------- */
.mainnav {
    background: #e8edf2;
    border-top: 1px solid #cfd6dd;
    border-bottom: 1px solid #cfd6dd;
}

.mainnav-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

.mainnav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.mainnav li { margin: 0; }

.mainnav a {
    display: block;
    padding: 10px 16px;
    color: #002a4e;
    text-decoration: none;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border-right: 1px solid #cfd6dd;
}

.mainnav a:hover,
.mainnav a.active {
    background: #002a4e;
    color: #ffffff;
}

/* --- Layout ------------------------------------------------------------- */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px 20px 40px 20px;
}

.container.narrow {
    max-width: 780px;
}

.hero {
    background: linear-gradient(180deg, #002a4e 0%, #004680 100%);
    color: #ffffff;
    padding: 36px 0;
    border-bottom: 4px solid #c10b14;
}

.hero-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
    align-items: center;
}

.hero h1 {
    color: #ffffff;
    font-size: 2.35rem;
    letter-spacing: -0.012em;
    margin-bottom: 10px;
}

.hero .lead {
    font-size: 1.08rem;
    color: #d6e0ec;
    margin-bottom: 18px;
    line-height: 1.5;
}

.hero-highlights {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 18px 22px;
    font-size: 14px;
}
.hero-highlights h3 {
    color: #ffffff;
    margin: 0 0 8px 0;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.hero-highlights ul { margin: 0; padding-left: 18px; color: #d6e0ec; }
.hero-highlights li { margin-bottom: 4px; }

/* --- Section grid (two-column classic) ---------------------------------- */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.card {
    border: 1px solid #d0d7de;
    background: #fafbfc;
    padding: 18px 20px;
}

.card h3 {
    margin-top: 0;
    color: #002a4e;
}

/* --- Product callouts --------------------------------------------------- */
.product-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 22px;
    align-items: start;
    padding: 18px 0;
    border-top: 1px solid #d0d7de;
}

.product-row:first-child { border-top: 0; }

.product-img {
    background: #ffffff;
    border: 1px solid #d0d7de;
    min-height: 140px;
    display: grid;
    place-items: center;
    color: #5b6b7a;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    text-align: center;
    padding: 10px;
    overflow: hidden;
}

.product-img img {
    max-width: 100%;
    max-height: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.product-row.featured {
    background: #f1f6fb;
    border-top: 3px solid #c10b14;
    padding: 22px 22px 18px 22px;
    margin-bottom: 4px;
}

.product-badge {
    display: inline-block;
    background: #c10b14;
    color: #fff;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 3px 8px;
    margin-bottom: 8px;
    font-weight: 500;
}

.product-row h3 { margin-top: 0; }

/* --- Tables (specs / dealers) ------------------------------------------ */
table.specs {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0;
    font-size: 14px;
}

table.specs th,
table.specs td {
    border: 1px solid #d0d7de;
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
}

table.specs th {
    background: #e8edf2;
    color: #002a4e;
    width: 28%;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

table.specs td {
    font-family: 'IBM Plex Sans', sans-serif;
}

table.specs tr:nth-child(even) td { background: #fafbfc; }

/* --- Download lists ----------------------------------------------------- */
.downloads {
    list-style: none;
    margin: 0 0 18px 0;
    padding: 0;
}
.downloads li {
    border-bottom: 1px dotted #cfd6dd;
    padding: 6px 0 6px 22px;
    position: relative;
}
.downloads li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #c10b14;
    font-size: 12px;
    top: 8px;
}
.downloads a { text-decoration: none; }
.downloads a:hover { text-decoration: underline; }

/* --- Dealer cards ------------------------------------------------------ */
.country-block { margin: 28px 0; }

.country-block h2 {
    font-size: 1.25rem;
    color: #002a4e;
    border-bottom: 2px solid #c10b14;
    padding-bottom: 4px;
}

.dealers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 12px;
}

.dealer {
    border: 1px solid #d0d7de;
    background: #fafbfc;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.5;
}

.dealer strong { color: #002a4e; font-size: 14.5px; }
.dealer .addr { margin: 6px 0; color: #34495e; white-space: pre-line; }
.dealer .contact {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12.5px;
}

/* --- Forms ------------------------------------------------------------- */
.form {
    background: #fafbfc;
    border: 1px solid #d0d7de;
    padding: 22px 24px;
    max-width: 720px;
}

.form label {
    display: block;
    font-weight: 600;
    color: #002a4e;
    margin: 14px 0 4px 0;
    font-size: 14px;
}

.form input[type="text"],
.form input[type="email"],
.form select,
.form textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #b6c1cc;
    background: #ffffff;
    font: inherit;
    font-family: 'IBM Plex Sans', sans-serif;
    color: #1f2933;
}

.form textarea { min-height: 140px; resize: vertical; }

.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form button {
    margin-top: 18px;
    background: #002a4e;
    color: #ffffff;
    border: 0;
    padding: 10px 22px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
}
.form button:hover { background: #c10b14; }

.form .privacy-note {
    font-size: 12.5px;
    color: #5b6b7a;
    margin-top: 10px;
}

/* --- FAQ --------------------------------------------------------------- */
.faq details {
    border-top: 1px solid #d0d7de;
    padding: 10px 0;
}
.faq details:last-child { border-bottom: 1px solid #d0d7de; }

.faq summary {
    cursor: pointer;
    font-family: 'IBM Plex Serif', serif;
    font-weight: 600;
    color: #002a4e;
    font-size: 1.05rem;
    padding: 4px 0;
    list-style-position: inside;
}

.faq summary::marker { color: #c10b14; }

.faq details p { margin-top: 8px; }

/* --- Callout boxes ----------------------------------------------------- */
.callout {
    border-left: 4px solid #c10b14;
    background: #fff7f7;
    padding: 14px 18px;
    margin: 20px 0;
    font-size: 14.5px;
}

.callout.info {
    border-left-color: #003a70;
    background: #f1f6fb;
}

/* --- Footer ------------------------------------------------------------ */
.site-footer {
    background: #f1f3f6;
    border-top: 3px solid #002a4e;
    color: #34495e;
    font-size: 13.5px;
    margin-top: 40px;
}

.site-footer-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 28px 20px 18px 20px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 26px;
}

.site-footer h4 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11.5px;
    color: #002a4e;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    margin: 0 0 10px 0;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.site-footer li { margin-bottom: 4px; }
.site-footer a { color: #002a4e; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #c10b14; }

.footer-bottom {
    border-top: 1px solid #cfd6dd;
    padding: 12px 20px;
    text-align: center;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11.5px;
    color: #5b6b7a;
    letter-spacing: 0.01em;
}

/* --- Misc -------------------------------------------------------------- */
.kicker {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #c10b14;
    font-weight: 500;
    margin-bottom: 4px;
}

.btn {
    display: inline-block;
    background: #002a4e;
    color: #ffffff !important;
    padding: 9px 18px;
    text-decoration: none;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
    border: 1px solid #002a4e;
}

.btn:hover { background: #c10b14; border-color: #c10b14; color: #ffffff; }

.btn.secondary {
    background: #ffffff;
    color: #002a4e !important;
}
.btn.secondary:hover { background: #002a4e; color: #ffffff !important; }

.toc {
    background: #f1f6fb;
    border: 1px solid #cfd6dd;
    padding: 14px 18px;
    margin-bottom: 22px;
    font-size: 14.5px;
}

.toc ul { margin: 4px 0 0 18px; padding: 0; }

/* --- Responsive -------------------------------------------------------- */
@media (max-width: 820px) {
    .hero-inner,
    .grid-2,
    .grid-3,
    .form .row,
    .dealers,
    .site-footer-inner {
        grid-template-columns: 1fr;
    }

    .product-row {
        grid-template-columns: 1fr;
    }

    .mainnav ul { flex-direction: column; }
    .mainnav a { border-right: 0; border-bottom: 1px solid #cfd6dd; }

    .site-header-inner { flex-direction: column; align-items: flex-start; }
    .header-meta { text-align: left; }

    .hero h1 { font-size: 1.85rem; }

    table.specs th { width: 38%; }
}
