/* MEM – Dienstleistungs- und Mietservice · Seite im Aufbau */

:root {
  --navy-900: #050f26;
  --navy-800: #071a40;
  --navy-700: #0c2a63;
  --blue-500: #1f5fd0;
  --yellow:   #ffc928;
  --yellow-d: #f5b800;
  --white:    #ffffff;
  --text-dim: rgba(255, 255, 255, .72);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Inter", "Segoe UI Variable Display", "Segoe UI", Roboto,
          "Helvetica Neue", Arial, system-ui, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
  background-color: #071a40;
  background-image: linear-gradient(160deg, var(--navy-700) 0%, var(--navy-800) 45%, var(--navy-900) 100%);
  background-attachment: fixed;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--white);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ---------- Hintergrund ---------- */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.glow--blue   { width: 55vmax; height: 55vmax; top: -22vmax; right: -12vmax; background: var(--blue-500); opacity: .35; }
.glow--yellow { width: 32vmax; height: 32vmax; bottom: -14vmax; left: -8vmax;  background: var(--yellow);   opacity: .16; }

.mountain { position: absolute; left: 0; bottom: 0; width: 100%; height: 38vh; min-height: 180px; }
.m-back  { fill: rgba(255, 255, 255, .04); }
.m-front { fill: rgba(255, 255, 255, .07); }

/* ---------- Layout ---------- */
.wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 48px);
  padding-bottom: max(20px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 5vh, 56px);
}

/* ---------- Marke ---------- */
.brand { display: flex; align-items: center; justify-content: center; gap: 18px; }

.logo { width: clamp(96px, 12vw, 132px); height: auto; flex: none; overflow: visible; }
.logo__text {
  font-family: var(--font);
  font-size: 66px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -2px;
  fill: var(--white);
}
.logo__swoosh { fill: var(--yellow); }

.brand__name {
  padding-left: 18px;
  border-left: 2px solid var(--yellow);
  line-height: 1.15;
  font-size: clamp(15px, 2vw, 20px);
}
.brand__name strong { display: block; font-weight: 700; letter-spacing: -.01em; }
.brand__name span   { color: var(--yellow); font-weight: 600; }

/* ---------- Karte (Glas) ---------- */
.card {
  margin: auto;
  width: 100%;
  max-width: 820px;
  padding: clamp(28px, 6vw, 72px);
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: clamp(24px, 4vw, 40px);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: saturate(160%) blur(24px);
          backdrop-filter: saturate(160%) blur(24px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 clamp(18px, 3vw, 28px);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--yellow);
  background: rgba(255, 201, 40, .12);
  border: 1px solid rgba(255, 201, 40, .35);
  border-radius: 999px;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 0 rgba(255, 201, 40, .6);
  animation: pulse 2s infinite;
}

h1 {
  margin: 0 0 clamp(16px, 2.5vw, 24px);
  font-size: clamp(36px, 8vw, 76px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -.035em;
}
.accent {
  background: linear-gradient(90deg, var(--yellow), #ffe07a);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.lead {
  max-width: 560px;
  margin: 0 auto clamp(24px, 4vw, 36px);
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.55;
  color: var(--text-dim);
}

/* ---------- Hinweis ---------- */
.notice {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 clamp(20px, 3vw, 28px);
  padding: 12px 20px;
  font-size: clamp(15px, 2vw, 17px);
  font-weight: 600;
  color: var(--navy-900);
  background: var(--yellow);
  border-radius: 14px;
  box-shadow: 0 10px 30px -10px rgba(255, 201, 40, .6);
}
.notice svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Chips ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 clamp(28px, 4vw, 40px);
  padding: 0;
  list-style: none;
}
.chips li {
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 500;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
}

/* ---------- Fortschritt ---------- */
.progress {
  width: min(360px, 100%);
  height: 8px;
  margin: 0 auto 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, .12);
  border-radius: 999px;
}
.progress span {
  display: block;
  width: 65%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--yellow-d), var(--yellow), #ffe07a, var(--yellow));
  background-size: 200% 100%;
  animation: shine 3s linear infinite;
}

