/* =============================================================
   StratNova — Design-System
   Referenz-Look: farisschmidt.de / immomandate.de
   Hell · warm-grau · weiche Cards · Lila-Akzent · Sans + Kursiv-Serif
   ============================================================= */

:root {
  /* Marke */
  --lila:       #5B3FE0;
  --lila-2:     #7C5CF0;
  --lila-deep:  #4022B5;
  --lila-ink:   #2E1D82;

  /* Flächen */
  --bg:      #F1F0F5;   /* Seiten-Hintergrund, warm-grau */
  --bg-2:    #EAE9F1;   /* leichte Sektionsabsetzung */
  --paper:   #FFFFFF;   /* Cards */
  --lav:     #ECEAFB;   /* Lavendel-Tönung (Visual-Flächen) */
  --lav-2:   #E1DCFA;
  --ink:     #0E0F16;   /* Headlines */
  --ink-2:   #6C6B7A;   /* Fließtext grau */
  --line:    rgba(16,15,30,.09);
  --line-2:  rgba(16,15,30,.05);

  --ok:   #22A06B;
  --warn: #E0A81E;
  --bad:  #E0524C;

  --grad:      linear-gradient(120deg, #7C5CF0, #5B3FE0);
  --grad-soft: linear-gradient(160deg, #F3F1FF, #E7E2FC);

  --sh-sm: 0 1px 3px rgba(20,18,50,.05);
  --sh:    0 2px 4px rgba(20,18,50,.04), 0 14px 40px -16px rgba(40,28,110,.18);
  --sh-lg: 0 30px 70px -30px rgba(40,28,110,.35);
  --sh-lila: 0 14px 30px -12px rgba(91,63,224,.55);

  --r-sm: 12px;
  --r:    18px;
  --r-lg: 24px;
  --r-xl: 32px;

  --f-sans:  'General Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-serif: 'Instrument Serif', 'Playfair Display', Georgia, serif;

  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--f-sans);
  background: var(--bg); color: var(--ink);
  font-size: clamp(16px, 1vw, 17px); line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--lila); color: #fff; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.08; letter-spacing: -.02em; }

/* Kursiv-Serif-Betonung (Faris-Signatur) */
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--lila); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.sect { position: relative; padding-block: clamp(64px, 9vw, 130px); }
.sect--2 { background: var(--bg-2); }
.sect--tight { padding-block: clamp(44px, 6vw, 80px); }

/* Zentrierter Sektionskopf */
.shead { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 5vw, 68px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 100px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh-sm); font-weight: 600; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lila); margin-bottom: 22px; }
.eyebrow .d { width: 6px; height: 6px; border-radius: 50%; background: var(--lila); }
.shead h2 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); }
.shead p { color: var(--ink-2); font-size: clamp(1.02rem, 1.4vw, 1.2rem); margin-top: 16px; max-width: 56ch; margin-inline: auto; }

/* ---------- Buttons (Pill mit Pfeil-Badge) ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 8px 8px 8px 24px; border-radius: 100px; font-weight: 600; font-size: .98rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s; }
.btn .ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; transition: transform .35s var(--ease); }
.btn .ic svg { width: 16px; height: 16px; }
.btn:hover .ic { transform: rotate(-30deg); }
.btn-primary { background: var(--lila); color: #fff; box-shadow: var(--sh-lila); }
.btn-primary .ic { background: rgba(255,255,255,.2); }
.btn-primary:hover { transform: translateY(-2px); background: var(--lila-deep); box-shadow: 0 20px 40px -14px rgba(91,63,224,.75); }
.btn-ghost { background: var(--paper); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--sh-sm); padding-left: 22px; }
.btn-ghost .ic { background: var(--lav); color: var(--lila); }
.btn-ghost:hover { transform: translateY(-2px); box-shadow: var(--sh); }
.btn-simple { padding: 14px 26px; border-radius: 100px; }
.btn-lg { font-size: 1.04rem; padding-block: 10px; }
.btn-lg .ic { width: 38px; height: 38px; }
/* auf dunklen/Lila-Flächen */
.on-lila .btn-primary { background: #fff; color: var(--lila-deep); }
.on-lila .btn-primary .ic { background: var(--lav); color: var(--lila-deep); }
.on-lila .btn-primary:hover { background: var(--ink); color: #fff; }
.on-lila .btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.28); }

