/* =========================================================
   EBA Technologies - Landing Page Styles
   Datei: /landing.css
   Design: Blau-Weiß
   ========================================================= */

/* =========================================================
   1. Basis / Reset
   ========================================================= */

:root {
    --color-primary: #1d4ed8;
    --color-primary-dark: #1e3a8a;
    --color-primary-soft: #dbeafe;
    --color-primary-light: #eff6ff;

    --color-secondary: #2563eb;
    --color-secondary-dark: #1e40af;
    --color-accent: #38bdf8;

    --color-bg: #f8fafc;
    --color-bg-soft: #eff6ff;
    --color-dark: #0f172a;
    --color-dark-soft: #172554;
    --color-text: #334155;
    --color-muted: #64748b;
    --color-border: #dbe5ef;
    --color-white: #ffffff;

    --shadow-sm: 0 8px 22px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 30px 80px rgba(15, 23, 42, 0.18);

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;

    --transition: all 0.28s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--color-text);
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.14), transparent 34%),
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.14), transparent 28%),
        var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* =========================================================
   2. Header / Navigation
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(18px);
}

.topbar {
    background: linear-gradient(90deg, var(--color-primary-dark), var(--color-secondary));
    color: rgba(255, 255, 255, 0.94);
    font-size: 13px;
}

.topbar-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.navbar {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(219, 229, 239, 0.9);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
}

.navbar-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: max-content;
}

.brand-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 16px;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.brand-fallback {
    display: none;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: var(--color-white);
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: var(--shadow-sm);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-text strong {
    color: var(--color-dark);
    font-size: 18px;
    letter-spacing: -0.02em;
}

.brand-text small {
    color: var(--color-muted);
    font-size: 12px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.nav-links a {
    padding: 10px 12px;
    border-radius: 999px;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--color-primary-dark);
    background: rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

.flag {
    font-size: 17px;
}

.language-text {
    font-size: 13px;
}

.nav-cta {
    color: var(--color-white) !important;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)) !important;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.24);
}

.nav-cta:hover {
    color: var(--color-white) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 16px 35px rgba(37, 99, 235, 0.34);
}

.mobile-menu-toggle {
    display: none;
}

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    box-shadow: var(--shadow-sm);
}

.mobile-menu-button span {
    width: 20px;
    height: 2px;
    background: var(--color-dark);
    border-radius: 99px;
    transition: var(--transition);
}

/* =========================================================
   Zusatz: Sprachwechsel DE / EN / TR mit CSS-Fahnen
   Keine Emoji-Fahnen, damit Windows nicht DE/US/GB/TR als Text zeigt
   ========================================================= */

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(37, 99, 235, 0.18);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.language-option {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 34px;
    padding: 7px 10px !important;
    border-radius: 999px;
    color: var(--color-text);
    background: transparent;
    font-size: 13px !important;
    font-weight: 800;
    transition: var(--transition);
}

.language-option:hover {
    color: var(--color-primary-dark) !important;
    background: rgba(37, 99, 235, 0.1) !important;
    transform: translateY(-1px);
}

.language-option.active {
    color: var(--color-white) !important;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)) !important;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.24);
}

.language-text {
    font-size: 13px;
    line-height: 1;
}

.flag-icon {
    position: relative;
    display: inline-block;
    width: 26px;
    height: 18px;
    flex: 0 0 26px;
    overflow: hidden;
    border-radius: 4px;
    background: #ffffff;
    box-shadow:
        inset 0 0 0 1px rgba(15, 23, 42, 0.14),
        0 1px 3px rgba(15, 23, 42, 0.14);
}

/* Deutsche Flagge */
.flag-de {
    background: linear-gradient(
        to bottom,
        #000000 0%,
        #000000 33.333%,
        #dd0000 33.333%,
        #dd0000 66.666%,
        #ffce00 66.666%,
        #ffce00 100%
    );
}

