/* ==========================================================================
   CLAB3D · MANUFAKTUR THEME
   Homepage-only design layer (loaded after style.css, scoped to body.mfg).
   Legal pages, configurators and the admin keep the original stylesheet.
   ========================================================================== */

body.mfg {
    /* Slate / anthracite surfaces */
    --mfg-bg: #080d13;
    --mfg-bg-2: #0a1017;
    --mfg-surface: #0d141d;
    --mfg-surface-2: #111a25;
    --mfg-ink: #0a1018;
    --mfg-line: rgba(255, 255, 255, 0.08);
    --mfg-line-strong: rgba(255, 255, 255, 0.16);
    --mfg-text: #e9eef6;
    --mfg-body: #b4c1d2;
    --mfg-muted: #8a99ad;
    --mfg-faint: #6b7b90;

    /* Deep blue accent */
    --mfg-blue: #4d8dff;
    --mfg-blue-bright: #7fb0ff;
    --mfg-blue-deep: #1b4fd8;
    --mfg-blue-wash: rgba(77, 141, 255, 0.1);
    --mfg-blue-line: rgba(77, 141, 255, 0.32);

    /* Remap global tokens for the homepage */
    --bg-main: var(--mfg-bg);
    --bg-surface: var(--mfg-surface);
    --bg-subtle: var(--mfg-surface-2);
    --bg-accent-light: rgba(77, 141, 255, 0.08);
    --text-primary: var(--mfg-text);
    --text-body: var(--mfg-body);
    --text-muted: var(--mfg-muted);
    --text-light: var(--mfg-faint);
    --navy-dark: var(--mfg-text);
    --blue-primary: var(--mfg-blue);
    --blue-hover: var(--mfg-blue-bright);
    --blue-light: var(--mfg-blue-wash);
    --blue-border: var(--mfg-blue-line);
    --blue-gradient: linear-gradient(135deg, #4d8dff 0%, #1b4fd8 100%);
    --blue-gradient-subtle: linear-gradient(135deg, rgba(77, 141, 255, 0.12) 0%, rgba(27, 79, 216, 0.04) 100%);
    --border-color: var(--mfg-line);
    --border-hover: var(--mfg-line-strong);
    --border-focus: var(--mfg-blue);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.45);
    --shadow-xl: 0 28px 72px rgba(0, 0, 0, 0.55);
    --shadow-blue: 0 12px 30px -12px rgba(27, 79, 216, 0.65);
    --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    min-height: 100vh;
    background-color: var(--mfg-bg);
    background-image:
        radial-gradient(1200px 700px at 50% -10%, rgba(32, 78, 168, 0.18), transparent 70%),
        linear-gradient(180deg, #070b10 0%, #080d13 100%);
    background-repeat: no-repeat;
    color: var(--mfg-body);
}

body.mfg ::selection {
    background: rgba(77, 141, 255, 0.35);
    color: #fff;
}

body.mfg a {
    color: var(--mfg-blue);
}

/* --------------------------------------------------------------------------
   Typography & shared primitives
   -------------------------------------------------------------------------- */

body.mfg h1,
body.mfg h2,
body.mfg h3,
body.mfg h4,
body.mfg h5,
body.mfg h6 {
    color: var(--mfg-text);
    letter-spacing: -0.02em;
}

body.mfg .container {
    max-width: 1240px;
    padding: 0 2rem;
}

body.mfg section {
    scroll-margin-top: 96px;
}

body.mfg .section-padding {
    padding: 7rem 0;
}

/* A completed reveal must not keep a transform: it would become the containing
   block for position:fixed modals nested inside the section. */
body.mfg .reveal.active {
    transform: none;
}

body.mfg .bg-white,
body.mfg .bg-subtle {
    background: transparent;
}

body.mfg .section-header {
    position: relative;
    max-width: none;
    margin: 0 0 3.75rem;
    padding-top: 1.35rem;
    text-align: left;
    border-top: 1px solid var(--mfg-line);
}

body.mfg .section-title {
    max-width: 22ch;
    margin-bottom: 1.1rem;
    font-size: clamp(1.9rem, 3.4vw, 2.9rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.03em;
}

body.mfg .section-title span {
    background: linear-gradient(100deg, #9cc3ff 0%, #4d8dff 55%, #2f6fe0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.mfg .section-subtitle {
    max-width: 62ch;
    color: var(--mfg-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.mfg-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mfg-muted);
}

.mfg-eyebrow::before {
    content: '';
    width: 26px;
    height: 1px;
    background: var(--mfg-blue);
}

.mfg-eyebrow .mfg-eyebrow-index {
    color: var(--mfg-blue);
}

.mfg-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.24rem 0.5rem;
    border: 1px solid var(--mfg-line);
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.02);
    color: var(--mfg-body);
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.mfg-tag--accent {
    border-color: var(--mfg-blue-line);
    color: var(--mfg-blue-bright);
}

/* Buttons */
body.mfg .btn-primary,
body.mfg .btn-secondary,
body.mfg .btn-outline {
    min-height: 48px;
    padding: 0.85rem 1.5rem;
    border-radius: 3px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.mfg .btn-primary {
    background: linear-gradient(135deg, #2f6fe4 0%, #1a48c4 100%);
    border: 1px solid rgba(126, 173, 255, 0.5);
    color: #fff;
    box-shadow: 0 14px 34px -18px rgba(48, 111, 228, 0.9);
}

body.mfg .btn-primary:hover {
    background: linear-gradient(135deg, #3d7cf0 0%, #2156d6 100%);
    box-shadow: 0 18px 40px -16px rgba(48, 111, 228, 0.95);
}

body.mfg .btn-secondary {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--mfg-line-strong);
    color: var(--mfg-text);
    box-shadow: none;
}

body.mfg .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
    box-shadow: none;
}

body.mfg .btn-etsy {
    background: transparent;
    border: 1px solid rgba(241, 100, 30, 0.5);
    color: #ff8a4c !important;
    border-radius: 3px;
}

body.mfg .btn-etsy:hover {
    background: var(--etsy-orange) !important;
    border-color: var(--etsy-orange);
    color: #fff !important;
}

body.mfg .btn-nav-contact {
    background: var(--mfg-blue-deep);
    border: 1px solid rgba(126, 173, 255, 0.4);
    border-radius: 3px;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

body.mfg nav#navbar {
    background: rgba(7, 11, 16, 0.78);
    border-bottom: 1px solid var(--mfg-line);
    backdrop-filter: blur(18px) saturate(120%);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
}

body.mfg nav.scrolled {
    background: rgba(7, 11, 16, 0.94);
    border-bottom-color: var(--mfg-line-strong);
    box-shadow: 0 20px 40px -30px rgba(0, 0, 0, 0.9);
}

body.mfg .nav-container {
    padding: 0.65rem 2rem;
    max-width: 1280px;
}

body.mfg .logo {
    height: 46px;
}

body.mfg .nav-links {
    gap: 1.5rem;
}

body.mfg .nav-links a {
    color: var(--mfg-muted);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

body.mfg .nav-links a:hover {
    color: var(--mfg-text);
}

body.mfg .nav-links a:not(.btn-etsy):not(.btn-nav-contact)::after {
    height: 1px;
    background: var(--mfg-blue);
    bottom: -2px;
}

body.mfg .badge-nav {
    background: rgba(77, 141, 255, 0.14);
    border: 1px solid var(--mfg-blue-line);
    color: var(--mfg-blue-bright);
    border-radius: 2px;
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.1em;
}

body.mfg .nav-dropdown-menu {
    background: #0c131c;
    border: 1px solid var(--mfg-line-strong);
    border-radius: 4px;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
}

body.mfg .nav-dropdown-item:hover {
    background: rgba(77, 141, 255, 0.09);
}

body.mfg .nav-dropdown-title {
    color: var(--mfg-text);
}

body.mfg .nav-dropdown-desc {
    color: var(--mfg-muted);
}

body.mfg .badge-nav-new {
    background: var(--mfg-blue-deep);
    border-radius: 2px;
}

body.mfg .menu-toggle .bar {
    background-color: var(--mfg-text);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

body.mfg .hero {
    min-height: 0;
    display: block;
    padding: 8.75rem 0 0;
    background: transparent;
    border-bottom: 1px solid var(--mfg-line);
    overflow: hidden;
}

.hero-media-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    filter: grayscale(40%);
}

.hero-media-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(780px 460px at 16% 6%, rgba(43, 100, 205, 0.26), transparent 68%),
        radial-gradient(720px 520px at 88% 46%, rgba(28, 74, 158, 0.2), transparent 72%),
        linear-gradient(180deg, rgba(6, 10, 15, 0.55) 0%, rgba(8, 13, 19, 0.86) 62%, rgba(8, 13, 19, 0.98) 100%);
}

body.mfg .hero-grid-bg {
    z-index: 1;
    background-size: 64px 64px;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.032) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
    mask-image: radial-gradient(ellipse at 38% 28%, #000 8%, transparent 74%);
    -webkit-mask-image: radial-gradient(ellipse at 38% 28%, #000 8%, transparent 74%);
}

body.mfg .hero-ambient-glow {
    z-index: 1;
    top: -12%;
    left: 2%;
    transform: none;
    width: 640px;
    height: 500px;
    background: radial-gradient(circle, rgba(60, 125, 255, 0.16) 0%, rgba(27, 79, 216, 0.05) 45%, transparent 70%);
    filter: blur(70px);
}

body.mfg .hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    text-align: left;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
    padding-bottom: 4.75rem;
}

.hero-copy {
    min-width: 0;
    max-width: 64rem;
    padding-right: 0;
    border-right: 0;
}

body.mfg .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 2.5rem;
    padding: 0.5rem 0.7rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--mfg-line-strong);
    border-radius: 2px;
    box-shadow: none;
    color: var(--mfg-muted);
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    line-height: 1.5;
    text-transform: uppercase;
}

body.mfg .hero-badge::before,
body.mfg .hero-badge::after {
    color: var(--mfg-blue);
    font-family: var(--font-mono);
}

body.mfg .hero-badge::before {
    content: '[';
    margin-left: -0.15rem;
}

body.mfg .hero-badge::after {
    content: ']';
    margin-right: -0.15rem;
}

body.mfg .hero-badge .pulse-dot {
    width: 5px;
    height: 5px;
    background-color: var(--mfg-blue);
    box-shadow: 0 0 0 4px rgba(77, 141, 255, 0.1);
}

body.mfg .hero h1 {
    max-width: 16ch;
    margin-bottom: 1.9rem;
    font-size: clamp(2.35rem, 3.7vw, 3.55rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.04em;
    color: var(--mfg-text);
}

body.mfg .hero h1 span {
    background: linear-gradient(100deg, #eaf1fb 0%, #a8c9ff 42%, #4d8dff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.mfg .hero-lead {
    max-width: 56ch;
    margin: 0 0 2.5rem;
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--mfg-body);
}

body.mfg .hero-buttons {
    justify-content: flex-start;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

body.mfg .hero-buttons .btn-primary svg,
body.mfg .hero-buttons .btn-secondary svg {
    transition: transform 0.25s ease;
}

body.mfg .hero-buttons .btn-primary:hover svg {
    transform: translateX(3px);
}

body.mfg .hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.mfg .hero-trust li {
    padding: 0 1rem;
    border-left: 1px solid var(--mfg-line);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    line-height: 1.5;
    text-transform: uppercase;
    color: var(--mfg-muted);
}

body.mfg .hero-trust li:first-child {
    padding-left: 0;
    border-left: 0;
}

/* Werkstatt-/Status-Panel */
.workshop-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #090f16;
    border: 1px solid var(--mfg-line-strong);
    box-shadow: 0 34px 70px -46px rgba(0, 0, 0, 0.95);
}

.workshop-panel::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

.workshop-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1.1rem;
    background: rgba(255, 255, 255, 0.022);
    border-bottom: 1px solid var(--mfg-line);
    font-family: var(--font-mono);
    font-size: 0.57rem;
    letter-spacing: 0.11em;
    line-height: 1.5;
    text-transform: uppercase;
    color: var(--mfg-muted);
}

.workshop-panel__title {
    color: #c8d4e4;
}

.workshop-panel__live {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    color: #6ee7b7;
}

.workshop-panel__live i {
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.13);
}

