/* Zugang zu Land – Feinschliff. Farben und Schriften kommen aus theme.json. Klassen beginnen mit zzl-. */

/* Keine runden Ecken, nirgends */
.wp-block-button__link, .wp-element-button, .wp-block-image img, .wp-block-search__input,
input, select, textarea, .wpcf7 input, .wpcf7 select, .wpcf7 textarea { border-radius: 0 !important; }

/* Kopf */
.zzl-kopf { border-bottom: 1px solid var(--wp--preset--color--linie); background: var(--wp--preset--color--weiss); }
.zzl-kopf-innen { padding-block: 14px; gap: 20px; }
.zzl-logo { margin: 0; flex-shrink: 0; }
.zzl-logo img { display: block; height: auto; }
.zzl-kopf .wp-block-navigation a { text-decoration: none; color: var(--wp--preset--color--tinte); }
.zzl-kopf .wp-block-navigation a:hover { color: var(--wp--preset--color--blau); text-decoration: underline; }
.zzl-kopf .wp-block-navigation__submenu-container { border: 1px solid var(--wp--preset--color--linie) !important; padding: 6px 0; }
.zzl-kopf .wp-block-navigation__submenu-container a { padding: 8px 16px !important; }
.zzl-kopf-button .wp-block-button__link { padding: 10px 16px; font-size: 15px; white-space: nowrap; }
.wp-block-navigation__responsive-container.is-menu-open { padding: 32px 24px; }
.wp-block-navigation__responsive-container.is-menu-open a { color: var(--wp--preset--color--weiss) !important; font-size: 20px; }
.wp-block-navigation__responsive-container-open svg, .wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; }
@media (max-width: 1100px) { .wp-block-buttons.zzl-kopf-button { display: none !important; } }
@media (max-width: 600px) { .zzl-logo, .zzl-logo img { width: 120px !important; } }

/* Abschnitte: Bänder bekommen Luft, wenn sie volle Breite haben */
.alignfull[class*="is-style-band-"] { padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--60); }
main > .wp-block-post-content > .alignfull:first-child { margin-top: 0; }
main > .wp-block-post-content > .alignfull:last-child { margin-bottom: 0; }
.wp-block-post-content > .alignfull + .alignfull { margin-top: 0; }
main.wp-block-group { margin-top: 0; }

/* Seitenkopf der Unterseiten */
.zzl-seitenkopf { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.zzl-seitenkopf .wp-block-post-title { color: inherit; }
.zzl-seiteninhalt { padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(48px, 7vw, 80px); }
.zzl-seiteninhalt:has(> .alignfull:last-child) { padding-bottom: 0; }
.wp-site-blocks > main, .wp-site-blocks > footer, .wp-site-blocks > .wp-block-template-part { margin-block-start: 0; }

/* Dachzeile über Überschriften */
.zzl-dachzeile { font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--braun); margin-bottom: -6px; }
.is-style-band-blau .zzl-dachzeile, .is-style-band-dunkel .zzl-dachzeile { color: var(--wp--preset--color--weiss); }
.is-style-band-senf .zzl-dachzeile, .is-style-band-gruen .zzl-dachzeile { color: var(--wp--preset--color--tinte); }

/* Startseite: Hero */
.zzl-hero { padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(32px, 5vw, 64px); }
.zzl-hero h1 em { font-style: normal; color: var(--wp--preset--color--tinte); background: linear-gradient(transparent 58%, var(--wp--preset--color--gruen) 58%, var(--wp--preset--color--gruen) 92%, transparent 92%); padding-inline: .06em; }
.zzl-hero p { font-size: var(--wp--preset--font-size--large); }

/* Große Zahlen */
.zzl-zahl { border-top: 4px solid var(--wp--preset--color--senf); padding-top: 12px; }
.zzl-zahl strong { display: block; font-family: var(--wp--preset--font-family--unbounded); font-weight: 800; font-size: 2.2rem; line-height: 1.1; margin-bottom: 4px; }

/* Schritte */
.zzl-schritt-nr { font-family: var(--wp--preset--font-family--unbounded); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--wp--preset--color--braun); margin: 0; }
.zzl-zusagen { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font-weight: 600; }
.zzl-zusagen li::before { content: "✓ "; color: var(--wp--preset--color--braun); }

