/* === POLYMATH PRODUCTIONS - PAUL KONSTANTIN REGLER ===
 * Premium Dark Modern Design System
 */

:root {
    --bg-dark: #07090e;
    --surface-card: rgba(18, 22, 32, 0.7);
    --surface-light: rgba(30, 36, 50, 0.6);
    --border-glow: rgba(0, 255, 204, 0.15);

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #718096;

    --accent-cyan: #00ffcc;
    --accent-cyan-glow: rgba(0, 255, 204, 0.35);
    --accent-orange: #ff6600;
    --accent-orange-glow: rgba(255, 102, 0, 0.35);

    --font-heading: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.95rem 4%;
    background: rgba(7, 9, 14, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    box-sizing: border-box;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    margin-right: 0.5rem;
}

.logo span {
    color: var(--accent-cyan);
}

/* Navigation CRM Quick Access Pill (Next to Logo) */
.logo-nav-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-crm-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.12) 0%, rgba(0, 200, 160, 0.05) 100%);
    border: 1px solid rgba(0, 255, 204, 0.4);
    color: var(--accent-cyan);
    padding: 4px 11px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 12px rgba(0, 255, 204, 0.15);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.nav-crm-pill:hover {
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.25) 0%, rgba(0, 200, 160, 0.15) 100%);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 18px rgba(0, 255, 204, 0.35);
    transform: translateY(-1px);
    color: #ffffff;
}

.nav-crm-pulse {
    width: 6px;
    height: 6px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--accent-cyan);
    animation: crmPulseAnim 2s infinite;
}

@keyframes crmPulseAnim {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 204, 0.7); }
    70% { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(0, 255, 204, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 204, 0); }
}

@media (max-width: 900px) {
    .nav-crm-pill {
        display: none;
    }
}

.devforge-section {
    min-height: auto;
    padding-top: 92px;
    padding-bottom: 92px;
    background:
        linear-gradient(115deg, rgba(214, 138, 84, 0.10), transparent 43%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 70%);
    border-top: 1px solid rgba(214, 138, 84, 0.24);
    border-bottom: 1px solid rgba(214, 138, 84, 0.16);
    overflow: hidden;
}

.devforge-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.85fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
    width: min(1180px, 100%);
    margin: 0 auto;
}

.devforge-copy { min-width: 0; }

.devforge-eyebrow-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
    margin-bottom: 1.25rem;
}

.devforge-eyebrow,
.devforge-live-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.devforge-eyebrow {
    color: var(--accent-orange);
}

.devforge-live-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #b7c6c2;
}

.devforge-live-label > span,
.devforge-console-dot {
    width: 7px;
    height: 7px;
    flex: none;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 0 4px rgba(93, 218, 191, 0.10);
}

.devforge-copy h2 {
    max-width: 680px;
    margin-bottom: 1.15rem;
    font-size: clamp(2.25rem, 4.5vw, 4.4rem);
    line-height: 1.03;
    letter-spacing: -0.055em;
}

.devforge-intro {
    max-width: 690px;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-size: clamp(1rem, 1.5vw, 1.17rem);
    line-height: 1.75;
}

.devforge-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
    margin-bottom: 2rem;
}

.devforge-benefit {
    display: flex;
    gap: 0.7rem;
    min-width: 0;
    padding: 0.9rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius-md);
    background: rgba(8, 11, 16, 0.52);
}

.devforge-benefit-icon {
    color: var(--accent-orange);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.6;
}

.devforge-benefit strong,
.devforge-benefit span {
    display: block;
}

.devforge-benefit strong {
    margin-bottom: 0.2rem;
    color: var(--text-primary);
    font-size: 0.87rem;
    line-height: 1.25;
}

.devforge-benefit div > span {
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

.devforge-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.2rem;
}

.devforge-cta {
    border-color: var(--accent-orange);
    background: var(--accent-orange);
    color: #17100b;
    font-weight: 800;
}

.devforge-cta:hover {
    border-color: #efad7c;
    background: #efad7c;
    color: #17100b;
}

.devforge-note {
    max-width: 260px;
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.devforge-console {
    position: relative;
    min-height: 335px;
    border: 1px solid rgba(93, 218, 191, 0.24);
    border-radius: 16px;
    background: #0a1014;
    box-shadow: 18px 22px 0 rgba(214, 138, 84, 0.09), 0 22px 50px rgba(0, 0, 0, 0.26);
    overflow: hidden;
    transform: rotate(1.2deg);
}

.devforge-console::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 35%, rgba(93, 218, 191, 0.05), transparent 64%);
    content: '';
    pointer-events: none;
}

.devforge-console-topbar,
.devforge-console-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    color: #7f958f;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.72rem;
}

.devforge-console-topbar {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.devforge-console-dots {
    display: inline-flex;
    gap: 5px;
    margin-right: auto;
}

.devforge-console-dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #5e6b70;
}

.devforge-console-dots i:first-child { background: #d68a54; }
.devforge-console-dots i:last-child { background: #5ddabb; }
.devforge-console-state { color: var(--accent-cyan); }

.devforge-console-body {
    padding: 1.8rem 1rem 1.5rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: clamp(0.78rem, 1.5vw, 0.93rem);
    line-height: 2.08;
}

.code-line {
    display: block;
    color: #a7b8b4;
    white-space: nowrap;
}

.code-line b {
    display: inline-block;
    width: 2.2rem;
    color: #435650;
    font-weight: 400;
    user-select: none;
}

.code-line em { color: #d68a54; font-style: normal; }
.code-line strong { color: #8be6cc; font-weight: 500; }
.code-indent { padding-left: 1.4rem; }
.code-gap { min-height: 0.7rem; }
.code-highlight { color: #f5d0b5; }

.devforge-console-footer {
    padding: 0.8rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.68rem;
}

.devforge-console-footer span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #a9c9c0;
}

@media (max-width: 980px) {
    .devforge-shell { grid-template-columns: 1fr; }
    .devforge-console { width: min(680px, 100%); margin: 0 auto; }
}

@media (max-width: 620px) {
    .devforge-section { padding-top: 70px; padding-bottom: 70px; }
    .devforge-benefits { grid-template-columns: 1fr; }
    .devforge-copy h2 { font-size: clamp(2.1rem, 11vw, 3.2rem); }
    .devforge-console { min-height: 300px; transform: none; }
    .devforge-console-body { padding-top: 1.3rem; }
    .devforge-note { max-width: 100%; }
}

.nav-links {
    display: flex;
    gap: 1.1rem;
    align-items: center;
    flex-shrink: 1;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    white-space: nowrap;
    transition: var(--transition);
    padding: 4px 6px;
    border-radius: 4px;
}

.nav-links a:hover {
    color: var(--accent-cyan);
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-cyan);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-cyan);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    font-weight: 600;
}

.lang-opt {
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
    padding: 2px 6px;
    border-radius: 4px;
}

.lang-opt:hover {
    color: #fff;
}

.lang-opt.active {
    color: var(--accent-cyan);
    background: rgba(0, 255, 204, 0.1);
}

.mobile-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    border: 0;
    padding: 4px;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.mobile-burger span {
    width: 25px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
}

/* Main Layout & Sections */
main {
    position: relative;
    z-index: 1;
}

section {
    padding: 130px 6% 90px 6%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Typography & Headings */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    text-align: center;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 3.5rem auto;
    font-size: 1.1rem;
}

.highlight-cyan {
    color: var(--accent-cyan);
}

.highlight-orange {
    color: var(--accent-orange);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan), #00c8a0);
    color: #05080f;
    box-shadow: 0 4px 20px var(--accent-cyan-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 255, 204, 0.5);
    color: #05080f;
}

.btn-whatsapp {
    background: #25D366;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    color: #ffffff;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--accent-orange);
    color: var(--accent-orange);
}

.btn-outline:hover {
    background: var(--accent-orange);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--accent-orange-glow);
}

