/*
  File: landing/styles.css
  OT 3D Landing Page — Professional Styles
  Design System: Aligned with app.ot-3d.de (ServiceFab)
  Author: Yves Metz
  Changelog:
  - 2026-03-07: Added cookie-bar component (dismissable, mobile-responsive, no opt-in needed as only technically necessary cookies are used).
  - 2026-03-07: Mobile hamburger menu: solid opaque background (#0f1724), explicit z-index 999,
                -webkit-backdrop-filter prefix — prevents white-section see-through on all mobile browsers.
  - 2026-03-07: Fix .product-card__visual for left-column grid layout (border-radius, min-height,
                no fixed height); add .product-card__illus for inline SVG scaling + hover zoom;
                fix mobile override (top-header border-radius when card stacks).
  - 2026-02-xx: Flag emoji language buttons; contact form styles.
  - 2026-02-xx: Initial landing page styles.
*/

/* ═══════════════════════════════════════════════════════════════
   COOKIE BAR — no opt-in required (TTDSG §25(2), technisch notwendige Cookies only)
   Author: Yves Metz | 2026-03-07
   ═══════════════════════════════════════════════════════════════ */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(15, 23, 36, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 28px;
  transform: translateY(0);
  transition: transform 0.35s ease, opacity 0.35s ease;
  opacity: 1;
}

.cookie-bar.is-hidden {
  transform: translateY(100%);
  opacity: 0;
}

.cookie-bar__text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  line-height: 1.55;
}

.cookie-bar__text a {
  color: var(--accent, #3b7be5);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-bar__btn {
  flex-shrink: 0;
  background: var(--accent, #3b7be5);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 22px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.cookie-bar__btn:hover {
  background: var(--accent-strong, #2c63c9);
}

@media (max-width: 600px) {
  .cookie-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px 20px;
    gap: 12px;
  }

  .cookie-bar__btn {
    width: 100%;
    text-align: center;
  }
}

   ═══════════════════════════════════════════════════════════════ */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ═══════════════════════════════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════════════════════════════ */
:root {
  /* Core palette — matches ServiceFab */
  --bg: #f7f9fc;
  --bg-alt: #f3f6fb;
  --ink: #1b2b3a;
  --muted: #5d6b7a;
  --accent: #1e6fd9;
  --accent-strong: #1b5fc0;
  --accent-soft: #e6f0ff;
  --border: #dfe6ef;
  --shadow: rgba(16, 33, 50, 0.06);
  --panel: #ffffff;
  --ok: #1b8f5a;
  --warn: #d99b00;
  --alert: #c23b3b;

  /* Landing-specific tokens */
  --hero-bg: #0f1724;
  --hero-ink: #e8edf5;
  --hero-muted: #8694a8;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);

  font-size: 16px;
}

/* ═══════════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

::selection {
  background: var(--accent);
  color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 36, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--transition), box-shadow var(--transition);
}

.nav--scrolled {
  background: rgba(15, 23, 36, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.nav__logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
}

.nav__brand-text {
  font-weight: 800;
  font-size: 1.15rem;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__link {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

.nav__link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav__cta {
  margin-left: 10px;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  background: var(--accent);
  border-radius: 8px;
  transition: background var(--transition), transform var(--transition);
}

.nav__cta:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10;
}

.nav__toggle span {
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  background: var(--hero-bg);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 100%);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
}

.hero__glow--1 {
  width: 600px;
  height: 600px;
  background: #1e6fd9;
  top: -100px;
  right: 10%;
}

.hero__glow--2 {
  width: 400px;
  height: 400px;
  background: #38bdf8;
  bottom: -50px;
  left: 20%;
  opacity: 0.2;
}

.hero__content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(30, 111, 217, 0.3);
  background: rgba(30, 111, 217, 0.08);
  font-size: 0.82rem;
  font-weight: 600;
  color: #7db4f0;
  margin-bottom: 24px;
  width: fit-content;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px rgba(27, 143, 90, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

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

.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  line-height: 1.08;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero__title-accent {
  background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 50%, #1e6fd9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--hero-muted);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__metrics {
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.hero__metric-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.hero__metric-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--hero-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Globe mesh icon in hero metric */
.hero__metric-globe {
  display: flex;
  align-items: center;
  justify-content: center;
}

.globe-svg {
  width: 2.2rem;
  height: 2.2rem;
  color: #ffffff;
  opacity: 0.92;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.35));
}

.hero__metric-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
}

/* Hero visual cards */
.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
}

.hero__card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  transition: transform var(--transition), border-color var(--transition);
}

.hero__card:hover {
  transform: translateX(4px);
  border-color: rgba(30, 111, 217, 0.3);
}

