/* ==========================================================================
   geo-premium.css — GEO-Angebotsseite (/geo) · Namespace geo-*
   Baut auf sm-concept.css (smc-*) + motion-premium.css auf.
   Nur auf geo.html geladen → Overrides sicher gescoped.
   ========================================================================== */

/* Sektions-Rhythmus wie crm-premium */
.geo-page .smc.stage.stage--ink { padding-block: clamp(60px, 7.6vw, 104px); }
.geo-page .smc-head { margin-bottom: clamp(40px, 5vw, 62px); }

/* ---------- HERO ---------- */
.geo-hero__grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(28px, 4.5vw, 64px); align-items: center; }
@media (max-width: 980px) { .geo-hero__grid { grid-template-columns: 1fr; gap: 40px; } }

.geo-hero__stats { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; }
.geo-hero__stat { min-width: 130px; }
.geo-hero__stat b { display: block; font-family: var(--font-mono, ui-monospace, monospace); font-size: 21px; letter-spacing: -0.01em; color: #fff; }
.geo-hero__stat span { font-size: 12.5px; color: rgba(238,240,248,.55); letter-spacing: .04em; }

/* ==========================================================================
   KI-CHAT — animiertes Herzstück („so wie es wirklich passiert")
   ========================================================================== */
.geo-chat {
  position: relative;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(220,0,24,.14), transparent 55%),
    linear-gradient(180deg, rgba(22,24,36,.92), rgba(10,12,20,.96));
  box-shadow: 0 40px 90px -45px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.geo-chat__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.geo-chat__orb {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: conic-gradient(from 0deg, #dc0018, #ff5d70, #8b5cf6, #38bdf8, #dc0018);
  animation: geoOrbSpin 6s linear infinite;
  -webkit-mask: radial-gradient(circle at center, transparent 34%, #000 38%);
          mask: radial-gradient(circle at center, transparent 34%, #000 38%);
}
@keyframes geoOrbSpin { to { transform: rotate(360deg); } }
.geo-chat__who { font-weight: 700; font-size: 13.5px; color: #fff; letter-spacing: .01em; }
.geo-chat__sub { font-family: var(--font-mono, ui-monospace, monospace); font-size: 10.5px; color: rgba(238,240,248,.45); letter-spacing: .12em; text-transform: uppercase; }
.geo-chat__live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono, ui-monospace, monospace); font-size: 10px; letter-spacing: .18em;
  color: #4ade80; text-transform: uppercase;
}
.geo-chat__live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #4ade80; animation: geoPulse 1.6s ease-in-out infinite; }
@keyframes geoPulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: .4; transform: scale(.75);} }

.geo-chat__log {
  padding: 20px 18px 8px;
  min-height: 348px;
  display: flex; flex-direction: column; gap: 14px;
}
.geo-msg { max-width: 88%; opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s cubic-bezier(.2,.7,.2,1); }
.geo-msg.is-in { opacity: 1; transform: none; }
.geo-msg--user { align-self: flex-end; }
.geo-msg--user .geo-msg__bubble {
  background: linear-gradient(135deg, #dc0018, #a30012);
  color: #fff; border-radius: 16px 16px 4px 16px;
  padding: 11px 15px; font-size: 14.5px; line-height: 1.55;
  box-shadow: 0 10px 26px -12px rgba(220,0,24,.55);
}
.geo-msg--ai { align-self: flex-start; max-width: 94%; }
.geo-msg--ai .geo-msg__bubble {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.09);
  color: rgba(240,242,250,.92);
  border-radius: 16px 16px 16px 4px;
  padding: 13px 16px; font-size: 14.5px; line-height: 1.62;
}
.geo-msg__bubble mark {
  background: rgba(220,0,24,.22); color: #ffb3bc; font-weight: 700;
  padding: 1px 5px; border-radius: 6px;
}
.geo-msg__caret { display: inline-block; width: 8px; height: 15px; vertical-align: -2px; background: rgba(240,242,250,.85); margin-left: 2px; animation: geoCaret 0.9s steps(1) infinite; border-radius: 1.5px; }
@keyframes geoCaret { 50% { opacity: 0; } }

.geo-think { display: inline-flex; gap: 5px; padding: 13px 16px; }
.geo-think i { width: 7px; height: 7px; border-radius: 50%; background: rgba(240,242,250,.5); animation: geoThink 1.2s ease-in-out infinite; }
.geo-think i:nth-child(2) { animation-delay: .18s; }
.geo-think i:nth-child(3) { animation-delay: .36s; }
@keyframes geoThink { 0%,100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(-5px); opacity: 1; } }

