/* ============================================================
   MoDaeX – Landing Page Styles
   Fonts: Plus Jakarta Sans (Headlines), Hanken Grotesk (Body),
          JetBrains Mono (Zahlen/Labels)
   ============================================================ */

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  /* Gesamte Seite 10 % größer darstellen (entspricht 110 % Browser-Zoom) */
  zoom: 1.1;
  font-family: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  color: #1C1B1A;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

a { color: inherit; text-decoration: none; }
input { font-family: inherit; }
::selection { background: #FCD9CF; }

/* ---------- Keyframes ---------- */
@keyframes mdxFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes mdxFade  { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes mdxSpin  { to { transform: rotate(360deg); } }

/* ---------- Hover / Focus states (replace design-compiler style-hover/style-focus) ---------- */
.mdx-navlink:hover { color: #1C1B1A; }

.mdx-btn-nav:hover {
  transform: translateY(-2px);
  background: #B42712;
  box-shadow: 0 8px 20px rgba(216,31,38,0.30);
}

.mdx-herobar-zone:hover { background: #F6F4F1; }

.mdx-btn-start:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(216,31,38,0.42);
}

.mdx-price-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(216,31,38,0.40);
}

.mdx-cta-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.mdx-footer-link:hover { color: #fff; }
.mdx-social:hover { background: rgba(255,255,255,0.16); }

.mdx-input:focus { border-color: #0E84C9; }

/* ---------- Responsive nav ---------- */
@media (max-width: 899px) {
  .mdx-desktop-nav { display: none !important; }
  .mdx-hamburger { display: flex !important; }
}

/* ---------- Hero-Buchungsleiste auf schmalen Screens:
   beide Upload-Felder nebeneinander, CTA-Button darüber umbrechend darunter.
   !important nur dort, wo die Inline-Styles der Elemente sonst gewinnen würden. ---------- */
@media (max-width: 600px) {
  .mdx-herobar {
    flex-wrap: wrap;
    align-items: stretch !important;
    gap: 6px;
  }
  .mdx-herobar-divider { display: none; }
  .mdx-herobar-zone {
    padding: 10px 12px !important;
    border: 1px solid #EFEBE6;
    border-radius: 12px !important;
  }
  .mdx-btn-start {
    flex: 1 0 100% !important;   /* erzwingt den Umbruch in eine eigene Zeile */
    margin-left: 0 !important;
    justify-content: center;
    padding: 14px 20px !important;
  }
}

/* ============================================================
   RECHTSSEITEN (Impressum / AGB / Datenschutz / Widerruf)
   ============================================================ */
.legal-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #E9E6E2;
}
.legal-header-inner {
  max-width: 820px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.legal-back {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14.5px; font-weight: 600; color: #57534E; transition: color .2s;
}
.legal-back:hover { color: #1C1B1A; }

.legal-wrap { max-width: 820px; margin: 0 auto; padding: 48px 24px 72px; }
.legal-wrap h1 {
  font-size: clamp(30px,4vw,44px); font-weight: 800;
  letter-spacing: -0.02em; margin: 0 0 6px;
}
.legal-kicker {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 700; font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: #D12E16; margin-bottom: 14px;
}
.legal-kicker span {
  height: 3px; width: 24px; border-radius: 999px;
  background: linear-gradient(100deg,#D81F26,#F39200); transform: skewX(-24deg);
}
.legal-wrap h2 {
  font-size: 21px; font-weight: 700; letter-spacing: -0.01em;
  margin: 40px 0 12px; color: #1C1B1A;
}
.legal-wrap h3 { font-size: 16.5px; font-weight: 700; margin: 22px 0 8px; }
.legal-wrap p, .legal-wrap li {
  font-size: 16px; line-height: 1.7; color: #57534E; margin: 0 0 12px;
}
.legal-wrap ul { padding-left: 22px; margin: 0 0 12px; }
.legal-wrap a { color: #0E84C9; }
.legal-wrap a:hover { text-decoration: underline; }
.legal-ph {
  background: #FCEDE9; color: #B42712; border-radius: 6px;
  padding: 1px 7px; font-weight: 600; font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.86em; white-space: nowrap;
}
.legal-note {
  display: flex; gap: 12px; align-items: flex-start;
  background: #FFF7ED; border: 1px solid #FCD9B4; border-radius: 14px;
  padding: 16px 18px; margin: 8px 0 36px;
  font-size: 14.5px; line-height: 1.55; color: #92500E;
}
.legal-note strong { color: #7A3E08; }

.legal-footer {
  background: #1C1B1A; color: rgba(255,255,255,0.6);
  font-size: 13.5px; text-align: center; padding: 28px 24px;
}
.legal-footer a { color: rgba(255,255,255,0.74); font-weight: 600; }
.legal-footer a:hover { color: #fff; }
.legal-footer .legal-footer-links {
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; margin-bottom: 12px;
}
