/* ==========================================================================
   Social Amplify — Website
   Design-Tokens & Komponenten gemäß design_handoff_social_amplify_website
   ========================================================================== */

/* --- Fonts (selbst gehostet, DSGVO-konform) --- */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/space-grotesk-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/space-grotesk-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/manrope-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/manrope-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Basis --- */
:root {
  --bg: #070A12;
  --panel: #0C1120;
  --chrome: #10162A;
  --text: #EAEEF7;
  --text-2: #9AA3B8;
  --text-3: #8B93A7;
  --text-4: #6B7690;
  --text-card: #C4CBDB;
  --nav-link: #B4BCD0;
  --blue: #4C6FFF;
  --cyan: #35D0E6;
  --blue-light: #6E8CFF;
  --blue-lighter: #9DB0FF;
  --cyan-light: #7EE3F0;
  --grad: linear-gradient(135deg, #4C6FFF, #35D0E6);
  --grad-text: linear-gradient(120deg, #6E8CFF, #35D0E6);
  --border: rgba(255, 255, 255, 0.08);
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}
::selection { background: var(--blue); color: #fff; }
a { color: inherit; }

@keyframes saFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes saPulse { 0%, 100% { opacity: .5; } 50% { opacity: .9; } }

/* --- Ambient Glows --- */
.sa-glow {
  position: absolute;
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}

/* --- Typografie-Helfer --- */
.sa-grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sa-eyebrow {
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--blue-light);
  margin-bottom: 16px;
}

/* --- Header / Nav --- */
.sa-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 10, 18, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.sa-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.sa-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.sa-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--grad);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(76, 111, 255, 0.45);
  flex-shrink: 0;
}
.sa-logo::before {
  content: '';
  width: 64%;
  height: 64%;
  background: url('/img/logo-mark.png') center / contain no-repeat;
}
.sa-logo--sm { width: 28px; height: 28px; box-shadow: none; }

/* Bildmarke in Verlaufsfarbe (freistehend) */
.sa-mark {
  display: inline-block;
  background: var(--grad);
  -webkit-mask: url('/img/logo-mark.png') center / contain no-repeat;
  mask: url('/img/logo-mark.png') center / contain no-repeat;
  flex-shrink: 0;
}

/* Bildmarke als dekoratives Wasserzeichen */
.sa-watermark {
  position: absolute;
  pointer-events: none;
  background: #fff;
  opacity: 0.05;
  -webkit-mask: url('/img/logo-mark.png') center / contain no-repeat;
  mask: url('/img/logo-mark.png') center / contain no-repeat;
}
.sa-wordmark {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 14px;
  color: var(--text);
}
.sa-nav-right { display: flex; align-items: center; gap: 32px; }
.sa-desknav { display: flex; gap: 30px; }
.sa-desknav a {
  color: var(--nav-link);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color .2s;
}
.sa-desknav a:hover { color: var(--text); }
.sa-desknav a[aria-current="page"] { color: var(--text); font-weight: 600; }

/* --- Buttons --- */
.sa-btn {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  color: var(--bg);
  background: var(--grad);
  padding: 16px 30px;
  border-radius: 12px;
  display: inline-block;
  box-shadow: 0 12px 34px rgba(76, 111, 255, 0.4);
  transition: transform .2s, box-shadow .2s;
}
.sa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(76, 111, 255, 0.55);
}
.sa-btn--nav {
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(76, 111, 255, 0.35);
  white-space: nowrap;
}
.sa-btn--nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(76, 111, 255, 0.5);
}
.sa-btn--sm { font-size: 15px; padding: 13px 26px; border-radius: 11px; box-shadow: none; }
.sa-btn--sm:hover { box-shadow: none; }
.sa-btn--block { display: block; text-align: center; }
.sa-btn-ghost {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 16px 30px;
  border-radius: 12px;
  display: inline-block;
  transition: background .2s, border-color .2s;
}
.sa-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}
.sa-link-accent {
  text-decoration: none;
  color: var(--cyan);
  font-weight: 600;
  font-size: 14px;
  font-family: var(--font-head);
  transition: color .2s;
}
.sa-link-accent:hover { color: var(--blue-light); }