/* Hero Section */
.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 255, 204, 0.08);
    border: 1px solid var(--border-glow);
    border-radius: 30px;
    color: var(--accent-cyan);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 30%, var(--accent-cyan) 70%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

/* Agency OS product section */
.agency-os-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(0, 255, 204, 0.025), transparent 42%, rgba(255, 102, 0, 0.025));
}

.agency-os-section::before {
    content: '';
    position: absolute;
    width: 440px;
    height: 440px;
    top: 10%;
    right: -180px;
    border: 1px solid rgba(0, 255, 204, 0.1);
    border-radius: 50%;
    box-shadow: 0 0 0 34px rgba(0, 255, 204, 0.025), 0 0 0 68px rgba(0, 255, 204, 0.015);
    pointer-events: none;
}

.agency-os-shell,
.agency-os-features,
.agency-os-platform-note {
    width: min(1160px, 100%);
    margin-inline: auto;
}

.agency-os-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
    align-items: center;
    gap: clamp(2.5rem, 6vw, 6rem);
}

.agency-os-copy {
    max-width: 610px;
}

.agency-os-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.2rem;
    color: var(--accent-cyan);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.agency-os-eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--accent-cyan);
    box-shadow: 0 0 12px var(--accent-cyan);
}

.agency-os-copy h2 {
    max-width: 700px;
    margin-bottom: 1.4rem;
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    line-height: 1.08;
}

.agency-os-intro {
    max-width: 570px;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-size: 1.08rem;
    line-height: 1.85;
}

.agency-os-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.agency-os-open.is-unconfigured {
    opacity: 0.72;
    cursor: not-allowed;
}

.agency-os-open:focus-visible,
.agency-os-section a:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.9);
    outline-offset: 4px;
}

.agency-os-status {
    max-width: 560px;
    margin-top: 1rem;
    padding: 0.75rem 0.9rem;
    border-left: 2px solid var(--accent-orange);
    color: #ffd2b8;
    font-size: 0.84rem;
}

.agency-os-preview {
    position: relative;
    min-height: 390px;
    padding: clamp(1.35rem, 3vw, 2rem);
    background: linear-gradient(145deg, rgba(22, 31, 42, 0.96), rgba(8, 12, 19, 0.98));
    border: 1px solid rgba(0, 255, 204, 0.28);
    border-radius: var(--radius-lg);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42), 0 0 40px rgba(0, 255, 204, 0.08);
    isolation: isolate;
}

.agency-os-preview::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(0, 255, 204, 0.06), transparent 35%, rgba(255, 102, 0, 0.06));
    border-radius: inherit;
    pointer-events: none;
    z-index: -1;
}

.agency-os-preview-topline,
.agency-os-preview-heading,
.agency-os-preview-list > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.agency-os-preview-topline {
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.agency-os-preview-kicker {
    color: var(--accent-cyan);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.agency-os-preview-status,
.agency-os-preview-date,
.agency-os-metric small,
.agency-os-preview-list b {
    color: var(--text-muted);
    font-size: 0.68rem;
    letter-spacing: 0.04em;
}

.agency-os-preview-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.agency-os-preview-status span {
    width: 7px;
    height: 7px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-cyan);
}

.agency-os-preview-heading {
    padding: 1.35rem 0 1.1rem;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.16rem;
    font-weight: 600;
}

.agency-os-metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

.agency-os-metric {
    padding: 0.95rem;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
}

.agency-os-metric span,
.agency-os-metric small {
    display: block;
}

.agency-os-metric span {
    color: var(--text-secondary);
    font-size: 0.72rem;
}

.agency-os-metric strong {
    display: block;
    margin: 0.35rem 0 0.05rem;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.55rem;
}

.agency-os-metric-accent {
    border-color: rgba(0, 255, 204, 0.3);
    background: rgba(0, 255, 204, 0.08);
}

.agency-os-metric-accent strong {
    color: var(--accent-cyan);
}

.agency-os-preview-list {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.agency-os-preview-list > div {
    gap: 0.65rem;
    justify-content: flex-start;
    color: var(--text-secondary);
    font-size: 0.78rem;
}

.agency-os-preview-list b {
    margin-left: auto;
    color: var(--accent-cyan);
    font-weight: 600;
}

.agency-os-list-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
}

.agency-os-list-dot-orange {
    background: var(--accent-orange);
    box-shadow: 0 0 10px rgba(255, 102, 0, 0.5);
}

.agency-os-orbit {
    position: absolute;
    width: 9px;
    height: 9px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 18px var(--accent-cyan);
}

.agency-os-orbit-one {
    top: 23%;
    right: 12%;
}

.agency-os-orbit-two {
    right: 27%;
    bottom: 17%;
    background: var(--accent-orange);
    box-shadow: 0 0 18px var(--accent-orange);
}

.agency-os-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: clamp(3.5rem, 7vw, 6.5rem);
}

.agency-os-feature {
    padding: 1.45rem 1.35rem;
    border-top: 1px solid rgba(0, 255, 204, 0.35);
    background: rgba(18, 22, 32, 0.36);
}

.agency-os-feature-number {
    display: block;
    margin-bottom: 1rem;
    color: var(--accent-cyan);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.agency-os-feature h3 {
    margin-bottom: 0.55rem;
    font-size: 1.12rem;
}

.agency-os-feature p {
    color: var(--text-secondary);
    font-size: 0.86rem;
    line-height: 1.7;
}

.agency-os-platform-note {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.8rem;
    padding: 1.1rem 1.3rem;
    background: rgba(0, 255, 204, 0.045);
    border: 1px solid rgba(0, 255, 204, 0.16);
    border-radius: var(--radius-md);
}

.agency-os-platform-mark {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    place-items: center;
    background: var(--accent-cyan);
    border-radius: 10px;
    color: #061016;
    font-family: var(--font-heading);
    font-weight: 800;
}

.agency-os-platform-note strong {
    display: block;
    color: #fff;
    font-size: 0.88rem;
}

.agency-os-platform-note p {
    margin-top: 0.15rem;
    color: var(--text-secondary);
    font-size: 0.78rem;
}

.agency-os-separation {
    margin-left: auto;
    color: var(--accent-orange);
    font-size: 0.72rem;
    font-weight: 600;
    text-align: right;
}

/* Grid Layouts & Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--surface-card);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    backdrop-filter: blur(12px);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-cyan);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 15px var(--accent-cyan-glow);
}

.card-icon {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
}

.card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.price-box {
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: auto;
}

.price-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

.price-value-stacked {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
    font-size: 0.88rem;
}

.price-tier {
    color: var(--text-secondary);
    line-height: 1.4;
}

.price-tier strong {
    color: var(--accent-cyan);
    font-weight: 700;
}

.price-divider {
    color: rgba(255, 255, 255, 0.2);
    margin: 0 3px;
}

.id-price {
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* Video Portfolio Cards & Responsive Embeds */
.video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-sm);
    margin-bottom: 1.2rem;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.portfolio-card {
    background: var(--surface-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 15px var(--accent-cyan-glow);
}

.portfolio-card h3 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

/* Game Development & Testimonial */
.testimonial-card {
    background: rgba(0, 255, 204, 0.03);
    border-left: 3px solid var(--accent-cyan);
    padding: 1.2rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.testimonial-text {
    font-style: italic;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.testimonial-author {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-cyan);
}

.card-actions {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
    flex-wrap: wrap;
}

/* Team & Founder Section */
.founder-card {
    background: linear-gradient(135deg, rgba(18, 22, 32, 0.85) 0%, rgba(10, 13, 20, 0.95) 100%);
    border: 1px solid rgba(0, 255, 204, 0.18);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.founder-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-orange));
}