.workshop-panel__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 0 1.1rem;
}

.spec-row {
    display: grid;
    flex: 1;
    grid-template-columns: 86px minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    min-height: 76px;
    padding: 1rem 0;
    border-bottom: 1px solid var(--mfg-line);
}

.spec-row:last-child {
    border-bottom: 0;
}

.spec-row__key {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.1em;
    line-height: 1.5;
    text-transform: uppercase;
    color: var(--mfg-faint);
}

.spec-row__value {
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--mfg-body);
}

.spec-row--status .spec-row__value {
    color: var(--mfg-text);
}

.status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 0.5rem;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.12);
    vertical-align: middle;
}

.workshop-panel__foot {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.8rem 1.1rem;
    border-top: 1px solid var(--mfg-line);
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    line-height: 1.6;
    text-transform: uppercase;
    color: var(--mfg-faint);
}

/* --------------------------------------------------------------------------
   Fertigungsweg / Workflow-Board
   -------------------------------------------------------------------------- */

body.mfg #process {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.012) 0%, transparent 100%);
}

.workflow-board-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.7rem 1rem;
    background: #0a1018;
    border: 1px solid var(--mfg-line);
    border-bottom: 0;
    font-family: var(--font-mono);
    font-size: 0.57rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--mfg-faint);
}

