/* ============================================================
   EMSENHUBER SOLUTIONS — Komponenten
   Benötigt: tokens.css
   Responsive-Regeln laufen über Container Queries auf .emso-root
   (Container "emso"). Auf einer echten Seite: <body class="emso-root">.
   Breakpoints: 960px (Tablet) · 640px (Mobile)
   ============================================================ */

.emso-root {
  container: emso / inline-size;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--fg-1);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
}
.emso-root *, .emso-root *::before, .emso-root *::after { box-sizing: border-box; }
.emso-root ::selection { background: rgba(78,54,163,0.4); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 var(--space-8); }
@container emso (max-width: 640px) { .container { padding: 0 var(--space-5); } }

/* ── Icons (Lucide, self-hosted Sprite) ─────────────────────── */
.icon {
  width: 1em; height: 1em; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -0.125em;
}
.icon--lg { width: 24px; height: 24px; stroke-width: 1.5; }

/* ── Typo-Bausteine ─────────────────────────────────────────── */
.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--color-yellow);
  margin-bottom: 14px;
}
.display {
  font-family: var(--font-display); font-weight: 800;
  letter-spacing: var(--tracking-tight); line-height: 1.1;
  color: var(--fg-1); margin: 0;
}
.display--xl { font-size: clamp(36px, 5.5cqi, 72px); line-height: 1.05; }
.display--lg { font-size: clamp(30px, 4cqi, 52px); }
.display--md { font-size: clamp(26px, 3cqi, 42px); }
.display em, .hl { font-style: normal; color: var(--color-yellow); }
.lead { font-size: var(--text-lg); font-weight: 300; line-height: var(--leading-relaxed); color: rgba(255,255,255,0.65); }
.text-muted { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,0.65); }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head p { max-width: 480px; margin: 16px auto 0; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  --btn-bg: var(--color-purple); --btn-bg-hover: var(--color-purple-light);
  --btn-fg: var(--fg-1); --btn-border: transparent;
  --btn-shadow: 0 0 24px rgba(78,54,163,0.5); --btn-shadow-hover: 0 0 36px rgba(107,82,200,0.7);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; letter-spacing: 0.02em;
  font-size: var(--text-sm); line-height: 1.2;
  padding: 11px 24px; border-radius: var(--radius-md);
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-border); box-shadow: var(--btn-shadow);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background var(--duration-fast) var(--ease-out-smooth),
              transform var(--duration-fast) var(--ease-out-smooth),
              box-shadow var(--duration-base) var(--ease-out-smooth);
}
.btn:hover, .btn.is-hover { background: var(--btn-bg-hover); box-shadow: var(--btn-shadow-hover); transform: scale(1.02); }
.btn:active, .btn.is-active { transform: scale(0.97); box-shadow: none; }
.btn:focus-visible, .btn.is-focus { outline: 2px solid var(--color-yellow); outline-offset: 3px; }
.btn:disabled, .btn.is-disabled { opacity: 0.45; cursor: not-allowed; transform: none; background: var(--btn-bg); box-shadow: none; }

