/* ══════════════════════════════════════════════
   MRO Hub — Shared Design System
   Farben exakt aus Screenshot abgeglichen
   ══════════════════════════════════════════════ */

:root {
  --nav-bg:    #0E2040;      /* Navbar Dunkelblau     */
  --accent:    #2563EB;      /* Primärblau (Button)   */
  --accent-hv: #1D4ED8;      /* Hover                 */
  --accent-lt: #EFF6FF;      /* Sehr heller Blauton   */
  --page-bg:   #EEF1F5;      /* Seitenhintergrund     */
  --card-bg:   #FFFFFF;      /* Karte                 */
  --border:    #E2E8F0;      /* Rahmen                */
  --tx:        #1E293B;      /* Haupttext             */
  --m:         #64748B;      /* Muted                 */
  --lm:        #94A3B8;      /* Sehr leise            */
  --inp-focus: #FEFCE8;      /* Gelb bei Focus        */
  --ui:        -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--page-bg);
  color: var(--tx);
  font-family: var(--ui);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── NAVBAR ─────────────────────────────────── */
.mro-nav {
  background: var(--nav-bg);
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  flex-shrink: 0;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.nav-brand .brand-name {
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  letter-spacing: -.01em;
}
.nav-badge {
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  letter-spacing: .03em;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-link {
  font-size: 14px;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  transition: color .2s;
}
.nav-link:hover { color: #fff; }
.nav-link.active { color: #fff; font-weight: 500; }

/* ── LANG SWITCHER (in navbar) ───────────────── */
.lang-sw {
  display: flex;
  gap: 4px;
  align-items: center;
  border-right: 1px solid rgba(255,255,255,.15);
  padding-right: 14px;
  margin-right: 2px;
}
.flag-btn {
  background: none;
  border: 1.5px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  padding: 1px 3px;
  font-size: 18px;
  line-height: 1;
  opacity: .5;
  transition: all .15s;
}
.flag-btn:hover { opacity: .85; }
.flag-btn.active { opacity: 1; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.1); }

/* ── MAIN CONTENT ────────────────────────────── */
.page-main {
  flex: 1;
  padding: 40px 24px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── CARD ────────────────────────────────────── */
.mro-card {
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,.08), 0 1px 3px rgba(0,0,0,.05);
  padding: 36px 40px;
  width: 100%;
  max-width: 680px;
}
.mro-card.wide { max-width: 900px; }
.mro-card.narrow { max-width: 520px; }

.card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--tx);
  margin-bottom: 6px;
  letter-spacing: -.01em;
}
.card-sub {
  font-size: 14px;
  color: var(--m);
  line-height: 1.6;
  margin-bottom: 28px;
}

/* ── SECTION HEADING ─────────────────────────── */
.sec-head {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 28px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1.5px solid var(--border);
}
.sec-head:first-of-type { margin-top: 0; }

/* ── TEXT ────────────────────────────────────── */
h3.sub-head {
  font-size: 14px;
  font-weight: 600;
  color: var(--tx);
  margin: 18px 0 5px;
}
p.body-text {
  font-size: 14px;
  color: var(--m);
  line-height: 1.8;
  margin-bottom: 8px;
}
p.body-text a { color: var(--accent); text-decoration: none; }
p.body-text a:hover { text-decoration: underline; }
p.body-text strong { color: var(--tx); }

/* ── ADDRESS BOX ─────────────────────────────── */
.addr-box {
  background: var(--accent-lt);
  border: 1px solid #BFDBFE;
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--m);
  line-height: 2;
  margin: 8px 0 14px;
}
.addr-box strong { color: var(--tx); }

/* ── HIGHLIGHT BOX ───────────────────────────── */
.warn-box {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #92400E;
  line-height: 1.7;
  margin: 10px 0;
}

/* ── PLACEHOLDER ─────────────────────────────── */
.ph {
  background: #FEF9C3;
  border: 1px dashed #D97706;
  border-radius: 3px;
  padding: 1px 6px;
  font-size: 12px;
  color: #92400E;
  font-style: italic;
}

/* ── FORM ELEMENTS ───────────────────────────── */
.fg { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.fg:last-of-type { margin-bottom: 0; }
.f-label { font-size: 13px; font-weight: 500; color: var(--m); }
.f-label .req { color: var(--accent); }

input[type=text], input[type=email], input[type=tel], select, textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #CBD5E1;
  color: var(--tx);
  font-family: var(--ui);
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 6px;
  outline: none;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
input[type=text]:focus, input[type=email]:focus, input[type=tel]:focus,
select:focus, textarea:focus {
  border-color: var(--accent);
  background: var(--inp-focus);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
select option { background: #fff; }
textarea { min-height: 90px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.btn-primary {
  width: 100%;
  padding: 12px;
  background: var(--accent);
  color: #fff;
  font-family: var(--ui);
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background .2s, transform .1s;
  margin-top: 4px;
}
.btn-primary:hover { background: var(--accent-hv); }
.btn-primary:active { transform: scale(.99); }

.form-note {
  text-align: center;
  font-size: 12px;
  color: var(--lm);
  margin-top: 12px;
  line-height: 1.6;
}
.form-note a { color: var(--lm); text-decoration: none; }
.form-note a:hover { color: var(--accent); }

/* ── SUCCESS ─────────────────────────────────── */
.success-msg {
  display: none;
  text-align: center;
  padding: 24px;
  background: #F0FDF4;
  border: 1px solid #86EFAC;
  border-radius: 8px;
}
.success-msg .s-icon { font-size: 36px; margin-bottom: 10px; }
.success-msg h3 { font-size: 16px; font-weight: 600; color: #166534; margin-bottom: 6px; }
.success-msg p { font-size: 14px; color: #166534; }

/* ── FOOTER ──────────────────────────────────── */
.mro-footer {
  background: var(--nav-bg);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,.4); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 12px; color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: #fff; }

@media (max-width: 680px) {
  .mro-card { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .page-main { padding: 24px 16px 40px; }
}
