/*
Theme Name: PM-Bauingenieure
Theme URI: https://www.pm-bauing.de
Author: PM-Bauingenieure
Description: Block-Theme für das Ingenieurbüro PM-Bauingenieure, Rahden – Tragwerksplanung und Bauphysik. Marineblau, Montserrat (lokal eingebunden, keine externen Font-Aufrufe), Logo mit Dachlinie.
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pm-bauingenieure
*/

/* Kleine Ergänzungen, die theme.json nicht abdeckt */

.pm-card {
	border-style: solid;
	transition: border-color .15s ease, transform .15s ease;
}

/* Kein weißer Abstand zwischen Kopfzeile, Inhalt und Fußzeile */
.wp-site-blocks > * + * { margin-block-start: 0; }
.wp-site-blocks > main > .entry-content > :first-child,
.wp-site-blocks > main > .wp-block-post-content > :first-child { margin-block-start: 0; }
.pm-card:hover {
	border-color: var(--wp--preset--color--navy) !important;
	transform: translateY(-2px);
}
.pm-card a { text-decoration: none; }

.pm-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	letter-spacing: .1em;
	font-size: .85rem;
}

.wp-block-navigation a:hover { text-decoration: none; }

/* "Kontakt" im Hauptmenü als Button */
.wp-block-navigation .pm-nav-cta > a,
.wp-block-navigation .pm-nav-cta .wp-block-navigation-item__content {
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--white) !important;
	padding: .7rem 1.3rem;
}
.wp-block-navigation .pm-nav-cta > a:hover { background: var(--wp--preset--color--navy-dark); }
.wp-block-navigation__responsive-container.is-menu-open .pm-nav-cta .wp-block-navigation-item__content {
	background: transparent;
	padding: 0;
}

/* Kopfzeile: auf dem Handy etwas kompakter */
@media (max-width: 600px) {
	.pm-logo img { width: 58px; height: auto; }
}

/* Leistungs-Unterseiten: Liste mit Quadrat statt Punkt */
.pm-liste { list-style: none; padding-left: 0; }
.pm-liste li { position: relative; padding-left: 1.5rem; margin-bottom: .5rem; }
.pm-liste li::before {
	content: ""; position: absolute; left: 0; top: .55em;
	width: .55rem; height: .55rem; background: var(--wp--preset--color--navy);
}

.pm-btn-ghost a {
	border: 2px solid currentColor !important;
	background: transparent !important;
}

input[type="text"], input[type="email"], input[type="tel"], textarea {
	font-family: inherit;
	font-size: 1rem;
	padding: .85rem;
	border: 1px solid #B8BBBF;
	width: 100%;
	box-sizing: border-box;
}

/* Vollbreite Abschnitte direkt aneinander, ohne weißen Streifen */
.wp-block-post-content > .alignfull + .alignfull { margin-block-start: 0; }
