/* ============================================================
   BORER METALLBAU – Shared Stylesheet
   ============================================================ */

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

:root {
    --primary: #0d6efd;
    --primary-hover: #0b5ed7;
    --primary-glow: rgba(13,110,253,0.35);
    --dark: #212529;
    --darker: #1a1d21;
    --darkest: #111315;
    --light: #f8f9fa;
    --grey: #6c757d;
    --grey-light: #adb5bd;
    --border: #dee2e6;
    --white: #ffffff;
    --white50: rgba(255,255,255,0.5);
    --white20: rgba(255,255,255,0.2);
    --white08: rgba(255,255,255,0.08);
    --spark1: #cdd6e0;
    --spark2: #8ab4f8;
    --spark3: #0d6efd;
}

html { scroll-behavior: smooth; }

/* ===== INTRO / LOADING SCREEN ===== */
.intro-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background:
        radial-gradient(ellipse 60% 50% at 50% 42%, rgba(13,110,253,0.10), transparent 70%),
        radial-gradient(ellipse at center, #16191d 0%, #0e1013 72%);
    opacity: 1;
    animation: introOut 0.85s ease 4.15s forwards;
}
.intro-loader::after {
    content: '';
    position: absolute;
    inset: 0;
    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: 40px 40px;
    mask-image: radial-gradient(ellipse at center, #000 0%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 72%);
    pointer-events: none;
}
.intro-video {
    position: relative;
    z-index: 1;
    width: min(72vw, 470px);
    height: auto;
    filter: drop-shadow(0 14px 50px rgba(13,110,253,0.28));
    opacity: 0;
    animation: introVidIn 0.6s ease 0.15s forwards;
}
.intro-track {
    position: relative;
    z-index: 1;
    width: min(64vw, 300px);
    height: 3px;
    background: rgba(255,255,255,0.10);
    border-radius: 99px;
    overflow: hidden;
}
.intro-track__fill {
    position: absolute;
    inset: 0;
    width: 0;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--primary), #5b9dff);
    box-shadow: 0 0 16px var(--primary-glow);
    animation: introFill 4.1s cubic-bezier(0.45, 0.05, 0.2, 1) forwards;
}
.intro-label {
    position: relative;
    z-index: 1;
    margin-top: -22px;
    font-family: 'Play', sans-serif;
    font-size: 0.66rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--grey-light);
    opacity: 0.7;
}
@keyframes introFill { 0% { width: 0; } 100% { width: 100%; } }
@keyframes introVidIn { to { opacity: 1; } }
@keyframes introOut { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.intro-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.6s ease; }
@media (prefers-reduced-motion: reduce) {
    .intro-loader { display: none; }
}
body {
    font-family: 'Play', sans-serif;
    background: var(--darkest);
    color: var(--light);
    overflow-x: hidden;
}

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

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    transition: background 0.4s, box-shadow 0.4s;
}

header.scrolled {
    background: rgba(33,37,41,0.95);
    backdrop-filter: blur(18px);
    box-shadow: 0 2px 25px rgba(0,0,0,0.4);
}

header.scrolled .header-line { opacity: 1; }

.header-line {
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), rgba(13,110,253,0.6), var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 40px;
}

.logo-link { display: block; }

.logo-img {
    height: 42px;
    width: auto;
    filter: brightness(2.2) contrast(0.9);
    transition: filter 0.3s, transform 0.3s;
}