/* USA Flagge */
.flag-us {
    background:
        linear-gradient(to bottom,
            #b22234 0 7.69%,
            #ffffff 7.69% 15.38%,
            #b22234 15.38% 23.07%,
            #ffffff 23.07% 30.76%,
            #b22234 30.76% 38.45%,
            #ffffff 38.45% 46.14%,
            #b22234 46.14% 53.83%,
            #ffffff 53.83% 61.52%,
            #b22234 61.52% 69.21%,
            #ffffff 69.21% 76.9%,
            #b22234 76.9% 84.59%,
            #ffffff 84.59% 92.28%,
            #b22234 92.28% 100%
        );
}

.flag-us::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 54%;
    background: #3c3b6e;
}

/* Großbritannien Flagge */
.flag-gb {
    background:
        linear-gradient(33deg, transparent 0 42%, #ffffff 42% 47%, #c8102e 47% 53%, #ffffff 53% 58%, transparent 58%),
        linear-gradient(147deg, transparent 0 42%, #ffffff 42% 47%, #c8102e 47% 53%, #ffffff 53% 58%, transparent 58%),
        linear-gradient(to right, transparent 0 38%, #ffffff 38% 45%, #c8102e 45% 55%, #ffffff 55% 62%, transparent 62%),
        linear-gradient(to bottom, transparent 0 35%, #ffffff 35% 43%, #c8102e 43% 57%, #ffffff 57% 65%, transparent 65%),
        #012169;
}

/* Türkische Flagge */
.flag-tr {
    background: #e30a17;
}

.flag-tr::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
}

.flag-tr::after {
    content: "";
    position: absolute;
    left: 9px;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e30a17;
}

.flag-tr .star {
    display: none;
}

/* Stern der türkischen Flagge */
.flag-tr {
    box-shadow:
        inset 0 0 0 1px rgba(15, 23, 42, 0.14),
        0 1px 3px rgba(15, 23, 42, 0.14);
}

.flag-tr + .language-text::before {
    content: "";
}

.flag-tr::marker {
    display: none;
}

/* Stern separat über inneres Element nicht nötig, deshalb mit radialer Ergänzung */
.flag-tr {
    background:
        polygon,
        #e30a17;
}

/* Halb USA / Halb Großbritannien */
.flag-split {
    display: inline-flex;
    width: 31px;
    height: 20px;
    flex: 0 0 31px;
    overflow: hidden;
    border-radius: 5px;
    background: #ffffff;
    box-shadow:
        inset 0 0 0 1px rgba(15, 23, 42, 0.14),
        0 1px 3px rgba(15, 23, 42, 0.14);
}

.flag-split .flag-icon {
    width: 50%;
    height: 20px;
    flex: 0 0 50%;
    border-radius: 0;
    box-shadow: none;
}

.flag-split .flag-us {
    background-size: 31px 20px;
    background-position: left center;
}

.flag-split .flag-gb {
    background-size: 31px 20px;
    background-position: right center;
}

/* =========================================================
   3. Toast Meldungen
   ========================================================= */

.toast-message {
    position: fixed;
    top: 110px;
    left: 50%;
    z-index: 500;
    width: min(460px, calc(100% - 40px));
    transform: translateX(-50%);
    padding: 18px 22px;
    border-radius: 18px;
    color: var(--color-white);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 4px;
    animation: toastInOut 5.4s ease forwards;
}

.toast-message strong {
    font-size: 16px;
}

.toast-message span {
    font-size: 14px;
    opacity: 0.94;
}

.toast-success {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.toast-error {
    background: linear-gradient(135deg, #dc2626, #991b1b);
}

@keyframes toastInOut {
    0% {
        opacity: 0;
        transform: translate(-50%, -24px) scale(0.96);
    }

    10%,
    82% {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -24px) scale(0.96);
        pointer-events: none;
    }
}

/* =========================================================
   4. Hero Bereich
   ========================================================= */

.hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 84px;
}

.hero-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.28;
    pointer-events: none;
    animation: floatGlow 8s ease-in-out infinite alternate;
}

.hero-glow-one {
    top: 40px;
    left: -160px;
    background: rgba(37, 99, 235, 0.42);
}

.hero-glow-two {
    right: -150px;
    bottom: 40px;
    background: rgba(56, 189, 248, 0.42);
    animation-delay: 1.2s;
}

@keyframes floatGlow {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }

    to {
        transform: translate3d(30px, -30px, 0) scale(1.08);
    }
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 54px;
    align-items: center;
}

.hero-content {
    animation: fadeUp 0.8s ease both;
}

.eyebrow {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    margin-bottom: 22px;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 999px;
    color: var(--color-primary-dark);
    background: rgba(219, 234, 254, 0.78);
    font-size: 14px;
    font-weight: 800;
}

.eyebrow-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 0 7px rgba(37, 99, 235, 0.16);
}