/* --- Mobile Nav --- */
.sa-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}
.sa-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .25s, opacity .25s;
}
.sa-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.sa-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.sa-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.sa-mobilenav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 10px 28px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.sa-mobilenav a {
  color: var(--nav-link);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 0;
}
.sa-mobilenav a[aria-current="page"] { color: var(--text); font-weight: 600; }
.sa-mobilenav.is-open { display: flex; }

/* --- Hero / Sektionen --- */
.sa-section { position: relative; z-index: 1; margin: 0 auto; padding: 0 28px; }

.sa-hero {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 28px 64px;
  text-align: center;
}
.sa-hero h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 auto 26px;
  max-width: 960px;
  text-wrap: balance;
}
.sa-hero-sub {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
  color: var(--text-2);
  max-width: 640px;
  margin: 0 auto 40px;
  text-wrap: pretty;
}
.sa-pagehero {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  padding: 84px 28px 20px;
  text-align: center;
}
.sa-pagehero h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(38px, 5.5vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 auto 22px;
  max-width: 780px;
}
.sa-pagehero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 600px;
  margin: 0 auto;
}

.sa-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border: 1px solid rgba(76, 111, 255, 0.35);
  border-radius: 100px;
  background: rgba(76, 111, 255, 0.08);
  margin-bottom: 26px;
}
.sa-badge span {
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--blue-lighter);
}
.sa-badge--cyan { border-color: rgba(53, 208, 230, 0.35); background: rgba(53, 208, 230, 0.08); }
.sa-badge--cyan span { color: var(--cyan-light); }
.sa-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: saPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.sa-cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.sa-section-head { text-align: center; margin-bottom: 52px; }
.sa-section-head h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.02em;
  margin: 0 auto 16px;
  line-height: 1.08;
}
.sa-section-head p {
  color: var(--text-2);
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto;
}

h2.sa-h2-feature {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  line-height: 1.1;
}
h2.sa-h2-sub {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.02em;
  margin: 0;
}

/* --- Karten --- */
.sa-card-hover { transition: transform .25s, border-color .25s; }
.sa-card-hover:hover { transform: translateY(-4px); }
.sa-card-hover--blue:hover { border-color: rgba(76, 111, 255, 0.4) !important; }
.sa-card-hover--cyan:hover { border-color: rgba(53, 208, 230, 0.4) !important; }

.sa-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-card);
}
.sa-check > span:first-child { color: var(--cyan); flex-shrink: 0; }
.sa-check--lg { font-size: 15px; gap: 11px; align-items: center; }

.sa-icon-tile {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(76, 111, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 24px;
}
.sa-icon-tile--cyan { background: rgba(53, 208, 230, 0.14); }

/* --- Footer --- */
.sa-footer {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 100px auto 0;
  padding: 48px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.sa-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.sa-footer-col-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 16px;
}
.sa-footer-links { display: flex; flex-direction: column; gap: 10px; }
.sa-footer-links a {
  color: var(--text-3);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s;
}
.sa-footer-links a:hover { color: var(--text); }
.sa-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
  gap: 12px;
}
.sa-footer-bottom span { color: var(--text-4); font-size: 13px; }
.sa-footer--compact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.sa-footer--compact > span { color: var(--text-4); font-size: 13px; }

/* --- Responsive --- */
@media (max-width: 760px) {
  .sa-desknav { display: none; }
  .sa-menu-toggle { display: inline-flex; }
  .sa-nav { padding: 14px 20px; gap: 12px; }
  .sa-nav-right { gap: 12px; }
  .sa-btn--nav { padding: 10px 14px; font-size: 13px; }
  .sa-wordmark { line-height: 1.3; }
}
@media (max-width: 560px) {
  .sa-phone { display: none !important; }
  .sa-mocknav { display: none !important; }
  .sa-mockgrid { grid-template-columns: 1fr !important; }
  .sa-mockleft { padding: 24px 20px !important; }
  .sa-mockright {
    border-left: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 18px 20px !important;
  }
  .sa-mocktitle { font-size: 21px !important; }
}
@media (max-width: 520px) {
  .sa-hero { padding-top: 60px; }
  .sa-hero h1 { font-size: 34px; }
}
