/* ============================================================
   FLACKERKISTE — landing page styles
   Brand tokens lifted from the Webflow export:
   black #0a0a0a · secondary-black #222 · orange #e56f40
   primary-grey #777 · secondary-grey #b3b3b3
   Display: Nohemi · Body: Onest · Editorial italic: Mazius Display
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face { font-family: 'Nohemi'; src: url('fonts/Nohemi-Light.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Nohemi'; src: url('fonts/Nohemi-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Nohemi'; src: url('fonts/Nohemi-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Nohemi'; src: url('fonts/Nohemi-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Nohemi'; src: url('fonts/Nohemi-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Nohemi'; src: url('fonts/Nohemi-Black.woff2') format('woff2'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Onest'; src: url('fonts/Onest-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Onest'; src: url('fonts/Onest-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Onest'; src: url('fonts/Onest-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Mazius'; src: url('fonts/Mazius-Display-Extraitalic.otf') format('opentype'); font-weight: 400; font-style: italic; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --bg: #0a0a0a;
  --bg-2: #131313;
  --bg-3: #1c1c1c;
  --line: #2a2a2a;
  --line-2: #3a3a3a;
  --fg: #f4f3f0;
  --fg-dim: #b3b3b3;
  --fg-mute: #777;
  --accent: #e56f40;
  --accent-soft: #f0a07f;
  --accent-deep: #c45528;
  --display: 'Nohemi', 'Helvetica Neue', sans-serif;
  --body: 'Onest', 'Helvetica Neue', sans-serif;
  --editorial: 'Mazius', 'Times New Roman', serif;
  --pad-x: clamp(20px, 4vw, 64px);
  --max: 1440px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  background: var(--bg);
  /* Verhindert horizontalen Scroll, wenn das fixed-position Mobile-Nav-Overlay
     mit transform:translateX(100%) layoutmäßig über den Viewport hinausragt. */
  overflow-x: hidden;
}
body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
em { font-family: var(--editorial); font-style: italic; font-weight: 400; }
::selection { background: var(--accent); color: var(--bg); }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 18px var(--pad-x);
  background: rgba(10,10,10,0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark {
  display: grid;
  grid-template-columns: repeat(2, 22px);
  grid-template-rows: repeat(2, 9px);
  gap: 2px;
}
.brand__mark span {
  display: block; width: 22px; height: 9px;
  background: var(--accent);
  animation: flicker 2.6s infinite steps(1);
  border-radius: 1px;
}
.brand__mark span:nth-child(2) { animation-delay: .25s; }
.brand__mark span:nth-child(3) { animation-delay: .5s; }
.brand__mark span:nth-child(4) { animation-delay: .8s; }
@keyframes flicker {
  0%, 70%, 100% { opacity: 1; }
  72% { opacity: .15; }
  74% { opacity: 1; }
  76% { opacity: .4; }
  78% { opacity: 1; }
}
.brand__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  line-height: 1;
  /* Nohemi-Glyphen sitzen ohne Unterlängen optisch zu hoch in der Line-Box —
     2px nach unten ziehen für optisches Center mit dem Logo-Mark. */
  transform: translateY(2px);
}
.nav { display: flex; gap: 28px; justify-self: center; }
.nav a {
  font-family: var(--body);
  font-size: 14px;
  color: var(--fg-dim);
  position: relative;
  padding: 4px 0;
  transition: color .15s;
}
.nav a:hover { color: var(--fg); }
.nav a::after {
  content: '';
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--accent);
  transition: right .25s;
}
.nav a:hover::after { right: 0; }
.topbar__cta { display: flex; align-items: center; gap: 12px; }
.btn-ghost {
  font-size: 14px; color: var(--fg-dim);
  padding: 10px 14px; border-radius: 999px;
  border: 1px solid var(--line);
  transition: border-color .15s, color .15s;
}
.btn-ghost:hover { border-color: var(--line-2); color: var(--fg); }
.btn-pill {
  font-size: 14px; font-weight: 500;
  background: var(--accent);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: transform .15s, background .15s;
}
.btn-pill:hover { background: var(--accent-soft); transform: translateY(-1px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 0 var(--pad-x) clamp(80px, 10vw, 140px);
  overflow: hidden;
}
.hero__strip {
  margin: 0 calc(-1 * var(--pad-x));
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-2);
}
.hero__strip-track {
  display: flex; gap: 64px;
  white-space: nowrap;
  padding: 12px 0;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--fg-dim);
  text-transform: uppercase;
  animation: marquee 32s linear infinite;
}
.hero__strip-track > span { display: inline-block; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: clamp(60px, 9vw, 120px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  width: 100%;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--fg-dim);
  text-transform: uppercase;
  font-weight: 500;
  width: fit-content;
}
.hero__pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(229,111,64,0.6); }
  70% { box-shadow: 0 0 0 12px rgba(229,111,64,0); }
  100% { box-shadow: 0 0 0 0 rgba(229,111,64,0); }
}
.hero__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(56px, 10vw, 156px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0;
  text-transform: lowercase;
}
.hero__title .line { display: block; }
.hero__title em {
  font-family: var(--editorial);
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
}
.hero__lead {
  max-width: 560px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--fg-dim);
  margin: 0;
}
.hero__cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--display);
  font-weight: 500;
  font-size: 16px;
  padding: 18px 26px;
  border-radius: 999px;
  transition: background .2s, transform .2s, padding-right .25s;
}
.btn-primary:hover { background: var(--accent-soft); padding-right: 32px; }
.btn-primary__arrow { display: inline-block; transition: transform .2s; }
.btn-primary:hover .btn-primary__arrow { transform: translateX(4px); }
.btn-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-size: 15px;
  color: var(--fg);
  border-bottom: 1px solid var(--line-2);
  padding: 4px 0;
  transition: border-color .2s, color .2s;
}
.btn-link:hover { border-color: var(--accent); color: var(--accent); }
.btn-link__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px 32px;
  margin: 0;
  padding: 32px 0 0;
  border-top: 1px solid var(--line);
}
.hero__stats > div {
  padding: 4px 0;
}
.hero__stats dt {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  color: var(--fg);
}
.hero__stats dd {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--fg-mute);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* hero glyph - flickering sign */
.hero__glyph {
  position: absolute;
  right: var(--pad-x);
  top: 16vw;
  width: clamp(220px, 22vw, 360px);
  pointer-events: none;
  display: none;
}
@media (min-width: 1100px) {
  .hero__glyph { display: block; }
  .hero__inner { padding-right: clamp(280px, 26vw, 420px); }
}
.hero__glyph-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(160deg, #1a1a1a, #0c0c0c);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(229,111,64,0.4),
              0 0 0 1px rgba(255,255,255,0.04) inset;
  animation: screen-flicker 8s infinite;
}
@keyframes screen-flicker {
  0%, 96%, 100% { filter: brightness(1); }
  97% { filter: brightness(1.4) hue-rotate(8deg); }
  98% { filter: brightness(0.6); }
  99% { filter: brightness(1.3); }
}
.hero__glyph-noise {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 3px),
    radial-gradient(circle at 30% 30%, rgba(229,111,64,0.18), transparent 60%);
  mix-blend-mode: screen;
}
.hero__glyph-text {
  position: absolute;
  inset: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 18px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.hero__glyph-text-big {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 0.92;
  color: var(--accent);
  text-transform: lowercase;
  letter-spacing: -0.04em;
  align-self: center;
}
.hero__glyph-text-big em {
  color: var(--fg);
  font-family: var(--editorial);
}
.hero__glyph-corner {
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--accent);
}
.hero__glyph-corner--tl { top: 6px; left: 6px; border-right: 0; border-bottom: 0; }
.hero__glyph-corner--tr { top: 6px; right: 6px; border-left: 0; border-bottom: 0; }
.hero__glyph-corner--bl { bottom: 6px; left: 6px; border-right: 0; border-top: 0; }
.hero__glyph-corner--br { bottom: 6px; right: 6px; border-left: 0; border-top: 0; }
.hero__glyph-stand {
  margin: -1px auto 0;
  width: 8px; height: 36px;
  background: var(--line-2);
}
.hero__glyph-base {
  margin: 0 auto;
  width: 60%; height: 6px;
  background: var(--line-2);
  border-radius: 0 0 4px 4px;
}