.hero h1 {
    max-width: 780px;
    color: var(--color-dark);
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.055em;
    margin-bottom: 24px;
}

.hero h1 span {
    display: inline;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    max-width: 700px;
    color: var(--color-text);
    font-size: 18px;
    line-height: 1.75;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    font-weight: 800;
    transition: var(--transition);
}

.btn-primary {
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.26);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
    color: var(--color-dark);
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    background: var(--color-white);
    box-shadow: var(--shadow-md);
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-points span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(219, 229, 239, 0.86);
    color: var(--color-text);
    font-size: 14px;
    font-weight: 700;
}

.check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    color: var(--color-white);
    background: var(--color-primary);
    font-size: 13px;
    font-style: normal;
}

/* =========================================================
   5. Dashboard Preview
   ========================================================= */

.hero-card {
    animation: fadeUp 0.9s ease 0.12s both;
}

.dashboard-preview {
    position: relative;
    border-radius: 34px;
    padding: 18px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 255, 0.92)),
        var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: rotate(1.2deg);
    transition: var(--transition);
}

.dashboard-preview:hover {
    transform: rotate(0deg) translateY(-8px);
}

.dashboard-preview::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -80px;
    top: -80px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.14);
}

.dashboard-top {
    position: relative;
    z-index: 2;
    min-height: 58px;
    padding: 0 4px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--color-dark);
}

.window-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.window-dots i {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #94a3b8;
}

.window-dots i:nth-child(1) {
    background: #ef4444;
}

.window-dots i:nth-child(2) {
    background: #f59e0b;
}

.window-dots i:nth-child(3) {
    background: #22c55e;
}

.dashboard-body {
    position: relative;
    z-index: 2;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(219, 229, 239, 0.86);
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.metric {
    min-height: 118px;
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff, #eff6ff);
    border: 1px solid rgba(219, 229, 239, 0.92);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.metric:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.metric strong {
    display: block;
    color: var(--color-primary-dark);
    font-size: 27px;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
}

.metric span {
    color: var(--color-muted);
    font-size: 14px;
    font-weight: 700;
}

.flow-card {
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-secondary));
    color: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.flow-card strong {
    display: block;
    margin-bottom: 14px;
}

.flow-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.flow-pill {
    padding: 7px 10px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.94);
    background: rgba(255, 255, 255, 0.15);
    font-size: 12px;
    font-weight: 800;
}

.mini-chart {
    display: flex;
    align-items: end;
    gap: 9px;
    height: 80px;
    margin-top: 16px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(37, 99, 235, 0.08);
}

.mini-chart span {
    flex: 1;
    border-radius: 12px 12px 4px 4px;
    background: linear-gradient(180deg, var(--color-accent), var(--color-primary));
    animation: chartPulse 2.2s ease-in-out infinite alternate;
}

.mini-chart span:nth-child(1) {
    height: 34%;
}

.mini-chart span:nth-child(2) {
    height: 64%;
    animation-delay: 0.15s;
}