.logo-img:hover {
    filter: brightness(2.6) contrast(0.9) drop-shadow(0 0 8px var(--primary-glow));
    transform: scale(1.03);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-item {
    position: relative;
    padding: 10px 20px;
}

.nav-link {
    text-decoration: none;
    color: var(--grey-light);
    font-family: 'Play', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.25s;
}

.nav-link:hover { color: var(--white); }

.nav-link.active {
    color: var(--white);
}

.nav-item.active::after,
.nav-item::after {
    content: '';
    position: absolute;
    bottom: 3px; left: 50%;
    width: 0; height: 2px;
    background: var(--primary);
    box-shadow: 0 0 6px var(--primary-glow);
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 60%;
    left: 20%;
}

.nav-item .weld-dot {
    position: absolute;
    bottom: 2px; left: 50%;
    width: 4px; height: 4px;
    background: var(--primary);
    border-radius: 50%;
    transform: translateX(-50%) scale(0);
    transition: transform 0.2s;
    box-shadow: 0 0 8px var(--primary), 0 0 16px var(--primary-glow);
}

.nav-item:hover .weld-dot,
.nav-item.active .weld-dot {
    transform: translateX(-50%) scale(1);
}

.nav-cta {
    padding: 9px 24px;
    background: var(--primary);
    border: none;
    color: var(--white);
    font-family: 'Play', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.3s;
}

.nav-cta:hover {
    background: var(--primary-hover);
    box-shadow: 0 0 20px var(--primary-glow);
    transform: translateY(-1px);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: 'Play', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 3px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 4px 25px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--light);
    border: 1px solid var(--white20);
}

.btn-outline:hover {
    border-color: var(--white50);
    color: var(--white);
    background: var(--white08);
    transform: translateY(-2px);
}

/* legacy aliases used in borer.html */
.hero-btn { padding: 14px 36px; font-family: 'Play', sans-serif; font-size: 0.85rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; border-radius: 3px; transition: all 0.3s; }

/* ===== PAGE HERO (sub-pages, shorter than landing hero) ===== */
.page-hero {
    position: relative;
    min-height: 60vh;
    padding: 180px 30px 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse at top, rgba(13,110,253,0.12) 0%, transparent 60%),
        var(--darkest);
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.18;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.5) contrast(1.1);
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 200px;
    background: linear-gradient(to bottom, transparent, var(--darkest));
    z-index: 1;
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.page-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Play', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 24px;
}

.page-hero-eyebrow::before,
.page-hero-eyebrow::after {
    content: '';
    width: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary));
}

.page-hero-eyebrow::after {
    background: linear-gradient(90deg, var(--primary), transparent);
}

.page-hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 22px;
    color: var(--white);
}

.page-hero-title .shine {
    background: linear-gradient(135deg, var(--grey-light), var(--white), var(--grey-light));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: metalShine 4s ease-in-out infinite;
}

@keyframes metalShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.page-hero-sub {
    font-size: clamp(1rem, 1.8vw, 1.18rem);
    color: var(--white50);
    letter-spacing: 1px;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

.page-hero-breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--grey);
}

.page-hero-breadcrumb a { color: var(--grey-light); text-decoration: none; }
.page-hero-breadcrumb a:hover { color: var(--primary); }
.page-hero-breadcrumb .sep { color: var(--grey); opacity: 0.5; }

/* ===== SECTION SHELL ===== */
.section {
    padding: 100px 30px;
    position: relative;
}

.section-narrow { padding: 80px 30px; }

.section-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.section-head {
    text-align: center;
    margin-bottom: 70px;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
    position: relative;
    padding: 0 18px;
}

.section-eyebrow::before,
.section-eyebrow::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--primary);
    opacity: 0.4;
}
.section-eyebrow::before { right: 100%; }
.section-eyebrow::after { left: 100%; }

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 20px;
}

.section-title .accent {
    color: var(--primary);
}

.section-sub {
    font-size: 1.05rem;
    color: var(--white50);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== REVEAL ON SCROLL ===== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== SPARK OVERLAY ===== */
#sparks {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 999;
}

/* ===== FOOTER ===== */
footer {
    position: relative;
    background: var(--dark);
    overflow: hidden;
}

.footer-top-line {
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%, var(--primary) 30%,
        rgba(138,180,248,0.8) 50%,
        var(--primary) 70%, transparent 100%);
    box-shadow: 0 0 12px var(--primary-glow);
    animation: lineGlow 3s ease-in-out infinite;
}

@keyframes lineGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.footer-drips {
    position: relative;
    height: 25px;
    overflow: visible;
}

