/* WIRK-Post-Anmeldung (Stufe 2, 10.10.2026): Zusatzfelder der alten WIRK-Post im Design der PowerWirkstatt.
   Geladen nur von site/templates/newsletter.php (Seite /newsletter und /einbetten), NACH seite.css.
   Handy (375-390 px): eine Spalte, Tippflaechen mind. 44 px, kein seitlicher Ueberlauf. */
.wp-seite .newsletter-formular { max-width: 40rem; }
.wp-titel { font-size: 1.25em; margin: 1.6rem 0 .3rem; }
.wp-hilfe { font-size: .95em; margin: 0 0 .7rem; }
.wp-pflicht { font-weight: normal; font-size: .85em; }
.wp-unsichtbar { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.wp-seite fieldset { min-width: 0; }

/* Themen und Rezepte als Kacheln: zwei Spalten auf breiten Schirmen, eine auf dem Handy */
.wp-themen { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .5rem; }
.wp-seite .wp-kachel { display: flex; align-items: flex-start; gap: .6rem; margin: 0; padding: .6rem .75rem; min-height: 44px;
  background: rgba(255, 255, 255, .55); border: 1px solid rgba(4, 83, 93, .25); border-radius: 8px; cursor: pointer; line-height: 1.35; }
.wp-seite .wp-kachel:has(input:checked) { background: #fff; border-color: var(--petrol, #2c6f7a); }
.wp-seite .wp-alles { grid-column: 1 / -1; }
.wp-kachel input, .wp-weg input, .wp-seite .newsletter-wahl input { flex: 0 0 auto; width: 1.25rem; height: 1.25rem; margin: .1rem 0 0; accent-color: var(--petrol, #2c6f7a); }
.wp-rezept small { font-size: .95em; }

/* Eingabefelder */
.wp-seite .newsletter-feld > label { display: block; font-weight: 600; margin-bottom: .25rem; }
.wp-seite input[type="text"], .wp-seite input[type="tel"], .wp-seite input[type="email"], .wp-seite textarea {
  display: block; width: 100%; max-width: 100%; min-height: 44px; padding: .45rem .6rem; font: inherit; font-size: 18px;
  color: var(--text, #163f46); background: #fff; border: 1px solid rgba(4, 83, 93, .45); border-radius: 6px; box-sizing: border-box; }
.wp-seite textarea { min-height: 7rem; resize: vertical; }
.wp-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .9rem; }
.wp-paar .newsletter-feld { margin-bottom: 1.1rem; }

/* Kontaktwege: nebeneinander, auf dem Handy zwei je Zeile */
.wp-wege { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.wp-wege legend { flex-basis: 100%; width: 100%; font-weight: 600; }
.wp-seite .wp-weg { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; margin: 0; }

.wp-einwilligung { margin-top: 1.4rem; }
.wp-datenschutz { margin: 0 0 1.2rem; font-size: .95em; }
.wp-datenschutz summary { cursor: pointer; padding: .7rem 0; font-weight: 600; }
.wp-datenschutz ul { margin: .3rem 0 0; padding-left: 1.2rem; }
.wp-seite .newsletter-formular button { min-height: 48px; padding: .55rem 1.8rem; font-size: 1em; }

/* Eingebettet (/einbetten): kein Seitenhintergrund, kein Seitenrand -- die einbettende Seite gibt beides vor */
body.wp-eingebettet { background: transparent; }
.wp-eingebettet .inhalt.newsletter-seite { padding: 0 2px 12px; max-width: 100%; }
.wp-eingebettet .wp-titel:first-of-type { margin-top: .4rem; }

@media (max-width: 560px) {
  .wp-paar { grid-template-columns: 1fr; }
  .wp-themen { grid-template-columns: 1fr; }
  .wp-wege .wp-weg { flex: 0 0 calc(50% - .6rem); }
}
