@font-face { font-family: "Lato"; src: url("fonts/lato-light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Lato"; src: url("fonts/lato-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --green: #7A9191;
  --green-dark: #5F7676;
  --ink: #3D4E4E;
  --sand: #D1C9C1;
  --sand-light: #F4F1EE;
  --line: #D1C9C1;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sand); color: var(--ink); font-family: "Lato", system-ui, sans-serif; font-weight: 400; font-size: 17px; line-height: 1.55; }

/* Kopf wie der Anmeldebildschirm der App: Palmenblatt von unten links, nah am Logo – auf dem Handy wie am Laptop */
.head { position: relative; overflow: hidden; display: grid; place-content: center; justify-items: center; gap: 14px; min-height: 240px; padding: 44px 16px; background: var(--green); color: #fff; text-align: center; }
.head .palm { position: absolute; left: max(-60px, calc(50% - 290px)); bottom: -70px; width: 230px; height: auto; opacity: .55; pointer-events: none;
  /* Das Blatt ist links gerade abgeschnitten: Kante weich ausblenden, wenn es nicht am Bildschirmrand sitzt */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 40%); mask-image: linear-gradient(to right, transparent, #000 40%); }
.head .logo { position: relative; display: block; width: 240px; max-width: 70%; height: auto; }
.tagline { position: relative; margin: 0; font-size: 14px; letter-spacing: .08em; }
/* Handy: Das Blatt sitzt am Bildschirmrand, dort braucht es keine weiche Kante und darf kräftiger wirken */
@media (max-width: 599px) {
  .head .palm { left: -24px; bottom: -40px; width: 210px; opacity: .6; -webkit-mask-image: none; mask-image: none; }
}
@media (min-width: 700px) {
  .head { min-height: 300px; }
  .head .palm { width: 280px; bottom: -90px; }
  .head .logo { width: 280px; }
}

.page { width: 100%; max-width: 560px; margin: 0 auto; padding: 36px 16px 48px; }
h1 { margin: 0 0 12px; font-weight: 300; font-size: 32px; line-height: 1.2; }
.intro { margin: 0 0 8px; }
.deadline { margin: 0 0 28px; }

form { display: grid; gap: 22px; }

/* Auswahl oben: Bewerbung oder nur Newsletter – das passende Formular klappt erst nach der Wahl auf */
.wahl { margin-bottom: 26px; }
.wahl .choices { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.wahl .choice span { padding: 14px 12px; }
form.form-bewerbung, form.form-newsletter { display: none; }
.page:has(#wahl-bewerbung:checked) form.form-bewerbung,
.page:has(#wahl-newsletter:checked) form.form-newsletter { display: grid; }
.form-newsletter .intro { margin: 0; }
.form-note { margin: 0; font-size: 15px; color: #9A4A3A; }
.form-note[hidden] { display: none; }
form.form-newsletter.is-open { display: grid; }
.sub { margin: 36px 0 16px; font-weight: 300; font-size: 24px; line-height: 1.25; }
.field { display: grid; gap: 6px; }
.label, legend { font-size: 15px; }
.hint { font-size: 14px; color: var(--green-dark); }
input[type="text"], input[type="email"], textarea {
  width: 100%; padding: 12px 14px; font: inherit; color: inherit; background: #fff;
  border: 1px solid var(--line); border-radius: 10px; outline: 0;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--green-dark); box-shadow: 0 0 0 3px rgba(122, 145, 145, .22); }

fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; }
legend { padding: 0; margin-bottom: 8px; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: block; padding: 10px 12px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.choice input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(122, 145, 145, .35); }

.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 15px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green-dark); }
.privacy { margin: 0; font-size: 14px; }
.privacy a, .foot a { color: inherit; }

button { width: 100%; padding: 15px 20px; font: inherit; color: #fff; background: var(--green-dark); border: 0; border-radius: 999px; cursor: pointer; }
button:hover { background: var(--ink); }

.recht h2 { margin: 28px 0 8px; font-weight: 400; font-size: 20px; }
.recht p { margin: 0 0 12px; overflow-wrap: anywhere; }
.recht a { color: inherit; }

.trap { position: absolute; left: -9999px; }
.foot { padding: 0 16px 32px; text-align: center; font-size: 14px; }

/* Datenschutzerklärung: lange Texte mit Listen und Zwischenüberschriften aus dem Generator. */
.recht h3 { margin: 22px 0 6px; font-weight: 700; font-size: 16px; }
.recht ul { margin: 0 0 14px; padding-left: 20px; }
.recht li { margin: 0 0 8px; overflow-wrap: anywhere; }
.recht ul.index { columns: 2; column-gap: 32px; padding-left: 18px; }
.recht ul.index li { margin-bottom: 4px; break-inside: avoid; }
.recht .seal { font-size: 13px; opacity: .75; }
.recht h2[id] { scroll-margin-top: 16px; }
.recht-back { margin-top: 32px; }
@media (max-width: 600px) { .recht ul.index { columns: 1; } }