.hero__card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(30, 111, 217, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__card-icon svg {
  width: 22px;
  height: 22px;
  color: #60a5fa;
}

.hero__card-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__card-text strong {
  font-size: 0.92rem;
  color: #ffffff;
  font-weight: 600;
}

.hero__card-text span {
  font-size: 0.78rem;
  color: var(--hero-muted);
}

.hero__card-status {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero__card-status--ok {
  background: rgba(27, 143, 90, 0.15);
  color: #4ade80;
}

.hero__card-progress {
  width: 80px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.hero__card-progress-bar {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #1e6fd9, #38bdf8);
  animation: progressPulse 3s ease-in-out infinite;
}

@keyframes progressPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  transition: all var(--transition);
  text-decoration: none;
}

.btn--lg {
  padding: 14px 28px;
  font-size: 0.95rem;
}

.btn--primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(30, 111, 217, 0.25);
}

.btn--primary:hover {
  background: var(--accent-strong);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 111, 217, 0.35);
}

.btn--ghost {
  background: transparent;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
}

.hero .btn--ghost:hover,
.cta .btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

/* Light section ghost */
.services .btn--ghost,
.tech .btn--ghost,
.contact .btn--ghost {
  border-color: var(--border);
  color: var(--ink);
}

/* ═══════════════════════════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════════════════════════ */
.section-badge {
  display: inline-flex;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-soft);
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 14px;
}

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

/* ═══════════════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════════════ */
.services {
  padding: 100px 0;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--panel);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px var(--shadow);
  border-color: rgba(30, 111, 217, 0.2);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
}

.service-card__icon--scan {
  background: linear-gradient(135deg, #e6f0ff 0%, #f0f7ff 100%);
  color: var(--accent);
}

.service-card__icon--print {
  background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
  color: var(--ok);
}

.service-card__icon--fit {
  background: linear-gradient(135deg, #fff3e0 0%, #fff8e1 100%);
  color: #e88700;
}

.service-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.service-card__text {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-card__features li {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  padding-left: 22px;
  position: relative;
}

.service-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}

/* ═══════════════════════════════════════════════════════════════
   WORKFLOW
   ═══════════════════════════════════════════════════════════════ */
.workflow {
  padding: 100px 0;
  background: var(--hero-bg);
  color: #ffffff;
}

.workflow .section-badge {
  background: rgba(30, 111, 217, 0.15);
  color: #7db4f0;
}

.workflow .section-title {
  color: #ffffff;
}

.workflow__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.workflow__step {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: transform var(--transition), border-color var(--transition);
}

.workflow__step:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 111, 217, 0.3);
}

.workflow__step-number {
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #60a5fa 0%, #1e6fd9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  line-height: 1;
}

.workflow__step-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.workflow__step-content p {
  font-size: 0.88rem;
  color: var(--hero-muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCTS
   ═══════════════════════════════════════════════════════════════ */
.products {
  padding: 100px 0;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.product-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--panel);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px var(--shadow);
  border-color: rgba(30, 111, 217, 0.2);
}

.product-card__visual {
  overflow: hidden;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  background: #06091a;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Inline SVG illustration OR PNG image fills the panel */
.product-card__illus {
  width: 100%;
  height: 100%;
  min-height: 200px;
  display: block;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card__illus {
  transform: scale(1.04);
}

.product-card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.product-card__tag {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--accent-soft);
  width: fit-content;
  margin-bottom: 10px;
}

.product-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.product-card__text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--transition);
}

.product-card__link:hover {
  gap: 10px;
}

/* ═══════════════════════════════════════════════════════════════
   TECHNOLOGY
   ═══════════════════════════════════════════════════════════════ */
.tech {
  padding: 100px 0;
  background: var(--bg-alt);
}

