:root {
  --navy: #0A192F;
  --navy-soft: #13243d;
  --cyan: #00D1FF;
  --cyan-soft: rgba(0, 209, 255, 0.11);
  --white: #ffffff;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --max: 1180px;
  --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.04), 0 14px 34px rgba(15, 23, 42, 0.045);
  --shadow-button: 0 18px 44px rgba(10, 25, 47, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif;
  background: var(--white);
  color: var(--slate-900);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin-top: 0; }
.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.86);
}
.nav-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); line-height: 1; flex-shrink: 0; }
.brand-logo { width: auto; height: 32px; object-fit: contain; flex: 0 0 auto; }
.brand-fallback { display: none; width: 32px; height: 32px; border-radius: 10px; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--navy), var(--cyan)); color: var(--white); font-size: 0.78rem; font-weight: 700; letter-spacing: -0.03em; }
.brand-text { font-size: 1.42rem; font-weight: 780; letter-spacing: -0.055em; white-space: nowrap; }
.brand-dot { color: var(--cyan); }
.nav-links { display: flex; align-items: center; gap: 30px; color: var(--slate-600); font-size: 0.9rem; font-weight: 600; }
.nav-links a { transition: color 170ms ease; }
.nav-links a:hover { color: var(--navy); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; cursor: pointer; line-height: 1; font-weight: 700; white-space: nowrap; transition: background 170ms ease, border-color 170ms ease, transform 170ms ease, box-shadow 170ms ease; }
.btn-primary { background: var(--navy); color: var(--white); box-shadow: 0 12px 30px rgba(10, 25, 47, 0.13); }
.btn-primary:hover { background: var(--navy-soft); transform: translateY(-1px); box-shadow: var(--shadow-button); }
.btn-secondary { background: var(--white); color: var(--slate-700); border: 1px solid var(--slate-200); }
.btn-secondary:hover { background: var(--slate-50); transform: translateY(-1px); }
.btn-ghost { background: rgba(241, 245, 249, 0.8); color: var(--navy); border: 1px solid rgba(226, 232, 240, 0.86); }
.btn-ghost:hover { background: var(--white); transform: translateY(-1px); }
.btn-nav { padding: 12px 18px; font-size: 0.86rem; }
.btn-large { border-radius: 14px; padding: 17px 31px; font-size: 1rem; }

.hero { padding: 142px 0 92px; position: relative; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 999px; pointer-events: none; filter: blur(28px); opacity: 0.38; }
.hero::before { width: 280px; height: 280px; top: 108px; right: -120px; background: var(--cyan-soft); }
.hero::after { width: 220px; height: 220px; left: -120px; bottom: 44px; background: rgba(10, 25, 47, 0.045); }
.hero-content { position: relative; z-index: 1; max-width: 920px; margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; margin-bottom: 24px; border-radius: 999px; background: rgba(241, 245, 249, 0.86); border: 1px solid rgba(226, 232, 240, 0.72); color: var(--slate-500); text-transform: uppercase; letter-spacing: 0.115em; font-size: 0.7rem; font-weight: 760; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: var(--cyan); box-shadow: 0 0 0 4px rgba(0, 209, 255, 0.12); flex: 0 0 auto; }
h1 { max-width: 900px; margin: 0 auto 28px; color: var(--navy); font-size: clamp(3rem, 5vw, 5.05rem); line-height: 1.08; letter-spacing: -0.056em; font-weight: 720; text-wrap: balance; }
.hero-text { max-width: 760px; margin: 0 auto 38px; color: var(--slate-600); font-size: clamp(1.06rem, 1.55vw, 1.2rem); line-height: 1.68; }
.hero-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

