@charset "UTF-8";
/*
 * Newsletter-Anmeldung (LIN-17, Stufe 1): Footer-Zeile, Dialog #diag_newsletter, Startseiten-Teaser, Seite /newsletter.
 * Eigene Datei (statt theme.css), Farben aus den Variablen der Schiefer-Palette (theme.css :root).
 */

/* === Footer-Zeile === */
/* Box wie .site-foot__grid/.site-foot__area (content-box, 1200 + Innenabstand), damit die Kanten fluchten */
.nl-foot__inner { max-width: 1200px; margin: 0 auto; padding: 20px 32px; display: flex; align-items: center; justify-content: space-between; gap: 14px 32px; flex-wrap: wrap; border-top: 1px solid rgba(155, 168, 171, .15); }
.nl-foot__text { margin: 0; color: var(--mist); font-size: 13px; }
.nl-foot__text b { margin-right: 8px; color: #fff; font-weight: 500; }

/* Schnellformular (E-Mail + Anmelden) – Footer dunkel, Startseite hell */
.nl-quick { display: flex; gap: 8px; flex: 0 1 440px; min-width: 0; margin: 0; }
.nl-quick input[type=email] { flex: 1; min-width: 0; box-sizing: border-box; padding: 10px 16px; border: 1px solid var(--steel); border-radius: 999px; background: var(--deep); color: #fff; font: 400 14px/1.4 'Outfit', system-ui, sans-serif; transition: border-color .25s var(--ease); }
.nl-quick input[type=email]::placeholder { color: var(--mist); opacity: 1; }
.nl-quick input[type=email]:focus { border-color: var(--fog); }
.nl-quick input[type=email]:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.nl-quick__btn { flex: none; padding: 10px 20px; border: 1px solid var(--fog); border-radius: 999px; background: var(--fog); color: var(--night); font: 500 14px/1.4 'Outfit', system-ui, sans-serif; cursor: pointer; transition: background-color .25s var(--ease), border-color .25s var(--ease); }
.nl-quick__btn:hover { background: #fff; border-color: #fff; }
.nl-quick__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.nl-quick--light input[type=email] { border-color: var(--fog); background: #fff; color: var(--night); }
.nl-quick--light input[type=email]::placeholder { color: var(--steel); }
.nl-quick--light input[type=email]:focus { border-color: var(--steel); }
.nl-quick--light input[type=email]:focus-visible, .nl-quick--light .nl-quick__btn:focus-visible { outline-color: var(--night); }
.nl-quick--light .nl-quick__btn { border-color: var(--night); background: var(--night); color: #fff; }
.nl-quick--light .nl-quick__btn:hover { border-color: var(--slate); background: var(--slate); }
@media (max-width: 600px) {
	.nl-foot__inner { padding: 18px 16px; }
	.nl-foot__text b { display: block; }
	.nl-quick { flex-basis: 100%; flex-direction: column; }
	.nl-quick__btn { width: 100%; }
}

/* === Startseiten-Teaser === */
.nl-teaser { padding-top: 8px; }
.nl-teaser__card { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; padding: 28px 32px; text-align: left; }
.nl-teaser__text { flex: 1 1 360px; }
.nl-teaser__title { margin: 0 0 6px; padding: 0; font: 300 clamp(1.4rem, 2.6vw, 1.75rem)/1.2 'Outfit', system-ui, sans-serif; color: var(--night); text-align: left; }
.nl-teaser__text p { margin: 0; max-width: 56ch; color: var(--steel); font-size: 15px; line-height: 1.55; }
@media (max-width: 600px) {
	.nl-teaser__card { padding: 22px 18px; }
}

/* === Formularfelder (Dialog und Seite) === */
.nl-fields { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px 12px; text-align: left; }
.nl-fields > * { grid-column: 1 / -1; min-width: 0; }
.nl-field--salutation { grid-column: 1 / span 2; }
.nl-field--first { grid-column: 1 / span 3; }
.nl-field--last { grid-column: span 3; }
.nl-field label { display: block; margin: 0 0 5px; color: var(--night); font-size: 14px; font-weight: 500; }
.nl-req, .nl-opt { color: var(--steel); font-weight: 400; font-size: 12.5px; }
.nl-field input[type=email], .nl-field input[type=text], .nl-field select { display: block; box-sizing: border-box; width: 100%; margin: 0; padding: 10px 12px; border: 1px solid var(--fog); border-radius: 8px; background: #fff; color: var(--night); font: 400 15px/1.4 'Outfit', system-ui, sans-serif; transition: border-color .25s var(--ease); }
.nl-field input:focus, .nl-field select:focus { border-color: var(--steel); }
.nl-fields :focus-visible { outline: 2px solid var(--night); outline-offset: 2px; }
.nl-field [aria-invalid="true"] { border-color: #b00020; }
.nl-fields .field-error, .nl-form-error { margin: 6px 0 0 2px; color: #b00020; font-size: 13px; }
.nl-interests { margin: 0; padding: 0; border: 0; min-width: 0; }
.nl-interests legend { padding: 0; color: var(--night); font-size: 14px; font-weight: 500; }
.nl-hint { margin: 2px 0 8px; color: var(--steel); font-size: 13px; }
.nl-interests__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px 14px; }
.nl-check, .nl-field .nl-check { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: var(--night); font-size: 14px; font-weight: 400; line-height: 1.45; cursor: pointer; }
.nl-check input { flex: none; width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--night); }
.nl-field .nl-consent { color: var(--steel); font-size: 13px; }
.nl-consent a { color: var(--night); text-decoration: underline; }
.nl-consent.is-missing input, .nl-consent input[aria-invalid="true"] { outline: 2px solid #b00020; outline-offset: 1px; }
@media (max-width: 480px) {
	.nl-fields > * { grid-column: 1 / -1 !important; }
}

.nl-submit { display: block; margin: 18px 0 0 auto; padding: .8em 2em; border: 0; border-radius: 999px; background: var(--night); color: #fff; font: 500 1rem/1.2 'Outfit', system-ui, sans-serif; cursor: pointer; transition: background-color .3s var(--ease); }
.nl-submit:hover { background: var(--slate); }
.nl-submit:disabled { background: var(--mist); cursor: progress; }
.nl-submit:focus-visible { outline: 2px solid var(--night); outline-offset: 2px; }

/* === Dialog === */
dialog#diag_newsletter { width: min(600px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow-y: auto; box-sizing: border-box; padding: 28px 28px 24px; background: var(--paper); color: var(--night); border: 0; border-radius: 16px; text-align: left; box-shadow: 0 24px 60px rgba(6, 20, 27, .35); }
dialog#diag_newsletter::backdrop { background: rgba(6, 20, 27, .65); }
.nl-dialog__close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--steel); font-size: 16px; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease); }
.nl-dialog__close:hover { background: var(--line); color: var(--night); }
.nl-dialog__close:focus-visible { outline: 2px solid var(--night); outline-offset: 2px; }
.nl-dialog__title { margin: 0 0 6px; padding: 0 40px 0 0; font: 300 1.6rem/1.2 'Outfit', system-ui, sans-serif; color: var(--night); text-align: left; }
.nl-dialog__lead { margin: 0 0 18px; color: var(--steel); font-size: 14px; }
.nl-dialog__done-text { margin: 8px 0 0; color: var(--steel); font-size: 15px; line-height: 1.55; }
@media (max-width: 600px) {
	dialog#diag_newsletter { padding: 24px 16px 20px; }
	.nl-submit { width: 100%; }
}

/* === Seite /newsletter und Meldungsseiten === */
.nl-page { text-align: left; }
.nl-intro { margin: 0 0 20px; color: var(--steel); }
.nl-notice, .nl-errors { margin: 0 0 18px; padding: 12px 16px; border-left: 3px solid #b00020; background: #fff5f5; color: var(--night); }
.nl-errors ul { margin: 6px 0 0; padding-left: 1.2em; }
.nl-done h2 { margin: 0 0 8px; padding: 0; font: 300 1.6rem/1.2 'Outfit', system-ui, sans-serif; color: var(--night); text-align: left; }
.nl-done p, .nl-message p { margin: 0; color: var(--steel); font-size: 16px; line-height: 1.6; }
.nl-actions { margin-top: 20px; }
.nl-message .nl-submit { margin-left: 0; }

@media (prefers-reduced-motion: reduce) {
	.nl-submit, .nl-quick__btn, .nl-quick input { transition: none; }
}