body.mfg .process-steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--mfg-line);
}

body.mfg .step-card {
    padding: 2.4rem 2rem;
    background: #0b121b;
    border: 0;
    border-right: 1px solid var(--mfg-line);
    border-radius: 0;
    box-shadow: none;
    transition: background 0.25s ease;
}

body.mfg .step-card + .step-card {
    padding-left: 2rem;
}

body.mfg .step-card:last-child {
    border-right: 0;
}

body.mfg .step-card:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--mfg-line);
    background: #0d1621;
}

.workflow-step__head {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    margin-bottom: 1.2rem;
}

body.mfg .step-badge {
    display: inline;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: var(--mfg-blue);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

body.mfg .step-badge::after {
    content: '/';
    margin-left: 0.45rem;
    color: var(--mfg-faint);
}

body.mfg .step-card h3 {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--mfg-text);
}

body.mfg .step-card p {
    margin: 0;
    color: var(--mfg-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Kompatibilitätsanker (alte #about-Links zeigen auf diese Stelle)
   -------------------------------------------------------------------------- */

.anchor-alias {
    display: block;
    height: 0;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   Qualitätsanspruch / Prüfprotokoll (Altbestand, nicht mehr auf der Startseite)
   -------------------------------------------------------------------------- */

.quality-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: 4.5rem;
    align-items: start;
}

.quality-copy .section-title {
    max-width: 20ch;
    margin-bottom: 1.6rem;
}

.quality-copy > p {
    max-width: 64ch;
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--mfg-body);
}

.quality-signature {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: 2rem;
    font-family: var(--font-mono);
    font-size: 0.64rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mfg-faint);
}

.quality-signature::before {
    content: '';
    width: 34px;
    height: 1px;
    background: var(--mfg-line-strong);
}

.audit-panel {
    border: 1px solid var(--mfg-line);
    background: #0c131c;
}

.audit-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 1.1rem;
    border-bottom: 1px solid var(--mfg-line);
    background: rgba(255, 255, 255, 0.02);
    font-family: var(--font-mono);
    font-size: 0.57rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--mfg-muted);
}

.audit-panel__head span:last-child {
    color: var(--mfg-faint);
}

.audit-panel ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.audit-panel li {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 0.9rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--mfg-line);
}

.audit-panel li:last-child {
    border-bottom: 0;
}

.audit-index {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    line-height: 1.6;
    color: var(--mfg-blue);
}

.audit-panel li strong {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--mfg-text);
}

.audit-panel li small {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.72rem;
    line-height: 1.45;
    color: var(--mfg-muted);
}

.audit-panel__foot {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.8rem 1.1rem;
    border-top: 1px solid var(--mfg-line);
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #6ee7b7;
}

/* --------------------------------------------------------------------------
   Materials
   -------------------------------------------------------------------------- */

body.mfg #materials {
    border-bottom: 1px solid var(--mfg-line);
}

body.mfg .materials-section {
    background: transparent;
}

.matrix-wrap {
    margin-bottom: 3.5rem;
    background: #0c131c;
    border: 1px solid var(--mfg-line);
}

.material-matrix {
    width: 100%;
    border-collapse: collapse;
}

.material-matrix thead th {
    padding: 0.8rem 1.25rem;
    background: #0a1018;
    border-bottom: 1px solid var(--mfg-line);
    font-family: var(--font-mono);
    font-size: 0.57rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    line-height: 1.5;
    text-align: left;
    text-transform: uppercase;
    color: var(--mfg-faint);
}

.material-matrix tbody th,
.material-matrix tbody td {
    padding: 1.35rem 1.25rem;
    border-bottom: 1px solid var(--mfg-line);
    text-align: left;
    vertical-align: top;
}

.material-matrix tbody tr:last-child th,
.material-matrix tbody tr:last-child td {
    border-bottom: 0;
}

.material-matrix tbody tr {
    transition: background 0.2s ease;
}

.material-matrix tbody tr:hover {
    background: rgba(255, 255, 255, 0.022);
}

.material-matrix tbody th {
    width: 30%;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--mfg-text);
}

.material-matrix tbody td {
    width: 35%;
    font-size: 0.87rem;
    line-height: 1.65;
    color: var(--mfg-body);
}

.material-matrix tbody td[data-label="Kennwert"] {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    line-height: 1.6;
    color: var(--mfg-blue-bright);
}

