/* Colours, type and shapes follow zukunft-handwerk.de (measured there on 2026-12-01). */

@font-face {
  font-family: "Noto Sans Display";
  src: url("../fonts/noto-sans-display-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --blau: #0050a0;
  --blau-dunkel: #003f7f;
  --blau-hell: #e3ebf5;
  --hellblau: #4780b9;
  --gruen: #8cb919;
  --gruen-dunkel: #7aa214;
  --gruen-hell: #eef5d9;
  --text: #000;
  --grau: #4f4f4f;
  --linie: #cecece;
  --flaeche: #f4f4f4;
  --radius: 6px;
  --breite: 1040px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: "Noto Sans Display", "Noto Sans", "Segoe UI", Arial, sans-serif;
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}

h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--blau);
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 1.2rem + 2.6vw, 2.8125rem);
}

h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blau);
}

:focus-visible {
  outline: 3px solid var(--gruen);
  outline-offset: 3px;
}

.rahmen {
  width: min(var(--breite), 100% - 40px);
  margin-inline: auto;
}

/* The net of lines behind light sections, as on the academy's site. */
.netz {
  background: #fff url("../img/netz.svg") center / cover no-repeat;
}

section[id] {
  scroll-margin-top: 24px;
}

/* ---------- Button ---------- */

.knopf {
  display: inline-block;
  padding: 10px 40px;
  border: 2px solid var(--gruen);
  border-radius: var(--radius);
  background: var(--gruen);
  color: #fff;
  font: inherit;
  font-weight: 600;
  line-height: 1.6;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}

.knopf:hover {
  background: var(--gruen-dunkel);
  border-color: var(--gruen-dunkel);
}

.knopf--rand {
  padding: 5px 30px;
  background: transparent;
  color: var(--gruen);
  font-weight: 700;
}

.knopf--rand:hover {
  background: var(--gruen);
  border-color: var(--gruen);
  color: #fff;
}

/* ---------- Kopf ---------- */

.kopf {
  position: relative;
  z-index: 2;
  background: var(--blau);
  box-shadow: 0 2px 6px rgb(0 0 0 / .18);
}

.kopf__zeile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

/* The logo hangs out of the blue bar on a white card. */
.kopf__logo {
  align-self: flex-start;
  margin-bottom: -40px;
  padding: 16px 20px 14px;
  border-radius: 0 0 var(--radius) var(--radius);
  background: #fff;
  box-shadow: 0 3px 10px rgb(0 0 0 / .22);
}

.kopf__logo img {
  width: 150px;
}

.kopf__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.kopf__link {
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
}

.kopf__link::before {
  content: "> ";
}

.kopf__link:hover {
  color: var(--gruen);
}

/* ---------- Einstieg ---------- */

.einstieg {
  padding: 104px 0 80px;
}

.einstieg__raster {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 48px;
}