/* ---------- Trusted bar ---------- */
.trusted {
  padding: 28px var(--pad-x);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.trusted__label {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-mute);
  margin: 0 0 16px;
  text-align: center;
}
.trusted__row {
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 18px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 18px;
  color: var(--fg-dim);
  letter-spacing: -0.01em;
  text-transform: lowercase;
}
.trusted__row .dot {
  width: 4px; height: 4px;
  background: var(--fg-mute);
  border-radius: 50%;
}
.trusted__row a {
  color: inherit;
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}
.trusted__row a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------- Section heads (shared pattern) ---------- */
.product, .vorteile, .branchen, .prozess, .preise {
  padding: clamp(80px, 10vw, 160px) var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
}
.product__head, .vorteile__head, .branchen__head, .prozess__head, .preise__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 880px;
  margin-bottom: 64px;
}
.product__head-label, .vorteile__label, .branchen__label, .prozess__label, .preise__label {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
}
.product__head-title, .vorteile__title, .branchen__title, .prozess__title, .preise__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin: 0;
  text-transform: lowercase;
}
.product__head-title em, .vorteile__title em, .branchen__title em, .prozess__title em, .preise__title em {
  color: var(--accent);
  font-weight: 400;
}
.product__head-lead {
  font-size: 18px;
  color: var(--fg-dim);
  max-width: 580px;
  margin: 0;
}