.matrix-index {
    display: block;
    margin-bottom: 0.3rem;
    font-family: var(--font-mono);
    font-size: 0.58rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--mfg-blue);
}

.matrix-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
    padding: 0.8rem 1.25rem;
    border-top: 1px solid var(--mfg-line);
    font-family: var(--font-mono);
    font-size: 0.57rem;
    letter-spacing: 0.08em;
    line-height: 1.6;
    text-transform: uppercase;
    color: var(--mfg-faint);
}

body.mfg .materials-wrapper {
    padding: 2rem;
    background: #0c131c;
    border: 1px solid var(--mfg-line);
    border-radius: 2px;
    box-shadow: none;
}

body.mfg .materials-toolbar h3 {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
    font-weight: 600;
}

body.mfg .materials-toolbar p {
    color: var(--mfg-muted) !important;
}

body.mfg .materials-counter {
    font-family: var(--font-mono);
    font-size: 0.64rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mfg-faint);
}

body.mfg .filter-pill {
    padding: 0.4rem 0.8rem;
    background: transparent;
    border: 1px solid var(--mfg-line);
    border-radius: 2px;
    color: var(--mfg-muted);
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.mfg .filter-pill:hover {
    border-color: var(--mfg-blue-line);
    color: var(--mfg-text);
}

body.mfg .filter-pill.active {
    background: rgba(77, 141, 255, 0.12);
    border-color: var(--mfg-blue-line);
    color: var(--mfg-blue-bright);
    box-shadow: none;
}

body.mfg .material-card {
    padding: 1.1rem 1.2rem;
    background: #0e1621;
    border: 1px solid var(--mfg-line);
    border-radius: 2px;
    box-shadow: none;
}

body.mfg .material-card:hover {
    transform: translateY(-2px);
    background: #101a27;
    border-color: var(--mfg-line-strong);
    box-shadow: 0 18px 34px -22px rgba(0, 0, 0, 0.9);
}

body.mfg .material-card.is-selected {
    background: rgba(77, 141, 255, 0.07);
    border-color: var(--mfg-blue-line);
    box-shadow: 0 0 0 1px var(--mfg-blue-line);
}

body.mfg .material-card-title {
    color: var(--mfg-text);
    font-size: 1.02rem;
    font-weight: 600;
}

body.mfg .material-card-char {
    color: var(--mfg-blue-bright);
    font-size: 0.74rem;
}

body.mfg .material-compare-checkbox-label {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--mfg-line);
    border-radius: 2px;
    color: var(--mfg-muted);
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.mfg .material-compare-checkbox-label:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--mfg-text);
}

body.mfg .metric-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--mfg-line);
    border-radius: 2px;
    color: var(--mfg-body);
    font-family: var(--font-mono);
    font-size: 0.66rem;
}

body.mfg .metric-pill span {
    color: var(--mfg-faint);
}

body.mfg .btn-material-details {
    color: var(--mfg-blue);
    font-family: var(--font-mono);
    font-size: 0.64rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Material badges on dark */
body.mfg .material-badge {
    border-radius: 2px;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.mfg .badge-standard {
    background: rgba(52, 211, 153, 0.1);
    border-color: rgba(52, 211, 153, 0.3);
    color: #6ee7b7;
}

body.mfg .badge-technical {
    background: rgba(148, 163, 184, 0.12);
    border-color: rgba(148, 163, 184, 0.28);
    color: #cbd5e1;
}

body.mfg .badge-cf {
    background: rgba(77, 141, 255, 0.12);
    border-color: var(--mfg-blue-line);
    color: var(--mfg-blue-bright);
}

body.mfg .badge-flexible {
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.28);
    color: #fcd34d;
}

/* Compare bar & modal */
body.mfg .compare-floating-bar {
    background: rgba(9, 14, 21, 0.96);
    border: 1px solid var(--mfg-line-strong);
    border-radius: 4px;
    box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.9);
    font-size: 0.8rem;
}

body.mfg .compare-tag {
    background: rgba(77, 141, 255, 0.12);
    border: 1px solid var(--mfg-blue-line);
    border-radius: 2px;
    color: var(--mfg-text);
    font-family: var(--font-mono);
    font-size: 0.64rem;
}

body.mfg .btn-compare-action {
    background: var(--mfg-blue-deep);
    border-radius: 2px;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

body.mfg .btn-compare-clear {
    color: var(--mfg-muted);
    background: transparent;
    border: 1px solid var(--mfg-line);
    border-radius: 2px;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

body.mfg .c3d-modal-overlay {
    background: rgba(4, 8, 13, 0.78);
}

body.mfg .c3d-modal-card {
    background: #0d141d;
    border: 1px solid var(--mfg-line-strong);
    border-radius: 3px;
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
}

body.mfg .c3d-modal-header {
    background: #0d141d;
    border-bottom: 1px solid var(--mfg-line);
}

body.mfg .c3d-modal-header h3 {
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

body.mfg .c3d-modal-close {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--mfg-line);
    border-radius: 2px;
    color: var(--mfg-text);
}

body.mfg .c3d-modal-body {
    color: var(--mfg-body);
}

body.mfg .c3d-modal-footer {
    background: #0a1018;
    border-top: 1px solid var(--mfg-line);
    border-radius: 0;
}

body.mfg .detail-meta-box {
    color: var(--mfg-muted);
}

body.mfg .detail-section-block h4 {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mfg-blue-bright);
}

body.mfg .detail-section-block p {
    color: var(--mfg-body);
    font-size: 0.9rem;
}

body.mfg .spec-tile {
    background: #0a1018;
    border: 1px solid var(--mfg-line);
    border-radius: 2px;
}

body.mfg .spec-tile .spec-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mfg-faint);
}

body.mfg .spec-tile .spec-val,
body.mfg .spec-tile .spec-val-primary {
    color: var(--mfg-text);
}

body.mfg .compare-matrix-table th,
body.mfg .compare-matrix-table td {
    border-bottom: 1px solid var(--mfg-line);
}

body.mfg .compare-matrix-table th {
    background: #0a1018;
    color: var(--mfg-text);
}