/* ---------- Cards ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card-hover:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }

/* ============================================================
   NAV (floating pill)
   ============================================================ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px var(--pad); transition: padding .4s var(--ease); }
.nav-in { max-width: var(--maxw); margin-inline: auto; background: rgba(255,255,255,.8); backdrop-filter: blur(16px) saturate(1.4); border: 1px solid var(--line); border-radius: 100px; box-shadow: var(--sh); padding: 10px 10px 10px 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; transition: box-shadow .4s; }
.nav.scrolled { padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; }
.brand-mark { width: 26px; height: 26px; }
.brand-logo { height: 32px; width: auto; max-width: 170px; object-fit: contain; display: block; }
.brand .n { color: var(--lila); }
.menu, .menu li { list-style: none; }
.menu { display: flex; align-items: center; gap: 2px; }
.menu > li > a, .drop-t { display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; font-weight: 500; font-size: .95rem; color: var(--ink-2); border-radius: 100px; transition: color .2s, background .2s; }
.menu > li > a:hover, .drop-t:hover { color: var(--ink); background: rgba(16,15,30,.04); }
.drop { position: relative; }
.drop-t .cv { width: 13px; height: 13px; transition: transform .35s var(--ease); }
.drop-m { position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, 8px); width: 300px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 10px; box-shadow: var(--sh-lg); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
.drop:hover .drop-m, .drop:focus-within .drop-m { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop:hover .cv { transform: rotate(180deg); }
.drop-m a { display: flex; gap: 12px; align-items: center; padding: 12px 13px; border-radius: 14px; transition: background .2s; }
.drop-m a:hover { background: var(--lav); }
.drop-m .di { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 11px; background: var(--lav); color: var(--lila); }
.drop-m .di svg { width: 19px; height: 19px; }
.drop-m .dt { display: block; font-weight: 600; font-size: .93rem; color: var(--ink); }
.drop-m .dd { display: block; margin-top: 2px; font-size: .8rem; color: var(--ink-2); line-height: 1.35; }
.nav-r { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--lav); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .4s var(--ease), opacity .25s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 26px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.mnav { position: fixed; inset: 0; z-index: 99; background: var(--bg); transform: translateX(100%); transition: transform .5s var(--ease); padding: 110px var(--pad) 40px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
body.menu-open .mnav { transform: none; }
.mnav a { font-weight: 600; font-size: clamp(1.5rem, 7vw, 2rem); padding: 13px 0; border-bottom: 1px solid var(--line-2); letter-spacing: -.02em; }
.mnav .m-lab { font-weight: 600; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--lila); margin-top: 22px; }
.mnav .m-sub { font-size: clamp(1.2rem, 5vw, 1.5rem); color: var(--ink-2); }
.mnav .btn { margin-top: 26px; align-self: flex-start; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot { background: var(--ink); color: #fff; padding-block: clamp(64px, 8vw, 100px) 34px; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot .brand { color: #fff; font-size: 1.5rem; }
.foot .brand .n { color: var(--lila-2); }
.foot-brand { padding: 0; }
.foot-logo { height: 34px; width: auto; max-width: 200px; object-fit: contain; display: block; filter: brightness(0) invert(1); }
.foot-claim { color: rgba(255,255,255,.55); max-width: 34ch; margin-top: 16px; font-size: .96rem; }
.foot-col h4 { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 16px; }
.foot-col a { display: block; padding: 7px 0; color: rgba(255,255,255,.82); font-size: .96rem; transition: color .2s, transform .3s var(--ease); }
.foot-col a:hover { color: #fff; transform: translateX(4px); }
.foot-soc { display: flex; gap: 10px; margin-top: 22px; }
.foot-soc a { width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; transition: background .25s, transform .3s var(--ease); }
.foot-soc a:hover { background: var(--lila); transform: translateY(-3px); }
.foot-soc svg { width: 18px; height: 18px; }
.foot-word { font-family: var(--f-serif); font-style: italic; font-size: clamp(3.4rem, 17vw, 15rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.13); margin-top: clamp(40px, 6vw, 80px); user-select: none; white-space: nowrap; }
.foot-bot { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: rgba(255,255,255,.5); font-size: .85rem; }
.foot-bot a:hover { color: #fff; }
.foot-ai { flex-basis: 100%; color: rgba(255,255,255,.38); font-size: .78rem; }

/* ---------- Reveal ---------- */
.rv { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-1 { transition-delay: .08s; } .rv-2 { transition-delay: .16s; } .rv-3 { transition-delay: .24s; }
.rv-4 { transition-delay: .32s; } .rv-5 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1 !important; transform: none !important; transition: none; } }

/* ---------- Responsive (global) ---------- */
@media (max-width: 940px) {
  .menu, .nav-r > .btn { display: none; }
  .burger { display: block; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot .brand-wrap { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-bot { flex-direction: column; } }