.mini-chart span:nth-child(3) {
    height: 48%;
    animation-delay: 0.3s;
}

.mini-chart span:nth-child(4) {
    height: 78%;
    animation-delay: 0.45s;
}

.mini-chart span:nth-child(5) {
    height: 58%;
    animation-delay: 0.6s;
}

@keyframes chartPulse {
    from {
        transform: scaleY(0.88);
        opacity: 0.78;
    }

    to {
        transform: scaleY(1);
        opacity: 1;
    }
}

/* =========================================================
   6. Sections allgemein
   ========================================================= */

.section {
    padding: 92px 0;
}

.section-light {
    background: rgba(255, 255, 255, 0.62);
}

.section-dark {
    color: var(--color-white);
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.24), transparent 28%),
        linear-gradient(135deg, #0f172a, #1e3a8a);
}

.section-wms {
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 30%),
        linear-gradient(180deg, #ffffff, #eff6ff);
}

.section-header {
    max-width: 780px;
    margin: 0 auto 46px;
    text-align: center;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
    color: var(--color-primary-dark);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-dark .section-kicker {
    color: #bfdbfe;
}

.section-header h2,
.split-content h2,
.highlight-content h2,
.contact-info h2 {
    color: var(--color-dark);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
}

.section-dark .split-content h2,
.section-dark .split-content p {
    color: var(--color-white);
}

.section-header p,
.split-content p,
.highlight-content p,
.contact-info p {
    color: var(--color-muted);
    font-size: 17px;
    line-height: 1.75;
}

.section-dark .split-content p {
    color: rgba(255, 255, 255, 0.78);
}

/* =========================================================
   7. Services
   ========================================================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.service-card {
    position: relative;
    padding: 28px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(219, 229, 239, 0.92);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(56, 189, 248, 0.1));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-9px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.28);
}

.service-card:hover::before {
    opacity: 1;
}

.featured-card {
    border-color: rgba(37, 99, 235, 0.26);
}

.service-icon,
.service-card h3,
.service-card p,
.service-list {
    position: relative;
    z-index: 2;
}

.service-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    font-size: 22px;
    font-weight: 900;
    box-shadow: 0 14px 26px rgba(37, 99, 235, 0.24);
}

.service-card h3 {
    color: var(--color-dark);
    font-size: 21px;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.service-card p {
    color: var(--color-muted);
    font-size: 15px;
    margin-bottom: 18px;
}

.service-list {
    list-style: none;
    display: grid;
    gap: 10px;
}

.service-list li {
    position: relative;
    padding-left: 22px;
    color: var(--color-text);
    font-size: 14px;
}

.service-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-primary);
    font-weight: 900;
}

/* =========================================================
   8. Split / Web-App Beispiele
   ========================================================= */

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: 48px;
    align-items: center;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.tag-cloud span {
    padding: 9px 13px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.94);
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 14px;
    font-weight: 800;
}

.glass-panel {
    padding: 22px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
}

.panel-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
}

.panel-row + .panel-row {
    margin-top: 12px;
}

.panel-row strong {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-dark);
    background: var(--color-white);
}

.panel-row span {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 800;
}

/* =========================================================
   9. Mini-WMS Highlight
   ========================================================= */

.highlight {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 520px;
    gap: 40px;
    align-items: center;
    padding: 42px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(219, 229, 239, 0.92);
    box-shadow: var(--shadow-md);
}

.highlight-list {
    list-style: none;
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.highlight-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--color-text);
    font-weight: 700;
}

.highlight-panel {
    padding: 22px;
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, var(--color-primary-dark), var(--color-secondary));
    box-shadow: var(--shadow-lg);
}

.process-grid {
    display: grid;
    gap: 14px;
}

.process-item {
    display: flex;
    gap: 16px;
    padding: 18px;
    border-radius: 20px;
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.11);
    transition: var(--transition);
}

