/*
Theme Name: Treibel
Description: Schlankes Child-Theme von Twenty Twenty-Five für Gunther Treibel, Wirtschaftsprüfer und Steuerberater. Ersetzt Elementor/Hello Elementor.
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
Text Domain: treibel
License: GNU General Public License v2 or later
*/

/* Anker unter dem fixierten Header nicht verdecken */
html { scroll-behavior: smooth; scroll-padding-top: 110px; }

.treibel-header { position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
body.admin-bar .treibel-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .treibel-header { top: 46px; } }

.treibel-hero-title { letter-spacing: -0.01em; }

/* Leistungs-Karten */
.treibel-leistung { height: 100%; transition: box-shadow .2s ease; }
.treibel-leistung:hover { box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.treibel-leistung .wp-block-details summary {
	cursor: pointer; font-weight: 400; color: var(--wp--preset--color--contrast);
	list-style: none; position: relative; padding-right: 1.6em;
}
.treibel-leistung .wp-block-details summary::-webkit-details-marker { display: none; }
.treibel-leistung .wp-block-details summary::after {
	content: "+"; position: absolute; right: 0; top: -0.1em;
	color: var(--wp--preset--color--accent-1); font-size: 1.4em; line-height: 1;
}
.treibel-leistung .wp-block-details[open] summary::after { content: "–"; }
.treibel-leistung .wp-block-details[open] summary { margin-bottom: .8em; }
.treibel-leistung .wp-block-details p { font-size: var(--wp--preset--font-size--small); }

.treibel-accent-line { width: 60px; border-top: 2px solid var(--wp--preset--color--accent-1); margin: 0 0 1.2em 0; }
.has-text-align-center .treibel-accent-line, .treibel-accent-line.aligncenter { margin-left: auto; margin-right: auto; }

/* Contact Form 7 */
.wpcf7 form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.wpcf7 form > p, .wpcf7 form > .wpcf7-response-output { grid-column: 1 / -1; margin: 0; }
.wpcf7 form > p.treibel-half { grid-column: auto; }
@media (max-width: 600px) { .wpcf7 form > p.treibel-half { grid-column: 1 / -1; } }
.wpcf7 label { display: block; font-size: var(--wp--preset--font-size--small); }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="number"], .wpcf7 textarea {
	width: 100%; box-sizing: border-box; padding: .75em .9em; margin-top: .3em;
	border: 1px solid #d6d3cc; border-radius: 0; background: #fff;
	font: inherit; color: inherit;
}
.wpcf7 textarea { min-height: 160px; }
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: 2px solid var(--wp--preset--color--accent-1); outline-offset: 0; border-color: transparent; }
.wpcf7 input[type="submit"] {
	background: var(--wp--preset--color--accent-1); color: #fff; border: 0;
	padding: .9em 2.2em; font: inherit; cursor: pointer; justify-self: start;
}
.wpcf7 input[type="submit"]:hover { background: var(--wp--preset--color--contrast); }
.wpcf7-spinner { vertical-align: middle; }