.drip {
    position: absolute;
    top: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), rgba(13,110,253,0.4), transparent);
    border-radius: 0 0 50% 50%;
    animation: drip var(--d) ease-in infinite;
    animation-delay: var(--dd);
    opacity: 0;
}

@keyframes drip {
    0% { height: 0; opacity: 0.8; top: 0; }
    40% { height: 18px; opacity: 0.8; }
    100% { height: 0; opacity: 0; top: 25px; }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px 45px;
    position: relative;
    z-index: 2;
}

.footer-brand-logo {
    height: 36px;
    filter: brightness(2);
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 0.92rem;
    color: var(--white50);
    line-height: 1.75;
    max-width: 320px;
}

.footer-heading {
    font-family: 'Play', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--light);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--white08);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-links a {
    color: var(--white50);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.25s, padding-left 0.25s;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 6px;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}

.contact-icon {
    width: 30px; height: 30px;
    background: var(--white08);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: background 0.25s, box-shadow 0.25s;
}

.contact-row:hover .contact-icon {
    background: rgba(13,110,253,0.1);
    box-shadow: 0 0 10px var(--primary-glow);
}

.contact-text {
    font-size: 0.85rem;
    color: var(--white50);
    line-height: 1.5;
}

.contact-text a {
    color: var(--white50);
    text-decoration: none;
    transition: color 0.25s;
}

.contact-text a:hover { color: var(--primary); }

.contact-label {
    font-size: 0.65rem;
    color: var(--grey-light);
    letter-spacing: 1px;
    font-weight: 700;
}

.footer-bottom {
    border-top: 1px solid var(--white08);
    padding: 20px 40px;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.25);
}

.footer-copy a {
    color: var(--grey-light);
    text-decoration: none;
    transition: color 0.25s;
}

.footer-copy a:hover { color: var(--primary); }

/* ===== LEGAL / RECHTSTEXT PAGES ===== */
.legal {
    padding: 90px 30px 110px;
    background: var(--darkest);
    position: relative;
}
.legal-inner {
    max-width: 880px;
    margin: 0 auto;
}
.legal-card {
    background: var(--darker);
    border: 1px solid var(--white08);
    border-radius: 10px;
    padding: 30px 34px;
    margin-bottom: 34px;
}
.legal h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--white);
    font-size: 1.4rem;
    letter-spacing: 0.3px;
    margin: 54px 0 18px;
}
.legal-inner > .legal-block:first-of-type h2,
.legal h2.first { margin-top: 0; }
.legal h3 {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 30px 0 10px;
}
.legal p,
.legal li {
    color: var(--white50);
    line-height: 1.85;
    font-size: 0.98rem;
}
.legal p { margin-bottom: 16px; }
.legal ul { margin: 0 0 18px; padding-left: 22px; }
.legal li { margin-bottom: 9px; }
.legal a { color: var(--primary); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.legal strong { color: var(--white); font-weight: 700; }
.legal-contact-line { margin: 4px 0; color: var(--white); }
.legal .ph {
    display: inline-block;
    color: var(--primary);
    background: rgba(13,110,253,0.08);
    border: 1px dashed rgba(13,110,253,0.4);
    padding: 1px 8px;
    border-radius: 3px;
    font-size: 0.85em;
    letter-spacing: 0.5px;
}
.legal-note {
    background: rgba(13,110,253,0.06);
    border: 1px solid rgba(13,110,253,0.2);
    border-left: 3px solid var(--primary);
    border-radius: 6px;
    padding: 18px 22px;
    margin-bottom: 34px;
    font-size: 0.9rem;
    color: var(--white50);
    line-height: 1.7;
}
.legal-updated {
    color: var(--grey);
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 46px;
    padding-top: 22px;
    border-top: 1px solid var(--white08);
}
@media (max-width: 600px) {
    .legal-card { padding: 24px 20px; }
    .legal h2 { font-size: 1.2rem; }
}

.footer-tag {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.18);
    letter-spacing: 1px;
}