.section { padding: 92px 0; }
.section-muted { background: var(--slate-50); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 54px; }
.section-head-left { max-width: 650px; }
.section-kicker { margin-bottom: 12px; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.11em; font-size: 0.74rem; font-weight: 780; }
h2 { margin-bottom: 10px; color: var(--navy); font-size: clamp(2rem, 3.15vw, 2.9rem); line-height: 1.12; letter-spacing: -0.042em; font-weight: 720; text-wrap: balance; }
.section-lead { max-width: 600px; margin-bottom: 0; color: var(--slate-500); line-height: 1.72; font-size: 1rem; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.card { min-height: 260px; padding: 28px; background: var(--white); border: 1px solid rgba(226, 232, 240, 0.95); border-radius: 18px; box-shadow: var(--shadow-card); transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.card:hover { transform: translateY(-3px); border-color: rgba(0, 209, 255, 0.58); box-shadow: 0 20px 54px rgba(10, 25, 47, 0.08); }
.icon-box { width: 46px; height: 46px; margin-bottom: 22px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(0, 209, 255, 0.09); color: var(--navy); transition: background 180ms ease, color 180ms ease; }
.card:hover .icon-box { background: var(--cyan); color: var(--white); }
.icon-box svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 12px; color: var(--navy); font-size: 1.17rem; line-height: 1.25; letter-spacing: -0.02em; font-weight: 720; }
.card p { margin-bottom: 0; color: var(--slate-500); font-size: 0.94rem; line-height: 1.66; }
.badge { display: inline-flex; align-items: center; margin-top: 20px; padding: 6px 10px; border-radius: 999px; background: rgba(241, 245, 249, 0.86); border: 1px solid rgba(226, 232, 240, 0.82); color: var(--slate-500); font-size: 0.73rem; font-weight: 700; line-height: 1; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.feature { padding: 28px; border-radius: 18px; background: var(--white); border: 1px solid var(--slate-200); box-shadow: var(--shadow-card); }
.feature h3 { color: var(--navy); font-size: 1.12rem; margin-bottom: 10px; letter-spacing: -0.02em; }
.feature p { color: var(--slate-500); line-height: 1.68; margin-bottom: 0; }

.platform-note { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 44px; align-items: start; }
.note-box { padding: 34px; border-radius: 24px; background: var(--white); border: 1px solid var(--slate-200); box-shadow: var(--shadow-card); }
.note-box p { margin-bottom: 0; color: var(--slate-600); line-height: 1.78; }
.principles { display: grid; gap: 16px; }
.principle { display: grid; grid-template-columns: 24px 1fr; gap: 15px; align-items: start; padding: 22px; border: 1px solid var(--slate-200); border-radius: 18px; background: var(--white); }
.dot { width: 9px; height: 9px; margin-top: 7px; border-radius: 999px; background: var(--cyan); box-shadow: 0 0 0 5px rgba(0, 209, 255, 0.11); }
.principle h3 { margin-bottom: 5px; color: var(--navy); font-size: 1.03rem; font-weight: 720; letter-spacing: -0.015em; }
.principle p { margin-bottom: 0; color: var(--slate-500); line-height: 1.62; }

.swiss-section { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.swiss-section::before { content: ""; position: absolute; right: -180px; top: 70px; width: 480px; height: 480px; border-radius: 999px; background: radial-gradient(circle, rgba(0, 209, 255, 0.24), rgba(0, 209, 255, 0)); pointer-events: none; }
.swiss-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 0.96fr; gap: 66px; align-items: center; }
.swiss-section h2 { color: var(--white); font-style: italic; }
.swiss-section .section-lead { color: var(--slate-400); font-size: 1.05rem; }
.proof-list { display: grid; gap: 27px; margin-top: 42px; }
.proof-item { display: grid; grid-template-columns: 42px 1fr; gap: 16px; align-items: start; }
.proof-number { color: var(--cyan); font-weight: 780; font-size: 1.05rem; }
.proof-item h3 { margin-bottom: 5px; color: var(--white); font-size: 1.08rem; font-weight: 720; }
.proof-item p { margin-bottom: 0; color: var(--slate-400); line-height: 1.64; }
.glass-wrap { position: relative; }
.glow { position: absolute; inset: -18px; border-radius: 999px; background: linear-gradient(135deg, rgba(37, 99, 235, 0.20), rgba(0, 209, 255, 0.20)); filter: blur(40px); }
.glass-card { position: relative; padding: 42px; border-radius: 26px; background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.11); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18); text-align: center; }
.swiss-mark { width: 76px; height: 76px; margin: 0 auto 24px; border-radius: 18px; background: var(--white); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 1.65rem; font-weight: 650; letter-spacing: 0.03em; box-shadow: 0 18px 44px rgba(0, 0, 0, 0.20); }
.glass-card h3 { margin-bottom: 12px; color: var(--white); font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.024em; font-weight: 720; }
.glass-card p { margin-bottom: 0; color: var(--slate-400); line-height: 1.72; }

