/* Tec-Point GmbH hub — own layout, not a third-party template */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "IBM Plex Sans", Verdana, sans-serif;
    color: #d8d8d8;
    background: #1f2328;
    min-height: 100vh;
}

/* Animated industrial stage behind the hub — CSS only */
.hub-stage {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background:
        radial-gradient(1200px 700px at 50% -10%, rgba(196, 30, 58, 0.18), transparent 55%),
        radial-gradient(900px 500px at 100% 80%, rgba(80, 90, 100, 0.22), transparent 50%),
        #1f2328;
}

.hub-stage__grid {
    position: absolute;
    inset: -40%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 56px 56px;
    transform: rotate(-11deg);
    animation: hub-grid 32s linear infinite;
}

.hub-stage__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
}

.hub-stage__glow--steel {
    width: 52vw;
    height: 52vw;
    max-width: 640px;
    max-height: 640px;
    left: -8%;
    top: 18%;
    background: rgba(120, 132, 148, 0.28);
    animation: hub-drift-a 22s ease-in-out infinite alternate;
}

.hub-stage__glow--brand {
    width: 46vw;
    height: 46vw;
    max-width: 560px;
    max-height: 560px;
    right: -6%;
    top: -8%;
    background: rgba(196, 30, 58, 0.32);
    animation: hub-drift-b 18s ease-in-out infinite alternate;
}

.hub-stage__scan {
    position: absolute;
    top: -20%;
    left: 0;
    width: 3px;
    height: 140%;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(196, 30, 58, 0.05),
        rgba(196, 30, 58, 0.85),
        rgba(196, 30, 58, 0.05),
        transparent
    );
    box-shadow: 0 0 18px 4px rgba(196, 30, 58, 0.35);
    animation: hub-scan 11s ease-in-out infinite;
}

@keyframes hub-grid {
    to {
        transform: rotate(-11deg) translate3d(56px, 56px, 0);
    }
}

@keyframes hub-drift-a {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(12vw, 8vh, 0) scale(1.12); }
}

@keyframes hub-drift-b {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(-10vw, 14vh, 0) scale(1.18); }
}

@keyframes hub-scan {
    0% { transform: translateX(-20vw) rotate(12deg); opacity: 0; }
    12% { opacity: 0.7; }
    88% { opacity: 0.7; }
    100% { transform: translateX(120vw) rotate(12deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .hub-stage__grid,
    .hub-stage__glow,
    .hub-stage__scan {
        animation: none;
    }

    .hub-stage__scan {
        display: none;
    }
}

main,
.hub-footer {
    position: relative;
    z-index: 1;
}

img {
    max-width: 100%;
    height: auto;
    border: 0;
}

a {
    color: #c41e3a;
    text-decoration: none;
}

a:hover {
    color: #e03a3c;
}

.hub-panel {
    background: linear-gradient(180deg, rgba(22, 24, 28, 0.78) 0%, rgba(12, 13, 16, 0.88) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 24px 60px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.hub-intro {
    text-align: center;
    max-width: 920px;
    margin: 36px auto 8px;
    padding: 28px 32px 32px;
    position: relative;
}

.hub-intro::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c41e3a 20%, #c41e3a 80%, transparent);
}

.hub-intro img {
    width: min(620px, 88vw);
    height: auto;
    mix-blend-mode: screen;
}

.hub-intro h1 {
    margin: 10px 0 0;
    font-family: Oswald, sans-serif;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f4f4f4;
}

.hub-slogan {
    margin: 8px 0 0;
    font-family: Oswald, sans-serif;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #f4f4f4;
}

.hub-areas-line {
    margin: 14px 0 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c41e3a;
}

.hub-lead {
    max-width: 680px;
    margin: 16px auto 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 15px;
    line-height: 1.6;
    color: #c5c8cc;
}

.hub-about {
    max-width: 920px;
    margin: 12px auto 8px;
    padding: 28px 32px;
    font-size: 15px;
    line-height: 1.65;
    color: #c5c8cc;
    text-align: center;
}

.hub-about h2 {
    margin: 0 0 14px;
    font-family: Oswald, sans-serif;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #f4f4f4;
}

.hub-about p {
    margin: 0;
}

.hub-areas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 18px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 24px 56px;
}

.hub-areas article {
    padding: 22px 22px 24px;
    border-left: 2px solid #c41e3a;
}

.hub-areas article h2 {
    margin: 0 0 10px;
    font-family: Oswald, sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 1.3;
}

.hub-areas article h2 a {
    color: #f4f4f4;
}

.hub-areas article h2 a:hover {
    color: #c41e3a;
}

.hub-areas article p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: #b7bbc0;
}

.hub-footer {
    color: #fff;
    font-size: 14px;
    background: #111;
    margin-top: 0;
}

.hub-footer-main {
    padding: 56px 24px 32px;
    background: #1b1b1b;
}

.hub-footer-grid {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) minmax(280px, 2fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.hub-footer-brand {
    margin: 0 0 12px;
    font-family: Oswald, sans-serif;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
}

.hub-footer-brand span {
    color: #e03a3c;
}

.hub-footer address {
    font-style: normal;
}

.hub-footer address a {
    color: #aaa;
}

.hub-footer address a:hover {
    color: #fff;
}

.hub-footer-main p {
    margin: 0;
    line-height: 1.7;
}

.hub-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hub-footer-links li {
    padding: 10px 0;
}

.hub-footer-links li:first-child {
    padding-top: 0;
}

.hub-footer-links a {
    color: #aaa;
}

.hub-footer-links a:hover {
    color: #fff;
}

.hub-footer-links a::before {
    content: "›";
    display: inline-block;
    margin-right: 8px;
    color: #fff;
}

.hub-map {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}

.hub-footer-copy {
    max-width: 1100px;
    margin: 0 auto;
    padding: 18px 24px 24px;
    text-align: center;
}

.hub-legal-page {
    max-width: 860px;
    margin: 40px auto 80px;
    padding: 40px 28px;
    color: #222;
    background: #f7f7f7;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hub-legal-page h1,
.hub-legal-page h2,
.hub-legal-page h3,
.hub-legal-page h4 {
    color: #111;
}

.hub-back {
    display: inline-block;
    margin-bottom: 24px;
    font-weight: 700;
}

@media (max-width: 900px) {
    .hub-footer-grid {
        grid-template-columns: 1fr;
    }

    .hub-map {
        height: 280px;
    }

    .hub-intro {
        margin: 20px 12px 8px;
        padding: 22px 18px 24px;
    }

    .hub-about {
        margin-left: 12px;
        margin-right: 12px;
        padding: 22px 18px;
    }

    .hub-areas {
        grid-template-columns: 1fr;
        padding-top: 24px;
    }
}
