/* ============================================================
   QikMic – Landing Page Styles  v2
   ============================================================ */

/* --- Design Tokens ----------------------------------------- */
:root {
  --black:      #0d0d0d;
  --white:      #ffffff;
  --off:        #f5f5f3;
  --grey-1:     #ebebea;
  --grey-2:     #b0b0ac;
  --grey-3:     #6b6b67;
  --accent:     #1d50c6;
  --accent-h:   #7a6dff;
  --green:      #1ec97e;
  --radius:     14px;
  --radius-sm:  8px;
  --shadow:     0 4px 32px rgba(0,0,0,.08);
  --shadow-lg:  0 16px 64px rgba(0,0,0,.14);
  --font-display: 'Nunito', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --max-w: 1120px;
  --ease: cubic-bezier(.4,0,.2,1);
}

/* --- Reset ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); background: var(--white); color: var(--black); line-height: 1.65; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Skip link */
.skip-link { position: absolute; top: -100px; left: 1rem; background: var(--accent); color: var(--white); padding: .5rem 1rem; border-radius: var(--radius-sm); font-weight: 600; z-index: 9999; transition: top .2s; text-decoration: none; }
.skip-link:focus { top: 1rem; }

/* --- Typography -------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); }
p  { color: var(--grey-3); }

.section-label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .8rem; display: block; }

/* --- Layout ------------------------------------------------ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 96px 0; }
section:nth-child(even) { background: var(--off); }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
#cookie-banner {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  width: min(680px, calc(100vw - 2rem));
  background: var(--black); color: var(--white);
  border-radius: var(--radius); padding: 1.4rem 1.6rem;
  display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
  z-index: 1000; box-shadow: var(--shadow-lg);
  animation: slideUp .4s var(--ease);
}
#cookie-banner.hidden { display: none; }
#cookie-banner p { color: rgba(255,255,255,.8); font-size: .9rem; flex: 1; min-width: 200px; }
#cookie-banner a { color: var(--white); text-decoration: underline; }
.cookie-btns { display: flex; gap: .6rem; flex-wrap: wrap; }
.btn-cookie-accept { background: var(--accent); color: var(--white); padding: .55rem 1.2rem; border-radius: 100px; font-size: .875rem; font-weight: 600; transition: background .3s var(--ease); }
.btn-cookie-accept:hover { background: var(--accent-h); }
.btn-cookie-decline { background: rgba(255,255,255,.12); color: var(--white); padding: .55rem 1.2rem; border-radius: 100px; font-size: .875rem; font-weight: 600; transition: background .3s var(--ease); }
.btn-cookie-decline:hover { background: rgba(255,255,255,.22); }

/* ============================================================
   NAV
   ============================================================ */
body > nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 1rem 0;
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
body > nav.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,.07);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 40px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links li { display: flex; align-items: center; }
.nav-links a { font-size: .9rem; font-weight: 500; color: var(--grey-3); transition: color .25s; }
.nav-links a:hover { color: var(--black); }

.btn-nav { background: var(--black); color: var(--white) !important; padding: .55rem 1.3rem; border-radius: 100px; font-size: .875rem; font-weight: 600; transition: background .3s var(--ease), transform .25s var(--ease) !important; display: inline-block; }
.btn-nav:hover { background: var(--accent) !important; transform: translateY(-1px) !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: .4rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--black); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  body > nav .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column;
    padding: 1.5rem; gap: 1.2rem;
    box-shadow: var(--shadow); border-top: 1px solid var(--grey-1);
  }
  body > nav .nav-links.open { display: flex; }
  body > nav .nav-links a { font-size: 1rem; color: var(--black); }
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  padding: 160px 0 100px;
  min-height: 100svh;
  display: flex; align-items: center;
  background: var(--white);
  position: relative; overflow: hidden;
}
.hero-bg-blob {
  position: absolute; width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(90,75,255,.07) 0%, transparent 68%);
  top: -250px; right: -250px; pointer-events: none;
  animation: pulse 9s ease-in-out infinite;
}
/* second blob */
#hero::after {
  content: '';
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30,201,126,.05) 0%, transparent 70%);
  bottom: -100px; left: -100px; pointer-events: none;
  animation: pulse 12s 3s ease-in-out infinite;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

.hero-kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--off); border: 1px solid var(--grey-1);
  border-radius: 100px; padding: .35rem .9rem;
  font-size: .8rem; font-weight: 600; color: var(--grey-3);
  margin-bottom: 1.5rem;
  animation: fadeUp .6s var(--ease) both;
}
.hero-kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: blink 2s ease infinite; }