.tech__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.tech__description {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.tech__features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tech__feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.tech__feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.tech__feature-icon svg {
  width: 22px;
  height: 22px;
}

.tech__feature div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tech__feature strong {
  font-size: 0.95rem;
  font-weight: 600;
}

.tech__feature span {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Terminal card */
.tech__terminal {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #1a1e2a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.2);
}

.tech__terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tech__terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.tech__terminal-dot--red { background: #ff5f57; }
.tech__terminal-dot--yellow { background: #febc2e; }
.tech__terminal-dot--green { background: #28c840; }

.tech__terminal-title {
  margin-left: auto;
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tech__terminal-body {
  padding: 20px 22px;
  font-family: "IBM Plex Mono", "Consolas", "SF Mono", monospace;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tech__terminal-line {
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tech__terminal-line--active {
  color: #ffffff;
}

.tech__t-muted { color: rgba(255, 255, 255, 0.25); }
.tech__t-ok { color: #4ade80; }
.tech__t-value { color: #60a5fa; font-weight: 600; }
.tech__t-accent { color: #38bdf8; }

.tech__terminal-bar {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.tech__terminal-bar span {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, #1e6fd9, #38bdf8);
}

/* ═══════════════════════════════════════════════════════════════
   STATS
   ═══════════════════════════════════════════════════════════════ */
.stats {
  padding: 80px 0;
  background: var(--panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stats__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stats__value {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}

.stats__label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════════════════════ */
.testimonials {
  padding: 100px 0;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--panel);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px var(--shadow);
}

.testimonial__stars {
  font-size: 1rem;
  color: #fbbf24;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial__text {
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
  margin-bottom: 20px;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.testimonial__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
}

.testimonial__author strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
}

.testimonial__author span {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════════ */
.about {
  padding: 100px 0;
  background: var(--bg-alt);
}

.about__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about__text p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about__note {
  font-size: 0.88rem !important;
  color: var(--muted) !important;
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  margin-top: 8px;
}

.about__values {
  display: flex;
  gap: 24px;
  margin-top: 28px;
}

.about__value {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
}

.about__value-icon {
  color: var(--accent);
  font-size: 0.7rem;
}

.about__card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--panel);
  overflow: hidden;
  box-shadow: 0 16px 40px var(--shadow);
}

.about__card-header {
  padding: 14px 20px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.about__card-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.about__card-body {
  padding: 24px;
}

.about__card-body strong {
  font-size: 1.1rem;
  display: block;
  margin-bottom: 8px;
}

.about__card-body p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.about__card-map {
  width: 100%;
  height: 200px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, #e6f0ff 0%, #f3f6fb 50%, #dfe6ef 100%);
  position: relative;
  overflow: hidden;
}

.about__card-map::after { display: none; }

/* ═══════════════════════════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════════════════════════ */
.cta {
  padding: 100px 0;
  background: var(--hero-bg);
}

.cta__card {
  text-align: center;
  padding: 60px 40px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(30, 111, 217, 0.2);
  background:
    radial-gradient(ellipse 50% 60% at 50% 0%, rgba(30, 111, 217, 0.12) 0%, transparent 100%),
    rgba(255, 255, 255, 0.02);
}

.cta__title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.cta__text {
  font-size: 1.05rem;
  color: var(--hero-muted);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════ */
.contact {
  padding: 100px 0;
}

.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact__info p {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact__detail-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.contact__detail-icon svg {
  width: 20px;
  height: 20px;
}

.contact__detail div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact__detail strong {
  font-size: 0.88rem;
  font-weight: 600;
}

.contact__detail span,
.contact__detail a {
  font-size: 0.88rem;
  color: var(--muted);
}

.contact__detail a:hover {
  color: var(--accent);
}

/* Contact form */
.contact__form {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: 0 8px 30px var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact__form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact__form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

.contact__form-group input,
.contact__form-group select,
.contact__form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.contact__form-group input:focus,
.contact__form-group select:focus,
.contact__form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30, 111, 217, 0.1);
}

.contact__form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact__submit {
  width: 100%;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
  padding: 64px 0 32px;
  background: var(--hero-bg);
  color: rgba(255, 255, 255, 0.7);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer__logo svg {
  width: 36px;
  height: 36px;
}

.footer__logo span {
  font-weight: 800;
  font-size: 1.15rem;
  color: #ffffff;
}

.footer__tagline {
  font-size: 0.9rem;
  color: var(--hero-muted);
  line-height: 1.6;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 4px;
}

.footer__col a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer__col a:hover {
  color: #ffffff;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
}

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition);
}

.footer__legal a:hover {
  color: #ffffff;
}

/* ═══════════════════════════════════════════════════════════════
   LEGAL PAGES
   ═══════════════════════════════════════════════════════════════ */
.legal-page {
  padding: 120px 24px 80px;
  max-width: 800px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.legal-page .legal-updated {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-page h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-page p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-page ul, .legal-page ol {
  margin-bottom: 12px;
  padding-left: 24px;
}

.legal-page li {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 4px;
}

.legal-page a {
  color: var(--accent);
}

.legal-page a:hover {
  text-decoration: underline;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 32px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
}

.legal-back:hover {
  gap: 10px;
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal--delay-1 { transition-delay: 0.12s; }
.reveal--delay-2 { transition-delay: 0.24s; }
.reveal--delay-3 { transition-delay: 0.36s; }

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__visual {
    max-width: 480px;
  }

  .services__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .workflow__steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .products__grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .tech__layout,
  .about__layout,
  .contact__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    inset: 0;
    top: 64px;
    z-index: 999;
    background: #0f1724;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 24px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav__menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link {
    font-size: 1.1rem;
    padding: 12px 20px;
  }

  .nav__cta {
    margin-left: 0;
    margin-top: 8px;
    font-size: 1rem;
    padding: 12px 24px;
  }

  .nav__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    padding: 100px 20px 60px;
    min-height: auto;
  }

  .hero__title {
    font-size: 2.2rem;
  }

  .hero__metrics {
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero__metric-divider {
    display: none;
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn--lg {
    justify-content: center;
    width: 100%;
  }

  .workflow__steps {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-card__visual {
    /* on mobile cards stack vertically → visual becomes top header */
    height: 160px;
    min-height: 160px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .product-card__illus {
    min-height: 160px;
  }

  .stats__grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .cta__card {
    padding: 40px 24px;
  }

  .cta__actions {
    flex-direction: column;
  }

  .contact__form {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .stats__value {
    font-size: 1.8rem;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   LANGUAGE SWITCHER
   ───────────────────────────────────────────────────────────────────────────── */
.lang-drop {
  position: relative;
  margin-left: 12px;
  flex-shrink: 0;
}

/* Trigger button: shows active flag + chevron */
.lang-drop__trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px 5px 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.85);
  font-family: inherit;
  font-size: 1.15rem;
  line-height: 1;
  transition: border-color 0.18s, background 0.18s;
  user-select: none;
  -webkit-user-select: none;
  white-space: nowrap;
}

.lang-drop__trigger:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.lang-drop.is-open .lang-drop__trigger {
  border-color: #0ea5e9;
  background: rgba(14, 165, 233, 0.12);
}

.lang-drop__chevron {
  width: 10px;
  height: 10px;
  color: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.lang-drop.is-open .lang-drop__chevron {
  transform: rotate(180deg);
}

/* Dropdown list */
.lang-drop__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  background: #0d1628;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  padding: 5px;
  list-style: none;
  margin: 0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(14, 165, 233, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 500;
}

.lang-drop.is-open .lang-drop__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Each option row */
.lang-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 8px 11px;
  background: transparent;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.72);
  font-family: inherit;
  font-size: 0.875rem;
  text-align: left;
  transition: background 0.14s, color 0.14s;
  user-select: none;
  -webkit-user-select: none;
  letter-spacing: 0;
  white-space: nowrap;
}

.lang-btn__flag {
  font-size: 1.18rem;
  line-height: 1;
  flex-shrink: 0;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.lang-btn.is-active {
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
}

/* On mobile: dropdown opens left-aligned, appears before hamburger */
@media (max-width: 767px) {
  .lang-drop {
    order: -1;
    margin-left: 0;
    margin-right: auto;
  }
  .nav__brand { margin-right: 8px; }
  .lang-drop__menu {
    right: auto;
    left: 0;
  }
}

.germany-svg {
  width: 100%;
  max-width: 180px;
  height: auto;
  display: block;
  margin: 16px auto 0;
  filter: drop-shadow(0 0 12px rgba(14, 165, 233, 0.25));
}

.about__card-map {
  display: flex;
  justify-content: center;
  min-height: 120px;
}


/* ── Location map card (germany.png redesign) ─────────────────────────────── */
.about__map-card {
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg, 16px);
  border: 1px solid rgba(56, 189, 248, 0.22);
  background: #07111f;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(14,165,233,0.08);
}

.about__map-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.about__map-img {
  width: 100%;
  height: auto;
  display: block;
  /* No crop — pin % maps directly to image % so placement stays accurate */
}

/* ── Welschneudorf pin ──────────────────────────────────────────────────────── */
.about__map-pin {
  position: absolute;
  /* Welschneudorf label is at ~23% left, ~58% top in germany.png (no crop) */
  left: 22%;
  top: 57%;
  transform: translate(-50%, -100%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about__pin-pulse {
  position: absolute;
  left: 50%;
  top: 70%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.30);
  animation: pin-pulse 2.2s ease-out infinite;
  pointer-events: none;
}

@keyframes pin-pulse {
  0%   { transform: translate(-50%, -50%) scale(0.5); opacity: 0.9; }
  100% { transform: translate(-50%, -50%) scale(2.4); opacity: 0; }
}

.about__pin-icon {
  width: 28px;
  height: 42px;
  filter: drop-shadow(0 3px 10px rgba(245, 158, 11, 0.65));
  position: relative;
  z-index: 2;
}

.about__pin-label {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.70rem;
  font-weight: 700;
  background: rgba(7, 17, 31, 0.90);
  color: #fcd34d;
  padding: 3px 9px;
  border-radius: 5px;
  border: 1px solid rgba(245, 158, 11, 0.40);
  backdrop-filter: blur(6px);
  letter-spacing: 0.04em;
}

/* ── Map info bar ────────────────────────────────────────────────────────────── */
.about__map-info {
  padding: 14px 20px 16px;
  background: linear-gradient(to right, #07111f, #0c1828);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.about__map-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: #f59e0b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about__map-info strong {
  color: #e0f2fe;
  font-size: 0.98rem;
}

.about__map-info p {
  font-size: 0.82rem;
  color: rgba(125, 200, 245, 0.70);
  margin: 0;
}
