:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --bg-alt: #eef1f6;
  --text: #101828;
  --muted: #475467;
  --primary: #1d4ed8;
  --primary-dark: #1e3a8a;
  --border: #d0d5dd;
  --card: #ffffff;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  --radius: 20px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.hero {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #f8fafc;
  padding: 32px 0 80px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}

.logo {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.cta-button {
  border: 1px solid rgba(248, 250, 252, 0.4);
  padding: 10px 18px;
  border-radius: 999px;
  transition: 0.2s ease;
}

.cta-button:hover {
  background: rgba(248, 250, 252, 0.15);
}

.hero-content {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: rgba(248, 250, 252, 0.7);
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  margin-bottom: 18px;
}

.lead {
  font-size: 1.1rem;
  color: rgba(248, 250, 252, 0.85);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: 0.2s ease;
}

.primary {
  background: var(--primary);
  color: white;
}

.primary:hover {
  background: #2563eb;
}

.secondary {
  border: 1px solid rgba(248, 250, 252, 0.4);
  color: rgba(248, 250, 252, 0.9);
}

.secondary:hover {
  background: rgba(248, 250, 252, 0.1);
}

.hero-card {
  background: rgba(15, 23, 42, 0.5);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(248, 250, 252, 0.12);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.35);
}

.hero-card h2 {
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.hero-card li::before {
  content: "•";
  color: #60a5fa;
  margin-right: 8px;
}

.section {
  padding: 80px 0;
}

.section.alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--muted);
}

.split {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: start;
}

.panel,
.list-box,
.contact-card {
  background: var(--card);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.panel h3 {
  margin-bottom: 12px;
}

.panel ul,
.list-box ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.panel li::before,
.list-box li::before {
  content: "✓";
  color: var(--primary);
  margin-right: 8px;
}

.grid.cards {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.grid.cards article {
  background: var(--card);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.grid.cards h3 {
  margin-bottom: 12px;
}

.timeline {
  display: grid;
  gap: 24px;
}

.timeline-item {
  background: var(--card);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.timeline-item span {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.timeline-item h3 {
  margin: 10px 0 8px;
}

.roadmap-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: url("hero_1536x713.webp") center/cover no-repeat;
  overflow: hidden;
}


.unterlagen-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  margin-top: 30px;
  background: url("unterlagen.webp") center/cover no-repeat;
  overflow: hidden;
}

.referenzen-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  margin-top: 30px;
  background: url("referenzen.webp") center/cover no-repeat;
  overflow: hidden;
}

.roadmap-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.roadmap-hero h2 {
  position: relative;
  margin: 0;
  padding: 0 24px;
  text-align: center;
  color: #ffffff;
  text-shadow: 0 10px 24px rgba(15, 23, 42, 0.45);
}

.modules {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.modules article {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px;
  box-shadow: var(--shadow);
}

.modules h3 {
  margin-bottom: 12px;
}

.modules ul {
  list-style: disc;
  padding-left: 18px;
  color: var(--muted);
}

.contact {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: flex-start;
}

.contact-card {
  display: grid;
  gap: 12px;
}

.contact-form {
  display: grid;
  gap: 16px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 500;
}

.contact-form__consent{
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin: 1rem 0 1.2rem;
  font-size: 0.95rem;
  line-height: 2.35;
}

/* Textfelder höher machen */
.contact-form input[type="text"],
.contact-form input[type="email"] {
  padding: 14px 16px;      /* <- macht die Felder deutlich höher */
  font-size: 1rem;         /* optional */
  line-height: 1.2;        /* optional */
  border: 1px solid var(--border);
  border-radius: 12px;
}



.contact-form__consent input[type="checkbox"]{
  margin-top: 0.25rem;
}


.contact-form textarea {
  resize: vertical;
}

.contact-form__message {
  grid-column: 1 / -1;
}

.contact-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--muted);
}

.contact-form__consent input {
  margin-top: 4px;
}

.contact-form .primary {
  width: fit-content;
}

footer {
  background: #0f172a;
  color: rgba(248, 250, 252, 0.75);
  padding: 32px 0;
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

.footer a {
  color: rgba(248, 250, 252, 0.85);
}

.footer a:hover {
  color: #ffffff;
}

@media (max-width: 720px) {
  .hero {
    padding-bottom: 64px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .section {
    padding: 64px 0;
  }
}


.contact-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-form__consent input {
  flex: 0 0 auto;
  margin-top: 4px;
}

.contact-form__consent a,
.contact-form__consent {
  /* optional: Link deutlich erkennbar */
  text-decoration: underline;
}

.contact-form__consent {
  /* wichtig: Text soll die restliche Breite nutzen */
}

.contact-form__consent {
  /* das ist der eigentliche Ergänzungs-Kniff */
}
.contact-form__consent {
  /* falls du irgendwo min-width: auto / shrink hast: */
}
.contact-form__consent {
  /* beste Praxis für Flex + Umbruch: */
}
.contact-form__consent {
  /* Ergänzung: */
}
.contact-form__consent {
  /* -> */
}
.contact-form__consent {
  /* Lass den Text flexen */
}
.contact-form__consent {
  /* Nimm das hier: */
}

.contact-form__consent span {
  flex: 1;
  min-width: 0; /* wichtig, damit Flex-Items korrekt umbrechen statt "zu quetschen" */
}
.contact-form__consent { display:flex; align-items:flex-start; gap:12px; }
.contact-form__consent span { flex: 1; min-width: 0; }

/* Gotcha / Honeypot */
.contact-form__gotcha-display {
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--muted);
  background: var(--bg);
  text-align: center;
}

.contact-form__gotcha {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


/* Checkbox-Label: rechts neben der Checkbox */
.contact-form label.contact-form__consent{
  display: flex;            /* überschreibt display:grid */
  align-items: flex-start;
  gap: 12px;
}

/* Checkbox nicht strecken lassen */
.contact-form label.contact-form__consent input[type="checkbox"]{
  width: auto;
  margin-top: 12px;          /* optisch zur ersten Textzeile ausrichten */
  flex: 0 0 auto;
}

/* Text soll neben Checkbox umbrechen dürfen */
.contact-form label.contact-form__consent span{
  flex: 1;
  min-width: 0;
}