/* ---------- Console mount (React) ---------- */
.console-mount {
  margin: 0 0 80px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-2);
  overflow: hidden;
  min-height: 720px;
  position: relative;
}
.console-mount::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: 14px;
  pointer-events: none;
  box-shadow: 0 40px 120px -40px rgba(229,111,64,0.4);
}

/* product features grid */
.product__features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.product__feature {
  background: var(--bg);
  padding: 28px;
  display: flex; flex-direction: column;
  gap: 10px;
}
.product__feature-num {
  font-family: var(--editorial);
  font-style: italic;
  color: var(--accent);
  font-size: 24px;
}
.product__feature h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  margin: 0;
  letter-spacing: -0.01em;
}
.product__feature p {
  margin: 0; font-size: 14px;
  color: var(--fg-dim); line-height: 1.5;
}

/* ---------- Vorteile ---------- */
.vorteile {
  border-top: 1px solid var(--line);
}
.vorteile__list {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr;
}
.vorteile__item {
  display: grid;
  grid-template-columns: 100px 1fr 200px;
  align-items: start;
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  transition: padding-left .3s, background .3s;
}
.vorteile__item:hover {
  padding-left: 16px;
  background: linear-gradient(90deg, rgba(229,111,64,0.05), transparent 30%);
}
.vorteile__item:last-child { border-bottom: 1px solid var(--line); }
.vorteile__num {
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
  color: var(--fg-mute);
  letter-spacing: 0.04em;
  padding-top: 6px;
}
.vorteile__item h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  text-transform: lowercase;
}
.vorteile__item p {
  margin: 0;
  font-size: 16px;
  color: var(--fg-dim);
  max-width: 60ch;
}
.vorteile__tag {
  justify-self: end;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 6px 12px;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .vorteile__item { grid-template-columns: 1fr; gap: 12px; }
  .vorteile__tag { justify-self: start; }
}

