/* ─────────────────────────────────────────
   CSS CUSTOM PROPERTIES
───────────────────────────────────────── */
:root {
  --color-bg:       #FAFAFA;
  --color-text:     #1A1A1A;
  --color-muted:    #6B7280;
  --color-surface:  #FFFFFF;
  --color-border:   #E5E7EB;
  --color-success:  #16a34a;
  --color-error:    #dc2626;
  --gradient:       linear-gradient(90deg, #a855f7, #3b82f6, #22c55e);
  --gradient-angle: linear-gradient(135deg, #a855f7, #3b82f6, #22c55e);
  --font-primary:   'Figtree', sans-serif;
  --font-head:      'Figtree', sans-serif;
  --font-body:      'Figtree', sans-serif;
  --radius:         12px;
  --radius-lg:      20px;
  --shadow-sm:      0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:      0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:      0 12px 40px rgba(0,0,0,.10);
  --nav-h:          72px;
  --transition:     0.25s cubic-bezier(.4,0,.2,1);
}

/* ─────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body, h1, h2, h3, h4, h5, h6, p, button, input,
select, textarea, nav, footer, label, span, a {
  font-family: var(--font-primary);
  font-style: normal;
}
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1 { font-weight: 700; }
h2 { font-weight: 700; }
h3 { font-weight: 600; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
ul { list-style: none; }

/* ─────────────────────────────────────────
   UTILITY
───────────────────────────────────────── */
.container {
  width: min(1160px, 100%);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: .75rem;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}
.section-sub {
  font-size: 1.0625rem;
  color: var(--color-muted);
  max-width: 600px;
  margin-top: .75rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: var(--radius);
  font-size: .9375rem;
  font-weight: 500;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-text);
  color: #fff;
}
.btn-primary:hover {
  background: #2d2d2d;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}
.btn-outline:hover {
  border-color: #9ca3af;
  background: var(--color-surface);
}
.btn-gradient {
  background: var(--gradient);
  color: #fff;
  border: none;
}
.btn-gradient:hover {
  opacity: .9;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(59,130,246,.25);
}
.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;
}

/* ─────────────────────────────────────────
   SCROLL ANIMATIONS
───────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}
#nav.scrolled {
  background: rgba(250,250,250,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--color-border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.logo {
  font-family: sans-serif;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.5px;
  background: linear-gradient(to right, #a855f7, #3b82f6, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition);
}
.nav-links a:hover { color: #3b82f6; }
.nav-cta { margin-left: 1rem; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(250,250,250,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem;
  z-index: 999;
  flex-direction: column;
  gap: .25rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  display: block;
  padding: .875rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius);
  transition: background var(--transition);
}
.nav-mobile a:hover { background: var(--color-border); }
.nav-mobile .btn { width: 100%; justify-content: center; margin-top: .75rem; }

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
#hero {
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 6rem;
  position: relative;
  overflow: hidden;
}
/* Subtle geometric background */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 600px at 70% 30%, rgba(59,130,246,.05) 0%, transparent 70%),
    radial-gradient(ellipse 600px 400px at 20% 80%, rgba(34,197,94,.04) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 85% 85%, rgba(168,85,247,.04) 0%, transparent 70%);
  pointer-events: none;
}
/* Grid pattern */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: .375rem .875rem;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.hero-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gradient);
}
.hero-title {
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: var(--color-muted);
  max-width: 580px;
  line-height: 1.65;
  margin-bottom: 2rem;
}
.hero-checks {
  display: flex;
  flex-direction: column;
  gap: .625rem;
  margin-bottom: 2.5rem;
}
.hero-check {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .9375rem;
  font-weight: 500;
}
.check-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .75rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
}
/* Hero animation */
.hero-anim { animation: heroFadeIn .8s ease both; }
.hero-anim-d1 { animation-delay: .1s; }
.hero-anim-d2 { animation-delay: .2s; }
.hero-anim-d3 { animation-delay: .35s; }
.hero-anim-d4 { animation-delay: .5s; }
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────────────────────
   SECTION WRAPPER
───────────────────────────────────────── */
.section { padding-block: 5rem; }
.section-alt { background: var(--color-surface); }
.section-header { margin-bottom: 3.5rem; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin-inline: auto; }

