/* ============================================================
   webstudio — Design System & Styles
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Brand */
  --brand-900: #0d0520;
  --brand-800: #1a0a38;
  --brand-700: #2d1465;
  --brand-600: #5b21b6;
  --brand-500: #7c3aed;
  --brand-400: #a78bfa;
  --brand-300: #ede9fe;

  /* Accent */
  --accent:     #22c55e;
  --accent-lt:  #86efac;

  /* Neutral */
  --bg:          #FFF9F7;
  --surface:     #ffffff;
  --surface-alt: #FFF0E8;
  --border:      #FFD5C0;

  /* Text */
  --text:   #0f172a;
  --text-2: #334155;
  --muted:  #64748b;

  /* Font */
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue',
          Arial, 'Liberation Sans', sans-serif;

  /* Spacing */
  --s1:  4px;
  --s2:  8px;
  --s3:  12px;
  --s4:  16px;
  --s6:  24px;
  --s8:  32px;
  --s10: 40px;
  --s12: 48px;
  --s16: 64px;
  --s20: 80px;
  --s24: 96px;

  /* Radius */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 32px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15,23,42,.06);
  --shadow-md: 0 4px 16px rgba(15,23,42,.08);
  --shadow-lg: 0 8px 28px rgba(15,23,42,.10);
  --shadow-xl: 0 16px 48px rgba(15,23,42,.14);

  /* Layout */
  --container:    1200px;
  --container-sm: 860px;

  --transition: 200ms ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--brand-400);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
ul, ol { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.02em;
  color: inherit;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
h4 { font-size: 1.1rem; font-weight: 600; }

p { max-width: 68ch; }

.lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-2);
  line-height: 1.8;
}

.text-muted  { color: var(--muted); font-size: .9rem; }
.text-accent { color: var(--accent); }
.text-brand  { color: var(--brand-500); }

/* --- Layout --- */
.container {
  width: min(var(--container), 100%);
  margin-inline: auto;
  padding-inline: var(--s6);
}
.container-sm {
  width: min(var(--container-sm), 100%);
  margin-inline: auto;
  padding-inline: var(--s6);
}

.section    { padding-block: var(--s20); }
.section-sm { padding-block: var(--s12); }
.section-lg { padding-block: var(--s24); }

.section-header { text-align: center; margin-bottom: var(--s12); }
.section-header h2 { margin-bottom: var(--s3); }
.section-header p  { margin-inline: auto; color: var(--muted); }

.section-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-500);
  margin-bottom: var(--s2);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s8); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s6); }

.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-gap     { display: flex; align-items: center; gap: var(--s4); }

/* --- Divider --- */
.divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-500), var(--accent));
  border-radius: 2px;
  margin: var(--s4) auto var(--s6);
}
.divider-left { margin-left: 0; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 14px 28px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: .95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--brand-500);
  color: #fff;
  box-shadow: 0 4px 16px rgba(124,58,237,.35);
}
.btn-primary:hover {
  background: var(--brand-400);
  box-shadow: 0 6px 20px rgba(124,58,237,.45);
}

.btn-outline {
  border: 2px solid var(--border);
  color: var(--text-2);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--brand-400);
  color: var(--brand-500);
}

.btn-ghost {
  color: var(--brand-500);
  padding: 10px 0;
}
.btn-ghost:hover { color: var(--brand-400); }

.btn-lg { padding: 18px 36px; font-size: 1rem; }

/* --- Cards --- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s8);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* --- Nav --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,249,247,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s6);
}

.nav-logo {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -.03em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: var(--s2);
}
.nav-logo span { color: var(--brand-500); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s6);
}
.nav-links a {
  font-size: .9rem;
  color: var(--text-2);
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--brand-500); }

.nav-cta { margin-left: var(--s4); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
}
.nav-toggle span {
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* --- Hero --- */
.hero {
  padding-top: calc(64px + var(--s20));
  padding-bottom: var(--s24);
  background: linear-gradient(160deg, var(--brand-900) 0%, var(--brand-700) 60%, var(--brand-600) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(124,58,237,.25) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 70%, rgba(124,58,237,.2) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s16);
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-300);
  margin-bottom: var(--s6);
}

