/* Life writes Stories – v2 (Gerüst nach consulting-bussines-template.framer.website: dunkel, Pill-Navigation, Chips, Karten) */
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #050505;
  --card: #0c0c0c;
  --ink: #ffffff;
  --mute: #a3a3a3;
  --dim: #6f6f6f;
  --edge: rgba(255, 255, 255, .09);
  --edge-2: rgba(255, 255, 255, .16);
  --r: 20px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font: 400 15px/1.6 "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: #fff; color: #000; padding: 8px 12px; border-radius: 99px; }
.skip:focus { top: 12px; }
.wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }

/* ---------- Kopf ---------- */
.top { position: fixed; z-index: 50; top: 0; left: 0; right: 0; padding: 14px 20px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; transition: background .4s; }
.top.is-scrolled { background: linear-gradient(rgba(5, 5, 5, .9), rgba(5, 5, 5, 0)); }
.top__logo img { height: 30px; width: auto; }
.pills { display: flex; gap: 2px; padding: 4px; border-radius: 99px; background: rgba(20, 20, 20, .75); border: 1px solid var(--edge); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.pills a { padding: 7px 14px; border-radius: 99px; font-size: 13px; color: var(--mute); transition: color .3s, background .3s; }
.pills a:hover { color: var(--ink); }
.pills a.is-on { color: var(--ink); background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px var(--edge); }
.top__cta { justify-self: end; }

/* ---------- Knöpfe + Chips ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 6px 0 18px; border-radius: 99px; font: 500 14px "Inter", sans-serif; background: #fff; color: #000; box-shadow: 0 0 0 4px rgba(255, 255, 255, .08); transition: transform .3s var(--ease), box-shadow .3s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 0 0 5px rgba(255, 255, 255, .12); }
.btn__arrow { width: 32px; height: 32px; border-radius: 50%; background: #000; color: #fff; display: grid; place-items: center; }
.btn__arrow svg { width: 14px; height: 14px; }
.btn--dark { background: rgba(255, 255, 255, .06); color: var(--ink); padding: 0 18px; box-shadow: inset 0 0 0 1px var(--edge); }
.btn--dark:hover { box-shadow: inset 0 0 0 1px var(--edge-2); }
.btn--sm { height: 38px; font-size: 13px; padding-left: 14px; }
.btn--sm .btn__arrow { width: 28px; height: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--edge); background: rgba(255, 255, 255, .03); font: 500 11px "Inter", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px rgba(255, 255, 255, .7); }

/* ---------- Typo ---------- */
.h1, .h2 { font-family: "Poppins", sans-serif; font-weight: 500; letter-spacing: -.02em; margin: 0; }
.h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.08; }
.h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; }
.fade { color: #8c8c8c; }
.lead { color: var(--mute); font-size: 16px; max-width: 520px; margin: 18px auto 0; }
.center { text-align: center; }
.head { margin-bottom: 48px; }
.head .chip { margin-bottom: 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 0; text-align: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; left: 50%; top: -280px; width: 1100px; height: 700px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 255, 255, .13), rgba(255, 255, 255, 0)); pointer-events: none; }
.hero .chip { margin-bottom: 22px; }
.hero__ctas { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.frame { position: relative; margin: 64px auto 0; width: min(1000px, 100%); padding: 10px; border-radius: 26px; background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .02)); box-shadow: 0 40px 120px rgba(0, 0, 0, .6); }
.frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; }

/* ---------- Abschnitte + Karten ---------- */
.sec { padding: 130px 0 0; }
.card { position: relative; border-radius: var(--r); background: linear-gradient(180deg, #111, var(--card)); border: 1px solid var(--edge); overflow: hidden; }
.reels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.reel { padding: 8px; }
.reel__media { position: relative; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: #000; }
.reel__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.reel:hover .reel__media img { transform: scale(1.04); }
.reel__play { position: absolute; left: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .2); }
.reel__play svg { width: 12px; height: 12px; margin-left: 2px; }
.reel__txt { padding: 14px 8px 8px; }
.reel__t { font: 500 15px "Poppins", sans-serif; }
.reel__s { font-size: 13px; color: var(--dim); }

.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 14px; }
.about__img { padding: 8px; }
.about__img img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; border-radius: 14px; }
.about__txt { padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; }
.about__txt .chip { align-self: flex-start; margin-bottom: 18px; }
.about__txt p { color: var(--mute); margin: 16px 0 0; }
.about__txt .btn { margin-top: 28px; align-self: flex-start; }