.footer-tag .glow {
    color: var(--primary);
    animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* ===== CHAT BUBBLE ===== */
.chat-widget {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    pointer-events: none;
}

.chat-popup {
    pointer-events: auto;
    width: 320px;
    background: var(--dark);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px 16px 4px 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 20px rgba(13,110,253,0.08);
    padding: 22px 20px 18px;
    transform: translateY(20px) scale(0.92);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    visibility: hidden;
}

.chat-popup.visible {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.chat-popup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.chat-popup-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
    flex-shrink: 0;
}

.chat-popup-info { flex: 1; min-width: 0; }

.chat-popup-name {
    font-family: 'Play', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
}

.chat-popup-role {
    font-size: 0.72rem;
    color: var(--grey);
    letter-spacing: 0.5px;
}

.chat-popup-online {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    color: #34d399;
    margin-top: 1px;
}

.chat-popup-online .dot {
    width: 6px;
    height: 6px;
    background: #34d399;
    border-radius: 50%;
    animation: onlinePulse 2s ease-in-out infinite;
}

@keyframes onlinePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(52,211,153,0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(52,211,153,0); }
}

.chat-popup-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    color: var(--grey);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: color 0.2s, background 0.2s;
    line-height: 1;
}

.chat-popup-close:hover {
    color: var(--white);
    background: var(--white08);
}

.chat-popup-msg {
    font-family: 'Play', sans-serif;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.55;
    margin-bottom: 16px;
}

.chat-popup-msg strong { color: var(--white); }

.chat-popup-cta {
    display: flex;
    gap: 8px;
}

.chat-popup-btn {
    flex: 1;
    padding: 10px 14px;
    font-family: 'Play', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
    display: block;
}

.chat-popup-btn.primary { background: var(--primary); color: var(--white); }
.chat-popup-btn.primary:hover { background: var(--primary-hover); box-shadow: 0 4px 16px var(--primary-glow); }

.chat-popup-btn.ghost {
    background: var(--white08);
    color: var(--grey-light);
    border: 1px solid rgba(255,255,255,0.06);
}

.chat-popup-btn.ghost:hover { background: rgba(255,255,255,0.12); color: var(--white); }

.chat-trigger {
    pointer-events: auto;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    position: relative;
    background: var(--primary);
    box-shadow: 0 4px 20px var(--primary-glow);
    transition: all 0.3s;
    overflow: hidden;
    padding: 0;
    transform: scale(0);
    animation: triggerPop 0.5s cubic-bezier(0.34,1.56,0.64,1) 2.5s forwards;
}

.chat-trigger:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 30px rgba(13,110,253,0.5);
}

.chat-trigger-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary);
    transition: border-color 0.3s;
}

.chat-trigger:hover .chat-trigger-img { border-color: var(--primary-hover); }

.chat-trigger-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: #34d399;
    border-radius: 50%;
    border: 2px solid var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    color: #fff;
    font-weight: 700;
    animation: badgePop 0.4s cubic-bezier(0.34,1.56,0.64,1) forwards;
}

@keyframes badgePop {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

.chat-trigger-ping {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #34d399;
    animation: ping 1.5s cubic-bezier(0,0,0.2,1) infinite;
}

@keyframes ping {
    0% { transform: scale(1); opacity: 0.6; }
    75%, 100% { transform: scale(2.2); opacity: 0; }
}

@keyframes triggerPop {
    to { transform: scale(1); }
}

/* ===== MOBILE ===== */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.mobile-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--grey-light);
    transition: all 0.3s;
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== CTA STRIP (used across pages above footer) ===== */
.cta-strip {
    position: relative;
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 100%);
    padding: 80px 30px;
    overflow: hidden;
    border-top: 1px solid var(--white08);
}

.cta-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(13,110,253,0.18), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(138,180,248,0.10), transparent 50%);
    pointer-events: none;
}

.cta-strip-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr auto;
    align-items: center;
    gap: 40px;
    position: relative;
}

.cta-strip-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 10px;
}

.cta-strip-sub {
    color: var(--white50);
    font-size: 1rem;
    line-height: 1.6;
}