.hero h1 {
  color: #fff;
  margin-bottom: var(--s6);
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--brand-300), var(--accent-lt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .lead {
  color: rgba(255,255,255,.75);
  margin-bottom: var(--s8);
}

.hero-actions {
  display: flex;
  gap: var(--s4);
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-mockup {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-xl);
  padding: var(--s6);
  width: 100%;
  max-width: 440px;
  backdrop-filter: blur(8px);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: var(--s2);
  margin-bottom: var(--s6);
}
.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
}
.mockup-url {
  flex: 1;
  height: 24px;
  background: rgba(255,255,255,.08);
  border-radius: var(--r-sm);
  margin-left: var(--s2);
}

.mockup-screen {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.mockup-hero-block {
  height: 80px;
  background: linear-gradient(135deg, rgba(124,58,237,.4), rgba(124,58,237,.3));
  border-radius: var(--r-md);
}
.mockup-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--s3);
}
.mockup-card {
  height: 56px;
  background: rgba(255,255,255,.08);
  border-radius: var(--r-md);
}
.mockup-text-line {
  height: 8px;
  background: rgba(255,255,255,.12);
  border-radius: 4px;
}
.mockup-text-line.short { width: 60%; }
.mockup-btn-mock {
  height: 32px;
  width: 120px;
  background: var(--brand-500);
  border-radius: var(--r-sm);
  opacity: .8;
  margin-top: var(--s2);
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding-block: var(--s8);
}
.stats-bar-inner {
  display: flex;
  justify-content: center;
  gap: var(--s16);
  flex-wrap: wrap;
}
.stat {
  text-align: center;
}
.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-500);
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: var(--s1);
}
.stat-label {
  font-size: .85rem;
  color: var(--muted);
}

/* --- USPs --- */
.usp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s8);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.usp-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--brand-300);
}
.usp-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: var(--s6);
}
.usp-card h3 { margin-bottom: var(--s3); }
.usp-card p  { color: var(--muted); font-size: .95rem; }

/* --- Prozess --- */
.prozess-section { background: var(--surface); }

.prozess-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s6);
  position: relative;
}

.prozess-grid::before {
  content: '';
  position: absolute;
  top: 26px;
  left: calc(12.5% + 26px);
  right: calc(12.5% + 26px);
  height: 2px;
  background: linear-gradient(90deg, var(--brand-500), var(--accent));
  opacity: .3;
}

.prozess-step {
  text-align: center;
  padding: var(--s6);
  position: relative;
}

.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-500), var(--accent));
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--s6);
  box-shadow: 0 4px 14px rgba(124,58,237,.35);
}

.prozess-step h4 { margin-bottom: var(--s2); }
.prozess-step p  { color: var(--muted); font-size: .9rem; margin-inline: auto; }

/* --- Paket / Pricing --- */
.pricing-section { background: var(--surface-alt); }

.pricing-card-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s8);
  max-width: 860px;
  margin-inline: auto;
}

.pricing-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s10);
  box-shadow: var(--shadow-md);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--brand-500);
  box-shadow: 0 8px 32px rgba(124,58,237,.18);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--brand-500), var(--accent));
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-price {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--text);
  line-height: 1;
  margin-block: var(--s4);
}
.pricing-price sup {
  font-size: 1.2rem;
  font-weight: 700;
  vertical-align: super;
}
.pricing-price small {
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.pricing-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.pricing-desc {
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: var(--s8);
  padding-bottom: var(--s8);
  border-bottom: 1px solid var(--border);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  margin-bottom: var(--s8);
}
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  font-size: .95rem;
}
.pricing-feature-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Referenzen --- */
.ref-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 900px;
  margin-inline: auto;
}
.ref-image {
  background: linear-gradient(135deg, var(--brand-800), var(--brand-600));
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s8);
  position: relative;
  overflow: hidden;
}
.ref-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(124,58,237,.3), transparent 70%);
}
.ref-image-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: rgba(255,255,255,.6);
  font-size: .85rem;
}
.ref-image-inner strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--s2);
}
.ref-content {
  padding: var(--s10);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s4);
}
.ref-tag {
  display: inline-block;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
}
.ref-content h3 { color: var(--text); }
.ref-content p   { color: var(--muted); font-size: .95rem; }
.ref-meta {
  display: flex;
  gap: var(--s3);
  flex-wrap: wrap;
  margin-top: var(--s2);
}
.ref-meta-item {
  font-size: .8rem;
  color: var(--brand-500);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* --- FAQ --- */
.faq-list {
  max-width: 700px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--brand-300); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--s6) var(--s8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  font-weight: 600;
  font-size: .95rem;
  color: var(--text);
  transition: background var(--transition);
}
.faq-question:hover { background: var(--surface-alt); }
.faq-chevron {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 300ms ease;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 320ms ease, padding 320ms ease;
  padding: 0 var(--s8);
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.75;
}
.faq-item.open .faq-answer {
  max-height: 320px;
  padding: 0 var(--s8) var(--s6);
}

