/* ============================================
   Felix Betzin – FBcom Design System
   assets.felixbetzin.com/fbcom-design.css
   ============================================ */

/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

/* TOKENS */
:root {
  /* Farben */
  --fx-bg:           #fafafa;
  --fx-surface:      #ffffff;
  --fx-text:         #1d1d1f;
  --fx-muted:        #6e6e73;
  --fx-accent:       #0066cc;
  --fx-accent-dark:  #0052a3;
  --fx-accent-light: #e8f0fb;
  --fx-border:       rgba(0, 0, 0, 0.07);

  /* Grün – Call to Action */
  --fx-green:        #3aaa6a;
  --fx-green-dark:   #2e9158;
  --fx-green-light:  #e8f5ee;

  /* Schatten */
  --fx-shadow:       0 2px 8px rgba(0,0,0,0.05), 0 12px 40px rgba(0,0,0,0.07);
  --fx-shadow-hover: 0 8px 20px rgba(0,0,0,0.09), 0 30px 60px rgba(0,0,0,0.11);

  /* Typografie */
  --fx-font:         'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --fx-size-xs:      12px;
  --fx-size-sm:      13px;
  --fx-size-base:    15px;
  --fx-size-md:      17px;
  --fx-size-lg:      19px;
  --fx-size-xl:      28px;
  --fx-size-2xl:     42px;
  --fx-size-hero:    clamp(36px, 5.5vw, 64px);

  /* Abstände */
  --fx-radius-sm:    10px;
  --fx-radius-md:    18px;
  --fx-radius-lg:    22px;
  --fx-radius-pill:  980px;
  --fx-section-pad:  72px;
  --fx-max-width:    960px;
}

/* RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  background: #e8e8ed;
  padding: 32px;
  overflow-y: auto;
  scroll-behavior: smooth;
}

body {
  font-family: var(--fx-font);
  font-size: var(--fx-size-base);
  font-weight: 400;
  line-height: 1.65;
  color: var(--fx-text);
  background: var(--fx-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  max-width: 1360px;
  margin: 0 auto;
  border-radius: 24px 24px 28px 28px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10), 0 24px 64px rgba(0,0,0,0.08);
}

/* NAVIGATION */
.fx-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(250, 250, 250, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 0.5px solid var(--fx-border);
  border-radius: 24px 24px 0 0;
}

.fx-nav-logo {
  font-size: var(--fx-size-base);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fx-text);
  text-decoration: none;
}

.fx-nav-center {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}