.btn--yellow {
  --btn-bg: var(--color-yellow); --btn-bg-hover: var(--color-yellow-dark); --btn-fg: var(--fg-inv);
  --btn-shadow: var(--shadow-glow-yellow); --btn-shadow-hover: 0 0 32px rgba(231,226,71,0.6);
  font-weight: 700;
}
.btn--ghost {
  --btn-bg: transparent; --btn-bg-hover: rgba(78,54,163,0.15);
  --btn-border: rgba(110,86,200,0.45); --btn-shadow: none; --btn-shadow-hover: none;
}
.btn--glass {
  --btn-bg: rgba(255,255,255,0.07); --btn-bg-hover: rgba(255,255,255,0.13);
  --btn-border: rgba(255,255,255,0.12); --btn-shadow: none; --btn-shadow-hover: none;
  font-weight: 500;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.btn--sm { font-size: var(--text-xs); padding: 7px 16px; border-radius: var(--radius-sm); }
.btn--lg { font-size: var(--text-base); padding: 14px 32px; border-radius: var(--radius-md); }
.btn--block { width: 100%; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
@container emso (max-width: 640px) {
  .btn-row--stack { flex-direction: column; }
  .btn-row--stack .btn { width: 100%; }
}

/* ── Badges / Tags ──────────────────────────────────────────── */
.badge {
  --badge-fg: #b09ef0; --badge-bg: rgba(78,54,163,0.20); --badge-bd: rgba(78,54,163,0.45);
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  padding: 4px 10px; border-radius: var(--radius-full);
  color: var(--badge-fg); background: var(--badge-bg); border: 1px solid var(--badge-bd);
}
.badge__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--teal    { --badge-fg: #7ecde8; --badge-bg: rgba(71,152,181,0.15); --badge-bd: rgba(71,152,181,0.40); }
.badge--yellow  { --badge-fg: var(--color-yellow); --badge-bg: rgba(231,226,71,0.12); --badge-bd: rgba(231,226,71,0.35); }
.badge--coral   { --badge-fg: #f4926e; --badge-bg: rgba(238,108,77,0.12); --badge-bd: rgba(238,108,77,0.35); }
.badge--success { --badge-fg: var(--color-success); --badge-bg: rgba(74,222,128,0.12); --badge-bd: rgba(74,222,128,0.35); }
.badge--neutral { --badge-fg: rgba(255,255,255,0.7); --badge-bg: rgba(255,255,255,0.06); --badge-bd: rgba(255,255,255,0.12); }
.badge--eyebrow { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 14px; }
.tag {
  font-size: 10px; font-weight: 500; padding: 3px 9px; border-radius: var(--radius-full);
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.1);
}
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }

/* ── Karten ─────────────────────────────────────────────────── */
.card {
  --accent: var(--color-purple); --accent-eyebrow: #b09ef0; --accent-glow: rgba(78,54,163,0.4);
  border-radius: var(--radius-lg); padding: var(--space-6);
  background: var(--glass-bg); border: var(--glass-border); border-top: 2px solid var(--accent);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  transition: box-shadow var(--duration-base) var(--ease-out-smooth),
              transform var(--duration-base) var(--ease-out-smooth),
              border-color var(--duration-base) var(--ease-out-smooth);
}
a.card, .card--interactive { display: block; color: inherit; text-decoration: none; cursor: pointer; }
a.card:hover, .card--interactive:hover, .card.is-hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px var(--accent-glow), var(--glass-shadow);
}
.card--glow { border-color: color-mix(in srgb, var(--accent) 50%, transparent); border-top-color: var(--accent); box-shadow: 0 0 32px var(--accent-glow), var(--glass-shadow); }
.card--teal   { --accent: var(--color-teal);   --accent-eyebrow: #7ecde8; --accent-glow: rgba(71,152,181,0.35); }
.card--yellow { --accent: var(--color-yellow); --accent-eyebrow: var(--color-yellow); --accent-glow: rgba(231,226,71,0.3); }
.card--coral  { --accent: var(--color-coral);  --accent-eyebrow: #f4926e; --accent-glow: rgba(238,108,77,0.35); }
.card--plain  { border-top: var(--glass-border); --accent-eyebrow: var(--color-yellow); }
.card__eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-eyebrow); margin-bottom: 8px; }
.card__title { font-family: var(--font-display); font-size: 18px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 6px; }
.card__body { font-size: 13px; line-height: 1.55; color: rgba(255,255,255,0.72); margin: 0; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-4); }

/* Leistungs-Karte (Startseite, aufklappbar) */
.service-cards { display: flex; gap: var(--space-4); align-items: stretch; }
.service-card {
  --accent: var(--color-purple); --accent-glow: rgba(78,54,163,0.4); --accent-border: rgba(78,54,163,0.45);
  flex: 1; min-width: 0;
  border-radius: var(--radius-lg); padding: 28px; cursor: pointer;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
  transition: all 300ms var(--ease-out-smooth);
}
.service-card:hover, .service-card.is-hover { border-color: var(--accent-border); }
.service-card.is-expanded {
  flex: 1.4; border-color: var(--accent-border);
  box-shadow: 0 0 32px var(--accent-glow), 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
}
.service-card--teal   { --accent: var(--color-teal);   --accent-glow: rgba(71,152,181,0.35); --accent-border: rgba(71,152,181,0.40); }
.service-card--yellow { --accent: var(--color-yellow); --accent-glow: rgba(231,226,71,0.30); --accent-border: rgba(231,226,71,0.35); }
.service-card__eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.service-card__title { font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 14px; }
.service-card__body { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,0.6); margin: 0 0 16px; }
.service-card__features { display: none; margin-top: 16px; }
.service-card.is-expanded .service-card__features { display: flex; }
.service-card__toggle {
  margin-top: 20px; padding: 0; border: 0; background: none; cursor: pointer;
  font: 600 12px var(--font-body); color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
}
.service-card__toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.service-card__toggle .when-open { display: none; }
.service-card.is-expanded .service-card__toggle .when-open { display: inline-flex; align-items: center; gap: 6px; }
.service-card.is-expanded .service-card__toggle .when-closed { display: none; }
.when-closed { display: inline-flex; align-items: center; gap: 6px; }
@container emso (max-width: 960px) {
  .service-cards { flex-direction: column; }
  .service-card.is-expanded { flex: 1; }
}