/* --- Kontakt / CTA --- */
.cta-section {
  background: linear-gradient(135deg, var(--brand-900), var(--brand-700));
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(124,58,237,.2), transparent 70%);
  pointer-events: none;
}
.cta-section h2 { color: #fff; margin-bottom: var(--s4); }
.cta-section p  { color: rgba(255,255,255,.7); margin-inline: auto; margin-bottom: var(--s8); }
.cta-email {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  color: var(--brand-300);
  font-weight: 600;
  font-size: 1.05rem;
  transition: color var(--transition);
}
.cta-email:hover { color: #fff; }

/* --- Footer --- */
.footer {
  background: var(--brand-900);
  color: rgba(255,255,255,.5);
  padding-block: var(--s8);
  font-size: .875rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s6);
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  gap: var(--s6);
}
.footer-links a {
  color: rgba(255,255,255,.4);
  transition: color var(--transition);
}
.footer-links a:hover { color: rgba(255,255,255,.8); }
.footer-logo {
  font-weight: 700;
  font-size: 1rem;
  color: rgba(255,255,255,.7);
  letter-spacing: -.02em;
}
.footer-logo span { color: var(--brand-400); }

/* --- Für wen? --- */
.for-whom-section {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding-block: var(--s6);
}
.for-whom-inner {
  display: flex;
  align-items: center;
  gap: var(--s6);
  flex-wrap: wrap;
}
.for-whom-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  max-width: none;
}
.for-whom-tags {
  display: flex;
  gap: var(--s2);
  flex-wrap: wrap;
}
.for-whom-tags span {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
  transition: border-color var(--transition), color var(--transition);
}
.for-whom-tags span:hover {
  border-color: var(--brand-400);
  color: var(--brand-500);
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 500ms ease, transform 500ms ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* Stagger delays */
.grid-3 .reveal:nth-child(2) { transition-delay: 80ms; }
.grid-3 .reveal:nth-child(3) { transition-delay: 160ms; }
.grid-3 .reveal:nth-child(4) { transition-delay: 240ms; }
.grid-3 .reveal:nth-child(5) { transition-delay: 320ms; }
.grid-3 .reveal:nth-child(6) { transition-delay: 400ms; }
.prozess-grid .reveal:nth-child(2) { transition-delay: 100ms; }
.prozess-grid .reveal:nth-child(3) { transition-delay: 200ms; }
.prozess-grid .reveal:nth-child(4) { transition-delay: 300ms; }
.pricing-card-wrap .reveal:nth-child(2) { transition-delay: 120ms; }
.faq-list .reveal:nth-child(2) { transition-delay: 50ms; }
.faq-list .reveal:nth-child(3) { transition-delay: 100ms; }
.faq-list .reveal:nth-child(4) { transition-delay: 150ms; }
.faq-list .reveal:nth-child(5) { transition-delay: 200ms; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero-inner         { grid-template-columns: 1fr; }
  .hero-visual        { display: none; }
  .grid-3             { grid-template-columns: repeat(2, 1fr); }
  .prozess-grid       { grid-template-columns: repeat(2, 1fr); }
  .prozess-grid::before { display: none; }
  .pricing-card-wrap  { grid-template-columns: 1fr; }
  .ref-card           { grid-template-columns: 1fr; }
  .ref-image          { min-height: 160px; }
}

@media (max-width: 640px) {
  .nav-links          { display: none; }
  .nav-links.open     { display: flex; flex-direction: column; position: absolute;
                        top: 64px; left: 0; right: 0;
                        background: var(--surface);
                        border-bottom: 1px solid var(--border);
                        padding: var(--s6); gap: var(--s4); }
  .nav-toggle         { display: flex; }
  .nav-cta            { display: none; }
  .grid-3             { grid-template-columns: 1fr; }
  .grid-2             { grid-template-columns: 1fr; }
  .prozess-grid       { grid-template-columns: 1fr; }
  .pricing-card-wrap  { grid-template-columns: 1fr; }
  .stats-bar-inner    { gap: var(--s8); }
  .footer-inner       { flex-direction: column; text-align: center; }
  .about-inner        { grid-template-columns: 1fr; text-align: center; }
  .about-avatar       { margin-inline: auto; }
  .compare-grid       { grid-template-columns: 1fr; }
}

/* --- Portfolio Grid --- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s6);
  margin-top: var(--s12);
}
.portfolio-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.portfolio-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--brand-300);
}
.portfolio-card-image {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.portfolio-card-domain {
  color: rgba(255,255,255,.9);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -.01em;
}
.portfolio-card-body {
  padding: var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  flex: 1;
}
.portfolio-card-body h4 {
  margin-top: var(--s2);
  color: var(--text);
}
.portfolio-card-body p {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.6;
  flex: 1;
}
.portfolio-card-meta {
  font-size: .78rem;
  color: var(--brand-500);
  font-weight: 600;
  margin-top: var(--s2);
}

@media (max-width: 900px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}

/* --- Preisvergleich --- */
.compare-section { background: var(--surface-alt); }
.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s6);
  max-width: 960px;
  margin-inline: auto;
}
.compare-col {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s8);
  position: relative;
}
.compare-col--good {
  border-color: var(--brand-500);
  box-shadow: 0 8px 32px rgba(124,58,237,.15);
  padding-top: calc(var(--s8) + 14px);
}
.compare-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--brand-500), var(--accent));
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.compare-head {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s3);
}
.compare-col--good .compare-head { color: var(--brand-500); }
.compare-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: var(--s6);
  letter-spacing: -.02em;
  padding-bottom: var(--s6);
  border-bottom: 1px solid var(--border);
}
.compare-list {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.compare-list li {
  font-size: .9rem;
  display: flex;
  align-items: flex-start;
  gap: var(--s2);
  color: var(--text-2);
}
.compare-list li::before {
  flex-shrink: 0;
  margin-top: 1px;
  font-weight: 700;
  font-size: .85rem;
}
.compare-yes { color: var(--text-2); }
.compare-yes::before { content: '✓'; color: var(--accent); }
.compare-no  { color: var(--muted); }
.compare-no::before  { content: '✗'; color: #94a3b8; }

@media (max-width: 900px) {
  .compare-grid { grid-template-columns: 1fr; max-width: 480px; }
}

/* --- Testimonial --- */
.testimonial-section { background: var(--surface); }
.testimonial-card {
  background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-700) 100%);
  border-radius: var(--r-xl);
  padding: var(--s12) var(--s10);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 20%, rgba(124,58,237,.25), transparent 70%);
  pointer-events: none;
}
.testimonial-quote {
  font-size: 5rem;
  line-height: .8;
  color: var(--brand-400);
  font-family: Georgia, serif;
  opacity: .5;
  margin-bottom: var(--s4);
  position: relative;
}
.testimonial-text {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  color: rgba(255,255,255,.9);
  line-height: 1.75;
  font-style: italic;
  max-width: 58ch;
  margin-inline: auto;
  margin-bottom: var(--s8);
  position: relative;
}
.testimonial-author {
  display: inline-flex;
  align-items: center;
  gap: var(--s4);
  position: relative;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-500), var(--accent));
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-name {
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  text-align: left;
}
.testimonial-role {
  color: rgba(255,255,255,.45);
  font-size: .82rem;
  text-align: left;
}

