:root {
  --bg: #020510;
  --bg-2: #060a1a;
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.09);
  --accent: #5389c8;
  --accent-2: #7b5cff;
  --text: #f5f6f8;
  --muted: #9aa3b5;
  --border: rgba(255, 255, 255, 0.09);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 28px 16px 48px;
  overflow-x: hidden;
}

/* Sanft wandernder Farbverlauf im Hintergrund - wirkt wie ein ruhiges
   Bewegtbild, ohne das Gewicht einer echten Video-Datei. Falls es
   spaeter ein echtes Marken-Video gibt, kann .bg-fx 1:1 durch ein
   <video> ersetzt werden (siehe Kommentar in bg-video.js). */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: radial-gradient(ellipse at top, var(--bg-2), var(--bg) 60%);
}

.bg-fx::before,
.bg-fx::after {
  content: "";
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.25;
}

.bg-fx::before {
  top: -20vmax;
  left: -15vmax;
  background: var(--accent);
  animation: drift1 22s ease-in-out infinite alternate;
}

.bg-fx::after {
  bottom: -25vmax;
  right: -15vmax;
  background: var(--accent-2);
  animation: drift2 26s ease-in-out infinite alternate;
}

@keyframes drift1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(8vmax, 6vmax) scale(1.15); }
}

@keyframes drift2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-6vmax, -8vmax) scale(1.1); }
}

.bg-fx video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.bg-fx .bg-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 5, 16, 0.35), var(--bg) 85%);
}

.card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
}

.brand-logo {
  display: block;
  height: 22px;
  width: auto;
  margin: 0 auto 32px;
  opacity: 0.92;
}

.avatar {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  margin: 8px auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  overflow: hidden;
  box-shadow: 0 0 0 3px rgba(83, 137, 200, 0.25), 0 12px 30px rgba(0, 0, 0, 0.4);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.identity {
  text-align: center;
  margin-bottom: 24px;
}

.identity h1 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}

.identity .role {
  color: var(--accent);
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 2px;
}

.identity .company {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.05s ease, opacity 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 24px rgba(83, 137, 200, 0.35);
}

.btn-secondary {
  background: var(--card-bg);
  color: var(--text);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(6px);
}

.contact-list {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
}

.contact-row:last-child {
  border-bottom: none;
}

.contact-row .icon {
  width: 22px;
  text-align: center;
  flex-shrink: 0;
  color: var(--accent);
}

.contact-row .label {
  font-size: 12px;
  color: var(--muted);
  display: block;
}

.contact-row .value {
  font-size: 15px;
  word-break: break-word;
}

.footer-note {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin-top: 24px;
}

.calendly-block {
  margin-top: 14px;
}

.calendly-toggle {
  width: 100%;
}

.calendly-options {
  display: none;
  margin-top: 10px;
}

.calendly-options.open {
  display: block;
}

.section-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 28px 0 12px;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  backdrop-filter: blur(6px);
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: var(--muted);
}

.lead-form textarea {
  resize: vertical;
  min-height: 70px;
}

.form-status {
  min-height: 18px;
  font-size: 13px;
  color: var(--muted);
  margin: 4px 0 0;
}

.form-status-ok {
  color: #6ee7a0;
}

.form-status-error {
  color: #ff8080;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
  cursor: pointer;
}

.consent-label input {
  margin-top: 3px;
  width: auto;
  flex-shrink: 0;
}