.check-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.75); }
.check-list .icon { color: var(--accent, var(--color-yellow)); margin-top: 3px; }
.check-list--sm li { font-size: 13px; gap: 8px; }

/* Leistungs-Block (Leistungsseite) */
.pillar {
  --accent: var(--color-purple); --accent-glow: rgba(78,54,163,0.3);
  display: flex; gap: 48px; align-items: flex-start;
  background: rgba(255,255,255,0.04); border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  border-radius: 24px; padding: 40px;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 0 40px var(--accent-glow);
}
.pillar--teal   { --accent: var(--color-teal);   --accent-glow: rgba(71,152,181,0.3); }
.pillar--yellow { --accent: var(--color-yellow); --accent-glow: rgba(231,226,71,0.25); }
.pillar > * { flex: 1; min-width: 0; }
.pillar__label { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.pillar__title { font-family: var(--font-display); font-size: 28px; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 16px; }
.pillar__text { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.6); margin: 0 0 24px; }
.pillar .btn { --btn-bg: transparent; --btn-fg: var(--accent); --btn-border: var(--accent); --btn-bg-hover: color-mix(in srgb, var(--accent) 15%, transparent); --btn-shadow: none; --btn-shadow-hover: 0 0 20px var(--accent-glow); border-radius: 8px; font-size: 13px; padding: 9px 20px; }
.pillar--yellow .btn { --btn-bg: var(--color-yellow); --btn-fg: var(--fg-inv); --btn-bg-hover: var(--color-yellow-dark); }
@container emso (max-width: 960px) { .pillar { flex-direction: column; gap: 28px; } }
@container emso (max-width: 640px) { .pillar { padding: 28px 20px; border-radius: var(--radius-lg); } .pillar__title { font-size: 24px; } }

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-modal);
  background: rgba(10,8,18,0.4);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background 300ms var(--ease-out-smooth), border-color 300ms var(--ease-out-smooth);
}
.site-header--static { position: relative; }
.site-header.is-scrolled, .site-header.is-open { background: rgba(10,8,18,0.85); border-bottom-color: rgba(110,86,200,0.25); }
.site-header__inner { height: 68px; display: flex; align-items: center; gap: 40px; }
.site-header__logo { display: flex; align-items: center; flex-shrink: 0; }
.site-header__logo img { height: 34px; width: auto; display: block; }
.site-header__nav { display: flex; gap: 28px; align-items: center; flex: 1; }
.site-header__link {
  font-size: 13px; font-weight: 500; letter-spacing: 0.01em;
  color: rgba(255,255,255,0.7); text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out-smooth);
}
.site-header__link:hover, .site-header__link.is-hover { color: var(--fg-1); }
.site-header__link[aria-current="page"] { color: var(--color-yellow); }
.site-header__link:focus-visible { outline: 2px solid var(--color-yellow); outline-offset: 4px; border-radius: 2px; }
.site-header__actions { display: flex; gap: 10px; align-items: center; }
.site-header__actions .btn { font-size: 13px; padding: 9px 20px; border-radius: 10px; }
.site-header__burger {
  display: none; margin-left: auto;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.07); color: var(--fg-1);
  border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-md); cursor: pointer;
}
.site-header__burger .icon { width: 22px; height: 22px; }
.site-header__burger .icon-close, .site-header.is-open .site-header__burger .icon-open { display: none; }
.site-header.is-open .site-header__burger .icon-close { display: block; }
.site-header__mobile { display: none; }