.hero-text h1 { animation: fadeUp .6s .1s var(--ease) both; margin-bottom: 1.4rem; }
.hero-text h1 em { font-style: normal; color: var(--accent); }
.hero-text p { font-size: 1.15rem; line-height: 1.7; max-width: 480px; animation: fadeUp .6s .2s var(--ease) both; margin-bottom: 2.2rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeUp .6s .3s var(--ease) both; }

.btn-primary {
  background: var(--accent); color: var(--white);
  padding: .8rem 1.8rem; border-radius: 100px; font-size: 1rem; font-weight: 700;
  transition: background .3s var(--ease), transform .25s var(--ease), box-shadow .3s var(--ease);
  box-shadow: 0 4px 20px rgba(90,75,255,.3);
}
.btn-primary:hover { background: var(--accent-h); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(90,75,255,.4); }
.btn-ghost { border: 1.5px solid var(--grey-1); color: var(--black); padding: .78rem 1.8rem; border-radius: 100px; font-size: 1rem; font-weight: 600; transition: border-color .25s, transform .25s var(--ease); }
.btn-ghost:hover { border-color: var(--black); transform: translateY(-2px); }

/* Hero video */
.hero-visual { animation: fadeUp .7s .2s var(--ease) both; position: relative; }
.hero-video-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--grey-1);
  position: relative;
  background: #111;
  aspect-ratio: 16/9;
  transform: scale(1.36);
  transform-origin: left center;
}
.hero-video-wrap video { width: 100%; height: 100%; display: block; object-fit: cover; }
.video-label {
  position: absolute; bottom: .8rem; left: .8rem;
  background: rgba(0,0,0,.65); backdrop-filter: blur(6px);
  color: var(--white); font-size: .75rem; font-weight: 600;
  padding: .3rem .7rem; border-radius: 100px;
  pointer-events: none;
}
.hero-badge {
  position: absolute; bottom: -5rem; left: -1.2rem;
  background: var(--white); border: 1px solid var(--grey-1);
  border-radius: var(--radius); padding: .9rem 1.1rem;
  font-size: .85rem; font-weight: 600; box-shadow: var(--shadow);
  white-space: nowrap;
  animation: floatBadge 4s ease-in-out infinite;
}
@media (max-width: 1444px) {
  .hero-video-wrap {transform: scale(1);}
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  #hero { padding-top: 120px; padding-bottom: 60px; min-height: auto; }
  .hero-visual { order: -1; }
  .hero-badge { left: auto; right: .5rem; bottom: -1rem; }
  .hero-video-wrap {transform: scale(1);}
}

/* ============================================================
   TICKER / PROOF BAR
   ============================================================ */
#proof-bar { background: var(--black); color: var(--white); position: relative; }
.ticker-outer {
  display: flex;
  align-items: stretch;
  position: relative;
}
.ticker-scroll-area {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}
.ticker-track {
  display: flex; gap: 3rem; padding: 1rem 0;
  white-space: nowrap;
  animation: ticker 24s linear infinite;
  width: max-content;
}
.ticker-track.paused { animation-play-state: paused; }
.ticker-item { display: flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 500; color: rgba(255,255,255,.7); flex-shrink: 0; }
.ticker-item strong { color: var(--white); }

.ticker-toggle {
  flex-shrink: 0;
  padding: 0 1.2rem;
  background: var(--white);
  border: none;
  color: var(--black);
  border-left: 1px solid rgba(255,255,255,.15);
  font-size: .8rem;
  font-weight: 700;
  display: flex; align-items: center; gap: .4rem;
  transition: background .25s, color .25s;
  white-space: nowrap;
  cursor: pointer;
  min-height: 44px;
}
.ticker-toggle:hover { background: var(--grey-1); }
.ticker-toggle .ticker-icon-play { display: none; }
.ticker-toggle[aria-pressed="true"] .ticker-icon-pause { display: none; }
.ticker-toggle[aria-pressed="true"] .ticker-icon-play { display: inline; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
#how { text-align: center; }
.how-intro { max-width: 620px; margin: 0 auto 4rem; }
.how-intro p { font-size: 1.1rem; margin-top: .8rem; }

.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; text-align: left; }
.step-card {
  background: var(--white); border: 1px solid var(--grey-1);
  border-radius: var(--radius); padding: 2rem;
  opacity: 0; transform: translateY(24px);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.step-card.visible { opacity: 1; transform: translateY(0); }
.step-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px) !important; }
.step-emoji { font-size: 2.2rem; margin-bottom: 1rem; line-height: 1; }
.step-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.step-card p { font-size: .9rem; }
.step-num { font-size: 1.2rem!important; font-weight: 900; letter-spacing: 0; color: var(--accent); }

