/*
 * -------------------------------------------------------------------------
 * DATEI
 * -------------------------------------------------------------------------
 * Dateiname:          style.css
 * Vollständiger Pfad: /var/www/mytravelspace/public/assets/css/style.css
 * Modul:              Web / RC-WEB-01
 * Version:            3.0.0
 * Autor:              Tobias Weidler
 * Erstellungsdatum:   2026-08-08
 * Letzte Änderung:    2026-08-08
 *
 * ZWECK
 * -------------------------------------------------------------------------
 * Corporate Design der Pre-Launch-Website — angelehnt an iOS-App
 * (System Blue / System Grouped Background). Komponenten für spätere
 * Plattform-Erweiterung vorbereitet (Header, Nav, Buttons, Cards, Footer).
 * -------------------------------------------------------------------------
 */

/* === Design Tokens (App-aligned) === */
:root {
  --mtp-blue: #007aff;
  --mtp-blue-pressed: #0066d6;
  --mtp-bg: #f2f2f7;
  --mtp-surface: #ffffff;
  --mtp-text: #1c1c1e;
  --mtp-text-secondary: #8e8e93;
  --mtp-separator: rgba(60, 60, 67, 0.12);
  --mtp-fill: rgba(120, 120, 128, 0.08);
  --mtp-shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
  --mtp-radius-l: 24px;
  --mtp-radius-m: 16px;
  --mtp-radius-pill: 980px;
  --mtp-max: 1080px;
  --mtp-font: "Outfit", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  --mtp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --mtp-header-h: 3.75rem;
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/outfit-400.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/outfit-600.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/outfit-700.woff2") format("woff2");
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--mtp-font);
  color: var(--mtp-text);
  background: var(--mtp-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--mtp-blue); text-underline-offset: 0.15em; }
a:hover { color: var(--mtp-blue-pressed); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--mtp-text);
  color: #fff;
  padding: 0.6rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* === Layout === */
.wrap {
  width: min(100% - 2.5rem, var(--mtp-max));
  margin-inline: auto;
}

/* === Header / Navigation (platform-ready) === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--mtp-header-h);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(242, 242, 247, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--mtp-ease), background 0.25s var(--mtp-ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--mtp-separator);
  background: rgba(255, 255, 255, 0.86);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--mtp-header-h);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--mtp-text);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-logo {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.25);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 0.85rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a,
.nav-item {
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--mtp-text-secondary);
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
}

.site-nav a:hover { color: var(--mtp-text); background: var(--mtp-fill); }
.site-nav a.is-active { color: var(--mtp-text); font-weight: 600; }

.nav-item.is-disabled {
  color: rgba(142, 142, 147, 0.55);
  cursor: not-allowed;
  user-select: none;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.65rem 1.2rem;
  border-radius: var(--mtp-radius-pill);
  border: 1px solid transparent;
  text-decoration: none;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.2s var(--mtp-ease), background 0.2s var(--mtp-ease), opacity 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--mtp-blue); color: #fff; }
.btn-primary:hover { background: var(--mtp-blue-pressed); color: #fff; }
.btn-secondary { background: var(--mtp-surface); color: var(--mtp-text); border-color: var(--mtp-separator); }
.btn-secondary:hover { background: #fafafa; color: var(--mtp-text); }

/* === Hero === */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.25rem 0 3.25rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -15% -5% auto;
  height: 65%;
  background:
    radial-gradient(ellipse at 78% 20%, rgba(0, 122, 255, 0.12), transparent 55%),
    radial-gradient(ellipse at 12% 0%, rgba(90, 200, 250, 0.1), transparent 45%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2.75rem;
  align-items: center;
}