/* Quellen-Chips unter der Antwort */
.geo-src { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 11px; }
.geo-src__label { flex-basis: 100%; font-family: var(--font-mono, ui-monospace, monospace); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: rgba(238,240,248,.4); }
.geo-src__chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono, ui-monospace, monospace); font-size: 11.5px;
  color: rgba(240,242,250,.85);
  border: 1px solid rgba(255,255,255,.14); border-radius: 999px;
  padding: 5px 11px 5px 6px;
  background: rgba(255,255,255,.04);
  opacity: 0; transform: scale(.9);
  transition: opacity .4s ease, transform .4s cubic-bezier(.2,.9,.3,1.4);
}
.geo-src__chip.is-in { opacity: 1; transform: none; }
.geo-src__chip .fav {
  width: 17px; height: 17px; border-radius: 5px; flex: none;
  display: grid; place-items: center;
  background: #dc0018; color: #fff; font: 800 10px/1 var(--font-mono, monospace);
}
.geo-src__chip--sm { border-color: rgba(220,0,24,.55); background: rgba(220,0,24,.10); box-shadow: 0 0 0 0 rgba(220,0,24,.4); }
.geo-src__chip--sm.is-in { animation: geoCite 2.2s ease-out .3s 2; }
@keyframes geoCite { 0% { box-shadow: 0 0 0 0 rgba(220,0,24,.45); } 70% { box-shadow: 0 0 0 12px rgba(220,0,24,0); } 100% { box-shadow: 0 0 0 0 rgba(220,0,24,0); } }

.geo-chat__composer {
  margin: 10px 14px 14px; display: flex; align-items: center; gap: 10px;
  border: 1px solid rgba(255,255,255,.1); border-radius: 14px;
  background: rgba(255,255,255,.04); padding: 11px 8px 11px 15px;
}
.geo-chat__input { flex: 1; font-size: 13.5px; color: rgba(240,242,250,.85); white-space: nowrap; overflow: hidden; }
.geo-chat__input .ph { color: rgba(238,240,248,.35); }
.geo-chat__send {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #dc0018, #ff4d61); color: #fff;
  transition: transform .2s ease;
}
.geo-chat__send.is-sent { transform: scale(.86); }
.geo-chat__foot { padding: 0 16px 13px; font-size: 10.5px; color: rgba(238,240,248,.35); letter-spacing: .02em; }

/* ==========================================================================
   METHODEN — tief analysiert, mit Impact-Meter + Beleg + Dauer
   ========================================================================== */
