/*
Theme Name: Honeker & Schnaidt
Description: Block-Theme für die Honeker & Schnaidt GmbH – Straßenbau, Tiefbau, GaLaBau, Transport & Logistik.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 7.4
Author: Honeker & Schnaidt GmbH
Text Domain: honeker-schnaidt
License: GPL-2.0-or-later
*/

/* Kopfbereich */
.hs-topbar { font-size: 0.875rem; gap: 1.5rem; }
.hs-topbar p { margin: 0; }
.hs-topbar a { color: #fff; text-decoration: none; }
.hs-header { border-bottom: 1px solid #DDE1E6; background: #fff; }
.hs-logo { margin: 0; }
.hs-nav { font-weight: 600; gap: 1.75rem; }
.hs-nav a { text-decoration: none; }
.hs-nav .current-menu-item a, .hs-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }

/* Titelbereiche */
.hs-hero .hs-eyebrow, .hs-hero .hs-crumb, .hs-hero .hs-crumb a { color: #CFCFD6; }
.hs-hero .hs-crumb { font-size: 0.875rem; margin-bottom: 0; }
.hs-hero h1 { margin-top: 0.25rem; }

/* Abschnitte */
.hs-eyebrow { font-size: 0.875rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: #5B6573; margin-bottom: 0.25rem; }
.hs-division-head { border-bottom: 2px solid #808080; padding-bottom: 1rem; margin-top: 3rem !important; }
.hs-division-logo { margin: 0; }
.hs-more a { font-weight: 600; text-decoration: none; }
.hs-rounded img { border-radius: 6px; }
.hs-note { font-size: 0.875rem; color: #5B6573; }

/* Karten */
.hs-card { border: 1px solid #DDE1E6; border-radius: 6px; overflow: hidden; background: #fff; height: 100%; display: flex; flex-direction: column; }
.hs-card > .wp-block-image { margin: 0; }
.hs-card > .wp-block-image img { width: 100%; height: 200px; object-fit: cover; display: block; }
.hs-card > :not(.wp-block-image) { padding-left: 1.5rem; padding-right: 1.5rem; }
.hs-card > h3 { margin-top: 1.25rem; }
.hs-card > h3 a { text-decoration: none; }
.hs-card > p { color: #4A5462; margin-top: 0.5rem; }
.hs-card > .hs-more { margin-top: auto; padding-bottom: 1.5rem; }

/* Boxen */
.hs-box { border-radius: 6px; padding: 2rem; height: 100%; border: 1px solid #DDE1E6; }
.hs-box h3 { margin-top: 0; }
.hs-box h3 a { text-decoration: none; }
.hs-box-dark { border-color: transparent; }
.hs-box-dark h3, .hs-box-dark h3 a, .hs-box-dark p { color: #fff; }

/* Ansprechpartner */
.hs-contact-card { border: 1px solid #DDE1E6; border-radius: 6px; padding: 2rem; gap: 2rem; }
.hs-contact-card .wp-block-image { margin: 0; }
.hs-contact-text { flex: 1 1 260px; }
.hs-contact-text h3 { margin: 0.25rem 0; }
.hs-contact-text p { margin: 0; color: #4A5462; }

/* Buttons */
.hs-btn-light .wp-block-button__link { background: #fff; color: #1B1464; }
.hs-btn-light .wp-block-button__link:hover { background: #EEF0F3; color: #1B1464; }
.hs-btn-ghost .wp-block-button__link { border: 2px solid #fff; color: #fff; background: transparent; }
.hs-cta h2 { color: #fff; margin: 0; }

/* Listen mit Quadrat */
.hs-check { list-style: none; padding-left: 0; }
.hs-check li { position: relative; padding-left: 1.5rem; margin-bottom: 0.6rem; }
.hs-check li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px; background: #1B1464; }

/* Rechtstexte */
.hs-legal h2 { font-size: 1.375rem; margin-top: 2rem; margin-bottom: 0.25rem; }
.hs-legal > * { max-width: 820px; }

/* Fußbereich */
.hs-footer, .hs-footer p { color: #CFCFD6; font-size: 0.95rem; }
.hs-footer strong { color: #fff; }
.hs-footer a { color: #fff; text-decoration: none; }
.hs-footer a:hover { text-decoration: underline; }
.hs-footer .wp-block-separator { border-color: #2C2672; opacity: 1; }
.hs-copy { font-size: 0.875rem !important; }

/* Kontaktformular (Contact Form 7) */
.wpcf7 label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 1rem; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 select, .wpcf7 textarea {
  width: 100%; box-sizing: border-box; font: inherit; font-weight: 400; padding: 0.75rem 0.9rem; border: 1px solid #A9B1BD; border-radius: 4px; margin-top: 0.35rem; background: #fff;
}
.wpcf7 input[type="submit"] { background: #1B1464; color: #fff; border: 0; border-radius: 4px; padding: 0.9rem 1.8rem; font: inherit; font-weight: 600; cursor: pointer; }
.wpcf7 input[type="submit"]:hover { background: #2E2690; }
.wpcf7 .wpcf7-acceptance label { font-weight: 400; color: #4A5462; }