@media (min-width: 920px) {
  .hero-grid { grid-template-columns: 1.2fr 0.8fr; gap: 3.25rem; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  color: var(--mtp-blue);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--mtp-blue);
  box-shadow: 0 0 0 5px rgba(0, 122, 255, 0.15);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.55rem, 6.2vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.hero-taglines {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  font-size: clamp(1.12rem, 2.3vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.hero-copy {
  margin: 0;
  max-width: 36rem;
  color: var(--mtp-text-secondary);
  font-size: 1.05rem;
}
.hero-copy + .hero-copy { margin-top: 0.85rem; }

.hero-cta {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Device mock (component) */
.device-wrap { display: flex; justify-content: center; }

.device {
  width: min(100%, 268px);
  aspect-ratio: 9 / 18.5;
  border-radius: 2.15rem;
  padding: 0.5rem;
  background: linear-gradient(160deg, #3a3a3c, #1c1c1e);
  box-shadow: var(--mtp-shadow);
  animation: mtp-rise 0.85s var(--mtp-ease) both;
}

@keyframes mtp-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.device-screen {
  position: relative;
  height: 100%;
  border-radius: 1.7rem;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #eef5ff 70%, #e8f1ff);
}

.device-notch {
  position: absolute;
  top: 0.5rem;
  left: 50%;
  width: 36%;
  height: 1rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #1c1c1e;
  z-index: 2;
}

.device-orb {
  position: absolute;
  width: 10rem;
  height: 10rem;
  top: 26%;
  left: 14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 122, 255, 0.35), transparent 68%);
  animation: mtp-drift 6.5s ease-in-out infinite alternate;
}

@keyframes mtp-drift {
  from { transform: translate(0, 0); }
  to { transform: translate(12px, -8px); }
}

.device-copy {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.3rem;
}

.device-copy small {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--mtp-text-secondary);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.device-copy strong {
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}

/* === Features (card component) === */
.features { padding: 0.5rem 0 4.5rem; }

.panel {
  background: var(--mtp-surface);
  border: 1px solid var(--mtp-separator);
  border-radius: calc(var(--mtp-radius-l) + 2px);
  padding: clamp(1.5rem, 3.2vw, 2.5rem);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
}

.panel h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  letter-spacing: -0.03em;
}

.panel-lead {
  margin: 0 0 1.5rem;
  color: var(--mtp-text-secondary);
  max-width: 38rem;
}

.feature-grid {
  display: grid;
  gap: 0.75rem 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
}

.feature-grid li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 0.95rem;
  border-radius: var(--mtp-radius-m);
  background: var(--mtp-bg);
}

.feature-grid li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.55rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--mtp-blue);
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.14);
}

.feature-grid strong { display: block; font-size: 0.98rem; letter-spacing: -0.01em; }
.feature-grid span { display: block; margin-top: 0.12rem; color: var(--mtp-text-secondary); font-size: 0.9rem; }

/* === Legal pages === */
.legal-hero { padding: 3rem 0 1rem; }
.legal-hero h1 {
  margin: 0 0 0.45rem;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  letter-spacing: -0.035em;
}
.legal-hero p { margin: 0; color: var(--mtp-text-secondary); }
.legal-body { padding: 0.5rem 0 3.5rem; }
.legal-body h2 { margin: 2rem 0 0.6rem; font-size: 1.12rem; letter-spacing: -0.02em; }
.legal-body h3 { margin: 1.2rem 0 0.4rem; font-size: 1rem; }
.legal-body p, .legal-body li { color: var(--mtp-text-secondary); }
.legal-body ul { padding-left: 1.15rem; }
.legal-body code {
  font-size: 0.92em;
  background: var(--mtp-fill);
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
}

/* === Footer === */
.site-footer {
  border-top: 1px solid var(--mtp-separator);
  padding: 2rem 0 2.4rem;
  background: rgba(255, 255, 255, 0.55);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.footer-meta { margin: 0; color: var(--mtp-text-secondary); font-size: 0.9rem; }

.footer-links { display: flex; flex-wrap: wrap; gap: 1rem 1.2rem; }
.footer-links a {
  color: var(--mtp-text-secondary);
  text-decoration: none;
  font-weight: 500;
}
.footer-links a:hover { color: var(--mtp-text); }

/* === Motion helpers === */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.65s var(--mtp-ease), transform 0.65s var(--mtp-ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 720px) {
  .site-nav .nav-item.is-disabled { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