/* ============================================================
   SCREENSHOT SHOWCASE
   ============================================================ */
#showcase { background: var(--off); }
.showcase-intro { max-width: 620px; margin: 0 auto 3.5rem; text-align: center; }
.showcase-intro p { margin-top: .8rem; font-size: 1.05rem; }

.showcase-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem; align-items: start; }
.showcase-main { position: relative; }
.showcase-img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--grey-1); }
.showcase-caption {
  position: absolute; bottom: 1rem; left: 1rem;
  background: rgba(0,0,0,.65); backdrop-filter: blur(6px);
  color: var(--white); font-size: .8rem; font-weight: 600;
  padding: .35rem .8rem; border-radius: 100px;
}
.showcase-side { display: flex; flex-direction: column; gap: 1.5rem; }

/* Placeholder screenshot cards */
.screenshot-placeholder {
  border-radius: var(--radius);
  border: 2px dashed var(--grey-1);
  background: var(--white);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateX(24px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), border-color .25s, box-shadow .25s;
}
.screenshot-placeholder.visible { opacity: 1; transform: translateX(0); }
.screenshot-placeholder:hover { border-color: var(--accent); box-shadow: 0 8px 32px rgba(90,75,255,.1); }
.ph-inner { text-align: center; padding: 1.5rem; }
.ph-emoji { font-size: 2.5rem; margin-bottom: .8rem; }
.ph-inner p { color: var(--black); font-weight: 600; font-size: .95rem; line-height: 1.4; }
.ph-inner p span { color: var(--grey-3); font-weight: 400; }
.ph-note { color: var(--grey-2) !important; font-size: .72rem !important; font-weight: 400 !important; margin-top: .8rem; }