.founder-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.founder-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.founder-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 2px solid var(--accent-cyan);
    box-shadow: 0 0 20px var(--accent-cyan-glow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-initials {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.status-indicator {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 14px;
    height: 14px;
    background: var(--accent-cyan);
    border: 2px solid var(--bg-dark);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-cyan);
}

.founder-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.founder-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(0, 255, 204, 0.1);
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.founder-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.founder-role {
    font-size: 1rem;
    color: var(--accent-orange);
    font-weight: 500;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text-block {
    background: rgba(18, 22, 32, 0.5);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-text-block p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.tech-card {
    background: rgba(18, 22, 32, 0.5);
    padding: 2rem;
    border-radius: var(--radius-md);
    border-top: 3px solid var(--accent-orange);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-list {
    list-style: none;
    margin: 1.2rem 0;
}

.tech-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.tech-list li::before {
    content: "✓";
    color: var(--accent-cyan);
    font-weight: bold;
}

/* Co-Founder Profile Styling */
.cofounder-card {
    border-color: rgba(255, 107, 0, 0.25);
}

.cofounder-card::before {
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-cyan));
}

.cofounder-avatar {
    border-color: var(--accent-orange);
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.3);
}

.cofounder-initials {
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cofounder-badge {
    background: rgba(255, 107, 0, 0.12);
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

.status-indicator-orange {
    background: var(--accent-orange);
    box-shadow: 0 0 10px var(--accent-orange);
}

.comp-list {
    list-style: none;
    margin: 1rem 0;
    padding-left: 0;
}

.comp-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    line-height: 1.65;
    font-size: 0.95rem;
}

.comp-list li strong {
    color: var(--text-primary);
}

.tech-card-orange {
    border-top: 3px solid var(--accent-cyan);
}

.tech-list-orange li::before {
    content: "✓";
    color: var(--accent-orange);
    font-weight: bold;
}

/* Extensible Team Grid */
.team-container {
    width: 100%;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.team-card {
    background: var(--surface-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 8px 25px rgba(0, 255, 204, 0.15);
}

.team-card-join {
    background: rgba(18, 22, 32, 0.4);
    border: 2px dashed rgba(0, 255, 204, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.2rem;

}

.team-card-join:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 255, 204, 0.04);
}

.team-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Contact & Calendly */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.contact-card {
    background: var(--surface-card);
    padding: 3rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    background: rgba(7, 9, 14, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan-glow);
}

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

.calendly-embed-area {
    margin: 2rem 0;
    text-align: center;
}

.calendly-direct-link {
    margin: 0.85rem auto 0;
    max-width: 42rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.55;
}

.calendly-direct-link a {
    color: var(--accent-cyan);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.calendly-direct-link a:hover,
.calendly-direct-link a:focus-visible {
    color: #ffffff;
}

/* Social Links & Footer */
.social-bar {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
}

.social-bar a {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.social-bar a:hover {
    color: var(--accent-cyan);
}

footer {
    text-align: center;
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Responsive Media Queries */
@media (max-width: 1120px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        position: fixed;
        top: 65px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 65px);
        background: rgba(7, 9, 14, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 1.5rem;
        padding: 3rem 2rem;
        transition: var(--transition);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        align-items: flex-start;
    }

    .nav-links.mobile-active {
        right: 0;
    }

    .mobile-burger {
        display: flex;
    }

    section {
        padding: 100px 5% 60px 5%;
    }
}

/* The expanded repositioned navigation needs the drawer before tablet width. */
@media (min-width: 1121px) and (max-width: 1400px) {
    .site-header .nav-links {
        position: fixed;
        top: 65px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 65px);
        background: rgba(7, 9, 14, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 1.5rem;
        padding: 3rem 2rem;
        transition: var(--transition);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        align-items: flex-start;
        z-index: 10000;
    }

    .site-header .nav-links.mobile-active {
        right: 0;
    }

    .site-header .mobile-burger {
        display: flex;
    }
}

@media (max-width: 600px) {
    .founder-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .founder-badge {
        align-self: center;
    }

    .founder-card {
        padding: 1.5rem;
    }

    .emp-login-btn span {
        display: none;
    }

    .emp-login-btn {
        padding: 8px 10px;
    }

    .logo {
        font-size: 1.25rem;
    }
}

/* Employee Login Modal - Cyber Glassmorphism Design */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 6, 10, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    position: relative;
    width: 92%;
    max-width: 440px;
    background: linear-gradient(145deg, rgba(20, 26, 38, 0.96) 0%, rgba(10, 14, 22, 0.98) 100%);
    border: 1px solid rgba(0, 255, 204, 0.35);
    border-radius: 20px;
    padding: 2.8rem 2.2rem 2.2rem 2.2rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 255, 204, 0.2);
    transform: translateY(25px) scale(0.94);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
    overflow: hidden;
}

/* Glowing Top Line Accent */
.modal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00ffcc, #ff6600, transparent);
}

.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(255, 102, 0, 0.2);
    border-color: var(--accent-orange);
    color: #ff6600;
    transform: rotate(90deg) scale(1.1);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 16px auto;
    background: radial-gradient(circle, rgba(0, 255, 204, 0.2) 0%, rgba(0, 255, 204, 0.04) 70%);
    border: 1px solid rgba(0, 255, 204, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    box-shadow: 0 0 20px var(--accent-cyan-glow);
    animation: modalIconPulse 3s infinite ease-in-out;
}

@keyframes modalIconPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 15px rgba(0, 255, 204, 0.25);
    }

    50% {
        transform: scale(1.06);
        box-shadow: 0 0 25px rgba(0, 255, 204, 0.5);
    }
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.modal-header p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Modal Tab Switcher (Login vs Register) */
.modal-tabs {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-tab-btn {
    flex: 1;
    padding: 9px 14px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.modal-tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.modal-tab-btn.active {
    background: rgba(0, 255, 204, 0.15);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 255, 204, 0.3);
    box-shadow: 0 0 12px rgba(0, 255, 204, 0.2);
}

.modal-card .form-group {
    margin-bottom: 1.4rem;
}

.modal-card label {
    display: block;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
    letter-spacing: 0.2px;
}

.modal-card input[type="text"],
.modal-card input[type="email"],
.modal-card input[type="password"] {
    width: 100%;
    padding: 13px 16px;
    background: rgba(7, 9, 14, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Override Webkit Chrome Autofill styling */
.modal-card input:-webkit-autofill,
.modal-card input:-webkit-autofill:hover,
.modal-card input:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0px 1000px #101622 inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

.modal-card input[type="text"]::placeholder,
.modal-card input[type="email"]::placeholder,
.modal-card input[type="password"]::placeholder {
    color: rgba(148, 163, 184, 0.5);
}

.modal-card input[type="text"]:focus,
.modal-card input[type="email"]:focus,
.modal-card input[type="password"]:focus {
    outline: none;
    background: rgba(7, 9, 14, 0.95);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 16px rgba(0, 255, 204, 0.3), inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.83rem;
    margin-bottom: 1.6rem;
    color: var(--text-secondary);
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s ease;
}

.checkbox-container:hover {
    color: var(--text-primary);
}

.checkbox-container input[type="checkbox"] {
    accent-color: var(--accent-cyan);
    width: 17px;
    height: 17px;
    cursor: pointer;
    border-radius: 4px;
}

.forgot-pass-link {
    color: var(--accent-cyan);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.forgot-pass-link:hover {
    color: #ffffff;
    text-shadow: 0 0 8px var(--accent-cyan-glow);
    text-decoration: underline;
}

.btn-full {
    width: 100%;
    padding: 13px;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 10px;
    background: linear-gradient(135deg, #00ffcc 0%, #00b386 100%);
    color: #07090e;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 255, 204, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-full:hover {
    background: linear-gradient(135deg, #33ffeb 0%, #00cc99 100%);
    box-shadow: 0 6px 28px rgba(0, 255, 204, 0.55);
    transform: translateY(-2px);
}

.btn-full:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 255, 204, 0.3);
}

.login-feedback {
    margin-top: 1.2rem;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.45;
    animation: feedbackFadeIn 0.3s ease;
}

@keyframes feedbackFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-feedback.success {
    background: rgba(0, 255, 204, 0.12);
    border: 1px solid var(--accent-cyan);
    color: #00ffcc;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.2);
}

.login-feedback.error {
    background: rgba(255, 102, 0, 0.12);
    border: 1px solid var(--accent-orange);
    color: #ff6600;
    box-shadow: 0 0 15px rgba(255, 102, 0, 0.2);
}

.login-feedback.info {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
}

/* === KUNDENPROJEKTE SECTION & LIGHTBOX === */
.portfolio-subnav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.portfolio-subnav-btn {
    padding: 10px 22px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    font-family: var(--font-body);
    transition: var(--transition);
}

.portfolio-subnav-btn:hover {
    color: #ffffff;
    border-color: var(--accent-cyan);
    background: rgba(0, 255, 204, 0.08);
}

.portfolio-subnav-btn.active {
    color: #07090e;
    background: linear-gradient(135deg, var(--accent-cyan), #00c8a0);
    border-color: var(--accent-cyan);
    box-shadow: 0 4px 15px var(--accent-cyan-glow);
}

.kundenprojekte-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.2rem;
    margin-bottom: 3rem;
}

.kundenprojekte-grid [data-priority="engineering"] {
    order: -1;
}

.client-projects-section {
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 255, 204, 0.15);
}

.client-projects-heading {
    margin: 0 0 1.5rem;
    font-size: 1.8rem;
}

.partner-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    margin: 0 auto 3.5rem;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 204, 0.16);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(17, 23, 34, 0.98), rgba(9, 13, 20, 0.96));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34), 0 0 35px rgba(0, 255, 204, 0.045);
}