@container emso (max-width: 960px) {
  .site-header__nav, .site-header__actions { display: none; }
  .site-header__burger { display: inline-flex; }
  .site-header.is-open .site-header__mobile {
    display: flex; flex-direction: column; gap: 4px;
    padding: 8px var(--space-5) var(--space-6);
    border-top: 1px solid rgba(110,86,200,0.25);
  }
  .site-header__mobile .site-header__link {
    font-size: 16px; padding: 14px 4px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .site-header__mobile .btn { margin-top: 16px; }
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, #0e0a20 0%, #1a1040 45%, #0a1020 100%);
}
.hero--compact { min-height: 0; }
.hero__glow { position: absolute; border-radius: 50%; pointer-events: none; }
.hero__glow--purple { top: -10%; right: -5%; width: 700px; height: 700px; background: radial-gradient(circle, rgba(78,54,163,0.45) 0%, transparent 70%); }
.hero__glow--teal { bottom: -20%; left: 30%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(71,152,181,0.20) 0%, transparent 70%); }
.hero__watermark { position: absolute; right: 0; bottom: 0; width: 480px; max-width: 70%; opacity: 0.06; pointer-events: none; }
.hero__content { position: relative; z-index: 1; width: 100%; padding-top: 120px; padding-bottom: 80px; }
.hero__inner { max-width: 720px; }
.hero .badge--eyebrow { margin-bottom: 24px; }
.hero .display { margin-bottom: 24px; }
.hero .lead { max-width: 540px; margin: 0 0 40px; }
.hero .btn-row { gap: 14px; }
.hero__stats { display: flex; gap: 32px; margin: 48px 0 0; flex-wrap: wrap; }
.hero__stat dt { font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.hero__stat { display: flex; flex-direction: column; }
.hero__stat dd { margin: 2px 0 0; font-size: 12px; color: rgba(255,255,255,0.45); }
@container emso (max-width: 640px) {
  .hero { min-height: 0; }
  .hero__content { padding-top: 104px; padding-bottom: 56px; }
  .hero__glow--purple { width: 420px; height: 420px; right: -40%; }
  .hero .badge--eyebrow { font-size: 10px; letter-spacing: 0.06em; }
  .hero .lead { font-size: 16px; margin-bottom: 32px; }
  .hero__stats { gap: 20px 28px; margin-top: 40px; }
  .hero__stat dt { font-size: 22px; }
}

/* ── Sektionen ──────────────────────────────────────────────── */
.section { padding: 100px 0; position: relative; overflow: hidden; }
.section--services { background: linear-gradient(180deg, #0a0812 0%, #0f0c1e 100%); }
.section--about { background: linear-gradient(135deg, #0f0c1e 0%, #1a1040 50%, #0a1020 100%); }
@container emso (max-width: 640px) { .section { padding: 64px 0; } .section-head { margin-bottom: 36px; } }

/* Über-mich-Block (Bildstil: Blob-Portrait) */
.about { display: flex; gap: 80px; align-items: center; position: relative; z-index: 1; }
.about__portrait { flex: 0 0 340px; }
.about__portrait img { width: 100%; height: auto; display: block; }
.about__content { flex: 1; min-width: 0; }
.about__content .display { margin-bottom: 24px; }
.about__content p { max-width: 500px; margin: 0 0 16px; }
.about__content .btn-row { margin-top: 32px; }
.about__glow { position: absolute; top: 10%; left: -5%; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(78,54,163,0.3) 0%, transparent 70%); pointer-events: none; }
@container emso (max-width: 960px) {
  .about { flex-direction: column; align-items: flex-start; gap: 40px; }
  .about__portrait { flex: none; width: min(280px, 80%); }
}

/* ── CTA-Blöcke ─────────────────────────────────────────────── */
.cta-strip {
  padding: 72px 0; position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(135deg, #1a1040 0%, #2a1d60 50%, #1a1040 100%);
}
.cta-strip::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(78,54,163,0.3) 0%, transparent 70%);
}
.cta-strip__inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.cta-strip h2 { font-size: clamp(24px, 3cqi, 40px); margin-bottom: 16px; }
.cta-strip p { font-size: 15px; line-height: var(--leading-relaxed); color: rgba(255,255,255,0.6); margin: 0 0 32px; }
.cta-strip .btn-row { justify-content: center; }

.cta-card {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 32px 36px; border-radius: var(--radius-lg);
  background: var(--glass-bg); border: var(--glass-border); box-shadow: var(--glass-shadow), var(--shadow-glow-purple);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
}
.cta-card__title { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 6px; }
.cta-card__text { font-size: 14px; color: rgba(255,255,255,0.6); margin: 0; line-height: 1.6; }

.cta-inline {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; border-radius: var(--radius-md);
  background: rgba(231,226,71,0.06); border-left: 3px solid var(--color-yellow);
  font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.75);
}
.cta-inline a { color: var(--color-yellow); font-weight: 600; text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.cta-inline a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cta-inline .icon { color: var(--color-yellow); margin-top: 3px; }
@container emso (max-width: 640px) {
  .cta-strip { padding: 56px 0; }
  .cta-card { flex-direction: column; align-items: stretch; text-align: left; padding: 24px 20px; gap: 20px; }
  .cta-card .btn { width: 100%; }
}

/* ── Formulare ──────────────────────────────────────────────── */
.form-panel {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(110,86,200,0.25);
  border-radius: 24px; padding: 40px;
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 8px 48px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.08);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; margin-bottom: 16px; }
.form-grid .field { margin-bottom: 0; }
.field__label { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: rgba(255,255,255,0.6); margin-bottom: 6px; }
.field__hint { font-size: 12px; color: var(--fg-3); margin-top: 6px; }
.field__error { display: none; font-size: 12px; color: var(--color-coral); margin-top: 6px; }
.input {
  width: 100%; font-family: var(--font-body); font-size: 14px; color: var(--fg-1);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(110,86,200,0.30);
  border-radius: 10px; padding: 11px 14px; outline: none;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: border-color var(--duration-base) var(--ease-out-smooth), box-shadow var(--duration-base) var(--ease-out-smooth), background var(--duration-fast);
}
.input::placeholder { color: var(--fg-3); }
.input:hover, .input.is-hover { border-color: rgba(110,86,200,0.55); }
.input:focus, .input.is-focus { border-color: var(--color-purple-light); box-shadow: 0 0 0 3px rgba(78,54,163,0.25); }
.input:disabled { opacity: 0.45; cursor: not-allowed; }
.field.is-invalid .input { border-color: var(--color-coral); box-shadow: 0 0 0 3px rgba(238,108,77,0.20); }
.field.is-invalid .field__error { display: block; }
textarea.input { resize: vertical; line-height: 1.6; min-height: 112px; }
select.input {
  appearance: none; cursor: pointer; padding-right: 40px;
  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='rgba(255,255,255,0.6)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
select.input option { background: var(--bg-surface); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.5; cursor: pointer; }
.checkbox input { appearance: none; flex-shrink: 0; width: 18px; height: 18px; margin: 1px 0 0; border-radius: 5px; border: 1px solid rgba(110,86,200,0.55); background: rgba(255,255,255,0.06); cursor: pointer; display: grid; place-content: center; transition: all var(--duration-fast); }
.checkbox input:checked { background: var(--color-purple); border-color: var(--color-purple-light); }
.checkbox input:checked::after { content: ""; width: 9px; height: 5px; border: solid #fff; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.checkbox input:focus-visible { outline: 2px solid var(--color-yellow); outline-offset: 2px; }
.checkbox a { color: var(--purple-200); }
.form__note { font-size: 11px; color: rgba(255,255,255,0.3); text-align: center; margin: 14px 0 0; line-height: 1.5; }
.form-success {
  background: rgba(74,222,128,0.08); border: 1px solid rgba(74,222,128,0.3);
  border-radius: var(--radius-lg); padding: 48px 32px; text-align: center;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.form-success .icon { width: 44px; height: 44px; stroke-width: 1.5; color: var(--color-success); margin-bottom: 12px; }
.form-success h3 { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--color-success); margin: 0 0 12px; }
.form-success p { font-size: 14px; color: rgba(255,255,255,0.55); margin: 0 0 24px; }
@container emso (max-width: 640px) {
  .form-panel { padding: 24px 20px; border-radius: var(--radius-lg); }
  .form-grid { grid-template-columns: 1fr; }
  .input { font-size: 16px; } /* verhindert iOS-Zoom */
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer { background: #060410; border-top: 1px solid rgba(110,86,200,0.15); padding: 60px 0 32px; }
.site-footer__top { display: flex; gap: 60px; flex-wrap: wrap; margin-bottom: 48px; }
.site-footer__brand { flex: 0 0 260px; }
.site-footer__brand img { height: 36px; width: auto; display: block; margin-bottom: 16px; }
.site-footer__brand p { font-size: 13px; line-height: 1.65; color: rgba(255,255,255,0.4); margin: 0; max-width: 220px; }
.site-footer__cols { display: flex; gap: 60px; flex: 1; flex-wrap: wrap; }
.site-footer__title { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-yellow); margin: 0 0 16px; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer__list a, .site-footer__list span { font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: color var(--duration-fast); }
.site-footer__list a:hover, .site-footer__list a.is-hover { color: var(--fg-1); }
.site-footer__list a.site-footer__accent { color: var(--purple-300); }
.site-footer__list a.site-footer__accent:hover { color: var(--purple-200); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.site-footer__bottom small, .site-footer__bottom a { font-size: 12px; color: rgba(255,255,255,0.3); text-decoration: none; }
.site-footer__bottom a:hover { color: rgba(255,255,255,0.7); }
.site-footer__legal { display: flex; gap: 20px; }
@container emso (max-width: 640px) {
  .site-footer { padding: 48px 0 28px; }
  .site-footer__top { gap: 36px; }
  .site-footer__brand { flex: 1 1 100%; }
  .site-footer__cols { gap: 32px 48px; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .emso-root *, .emso-root *::before, .emso-root *::after { transition-duration: 0ms !important; }
}
