/*
  SPARKS Landingpage. Gestaltung nach dem Entwurf aus der Design-Leinwand:
  Barlow, Dunkelblau 1E3750, Grün 5BAA78, keine Rundungen, keine Schatten.
  Schriften liegen lokal, es werden keine Dateien von fremden Servern geladen.
*/

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/barlow-latin-300-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/barlow-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/barlow-latin-600-normal.woff2") format("woff2");
}

:root {
  --blue: #1e3750;
  --blue-soft: #dde3ea;
  --green: #5baa78;
  --green-dark: #3e8a5c;
  --grey-50: #f4f6f8;
  --grey-200: #e1e6eb;
  --grey-600: #5a6878;
  --grey-400: #b7c2ce;
  --red: #b3261e;
  --red-dark: #8c1d18;
  --red-tint: #fcf1f0;
  --gutter: 80px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  font-family: Barlow, Bahnschrift, "DIN Alternate", system-ui, sans-serif;
  font-weight: 300;
  color: var(--blue);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}
a:hover {
  color: var(--green-dark);
}

img {
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.hero :focus-visible,
.footer :focus-visible {
  outline-color: #ffffff;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 10;
  background: #ffffff;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 600;
}

.wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Kopf */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: #ffffff;
  padding: 32px 0 104px;
}

.hero-spark {
  position: absolute;
  right: -220px;
  top: -150px;
  width: 1080px;
  height: 1080px;
  opacity: 0.6;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 110px;
}

.logo {
  height: 124px;
  width: auto;
  margin-left: -4px;
}

.logo-small {
  height: 72px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid #ffffff;
  background: #ffffff;
  color: var(--blue);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.btn-ghost:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--blue);
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 760px;
}

.eyebrow {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}
.eyebrow-light {
  color: #ffffff;
}

.eyebrow-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.accent-line {
  display: block;
  width: 72px;
  height: 3px;
  background: var(--green);
}

h1 {
  margin: 0;
  font-size: 72px;
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.claim {
  margin: 0;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
}

.lead-light {
  margin: 0;
  max-width: 640px;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 300;
  color: var(--blue-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  align-self: flex-start;
  min-height: 60px;
  padding: 16px 28px;
  border: 0;
  background: var(--green);
  color: var(--blue);
  font-family: inherit;
  font-size: 19px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover {
  background: var(--green-dark);
  color: #ffffff;
}

/* Keil mit dem Stand */

.wedge {
  background: var(--green);
  color: #ffffff;
  clip-path: polygon(0 0, 100% 0, 100% 62%, 0 100%);
  padding: 30px 0 60px;
}

.wedge-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.wedge-label {
  font-size: 20px;
  letter-spacing: 0.13em;
  padding-top: 4px;
  flex-shrink: 0;
}

.wedge-text {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
  max-width: 820px;
}

/* Zwei Spalten */

.columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  padding-top: 88px;
  padding-bottom: 104px;
}

.column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 3px solid var(--blue);
  padding-top: 24px;
}
.column-accent {
  border-top-color: var(--green);
}

.numeral {
  margin: 0;
  font-size: 56px;
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.03em;
}
.numeral span {
  color: var(--green);
}

h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.1;
  font-weight: 600;
}

.column p {
  margin: 0;
  font-size: 19px;
  line-height: 1.55;
}

/* Formular */