/* ---------- Branchen ---------- */
.branchen { border-top: 1px solid var(--line); }
.branchen__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.branche {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  display: flex; flex-direction: column;
  gap: 10px;
  min-height: 220px;
  position: relative;
  transition: background .25s, border-color .25s, transform .25s;
}
.branche:hover {
  background: var(--bg-3);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.branche--lg { grid-column: span 2; min-height: 240px; }
.branche__num {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--fg-mute);
}
.branche__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.01em;
  text-transform: lowercase;
  margin-top: auto;
}
.branche--lg .branche__title { font-size: clamp(28px, 3vw, 40px); }
.branche__desc {
  font-size: 14px; color: var(--fg-dim); line-height: 1.45;
}
.branche__count {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--accent);
  border-top: 1px dashed var(--line-2);
  padding-top: 10px;
  margin-top: 4px;
}
@media (max-width: 980px) {
  .branchen__grid { grid-template-columns: repeat(2, 1fr); }
  .branche--lg { grid-column: span 2; }
}
@media (max-width: 540px) {
  .branchen__grid { grid-template-columns: 1fr; }
  .branche--lg { grid-column: span 1; }
}

/* ---------- Prozess ---------- */
.prozess {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0;
  max-width: none;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.prozess__head, .prozess__list {
  max-width: var(--max);
  margin-left: auto; margin-right: auto;
}
.prozess__list {
  list-style: none; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.prozess__list li {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
  display: flex; flex-direction: column;
  gap: 12px;
  position: relative;
}
.prozess__num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.03em;
}
.prozess__list h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  margin: 0;
  letter-spacing: -0.01em;
  text-transform: lowercase;
}
.prozess__list p {
  margin: 0;
  font-size: 14px;
  color: var(--fg-dim);
}
.prozess__time {
  font-family: var(--display);
  font-size: 12px;
  color: var(--fg-mute);
  letter-spacing: 0.06em;
  border-top: 1px dashed var(--line-2);
  padding-top: 10px;
  margin-top: auto;
}
@media (max-width: 880px) { .prozess__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .prozess__list { grid-template-columns: 1fr; } }