.fx-nav-center a {
  font-size: var(--fx-size-sm);
  color: var(--fx-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.fx-nav-center a:hover { color: var(--fx-text); }

.fx-nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fx-nav-divider {
  width: 1px;
  height: 20px;
  background: var(--fx-border);
  margin-left: 4px;
}

.fx-nav-cta {
  font-size: var(--fx-size-sm);
  font-weight: 500;
  color: #fff;
  background: var(--fx-accent);
  padding: 8px 18px;
  border-radius: var(--fx-radius-pill);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.fx-nav-cta:hover {
  background: var(--fx-accent-dark);
  transform: translateY(-1px);
}

.fx-nav-tools {
  font-size: var(--fx-size-sm);
  font-weight: 600;
  color: #fff;
  background: var(--fx-green);
  padding: 8px 18px;
  border-radius: var(--fx-radius-pill);
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: -0.01em;
}

.fx-nav-tools:hover {
  background: var(--fx-green-dark);
  transform: translateY(-1px);
}

/* LAYOUT */
.fx-section {
  max-width: var(--fx-max-width);
  margin: 0 auto;
  padding: 0 48px var(--fx-section-pad);
}

.fx-hero {
  max-width: var(--fx-max-width);
  margin: 0 auto;
  padding: 88px 48px 64px;
  text-align: center;
}

/* TYPOGRAFIE */
.fx-label {
  font-size: var(--fx-size-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fx-accent);
  margin-bottom: 16px;
  display: block;
}

.fx-h1 {
  font-size: var(--fx-size-hero);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.06;
  color: var(--fx-text);
  margin-bottom: 20px;
}

.fx-h2 {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--fx-text);
  margin-bottom: 8px;
}

.fx-h2-sub {
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--fx-muted);
  margin-bottom: 40px;
}

.fx-h3 {
  font-size: var(--fx-size-base);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-bottom: 8px;
}

.fx-lead {
  font-size: var(--fx-size-lg);
  font-weight: 300;
  line-height: 1.65;
  color: var(--fx-muted);
}

.fx-body {
  font-size: var(--fx-size-sm);
  font-weight: 400;
  line-height: 1.6;
  color: var(--fx-muted);
}

/* BUTTONS */
.fx-btn-primary {
  display: inline-block;
  background: var(--fx-accent);
  color: #fff;
  font-family: var(--fx-font);
  font-size: var(--fx-size-base);
  font-weight: 500;
  padding: 13px 26px;
  border-radius: var(--fx-radius-pill);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.fx-btn-primary:hover {
  background: var(--fx-accent-dark);
  transform: translateY(-1px);
}

.fx-btn-secondary {
  display: inline-block;
  background: var(--fx-surface);
  color: var(--fx-text);
  font-family: var(--fx-font);
  font-size: var(--fx-size-base);
  font-weight: 500;
  padding: 13px 26px;
  border-radius: var(--fx-radius-pill);
  text-decoration: none;
  border: 0.5px solid var(--fx-border);
  cursor: pointer;
  transition: background 0.2s;
}

.fx-btn-secondary:hover { background: #efefef; }

.fx-btn-white {
  display: inline-block;
  background: #fff;
  color: var(--fx-accent);
  font-family: var(--fx-font);
  font-size: var(--fx-size-base);
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--fx-radius-pill);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.fx-btn-white:hover {
  background: var(--fx-accent-light);
  transform: translateY(-1px);
}

.fx-btn-white-outline {
  display: inline-block;
  background: transparent;
  color: #fff;
  font-family: var(--fx-font);
  font-size: var(--fx-size-base);
  font-weight: 400;
  padding: 13px 26px;
  border-radius: var(--fx-radius-pill);
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.2s;
}

.fx-btn-white-outline:hover {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.fx-btn-green {
  display: inline-block;
  background: var(--fx-green);
  color: #fff;
  font-family: var(--fx-font);
  font-size: var(--fx-size-sm);
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--fx-radius-pill);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.fx-btn-green:hover {
  background: var(--fx-green-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(42,157,92,0.3);
}

.fx-btn-green-wide {
  display: block;
  width: 100%;
  background: var(--fx-green);
  color: #fff;
  font-family: var(--fx-font);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: var(--fx-radius-pill);
  text-decoration: none;
  text-align: center;
  margin-top: 24px;
  transition: all 0.2s;
  letter-spacing: -0.01em;
}

.fx-btn-green-wide:hover {
  background: var(--fx-green-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(42,157,92,0.3);
}

/* CARDS */
.fx-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.fx-card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.fx-card {
  background: var(--fx-surface);
  border-radius: var(--fx-radius-md);
  border: 0.5px solid var(--fx-border);
  padding: 28px;
  box-shadow: var(--fx-shadow);
  transition: box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: perspective(800px) rotateX(0deg) translateY(0);
  position: relative;
  overflow: hidden;
}

.fx-card:hover {
  box-shadow: var(--fx-shadow-hover);
  transform: perspective(800px) rotateX(2.5deg) translateY(-5px);
}

.fx-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255,255,255,0.5) 0%, transparent 55%);
  pointer-events: none;
  border-radius: var(--fx-radius-md);
}

.fx-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--fx-radius-sm);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.fx-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: var(--fx-accent);
  background: var(--fx-accent-light);
  padding: 3px 10px;
  border-radius: 980px;
  margin-bottom: 12px;
}

.fx-card-link {
  display: inline-block;
  font-size: var(--fx-size-sm);
  font-weight: 500;
  color: var(--fx-accent);
  text-decoration: none;
  margin-top: 14px;
}

.fx-card-link:hover { text-decoration: underline; }

/* SURFACE */
.fx-surface {
  background: var(--fx-surface);
  border-radius: var(--fx-radius-lg);
  border: 0.5px solid var(--fx-border);
  box-shadow: var(--fx-shadow);
  padding: 48px;
}

/* CTA BANNER */
.fx-cta-banner {
  background: var(--fx-accent);
  border-radius: var(--fx-radius-lg);
  padding: 56px 52px;
  text-align: center;
  margin-bottom: var(--fx-section-pad);
  position: relative;
  overflow: hidden;
}

.fx-cta-banner::after {
  content: '';
  position: absolute;
  top: -60%;
  right: -5%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.fx-cta-banner h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
}

.fx-cta-banner p {
  font-size: var(--fx-size-md);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 28px;
  line-height: 1.6;
  position: relative;
}

/* FOOTER */
.fx-footer {
  border-top: 0.5px solid var(--fx-border);
  padding: 28px 48px;
  max-width: var(--fx-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fx-footer-copy {
  font-size: var(--fx-size-xs);
  color: var(--fx-muted);
}

.fx-footer-links {
  display: flex;
  gap: 20px;
}

.fx-footer-links a {
  font-size: var(--fx-size-xs);
  color: var(--fx-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.fx-footer-links a:hover { color: var(--fx-text); }

/* STATS */
.fx-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.fx-stat-number {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--fx-accent);
  line-height: 1;
  margin-bottom: 6px;
}

.fx-stat-label {
  font-size: var(--fx-size-sm);
  color: var(--fx-muted);
  line-height: 1.45;
}

/* AVATAR */
.fx-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ccdcf5, #e8f0fb);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 600;
  color: var(--fx-accent);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

/* HERO ACTIONS */
.fx-hero-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}

/* APPROACH / NUMBERED STEPS */
.fx-approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: var(--fx-section-pad);
}

.fx-approach-card {
  background: var(--fx-surface);
  border-radius: var(--fx-radius-md);
  border: 0.5px solid var(--fx-border);
  padding: 28px;
  box-shadow: var(--fx-shadow);
}

.fx-approach-num {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--fx-accent);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 12px;
}

.fx-approach-card h3 {
  font-size: var(--fx-size-base);
  font-weight: 600;
  margin-bottom: 8px;
}

.fx-approach-card p {
  font-size: var(--fx-size-sm);
  color: var(--fx-muted);
  line-height: 1.6;
}

/* CASE STUDY */
.fx-case-strip {
  background: var(--fx-surface);
  border-radius: var(--fx-radius-lg);
  border: 0.5px solid var(--fx-border);
  box-shadow: var(--fx-shadow);
  padding: 48px;
  margin-bottom: var(--fx-section-pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.fx-case-quote {
  font-size: 21px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--fx-text);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.fx-case-quote strong { font-weight: 600; }

.fx-case-source {
  font-size: var(--fx-size-sm);
  color: var(--fx-muted);
}

.fx-case-result {
  background: var(--fx-bg);
  border-radius: var(--fx-radius-md);
  padding: 28px;
}

.fx-case-result-label {
  font-size: var(--fx-size-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fx-accent);
  margin-bottom: 16px;
  display: block;
}

.fx-case-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.fx-case-item:last-of-type { margin-bottom: 0; }

.fx-case-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fx-accent);
  margin-top: 6px;
  flex-shrink: 0;
}

.fx-case-item p {
  font-size: var(--fx-size-sm);
  color: var(--fx-muted);
  line-height: 1.55;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  html { padding: 12px; }
  body { border-radius: 0 0 16px 16px; }

  .fx-nav { padding: 0 20px; }
  .fx-nav-center { display: none; }
  .fx-nav-divider { display: none; }

  .fx-hero { padding: 56px 24px 40px; }
  .fx-section { padding-left: 20px; padding-right: 20px; padding-bottom: 48px; }

  .fx-card-grid { grid-template-columns: 1fr; }
  .fx-card-grid-2 { grid-template-columns: 1fr; }

  .fx-surface { padding: 28px; }
  .fx-cta-banner { padding: 40px 24px; margin-bottom: 48px; }

  .fx-approach-grid { grid-template-columns: 1fr; margin-bottom: 48px; }
  .fx-case-strip { grid-template-columns: 1fr; padding: 28px; gap: 24px; margin-bottom: 48px; }

  .fx-footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 24px 20px;
  }
}