.partner-showcase-image {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    cursor: pointer;
    background: #eef1f3;
}

.partner-showcase-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-showcase-image:hover img {
    transform: scale(1.035);
}

.partner-image-caption {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    background: rgba(8, 11, 18, 0.78);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.partner-showcase-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(1.6rem, 3.1vw, 3rem);
}

.partner-article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.85rem;
    margin-bottom: 1.1rem;
    flex-wrap: wrap;
}

.partner-article-kicker {
    color: var(--text-muted);
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.partner-project-tag {
    color: var(--accent-cyan);
    background: rgba(0, 255, 204, 0.06);
    border-color: rgba(0, 255, 204, 0.2);
    margin: 0;
}

.partner-showcase-content h3 {
    margin: 0 0 0.65rem;
    color: #fff;
    font-size: clamp(1.9rem, 2.8vw, 2.7rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.partner-showcase-content .project-desc {
    margin-bottom: 1.25rem;
    font-size: 0.96rem;
}

.partner-review-card {
    width: 100%;
    padding: 1.2rem 1.25rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-left: 3px solid var(--accent-cyan);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    background: linear-gradient(110deg, rgba(0, 255, 204, 0.065), rgba(255, 255, 255, 0.025));
}

.partner-review-label {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--accent-cyan);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.045em;
    line-height: 1.45;
}

.partner-review-mark {
    height: 1.15rem;
    color: rgba(0, 255, 204, 0.75);
    font-family: Georgia, serif;
    font-size: 1.65rem;
    line-height: 1.15;
}

.partner-review-card blockquote {
    margin: 0.75rem 0 0.65rem;
    color: #f2f7fa;
    font-size: clamp(1rem, 1.25vw, 1.12rem);
    font-weight: 560;
    line-height: 1.65;
    letter-spacing: -0.012em;
}

.partner-review-source {
    color: var(--text-secondary);
    font-size: 0.78rem;
    text-decoration-color: rgba(148, 163, 184, 0.45);
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.partner-review-source:hover {
    color: var(--accent-cyan);
}

.partner-showcase-bottom {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.9rem;
    width: 100%;
    margin-top: auto;
    padding: 1.25rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.partner-profile {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.partner-profile img {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    border: 2px solid rgba(0, 255, 204, 0.68);
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    background: #fff;
    box-shadow: 0 0 0 5px rgba(0, 255, 204, 0.075), 0 8px 25px rgba(0, 0, 0, 0.28);
}

.partner-profile div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.partner-profile strong {
    color: #fff;
    font-size: 1rem;
}

.partner-profile span {
    color: var(--text-secondary);
    font-size: 0.82rem;
}

.partner-website-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    flex: 0 0 auto;
    margin-top: 0;
    color: var(--accent-cyan);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.partner-website-link:hover {
    gap: 0.8rem;
    color: #a8ffeb;
}

.partner-website-link svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.other-client-projects-title {
    margin: 0 0 0.5rem;
    font-size: 1.65rem;
}

.other-client-projects-subtitle {
    margin-bottom: 2rem;
}

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

    .partner-showcase {
        grid-template-columns: 1fr;
    }

    .partner-showcase-image {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 520px) {
    .client-projects-section {
        padding-top: 1.75rem;
    }

    .client-projects-heading {
        margin-bottom: 1.1rem;
        font-size: 1.45rem;
    }

    .partner-showcase-content {
        padding: 1.2rem;
    }

    .partner-article-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.6rem;
    }

    .partner-website-link {
        margin-left: 0.2rem;
    }

    .partner-profile img {
        width: 60px;
        height: 60px;
        flex-basis: 60px;
    }

    .partner-image-caption {
        left: 0.65rem;
        bottom: 0.65rem;
        padding: 0.45rem 0.7rem;
        font-size: 0.7rem;
    }
}

.client-project-card {
    background: var(--surface-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.client-project-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-cyan);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px var(--accent-cyan-glow);
}

.client-project-img-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    cursor: pointer;
    background: #0d111a;
}

.client-project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.client-project-card:hover .client-project-img-wrapper img {
    transform: scale(1.06);
}

.img-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 9, 14, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(3px);
}

.client-project-img-wrapper:hover .img-hover-overlay {
    opacity: 1;
}

.img-hover-overlay span {
    padding: 8px 18px;
    background: rgba(0, 255, 204, 0.2);
    border: 1px solid var(--accent-cyan);
    border-radius: 20px;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 15px rgba(0, 255, 204, 0.3);
}

.client-project-content {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-tag {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(0, 255, 204, 0.08);
    border: 1px solid rgba(0, 255, 204, 0.3);
    color: var(--accent-cyan);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.client-project-content h3 {
    font-size: 1.35rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.project-desc {
    color: var(--text-secondary);
    font-size: 0.94rem;
    line-height: 1.65;
    margin-bottom: 1.4rem;
}

.testimonial-box {
    margin-top: auto;
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.04) 0%, rgba(30, 36, 50, 0.4) 100%);
    border-left: 3px solid var(--accent-cyan);
    border-radius: var(--radius-sm);
    padding: 1.2rem 1.4rem;
    position: relative;
}

.testimonial-quote-icon {
    font-family: Georgia, serif;
    font-size: 2.2rem;
    line-height: 1;
    color: var(--accent-cyan);
    opacity: 0.6;
    margin-bottom: -0.5rem;
}

.testimonial-text {
    font-style: italic;
    color: #e2e8f0;
    font-size: 0.91rem;
    line-height: 1.65;
    margin-bottom: 0.9rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-author strong {
    color: var(--accent-cyan);
    font-size: 0.9rem;
    font-weight: 700;
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 500;
}

/* Image Lightbox Modal */
.image-modal-card {
    background: rgba(18, 22, 32, 0.95);
    border: 1px solid rgba(0, 255, 204, 0.35);
    border-radius: var(--radius-lg);
    max-width: 90vw;
    max-height: 90vh;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px var(--accent-cyan-glow);
}

.image-modal-body {
    width: 100%;
    max-height: 75vh;
    overflow: auto;
    display: flex;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.image-modal-body img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.image-modal-caption {
    margin-top: 1rem;
    color: var(--accent-cyan);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

/* Application Modal & Select Form */
.application-modal-card {
    max-width: 580px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.form-select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(18, 22, 32, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-select option {
    background: #0d111a;
    color: #ffffff;
    padding: 10px;
}

.form-select:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.2);
}

.team-card-join {
    cursor: pointer;
}

/* === PRICING PAGE & REGION SELECTOR STYLES === */
.region-selector-wrapper {
    margin: 2.2rem auto 1rem auto;
    background: rgba(18, 22, 32, 0.75);
    border: 1px solid rgba(0, 255, 204, 0.25);
    border-radius: var(--radius-lg);
    padding: 1.2rem 1.8rem;
    max-width: 960px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px var(--accent-cyan-glow);
}

.region-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent-cyan);
    margin-bottom: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.region-selector-note {
    margin: 0.8rem 0 0;
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.55;
}

.region-buttons-grid {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.region-btn {
    padding: 9px 18px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.region-btn:hover {
    color: #ffffff;
    border-color: var(--accent-cyan);
    background: rgba(0, 255, 204, 0.1);
    transform: translateY(-2px);
}

.region-btn.active {
    color: #07090e;
    background: linear-gradient(135deg, var(--accent-cyan), #00c8a0);
    border-color: var(--accent-cyan);
    box-shadow: 0 4px 15px var(--accent-cyan-glow);
    font-weight: 700;
}

.pricing-model-header {
    text-align: center;
    margin-bottom: 3rem;
}

.model-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(0, 255, 204, 0.1);
    border: 1px solid rgba(0, 255, 204, 0.3);
    color: var(--accent-cyan);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.category-title {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pricing-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 992px) {
    .pricing-grid-3,
    .pricing-grid-2 {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    background: var(--surface-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    backdrop-filter: blur(14px);
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.pricing-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 255, 204, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 255, 204, 0.2);
}

.featured-pricing-card {
    border-color: var(--accent-cyan);
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.04) 0%, rgba(18, 22, 32, 0.85) 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px var(--accent-cyan-glow);
}

.popular-ribbon {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent-orange), #e65c00);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 4px 14px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.4);
}

.pricing-card-header {
    margin-bottom: 1.5rem;
}

.tier-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.8px;
    margin-bottom: 0.4rem;
}

.tier-badge.tier-pro {
    color: var(--accent-cyan);
}

.tier-badge.tier-enterprise {
    color: #a855f7;
}

.pricing-card-header h4 {
    font-size: 1.4rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tier-scope {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    min-height: 2.7rem;
}

.pricing-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.price-display {
    font-size: 2.2rem;
    color: #ffffff;
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: baseline;
    gap: 8px;
    line-height: 1;
}

.price-display strong {
    color: var(--accent-cyan);
    font-weight: 800;
}

.pricing-prefix {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.pricing-unit {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pricing-features li {
    font-size: 0.92rem;
    color: #cbd5e1;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.pricing-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-cyan);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 0.8rem;
    transition: var(--transition);
}

.pricing-card-link:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.clickable-card {
    cursor: pointer;
}

/* === NAVBAR COUNTRY SWITCHER DROPDOWN === */
.country-switch-dropdown {
    position: relative;
    display: inline-block;
}

.country-select-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(18, 22, 32, 0.85);
    border: 1px solid rgba(0, 255, 204, 0.3);
    border-radius: 20px;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.country-select-btn:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px var(--accent-cyan-glow);
    background: rgba(0, 255, 204, 0.1);
}

.country-select-btn .dropdown-arrow {
    font-size: 0.65rem;
    color: var(--accent-cyan);
    transition: transform 0.3s ease;
}

.country-switch-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.country-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 270px;
    background: rgba(13, 17, 26, 0.96);
    border: 1px solid rgba(0, 255, 204, 0.35);
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.85), 0 0 25px rgba(0, 255, 204, 0.2);
    padding: 8px 0;
    display: none;
    z-index: 1000;
    backdrop-filter: blur(20px);
}

.country-switch-dropdown.open .country-dropdown-menu {
    display: block !important;
    animation: dropdownFadeIn 0.25s ease-out;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.country-option {
    padding: 10px 18px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.country-option .flag {
    font-size: 1.35rem;
    flex-shrink: 0;
}

.option-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.option-country {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.92rem;
    line-height: 1.2;
}

.option-sub {
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.2;
}

.country-option:hover {
    background: rgba(0, 255, 204, 0.12);
}

.country-option:hover .option-country {
    color: var(--accent-cyan);
}

.country-option:hover .option-sub {
    color: #e2e8f0;
}

.country-option.active {
    background: rgba(0, 255, 204, 0.08);
}

.country-option.active .option-country {
    color: var(--accent-cyan);
    font-weight: 700;
}

.country-option.active .option-sub {
    color: var(--accent-cyan);
    opacity: 0.85;
}

/* === REGION SELECTOR MODAL & PILL BUTTONS === */
.region-modal-card {
    max-width: 650px;
    width: 90%;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(13, 17, 26, 0.95) 0%, rgba(7, 9, 14, 0.98) 100%);
    border: 1px solid rgba(0, 255, 204, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 255, 204, 0.25);
    border-radius: var(--radius-lg);
}

.region-modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin-top: 1.2rem;
}

.modal-card .country-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    background: rgba(18, 22, 32, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.modal-card .country-card .flag {
    font-size: 1.6rem;
    line-height: 1;
}

.modal-card .country-card .option-details {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.modal-card .country-card .option-country {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-card .country-card .option-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.modal-card .country-card:hover {
    background: rgba(0, 255, 204, 0.1);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 255, 204, 0.15);
}

.modal-card .country-card:hover .option-country {
    color: var(--accent-cyan);
}

.modal-card .country-card.active {
    background: rgba(0, 255, 204, 0.12);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.25);
}

.modal-card .country-card.active .option-country {
    color: var(--accent-cyan);
}

.modal-card .country-card.active .option-sub {
    color: var(--accent-cyan);
    opacity: 0.9;
}

.region-btn, .region-modal-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(18, 22, 32, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.region-btn:hover, .region-modal-pill:hover {
    color: #ffffff;
    border-color: var(--accent-cyan);
    background: rgba(0, 255, 204, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 255, 204, 0.2);
}

.region-btn.active, .region-modal-pill.active {
    background: linear-gradient(135deg, var(--accent-cyan), #00c8a0);
    color: #05080f;
    border-color: var(--accent-cyan);
    font-weight: 700;
    box-shadow: 0 0 20px var(--accent-cyan-glow);
}

/* === BUTTON LAYOUT SAFETY & RESPONSIVENESS === */
.nav-right-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: auto;
}

.btn {
    white-space: nowrap;
    user-select: none;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .nav-right-controls {
        gap: 8px;
    }
    .emp-login-btn {
        padding: 6px 10px;
    }
    .emp-login-btn span {
        display: none;
    }
    .country-select-btn {
        padding: 6px 10px;
        font-size: 0.82rem;
    }
}

@media (max-width: 520px) {
    #active-country-name {
        display: none;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .hero-buttons .btn {
        width: 100%;
    }

    .country-select-btn {
        min-width: 40px;
        width: 40px;
        height: 36px;
        justify-content: center;
        padding: 0 !important;
        font-size: 0 !important;
    }

    .country-select-btn .country-select-label,
    .country-select-btn #active-country-flag {
        display: none;
    }

    .country-select-btn::before {
        content: '◎';
        font-size: 1.1rem;
        line-height: 1;
        color: var(--accent-cyan);
    }
}

/* ==========================================================================
   SENIOR MOBILE RESPONSIVENESS & TOUCH ERGONOMICS (iOS & ANDROID ENHANCEMENT)
   ========================================================================== */

/* Prevent horizontal overflow & layout shift on mobile */
html, body {
    overflow-x: hidden !important;
    width: 100%;
}

/* Touch manipulation optimization for fast tap responses */
a, button, input, select, textarea, .country-card, .region-modal-pill, .portfolio-subnav-btn {
    touch-action: manipulation;
}

@media (max-width: 900px) {
    .grid-3, .grid-2, .kundenprojekte-grid, .team-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .agency-os-shell {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .agency-os-copy {
        max-width: 760px;
    }

    .agency-os-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* iOS Input Auto-Zoom Prevention (Requires min 16px font-size) */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="url"],
    select,
    textarea {
        font-size: 16px !important;
    }

    .agency-os-preview {
        min-height: 0;
    }

    .agency-os-platform-note {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .agency-os-separation {
        width: 100%;
        margin-left: 52px;
        text-align: left;
    }

    /* Section padding on smartphones */
    section {
        padding: 85px 1.2rem 45px 1.2rem !important;
    }

    /* Typography responsive scaling */
    .hero-content h1 {
        font-size: clamp(2.1rem, 7vw, 3.2rem) !important;
        line-height: 1.2 !important;
    }

    .section-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem) !important;
    }

    .section-subtitle {
        font-size: 0.95rem !important;
    }

    /* Navigation Header on Mobile */
    .site-header nav {
        padding: 0 1rem !important;
    }

    .logo {
        font-size: 1.2rem !important;
    }

    .nav-right-controls {
        gap: 6px !important;
    }

    .country-select-btn {
        padding: 6px 10px !important;
        font-size: 0.82rem !important;
    }

    /* Drawer Menu Overlay */
    .nav-links {
        z-index: 10000 !important;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.85);
    }

    /* Portfolio Subnav Pills on Mobile */
    .portfolio-subnav {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .portfolio-subnav-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Client Project Cards on Mobile */
    .client-project-card {
        padding: 1.2rem !important;
    }

    .client-project-img-wrapper img {
        height: 220px !important;
        object-fit: cover;
    }

    /* Modals Touch Optimization */
    .modal-card, .region-modal-card, .application-modal-card {
        width: 95% !important;
        max-height: 88vh !important;
        overflow-y: auto !important;
        padding: 1.5rem 1.2rem !important;
    }

    .modal-close {
        top: 12px !important;
        right: 12px !important;
        width: 40px !important;
        height: 40px !important;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.6rem !important;
    }

    .region-modal-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile adjustments (iPhone SE, Galaxy S) */
    .hero-badge {
        font-size: 0.8rem !important;
        padding: 4px 12px !important;
    }

    .btn {
        padding: 10px 18px !important;
        font-size: 0.9rem !important;
    }

    .testimonial-box {
        padding: 1rem !important;
    }

    .country-card {
        padding: 10px 14px !important;
    }

    .country-card .flag {
        font-size: 1.3rem !important;
    }
}

/* === MOBILE SUB-HEADER QUICK NAVIGATION BAR === */
.mobile-sub-header {
    display: none; /* Hidden on Desktop */
}

@media (max-width: 768px) {
    .mobile-sub-header {
        display: flex;
        position: sticky;
        top: 65px;
        left: 0;
        width: 100%;
        z-index: 99;
        background: rgba(7, 9, 14, 0.92);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(0, 255, 204, 0.15);
        padding: 8px 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    }

    .mobile-sub-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        gap: 8px;
        overflow: visible;
        white-space: normal;
        width: 100%;
        padding-bottom: 2px;
    }

    .mobile-sub-link {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: 100%;
        min-width: 0;
        min-height: 40px;
        padding: 7px 6px;
        background: rgba(18, 22, 32, 0.8);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        color: var(--text-secondary);
        font-size: 0.74rem;
        font-weight: 600;
        text-decoration: none;
        transition: var(--transition);
        text-align: center;
    }

    .mobile-sub-link > span:first-child {
        color: var(--accent-cyan);
        font-size: 1rem;
        line-height: 1;
        flex: 0 0 auto;
    }

    .mobile-sub-link > span:last-child {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .mobile-sub-link:hover, .mobile-sub-link.active {
        background: rgba(0, 255, 204, 0.15);
        border-color: var(--accent-cyan);
        color: var(--accent-cyan);
        box-shadow: 0 0 12px rgba(0, 255, 204, 0.2);
    }

    .mobile-sub-link-devforge {
        color: #f0b184;
        border-color: rgba(214, 138, 84, 0.45);
        background: rgba(214, 138, 84, 0.09);
    }

    .mobile-sub-link-devforge > span:first-child {
        color: var(--accent-orange);
        font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
        font-size: 0.78rem;
    }
}

/* Keep the compact mobile navigation usable on narrow screens. */
@media (max-width: 768px) {
    .mobile-sub-nav {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        scroll-snap-type: x proximity;
    }

    .mobile-sub-nav::-webkit-scrollbar {
        display: none;
    }

    .mobile-sub-link {
        flex: 0 0 auto;
        width: auto;
        min-width: max-content;
        white-space: nowrap;
        scroll-snap-align: start;
        padding-inline: 14px;
    }
}

@media (max-width: 520px) {
    .country-select-btn > span[data-i18n="nav_lang_btn"] {
        display: none;
    }
}

/* === 24/7 AI SALES ASSISTANT CHATBOT WIDGET === */
.polymath-ai-fab {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00ffcc 0%, #0099ff 100%);
    box-shadow: 0 8px 25px rgba(0, 255, 204, 0.4), 0 0 15px rgba(0, 153, 255, 0.5);
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.polymath-ai-fab:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(0, 255, 204, 0.6);
}

.polymath-ai-fab.fab-overlapped {
    opacity: 0;
    pointer-events: none;
}

.polymath-ai-fab .fab-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    background: #ff3366;
    border-radius: 50%;
    border: 2px solid #07090e;
}

.polymath-ai-widget {
    position: fixed;
    bottom: 95px;
    right: 25px;
    width: 380px;
    max-width: calc(100vw - 30px);
    height: 520px;
    max-height: calc(100vh - 120px);
    background: rgba(12, 16, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 204, 0.3);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 255, 204, 0.15);
    display: flex;
    flex-direction: column;
    z-index: 9999;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.polymath-ai-widget.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.ai-widget-header {
    background: linear-gradient(135deg, rgba(0, 255, 204, 0.15) 0%, rgba(0, 153, 255, 0.15) 100%);
    border-bottom: 1px solid rgba(0, 255, 204, 0.2);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ai-widget-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
}

.ai-status-indicator {
    width: 8px;
    height: 8px;
    background: #00ffcc;
    border-radius: 50%;
    box-shadow: 0 0 8px #00ffcc;
    animation: pulseDot 2s infinite;
}

.ai-widget-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.ai-widget-close:hover {
    color: #fff;
}

.ai-widget-body {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 255, 204, 0.3) transparent;
}

.ai-chat-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.88rem;
    line-height: 1.5;
    word-break: break-word;
    animation: fadeInUp 0.3s ease;
}

.ai-chat-msg.bot {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.ai-chat-msg.user {
    background: linear-gradient(135deg, #0099ff 0%, #0056b3 100%);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.ai-quick-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.ai-option-pill {
    background: rgba(0, 255, 204, 0.1);
    border: 1px solid rgba(0, 255, 204, 0.3);
    color: var(--accent-cyan);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ai-option-pill:hover {
    background: rgba(0, 255, 204, 0.25);
    border-color: #00ffcc;
    transform: translateY(-1px);
}

.ai-widget-footer {
    padding: 10px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    gap: 8px;
    background: rgba(7, 9, 14, 0.8);
}

.ai-input-field {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 8px 14px;
    color: #fff;
    font-size: 0.85rem;
    outline: none;
}

.ai-input-field:focus {
    border-color: var(--accent-cyan);
}

.ai-send-btn {
    background: var(--accent-cyan);
    color: #07090e;
    border: none;
    width: 72px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s;
}

.ai-send-btn:hover {
    transform: scale(1.08);
}

/* === SOCIAL PROOF LIVE TOAST SYSTEM === */
.social-proof-toast {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background: rgba(12, 16, 26, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 255, 204, 0.3);
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 255, 204, 0.15);
    z-index: 9998;
    max-width: 320px;
    transform: translateX(-120%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-proof-toast.show {
    transform: translateX(0);
}

.toast-avatar {
    font-size: 1.4rem;
}

.toast-content {
    display: flex;
    flex-direction: column;
}

.toast-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
}

.toast-sub {
    font-size: 0.74rem;
    color: var(--text-secondary);
}
/* --- Zweistufige Anmeldung --- */
.bot-protection-container {
    display: flex;
    justify-content: center;
    margin: 0 0 1rem;
    min-height: 65px;
}

.otp-hint {
    margin: 0 0 0.6rem;
    font-size: 0.85rem;
    color: var(--text-muted, #9aa3b2);
}

#otp-code {
    text-align: center;
    font-size: 1.6rem;
    letter-spacing: 0.55em;
    text-indent: 0.55em;
    font-variant-numeric: tabular-nums;
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--text-muted, #9aa3b2);
    margin-top: 0.6rem;
}

/* ---------------------------------------------------------------
   Einwilligungsbanner (§25 TDDDG)

   "Alle ablehnen" und "Alle akzeptieren" sind bewusst gleich gross,
   gleich prominent und stehen nebeneinander auf der ersten Ebene.
   Eine Gestaltung, die Ablehnen kleiner macht, ausgraut oder hinter
   "Einstellungen" versteckt, gilt als unwirksame Einwilligung.
   --------------------------------------------------------------- */
#consent-banner {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 99999;
    background: #0d1016;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.55);
    padding: 1.25rem 1.5rem calc(1.25rem + env(safe-area-inset-bottom));
    color: #e7e9ee;
    font-size: 0.9rem;
    line-height: 1.55;
}

.consent-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
    justify-content: space-between;
}

.consent-text { flex: 1 1 420px; }
.consent-text strong { display: block; margin-bottom: 0.35rem; font-size: 1rem; }
.consent-text p { margin: 0; color: #b9c0cc; }
.consent-text a { color: var(--accent-cyan, #00ffcc); }

.consent-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}

.consent-btn {
    font: inherit;
    font-weight: 600;
    padding: 0.7rem 1.4rem;
    border-radius: 9px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: transparent;
    color: #e7e9ee;
    transition: background 0.15s, border-color 0.15s;
}

/* Gleiche Mindestbreite fuer beide Hauptschaltflaechen. */
.consent-btn-equal { min-width: 168px; text-align: center; }

.consent-btn:hover { background: rgba(255, 255, 255, 0.08); }

.consent-btn-primary {
    background: var(--accent-cyan, #00ffcc);
    border-color: var(--accent-cyan, #00ffcc);
    color: #06121a;
}
.consent-btn-primary:hover { filter: brightness(1.08); }

.consent-btn-link {
    border: none;
    text-decoration: underline;
    padding: 0.7rem 0.5rem;
    color: #b9c0cc;
}

.consent-details {
    flex: 1 1 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

/* Das hidden-Attribut setzt display:none nur ueber das Standard-Stylesheet
   des Browsers. Jede eigene display-Regel gewinnt dagegen - ohne diese Zeile
   stand das Einstellungsfeld immer offen. */
.consent-details[hidden] { display: none; }

.consent-option {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    color: #b9c0cc;
}
.consent-option input { margin-top: 0.25rem; flex: none; }
.consent-option strong { color: #e7e9ee; }

/* Platzhalter anstelle eines noch nicht geladenen fremden Inhalts. */
.consent-placeholder {
    border: 1px dashed rgba(255, 255, 255, 0.24);
    border-radius: 14px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 1rem;
}
.consent-placeholder-title { margin: 0 0 0.5rem; font-weight: 700; color: #e7e9ee; }
.consent-placeholder-text  { margin: 0 0 1.2rem; color: #9aa3b2; font-size: 0.88rem; }
.consent-placeholder-btn {
    font: inherit;
    font-weight: 600;
    padding: 0.65rem 1.3rem;
    border-radius: 9px;
    border: 1px solid var(--accent-cyan, #00ffcc);
    background: transparent;
    color: var(--accent-cyan, #00ffcc);
    cursor: pointer;
}

@media (max-width: 640px) {
    .consent-buttons { width: 100%; }
    .consent-btn-equal { flex: 1 1 45%; min-width: 0; }
}

/* Rechtslinks in der Fussleiste. Pflichtangaben muessen von jeder Seite
   aus erreichbar sein (§5 DDG: "leicht erkennbar, unmittelbar erreichbar,
   staendig verfuegbar"). */
.footer-recht {
    /* Ausdruecklich static: die Seite formatiert jedes nav-Element als
       fixierte Kopfleiste (style.css Zeile 59 ff.). Die Rechtslinks standen
       dadurch am oberen Bildrand statt im Fuss. Sie sind jetzt ein div,
       diese Zeile schuetzt zusaetzlich gegen aehnliche Regeln. */
    position: static;
    display: flex; flex-wrap: wrap; gap: 1.4rem;
    justify-content: center; margin-bottom: 1.2rem; font-size: .88rem;
}
.footer-recht a, .footer-recht-btn {
    color: #9aa3b2; text-decoration: none;
    background: none; border: none; font: inherit; cursor: pointer; padding: 0;
}
.footer-recht a:hover, .footer-recht-btn:hover {
    color: var(--accent-cyan, #00ffcc); text-decoration: underline;
}

/* Professional refinement: same dark technical language, with restrained
   contrast, motion and decoration for an enterprise audience. */
:root {
    --bg-dark: #080b10;
    --surface-card: rgba(18, 23, 31, 0.94);
    --surface-light: rgba(27, 34, 44, 0.82);
    --border-glow: rgba(93, 218, 191, 0.24);
    --accent-cyan: #5ddabb;
    --accent-cyan-glow: rgba(93, 218, 187, 0.12);
    --accent-orange: #d68a54;
    --accent-orange-glow: rgba(214, 138, 84, 0.12);
    --radius-md: 10px;
    --radius-lg: 14px;
    --transition: all 0.18s ease;
}

#particle-canvas { opacity: 0.28; }
nav {
    background: rgba(8, 11, 16, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.logo { letter-spacing: -0.35px; }
.nav-crm-pill,
.lang-switch,
.hero-badge { border-radius: 7px; box-shadow: none; }
.nav-crm-pulse { animation: none; box-shadow: none; }

.hero-content { max-width: 980px; width: 100%; }
.hero-content h1 {
    max-width: 16ch;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2.7rem, 5.3vw, 4.4rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
}
.hero-subtitle { max-width: 780px; margin-left: auto; margin-right: auto; }
.gradient-text {
    background: linear-gradient(120deg, #f7fafc 10%, #b9eee1 75%, #d8b293 100%);
    -webkit-background-clip: text;
}

.btn-primary,
.btn-whatsapp { box-shadow: none; }
.btn:hover,
.card:hover,
.portfolio-card:hover,
.founder-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}
.card,
.portfolio-card,
.founder-card,
.pricing-card,
.contact-form,
.polymath-ai-widget {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
}
.card-icon { font-size: 1rem; min-height: 1rem; }
.status-indicator { display: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 1120px) {
    .hero-content h1 { max-width: 14ch; }
}
/* Singapore / APAC engineering positioning */
.positioning-services,
.products-overview {
    min-height: auto;
    padding: clamp(4rem, 8vw, 7rem) 6%;
    scroll-margin-top: 6rem;
}

.positioning-services {
    background: linear-gradient(180deg, rgba(11, 16, 25, 0.96), rgba(7, 9, 14, 0.98));
}

.section-eyebrow {
    display: block;
    margin: 0 auto 0.8rem;
    color: var(--accent-cyan);
    text-align: center;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.14em;
}

.engineering-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    width: min(1180px, 100%);
    margin: 2.6rem auto 0;
}

.engineering-card {
    min-height: 230px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}

.engineering-card-kicker,
.product-category {
    color: var(--accent-cyan);
    font-size: 0.66rem;
    font-weight: 750;
    letter-spacing: 0.12em;
}

.engineering-card h3,
.product-overview-card h3 {
    margin: 1rem 0 0.6rem;
    color: var(--text-primary);
    font-size: 1.22rem;
    line-height: 1.3;
}

.engineering-card p,
.product-overview-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
}

.engineering-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin: 2rem auto 0;
    text-align: center;
}

.engineering-cta p {
    margin: 0;
    color: var(--text-secondary);
}

.products-overview {
    background: rgba(18, 22, 32, 0.44);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    width: min(1180px, 100%);
    margin: 2.5rem auto 0;
}

.product-overview-card {
    display: flex;
    min-height: 245px;
    flex-direction: column;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(11, 15, 22, 0.82);
}

.product-overview-card a {
    width: fit-content;
    margin-top: 0.8rem;
    color: var(--accent-cyan);
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.product-overview-card a:first-of-type {
    margin-top: auto;
    padding-top: 1.2rem;
}

.product-overview-card a + a {
    margin-top: 0.5rem;
}

.engineering-engagement-grid {
    width: min(1180px, 100%);
    margin-inline: auto;
}

.engineering-engagements .pricing-card {
    min-width: 0;
}

.engineering-pricing-note {
    width: min(1180px, 100%);
    margin: 1.2rem auto 0;
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.6;
}

@media (max-width: 1050px) {
    .engineering-grid,
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .engineering-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .engineering-card,
    .product-overview-card {
        min-height: auto;
    }

    .positioning-services,
    .products-overview {
        padding-inline: 5%;
    }

    .engineering-engagement-grid {
        grid-template-columns: 1fr;
    }
}
.market-service-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .7rem 1.2rem; position: static; inset: auto; width: auto; z-index: auto; margin: 1.5rem auto 0; padding: 0; border: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--text-secondary); font-size: .9rem; }
.market-service-links span { font-weight: 600; }
.market-service-links a { color: var(--accent-cyan); text-underline-offset: 3px; }
.hero-entity-line { max-width: 760px; margin: 0 auto 1.1rem; color: var(--text-secondary); font-size: .82rem; }