.einstieg__leitsatz {
  margin-top: 14px;
  color: var(--gruen-dunkel);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.einstieg__text p:not(.einstieg__leitsatz) {
  margin-top: 22px;
  color: var(--blau);
}

.einstieg__text .knopf {
  margin-top: 30px;
}

.einstieg__bild {
  position: relative;
  padding: 0 0 4% 0;
}

.einstieg__laptop {
  width: 82%;
  margin-top: 18%;
}

.einstieg__roboter {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  filter: drop-shadow(0 6px 10px rgb(0 0 0 / .18));
}

/* ---------- Streifen ---------- */

.streifen {
  padding: 40px 0;
  background:
    repeating-linear-gradient(-45deg, transparent 0 4px, rgb(0 0 0 / .025) 4px 5px),
    var(--flaeche);
  text-align: center;
}

.streifen p {
  margin-top: 8px;
  color: var(--blau);
  font-weight: 600;
}

/* ---------- Module ---------- */

.module {
  padding: 72px 0;
}

.module__raster {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.modul {
  --farbe: var(--blau);
  --farbe-hell: var(--blau-hell);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid var(--farbe);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 2px 10px rgb(0 0 0 / .1);
}

.modul--berater {
  --farbe: var(--gruen);
  --farbe-hell: var(--gruen-hell);
}

.modul__kopf {
  padding: 20px 24px 22px;
  background: var(--farbe);
  color: #fff;
  text-align: center;
}

.modul__kopf h3 {
  color: #fff;
  font-size: 1.5rem;
}

/* Keep the product name on one line. */
.marke {
  white-space: nowrap;
}

.modul__kopf p {
  margin-top: 4px;
  font-weight: 600;
}

.modul__liste {
  flex: 1;
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 28px 28px 28px 52px;
  list-style: none;
}

.modul__liste li {
  position: relative;
}

.modul__liste li::before {
  content: "";
  position: absolute;
  top: .62em;
  left: -22px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--farbe);
}

.modul__liste strong {
  display: block;
}

.modul__nutzen {
  padding: 20px 28px 24px;
  background: var(--farbe-hell);
  text-align: center;
}

.modul__nutzen h4 {
  margin-bottom: 4px;
  color: var(--text);
  font-size: 1rem;
}

/* ---------- Vorteile ---------- */

.vorteile {
  padding: 72px 0 136px;
  border-top: 1px solid var(--linie);
}

.vorteile h2 {
  text-align: center;
}

.vorteile__raster {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 40px;
  padding: 0;
  list-style: none;
  counter-reset: vorteil;
}

.vorteil {
  padding: 24px 16px 22px;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 2px 8px rgb(0 0 0 / .08);
  font-size: 1rem;
  line-height: 1.45;
  text-align: center;
  counter-increment: vorteil;
}

.vorteil__bild {
  width: 44px;
  margin: 0 auto 14px;
  fill: none;
  stroke: var(--blau);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* The short blue dash above a card title, as on the academy's event cards. */
.vorteil h3 {
  margin-bottom: 6px;
  padding-top: 14px;
  border-top: 0;
  background: linear-gradient(var(--blau), var(--blau)) top center / 26px 3px no-repeat;
  font-size: 1.0625rem;
  line-height: 1.3;
}

.vorteil h3::before {
  content: counter(vorteil) ". ";
}

/* ---------- Newsletter ---------- */

.newsletter {
  padding: 0 0 88px;
}

/* The block reaches up into the section above, so the net ends behind it. */
.newsletter__block {
  position: relative;
  margin-top: -56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 48px;
  border-radius: var(--radius);
  background: var(--blau);
  color: #fff;
  box-shadow: 0 4px 14px rgb(0 0 0 / .18);
}

.newsletter__text h2 {
  color: #fff;
}

.newsletter__text p {
  margin-top: 14px;
  font-size: 1.125rem;
}

.anmeldung {
  display: grid;
  gap: 14px;
}

.anmeldung__name {
  margin-bottom: -8px;
  font-weight: 600;
}

.anmeldung__feld {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  font: inherit;
}

.anmeldung__haken {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  font-size: .9375rem;
  line-height: 1.45;
}

.anmeldung__haken input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--gruen);
}

.anmeldung a {
  color: #fff;
  font-weight: 600;
}

.anmeldung .knopf {
  justify-self: start;
}

.anmeldung__hinweis {
  font-size: .9375rem;
  opacity: .9;
}

.anmeldung__meldung {
  padding: 12px 16px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--blau);
  font-weight: 600;
}

.newsletter :focus-visible {
  outline-color: #fff;
}

/* ---------- Fuß ---------- */

.fuss {
  background: var(--blau);
  color: #fff;
  font-size: 1rem;
}

.fuss a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.fuss a:hover {
  text-decoration: underline;
}

.fuss :focus-visible {
  outline-color: #fff;
}

.fuss__anschrift {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  padding: 26px 0;
}

.fuss__anschrift > * + *::before {
  content: "•";
  margin: 0 10px;
  font-weight: 400;
}

/* A full-width hairline between the two rows of the footer. */
.fuss__zeile {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  padding: 22px 0 26px;
}

.fuss__zeile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  border-top: 1px solid rgb(255 255 255 / .25);
  transform: translateX(-50%);
}

.fuss__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}

.fuss__nav a::before {
  content: "> ";
}

/* ---------- Schmale Bildschirme ---------- */

@media (max-width: 900px) {
  .einstieg {
    padding: 88px 0 56px;
  }

  .einstieg__raster,
  .module__raster,
  .newsletter__block {
    grid-template-columns: 1fr;
  }

  .einstieg__bild {
    width: min(440px, 100%);
    margin-inline: auto;
  }

  .einstieg__laptop {
    margin-top: 12%;
  }

  .vorteile__raster {
    grid-template-columns: repeat(2, 1fr);
  }

  .newsletter__block {
    gap: 28px;
    padding: 32px 24px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16.5px;
  }

  .kopf__link {
    display: none;
  }

  .kopf__zeile {
    min-height: 64px;
  }

  .kopf__logo {
    margin-bottom: -28px;
    padding: 12px 14px 10px;
  }

  .kopf__logo img {
    width: 112px;
  }

  .knopf {
    padding-inline: 24px;
  }

  .knopf--rand {
    padding-inline: 18px;
  }

  .module {
    padding: 48px 0 56px;
  }

  .vorteile {
    padding: 48px 0 104px;
  }

  .vorteile__raster {
    grid-template-columns: 1fr;
  }

  .anmeldung .knopf {
    justify-self: stretch;
    text-align: center;
  }

  .fuss__anschrift {
    flex-direction: column;
  }

  .fuss__anschrift > * + *::before {
    content: none;
  }
}