/* ─────────────────────────────────────────
   PROBLEM / LÖSUNG
───────────────────────────────────────── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.problem-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.problem-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.problem-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: #FEF2F2;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.problem-card h3 {
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 600;
}
.problem-card p { font-size: .9375rem; color: var(--color-muted); }
.problem-bridge {
  text-align: center;
  font-family: var(--font-head);
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 500;
  padding: 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* ─────────────────────────────────────────
   LEISTUNGEN – GRADIENT BORDER CARDS
───────────────────────────────────────── */
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
/* Gradient border via pseudo-element */
.leistung-card {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  isolation: isolate;
}
.leistung-card::before {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: calc(var(--radius-lg) + 1.5px);
  background: var(--gradient-angle);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: -1;
}
.leistung-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  z-index: -1;
}
.leistung-card:hover::before { opacity: 1; }
.leistung-card:hover {
  box-shadow: 0 8px 30px rgba(59,130,246,.12);
  transform: translateY(-3px);
}
.leistung-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.625rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
}
.leistung-card h3 {
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 600;
}
.leistung-card p { font-size: .9375rem; color: var(--color-muted); line-height: 1.65; }
.leistung-tag {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8125rem;
  font-weight: 500;
  color: #3b82f6;
}

/* ─────────────────────────────────────────
   BRANCHEN
───────────────────────────────────────── */
.branchen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.branche-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.branche-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: #c7d2fe;
}
.branche-emoji { font-size: 2.25rem; }
.branche-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
}
.branche-card p { font-size: .8125rem; color: var(--color-muted); }