/* ---------- Preise ---------- */
.preise { }
.preise__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.plan {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
  display: flex; flex-direction: column;
  gap: 18px;
  position: relative;
}
.plan--feat {
  background: linear-gradient(160deg, #1d1410, var(--bg-2) 60%);
  border-color: var(--accent);
}
.plan__badge {
  position: absolute;
  top: -12px; left: 24px;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.12em;
  background: var(--accent);
  color: var(--bg);
  padding: 6px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}
.plan__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  text-transform: lowercase;
  color: var(--fg-dim);
  letter-spacing: 0.02em;
}
.plan__price {
  font-family: var(--display);
  font-weight: 600;
  font-size: 72px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--fg);
  display: flex; align-items: baseline; gap: 4px;
}
.plan__currency {
  font-family: var(--editorial);
  font-style: italic;
  font-size: 28px;
  color: var(--accent);
  font-weight: 400;
}
.plan__suffix {
  font-family: var(--body);
  font-size: 13px;
  color: var(--fg-mute);
  font-weight: 400;
  margin-left: 6px;
  letter-spacing: 0;
}
.plan__desc {
  margin: 0;
  font-size: 14px;
  color: var(--fg-dim);
}
.plan ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.plan li {
  font-size: 14px;
  color: var(--fg);
  display: flex; align-items: center; gap: 10px;
}
.plan li::before {
  content: '+';
  color: var(--accent);
  font-family: var(--display);
  font-weight: 600;
}
.plan__cta {
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  border: 1px solid var(--line-2);
  padding: 14px 18px;
  border-radius: 999px;
  text-align: center;
  margin-top: auto;
  transition: background .15s, border-color .15s, color .15s;
}
.plan__cta:hover { border-color: var(--accent); color: var(--accent); }
.plan__cta--feat {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}
.plan__cta--feat:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  color: var(--bg);
}
@media (max-width: 880px) { .preise__grid { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta {
  padding: clamp(80px, 12vw, 160px) var(--pad-x);
  background:
    radial-gradient(circle at 50% 0%, rgba(229,111,64,0.18), transparent 50%),
    var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.cta__inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  gap: 24px;
  align-items: center;
}
.cta__big {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(80px, 16vw, 240px);
  line-height: 0.86;
  letter-spacing: -0.05em;
  color: var(--fg);
  text-transform: lowercase;
  animation: cta-flicker 5s infinite;
}
@keyframes cta-flicker {
  0%, 92%, 100% { color: var(--fg); }
  93% { color: var(--accent); }
  94% { color: var(--fg-mute); }
  95% { color: var(--accent); }
}
.cta__lead {
  margin: 0;
  font-size: 18px;
  color: var(--fg-dim);
  max-width: 540px;
}
.cta__form {
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: center;
  width: 100%; max-width: 560px;
}
.cta__form input {
  flex: 1; min-width: 240px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  color: var(--fg);
  font-family: var(--body);
  font-size: 15px;
  padding: 16px 20px;
  border-radius: 999px;
  outline: none;
  transition: border-color .15s;
}
.cta__form input::placeholder { color: var(--fg-mute); }
.cta__form input:focus { border-color: var(--accent); }
.cta__form button {
  background: var(--accent); color: var(--bg);
  border: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  padding: 16px 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s;
}
.cta__form button:hover { background: var(--accent-soft); }
.cta__small {
  font-size: 13px;
  color: var(--fg-mute);
}
.cta__small strong { color: var(--fg); font-weight: 500; }

/* ---------- Footer ---------- */
.foot {
  padding: 80px var(--pad-x) 24px;
  background: var(--bg);
}
.foot__top {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}
.foot__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 10px;
}
.foot__brand .brand__name { font-size: 22px; }
.foot__tag {
  font-family: var(--display);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 24px 0 0;
  text-transform: lowercase;
  color: var(--fg-dim);
  flex-basis: 100%;
}
.foot__tag em { color: var(--accent); }
.foot__col { display: flex; flex-direction: column; gap: 10px; }
.foot__col h4 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--fg-mute);
  text-transform: uppercase;
  margin: 0 0 6px;
}
.foot__col a {
  font-size: 14px; color: var(--fg-dim);
  transition: color .15s;
  display: inline-flex; align-items: center; gap: 8px;
}
.foot__col a:hover { color: var(--fg); }
.foot__pulse {
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
}
.foot__bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 24px;
  display: flex; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  font-family: var(--display);
  font-size: 12px;
  color: var(--fg-mute);
  letter-spacing: 0.04em;
}
.foot__bottom a {
  color: var(--fg-dim);
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}
.foot__bottom a:hover { color: var(--accent); border-bottom-color: var(--accent); }
@media (max-width: 880px) {
  .foot__top { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: span 2; }
}

/* ============================================================
   MOBILE & TOUCH OPTIMIZATIONS
   Breakpoints: 980/880/720/540/380px
   ============================================================ */

/* --- Hover-Effekte nur auf wirklich Hover-fähigen Geräten --- */
@media (hover: none) {
  /* "stuck hover" auf Touch-Geräten vermeiden — Buttons/Links nur per :active reagieren */
  .branche:hover, .thema:hover, .branchen-card:hover,
  .btn-pill:hover, .btn-ghost:hover, .btn-primary:hover, .plan__cta:hover {
    transform: none;
  }
}

/* --- Hamburger-Button + Mobile-Nav-Toggle --- */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 60;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fg);
  margin: 5px auto;
  transition: transform .25s cubic-bezier(.4,0,.2,1), opacity .15s;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Topbar Mobile (<= 880px): Burger + Overlay-Nav --- */