.bts { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
.bts .card { padding: 8px; }
.bts img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
.bts .card:first-child img { aspect-ratio: auto; }

.contact { margin-top: 130px; padding: 72px 32px; text-align: center; background: radial-gradient(60% 120% at 50% 0%, rgba(255, 255, 255, .09), rgba(255, 255, 255, 0)), linear-gradient(180deg, #101010, #070707); }
.contact .lead { margin-bottom: 30px; }
.contact__row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- Fuß ---------- */
.foot { margin-top: 110px; padding: 56px 0 40px; border-top: 1px solid var(--edge); }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot__logo img { height: 34px; width: auto; }
.foot p { color: var(--dim); font-size: 14px; margin: 14px 0 0; max-width: 300px; }
.foot h3 { margin: 0 0 14px; font: 500 14px "Poppins", sans-serif; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--mute); }
.foot ul a:hover { color: var(--ink); }
.foot__base { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; font-size: 13px; color: var(--dim); }

/* ---------- Rechtliches ---------- */
.legal { padding-top: 140px; max-width: 760px; }
.legal h2 { margin: 34px 0 6px; font: 500 16px "Poppins", sans-serif; }
.legal p { margin: 0; color: var(--mute); }
.todo { background: rgba(255, 214, 102, .14); color: #ffd666; padding: 0 4px; border-radius: 4px; }

/* ---------- Einblenden ---------- */
/* Werte aus REA-Analyse des Consulting-Templates (20.10.2026): opacity 0 → 1, y 40 → 0, Feder bounce .2 / 0,4 s, Auslöser bei 50 % Sichtbarkeit */
.up { opacity: 0; transform: translateY(40px); transition: opacity .5s cubic-bezier(.44, 0, .56, 1), transform .6s cubic-bezier(.34, 1.25, .64, 1); }
.up.is-in { opacity: 1; transform: none; }

/* ---------- Handy ---------- */
@media (max-width: 860px) {
  .top { grid-template-columns: 1fr auto; padding: 12px 16px; }
  .pills { display: none; }
  .top__logo img { height: 26px; }
  .hero { padding-top: 120px; }
  .frame { margin-top: 44px; padding: 6px; border-radius: 18px; }
  .frame img { aspect-ratio: 4 / 5; border-radius: 13px; object-position: 38% 50%; }
  .sec { padding-top: 96px; }
  .reels { grid-template-columns: repeat(4, 72%); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; }
  .reels::-webkit-scrollbar { display: none; }
  .reel { scroll-snap-align: center; }
  .about { grid-template-columns: 1fr; }
  .about__img img { min-height: 0; aspect-ratio: 4 / 5; }
  .about__txt { padding: 30px 22px 34px; }
  .bts { grid-template-columns: 1fr 1fr; }
  .bts .card:first-child { grid-column: 1 / -1; }
  .bts .card:first-child img { aspect-ratio: 16 / 10; }
  .contact { margin-top: 96px; padding: 52px 22px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__grid > :first-child { grid-column: 1 / -1; }
  .foot__base { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .up { opacity: 1; transform: none; filter: none; transition: none; }
}

/* Stand 20.10.: schlanke Seite – Kopf ohne Pill-Navigation, Über-mich nur Text, Fuß einzeilig */
.top { grid-template-columns: 1fr auto; }
.about__txt--solo { padding: 56px 48px; text-align: center; align-items: center; }
.about__txt--solo p { max-width: 560px; }
.foot__row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot__mail { color: var(--mute); font-size: 14px; }
.foot__mail:hover { color: var(--ink); }
.legal .h2 { margin-bottom: 8px; }
@media (max-width: 860px) { .about__txt--solo { padding: 36px 22px; } }
.eyebrow { margin: 0 0 14px; font: 500 14px "Inter", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }

/* Bild-Animation (20.10.): langsame Kamerafahrt + Rahmen wächst beim Scrollen */
.hero__ctas { margin-top: 34px; }
.frame { overflow: hidden; will-change: transform; transform-origin: 50% 0; }
.frame img { animation: drift 26s ease-in-out infinite alternate; transform-origin: 46% 55%; will-change: transform; }
@keyframes drift {
  0%   { transform: scale(1.04) translate3d(0, 0, 0); }
  50%  { transform: scale(1.12) translate3d(-1.2%, -1%, 0); }
  100% { transform: scale(1.08) translate3d(1.4%, -2%, 0); }
}
@media (prefers-reduced-motion: reduce) { .frame img { animation: none; } }
/* Rahmen ohne Innenrand; Ecken per clip-path, damit der Zoom sie nicht eckig schneidet */
.frame { padding: 0; background: #111; border-radius: 0; clip-path: inset(0 round var(--fr, 22px)); box-shadow: none; }
.frame img { border-radius: 0; }
.hero { overflow: visible; overflow-x: clip; padding-bottom: 110px; }
