/* Kleine Seiten im Design von /gutscheine und /touren: Kontakt, Danke, 404, Impressum, Datenschutz, AGB.
   Baut auf gutscheine.css auf (gs, gs-in, gs-eye, gs-btn, gs-hell, gs-dunkel). Präfix sb- (Seitenbausteine). */

/* Kopf: dunkel, ohne Foto, unten die gelb-schwarze Kante wie bei den Heros */
.sb-kopf {
  position: relative;
  padding: 72px 0 64px;
  background: var(--gs-schwarz);
}
.sb-kopf::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: repeating-linear-gradient(135deg, var(--gs-gold) 0 18px, var(--gs-schwarz) 18px 36px);
}
.gs .sb-kopf h1 {
  max-width: 14em;
  font-size: clamp(32px, 5vw, 64px);
  overflow-wrap: break-word;
  hyphens: auto; /* DATENSCHUTZERKLÄRUNG passt sonst am Handy nicht in die Zeile */
}
.sb-kopf .gs-lead {
  max-width: 36em;
  margin-top: 18px;
  color: #e6e3de;
}
.sb-kopf .gs-cta {
  margin-top: 28px;
}
.sb-kopf__klein {
  margin-top: 18px !important;
  font-size: 15px;
  color: var(--gs-leise);
}
/* Danke-Seite: zweiter Text für die Newsletter-Anmeldung (seite.js blendet um) */
.sb-variante[hidden] {
  display: none;
}

/* Kontakt: Kontaktwege links, Formular rechts */
.sb-kontakt {
  background: var(--gs-kohle);
}
.sb-kontakt__raster {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: start;
}
.sb-wege {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sb-weg {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 14px 18px;
  border: 1px solid var(--gs-linie);
  border-radius: 8px;
  background: var(--gs-schwarz);
  color: #fff !important;
  text-decoration: none;
}
a.sb-weg:hover {
  border-color: var(--gs-gold);
}
.sb-weg svg {
  flex: none;
  width: 26px;
  height: 26px;
  color: var(--gs-gold);
}
.sb-weg span {
  display: grid;
  min-width: 0;
  font-size: 13px;
  color: var(--gs-leise);
}
.sb-weg b {
  overflow-wrap: anywhere;
  font-size: 16px;
  color: #fff;
}

/* Formular (gleiche Machart wie die Partner-Anfrage auf /promotion) */
.sb-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.sb-voll {
  grid-column: 1 / -1;
}
.sb-feld {
  min-width: 0;
}
.sb-feld label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gs-text);
}
.sb-feld input,
.sb-feld textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: var(--gs-schwarz);
  color: #fff;
  font: 500 16px "Montserrat", sans-serif;
}
.sb-feld textarea {
  min-height: 150px;
  resize: vertical;
}
.sb-feld input:focus-visible,
.sb-feld textarea:focus-visible {
  outline: 3px solid var(--gs-gold);
  outline-offset: 2px;
}
.sb-feld ::placeholder {
  color: #8d8a85;
}
.sb-hinweis {
  margin-top: 12px !important;
  font-size: 13px;
  color: var(--gs-leise);
}
.sb-fehler {
  margin-bottom: 20px !important;
  padding: 12px 16px;
  border-left: 4px solid var(--gs-gold);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
}
.sb-fehler[hidden] {
  display: none;
}

