/*
Theme Name: audivision Richter
Theme URI: https://audivision-richter.net
Author: audivision Richter
Description: Block-Theme für audivision Richter – Smart Home, Sicherheitstechnik und Medientechnik aus Enger. Schriften lokal eingebunden (keine Google-Server).
Version: 1.0.1
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: audivision-richter
*/

/* ---------- Allgemein ---------- */
.av-section { padding-top: 96px; padding-bottom: 96px; }
.av-sand { background: #F4F2EF; }
.av-dark { background: #1A1A1A; color: #FFFFFF; }
.av-accent { background: #B8323F; color: #FFFFFF; }
.av-accent a { color: #FFFFFF; }
.av-intro > * { max-width: 680px; }

/* Keine Lücken zwischen den vollbreiten Abschnitten */
.wp-site-blocks > * + *,
main.wp-block-group > * + * { margin-block-start: 0 !important; }
.av-intro p, p.av-muted { color: #444444; font-size: 18px; }
.av-dark p { color: #D6D6D6; }
.av-eyebrow { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #B8323F; }
.av-dark .av-eyebrow { color: #E8737D; }
.av-lead { font-size: 20px; color: #444444; max-width: 520px; }
.av-small-note { font-size: 13px; color: #555555; margin: 0; }

/* Buttons */
.wp-block-button.is-style-outline > .wp-block-button__link {
	border: 2px solid #1A1A1A; color: #1A1A1A; background: transparent; padding: 12px 24px;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: #1A1A1A; color: #FFFFFF; }

/* Listen mit Punkt */
.av-bullets { list-style: none; padding-left: 0; margin: 0; }
.av-bullets li { position: relative; padding-left: 22px; margin-bottom: 10px; }
.av-bullets li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: #B8323F; }
.av-dark .av-bullets li { color: #EDEDED; }
.av-dark .av-bullets li::before { background: #E8737D; }

/* ---------- Kopfbereich ---------- */
.av-topbar { background: #1A1A1A; color: #E6E6E6; font-size: 14px; padding-top: 10px; padding-bottom: 10px; }
.av-topbar p { margin: 0; }
.av-topbar a { color: #E6E6E6; text-decoration: none; }
.av-topbar a:hover { color: #FFFFFF; text-decoration: underline; }
.av-header { border-bottom: 1px solid #E8E4DE; padding-top: 18px; padding-bottom: 18px; background: #FFFFFF; }
.av-logo { margin: 0; }
.av-logo img { height: 76px; width: auto; display: block; }
.av-header .wp-block-navigation { font-family: var(--wp--preset--font-family--barlow-condensed); font-weight: 600; font-size: 20px; letter-spacing: 0.3px; }
.av-header .wp-block-navigation a { color: #1A1A1A; text-decoration: none; }
.av-header .wp-block-navigation a:hover { color: #9E2A35; }
.av-header .wp-block-button__link { font-family: var(--wp--preset--font-family--barlow-condensed); font-size: 20px; padding: 10px 20px; }

/* ---------- Bilder ---------- */
.av-photo img { width: 100%; border-radius: 6px; object-fit: cover; display: block; }
.av-hero-img img { height: 460px; }
.av-mood img { height: 260px; }
.av-mood figcaption { font-weight: 600; font-size: 18px; text-align: left; color: #1A1A1A; margin-top: 12px; }

/* ---------- Ablauf ---------- */
.av-step { border-top: 4px solid #B8323F; padding-top: 20px; }
.av-step-num { margin: 0; font-family: var(--wp--preset--font-family--barlow-condensed); font-weight: 700; font-size: 40px; line-height: 1; color: #B8323F; }
.av-step h3, .av-card h3, .av-tile h3 { margin: 0; }
.av-step p, .av-card p { margin: 0; color: #444444; }

/* ---------- Leistungen ---------- */
.av-card { background: #FFFFFF; border: 1px solid #E4E0DA; border-radius: 6px; padding: 32px; }
.av-icon { margin: 0; }
.av-icon img { width: 40px; height: 40px; display: block; }

/* ---------- Loxone ---------- */
.av-product-box { background: #262626; border-radius: 6px; padding: 40px; min-height: 420px; display: flex; align-items: center; justify-content: center; }
.av-product-box figure { margin: 0; }
.av-product-box img { max-height: 340px; width: auto; max-width: 100%; display: block; }
.av-tile { background: #F4F2EF; color: #1A1A1A; border-radius: 6px; padding: 24px; }
.av-tile figure { margin: 0; flex: none; }
.av-tile img { width: 96px; height: 96px; object-fit: contain; display: block; }
.av-dark .av-tile p { color: #444444; font-size: 15px; margin: 0; }
.av-badge { border: 1px solid #4A4A4A; border-radius: 4px; padding: 12px 18px; }
.av-badge figure { margin: 0; }
.av-badge img { height: 22px; width: auto; display: block; }
.av-badge p { margin: 0; font-size: 14px; font-weight: 600; letter-spacing: 1px; color: #EDEDED; }

/* ---------- E-Mobilität ---------- */
.av-wallbox-box { background: #F4F2EF; border-radius: 6px; padding: 40px; min-height: 460px; display: flex; align-items: center; justify-content: center; }
.av-wallbox-box figure { margin: 0; }
.av-wallbox-box img { max-height: 380px; width: auto; display: block; }

/* ---------- Kontakt ---------- */
.av-contact-lines p { margin: 0 0 6px; font-size: 18px; }
.av-form-card { background: #FFFFFF; color: #1A1A1A; border-radius: 6px; padding: 32px; }
.av-form-card a { color: #1A1A1A; }
.wpcf7 label { font-size: 15px; font-weight: 600; display: block; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea {
	width: 100%; box-sizing: border-box; border: 1px solid #BDB7AE; border-radius: 4px; padding: 12px; font: inherit; margin-top: 6px;
}
.wpcf7 input[type="submit"] { background: #1A1A1A; color: #FFFFFF; border: 0; border-radius: 4px; padding: 14px 26px; font: inherit; font-weight: 600; cursor: pointer; }
.wpcf7 input[type="submit"]:hover { background: #B8323F; }
.wpcf7-acceptance { font-size: 14px; color: #444444; }

/* ---------- Fußbereich ---------- */
.av-footer { background: #1A1A1A; color: #BDBDBD; font-size: 15px; padding-top: 32px; padding-bottom: 32px; }
.av-footer p { margin: 0; }
.av-footer a { color: #E6E6E6; text-decoration: none; }
.av-footer a:hover { color: #FFFFFF; text-decoration: underline; }

/* ---------- Mobil ---------- */
@media (max-width: 781px) {
	.av-section { padding-top: 64px; padding-bottom: 64px; }
	.av-hero-img img { height: 300px; }
	.av-logo img { height: 56px; }
	.av-product-box, .av-wallbox-box { min-height: 300px; }
}