@media (max-width: 880px) {
  .topbar {
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding: 14px var(--pad-x);
  }
  .nav-toggle { display: block; }
  .topbar__cta { display: none; }

  .nav {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    z-index: 55;
    padding: 96px 24px 32px;
    overflow-y: auto;
    justify-self: stretch;
  }
  body.nav-open .nav { transform: translateX(0); }
  .nav a {
    font-family: var(--display);
    font-size: 28px;
    font-weight: 500;
    color: var(--fg);
    padding: 14px 24px;
    min-height: 44px;
    width: 100%;
    text-align: center;
  }
  .nav a::after { display: none; }
  .nav a.is-active { color: var(--accent); }

  /* CTA-Buttons im offenen Burger-Menu unten anzeigen */
  body.nav-open .topbar__cta {
    display: flex;
    position: fixed;
    bottom: 24px; left: 24px; right: 24px;
    flex-direction: column;
    gap: 10px;
    z-index: 56;
  }
  body.nav-open .topbar__cta a {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 14px 20px;
    font-size: 15px;
  }

  body.nav-open { overflow: hidden; }
}

/* --- Hero Mobile (<= 720px) --- */
@media (max-width: 720px) {
  .hero { padding-bottom: clamp(60px, 8vw, 100px); }
  .hero__inner {
    padding-top: clamp(48px, 8vw, 80px);
    gap: 28px;
  }
  .hero__title {
    font-size: clamp(40px, 11.5vw, 64px);
    line-height: 0.96;
  }
  .hero__lead {
    font-size: 16px;
    max-width: none;
  }
  .hero__cta {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .hero__cta .btn-primary {
    text-align: center;
    justify-content: center;
    min-height: 52px;
    padding: 16px 22px;
  }
  .hero__cta .btn-link {
    align-self: flex-start;
    min-height: 44px;
    padding: 8px 0;
  }
  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
    padding-top: 24px;
    gap: 20px 24px;
  }
  .hero__stats dt { font-size: clamp(22px, 6vw, 32px); }
  .hero__stats dd { font-size: 12px; }
  /* glyph eh nur ab 1100px — also keine Mobile-Anpassung nötig */
}

