/* ================= RELIUS LANDING CORE (tokens + chrome + footer) ================= */
/* Shared by landing.css, empfehler.css (via landing.css), and SPA /preise + /job-vermitteln */

:root {
  --bg-warm-a: #fff9f5;
  --bg-warm-b: #fff5eb;
  --bg-warm-c: #fffbf5;
  --fg: #393939;
  --fg-strong: #1a1a1a;
  --fg-muted: #959493;
  --line: rgba(16, 16, 19, 0.08);
  --line-glass: rgba(255, 255, 255, 0.55);
  --glass: rgba(255, 255, 255, 0.42);
  --glass-soft: rgba(255, 255, 255, 0.30);
  --glass-deep: rgba(255, 255, 255, 0.62);
  --glass-shadow: 0 10px 28px rgba(16, 16, 19, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.58);
  --shadow-soft: 0 18px 45px rgba(7, 7, 8, 0.08);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.05);

  /* pastel */
  --p-cream: #FFF8E7;
  --p-sand: #F5E6D3;
  --p-apricot: #FFD4A3;
  --p-mint: #A7D1FF;
  --p-blue: #B8D4E6;
  --p-lavender: #D3C7F0;
  --p-rose: #F3C4D8;

  /* brand: orange / yellow (production-aligned), blue as accent only */
  --brand-orange: #FF9F43;
  --brand-orange-light: #FFB76B;
  --brand-yellow: #F6E165;
  --brand-peach: #FFECD2;
  --brand-coral: #FCB69F;
  --brand-grad: linear-gradient(135deg, #FF9F43 0%, #FFB76B 50%, #F6E165 100%);
  --brand-grad-soft: linear-gradient(135deg, rgba(255,159,67,0.15) 0%, rgba(246,225,101,0.10) 100%);
  --shadow-glow: 0 8px 40px rgba(255,159,67,0.30);
  --shadow-glow-lg: 0 20px 60px rgba(255,159,67,0.40);
  /* accent (rare, for positive metrics / status only) */
  --accent-blue: #2a6fdb;

  --warm-grad: linear-gradient(90deg, rgba(255, 183, 107, 0.82) 0%, rgba(252, 182, 159, 0.82) 100%);
  --warm-grad-strong: linear-gradient(90deg, #FFB76B 0%, #FCB69F 100%);

  --r: 20px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-2xl: 40px;

  --maxw: 1240px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; margin: 0; padding: 0; }

/* Global resets only on static landing HTML (not React SPA) */
html:not(.relius-l3-spa) body {
  font-family: "Urbanist", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--fg);
  /* production-aligned warm hero gradient */
  background: linear-gradient(135deg, #fff9f5 0%, #fff5eb 50%, #fffbf5 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

html:not(.relius-l3-spa) img,
html:not(.relius-l3-spa) svg { display: block; }
html:not(.relius-l3-spa) a { color: inherit; text-decoration: none; }
html:not(.relius-l3-spa) button { font: inherit; cursor: pointer; }

/* noise overlay (subtle paper texture) */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* EU + NRW strip (landing2-style: fixed, slides away with scroll position) */
.eu-strip {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: 72px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
  will-change: transform;
}
.eu-strip img {
  height: 52px;
  width: auto;
  max-width: min(760px, calc(100vw - 32px));
  display: block;
  opacity: 0.95;
}
@media (max-width: 768px) {
  .eu-strip { height: 56px; }
  .eu-strip img { height: 36px; }
  .nav { top: 56px; }
  .hero { padding-top: calc(56px + 56px + 24px); }
}

/* SPA marketing pages (/preise) — offset fixed EU strip + nav */
.marketing-spa-main {
  padding-top: calc(72px + 78px);
}
@media (max-width: 768px) {
  .marketing-spa-main {
    padding-top: calc(56px + 62px);
  }
}

/* decorative blurred blobs */
.bg-blobs { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(100px); animation: meshFloat 20s ease-in-out infinite; }
.blob--apricot { width: 800px; height: 800px; top: -300px; right: -200px; background: radial-gradient(circle, rgba(255,159,67,0.25) 0%, transparent 70%); animation-delay: 0s; }
.blob--mint    { width: 600px; height: 600px; top: 30%; left: -200px; background: radial-gradient(circle, rgba(246,225,101,0.20) 0%, transparent 70%); animation-delay: -5s; }
.blob--blue    { width: 500px; height: 500px; bottom: 10%; right: 10%; background: radial-gradient(circle, rgba(252,182,159,0.20) 0%, transparent 70%); animation-delay: -10s; }
.blob--lavender{ width: 420px; height: 420px; top: 25%; right: 35%; background: radial-gradient(circle, rgba(255,236,210,0.55) 0%, transparent 70%); animation-delay: -7s; }
@keyframes meshFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%      { transform: translate(30px, -30px) scale(1.05); }
  50%      { transform: translate(-20px, 20px) scale(0.95); }
  75%      { transform: translate(20px, 30px) scale(1.02); }
}

/* ================= NAV ================= */
.nav {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 14px 0;
  background: rgba(255, 249, 244, 0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  transition:
    top 0.25s ease,
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav.header-hidden {
  transform: translateY(-110%);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05), var(--shadow-soft);
  padding: 10px 0;
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--fg-strong);
}
.logo-img { height: 26px; width: auto; display: block; }
.logo-mark {
  width: 28px; height: 28px;
  border-radius: 9px;
  background:
    radial-gradient(circle at 30% 30%, #ffd28b 0%, #f5a662 55%, #1a1a1a 80%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6), 0 4px 10px rgba(245,166,98,0.4);
  position: relative;
}
.logo-mark::after {
  content: "";
  position: absolute; inset: 6px;
  border-radius: 4px;
  background: radial-gradient(circle at 70% 70%, transparent 30%, rgba(255,255,255,0.4) 70%);
}
.logo-text { font-family: "Urbanist"; }

.nav__links {
  display: flex; gap: 24px;
  justify-content: center;
}
.nav__links a {
  color: var(--fg);
  font-size: 14px;
  font-weight: 500;
  opacity: 0.78;
  transition: opacity 0.2s var(--ease);
}
.nav__links a:hover { opacity: 1; }

.nav__right {
  display: flex; align-items: center; gap: 10px;
}

.audience-toggle, .lang-toggle {
  display: inline-flex;
  background: rgba(0, 0, 0, 0.04);
  border: 0;
  border-radius: 999px;
  padding: 3px;
}
.audience-btn, .lang-btn {
  background: transparent;
  border: 0;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fg-muted);
  transition: all 0.2s var(--ease);
}
.lang-btn { padding: 6px 10px; font-size: 12px; }
.audience-btn.is-active, .lang-btn.is-active {
  background: #ffffff;
  color: var(--fg-strong);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(16,16,19,0.06);
}
.audience-btn:hover:not(.is-active) { color: var(--fg); }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 16px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.2s var(--ease);
  white-space: nowrap;
  font-family: "Urbanist";
}
.btn--lg { padding: 14px 22px; font-size: 15px; border-radius: 18px; }
.btn--primary,
a.btn--primary,
button.btn--primary {
  background: #101013;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border-color: #101013;
  position: relative;
  overflow: hidden;
  z-index: 0;
}
.btn--primary span,
.btn--primary svg,
a.btn--primary span,
a.btn--primary svg {
  color: currentColor;
  -webkit-text-fill-color: currentColor;
}
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-grad);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  z-index: -1;
}
.btn--primary:hover {
  background: #101013;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(16,16,19,0.2);
  filter: none;
}
.btn--primary:hover::before { opacity: 1; }
.btn--primary:hover span,
.btn--primary:hover svg { color: #101013; -webkit-text-fill-color: #101013; background: none; }
.btn--primary svg { transition: color 0.2s var(--ease); }
.btn--ghost {
  background: var(--glass);
  color: var(--fg-strong);
  border-color: var(--line-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.btn--ghost:hover { background: var(--glass-deep); }

.nav__burger {
  display: none;
  background: none;
  border: 0;
  flex-direction: column;
  gap: 4px;
  width: 32px;
  padding: 4px;
  cursor: pointer;
  flex-shrink: 0;
}
.nav__burger span {
  display: block;
  height: 2px;
  background: var(--fg-strong);
  border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav--mobile-open .nav__burger span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav--mobile-open .nav__burger span:nth-child(2) {
  opacity: 0;
}
.nav--mobile-open .nav__burger span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav__mobile-menu {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 4px 28px 20px;
}
.nav__mobile-menu[hidden] {
  display: none !important;
}
.nav__mobile-menu:not([hidden]) {
  display: block;
}
.nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 0 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.nav__mobile-links a {
  display: block;
  padding: 11px 2px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--fg-strong);
  transition: color 0.2s var(--ease);
}
.nav__mobile-links a:hover {
  color: #101013;
}
.nav__mobile-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding-top: 14px;
}
.nav__mobile-actions .lang-toggle {
  align-self: flex-start;
}
.nav__mobile-actions .btn {
  width: 100%;
  justify-content: center;
}
body.nav-mobile-menu-open {
  overflow: hidden;
}

/* Nav CTAs: isolate from Tailwind / global button styles */
.l3-chrome-layer .btn--primary,
.nav .btn--primary,
.nav a.btn--primary,
.l3-chrome-layer a.btn--primary {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background-color: #101013;
  border-color: #101013;
}
.l3-chrome-layer .btn--ghost,
.nav .btn--ghost,
.nav a.btn--ghost {
  color: var(--fg-strong);
  background: var(--glass);
  border-color: var(--line-glass);
}
.l3-chrome-layer .lang-toggle {
  background: rgba(0, 0, 0, 0.04);
  border: 0;
}
.l3-chrome-layer .lang-btn {
  color: var(--fg-muted);
  background: transparent;
}
.l3-chrome-layer .lang-btn.is-active {
  color: var(--fg-strong);
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(16,16,19,0.06);
}
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }
.container--narrow { max-width: 880px; }
/* ================= FOOTER ================= */
.foot {
  background: rgba(16,16,19,0.03);
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 56px 0 24px;
}
.foot__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 32px 40px;
  margin-bottom: 40px;
}
.foot__brand .nav__logo { margin-bottom: 16px; }
.foot__brand p { font-size: 14px; line-height: 1.5; color: #585858; max-width: 320px; margin: 0 0 18px; }

.foot__stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}