/* Schlichter Rahmen ohne Menü (base.njk → schlicht, nur /checkin): Logo oben, Rechtslinks unten */
.schlicht-kopf {
  display: flex;
  justify-content: center;
  padding: 14px 16px;
  background: #0e0e0f; /* wie --gs-schwarz; die Variablen gelten nur innerhalb von .gs */
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.schlicht-kopf img {
  display: block;
}
.schlicht-fuss {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 24px;
  padding: 24px 16px 32px;
  background: #0e0e0f;
  font: 500 14px "Montserrat", sans-serif;
}
.schlicht-fuss a,
.schlicht-fuss button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: #b9b6b1;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.schlicht-fuss a:hover,
.schlicht-fuss button:hover {
  color: #e0aa3e;
}

/* Guide werden (/guide-werden): ein „Pinnwand-Zettel“ mit der Stelle */
.sb-stelle {
  max-width: 760px;
}
.sb-zettel {
  position: relative;
  padding: 44px 36px 32px;
  border-radius: 4px;
  background: #f4efe4;
  color: #1c1b19;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25), 0 14px 30px rgba(0, 0, 0, 0.35);
  transform: rotate(-0.8deg);
}
/* Reißzwecke in Gold */
.sb-zettel__nadel {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f3cf7a, #e0aa3e 55%, #9c6f1c);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.35);
}
.gs .sb-zettel h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 3.2vw, 30px);
  line-height: 1.2;
  color: #0e0e0f;
  overflow-wrap: break-word;
  hyphens: manual; /* nur am Bindestrich trennen, nicht „Mini-job“ */
}
.gs .sb-zettel h3 {
  margin: 22px 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: #0e0e0f;
}
.sb-zettel p,
.sb-zettel li {
  font-size: 16px;
  line-height: 1.6;
  color: #1c1b19;
}
.sb-zettel ul {
  margin: 0;
  padding-left: 1.2em;
}
.sb-zettel li + li {
  margin-top: 4px;
}
.sb-zettel__eckdaten {
  margin-top: 20px !important;
  padding: 12px 16px;
  border-left: 4px solid #e0aa3e;
  background: rgba(224, 170, 62, 0.14);
}
.sb-zettel__knoepfe {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.sb-zettel__knoepfe .gs-btn svg {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  flex: none;
}
/* Ghost-Knopf auf hellem Papier: dunkle Schrift statt weißer */
.gs .sb-zettel .gs-btn--ghost {
  border-color: #0e0e0f;
  color: #0e0e0f;
}
.sb-zettel__klein {
  margin-top: 14px !important;
  font-size: 14px !important;
  color: #4a4741 !important;
}
.gs .sb-zettel a:not(.gs-btn) {
  color: #8a4a12;
  font-weight: 700;
}
/* Check-in (/checkin): eine Spalte, schmal, fürs Handy vor Ort */
.sb-checkin {
  max-width: 720px;
}
.sb-wahl {
  margin: 0;
  padding: 0;
  border: 0;
}
.sb-wahl legend {
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gs-text);
}
.sb-wahl .sb-hinweis {
  margin: 0 0 10px !important;
}
/* .sb-wahl davor: schlägt die allgemeinen Regeln .sb-feld label / .sb-feld input (Textfelder) */
.sb-wahl .sb-wahl__option {
  display: inline-flex;
  margin-bottom: 0;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--gs-text);
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-right: 28px;
  font-size: 16px;
  cursor: pointer;
}
.sb-wahl .sb-wahl__option input,
.sb-haken input {
  flex: none;
  width: 22px;
  height: 22px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  accent-color: var(--gs-gold);
}
.sb-haken {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}
.sb-haken input {
  margin-top: 1px;
}
.sb-haken em {
  color: var(--gs-leise);
}
.sb-wahl__option input:focus-visible,
.sb-haken input:focus-visible,
.sb-unterschrift__loeschen:focus-visible {
  outline: 3px solid var(--gs-gold);
  outline-offset: 2px;
}
.sb-unterschrift__titel {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.sb-unterschrift .sb-hinweis {
  margin: 0 0 10px !important;
}
/* Helles Feld wie Papier, damit die dunkle Unterschrift gut zu sehen ist */
.sb-unterschrift__feld {
  display: block;
  width: 100%;
  height: 180px;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: #fff;
  touch-action: none;
  cursor: crosshair;
}
.sb-unterschrift__leiste {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 8px;
}
.sb-unterschrift__loeschen {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--gs-gold);
  font: 700 14px "Montserrat", sans-serif;
  text-decoration: underline;
  cursor: pointer;
}
.sb-unterschrift__fehler {
  margin: 0 !important;
  font-weight: 700;
  color: var(--gs-gold);
}
.sb-unterschrift__fehler[hidden] {
  display: none;
}
.sb-hinweis--deutlich {
  margin: 0 0 12px !important;
  padding: 12px 16px;
  border-left: 4px solid var(--gs-gold);
  background: rgba(255, 255, 255, 0.06);
  color: var(--gs-text) !important;
}
.sb-hinweis a {
  color: var(--gs-gold);
}
.sb-checkin .sb-voll .sb-hinweis + .gs-btn {
  margin-top: 12px;
}

/* Karte (Platzhalter bis zur Zustimmung) auf hellem Grund */
.sb-karte .extern {
  max-width: 760px;
  margin: 28px auto 0;
  color: #fff;
}

/* Linkliste (404) */
.sb-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.sb-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}

/* Rechtstexte: helle, gut lesbare Textspalte. Wortlaut unverändert. */
.sb-recht {
  max-width: 760px;
  margin: 0 auto;
  overflow-wrap: anywhere; /* lange Links umbrechen statt seitlich scrollen */
  font-size: 16px;
  line-height: 1.65;
  color: var(--gs-grau);
}
.gs .sb-recht h2 {
  margin: 40px 0 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(14, 14, 15, 0.12);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gs-schwarz);
}
.gs .sb-recht h2:first-of-type {
  margin-top: 28px;
}
.gs .sb-recht h3 {
  margin: 24px 0 6px;
  font-size: 15px;
  font-weight: 800;
  color: var(--gs-schwarz);
}
.gs .sb-recht p + p,
.sb-recht ul {
  margin-top: 0.8em;
}
.gs .sb-recht a {
  color: var(--gs-kupfer);
  font-weight: 700;
}

@media (max-width: 860px) {
  .sb-kontakt__raster {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
@media (max-width: 600px) {
  .sb-kopf {
    padding: 48px 0 44px;
  }
  .sb-form {
    grid-template-columns: 1fr;
  }
  .sb-form .gs-btn,
  .sb-zettel__knoepfe .gs-btn {
    width: 100%;
  }
  .sb-zettel {
    padding: 40px 20px 24px;
    transform: none;
  }
}