.cta-strip-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ===== UTILITY ===== */
.flex { display: flex; }
.center { display: flex; align-items: center; justify-content: center; }
.text-center { text-align: center; }
.muted { color: var(--white50); }
.accent { color: var(--primary); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .mobile-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 80%; max-width: 320px; height: 100vh;
        flex-direction: column;
        background: rgba(33,37,41,0.98);
        backdrop-filter: blur(20px);
        padding: 80px 30px 40px;
        gap: 6px;
        transition: right 0.4s ease;
        border-left: 1px solid var(--white08);
        align-items: flex-start;
    }

    .nav-links.open { right: 0; }
    .nav-item { padding: 12px 0; width: 100%; }
    .nav-link { font-size: 0.95rem; }
    .nav-cta { display: inline-block; margin-top: 10px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 40px 22px 30px; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; padding: 18px 20px; }
    .nav-container { padding: 14px 18px; }
    .section { padding: 70px 22px; }
    .page-hero { padding: 140px 22px 70px; min-height: 50vh; }
    .cta-strip-inner { grid-template-columns: 1fr; text-align: center; }
    .cta-strip-buttons { justify-content: center; }
    .chat-widget { bottom: 16px; right: 16px; }
    .chat-popup { width: 290px; padding: 18px 16px 14px; }
    .chat-trigger { width: 52px; height: 52px; }
}

/* ============================================================
   LOCAL SEO LANDING PAGES (metallbau-<ort>.html + einzugsgebiet.html)
   Reuses tokens, .page-hero, .faq, .cta-strip, .reveal
   ============================================================ */

/* --- Canton chip in the page hero eyebrow --- */
.local-canton-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: 4px;
    padding: 4px 12px;
    border: 1px solid rgba(13,110,253,0.35);
    border-radius: 100px;
    background: rgba(13,110,253,0.08);
    font-size: 0.62rem;
    letter-spacing: 2px;
    color: var(--grey-light);
}
.local-canton-chip::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary-glow);
}

/* --- Trust bar directly under the hero --- */
.local-trustbar {
    background: var(--dark);
    border-top: 1px solid var(--white08);
    border-bottom: 1px solid var(--white08);
}
.local-trustbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--white08);
    border-left: 1px solid var(--white08);
    border-right: 1px solid var(--white08);
}
.trust-cell {
    background: var(--dark);
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: background 0.3s;
}
.trust-cell:hover { background: var(--darker); }
.trust-cell-mark {
    width: 42px; height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(13,110,253,0.10);
    border: 1px solid rgba(13,110,253,0.30);
    color: var(--primary);
    font-size: 1.1rem;
}
.trust-cell strong {
    display: block;
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.2;
    font-family: 'Orbitron', sans-serif;
}
.trust-cell span {
    font-size: 0.74rem;
    color: var(--white50);
    letter-spacing: 0.3px;
}

/* --- Local intro: copy + info card --- */
.local-intro { padding: 100px 30px; background: var(--darkest); position: relative; }
.local-intro-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 56px;
    align-items: start;
}
.local-intro-copy h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 22px;
}
.local-intro-copy h2 .accent { color: var(--primary); }
.local-intro-copy p {
    color: rgba(255,255,255,0.72);
    font-size: 1.04rem;
    line-height: 1.85;
    margin-bottom: 18px;
}
.local-intro-copy p strong { color: var(--white); }
.local-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 26px;
}
.local-keyword {
    font-size: 0.78rem;
    color: var(--grey-light);
    padding: 7px 14px;
    border: 1px solid var(--white08);
    border-radius: 3px;
    background: var(--white08);
    transition: all 0.25s;
}
.local-keyword:hover { color: var(--white); border-color: rgba(13,110,253,0.4); }