.faq { display: grid; gap: 14px; max-width: 900px; margin-inline: auto; }
.faq-item { background: var(--white); border: 1px solid var(--slate-200); border-radius: 18px; padding: 24px; box-shadow: var(--shadow-card); }
.faq-item h3 { color: var(--navy); font-size: 1.08rem; margin-bottom: 8px; }
.faq-item p { color: var(--slate-500); line-height: 1.68; margin-bottom: 0; }

.page-hero { padding: 136px 0 62px; background: var(--slate-50); }
.page-hero h1 { font-size: clamp(2.5rem, 4vw, 4rem); max-width: 820px; text-align: left; margin-left: 0; }
.page-hero .hero-text { margin-left: 0; text-align: left; }
.content { padding: 74px 0; }
.content-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 44px; align-items: start; }
.content-card { padding: 32px; border: 1px solid var(--slate-200); border-radius: 22px; box-shadow: var(--shadow-card); background: var(--white); }
.content-card h2 { font-size: 1.75rem; }
.content-card h3 { color: var(--navy); margin-bottom: 8px; }
.content-card p, .content-card li { color: var(--slate-600); line-height: 1.72; }
.content-card ul { padding-left: 20px; margin-bottom: 0; }
.small-note { color: var(--slate-400); font-size: 0.9rem; line-height: 1.6; }

.cta { padding: 82px 0; text-align: center; }
.cta h2 { max-width: 760px; margin-inline: auto; margin-bottom: 28px; }
.cta p { margin: 20px 0 0; color: var(--slate-400); font-size: 0.94rem; }
.footer { padding: 38px 0; border-top: 1px solid var(--slate-100); color: var(--slate-500); font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
.footer-brand { margin-bottom: 10px; color: var(--navy); font-size: 1.16rem; font-weight: 780; letter-spacing: -0.045em; }
.footer p { margin-bottom: 8px; line-height: 1.7; }
.footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 14px 22px; }
.footer a:hover { color: var(--navy); }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .product-grid, .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform-note, .swiss-grid, .footer-grid, .content-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, var(--max)); }
  .nav-inner { height: 72px; }
  .brand-logo { height: 30px; }
  .brand-fallback { width: 30px; height: 30px; }
  .brand-text { font-size: 1.22rem; }
  .btn-nav { padding: 11px 14px; font-size: 0.82rem; }
  .nav-actions .btn-ghost { display: none; }
  .hero { padding: 126px 0 72px; }
  .eyebrow { padding: 6px 11px; font-size: 0.63rem; letter-spacing: 0.08em; }
  h1 { font-size: clamp(2.35rem, 10vw, 3.45rem); line-height: 1.08; letter-spacing: -0.042em; font-weight: 700; }
  .hero-text { font-size: 1rem; line-height: 1.6; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-large { width: 100%; }
  .section { padding: 74px 0; }
  .section-head { display: block; }
  .product-grid, .feature-grid { grid-template-columns: 1fr; }
  .card { min-height: auto; }
  .note-box, .glass-card, .content-card { padding: 28px; }
  .proof-item { grid-template-columns: 38px 1fr; }
  .page-hero { padding: 120px 0 56px; }
}

