/*
Theme Name: Ruegg
Theme URI: https://auto-ruegg.ch
Author: stic gmbh
Description: Block Theme für auto-ruegg.ch. Variante 4: Regional & persönlich (warme helle Töne, Serifen-Titel, runde Knöpfe, Team im Vordergrund).
Version: 0.1.0
Requires at least: 7.0
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: ruegg
*/

/* Gestaltung steht in theme.json und in den Block-Einstellungen. Hier nur, was beides nicht kann. */

/* Keine Lücken zwischen Header, Inhalt, Footer und zwischen vollbreiten Sektionen */
.wp-site-blocks > *, .wp-block-post-content > .alignfull { margin-block: 0; }

/* Aktiver Menüpunkt */
.wp-block-navigation .current-menu-item > a { text-decoration: underline 2px var(--wp--preset--color--accent); text-underline-offset: .5em; }

/* Contact Form 7 (Formular-Markup kommt vom Plugin) */
.wpcf7 label { display: block; font-weight: 600; font-size: var(--wp--preset--font-size--s); margin-bottom: 1rem; }
.ar-hp { display: none; }
.ar-form-note { font-size: var(--wp--preset--font-size--s); }
.ar-req { color: var(--wp--preset--color--accent); }
.ar-form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0 1rem; }
.wpcf7 input:not([type="submit"]), .wpcf7 textarea {
  box-sizing: border-box; width: 100%; margin-top: .35rem; padding: .6rem .8rem; font: inherit; font-weight: 400;
  border: 1px solid var(--wp--preset--color--muted); border-radius: 4px; background: var(--wp--preset--color--base);
}
.wpcf7 input[type="submit"] {
  background: var(--wp--preset--color--accent); color: var(--wp--preset--color--base); border: 0; border-radius: 4px;
  padding: .75rem 1.75rem; font: inherit; font-size: var(--wp--preset--font-size--s); font-weight: 600; cursor: pointer;
}