body.mfg .compare-matrix-table th.mat-col-header {
    color: var(--mfg-blue-bright);
}

body.mfg .compare-matrix-table td.property-label {
    background: #0e1621;
    color: var(--mfg-muted);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Showcase / Etsy
   -------------------------------------------------------------------------- */

body.mfg .showcase-section {
    background: transparent;
}

body.mfg .showcase-filter-tabs {
    justify-content: flex-start;
    gap: 0.5rem;
    margin-bottom: 2.25rem;
}

body.mfg .filter-btn {
    background: transparent;
    border: 1px solid var(--mfg-line);
    border-radius: 2px;
    color: var(--mfg-muted);
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.5rem 0.85rem;
    box-shadow: none;
}

body.mfg .filter-btn:hover {
    border-color: var(--mfg-line-strong);
    color: var(--mfg-text);
}

body.mfg .filter-btn.active {
    background: rgba(77, 141, 255, 0.12);
    border-color: var(--mfg-blue-line);
    color: var(--mfg-blue-bright);
    box-shadow: none;
}

body.mfg .showcase-grid {
    gap: 1px;
    background: var(--mfg-line);
    border: 1px solid var(--mfg-line);
    margin-bottom: 3rem;
}

body.mfg .product-card {
    background: #0c131c;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

body.mfg .product-card:hover {
    transform: none;
    background: #0e1722;
    border-color: transparent;
    box-shadow: none;
}

body.mfg .product-image-container,
body.mfg .product-image {
    background: #0a1018;
}

body.mfg .product-title {
    color: var(--mfg-text);
    font-size: 1.02rem;
    font-weight: 600;
}

body.mfg .product-category {
    color: var(--mfg-blue);
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
}

body.mfg .product-short-desc {
    color: var(--mfg-muted);
    font-size: 0.82rem;
}

body.mfg .product-price-label {
    color: var(--mfg-faint);
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.1em;
}

body.mfg .product-price-value {
    color: var(--mfg-text);
    font-size: 1.1rem;
}

body.mfg .product-footer {
    border-top: 1px solid var(--mfg-line);
}

body.mfg .btn-card-etsy {
    background: rgba(241, 100, 30, 0.08);
    border: 1px solid rgba(241, 100, 30, 0.32);
    border-radius: 2px;
    color: #ff8a4c;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

body.mfg .btn-card-etsy:hover {
    background: var(--etsy-orange);
    border-color: var(--etsy-orange);
    color: #fff;
}

body.mfg .btn-quickview {
    background: rgba(10, 16, 24, 0.92);
    border: 1px solid var(--mfg-line-strong);
    border-radius: 2px;
    color: var(--mfg-text);
    font-family: var(--font-mono);
    font-size: 0.64rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: none;
}

body.mfg .product-badge-overlay {
    border-radius: 2px;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.04em;
}

body.mfg .showcase-info-banner {
    background: #0c131c;
    border: 1px solid var(--mfg-line);
    border-radius: 2px;
    box-shadow: none;
}

body.mfg .info-banner-text h4 {
    color: var(--mfg-text);
    font-size: 0.95rem;
}

body.mfg .info-banner-text p {
    color: var(--mfg-muted);
    font-size: 0.82rem;
}

body.mfg .sync-status-badge {
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.24);
    border-radius: 2px;
    color: #6ee7b7;
    font-family: var(--font-mono);
    font-size: 0.64rem;
}

/* --------------------------------------------------------------------------
   Intake / contact terminal
   -------------------------------------------------------------------------- */

body.mfg .contact-section {
    background: #070c12;
    border-top: 1px solid var(--mfg-line);
}

body.mfg .contact-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 1px;
    background: var(--mfg-line);
    border: 1px solid var(--mfg-line);
}

body.mfg .contact-form-card {
    padding: 0;
    background: #0d141d;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

.terminal-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.7rem 1.5rem;
    background: #0a1018;
    border-bottom: 1px solid var(--mfg-line);
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mfg-faint);
}

.terminal-dots {
    display: inline-flex;
    gap: 5px;
}

.terminal-dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #253243;
    display: block;
}

.terminal-dots i:first-child {
    background: var(--mfg-blue);
}

.terminal-path {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.terminal-state {
    color: #6ee7b7;
}

.terminal-body {
    padding: 2.25rem;
}

body.mfg .inquiry-card-tag {
    margin-bottom: 0.7rem;
}

body.mfg .badge-tag {
    background: rgba(77, 141, 255, 0.1);
    border: 1px solid var(--mfg-blue-line);
    border-radius: 2px;
    color: var(--mfg-blue-bright);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.mfg .badge-tag-live {
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.3);
    border-radius: 2px;
    color: #6ee7b7;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.mfg .contact-form-card h3 {
    margin-bottom: 0.6rem;
    font-size: clamp(1.5rem, 2.4vw, 1.95rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

body.mfg .contact-card-sub {
    max-width: 62ch;
    margin-bottom: 2rem;
    color: var(--mfg-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

body.mfg .form-row {
    gap: 1px;
}

body.mfg .form-group {
    margin-bottom: 1.35rem;
}

body.mfg .form-group label {
    margin-bottom: 0.45rem;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mfg-muted);
}

body.mfg .form-group label small {
    color: var(--mfg-faint) !important;
    text-transform: none;
    letter-spacing: 0.02em;
}

body.mfg .form-control,
body.mfg .form-group input[type="text"],
body.mfg .form-group input[type="email"],
body.mfg .form-group input[type="tel"],
body.mfg .form-group textarea {
    padding: 0.8rem 0.95rem;
    background: #0a1119;
    border: 1px solid var(--mfg-line);
    border-radius: 2px;
    color: var(--mfg-text);
    font-family: var(--font-body);
    font-size: 0.9rem;
}

body.mfg .form-control::placeholder,
body.mfg .form-group input::placeholder,
body.mfg .form-group textarea::placeholder {
    color: #5d6e83;
}

body.mfg .form-group input:focus,
body.mfg .form-group textarea:focus,
body.mfg .form-control:focus {
    outline: none;
    border-color: var(--mfg-blue-line);
    background: #0b131d;
    box-shadow: 0 0 0 3px rgba(77, 141, 255, 0.12);
}

body.mfg .inq-dropzone-box {
    padding: 1.5rem 1rem;
    background: #0a1119;
    border: 1px dashed rgba(255, 255, 255, 0.16);
    border-radius: 2px;
}

body.mfg .inq-dropzone-box:hover,
body.mfg .inq-dropzone-box.dragover {
    background: rgba(77, 141, 255, 0.06);
    border-color: var(--mfg-blue-line);
}

body.mfg #inq-dropzone-prompt > div:first-child {
    opacity: 0.75;
}

body.mfg #inq-dropzone-prompt strong {
    color: var(--mfg-text) !important;
}

body.mfg #inq-browse-btn {
    color: var(--mfg-blue) !important;
}

body.mfg #inq-dropzone-prompt small {
    color: var(--mfg-faint) !important;
    font-family: var(--font-mono);
    font-size: 0.62rem !important;
    letter-spacing: 0.04em;
}