/* Karten in Spalten gleich hoch */
.wp-block-column.is-style-karte, .wp-block-group.is-style-karte { height: 100%; }
.is-style-karte > :first-child { margin-top: 0; }

/* Nummer-Kästchen auf den Karten */
.zzl-nr { display: inline-grid; place-items: center; width: 44px; height: 44px; font-family: var(--wp--preset--font-family--unbounded); font-weight: 800; color: var(--wp--preset--color--weiss); background: var(--wp--preset--color--blau); margin: 0; }
.zzl-nr.zzl-nr-braun { background: var(--wp--preset--color--braun); }
.zzl-nr.zzl-nr-gruen { background: var(--wp--preset--color--gruen); color: var(--wp--preset--color--tinte); }

/* Beitragslisten (Veranstaltungen, Veröffentlichungen) */
.zzl-liste .wp-block-post { border-top: 1px solid var(--wp--preset--color--linie); padding-top: 20px; }
.zzl-liste .wp-block-post-title { font-size: var(--wp--preset--font-size--x-large); margin: 0; }
.zzl-liste .wp-block-post-title a { text-decoration: none; }
.zzl-liste .wp-block-post-title a:hover { text-decoration: underline; }
.zzl-liste .wp-block-post-date { color: var(--wp--preset--color--braun); font-weight: 700; font-size: 15px; }
.zzl-karten .wp-block-post { background: var(--wp--preset--color--weiss); border: 1px solid var(--wp--preset--color--linie); padding: 22px; }
.zzl-karten .wp-block-post-title { font-size: var(--wp--preset--font-size--large); }

/* Mitglieder-Logos */
.zzl-logos .wp-block-image { margin: 0; background: var(--wp--preset--color--weiss); border: 1px solid var(--wp--preset--color--linie); padding: 18px; display: grid; place-items: center; height: 120px; }
.zzl-logos .wp-block-image img { max-height: 80px; width: auto; object-fit: contain; }

/* Team */
.zzl-team .wp-block-image { margin-bottom: 12px; }
.zzl-team h3 { margin-bottom: 0; }
.zzl-rolle { color: var(--wp--preset--color--braun); font-weight: 700; font-size: 15px; margin-top: 4px; }

/* Fuß */
.zzl-fuss { padding-top: 48px; padding-bottom: 32px; font-size: 15px; }
.zzl-fuss a { color: inherit; }
.zzl-fuss-titel { font-family: var(--wp--preset--font-family--unbounded); font-weight: 700; font-size: 16px; color: var(--wp--preset--color--senf); margin-bottom: 8px; }
.zzl-copyright { border-top: 1px solid rgba(255,255,255,.2); padding-top: 18px; margin-top: 24px; font-size: 14px; }

/* Kontaktformular (Contact Form 7) */
.wpcf7 form p { margin: 0 0 14px; }
.wpcf7 label { display: block; font-weight: 600; font-size: 15px; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 select, .wpcf7 textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1.5px solid #C9CCB7; background: #fff; color: var(--wp--preset--color--tinte); margin-top: 4px; }
.wpcf7 textarea { min-height: 140px; }
.wpcf7 input[type="submit"] { background: var(--wp--preset--color--braun); color: #fff; border: 0; padding: 14px 22px; font: 700 16px var(--wp--preset--font-family--figtree); cursor: pointer; }
.wpcf7 input[type="submit"]:hover { background: var(--wp--preset--color--tinte); }
.wpcf7 .wpcf7-list-item { margin: 0; font-weight: 400; }
.is-style-band-blau .wpcf7 { background: #fff; color: var(--wp--preset--color--tinte); padding: 24px; }
.is-style-band-blau .wpcf7 a { color: var(--wp--preset--color--blau); }

/* Deutsche Silbentrennung statt Umbruch mitten im Wort */
h1, h2, h3, h4, p, li { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: normal; word-break: normal; }
h1, h2 { hyphens: manual; }

/* Fokus sichtbar */
:focus-visible { outline: 3px solid var(--wp--preset--color--senf); outline-offset: 2px; }

@media (max-width: 781px) {
	.zzl-hero .wp-block-column:last-child { order: -1; }
}