.form-section {
  background: var(--grey-50);
  padding: 96px 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.form-intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-intro h2 {
  font-size: 48px;
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.form-intro p {
  margin: 0;
  font-size: 19px;
  line-height: 1.5;
}

.card {
  background: #ffffff;
  border-top: 3px solid var(--blue);
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 0;
}
.card-done {
  border-top-color: var(--green);
  gap: 18px;
}
.card-done h2 {
  font-size: 36px;
}
.card-done p {
  margin: 0;
  font-size: 19px;
  line-height: 1.55;
}

.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

label {
  font-size: 15px;
  font-weight: 600;
}
.optional {
  font-weight: 300;
  color: var(--grey-600);
}

input[type="text"],
input[type="email"] {
  height: 52px;
  border: 1px solid var(--blue);
  border-radius: 0;
  padding: 0 14px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 300;
  color: var(--blue);
  background: #ffffff;
}

input[aria-invalid="true"] {
  border: 2px solid var(--red);
  padding: 0 13px;
}

.field-error {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 400;
  color: var(--red-dark);
}
.consent-error {
  padding-left: 38px;
  margin-top: -18px;
}

.consent {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.consent input {
  width: 24px;
  height: 24px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: var(--blue);
}
.consent label {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 300;
}
.consent input[aria-invalid="true"] {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--red);
  background: var(--red-tint);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 400;
  color: var(--red-dark);
}
.alert svg {
  flex-shrink: 0;
  margin-top: 1px;
  stroke: var(--red);
}

.note {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--grey-600);
}

/* Honigtopf gegen Spam, für Menschen unsichtbar */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Förderhinweis */

.foerderung .eyebrow-block {
  align-items: center;
}

.foerderung {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 88px;
  padding-bottom: 96px;
  text-align: center;
}
.foerder-text {
  margin: 8px 0 24px;
  max-width: 880px;
  font-size: 18px;
  line-height: 1.55;
}
.foerderung img {
  width: 960px;
}

/* Fuß */

.footer {
  background: var(--blue);
  color: #ffffff;
  padding: 24px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.footer-links {
  display: flex;
  gap: 32px;
  font-size: 15px;
  font-weight: 400;
}
.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--green);
}
.teilen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 400;
  color: var(--grey-400);
}
.teilen a,
.teilen button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: 0;
  padding: 0;
  background: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
}
.teilen a:hover,
.teilen button:hover {
  color: var(--green);
}

.footer-meta {
  margin: 0;
  text-align: right;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--grey-400);
}
.footer-meta a {
  color: #ffffff;
}

/* Rechtstexte */

.legal {
  max-width: 820px;
  padding-top: 64px;
  padding-bottom: 96px;
}
.legal h1 {
  font-size: 44px;
  margin-bottom: 8px;
}
.legal h2 {
  font-size: 26px;
  margin-top: 40px;
}
.legal p,
.legal li {
  font-size: 18px;
  line-height: 1.6;
}
.legal ul {
  padding-left: 20px;
}
.legal .back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.legal-head {
  background: var(--blue);
  color: #ffffff;
  padding: 24px 0;
}
.legal-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 1100px) {
  :root {
    --gutter: 40px;
  }
  h1 {
    font-size: 56px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .foerderung img {
    width: 100%;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 20px;
  }
  .hero {
    padding-bottom: 72px;
  }
  .hero-spark {
    right: -320px;
    top: -220px;
    width: 800px;
    height: 800px;
  }
  .topnav {
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .logo {
    height: 84px;
  }
  .logo-small {
    height: 60px;
  }
  h1 {
    font-size: 40px;
  }
  .claim {
    font-size: 20px;
  }
  .lead-light {
    font-size: 18px;
  }
  .btn {
    font-size: 17px;
    padding: 14px 20px;
  }
  .wedge {
    clip-path: polygon(0 0, 100% 0, 100% 84%, 0 100%);
    padding-bottom: 48px;
  }
  .wedge-inner {
    flex-direction: column;
    gap: 12px;
  }
  .wedge-text {
    font-size: 19px;
  }
  .columns {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 56px;
    padding-bottom: 56px;
  }
  h2,
  .card-done h2 {
    font-size: 28px;
  }
  .form-intro h2 {
    font-size: 34px;
  }
  .form-section {
    padding: 56px 0;
  }
  .card {
    padding: 24px 20px;
  }
  .fields {
    grid-template-columns: 1fr;
  }
  .foerderung {
    padding-top: 56px;
    padding-bottom: 64px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-right {
    align-items: flex-start;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 20px;
  }
  .footer-meta {
    text-align: left;
  }
  .teilen {
    gap: 14px;
  }
  .legal h1 {
    font-size: 32px;
  }
}