body.mfg #inq-file-preview {
    background: rgba(77, 141, 255, 0.07) !important;
    border: 1px solid var(--mfg-blue-line) !important;
    border-radius: 2px !important;
}

body.mfg #inq-file-name {
    color: var(--mfg-blue-bright) !important;
}

body.mfg #inq-file-size {
    color: var(--mfg-muted) !important;
    font-family: var(--font-mono);
}

body.mfg .form-group label.c3d-custom-checkbox-label {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.6;
    text-transform: none;
    color: var(--mfg-muted) !important;
}

body.mfg .c3d-custom-checkbox-label a {
    color: var(--mfg-blue) !important;
}

body.mfg #inq-privacy,
body.mfg .mat-compare-chk {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 2px;
    background: #0a1119;
    cursor: pointer;
    position: relative;
    margin: 0;
    transition: background 0.15s ease, border-color 0.15s ease;
}

body.mfg .mat-compare-chk {
    width: 14px;
    height: 14px;
}

body.mfg #inq-privacy:checked,
body.mfg .mat-compare-chk:checked {
    background: var(--mfg-blue-deep);
    border-color: var(--mfg-blue);
}

body.mfg #inq-privacy:checked::after,
body.mfg .mat-compare-chk:checked::after {
    content: '✓';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    line-height: 1;
}

body.mfg .material-card-char {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

body.mfg #btn-submit-inquiry {
    margin-top: 0.5rem;
    border-radius: 2px;
    font-size: 0.8rem;
}

body.mfg .configurator-promo-card {
    padding: 2.25rem;
    background:
        radial-gradient(520px 260px at 100% 0%, rgba(48, 111, 228, 0.22), transparent 70%),
        #0b131d;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

body.mfg .configurator-promo-card h3 {
    font-size: clamp(1.4rem, 2.2vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

body.mfg .promo-card-sub {
    color: var(--mfg-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

body.mfg .promo-features-list li {
    align-items: flex-start;
    color: var(--mfg-body);
    font-size: 0.84rem;
    line-height: 1.55;
}

body.mfg .promo-features-list .check-icon {
    color: var(--mfg-blue-bright);
}

body.mfg .promo-format-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--mfg-line);
    border-left: 1px solid var(--mfg-blue);
    border-radius: 2px;
    color: var(--mfg-muted);
    font-size: 0.8rem;
}

body.mfg .promo-format-box strong {
    color: var(--mfg-text);
}

body.mfg .configurator-promo-card .btn-primary {
    background: linear-gradient(135deg, #2f6fe4 0%, #1a48c4 100%);
    box-shadow: 0 16px 36px -20px rgba(48, 111, 228, 0.9);
}

/* --------------------------------------------------------------------------
   Direkt-Tools (Showcase-Karten über dem Anfrageformular)
   -------------------------------------------------------------------------- */

.tool-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-bottom: 1.75rem;
    background: var(--mfg-line);
    border: 1px solid var(--mfg-line);
}

.tool-showcase-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.75rem;
    background:
        radial-gradient(480px 220px at 100% 0%, rgba(48, 111, 228, 0.16), transparent 70%),
        #0b131d;
    transition: background 0.25s ease;
}

.tool-showcase-card:hover {
    background:
        radial-gradient(480px 220px at 100% 0%, rgba(48, 111, 228, 0.26), transparent 70%),
        #0d1621;
}

.tool-visual {
    overflow: hidden;
    background: #070d14;
    border: 1px solid var(--mfg-line);
}

.tool-visual-bar {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0.55rem 0.85rem;
    border-bottom: 1px solid var(--mfg-line);
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--mfg-faint);
}

.tool-visual-bar i {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #253243;
}

.tool-visual-bar span {
    margin-left: auto;
}

.tool-visual-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.1rem;
    color: rgba(122, 172, 255, 0.72);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 24px 24px;
}

.tool-visual-stage svg {
    display: block;
    width: 100%;
    max-width: 260px;
    height: auto;
}

.tool-visual-stage .iso-top {
    fill: rgba(77, 141, 255, 0.14);
}

.tool-showcase-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.85rem;
}

.tool-showcase-card h3 {
    margin: 0;
    font-size: clamp(1.25rem, 1.9vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--mfg-text);
}

.tool-showcase-body .badge-tag-live {
    align-self: flex-start;
    margin-bottom: 0;
}

.tool-showcase-sub {
    margin: 0;
    color: var(--mfg-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

.tool-showcase-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tool-showcase-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: var(--mfg-body);
    font-size: 0.84rem;
    line-height: 1.55;
}

.tool-showcase-features .check-icon {
    color: var(--mfg-blue-bright);
}

.tool-showcase-formats {
    margin-top: auto;
    padding: 0.55rem 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--mfg-line);
    border-left: 1px solid var(--mfg-blue);
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--mfg-muted);
}