/* Kontaktformular - Version 3.2 */
.contact-form-card { position: relative; overflow: hidden; }
.contact-form-card::before { content: ""; position: absolute; width: 220px; height: 220px; top: -120px; right: -100px; border-radius: 999px; background: rgba(0, 209, 255, 0.09); filter: blur(18px); pointer-events: none; }
.form-intro { position: relative; z-index: 1; color: var(--slate-500); line-height: 1.7; margin-bottom: 26px; }
.contact-form { position: relative; z-index: 1; display: grid; gap: 18px; }
.form-grid { display: grid; gap: 18px; }
.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: grid; gap: 8px; }
.field label { color: var(--navy); font-size: 0.9rem; font-weight: 700; letter-spacing: -0.01em; }
.field label span { color: var(--cyan); }
.field input, .field select, .field textarea { width: 100%; appearance: none; -webkit-appearance: none; border: 1px solid rgba(226, 232, 240, 0.95); border-radius: 14px; background: rgba(248, 250, 252, 0.72); color: var(--slate-900); font: inherit; font-size: 0.96rem; font-weight: 500; padding: 14px 15px; outline: none; transition: border-color 170ms ease, box-shadow 170ms ease, background 170ms ease; }
.field select { padding-right: 42px; background-image: linear-gradient(45deg, transparent 50%, var(--slate-500) 50%), linear-gradient(135deg, var(--slate-500) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.field textarea { resize: vertical; min-height: 150px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--slate-400); }
.field input:focus, .field select:focus, .field textarea:focus { background: var(--white); border-color: rgba(0, 209, 255, 0.76); box-shadow: 0 0 0 4px rgba(0, 209, 255, 0.11); }
.refined-checkbox { display: grid; grid-template-columns: 19px 1fr; gap: 12px; align-items: start; padding: 14px 16px; border: 1px solid rgba(226, 232, 240, 0.9); border-radius: 14px; background: rgba(248, 250, 252, 0.66); color: var(--slate-600); font-size: 0.93rem; line-height: 1.55; }
.refined-checkbox input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--cyan); }
.refined-checkbox a { color: var(--navy); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(0, 209, 255, 0.45); text-underline-offset: 3px; }
.form-submit-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-top: 4px; }
.form-submit-row .btn { min-width: 210px; }
.form-hint { margin: 0; color: var(--slate-400); font-size: 0.9rem; line-height: 1.5; }
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }
.status-card { max-width: 760px; margin-inline: auto; }
.status-card.success { border-color: rgba(0, 209, 255, 0.45); }
.status-card.error { border-color: rgba(239, 68, 68, 0.32); }
@media (max-width: 640px) { .two-columns { grid-template-columns: 1fr; } .form-submit-row { display: grid; gap: 14px; } .form-submit-row .btn { width: 100%; min-width: 0; } }

