/* WordPress-spezifische Ergänzungen zum Design (von Hand gepflegt, wird von build-theme.mjs nicht überschrieben). */

/* Admin-Leiste: feste Navigation und Fortschrittslinie rutschen darunter */
body.admin-bar .sp-nav { top: calc(var(--nav-top, 30px) + 32px); }
body.admin-bar #progress { top: 32px; }
@media (max-width: 782px) { body.admin-bar .sp-nav { top: calc(var(--nav-top, 12px) + 46px); } body.admin-bar #progress { top: 46px; } }

/* Barrierefreiheit */
.sr-only, .screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Formular: Honeypot unsichtbar, Rückmeldung */
.itw-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.itw-notice { margin: 0 0 18px; padding: 14px 18px; border-radius: 16px; font-size: 16px; line-height: 1.5; }
.itw-notice.itw-ok { background: rgba(21,21,28,.9); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.itw-notice.itw-err { background: rgba(21,21,28,.9); color: #fff; border: 1px solid var(--orange2, #e25304); }

/* Mailchimp for WP im Newsletter-Kasten */
.nl-mc4wp .mc4wp-form-fields { display: grid; gap: 14px; }
.nl-mc4wp input[type="email"], .nl-mc4wp input[type="text"] { background: var(--bg); color: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: 16px; padding: 18px 20px; font: 400 16px Roboto, sans-serif; width: 100%; }
.nl-mc4wp input[type="submit"], .nl-mc4wp button[type="submit"] { justify-self: start; background: #fff; color: var(--bg); border: 0; border-radius: 999px; padding: 18px 34px; font: 500 16px Roboto, sans-serif; cursor: pointer; transition: background .4s ease, color .4s ease; }
.nl-mc4wp input[type="submit"]:hover, .nl-mc4wp button[type="submit"]:hover { background: var(--orange); color: var(--bg); }
.nl-mc4wp label { font-size: 14px; color: var(--muted); }
.nl-mc4wp a { text-decoration: underline; text-underline-offset: 3px; color: #fff; }
.nl-mc4wp .mc4wp-response { margin-top: 12px; font-size: 15px; }

/* Seitenvorlage "Neues Design": Inhalt aus dem normalen Editor */
.itw-inner .itw-page { position: relative; z-index: 2; width: var(--container); margin: 0 auto; padding: clamp(120px, 12vw, 180px) 0 var(--section-y); }
.itw-page-head h1 { font-size: clamp(36px, 5vw, 68px); font-weight: 300; line-height: 1.1; margin: 0 0 clamp(32px, 4vw, 56px); }
.itw-content { max-width: 78ch; font-size: 18px; line-height: 1.7; color: #e8e8ee; }
.itw-content h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 300; line-height: 1.15; margin: 2.2em 0 .6em; color: #fff; }
.itw-content h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 300; margin: 1.8em 0 .5em; color: #fff; }
.itw-content p, .itw-content ul, .itw-content ol { margin: 0 0 1.2em; }
.itw-content img, .itw-content video, .itw-content iframe { max-width: 100%; height: auto; border-radius: 20px; }
.itw-content blockquote { margin: 1.6em 0; padding: 20px 28px; border-left: 3px solid var(--orange); background: #1d1e24; border-radius: 0 20px 20px 0; }
.itw-content :focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.itw-inner .ft { margin-top: 0; }

/* Schutz gegen Divis Inline-Stile (Customizer), die auch ohne Divi-Dateien im <head> stehen bleiben */
body.itw :is(h1, h2, h3, h4, h5, h6, button, input, textarea, select) { letter-spacing: normal; }
.rv-card blockquote { border: 0; padding: 0; quotes: none; }

/* Mailchimp-Formular: kein Kasten im Kasten (die allgemeine Formular-Regel soll hier nicht greifen) */
.nl-mc4wp form.mc4wp-form { display: block; background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