.tool-showcase-btn {
    width: 100%;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    background: linear-gradient(135deg, #2f6fe4 0%, #1a48c4 100%);
    box-shadow: 0 16px 36px -20px rgba(48, 111, 228, 0.9);
}

.tool-showcase-note {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mfg-faint);
}

/* Anfrageformular als eigenes Panel unter den Tool-Karten */
body.mfg .intake-panel {
    max-width: 980px;
    margin: 0 auto;
    border: 1px solid var(--mfg-line);
}

@media (max-width: 992px) {
    .tool-showcase-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

body.mfg footer {
    background: #060a0f;
    border-top: 1px solid var(--mfg-line);
    color: var(--mfg-muted);
}

body.mfg .footer-container {
    gap: 3rem;
}

body.mfg .footer-logo {
    height: 52px;
}

body.mfg .footer-desc {
    max-width: 34ch;
    color: var(--mfg-muted);
    font-size: 0.86rem;
    line-height: 1.7;
}

body.mfg .footer-column h4 {
    margin-bottom: 1rem;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mfg-faint);
}

body.mfg .footer-links-list a {
    color: var(--mfg-body);
    font-size: 0.84rem;
}

body.mfg .footer-links-list a:hover {
    color: var(--mfg-text);
}

body.mfg .footer-bottom {
    border-top: 1px solid var(--mfg-line);
    color: var(--mfg-faint);
    font-size: 0.74rem;
}

body.mfg .footer-bottom a {
    color: var(--mfg-blue);
}

/* --------------------------------------------------------------------------
   Modals (quick view + legal)
   -------------------------------------------------------------------------- */

body.mfg .modal-backdrop {
    background: rgba(4, 8, 13, 0.82);
}

body.mfg .modal-card {
    background: #0d141d;
    border: 1px solid var(--mfg-line-strong);
    border-radius: 3px;
    color: var(--mfg-body);
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
}

body.mfg .modal-close-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--mfg-line);
    border-radius: 2px;
    color: var(--mfg-text);
}

body.mfg .modal-details-col h3 {
    color: var(--mfg-text);
}

body.mfg .modal-category-tag {
    background: rgba(77, 141, 255, 0.1);
    border: 1px solid var(--mfg-blue-line);
    border-radius: 2px;
    color: var(--mfg-blue-bright);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.08em;
}

body.mfg .modal-price-tag {
    color: var(--mfg-blue-bright);
}

body.mfg .modal-specs-table td {
    border-bottom: 1px solid var(--mfg-line);
}

body.mfg .modal-specs-table td:first-child {
    color: var(--mfg-muted);
}

body.mfg .modal-specs-table td:last-child {
    color: var(--mfg-body);
}

body.mfg .modal-legal-note {
    color: var(--mfg-faint);
}

body.mfg .gallery-nav-btn {
    background: rgba(10, 16, 24, 0.8);
    border: 1px solid var(--mfg-line-strong);
    color: var(--mfg-text);
}

body.mfg .gallery-counter-badge {
    background: rgba(10, 16, 24, 0.85);
    border: 1px solid var(--mfg-line);
    border-radius: 2px;
    color: var(--mfg-body);
    font-family: var(--font-mono);
    font-size: 0.62rem;
}

body.mfg .modal-thumbnails-strip img {
    border: 1px solid var(--mfg-line);
    border-radius: 2px;
}

body.mfg .legal-modal-header h2 {
    color: var(--mfg-text);
}

body.mfg .legal-tabs {
    border-bottom: 1px solid var(--mfg-line);
}

body.mfg .legal-tab-btn {
    border-radius: 2px;
    color: var(--mfg-muted);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.04em;
}

body.mfg .legal-tab-btn:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--mfg-text);
}

body.mfg .legal-tab-btn.active {
    background: rgba(77, 141, 255, 0.12);
    color: var(--mfg-blue-bright);
}

body.mfg .legal-modal-body {
    color: var(--mfg-body);
}

body.mfg .legal-tab-pane h3,
body.mfg .legal-tab-pane h4 {
    color: var(--mfg-text);
    border-color: var(--mfg-line);
}

body.mfg .legal-meta-card {
    background: #0a1018;
    border-left-color: var(--mfg-blue);
    border-radius: 0 2px 2px 0;
}

body.mfg .legal-alert-box {
    background: rgba(241, 100, 30, 0.08);
    border-left-color: var(--etsy-orange);
    border-radius: 0 2px 2px 0;
}

body.mfg .legal-alert-box.info {
    background: rgba(77, 141, 255, 0.08);
    border-left-color: var(--mfg-blue);
}

body.mfg .legal-open-page-link {
    color: var(--mfg-blue);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
    body.mfg .nav-container {
        padding: 0.6rem 1.5rem;
    }

    body.mfg .container {
        padding: 0 1.5rem;
    }

}

