/* ---------- Newsletter Seiten (Fast geschafft / Danke) ----------
   Arbeitet mit normalen Contao Elementen.
   Artikel: CSS Klasse "nl-seite"
   Elemente: nl-titel, nl-lead, nl-box, nl-geschenk, nl-schritte, nl-hinweis, nl-knopf
   Symbol über der Überschrift: zusätzlich nl-icon-mail oder nl-icon-check
------------------------------------------------------------------ */
.nl-seite{max-width:640px;margin:2.5rem auto;padding:0 16px;text-align:center;color:var(--text,#555)}
.nl-seite > *{margin-bottom:1.25rem}

/* Überschrift mit rundem Symbol */
.nl-titel,.nl-titel :is(h1,h2){font-family:var(--schrift-titel,'Josefin Sans',sans-serif);color:var(--orange-2,#E67E23);margin-top:0}
.nl-icon-mail::before,.nl-icon-check::before{display:block;width:72px;height:72px;margin:0 auto 1rem;border-radius:50%;background:var(--orange-hell,#FFF6EE);border:2px solid var(--orange-rand,#F6D3B5);color:var(--orange,#FF6100);font-size:34px;line-height:68px;font-family:system-ui,sans-serif}
.nl-icon-mail::before{content:"\2709"}
.nl-icon-check::before{content:"\2713"}

/* Einleitung */
.nl-lead,.nl-lead p{font-size:1.15em}

/* Orange Kasten */
.nl-box{background:var(--orange-hell,#FFF6EE);border:1px solid var(--orange-rand,#F6D3B5);border-radius:16px;padding:1.5rem;text-align:left}
.nl-box p:last-child{margin-bottom:0}

/* Geschenk Kasten: erster Absatz in der verspielten Schrift */
.nl-geschenk{text-align:center}
.nl-geschenk p:first-child{font-family:var(--schrift-comic,'Comic Neue',cursive);font-size:1.2em;color:var(--orange,#FF6100);margin:0}
.nl-geschenk :is(h2,h3){font-family:var(--schrift-titel,'Josefin Sans',sans-serif);color:var(--text-dunkel,#3A3A3A);margin:.25rem 0 .75rem}

/* Schrittanzeige: nummerierte Liste im Texteditor
   Punkt 1 = erledigt, Punkt 2 = aktiv, Rest = offen */
.nl-schritte ol{list-style:none;display:flex;justify-content:center;gap:1rem;flex-wrap:wrap;padding:0;margin:0;counter-reset:nl}
.nl-schritte li{display:flex;align-items:center;gap:.5rem;font-size:.95em;color:#999;counter-increment:nl;margin:0}
.nl-schritte li::before{content:counter(nl);display:inline-block;width:28px;height:28px;line-height:26px;border-radius:50%;border:2px solid var(--linie,#E5E5E5);font-weight:700;text-align:center}
.nl-schritte li:nth-child(1){color:var(--text,#555)}
.nl-schritte li:nth-child(1)::before{background:var(--orange-rand,#F6D3B5);border-color:var(--orange-rand,#F6D3B5);color:var(--text-dunkel,#3A3A3A)}
.nl-schritte li:nth-child(2){color:var(--orange-2,#E67E23);font-weight:700}
.nl-schritte li:nth-child(2)::before{background:var(--orange-2,#E67E23);border-color:var(--orange-2,#E67E23);color:#fff}

/* Kleiner grauer Hinweis */
.nl-hinweis,.nl-hinweis p{font-size:.9em;color:#888}
.nl-hinweis a{color:var(--orange-2,#E67E23)}

/* Download Element als runder Knopf */
.nl-knopf{text-align:center}
.nl-knopf a{display:inline-block;padding:.8rem 1.6rem;border-radius:999px;background:var(--orange-2,#E67E23);color:#fff !important;font-weight:700;text-decoration:none;background-image:none}
.nl-knopf a:hover,.nl-knopf a:focus{background:var(--orange-dunkel,#C94D00)}
.nl-knopf img,.nl-knopf .size,.nl-knopf .mime_icon{display:none}

/* Seiten ohne Seitenleiste: Hauptspalte über die volle Breite */
#container:not(:has(#right)){grid-template-columns:minmax(0,1fr) !important}

/* Geschenk Kasten als Elementgruppe (Klasse nl-box nl-gruppe)
   Alles, was in der Gruppe liegt, steht im Kasten, in beliebiger Reihenfolge */
.nl-gruppe{text-align:center}
.nl-gruppe > *{margin:0 0 1rem !important;padding:0 !important;background:none !important;border:0 !important}
.nl-gruppe > :last-child{margin-bottom:0 !important}
.nl-gruppe p:last-child{margin-bottom:0}
.nl-gruppe > .content-text:first-child p:first-child{font-family:var(--schrift-comic,'Comic Neue',cursive);font-size:1.2em;color:var(--orange,#FF6100)}
.nl-gruppe :is(h2,h3){font-family:var(--schrift-titel,'Josefin Sans',sans-serif);margin:.5rem 0}
.nl-gruppe .nl-knopf{text-align:center}

/* Seiten ohne Seitenleiste: Hauptspalte über die volle Breite */
#container:not(:has(#right)){grid-template-columns:minmax(0,1fr) !important}

/* Geschenk Kasten aus drei Elementen: Text oben, Download Knopf, Beschreibung unten
   !important, weil robar.css Abstände zwischen allen Elementen im Hauptbereich setzt */
.nl-seite > .nl-geschenk{margin-bottom:0 !important;border-bottom:0 !important;border-bottom-left-radius:0 !important;border-bottom-right-radius:0 !important;padding-bottom:.5rem !important}
.nl-seite > .nl-im-kasten{margin-top:0 !important;margin-bottom:0 !important;padding:.75rem 1.5rem !important;background:var(--orange-hell,#FFF6EE);border-left:1px solid var(--orange-rand,#F6D3B5);border-right:1px solid var(--orange-rand,#F6D3B5)}
.nl-seite > .nl-box-unten{margin-top:0 !important;border-top:0 !important;border-top-left-radius:0 !important;border-top-right-radius:0 !important;padding-top:.5rem !important;text-align:center}
.nl-seite > .nl-geschenk p:last-child,.nl-seite > .nl-box-unten p:last-child{margin-bottom:0}

/* Newsletter Anmeldung in der Seitenleiste */
.nl-anmeldung{background:var(--orange-hell,#FFF6EE);border:1px solid var(--orange-rand,#F6D3B5);border-radius:16px;padding:20px;text-align:center;font-size:15px;line-height:1.5}
.nl-anmeldung p{margin:0 0 12px}
.nl-anmeldung-titel{font-family:var(--schrift-comic,'Comic Neue',cursive);font-size:20px;font-weight:700;color:var(--orange,#FF6100)}
.nl-anmeldung form{display:flex;flex-direction:column;gap:10px;margin:0 0 12px}
.nl-anmeldung input[type=email]{box-sizing:border-box;width:100%;padding:10px 14px;border:1px solid var(--orange-rand,#F6D3B5);border-radius:999px;background:#fff;font:inherit;color:var(--text-dunkel,#3A3A3A)}
.nl-anmeldung input[type=email]:focus{outline:2px solid var(--orange-2,#E67E23);outline-offset:1px}
.nl-anmeldung button{padding:10px 18px;border:0;border-radius:999px;background:var(--orange-2,#E67E23);color:#fff;font:inherit;font-weight:700;cursor:pointer}
.nl-anmeldung button:hover,.nl-anmeldung button:focus{background:var(--orange-dunkel,#C94D00)}
.nl-anmeldung-klein{font-size:12.5px;color:#888;margin:0 !important}
.nl-anmeldung-klein a{color:var(--orange-2,#E67E23)}
.nl-unsichtbar{position:absolute !important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;padding:0;margin:-1px}