/* Kontaktformular - Version 3.3 / professioneller Officia-Look */
.contact-hero { padding-bottom: 58px; }
.contact-section { background: linear-gradient(180deg, var(--slate-50), var(--white)); }
.contact-layout { grid-template-columns: 0.72fr 1.28fr; align-items: start; }
.contact-info-card,
.polished-form-card {
  border-radius: 24px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 70px rgba(10, 25, 47, 0.08);
}
.contact-info-card { position: sticky; top: 104px; }
.mini-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 800;
}
.mini-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0, 209, 255, 0.11);
}
.contact-facts {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}
.contact-facts p {
  margin: 0;
  padding: 16px;
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.86);
  border: 1px solid rgba(226, 232, 240, 0.75);
}
.polished-form-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
}
.polished-form-card::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  top: -150px;
  right: -120px;
  border-radius: 999px;
  background: rgba(0, 209, 255, 0.10);
  filter: blur(20px);
  pointer-events: none;
}
.form-heading,
.polished-form {
  position: relative;
  z-index: 1;
}
.form-heading h2 { margin-bottom: 8px; }
.polished-form.contact-form {
  display: grid !important;
  gap: 18px !important;
}
.polished-form .form-grid {
  display: grid !important;
  gap: 18px !important;
}
.polished-form .two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
.polished-form .field {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  min-width: 0;
}
.polished-form .field label {
  display: block !important;
  color: var(--navy) !important;
  font-size: 0.86rem !important;
  line-height: 1.25 !important;
  font-weight: 720 !important;
  letter-spacing: -0.01em !important;
  margin: 0 !important;
}
.polished-form .field label span { color: var(--cyan); }
.polished-form input,
.polished-form select,
.polished-form textarea {
  display: block !important;
  width: 100% !important;
  min-height: 52px;
  margin: 0 !important;
  padding: 14px 15px !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  border-radius: 14px !important;
  background-color: rgba(248, 250, 252, 0.86) !important;
  color: var(--slate-900) !important;
  font: inherit !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  outline: none !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.75) !important;
  transition: border-color 170ms ease, box-shadow 170ms ease, background-color 170ms ease !important;
}
.polished-form select {
  -webkit-appearance: none !important;
  appearance: none !important;
  padding-right: 42px !important;
  background-image: linear-gradient(45deg, transparent 50%, var(--slate-500) 50%), linear-gradient(135deg, var(--slate-500) 50%, transparent 50%) !important;
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50% !important;
  background-size: 6px 6px, 6px 6px !important;
  background-repeat: no-repeat !important;
}
.polished-form textarea {
  min-height: 150px !important;
  resize: vertical !important;
  line-height: 1.6 !important;
}
.polished-form input::placeholder,
.polished-form textarea::placeholder { color: var(--slate-400); }
.polished-form input:focus,
.polished-form select:focus,
.polished-form textarea:focus {
  background-color: var(--white) !important;
  border-color: rgba(0, 209, 255, 0.78) !important;
  box-shadow: 0 0 0 4px rgba(0, 209, 255, 0.12), inset 0 1px 0 rgba(255,255,255,0.8) !important;
}
.polished-form .refined-checkbox {
  display: grid !important;
  grid-template-columns: 18px 1fr !important;
  gap: 12px !important;
  align-items: start !important;
  padding: 14px 16px !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  border-radius: 14px !important;
  background: rgba(248, 250, 252, 0.72) !important;
  color: var(--slate-600) !important;
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
}
.polished-form .refined-checkbox input {
  min-height: 0 !important;
  width: 18px !important;
  height: 18px !important;
  padding: 0 !important;
  margin: 2px 0 0 !important;
  accent-color: var(--cyan);
  box-shadow: none !important;
}
.polished-form .refined-checkbox a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(0, 209, 255, 0.45);
  text-underline-offset: 3px;
}
.polished-form .form-submit-row {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  flex-wrap: wrap !important;
  padding-top: 2px !important;
}
.polished-form .form-submit-row .btn { min-width: 210px; }
.polished-form .hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
@media (max-width: 980px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info-card { position: static; }
}
@media (max-width: 640px) {
  .polished-form-card { padding: 26px; }
  .polished-form .two-columns { grid-template-columns: 1fr !important; }
  .polished-form .form-submit-row { display: grid !important; gap: 14px !important; }
  .polished-form .form-submit-row .btn { width: 100%; min-width: 0; }
}

/* Version 3.9: Mehrsprachigkeit */
.lang-switch { display: inline-flex; align-items: center; gap: 4px; padding: 5px; border: 1px solid var(--slate-200); border-radius: 999px; background: rgba(255,255,255,0.72); }
.lang-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 28px; padding: 0 8px; border-radius: 999px; color: var(--slate-500); font-size: 0.78rem; font-weight: 750; letter-spacing: 0.02em; }
.lang-switch a:hover { background: var(--slate-50); color: var(--navy); }
.lang-switch a.active { background: var(--navy); color: var(--white); }
@media (max-width: 980px) { .lang-switch { display: inline-flex; } }