/* --- Über mich --- */
.about-section { background: var(--surface-alt); }
.about-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s12);
  align-items: center;
  max-width: 860px;
  margin-inline: auto;
}
.about-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-500), var(--accent));
  color: #fff;
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 28px rgba(124,58,237,.3);
}
.about-text .section-eyebrow { display: block; margin-bottom: var(--s2); }
.about-text h2 { margin-bottom: var(--s4); }

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 64px;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-500), var(--accent));
  z-index: 101;
  pointer-events: none;
  transition: width 60ms linear;
}

/* --- Hero Availability Badge --- */
.hero-avail-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: .82rem;
  font-weight: 600;
  color: #4ade80;
  margin-bottom: var(--s4);
}
.avail-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,.6); }
  70%  { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

/* --- Prozess Step Time Badge --- */
.step-time {
  display: inline-block;
  background: rgba(124,58,237,.12);
  border: 1px solid rgba(124,58,237,.25);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--brand-400);
  margin-top: var(--s3);
  letter-spacing: .04em;
}

/* --- ROI Rechner --- */
.roi-section { background: var(--surface); }
.roi-card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s10);
  max-width: 640px;
  margin-inline: auto;
}
.roi-label {
  display: block;
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: var(--s4);
  color: var(--text);
}
.roi-label strong { color: var(--brand-500); font-size: 1.1rem; }
.roi-slider {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, var(--brand-500) 7%, var(--border) 7%);
  border-radius: 3px;
  cursor: pointer;
  outline: none;
}
.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-500);
  box-shadow: 0 2px 8px rgba(124,58,237,.4);
  cursor: pointer;
  border: 3px solid #fff;
}
.roi-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: .75rem;
  color: var(--muted);
  margin-top: var(--s2);
  margin-bottom: var(--s8);
}
.roi-result {
  display: flex;
  align-items: center;
  gap: var(--s6);
  padding: var(--s8) var(--s6);
  background: linear-gradient(135deg, var(--brand-900), var(--brand-700));
  border-radius: var(--r-lg);
  margin-bottom: var(--s6);
}
.roi-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -.04em;
  flex-shrink: 0;
  min-width: 80px;
  text-align: center;
}
.roi-desc { color: rgba(255,255,255,.75); font-size: 1rem; line-height: 1.5; }
.roi-note { color: var(--muted); font-size: .88rem; text-align: center; }