/* Scroll-in animations */
.reveal-left { opacity: 0; transform: translateX(-32px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(32px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

@media (max-width: 800px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-side { flex-direction: row; }
  .screenshot-placeholder { aspect-ratio: 3/2; }
}

/* ============================================================
   BANNER
   ============================================================ */
#banner-section { background: var(--white); padding: 0; }
.banner-wrap { max-width: var(--max-w); margin: 0 auto; padding: 3rem 1.5rem; text-align: center; }
.banner-img { border-radius: var(--radius); max-width: 900px; width: 100%; margin: 0 auto; }

/* ============================================================
   USE CASES
   ============================================================ */
#usecases { text-align: center; background: var(--off); }
.usecases-intro { max-width: 600px; margin: 0 auto 3.5rem; }
.usecases-intro p { margin-top: .8rem; font-size: 1.1rem; }
.usecase-tags { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.usecase-tag {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--white); border: 1.5px solid var(--grey-1);
  border-radius: 100px; padding: .6rem 1.2rem; font-size: .9rem; font-weight: 500;
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
  cursor: default;
  opacity: 0; transform: scale(.9);
}
.usecase-tag.visible { opacity: 1; transform: scale(1); transition: opacity .4s var(--ease), transform .4s var(--ease), border-color .25s, box-shadow .25s; }
.usecase-tag:hover { border-color: var(--accent); box-shadow: 0 4px 16px rgba(90,75,255,.12); transform: translateY(-2px) scale(1); }

/* ============================================================
   INTEGRATION / SETUP SECTION
   ============================================================ */
#integration { background: var(--white); }
.integration-intro { max-width: 680px; margin: 0 auto 3.5rem; text-align: center; }
.integration-intro p { font-size: 1.05rem; margin-top: .8rem; }

.integration-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}

/* --- Accordion --------------------------------------------- */
.accordion { display: flex; flex-direction: column; gap: .6rem; }

.accordion-item {
  border: 1.5px solid var(--grey-1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
  background: var(--white);
}
.accordion-item.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(90,75,255,.07), var(--shadow);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.1rem 1.3rem;
  background: none;
  text-align: left;
  cursor: pointer;
  transition: background .2s;
}
.accordion-trigger:hover { background: var(--off); }
.accordion-item.active .accordion-trigger { background: #d3ecff; }

.acc-icon { font-size: 1.5rem; flex-shrink: 0; line-height: 1; }
.acc-label { flex: 1; min-width: 0; }
.acc-label strong { display: block; font-size: .95rem; color: var(--black); font-family: var(--font-body); font-weight: 700; }
.acc-label span { display: block; font-size: .8rem; color: var(--black); margin-top: .15rem; }

.acc-chevron {
  width: 18px; height: 18px; flex-shrink: 0;
  border-right: 2px solid var(--grey-2);
  border-bottom: 2px solid var(--grey-2);
  transform: rotate(45deg);
  transition: transform .3s var(--ease), border-color .25s;
  margin-right: .2rem;
  margin-top: -4px;
}
.accordion-item.active .acc-chevron {
  transform: rotate(-135deg);
  border-color: var(--accent);
  margin-top: 4px;
}

.accordion-body {
  padding: 10px 1.3rem 1.3rem 3.6rem;
  animation: fadeUp .3s var(--ease) both;
}
.accordion-body[hidden] { display: none; }

.acc-desc { font-size: .9rem; color: var(--grey-3); line-height: 1.7; margin-bottom: 1rem; }

.acc-facts {
  display: flex; flex-direction: column; gap: .35rem;
}
.acc-facts li {
  font-size: .85rem;
  color: var(--grey-3);
  padding: .3rem .6rem;
  background: var(--off);
  border-radius: var(--radius-sm);
}

/* VS table */
.vs-table {
  border: 1px solid var(--grey-1);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-size: .85rem;
  margin-top: .5rem;
}
.vs-row {
  display: grid;
  grid-template-columns: 1fr .7fr .7fr;
  border-bottom: 1px solid var(--grey-1);
}
.vs-row:last-child { border: none; }
.vs-row > div { padding: .5rem .75rem; }
.vs-header { background: var(--off); font-weight: 700; font-size: .8rem; color: var(--black); }
.vs-qikmic { background: rgba(90,75,255,.04); color: var(--accent); font-weight: 600; }

/* --- Diagram panel ----------------------------------------- */
.integration-diagram {
  position: sticky;
  top: 100px;
  background: var(--off);
  border: 1px solid var(--grey-1);
  border-radius: var(--radius);
  padding: 1.2rem;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow .3s;
}
.integration-diagram:has(svg) { box-shadow: var(--shadow); }
@media (max-width: 960px) {
  .integration-diagram { display:none; }
}
#scenario-svg {
  width: 100%;
  height: auto;
  max-width: 340px;
}
#scenario-svg text { user-select: none; }

/* SVG group fade */
#scenario-svg g { transition: opacity .35s var(--ease); }

/* ── Zoom-Button im Diagramm-Panel ──────────────────────── */
.diagram-zoom-btn {
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .8rem;
  background: var(--white);
  border: 1px solid var(--grey-1);
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--grey-3);
  cursor: pointer;
  transition: border-color .2s, color .2s, box-shadow .2s;
  font-family: var(--font-body);
}
.diagram-zoom-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 2px 8px rgba(90,75,255,.12);
}

/* ── Diagram Modal ────────────────────────────────────────── */
/* .diagram-modal – Styles sind jetzt direkt im HTML-Element als Inline-Style,
   damit display:none zuverlässig durch JS überschrieben werden kann */

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13,13,13,.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
}

.modal-box {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  width: min(680px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  animation: fadeUp .25s var(--ease) both;
}

.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--off);
  border: 1px solid var(--grey-1);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--grey-3);
  transition: background .2s, color .2s;
  font-family: var(--font-body);
}
.modal-close:hover { background: var(--grey-1); color: var(--black); }

.modal-title {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  align-self: flex-start;
}

.modal-svg-wrap { width: 100%; max-width: 560px; }
.modal-svg-wrap svg { width: 100%; height: auto; display: block; }