.foot__store-link {
  display: inline-flex;
  line-height: 0;
  border-radius: 8px;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.foot__store-link:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.foot__store-apple {
  position: relative;
  display: inline-block;
  width: 156.5px;
  height: 45.242px;
}

.foot__store-apple__bg {
  position: absolute;
  left: 0.56%;
  top: 0.85px;
  width: 98.88%;
  height: 43.535px;
}

.foot__store-apple__frame {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.foot__store-apple__label {
  width: 100%;
  height: 45.242px;
  transform: scaleX(-1) rotate(180deg);
}

.foot__store-apple__icon {
  position: absolute;
  left: 9.48%;
  top: 7.03px;
  width: 15.37%;
  height: 28.855px;
}

.foot__store-apple__download {
  position: absolute;
  left: 31.41%;
  top: 20.36px;
  width: 59.08%;
  height: 19.706px;
}

.foot__store-apple__small {
  position: absolute;
  left: 32.35%;
  top: 7.42px;
  width: 57.43%;
  height: 7.901px;
}

.foot__store-gplay {
  width: 156.5px;
  height: 45.242px;
  transform: scaleY(-1);
}

.foot__eu { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--fg-muted); }
.foot__eu-img { height: 32px; width: auto; opacity: 0.9; }
.eu-flag {
  width: 28px; height: 18px; border-radius: 3px;
  background: #003399;
  display: inline-grid;
  place-items: center;
  position: relative;
}
.eu-flag::before { content: "★ ★"; font-size: 8px; color: #FFCC00; letter-spacing: 1px; }

.foot__col-t { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg-strong); margin-bottom: 14px; }
.foot__col a { display: block; font-size: 14px; color: #585858; padding: 5px 0; transition: color 0.2s var(--ease); }
.foot__col a:hover { color: var(--fg-strong); }

.foot__bot {
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--fg-muted);
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

/* Chrome + footer responsive */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .foot__inner { grid-template-columns: 1fr 1fr; gap: 28px 32px; }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav__inner {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }
  .nav__right {
    display: none;
  }
  .nav__burger {
    display: flex;
  }
  .nav__mobile-menu {
    padding-left: 20px;
    padding-right: 20px;
  }
  .audience-toggle {
    display: none;
  }
  .foot__inner {
    grid-template-columns: 1fr;
  }
  .foot__bot {
    flex-direction: column;
    gap: 6px;
  }
  .container,
  .nav__inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ================= SPA MARKETING (/preise, /job-vermitteln) ================= */
html.relius-l3-spa,
html.relius-l3-spa body,
html.relius-l3-spa #root {
  height: auto;
  min-height: 100%;
}

.landing3-marketing-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  color: var(--fg);
  font-family: "Urbanist", ui-sans-serif, system-ui, sans-serif;
  background: linear-gradient(135deg, #fff9f5 0%, #fff5eb 50%, #fffbf5 100%);
  background-attachment: fixed;
}

.landing3-marketing-page .marketing-spa-main {
  position: relative;
  z-index: 1;
}

.landing3-footer-mount,
.landing3-footer-mount .foot {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Fixed chrome layer (portaled to body) */
.l3-chrome-layer {
  position: relative;
  z-index: 1002;
  pointer-events: none;
}
.l3-chrome-layer .eu-strip,
.l3-chrome-layer .nav,
.l3-chrome-layer .nav a,
.l3-chrome-layer .nav button,
.l3-chrome-layer .btn {
  pointer-events: auto;
}