.local-info-card {
    background: linear-gradient(160deg, rgba(13,110,253,0.08), rgba(255,255,255,0.01));
    border: 1px solid rgba(13,110,253,0.22);
    border-radius: 10px;
    padding: 30px 28px;
    position: sticky;
    top: 96px;
}
.local-info-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: var(--white);
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--white08);
}
.info-row {
    display: flex;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid var(--white08);
}
.info-row:last-of-type { border-bottom: none; }
.info-row .ico {
    width: 34px; height: 34px; flex-shrink: 0;
    border-radius: 6px;
    background: rgba(13,110,253,0.10);
    border: 1px solid rgba(13,110,253,0.25);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.95rem;
}
.info-row .info-k { font-size: 0.68rem; color: var(--white50); letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; }
.info-row .info-v { color: var(--white); font-size: 0.92rem; line-height: 1.45; }
.info-row .info-v a { color: var(--primary); text-decoration: none; }
.local-info-card .btn { width: 100%; text-align: center; margin-top: 22px; }

/* --- Areas / Quartiere served --- */
.local-areas { padding: 90px 30px; background: var(--darker); border-top: 1px solid var(--white08); }
.area-grid {
    max-width: 1080px;
    margin: 36px auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.area-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 18px;
    border: 1px solid var(--white08);
    border-radius: 100px;
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    font-size: 0.86rem;
    transition: all 0.3s;
}
.area-chip::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary-glow);
}
.area-chip:hover {
    transform: translateY(-3px);
    border-color: rgba(13,110,253,0.45);
    color: var(--white);
    box-shadow: 0 8px 22px rgba(0,0,0,0.4);
}

/* --- Local services grid --- */
.local-services { padding: 100px 30px; background: var(--darkest); }
.lsvc-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.lsvc-card {
    position: relative;
    display: block;
    text-decoration: none;
    padding: 30px 26px 28px;
    background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    border: 1px solid var(--white08);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.lsvc-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transform: scaleX(0);
    transition: transform 0.4s;
}
.lsvc-card:hover {
    transform: translateY(-5px);
    border-color: rgba(13,110,253,0.4);
    box-shadow: 0 14px 44px rgba(0,0,0,0.45), 0 0 30px rgba(13,110,253,0.10);
}
.lsvc-card:hover::before { transform: scaleX(1); }
.lsvc-ico {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 14px;
}
.lsvc-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.12rem;
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 700;
}
.lsvc-card p { font-size: 0.9rem; color: var(--white50); line-height: 1.65; }
.lsvc-card .lsvc-more {
    display: inline-block;
    margin-top: 16px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--grey-light);
    transition: color 0.3s;
}
.lsvc-card:hover .lsvc-more { color: var(--primary); }
.lsvc-card .lsvc-more::after { content: ' →'; }