.process-item:hover {
    transform: translateX(6px);
    background: rgba(255, 255, 255, 0.16);
}

.process-number {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-dark);
    background: var(--color-white);
    font-weight: 900;
    font-size: 14px;
}

.process-item strong {
    display: block;
    margin-bottom: 4px;
}

.process-item span {
    display: block;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

/* =========================================================
   10. Why / Industries
   ========================================================= */

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.why-card {
    padding: 26px;
    border-radius: var(--radius-md);
    background: var(--color-white);
    border: 1px solid rgba(219, 229, 239, 0.92);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-md);
}

.why-card strong {
    display: block;
    margin-bottom: 10px;
    color: var(--color-primary-dark);
    font-size: 26px;
    letter-spacing: -0.04em;
}

.why-card span {
    color: var(--color-muted);
    font-weight: 700;
}

.section-industries {
    background: linear-gradient(180deg, #eff6ff, #ffffff);
}

.industries {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.industry-pill {
    padding: 12px 16px;
    border-radius: 999px;
    color: var(--color-dark);
    background: var(--color-white);
    border: 1px solid rgba(219, 229, 239, 0.95);
    box-shadow: var(--shadow-sm);
    font-weight: 800;
    transition: var(--transition);
}

.industry-pill:hover {
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    transform: translateY(-4px);
}

/* =========================================================
   11. Kontakt
   ========================================================= */

.contact {
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.13), transparent 28%),
        var(--color-bg);
}

.contact-box {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
    gap: 38px;
    padding: 42px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(219, 229, 239, 0.92);
    box-shadow: var(--shadow-lg);
}

.contact-details {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.12);
}

.contact-detail-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    font-weight: 900;
}

.contact-detail strong {
    color: var(--color-dark);
}

.contact-detail span {
    color: var(--color-muted);
    font-size: 14px;
}

.contact-form {
    padding: 26px;
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid rgba(219, 229, 239, 0.95);
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.field {
    margin-bottom: 16px;
}

.field label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-dark);
    font-size: 14px;
    font-weight: 900;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: var(--color-white);
    color: var(--color-dark);
    padding: 14px 15px;
    outline: none;
    transition: var(--transition);
}

.field textarea {
    min-height: 150px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: rgba(37, 99, 235, 0.72);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.13);
}

/* =========================================================
   12. Footer
   ========================================================= */

.footer {
    padding: 54px 0 26px;
    color: rgba(255, 255, 255, 0.84);
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 38px;
    margin-bottom: 34px;
}

.footer h3,
.footer h4 {
    color: var(--color-white);
    margin-bottom: 14px;
}

.footer p {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.74);
}

.footer-links {
    list-style: none;
    display: grid;
    gap: 9px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.74);
    transition: var(--transition);
}

.footer-links a:hover {
    color: #bfdbfe;
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.66);
    font-size: 14px;
}

/* =========================================================
   13. Animationen
   ========================================================= */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.why-card,
.highlight,
.contact-box {
    animation: fadeUp 0.7s ease both;
}

/* =========================================================
   14. Responsive Design
   ========================================================= */

