:root {
  --bg-gradient-start: #0f172a;
  --bg-gradient-end: #1d4ed8;
  --card-bg: #ffffff;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --text-main: #0f172a;
  --text-muted: #6b7280;
  --border-subtle: #e5e7eb;
  --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.35);
  --radius-xl: 1.5rem;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at top, var(--bg-gradient-end), var(--bg-gradient-start));
  min-height: 100vh;
}

.page-wrapper {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 20px 40px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  background: rgba(15, 23, 42, 0.7);
  border-radius: var(--radius-xl);
  padding: 32px 32px 40px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.hero-text h1 {
  margin: 0 0 12px;
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  line-height: 1.2;
  color: #f9fafb;
}

.subtitle {
  margin: 0;
  color: #e5e7eb;
  font-size: 0.98rem;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
}

main {
  margin-top: 24px;
}

.form-section {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 28px 24px 26px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.25);
}

.form-section h2 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 1.5rem;
}

.form-intro {
  margin-top: 0;
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.lead-form {
  display: grid;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  font-size: 0.9rem;
  font-weight: 500;
}

input[type="text"],
input[type="email"] {
  border-radius: 0.75rem;
  border: 1px solid var(--border-subtle);
  padding: 10px 12px;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder {
  color: #9ca3af;
}

input[type="text"]:focus,
input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
  background-color: #f9fafb;
}

.form-checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
}

.form-checkbox input[type="checkbox"] {
  margin-top: 3px;
}

.form-checkbox label {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.btn-primary {
  margin-top: 6px;
  border: none;
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #f9fafb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
}

.privacy-hint {
  margin: 8px 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.site-footer {
  margin-top: 18px;
  text-align: center;
  font-size: 0.8rem;
  color: #cbd5f5;
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px 20px 30px;
  }

  .hero-image {
    order: -1;
  }

  .form-section {
    padding: 22px 18px 20px;
  }
}

@media (max-width: 540px) {
  .page-wrapper {
    padding-inline: 16px;
  }

  .hero {
    padding-inline: 18px;
  }

  .form-checkbox {
    flex-direction: column;
  }
}

.iframe-wrapper {
  margin-top: 10px;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

/* Höhe kannst du nach Bedarf anpassen */
.embed-frame {
  width: 100%;
  min-height: 350px;
  display: block;
}
.iframe-wrapper {
  margin-top: 10px;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