/* Version 4.0 polish */
.status-card .small-note{display:none;}
.field select option{color:var(--navy);}


/* Version 4.1: Mobile Navigation & responsive polish */
@media (max-width: 980px) {
  .lang-switch { display: inline-flex; }
  .nav-inner { gap: 14px; }
  .nav-actions { margin-left: auto; }
}

@media (max-width: 760px) {
  .nav {
    background: rgba(255,255,255,0.92);
  }

  .nav-inner {
    min-height: 72px;
    height: auto;
    padding: 10px 0;
    gap: 10px;
  }

  .brand {
    gap: 9px;
  }

  .brand-logo {
    height: 28px;
  }

  .brand-text {
    font-size: 1.12rem;
  }

  .nav-actions {
    gap: 7px;
  }

  .lang-switch {
    padding: 3px;
    gap: 2px;
  }

  .lang-switch a {
    min-width: 26px;
    height: 25px;
    padding: 0 6px;
    font-size: 0.68rem;
  }

  .btn-nav {
    padding: 9px 12px;
    font-size: 0.76rem;
  }

  .nav-actions .btn-ghost {
    display: none;
  }

  .hero {
    padding: 118px 0 64px;
  }

  .page-hero {
    padding: 112px 0 46px;
  }

  h1,
  .page-hero h1 {
    font-size: clamp(2.15rem, 9vw, 3.05rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
  }

  .hero-text,
  .page-hero .hero-text {
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .section,
  .content {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 34px;
  }

  h2 {
    font-size: clamp(1.75rem, 7vw, 2.35rem);
  }

  .content-card,
  .polished-form-card,
  .contact-info-card {
    border-radius: 20px;
  }

  .contact-layout {
    gap: 22px;
  }

  .polished-form-card {
    padding: 24px;
  }

  .polished-form.contact-form {
    gap: 16px !important;
  }

  .polished-form .form-grid {
    gap: 16px !important;
  }

  .polished-form .two-columns {
    grid-template-columns: 1fr !important;
  }

  .polished-form input,
  .polished-form select,
  .polished-form textarea {
    min-height: 50px;
    font-size: 0.95rem !important;
  }

  .polished-form textarea {
    min-height: 140px !important;
  }

  .refined-checkbox,
  .polished-form .refined-checkbox {
    font-size: 0.88rem !important;
  }

  .footer {
    padding: 32px 0;
  }

  .footer-links {
    gap: 10px 16px;
  }
}

@media (max-width: 430px) {
  .container {
    width: min(100% - 22px, var(--max));
  }

  .brand-logo {
    height: 26px;
  }

  .brand-text {
    font-size: 1rem;
  }

  .lang-switch a {
    min-width: 24px;
    height: 24px;
    padding: 0 5px;
    font-size: 0.64rem;
  }

  .btn-nav {
    padding: 9px 10px;
    font-size: 0.72rem;
  }

  .nav-actions {
    gap: 5px;
  }

  .eyebrow {
    max-width: 100%;
    white-space: normal;
    justify-content: center;
    text-align: center;
  }

  .hero-actions {
    gap: 10px;
  }

  .btn-large {
    padding: 16px 24px;
  }

  .product-grid,
  .feature-grid,
  .platform-note,
  .swiss-grid,
  .content-grid {
    gap: 18px;
  }
}

/* Version 4.3: mobile navigation, keyars visibility and consistent icons */
.icon-box svg { display: block; width: 22px; height: 22px; }
@media (max-width: 760px) { .nav-actions .btn-ghost { display: inline-flex !important; } }
@media (max-width: 580px) {
  .nav-inner { flex-wrap: wrap; justify-content: space-between; row-gap: 9px; }
  .brand { max-width: calc(100% - 190px); }
  .nav-actions { order: 3; width: 100%; justify-content: center; margin-left: 0 !important; gap: 7px; }
  .lang-switch { margin-left: auto; }
  .nav-actions .btn-nav { flex: 1 1 auto; max-width: 170px; text-align: center; }
  .hero { padding-top: 156px; }
  .page-hero { padding-top: 148px; }
}
@media (max-width: 390px) {
  .brand-text { font-size: 0.94rem; }
  .nav-actions .btn-nav { font-size: 0.7rem; padding-inline: 8px; }
}

/* Version 4.6: wider content cards for legal/info pages */
.content:not(.contact-section) > .container.content-grid {
  display: block;
  max-width: 900px;
}
.content:not(.contact-section) > .container.content-grid .content-card {
  width: 100%;
}
.content:not(.contact-section) > .container.content-grid .content-card p,
.content:not(.contact-section) > .container.content-grid .content-card li {
  max-width: 820px;
}
.content:not(.contact-section) > .container.content-grid .content-card h2,
.content:not(.contact-section) > .container.content-grid .content-card h3 {
  max-width: 820px;
}
@media (max-width: 640px) {
  .content:not(.contact-section) > .container.content-grid {
    max-width: none;
  }
}


/* Version 4.7: Light/Dark Theme mit Auto-Erkennung */
:root {
  color-scheme: light;
  --theme-bg: #ffffff;
  --theme-text: #0f172a;
  --theme-heading: #0A192F;
  --theme-muted: #475569;
  --theme-soft: #64748b;
  --theme-surface: #ffffff;
  --theme-surface-muted: #f8fafc;
  --theme-surface-soft: #f1f5f9;
  --theme-border: rgba(226, 232, 240, 0.95);
  --theme-border-soft: rgba(226, 232, 240, 0.72);
  --theme-nav-bg: rgba(255, 255, 255, 0.86);
  --theme-field-bg: rgba(248, 250, 252, 0.86);
  --theme-card-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 14px 34px rgba(15, 23, 42, 0.045);
}
html[data-theme="dark"] {
  color-scheme: dark;
  --theme-bg: #07111f;
  --theme-text: #dbe7f5;
  --theme-heading: #f8fbff;
  --theme-muted: #b5c5d8;
  --theme-soft: #8ea2ba;
  --theme-surface: #0d1a2c;
  --theme-surface-muted: #0a1626;
  --theme-surface-soft: #102039;
  --theme-border: rgba(148, 163, 184, 0.22);
  --theme-border-soft: rgba(148, 163, 184, 0.18);
  --theme-nav-bg: rgba(7, 17, 31, 0.86);
  --theme-field-bg: rgba(15, 29, 49, 0.86);
  --theme-card-shadow: 0 1px 2px rgba(0, 0, 0, 0.20), 0 18px 50px rgba(0, 0, 0, 0.24);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
    color-scheme: dark;
    --theme-bg: #07111f;
    --theme-text: #dbe7f5;
    --theme-heading: #f8fbff;
    --theme-muted: #b5c5d8;
    --theme-soft: #8ea2ba;
    --theme-surface: #0d1a2c;
    --theme-surface-muted: #0a1626;
    --theme-surface-soft: #102039;
    --theme-border: rgba(148, 163, 184, 0.22);
    --theme-border-soft: rgba(148, 163, 184, 0.18);
    --theme-nav-bg: rgba(7, 17, 31, 0.86);
    --theme-field-bg: rgba(15, 29, 49, 0.86);
    --theme-card-shadow: 0 1px 2px rgba(0, 0, 0, 0.20), 0 18px 50px rgba(0, 0, 0, 0.24);
  }
}
body { background: var(--theme-bg); color: var(--theme-text); }
.nav { background: var(--theme-nav-bg); border-bottom-color: var(--theme-border-soft); }
.brand, .brand-text, h1, h2, .card h3, .feature h3, .principle h3, .faq-item h3, .content-card h2, .content-card h3, .field label, .polished-form .field label, .footer-brand { color: var(--theme-heading); }
.nav-links, .hero-text, .section-lead, .content-card p, .content-card li, .note-box p, .principle p, .card p, .feature p, .faq-item p, .footer, .form-intro, .contact-facts p { color: var(--theme-muted); }
.section-muted, .page-hero, .contact-section { background: var(--theme-surface-muted); }
.card, .feature, .note-box, .principle, .faq-item, .content-card, .contact-info-card, .polished-form-card { background: var(--theme-surface); border-color: var(--theme-border); box-shadow: var(--theme-card-shadow); }
.eyebrow, .badge, .btn-ghost, .lang-switch, .contact-facts p, .refined-checkbox, .polished-form .refined-checkbox { background: var(--theme-surface-soft) !important; border-color: var(--theme-border-soft) !important; color: var(--theme-soft) !important; }
.lang-switch a { color: var(--theme-soft); }
.lang-switch a:hover { background: var(--theme-surface-muted); color: var(--theme-heading); }
.lang-switch a.active { background: #0A192F; color: #ffffff; }
.btn-secondary { background: var(--theme-surface); color: var(--theme-heading); border-color: var(--theme-border); }
.btn-secondary:hover, .btn-ghost:hover { background: var(--theme-surface-muted); }
.field input, .field select, .field textarea,
.polished-form input, .polished-form select, .polished-form textarea {
  background-color: var(--theme-field-bg) !important;
  border-color: var(--theme-border) !important;
  color: var(--theme-text) !important;
  box-shadow: none !important;
}
.field input::placeholder, .field textarea::placeholder,
.polished-form input::placeholder, .polished-form textarea::placeholder { color: var(--theme-soft) !important; }
.field input:focus, .field select:focus, .field textarea:focus,
.polished-form input:focus, .polished-form select:focus, .polished-form textarea:focus {
  background-color: var(--theme-surface) !important;
  border-color: rgba(0, 209, 255, 0.78) !important;
  box-shadow: 0 0 0 4px rgba(0, 209, 255, 0.13) !important;
}
.polished-form .refined-checkbox a { color: var(--theme-heading); }
.footer { border-top-color: var(--theme-border-soft); }
.small-note, .form-hint, .cta p { color: var(--theme-soft); }
.card:hover, .feature:hover, .faq-item:hover { border-color: rgba(0, 209, 255, 0.50); }
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--theme-border-soft);
  border-radius: 999px;
  background: var(--theme-surface-soft);
  color: var(--theme-heading);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 750;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
  transition: transform 170ms ease, border-color 170ms ease, background 170ms ease;
}
.theme-toggle:hover { transform: translateY(-1px); border-color: rgba(0, 209, 255, 0.45); }
.theme-toggle-icon { width: 18px; height: 18px; border-radius: 999px; border: 2px solid currentColor; position: relative; flex: 0 0 auto; overflow: hidden; }
.theme-toggle-icon::after { content: ""; position: absolute; inset: -2px -2px -2px 50%; background: currentColor; opacity: 0.95; }
html[data-theme="light"] .theme-toggle-icon::after { opacity: 0; }
html[data-theme="dark"] .theme-toggle-icon::after { inset: -2px; opacity: 0.95; }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]):not([data-theme="dark"]) .theme-toggle-icon::after { inset: -2px; opacity: 0.95; } }
@media (max-width: 760px) { .theme-toggle { min-height: 34px; padding: 0 10px; font-size: 0.72rem; } }
@media (max-width: 580px) { .theme-toggle { flex: 1 1 auto; max-width: 120px; } }
@media (max-width: 430px) { .theme-toggle { padding-inline: 8px; font-size: 0.68rem; } .theme-toggle-icon { width: 16px; height: 16px; } }

/* v50: status pages after contact form show only the result card, no duplicate hero. */
.content.status-only {
  padding-top: 150px;
  min-height: 58vh;
}
.status-card .eyebrow {
  margin-bottom: 18px;
}
@media (max-width: 640px) {
  .content.status-only {
    padding-top: 118px;
  }
}