/* --- Hero sehr kleines Phone (<= 380px) --- */
@media (max-width: 380px) {
  .hero__title { font-size: clamp(34px, 12vw, 44px); }
  .hero__stats {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .hero__stats dt { font-size: 22px; }
  .hero__eyebrow { font-size: 11px; letter-spacing: 0.14em; }
}

/* --- Trusted Section Mobile --- */
@media (max-width: 720px) {
  .trusted { padding: 20px var(--pad-x); }
  .trusted__row {
    font-size: 15px;
    gap: 12px;
  }
}

/* --- Section-Headings Mobile --- */
@media (max-width: 720px) {
  .product, .vorteile, .branchen, .prozess {
    padding: clamp(60px, 9vw, 100px) var(--pad-x);
  }
  .product__head, .vorteile__head, .branchen__head, .prozess__head {
    margin-bottom: 40px;
    gap: 16px;
  }
  .product__head-title, .vorteile__title, .branchen__title, .prozess__title {
    font-size: clamp(32px, 8.5vw, 56px);
  }
  .product__head-lead { font-size: 16px; }
}

/* --- Product-Features Mobile --- */
@media (max-width: 720px) {
  .product__features {
    grid-template-columns: 1fr;
  }
  .product__feature { padding: 24px; }
  .console-mount { min-height: 540px; margin-bottom: 48px; }
}

/* --- Vorteile-Items Mobile (Verfeinerung des existierenden 720px breaks) --- */
@media (max-width: 720px) {
  .vorteile__item {
    padding: 28px 0;
    gap: 8px;
  }
  .vorteile__item:hover { padding-left: 0; }
  .vorteile__item h3 { font-size: clamp(24px, 7vw, 32px); }
  .vorteile__num { font-size: 12px; }
}

/* --- Branche-Cards Mobile-Refinement --- */
@media (max-width: 540px) {
  .branche {
    min-height: 180px;
    padding: 20px;
  }
  .branche__title { font-size: 22px; }
  .branche__desc { font-size: 13px; }
}

/* --- Prozess Mobile-Refinement --- */
@media (max-width: 480px) {
  .prozess__list li { padding: 22px; }
  .prozess__num { font-size: 44px; }
}

/* --- CTA-Block Mobile --- */
@media (max-width: 720px) {
  .cta { padding: clamp(60px, 12vw, 120px) var(--pad-x); }
  .cta__form { flex-direction: column; gap: 12px; }
  .cta__form input,
  .cta__form button {
    width: 100%;
    min-height: 52px;
  }
}

/* --- Footer Mobile-Refinement --- */
@media (max-width: 720px) {
  .foot { padding: 60px var(--pad-x) 24px; }
  .foot__top {
    gap: 28px;
    padding-bottom: 40px;
  }
  .foot__tag { font-size: 22px; }
}
@media (max-width: 540px) {
  .foot__top { grid-template-columns: 1fr; }
  .foot__brand { grid-column: span 1; }
  .foot__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* --- Touch-friendly minimum target sizes --- */
@media (max-width: 880px) {
  .btn-pill, .btn-ghost, .btn-primary,
  .nav a, .foot__col a, .plan__cta, .branchen-card__more,
  .ctrl, .console__btn, .chip {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* --- Sticky-Header nicht über Scrolling stören --- */
html { scroll-padding-top: 72px; }
@media (max-width: 880px) {
  html { scroll-padding-top: 56px; }
}

/* --- iOS Safari: 100vh-Fix für nav-open Overlay --- */
@supports (-webkit-touch-callout: none) {
  body.nav-open .nav { min-height: -webkit-fill-available; }
}

/* ============================================================
   VERKAUFSHEBEL — Trust-Strip, Sales-Banner, Floating-Call
   ============================================================ */

/* --- Trust-Strip (kleine Häkchen-Liste) --- */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
  font-family: var(--display);
  font-size: 13px;
  color: var(--fg-dim);
  letter-spacing: 0.02em;
}
.trust-strip li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trust-strip li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}

/* --- Inline Sales-Banner (zwischen Sections auf Landing) --- */
.sales-banner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px var(--pad-x);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 90% 50%, rgba(229,111,64,0.08), transparent 60%),
    var(--bg-2);
}
.sales-banner__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sales-banner__eyebrow {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.sales-banner__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: -0.01em;
  text-transform: lowercase;
  color: var(--fg);
  margin: 0;
}
.sales-banner__title em {
  font-family: var(--editorial);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.sales-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  background: var(--accent);
  color: var(--bg);
  padding: 14px 22px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .15s, transform .15s, padding-right .25s;
}
.sales-banner__cta:hover { background: var(--accent-soft); padding-right: 28px; }
@media (max-width: 720px) {
  .sales-banner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px var(--pad-x);
  }
  .sales-banner__cta {
    justify-content: center;
    min-height: 48px;
  }
}

/* --- Subhero-CTAs (auf Subpages unter dem Lead) --- */
.subhero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
.subhero__ctas .btn-primary,
.subhero__ctas .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: 999px;
  transition: background .15s, color .15s, border-color .15s, transform .15s, padding-right .25s;
}
.subhero__ctas .btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.subhero__ctas .btn-primary:hover { background: var(--accent-soft); padding-right: 28px; }
.subhero__ctas .btn-secondary {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line-2);
}
.subhero__ctas .btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 540px) {
  .subhero__ctas { flex-direction: column; align-items: stretch; }
  .subhero__ctas .btn-primary,
  .subhero__ctas .btn-secondary {
    justify-content: center;
    min-height: 48px;
  }
}