@media (max-width: 1080px) {
    .hero-inner,
    .highlight,
    .contact-box,
    .split-layout {
        grid-template-columns: 1fr;
    }

    .hero-inner {
        gap: 42px;
    }

    .hero-card {
        max-width: 640px;
        width: 100%;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .topbar-inner {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        padding: 8px 0;
        gap: 2px;
    }

    .navbar-inner {
        min-height: 76px;
    }

    .mobile-menu-button {
        display: flex;
        position: relative;
        z-index: 250;
    }

    .nav-links {
        position: fixed;
        top: 92px;
        left: 14px;
        right: 14px;
        z-index: 220;

        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;

        width: auto;
        max-width: 480px;
        margin: 0 auto;
        padding: 18px;

        border-radius: 26px;
        background:
            linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.98));
        border: 1px solid rgba(191, 219, 254, 0.95);
        box-shadow:
            0 28px 70px rgba(30, 64, 175, 0.22),
            0 10px 30px rgba(15, 23, 42, 0.12);

        transform: translateY(-16px) scale(0.98);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    .nav-links::before {
        content: "Menü";
        display: block;
        padding: 6px 8px 10px;
        color: var(--color-primary-dark);
        font-size: 13px;
        font-weight: 900;
        letter-spacing: 0.08em;
        text-align: center;
        text-transform: uppercase;
    }

    .nav-links a:not(.language-option) {
        width: 100%;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;

        padding: 12px 16px;
        border-radius: 16px;

        color: var(--color-dark);
        background: rgba(255, 255, 255, 0.86);
        border: 1px solid rgba(219, 229, 239, 0.95);
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);

        font-size: 15px;
        font-weight: 850;
        text-align: center;
    }

    .nav-links a:not(.language-option):hover {
        color: var(--color-primary-dark);
        background: rgba(219, 234, 254, 0.82);
        transform: translateY(-1px);
    }

    .nav-links .nav-cta {
        margin-top: 2px;
        color: var(--color-white) !important;
        background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)) !important;
        border: 0 !important;
        box-shadow: 0 14px 28px rgba(37, 99, 235, 0.28);
    }

    .mobile-menu-toggle:checked ~ .mobile-menu-button span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-toggle:checked ~ .mobile-menu-button span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle:checked ~ .mobile-menu-button span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .mobile-menu-toggle:checked ~ .nav-links {
        transform: translateY(0) scale(1);
        opacity: 1;
        pointer-events: auto;
    }

    /* =========================================================
       Zusatz: Sprachwechsel mobil
       ========================================================= */

    .language-switcher {
        width: 100%;
        justify-content: center;
        gap: 6px;
        padding: 6px;
        border-radius: 18px;
        background: rgba(239, 246, 255, 0.92);
        border: 1px solid rgba(191, 219, 254, 0.95);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75);
    }

    .language-option {
        flex: 1;
        min-height: 42px;
        border-radius: 14px !important;
        background: rgba(255, 255, 255, 0.78);
        border: 1px solid rgba(219, 229, 239, 0.9);
    }

    .language-option.active {
        border-color: transparent;
    }

    .hero {
        padding: 70px 0 62px;
    }

    .section {
        padding: 70px 0;
    }

    .brand-text small {
        display: none;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .hero h1 {
        font-size: clamp(36px, 13vw, 52px);
    }

    .hero-subtitle,
    .section-header p,
    .split-content p,
    .highlight-content p,
    .contact-info p {
        font-size: 16px;
    }

    .hero-actions,
    .btn {
        width: 100%;
    }

    .services-grid,
    .metric-grid,
    .why-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .highlight,
    .contact-box {
        padding: 24px;
    }

    .contact-form {
        padding: 20px;
    }

    .dashboard-preview {
        transform: none;
    }

    .brand-logo,
    .brand-fallback {
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }

    .brand-text strong {
        font-size: 16px;
    }
}

@media (max-width: 420px) {
    .topbar {
        display: none;
    }

    .hero {
        padding-top: 52px;
    }

    .section {
        padding: 58px 0;
    }

    .service-card,
    .why-card {
        padding: 22px;
    }

    .process-item,
    .panel-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .process-number,
    .panel-row strong {
        width: 46px;
        height: 46px;
    }

    .language-option {
        padding: 7px 8px !important;
        font-size: 12px !important;
    }

    .dual-flag {
        width: 28px;
        height: 19px;
    }

    .dual-flag-half {
        height: 19px;
        font-size: 17px;
        line-height: 19px;
    }
}

/* =========================================================
   15. Reduzierte Bewegung für Barrierefreiheit
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

@media (max-width: 860px) {
    .mobile-menu-toggle:checked ~ .nav-links {
        backdrop-filter: blur(18px);
    }
}