/* --- Floating WhatsApp --- */
.float-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 98;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.float-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.55);
}

/* --- Mini Contact Form --- */
.mini-form { margin-top: var(--s8); }
.mini-form-row {
  display: flex;
  gap: var(--s3);
  flex-wrap: wrap;
  justify-content: center;
}
.mini-input {
  padding: 14px 20px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: .95rem;
  font-family: var(--font);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  min-width: 190px;
  flex: 1;
}
.mini-input::placeholder { color: rgba(255,255,255,.4); }
.mini-input:focus { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.15); }
.mini-form-hint {
  margin-top: var(--s4);
  font-size: .82rem;
  color: rgba(255,255,255,.3);
  text-align: center;
  max-width: none;
}
.mini-form-success {
  text-align: center;
  padding: var(--s8);
  color: #4ade80;
  font-weight: 600;
  font-size: 1.05rem;
  display: none;
}
.mini-form-divider {
  display: flex;
  align-items: center;
  gap: var(--s4);
  margin: var(--s8) 0 0;
  color: rgba(255,255,255,.25);
  font-size: .82rem;
}
.mini-form-divider::before,
.mini-form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.15);
}

/* --- Mobile Sticky CTA --- */
.sticky-cta { display: none; }

@media (max-width: 640px) {
  .float-wa { display: none; }
  .mini-form-row { flex-direction: column; }
  .mini-input { min-width: unset; }
  .roi-result { flex-direction: column; text-align: center; }

  .sticky-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 97;
    padding: var(--s3) var(--s4) calc(var(--s3) + env(safe-area-inset-bottom));
    background: rgba(255,249,247,.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(15,23,42,.1);
  }
  .sticky-cta-btn {
    width: 100%;
    justify-content: center;
  }
  body { padding-bottom: 72px; }
  body.cta-visible .sticky-cta { display: none; }
}

/* --- CTA Kontakt --- */
.cta-contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s6);
  flex-wrap: wrap;
  margin-bottom: var(--s4);
}
.cta-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  color: #4ade80;
  font-weight: 600;
  font-size: 1.05rem;
  transition: color var(--transition);
}
.cta-whatsapp:hover { color: #86efac; }

/* --- Vergleichstabelle --- */
.vergleich-tabelle-wrapper {
  margin-top: 2.5rem;
  overflow-x: auto;
}
.vergleich-tabelle {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.vergleich-tabelle caption {
  font-size: 0.85rem;
  color: var(--text-3);
  margin-bottom: 0.75rem;
  text-align: left;
  font-style: italic;
}
.vergleich-tabelle th {
  background: var(--surface-2);
  padding: 0.65rem 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--text-1);
  border-bottom: 2px solid var(--border);
}
.vergleich-tabelle th:last-child {
  color: var(--accent);
}
.vergleich-tabelle td {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
}
.vergleich-tabelle td:last-child {
  color: var(--text-1);
  font-weight: 500;
}
.vergleich-tabelle tr:nth-child(even) td {
  background: var(--surface-1);
}