.modal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
  padding-top: .8rem;
  border-top: 1px solid var(--grey-1);
  width: 100%;
}
.legend-item { display: flex; align-items: center; gap: .4rem; font-size: .8rem; color: var(--grey-3); }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.legend-qikmic .legend-dot  { background: #5a4bff; }
.legend-audio .legend-dot   { background: #1ec97e; }
.legend-hardware .legend-dot { background: #b0b0ac; }

/* ── Tech chips ─────────────────────────────────────────── */
.tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 2.5rem;
  justify-content: center;
  list-style: none;
  padding: 0;
}
.tech-chip {
  background: var(--off);
  border: 1px solid var(--grey-1);
  border-radius: 100px;
  padding: .45rem 1rem;
  font-size: .8rem;
  font-weight: 500;
  color: var(--grey-3);
  transition: border-color .2s, color .2s;
}
.tech-chip:hover { border-color: var(--green); color: var(--black); }

/* --- CTA --------------------------------------------------- */
.integration-cta {
  text-align: center;
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.integration-cta p { font-size: 1rem; color: var(--grey-3); }

/* Responsive */
@media (max-width: 960px) {
  .integration-layout { grid-template-columns: 1fr; }
  .integration-diagram { position: static; }
  #scenario-svg { max-width: 300px; }
}

/* ============================================================
   FEATURES
   ============================================================ */
#features .features-intro { max-width: 620px; margin: 0 auto 4rem; text-align: center; }
.features-intro p { margin-top: .8rem; font-size: 1.05rem; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.feature-card {
  background: var(--white); border: 1px solid var(--grey-1);
  border-radius: var(--radius); padding: 1.8rem;
  opacity: 0; transform: translateY(16px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), box-shadow .3s, border-color .25s;
}
.feature-card.visible { opacity: 1; transform: translateY(0); }
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px) !important; border-color: var(--grey-2); }
.feature-icon { font-size: 1.8rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.feature-card p { font-size: .875rem; }
.feature-card--soon { border-style: dashed; }
.soon-badge { font-size: .65rem; background: var(--accent); color: var(--white); padding: .2rem .5rem; border-radius: 100px; font-weight: 700; letter-spacing: .05em; vertical-align: middle; margin-left: .4rem; }

/* ============================================================
   CONTACT
   ============================================================ */
#contact { text-align: center; }
.contact-intro { max-width: 560px; margin: 0 auto 3rem; }
.contact-intro p { font-size: 1.05rem; margin-top: .8rem; }
.contact-form {
  max-width: 600px; margin: 0 auto;
  background: var(--off); border: 1px solid var(--grey-1);
  border-radius: var(--radius); padding: 2.4rem 2rem; text-align: left;
}
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .45rem; color: var(--black); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--grey-1); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; color: var(--black); background: var(--white);
  transition: border-color .25s, box-shadow .25s; appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(90,75,255,.12); outline: none; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-submit {
  width: 100%; background: var(--accent); color: var(--white);
  padding: .9rem; border-radius: 100px; font-size: 1rem; font-weight: 700;
  margin-top: .5rem;
  transition: background .3s var(--ease), transform .25s var(--ease), box-shadow .3s var(--ease);
  box-shadow: 0 4px 20px rgba(90,75,255,.3);
}
.form-submit:hover { background: var(--accent-h); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(90,75,255,.4); }
.form-success { display: none; text-align: center; padding: 2rem; font-size: 1rem; color: var(--green); font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: var(--black); color: rgba(255,255,255,.6); padding: 3rem 0 2rem; font-size: .875rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 2rem; }
.footer-logo img { height: 30px; width: auto; margin-bottom: .7rem; }
.footer-logo p { font-size: .8rem; max-width: 200px; color: var(--grey-2); }
.footer-links { display: flex; flex-wrap: wrap; gap: 2rem; }
.footer-col h4 { color: var(--white); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .8rem; }
.footer-col li { margin-bottom: .5rem; }
.footer-col a { color: rgba(255,255,255,.55); transition: color .25s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); text-align: center; font-size: .8rem; }
.footer-bottom p {color: var(--grey-2);}
.footer-bottom p a {text-decoration: underline; color: var(--grey-2);}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-page { min-height: 100vh; padding-top: 100px; }
.legal-page.active { display: block; }
.legal-content { max-width: 760px; margin: 0 auto; padding: 2rem 1.5rem 5rem; }
.legal-content h1 { font-size: 2rem; margin-bottom: 1.5rem; }
.legal-content h2 { font-size: 1.25rem; margin: 2rem 0 .7rem; }
.legal-content p, .legal-content li { font-size: .95rem; color: var(--grey-3); line-height: 1.75; }
.legal-content ul { list-style: disc; padding-left: 1.4rem; margin-top: .5rem; }
.legal-content a { color: var(--accent); text-decoration: underline; }
.legal-back { display: inline-flex; align-items: center; gap: .4rem; color: var(--accent); font-weight: 600; font-size: .875rem; margin-bottom: 2rem; }

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.08); opacity: .8; }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .25; }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes slideUp {
  from { transform: translate(-50%, 20px); opacity: 0; }
  to   { transform: translate(-50%, 0);    opacity: 1; }
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position:  400px 0; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .ticker-track { animation: none; }
}


#integration {
  background: var(--white);
  padding: 96px 0; /* Standard-Section-Abstand oben/unten */
}
 
/* Intro-Block (zentrierter Text über dem Layout) */
.integration-intro {
  max-width: 680px;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.integration-intro p {
  font-size: 1.05rem;
  margin-top: .8rem;
}
 
 
 