/* HPC & Ginger — Landingpage (statischer Nachbau von /lp-test-bb/)
   Keine externen Requests: Schrift und Bild liegen in assets/. */

/* ---------- Schrift (selbst gehostet, kein Google-CDN) ---------- */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/poppins-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/poppins-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/poppins-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/poppins-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

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

body {
  margin: 0;
  background: #fff;
  font-family: 'Poppins', Helvetica, Arial, sans-serif;
  font-weight: 500;
  color: #006D78;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Banner ---------- */
.lp-banner {
  position: relative;
  overflow: hidden;
  padding-top: 30vh;
  background-color: #B2C900;
  background-image: url('assets/landingpage_FR.png');
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
}

/* Verlauf nach unten, wie im Original (.gradient--bottom:after) */
.lp-banner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50vh;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.25) 100%);
  pointer-events: none;
}

/* Leere Zeile im Original — erzeugt exakt 101px Bannerhoehe (50 + 50 + 1) */
.lp-banner__row {
  width: 100%;
  max-width: 95vw;
  margin: 0 auto;
  padding: 50px;
}
.lp-banner__col { min-height: 1px; }

/* ---------- Textbereich ---------- */
.lp-inner {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 4vw;
}

.lp-inner section { margin: 0; }
.lp-inner section:last-of-type { margin-bottom: 10px; }

h1 {
  margin: 0 0 10px;
  padding: 0 0 10px;
  font-size: 24px;
  line-height: 28px;
  font-weight: 700;
  color: #006D78;
}

p {
  margin: 0;
  padding: 0 0 18px;
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  color: #006D78;
}

/* Nur der allerletzte Absatz der Seite verliert den Abstand — wie im Original,
   wo FR- und EN-Block in einem einzigen Textmodul lagen. */
.lp-inner section:last-of-type p:last-of-type { padding-bottom: 0; }

a {
  color: #AFCA0A;
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid #006D78;
  outline-offset: 2px;
  border-radius: 2px;
}

hr {
  height: 2px;
  margin: 30px 0;
  border: 0;
  border-bottom: 2px solid rgba(0, 0, 0, 0.2);
}

/* Briefumschlag vor der Mail-Adresse. Im Original ein Font-Awesome-Glyph
   (externer Dienst) — hier als Inline-SVG. Der Wrapper bildet die Box des
   Original-Pseudoelements nach (1.25em breit, eine Zeilenhoehe hoch, Unterkante
   auf der Grundlinie); nur so wird die Zeile genauso hoch wie im Original. */
.lp-mail__icon {
  position: relative;
  display: inline-block;
  width: 1.25em;
  height: 19px;   /* dehnt die Zeile auf 25px — wie das Glyph im Original */
  margin-right: 0.25em;
  vertical-align: baseline;
}
.lp-mail__icon svg {
  position: absolute;
  left: 0.125em;
  bottom: -2.25px;   /* Umschlag steht mit der Unterkante auf der Grundlinie */
  width: 1em;
  height: 1em;
}

/* Nur fuer Screenreader */
.lp-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Breakpoints (identisch zum Original: 980 / 767) ---------- */
@media only screen and (max-width: 980px) {
  .lp-banner { padding-top: 10vh; }
  .lp-banner__row { max-width: 100%; }
  .lp-banner__col { display: none; }  /* leere Spalte faellt weg — Banner ist hier 1px flacher */
  .lp-inner { max-width: 100%; }
}

@media only screen and (max-width: 767px) {
  .lp-banner__row { padding: 50px 30px; }
  .lp-inner { padding: 50px 30px; }
}