.geo-methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 860px) { .geo-methods { grid-template-columns: 1fr; } }
.geo-m {
  position: relative; border: 1px solid rgba(255,255,255,.09); border-radius: 18px;
  padding: 22px 22px 19px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  overflow: hidden;
  display: flex; flex-direction: column; gap: 11px;
  transition: border-color .3s ease, transform .3s ease;
}
.geo-m:hover { border-color: rgba(220,0,24,.4); transform: translateY(-3px); }
.geo-m__top { display: flex; align-items: center; gap: 12px; }
.geo-m__no { font-family: var(--font-mono, ui-monospace, monospace); font-size: 13px; font-weight: 700; color: rgba(238,240,248,.45); letter-spacing: .06em; }
.geo-m__meter { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; }
.geo-m__meter i { width: 16px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.12); }
.geo-m__meter[data-level="3"] i:nth-child(-n+3),
.geo-m__meter[data-level="2"] i:nth-child(-n+2),
.geo-m__meter[data-level="1"] i:nth-child(1) { background: linear-gradient(90deg, #dc0018, #ff5d70); }
.geo-m__meter b { font-family: var(--font-mono, ui-monospace, monospace); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(238,240,248,.5); font-weight: 600; }
.geo-m h3 { margin: 0; font-size: 18.5px; font-weight: 750; letter-spacing: -0.01em; color: #fff; }
.geo-m p { margin: 0; font-size: 14.5px; line-height: 1.62; color: rgba(238,240,248,.68); }
.geo-m__proof {
  display: flex; gap: 9px; align-items: baseline;
  font-size: 12.5px; line-height: 1.55; color: rgba(238,240,248,.55);
  border-top: 1px dashed rgba(255,255,255,.1); padding-top: 11px; margin-top: auto;
}
.geo-m__proof b { font-family: var(--font-mono, ui-monospace, monospace); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #38e0c8; font-weight: 700; white-space: nowrap; }
.geo-m__dur {
  position: absolute; top: 17px; right: 18px;
  font-family: var(--font-mono, ui-monospace, monospace); font-size: 10.5px; color: rgba(238,240,248,.45);
}
.geo-m__tags { display: flex; flex-wrap: wrap; gap: 7px; }
.geo-m__tag { font-family: var(--font-mono, ui-monospace, monospace); font-size: 10.5px; letter-spacing: .04em; color: rgba(240,242,250,.7); border: 1px solid rgba(255,255,255,.12); border-radius: 7px; padding: 3px 8px; background: rgba(255,255,255,.03); }

/* ==========================================================================
   PROZESS & DAUER — vertikale Phasen-Timeline mit animierter Fortschrittslinie
   ========================================================================== */
.geo-tl { position: relative; max-width: 900px; margin-inline: auto; }
.geo-tl::before {
  content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 2px;
  background: rgba(255,255,255,.1); border-radius: 2px;
}
.geo-tl__fill {
  position: absolute; left: 27px; top: 8px; width: 2px; height: 0;
  background: linear-gradient(180deg, #dc0018, #ff5d70);
  border-radius: 2px; box-shadow: 0 0 14px rgba(220,0,24,.5);
  transition: height 1.6s cubic-bezier(.3,.6,.2,1);
}
.geo-tl.is-in .geo-tl__fill { height: calc(100% - 16px); }
.geo-ph {
  position: relative; display: grid; grid-template-columns: 56px 1fr auto; gap: 0 20px;
  padding: 0 0 34px 0; align-items: start;
}
.geo-ph:last-child { padding-bottom: 0; }
@media (max-width: 640px) { .geo-ph { grid-template-columns: 56px 1fr; } }
.geo-ph__dot {
  width: 56px; height: 56px; border-radius: 16px; z-index: 1;
  display: grid; place-items: center;
  background: linear-gradient(180deg, #171a26, #0d0f18);
  border: 1px solid rgba(255,255,255,.14);
  color: #ff5d70;
  box-shadow: 0 12px 26px -14px rgba(0,0,0,.8);
}
.geo-ph__dot svg { width: 24px; height: 24px; }
.geo-ph--run .geo-ph__dot { border-color: rgba(220,0,24,.55); animation: geoCite 2.6s ease-out infinite; }
.geo-ph__body h3 { margin: 4px 0 6px; font-size: 18px; font-weight: 750; color: var(--le-text, #1d1d1f); letter-spacing: -0.01em; }
.geo-ph__body p { margin: 0; font-size: 14.5px; line-height: 1.6; color: rgba(238,240,248,.66); max-width: 56ch; }
.geo-ph__deliv { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.geo-ph__deliv span { font-family: var(--font-mono, ui-monospace, monospace); font-size: 10.5px; color: rgba(240,242,250,.72); border: 1px solid rgba(255,255,255,.12); border-radius: 7px; padding: 3px 8px; background: rgba(255,255,255,.03); }
.geo-ph__when {
  font-family: var(--font-mono, ui-monospace, monospace); font-size: 12px; font-weight: 700;
  color: #ffb3bc; background: rgba(220,0,24,.12); border: 1px solid rgba(220,0,24,.3);
  border-radius: 999px; padding: 6px 13px; white-space: nowrap; margin-top: 6px;
  height: fit-content;
}
@media (max-width: 640px) { .geo-ph__when { grid-column: 2; justify-self: start; margin-top: 10px; } }

/* Wirkung-Band unter der Timeline */
.geo-effect {
  margin-top: 44px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px;
  background: linear-gradient(135deg, rgba(220,0,24,.09), rgba(255,255,255,.02));
  padding: 24px 26px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center;
}
@media (max-width: 640px) { .geo-effect { grid-template-columns: 1fr; } }
.geo-effect__big { font-family: var(--font-mono, ui-monospace, monospace); font-size: clamp(26px, 4vw, 38px); font-weight: 800; color: #fff; letter-spacing: -0.02em; white-space: nowrap; }
.geo-effect__big em { color: #ff5d70; font-style: normal; }
.geo-effect p { margin: 0; font-size: 14.5px; line-height: 1.6; color: rgba(238,240,248,.7); }

/* ==========================================================================
   SO MACHT ES SWISS MARKETER — Proof-Karten mit Code-Tags
   ========================================================================== */
.geo-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
@media (max-width: 980px) { .geo-proof { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .geo-proof { grid-template-columns: 1fr; } }
.geo-pc {
  border: 1px solid rgba(255,255,255,.09); border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012));
  padding: 20px 20px 17px; display: flex; flex-direction: column; gap: 9px;
  transition: border-color .3s ease;
}
.geo-pc:hover { border-color: rgba(56,224,200,.4); }
.geo-pc__tag {
  align-self: flex-start;
  font-family: var(--font-mono, ui-monospace, monospace); font-size: 11px; font-weight: 700;
  color: #38e0c8; background: rgba(56,224,200,.08); border: 1px solid rgba(56,224,200,.28);
  border-radius: 8px; padding: 4px 9px; letter-spacing: .03em;
}
.geo-pc h3 { margin: 2px 0 0; font-size: 16px; font-weight: 740; color: #fff; }
.geo-pc p { margin: 0; font-size: 13.5px; line-height: 1.6; color: rgba(238,240,248,.64); }

/* ==========================================================================
   ANGEBOT — 3 Bausteine
   ========================================================================== */
.geo-offer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 920px) { .geo-offer { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.geo-of {
  position: relative; border: 1px solid rgba(255,255,255,.1); border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  padding: 26px 24px; display: flex; flex-direction: column; gap: 13px;
}
.geo-of--hot { border-color: rgba(220,0,24,.5); background: linear-gradient(180deg, rgba(220,0,24,.1), rgba(255,255,255,.02)); }
.geo-of__flag {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono, ui-monospace, monospace); font-size: 10px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: #ffb3bc;
}
.geo-of__flag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff2038; animation: geoPulse 1.8s ease-in-out infinite; }
.geo-of h3 { margin: 0; font-size: 20px; font-weight: 780; color: var(--le-text, #1d1d1f); letter-spacing: -0.01em; }
.geo-of__dur { font-family: var(--font-mono, ui-monospace, monospace); font-size: 12px; color: rgba(238,240,248,.5); }
.geo-of ul { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.geo-of li { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; color: rgba(238,240,248,.75); }
.geo-of li::before { content: "✓"; color: #38e0c8; font-weight: 800; flex: none; }
.geo-of__price { margin-top: auto; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.09); font-size: 14px; color: rgba(238,240,248,.6); }
.geo-of__price b { display: block; font-size: 19px; color: #fff; font-weight: 780; letter-spacing: -0.01em; margin-top: 2px; }

/* ---------- FAQ (dunkel) ---------- */
.geo-faq { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 11px; }
.geo-faq details {
  border: 1px solid rgba(255,255,255,.1); border-radius: 15px;
  background: rgba(255,255,255,.03); overflow: hidden;
  transition: border-color .25s ease;
}
.geo-faq details[open] { border-color: rgba(220,0,24,.4); background: rgba(255,255,255,.045); }
.geo-faq summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 17px 20px; font-size: 15.5px; font-weight: 650; color: var(--le-text, #1d1d1f);
}
.geo-faq summary::-webkit-details-marker { display: none; }
.geo-faq summary::after { content: "+"; font-size: 21px; font-weight: 400; color: rgba(238,240,248,.5); transition: transform .25s ease; flex: none; }
.geo-faq details[open] summary::after { transform: rotate(45deg); color: #ff5d70; }
.geo-faq .geo-faq__a { padding: 0 20px 18px; font-size: 14.5px; line-height: 1.65; color: rgba(238,240,248,.7); }
.geo-faq .geo-faq__a a { color: #ffb3bc; }

/* ---------- Loop-Mini (Messkreislauf) ---------- */
.geo-loop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: geoloop; }
@media (max-width: 920px) { .geo-loop { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .geo-loop { grid-template-columns: 1fr; } }
.geo-lp {
  position: relative; counter-increment: geoloop;
  border: 1px solid rgba(255,255,255,.09); border-radius: 16px;
  background: rgba(255,255,255,.035); padding: 19px 19px 17px;
}
.geo-lp::before {
  content: counter(geoloop, decimal-leading-zero);
  font-family: var(--font-mono, ui-monospace, monospace); font-size: 11px; color: rgba(238,240,248,.4);
  position: absolute; top: 15px; right: 16px;
}
.geo-lp h3 { margin: 0 0 6px; font-size: 15.5px; font-weight: 730; color: #fff; }
.geo-lp p { margin: 0; font-size: 13px; line-height: 1.58; color: rgba(238,240,248,.62); }
.geo-lp--edge { border-color: rgba(56,224,200,.35); background: rgba(56,224,200,.05); }
.geo-lp--no { border-color: rgba(220,0,24,.35); background: rgba(220,0,24,.055); }
.geo-lp--no h3::before { content: "✕ "; color: #ff5d70; }

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .geo-chat__orb, .geo-chat__live::before, .geo-of__flag::before,
  .geo-src__chip--sm.is-in, .geo-ph--run .geo-ph__dot, .geo-msg__caret { animation: none !important; }
  .geo-msg, .geo-src__chip { opacity: 1 !important; transform: none !important; transition: none !important; }
  .geo-tl__fill { transition: none; }
  .geo-m:hover, .geo-of:hover { transform: none; }
}

/* ---------- Mobile-Härtung ---------- */
@media (max-width: 560px) {
  .geo-chat__log { min-height: 300px; padding: 16px 13px 6px; }
  .geo-msg--ai { max-width: 100%; }
  .geo-hero__stats { gap: 14px; }
  .geo-m { padding: 18px 16px 16px; }
  .geo-m__dur { position: static; order: -1; }
}