/* --- Floating Call-Button (nur Mobile, sticky bottom-right) --- */
.floating-call {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 45;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  display: none;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 22px;
  box-shadow: 0 10px 28px -8px rgba(229,111,64,0.6), 0 0 0 1px rgba(255,255,255,0.06) inset;
  transition: transform .2s, background .15s;
  -webkit-tap-highlight-color: transparent;
}
.floating-call:hover { background: var(--accent-soft); transform: scale(1.05); }
.floating-call:active { transform: scale(0.95); }
.floating-call::after {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg);
  color: var(--fg);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid var(--line-2);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.floating-call:hover::after { opacity: 1; }
@media (max-width: 880px) {
  .floating-call { display: inline-flex; }
}
/* Bei offenem Mobile-Nav verstecken */
body.nav-open .floating-call { display: none; }

/* --- Erweiterung des "flacker mit." CTA-Blocks --- */
.cta__options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 720px;
  margin-top: 12px;
}
.cta__option {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  text-align: left;
  transition: border-color .2s, background .2s, transform .2s;
}
.cta__option:hover {
  border-color: var(--accent);
  background: var(--bg-2);
  transform: translateY(-2px);
}
.cta__option-eyebrow {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.cta__option-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  color: var(--fg);
  margin: 0;
}
.cta__option-meta {
  font-size: 13px;
  color: var(--fg-dim);
  margin-top: auto;
  padding-top: 6px;
}
.cta__option-meta::after {
  content: ' →';
  color: var(--accent);
  font-family: var(--display);
}
@media (max-width: 720px) {
  .cta__options { grid-template-columns: 1fr; }
  .cta__option { padding: 16px; }
}

/* ============================================================
   "by Shape & Raise GmbH" — Brand-Owner sichtbar machen
   ============================================================ */

/* Footer-Brand-Pille (auf jeder Seite, zwischen Brand-Name und Tag) */
.brand-by {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--fg-dim);
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  padding: 7px 12px;
  border-radius: 999px;
  margin-top: 16px;
  width: fit-content;
  transition: color .15s, border-color .15s, background .15s;
  text-decoration: none;
}
.brand-by:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--bg-3);
}
.brand-by strong {
  font-weight: 600;
  color: var(--fg);
}
.brand-by:hover strong { color: var(--accent); }

/* Topbar: Mini-Sub-Zeile unter dem flackerkiste-Brand-Name (Desktop only) */
.brand__by {
  display: none;
  font-family: var(--display);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--fg-mute);
  text-transform: uppercase;
  margin-top: 2px;
  line-height: 1;
}
@media (min-width: 720px) {
  .brand {
    align-items: flex-start;
  }
  .brand__group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .brand__by { display: block; }
  /* Brand-Mark vertikal an der Schrift ausrichten */
  .brand { align-items: center; }
  .brand__group { transform: translateY(1px); }
}

/* Hero-Sub-Lead unter Hauptlead (kleiner Halbsatz) */
.hero__owner-note {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--fg-mute);
  margin: -16px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero__owner-note a {
  color: var(--fg-dim);
  border-bottom: 1px solid var(--line-2);
  transition: color .15s, border-color .15s;
}
.hero__owner-note a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.hero__owner-note::before {
  content: '⌁';
  color: var(--accent);
  font-size: 14px;
}

/* ============================================================
   Verschmolzener CTA + Kontaktformular (auf Landing)
   ============================================================ */
.cta--with-form {
  padding-bottom: 0; /* kein doppeltes Padding mit kontakt__layout darunter */
}
.cta--with-form .cta__inner {
  padding-bottom: clamp(40px, 6vw, 80px);
}
.cta--with-form .kontakt__layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--pad-x) clamp(60px, 10vw, 120px);
  text-align: left;
  position: relative;
}
/* Sanfte Trennlinie zwischen Optionen und Formular */
.cta--with-form .kontakt__layout::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--pad-x);
  right: var(--pad-x);
  height: 1px;
  background: var(--line);
}
/* Mobile: Trennlinie ohne pad-x offset */
@media (max-width: 880px) {
  .cta--with-form .kontakt__layout::before {
    left: var(--pad-x);
    right: var(--pad-x);
  }
}
