/* Ergänzungen zu theme.json – möglichst wenig, damit der Editor gleich aussieht. */

/* Kopfbereich */
.vhzh-kopf { padding-top: 1rem; padding-bottom: 1rem; background: #fff; }
.vhzh-kopf-innen { gap: 1rem 1.5rem; }
.vhzh-titel { font-size: clamp(1.35rem, 3.5vw, 2rem); font-weight: 800; line-height: 1.15; margin: 0; }
.vhzh-titel a { color: var(--wp--preset--color--blau); text-decoration: none; }
.vhzh-untertitel { margin: 0; color: var(--wp--preset--color--text); font-size: 1.05rem; }
.vhzh-kopf .wp-block-site-logo img { height: auto; max-width: min(158px, 34vw); }

/* Navigationsleiste: kräftiges Vereinsblau, weiße Schrift, gut lesbar */
.vhzh-navleiste { background: var(--wp--preset--color--blau); color: #fff; padding-top: .25rem; padding-bottom: .25rem; }
.vhzh-nav a, .vhzh-nav .wp-block-navigation-item__content { color: #fff; text-decoration: none; padding: .55rem .4rem; display: inline-block; }
.vhzh-nav a:hover, .vhzh-nav a:focus { text-decoration: underline; text-underline-offset: .25em; }
.vhzh-nav .current-menu-item > a, .vhzh-nav [aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .3em; }
.vhzh-nav .wp-block-navigation__submenu-container { background: var(--wp--preset--color--blau) !important; color: #fff !important; border: 0 !important; min-width: 16rem !important; }
.vhzh-nav .wp-block-navigation__responsive-container-open, .vhzh-nav .wp-block-navigation__responsive-container-close { color: #fff; }
.vhzh-nav .wp-block-navigation__responsive-container-open::after { content: "Menü"; margin-left: .4rem; font-weight: 700; }
@media (max-width: 599px) { .vhzh-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: inline-flex; align-items: center; padding: .5rem 0; } }
@media (max-width: 599px) { .vhzh-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 1.5rem; font-size: 1.25rem; } }

/* Gut sichtbarer Tastaturfokus (Barrierefreiheit) */
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid #ffb800; outline-offset: 2px; }

/* Inhalt */
.vhzh-inhalt { padding-top: var(--wp--preset--spacing--40); padding-bottom: var(--wp--preset--spacing--60); }
.vhzh-inhalt img { border-radius: 4px; }
.vhzh-datum { font-size: 1rem; margin-bottom: -.5rem; }
.vhzh-bericht { padding-bottom: 1.5rem; border-bottom: 2px solid var(--wp--preset--color--blau-hell); margin-bottom: 1.5rem; }
.vhzh-hinweis { background: #fff4cc; border-left: 6px solid #e0a800; padding: 1rem 1.25rem; }
.wp-block-gallery.has-nested-images figure.wp-block-image img { border-radius: 4px; }
.vhzh-paypal-hinweis { font-size: 1rem; margin-top: .25rem; color: var(--wp--preset--color--grau); }

/* Fußbereich */
.vhzh-fuss { padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--40); }
.vhzh-fuss h2 { font-size: 1.35rem; }
.vhzh-fuss p { margin-top: .4rem; margin-bottom: .4rem; }
.vhzh-rechtliches { font-size: 1rem; }
.vhzh-teilen { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.vhzh-teilen a { display: inline-block; padding: .45rem .9rem; border-radius: 6px; background: #fff; color: var(--wp--preset--color--blau-dunkel); font-weight: 700; text-decoration: none; border: 2px solid var(--wp--preset--color--blau); }
.vhzh-teilen a:hover, .vhzh-teilen a:focus { background: var(--wp--preset--color--blau); color: #fff; }

/* Formulare */
.vhzh-formular { display: grid; gap: 1rem; max-width: 640px; }
.vhzh-formular label { display: block; font-weight: 700; margin-bottom: .25rem; }
.vhzh-formular input[type=text], .vhzh-formular input[type=email], .vhzh-formular input[type=tel], .vhzh-formular input[type=date], .vhzh-formular textarea {
  width: 100%; box-sizing: border-box; font: inherit; padding: .65rem .75rem; border: 2px solid #8a86a3; border-radius: 6px; background: #fff; color: inherit; }
.vhzh-formular textarea { min-height: 9rem; }
.vhzh-formular fieldset { border: 2px solid var(--wp--preset--color--blau-hell); border-radius: 6px; padding: .75rem 1rem; }
.vhzh-formular legend { font-weight: 700; padding: 0 .25rem; }
.vhzh-formular .vhzh-radio { display: flex; gap: .5rem; align-items: center; font-weight: 400; margin: .3rem 0; }
.vhzh-formular button { font: inherit; font-weight: 700; font-size: 1.15rem; background: var(--wp--preset--color--blau); color: #fff; border: 0; border-radius: 6px; padding: .75rem 1.6rem; cursor: pointer; justify-self: start; }
.vhzh-formular button:hover, .vhzh-formular button:focus { background: var(--wp--preset--color--blau-dunkel); }
.vhzh-formular .vhzh-pflicht { color: #b00020; }
.vhzh-formular .vhzh-falle { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.vhzh-meldung { padding: 1rem 1.25rem; border-radius: 6px; font-weight: 700; }
.vhzh-meldung--ok { background: #e3f5e8; border-left: 6px solid var(--wp--preset--color--gruen); }
.vhzh-meldung--fehler { background: #fde8ea; border-left: 6px solid #b00020; }
.vhzh-klein { font-size: 1rem; color: var(--wp--preset--color--grau); }

/* YouTube erst nach Klick */
.vhzh-video { aspect-ratio: 16 / 9; background: #1b1340; color: #fff; display: grid; place-items: center; text-align: center; padding: 1rem; border-radius: 6px; }
.vhzh-video p { max-width: 34rem; margin: .5rem auto; }
.vhzh-video button { font: inherit; font-weight: 700; background: #fff; color: var(--wp--preset--color--blau-dunkel); border: 0; border-radius: 6px; padding: .65rem 1.3rem; cursor: pointer; }
.vhzh-video a { color: #fff; }
.vhzh-video iframe { width: 100%; height: 100%; border: 0; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