/* --- Local stats --- */
.local-stats {
    padding: 70px 30px;
    background: linear-gradient(135deg, var(--darker), var(--dark));
    border-top: 1px solid var(--white08);
    border-bottom: 1px solid var(--white08);
}
.local-stats-grid {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.lstat .num {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}
.lstat .num .accent, .lstat .num span.unit { color: var(--primary); }
.lstat .lbl { margin-top: 10px; font-size: 0.82rem; color: var(--white50); letter-spacing: 1px; }

/* --- Local review / testimonial --- */
.local-review { padding: 100px 30px; background: var(--darkest); }
.review-card {
    max-width: 860px;
    margin: 0 auto;
    background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    border: 1px solid var(--white08);
    border-radius: 12px;
    padding: 46px 44px;
    position: relative;
}
.review-card::before {
    content: '\201C';
    position: absolute;
    top: 4px; left: 26px;
    font-family: Georgia, serif;
    font-size: 6rem;
    color: rgba(13,110,253,0.25);
    line-height: 1;
}
.review-stars { color: #ffc107; letter-spacing: 3px; font-size: 1.05rem; margin-bottom: 18px; }
.review-card blockquote {
    color: rgba(255,255,255,0.85);
    font-size: 1.18rem;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}
.review-author { display: flex; align-items: center; gap: 14px; }
.review-author .ra-badge {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: rgba(13,110,253,0.12);
    border: 1px solid rgba(13,110,253,0.3);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: var(--primary);
}
.review-author strong { display: block; color: var(--white); font-size: 0.95rem; }
.review-author span { font-size: 0.8rem; color: var(--white50); }

/* --- FAQ accordion (shared base for Unterseiten: metallbau-*, einzugsgebiet) --- */
.faq {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    border: 1px solid var(--white08);
    border-radius: 6px;
    background: var(--dark);
    overflow: hidden;
    transition: border-color 0.3s;
}
.faq-item.open {
    border-color: rgba(13,110,253,0.5);
    box-shadow: 0 0 30px rgba(13,110,253,0.1);
}
.faq-q {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 22px 26px;
    font-family: 'Play', sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.faq-q .plus {
    width: 22px; height: 22px;
    position: relative;
    flex-shrink: 0;
    transition: transform 0.3s;
}
.faq-q .plus::before,
.faq-q .plus::after {
    content: '';
    position: absolute;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary-glow);
}
.faq-q .plus::before {
    top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%);
}
.faq-q .plus::after {
    left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%);
    transition: transform 0.3s;
}
.faq-item.open .faq-q .plus::after { transform: translateX(-50%) rotate(90deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner {
    padding: 0 26px 22px;
    color: var(--white50);
    line-height: 1.7;
    font-size: 0.95rem;
}
/* longer SEO answers on local pages need more room */
.faq-local .faq-item.open .faq-a { max-height: 1200px; }

/* --- Nearby towns internal links --- */
.local-nearby { padding: 80px 30px; background: var(--darker); border-top: 1px solid var(--white08); }
.nearby-grid {
    max-width: 1100px;
    margin: 36px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}
.nearby-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 20px;
    border: 1px solid var(--white08);
    border-radius: 6px;
    background: var(--dark);
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    font-size: 0.92rem;
    transition: all 0.3s;
}
.nearby-link span.town { font-weight: 700; }
.nearby-link span.arr { color: var(--grey); transition: transform 0.3s, color 0.3s; }
.nearby-link:hover {
    border-color: rgba(13,110,253,0.45);
    background: rgba(13,110,253,0.06);
    color: var(--white);
    transform: translateY(-2px);
}
.nearby-link:hover span.arr { color: var(--primary); transform: translateX(4px); }

/* --- Region map grid on the hub page --- */
.region-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.region-card {
    position: relative;
    display: block;
    text-decoration: none;
    padding: 28px 26px;
    background: linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    border: 1px solid var(--white08);
    border-radius: 8px;
    transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
    overflow: hidden;
}
.region-card:hover {
    transform: translateY(-5px);
    border-color: rgba(13,110,253,0.4);
    box-shadow: 0 14px 44px rgba(0,0,0,0.45), 0 0 30px rgba(13,110,253,0.10);
}
.region-card .rc-canton {
    display: inline-block;
    font-size: 0.62rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary);
    border: 1px solid rgba(13,110,253,0.3);
    border-radius: 3px;
    padding: 3px 9px;
    margin-bottom: 14px;
}
.region-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 8px;
}
.region-card p { font-size: 0.86rem; color: var(--white50); line-height: 1.6; }
.region-card .rc-dist { margin-top: 14px; font-size: 0.74rem; color: var(--grey-light); letter-spacing: 0.5px; }
.region-card .rc-dist b { color: var(--primary); }

/* --- Local responsive --- */
@media (max-width: 900px) {
    .local-trustbar-inner { grid-template-columns: repeat(2, 1fr); }
    .local-intro-inner { grid-template-columns: 1fr; gap: 40px; }
    .local-info-card { position: static; }
    .lsvc-grid { grid-template-columns: repeat(2, 1fr); }
    .local-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
    .local-intro, .local-areas, .local-services, .local-review, .local-nearby { padding: 64px 22px; }
}
@media (max-width: 560px) {
    .local-trustbar-inner { grid-template-columns: 1fr; }
    .lsvc-grid { grid-template-columns: 1fr; }
    .review-card { padding: 34px 24px; }
}