.claim {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.claim i { color: var(--yellow); font-style: normal; margin: 0 .2em; }

/* ---------- Footer ---------- */
.foot { text-align: center; font-size: 13px; color: rgba(255, 255, 255, .5); }
.foot p { margin: 0; }

/* ---------- Animationen ---------- */
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 201, 40, .55); }
  70%  { box-shadow: 0 0 0 10px rgba(255, 201, 40, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 201, 40, 0); }
}
@keyframes shine { to { background-position: -200% 0; } }

.card { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.brand { animation: rise .8s .05s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .brand { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
  .brand__name { padding-left: 0; border-left: 0; padding-top: 10px; border-top: 2px solid var(--yellow); }
  .claim { letter-spacing: .2em; font-size: 12px; }
}

@media (max-width: 380px) {
  .chips li { font-size: 13px; padding: 8px 13px; }
}

/* Fallback ohne backdrop-filter */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .card { background: rgba(12, 42, 99, .85); }
}

/* ---------- Immer ein Bildschirm, kein Scrollen ---------- */
html, body { height: 100%; }
body { overflow: hidden; }

.wrap {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  padding: clamp(12px, 3vh, 40px) clamp(16px, 4vw, 48px);
  padding-bottom: max(clamp(10px, 2vh, 20px), env(safe-area-inset-bottom));
  gap: clamp(8px, 2.5vh, 40px);
}
.brand { flex: none; }
.logo  { width: clamp(72px, min(12vw, 13vh), 132px); }
.brand__name { font-size: clamp(13px, min(2vw, 2.4vh), 20px); }

.card {
  min-height: 0;
  padding: clamp(18px, 5vh, 64px) clamp(18px, 5vw, 64px);
}
.badge   { margin-bottom: clamp(10px, 2.5vh, 28px); padding: clamp(5px, 1vh, 8px) 14px; font-size: clamp(11px, 1.6vh, 13px); }
h1       { font-size: clamp(28px, min(8vw, 9vh), 72px); margin-bottom: clamp(10px, 2vh, 24px); }
.lead    { font-size: clamp(14px, min(2.2vw, 2.4vh), 20px); margin-bottom: clamp(12px, 3vh, 36px); }
.notice  { margin-bottom: clamp(12px, 2.5vh, 28px); padding: clamp(8px, 1.5vh, 12px) 18px; font-size: clamp(14px, min(2vw, 2.1vh), 17px); }
.chips   { margin-bottom: clamp(14px, 3vh, 40px); gap: 8px; }
.chips li { font-size: clamp(12px, 1.8vh, 14px); padding: clamp(6px, 1.2vh, 9px) 14px; }
.progress { margin-bottom: clamp(12px, 2.5vh, 28px); }
.foot { flex: none; font-size: clamp(11px, 1.6vh, 13px); }

/* Mobil: Logo kompakt nebeneinander statt untereinander */
@media (max-width: 640px) {
  .brand { flex-direction: row; gap: 12px; text-align: left; }
  .brand__name { padding: 0 0 0 12px; border-top: 0; border-left: 2px solid var(--yellow); }
  .foot p { font-size: 11px; line-height: 1.3; }
}

/* Niedrige Bildschirme: weniger Inhalt */
@media (max-height: 720px) { .progress { display: none; } }
@media (max-height: 620px) { .chips { display: none; } }
@media (max-height: 480px) { .lead, .claim { display: none; } .logo { width: 64px; } }

/* Hinweis immer einzeilig */
.notice { white-space: nowrap; max-width: 100%; }
.notice .short { display: none; }
@media (max-width: 640px) {
  .notice { padding: 11px 14px; gap: 8px; font-size: clamp(13px, 4vw, 16px); }
  .notice svg { width: 20px; height: 20px; }
  .notice .full  { display: none; }
  .notice .short { display: inline; }
}