/* ─────────────────────────────────────────
   PROZESS
───────────────────────────────────────── */
.prozess-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  position: relative;
}
.prozess-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.prozess-number {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.prozess-step h3 {
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 600;
}
.prozess-step p { font-size: .9375rem; color: var(--color-muted); }

/* ─────────────────────────────────────────
   ZAHLEN / VERTRAUEN
───────────────────────────────────────── */
.zahlen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.zahl-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.zahl-value {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: .5rem;
}
.zahl-label {
  font-size: .9375rem;
  color: var(--color-muted);
  font-weight: 500;
}
.zahlen-note {
  margin-top: 2.5rem;
  text-align: center;
  font-size: .875rem;
  color: var(--color-muted);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  background: var(--color-bg);
}

/* ─────────────────────────────────────────
   SELBST-CHECK
───────────────────────────────────────── */
#selbstcheck { background: var(--color-surface); }
.check-widget {
  max-width: 720px;
  margin-inline: auto;
}
.check-progress-bar {
  height: 5px;
  background: var(--color-border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 2.5rem;
}
.check-progress-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 999px;
  transition: width .4s ease;
  width: 0%;
}
.check-step { display: none; }
.check-step.active { display: block; }
.check-counter {
  font-size: .8125rem;
  font-weight: 500;
  color: var(--color-muted);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.check-question {
  font-family: var(--font-head);
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 600;
  margin-bottom: 2rem;
  line-height: 1.3;
}
.check-btns {
  display: flex;
  gap: 1rem;
}
.check-btn {
  flex: 1;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 500;
  border: 2px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  transition: all var(--transition);
}
.check-btn:hover {
  border-color: #3b82f6;
  background: #eff6ff;
}
.check-btn.yes:hover { border-color: #22c55e; background: #f0fdf4; }
.check-btn.no:hover  { border-color: #ef4444; background: #fef2f2; }
.check-result { display: none; text-align: center; }
.check-result.active { display: block; }
.check-result-icon { font-size: 3rem; margin-bottom: 1rem; }
.check-score-badge {
  display: inline-block;
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  padding: .5rem 1.5rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.check-result h3 {
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: .875rem;
}
.check-result p { color: var(--color-muted); font-size: 1rem; max-width: 520px; margin-inline: auto; margin-bottom: 2rem; }
.check-restart {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  color: var(--color-muted);
  background: none;
  border: none;
  text-decoration: underline;
  margin-top: .75rem;
}
.check-restart:hover { color: var(--color-text); }

/* ─────────────────────────────────────────
   FAQ ACCORDION
───────────────────────────────────────── */
.faq-list {
  max-width: 780px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  transition: background var(--transition);
}
.faq-trigger:hover { background: var(--color-bg); }
.faq-trigger[aria-expanded="true"] { background: var(--color-bg); }
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem;
  transition: transform var(--transition), background var(--transition);
}
.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
}
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-body.open {
  max-height: 400px;
}
.faq-body-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: .9375rem;
  color: var(--color-muted);
  line-height: 1.7;
}

/* ─────────────────────────────────────────
   KONTAKT / CTA
───────────────────────────────────────── */
#kontakt {
  background: var(--color-surface);
}
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.kontakt-info h2 {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.kontakt-info p { color: var(--color-muted); font-size: 1rem; margin-bottom: 2rem; }
.kontakt-features {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.kontakt-feature {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .9375rem;
  font-weight: 500;
}
.kontakt-form {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .375rem;
}
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: .875rem;
  font-weight: 500;
  color: var(--color-text);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: .75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  font-family: var(--font-body);
  font-size: .9375rem;
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .75rem center; }
.form-submit-btn {
  width: 100%;
  padding: .9375rem;
  font-size: 1rem;
  margin-top: .5rem;
}
.form-privacy {
  font-size: .8rem;
  color: var(--color-muted);
  text-align: center;
  margin-top: .875rem;
}
.form-privacy a {
  color: #3b82f6;
  text-decoration: underline;
}
.form-msg {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: .9375rem;
  font-weight: 500;
  margin-top: 1rem;
}
.form-msg.success { display: block; background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.form-msg.error   { display: block; background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
footer {
  background: var(--color-text);
  color: #e5e7eb;
  padding: 4rem 0 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #374151;
  margin-bottom: 2rem;
}
.footer-brand .logo { font-size: 1.125rem; margin-bottom: .75rem; }
.footer-brand p { font-size: .875rem; color: #9ca3af; line-height: 1.65; max-width: 280px; }
.footer-social {
  display: flex;
  gap: .75rem;
  margin-top: 1.25rem;
}
.social-btn {
  width: 38px; height: 38px;
  border-radius: var(--radius);
  border: 1px solid #374151;
  background: none;
  display: flex; align-items: center; justify-content: center;
  color: #9ca3af;
  transition: border-color var(--transition), color var(--transition);
  font-size: 1rem;
}
.social-btn:hover { border-color: #6b7280; color: #e5e7eb; }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: .9375rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .625rem; }
.footer-col ul a {
  font-size: .875rem;
  color: #9ca3af;
  transition: color var(--transition);
}
.footer-col ul a:hover { color: #e5e7eb; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8125rem;
  color: #6b7280;
}
.footer-bottom .logo { font-size: 1rem; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: #6b7280; transition: color var(--transition); }
.footer-legal a:hover { color: #9ca3af; }

/* ─────────────────────────────────────────
   RECHTLICHE SEKTIONEN
───────────────────────────────────────── */
.legal-section {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 4rem 0;
  display: none;
}
.legal-section.open { display: block; }
.legal-content {
  max-width: 800px;
}
.legal-content h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.legal-content h3 {
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 1.5rem 0 .5rem;
}
.legal-content p {
  font-size: .9375rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: .75rem;
}
.legal-close {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  font-weight: 500;
  color: #3b82f6;
  background: none;
  border: none;
  cursor: pointer;
  margin-top: 1.5rem;
}

/* ─────────────────────────────────────────
   REFERENZEN
───────────────────────────────────────── */
.referenzen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.ref-col-title {
  font-family: var(--font-primary);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
/* Linke Spalte – Aktuelle Projekte */
.projekt-karte {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 1rem;
}
.projekt-karte:last-child { margin-bottom: 0; }
.projekt-badge {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  background: #FEF3C7;
  color: #92400E;
  font-size: .75rem;
  font-weight: 600;
  padding: .25rem .625rem;
  border-radius: 999px;
  width: fit-content;
}
.projekt-badge::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #D97706;
}
.projekt-info {
  display: flex;
  align-items: center;
  gap: .625rem;
}
.projekt-emoji { font-size: 1.5rem; }
.projekt-details {}
.projekt-branche {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--color-text);
}
.projekt-loesung {
  font-size: .8125rem;
  color: var(--color-muted);
  margin-top: .125rem;
}
/* Rechte Spalte – Bewertungen */
.bewertungen-hinweis {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--color-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: .25rem .75rem;
  margin-bottom: 1.25rem;
}
.bewertung-karte {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: .625rem;
}
.bewertung-karte:last-child { margin-bottom: 0; }
.bewertung-sterne {
  color: #F59E0B;
  font-size: 1rem;
  letter-spacing: .05em;
}
.bewertung-kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.bewertung-name {
  font-size: .9375rem;
  font-weight: 600;
}
.bewertung-branche {
  font-size: .8125rem;
  color: var(--color-muted);
}
.bewertung-google {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .75rem;
  font-weight: 500;
  color: #4285F4;
  background: #EFF6FF;
  border-radius: 4px;
  padding: .2rem .5rem;
  flex-shrink: 0;
}
.bewertung-text {
  font-size: .875rem;
  color: var(--color-muted);
  font-style: italic;
  line-height: 1.6;
}

/* ─────────────────────────────────────────
   LEGAL MODAL
───────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-overlay.open { display: flex; }
.modal-window {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  animation: modalIn .2s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.375rem 1.75rem 1.125rem;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.modal-title {
  font-family: var(--font-primary);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
}
.modal-close {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--color-muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}
.modal-close:hover { background: var(--color-bg); color: var(--color-text); }
.modal-body {
  overflow-y: auto;
  padding: 1.75rem;
  flex: 1;
}
.modal-body h3 {
  font-family: var(--font-primary);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 1.5rem 0 .375rem;
}
.modal-body h3:first-child { margin-top: 0; }
.modal-body p {
  font-size: .9rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: .5rem;
}
.modal-body ul {
  list-style: disc;
  padding-left: 1.375rem;
  margin-bottom: .5rem;
}
.modal-body ul li {
  font-size: .9rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: .2rem;
}
.modal-body a { color: #3b82f6; text-decoration: underline; word-break: break-all; }
.modal-stand {
  font-size: .8125rem;
  color: var(--color-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
  margin-top: 1.5rem;
}

/* ─────────────────────────────────────────
   FOCUS / ACCESSIBILITY
───────────────────────────────────────── */
:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 900px) {
  .kontakt-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .referenzen-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .branchen-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
  .check-btns { flex-direction: column; }
}
@media (max-width: 480px) {
  .branchen-grid { grid-template-columns: repeat(1, 1fr); }
}

/* ─────────────────────────────────────────
   WARUM AI MERDAN – KURZTEXT BOX
───────────────────────────────────────── */
.warum-box {
  max-width: 800px;
  margin-inline: auto;
  background: #F8FAFC;
  border-left: 4px solid;
  border-image: linear-gradient(180deg, #a855f7, #3b82f6, #22c55e) 1;
  border-radius: 12px;
  padding: 1.75rem 2rem;
}
.warum-box .section-label {
  margin-bottom: 1rem;
}
.warum-text {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.75;
  margin-bottom: 0;
}
.warum-text-personal {
  margin-top: 1rem;
  color: var(--color-muted);
  font-size: .9375rem;
}

/* ─────────────────────────────────────────
   ÜBER MICH
───────────────────────────────────────── */
.ueber-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: start;
}
.ueber-foto-col {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}
.ueber-foto {
  width: 100%;
  border-radius: 16px;
  display: block;
}
.ueber-foto-placeholder {
  width: 280px;
  height: 320px;
  border-radius: 16px;
  background: var(--gradient-angle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 3rem;
  font-weight: 700;
  font-family: var(--font-head);
  letter-spacing: .05em;
}
.ueber-text-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ueber-text-col .section-label { margin-bottom: .5rem; }
.ueber-text-col .section-title { margin-bottom: 1.75rem; }
.ueber-absatz {
  font-size: .9375rem;
  color: var(--color-muted);
  line-height: 1.75;
  margin-bottom: 1.125rem;
}
.ueber-persoenlich {
  font-style: italic;
  font-size: .9rem;
  color: var(--color-muted);
  border-left: 3px solid var(--color-border);
  padding-left: 1rem;
  margin-top: .25rem;
  margin-bottom: 1.75rem;
}
.ueber-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .625rem;
  margin-bottom: 2rem;
}
.ueber-badge {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: .375rem .875rem;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--color-text);
}
.ueber-cta { align-self: flex-start; }

@media (max-width: 768px) {
  .ueber-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .ueber-foto-col { position: static; }
  .ueber-foto-placeholder {
    width: 100%;
    height: 240px;
    font-size: 2.5rem;
  }
}