@media (max-width: 992px) {
    body.mfg .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body.mfg .section-padding {
        padding: 4.75rem 0;
    }

    body.mfg .nav-links {
        background: #0b131d;
        border-left: 1px solid var(--mfg-line);
        box-shadow: -30px 0 70px rgba(0, 0, 0, 0.7);
    }

    body.mfg .nav-links a {
        color: var(--mfg-text);
        font-size: 0.95rem;
    }

    body.mfg .nav-links a.btn-nav-contact {
        color: #fff !important;
    }

    body.mfg .nav-links a.btn-etsy {
        color: #ff8a4c !important;
    }

    body.mfg .hero {
        padding-top: 7.5rem;
    }

    body.mfg .hero h1 {
        font-size: clamp(2rem, 8.5vw, 2.9rem);
    }

    body.mfg .hero-lead {
        font-size: 0.98rem;
    }

    body.mfg .hero-buttons .btn-primary,
    body.mfg .hero-buttons .btn-secondary {
        flex: 1 1 100%;
        justify-content: center;
    }

    body.mfg .section-title {
        max-width: none;
    }

    body.mfg .contact-form-card,
    body.mfg .configurator-promo-card {
        padding: 0;
    }

    .terminal-body,
    body.mfg .configurator-promo-card {
        padding: 1.5rem;
    }

    body.mfg .form-row {
        grid-template-columns: 1fr;
    }

    body.mfg .showcase-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    body.mfg .compare-floating-bar {
        left: 1rem;
        right: 1rem;
        transform: translateY(120px);
        border-radius: 3px;
        width: auto;
        max-width: none;
    }

    body.mfg .compare-floating-bar.active {
        transform: translateY(0);
    }

    body.mfg .footer-container {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

    body.mfg .legal-modal-card {
        padding: 1.25rem;
        width: 100%;
    }

    body.mfg .legal-modal-header {
        padding-right: 2rem;
    }

    body.mfg .legal-modal-body {
        padding-right: 0.25rem;
    }
}

@media (max-width: 560px) {
    body.mfg .container {
        padding: 0 1.15rem;
    }

    body.mfg .materials-wrapper {
        padding: 1.15rem;
    }

    .terminal-body {
        padding: 1.25rem;
    }

    .terminal-bar {
        padding: 0.65rem 1rem;
        gap: 0.65rem;
    }

}


/* --------------------------------------------------------------------------
   Relaunch responsive overrides
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
    body.mfg .menu-toggle {
        display: flex;
    }

    body.mfg .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 1.25rem;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        padding: 6rem 2rem 2rem;
        background: #0b131d;
        border-left: 1px solid var(--mfg-line);
        box-shadow: -30px 0 70px rgba(0, 0, 0, 0.7);
        transition: 0.35s ease;
        z-index: 1000;
    }

    body.mfg .nav-links.active {
        right: 0;
    }
}

@media (max-width: 1180px) {
    .hero-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    body.mfg .step-card,
    body.mfg .step-card + .step-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 992px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 0;
        padding-bottom: 4rem;
    }

    .hero-copy {
        padding-right: 0;
        padding-bottom: 0;
        border-right: 0;
    }

    body.mfg .hero h1 {
        max-width: 20ch;
        font-size: clamp(2.3rem, 6.2vw, 3.4rem);
    }

    .workshop-panel {
        max-width: 680px;
    }

    .quality-layout {
        grid-template-columns: 1fr;
        gap: 2.75rem;
    }

    .audit-panel {
        max-width: 680px;
    }

    body.mfg .process-steps-grid {
        grid-template-columns: 1fr;
    }

    body.mfg .step-card,
    body.mfg .step-card + .step-card {
        padding: 1.75rem 1.5rem;
        border-right: 0;
        border-bottom: 1px solid var(--mfg-line);
    }

    body.mfg .step-card:last-child {
        border-bottom: 0;
    }

    body.mfg .step-badge {
        margin: 0;
    }
}

@media (max-width: 768px) {
    body.mfg .hero {
        padding-top: 7.5rem;
    }

    body.mfg .hero-badge {
        margin-bottom: 2rem;
    }

    body.mfg .hero h1 {
        font-size: clamp(2.15rem, 8.6vw, 3rem);
    }

    body.mfg .hero-lead {
        font-size: 0.98rem;
    }

    body.mfg .hero-buttons .btn-primary,
    body.mfg .hero-buttons .btn-secondary {
        flex: 1 1 100%;
        justify-content: center;
    }

    body.mfg .hero-trust li {
        padding: 0 0.65rem;
    }

    .workflow-board-head {
        gap: 0.35rem;
    }

    .workflow-board-head span:last-child {
        display: none;
    }

    .material-matrix thead {
        display: none;
    }

    .material-matrix,
    .material-matrix tbody,
    .material-matrix tr,
    .material-matrix th,
    .material-matrix td {
        display: block;
        width: 100%;
    }

    .material-matrix tbody tr {
        padding: 1.15rem 1.1rem;
        border-bottom: 1px solid var(--mfg-line);
    }

    .material-matrix tbody tr:last-child {
        border-bottom: 0;
    }

    .material-matrix tbody th,
    .material-matrix tbody td {
        width: 100%;
        padding: 0;
        border: 0;
    }

    .material-matrix tbody td {
        margin-top: 0.65rem;
    }

    .material-matrix tbody td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 0.2rem;
        font-family: var(--font-mono);
        font-size: 0.54rem;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--mfg-faint);
    }

    .matrix-foot {
        gap: 0.35rem 1.25rem;
        padding: 0.8rem 1.1rem;
    }
}

@media (max-width: 560px) {
    .hero-layout {
        gap: 2.25rem;
    }

    .hero-copy {
        padding-bottom: 2.25rem;
    }

    body.mfg .hero h1 {
        font-size: clamp(2rem, 9.4vw, 2.65rem);
    }

    body.mfg .hero-trust {
        gap: 0.45rem 0;
    }

    body.mfg .hero-trust li {
        width: 100%;
        padding: 0.4rem 0;
        border-left: 0;
        border-top: 1px solid var(--mfg-line);
    }

    body.mfg .hero-trust li:first-child {
        border-top: 0;
    }

    .workshop-panel__head {
        flex-wrap: wrap;
        gap: 0.35rem;
    }

    .spec-row {
        grid-template-columns: 1fr;
        gap: 0.3rem;
        padding: 0.9rem 0;
    }

    .workshop-panel__foot {
        flex-direction: column;
        gap: 0.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.mfg *,
    body.mfg *::before,
    body.mfg *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}

/* Product modal: no white blocks, readable gallery controls */
.modal-main-img-wrapper,
#modalProductImage { background: #0b1320 !important; }
.gallery-nav-btn.prev,
.gallery-nav-btn.next {
  background: rgba(12, 21, 34, 0.88) !important;
  color: #e2e8f0 !important;
  border: 1px solid rgba(148, 163, 184, 0.25) !important;
}
.gallery-nav-btn:hover { background: #0369a1 !important; color: #fff !important; }
.gallery-counter-badge {
  background: rgba(12, 21, 34, 0.9) !important;
  color: #cbd5e1 !important;
  border: 1px solid rgba(148, 163, 184, 0.25) !important;
}
.product-badge-overlay.badge-bestseller { background: #c2410c !important; color: #fff !important; }
