/* =========================================================
   Zimmermann — Anpassung an Elementor-Widgets
   Klassen werden in Elementor unter Erweitert → CSS-Klassen gesetzt.
   ========================================================= */

/* Grundlayout */
body { background: var(--bg); }
.site-main, .page-content { margin: 0; padding: 0; max-width: none; }
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }

/* Überschriften */
.zm-h1 .elementor-heading-title { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: clamp(32px, 4.2vw, 54px); line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance; }
.zm-h1 .elementor-heading-title .accent { color: var(--red-600); }
.zm-h2 .elementor-heading-title { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: clamp(30px, 3.8vw, 44px); line-height: 1.1; letter-spacing: -0.01em; text-wrap: balance; }
.zm-h2.zm-red .elementor-heading-title { color: var(--red-700); }
.zm-h3 .elementor-heading-title { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 24px; line-height: 1.2; }
.zm-eyebrow .elementor-heading-title { line-height: 1; }

/* Fließtext */
.zm-lede, .zm-lede p { color: var(--ink-2); font-size: 17px; line-height: 1.65; text-wrap: pretty; }
.zm-small, .zm-small p { color: var(--ink-3); font-size: 14px; line-height: 1.55; }
.zm-trust, .zm-trust p { font-size: 14px; color: var(--ink-3); }
.zm-trust strong { color: var(--ink); }
.zm-svc-num, .zm-svc-num p { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--red-700); }

/* Buttons */
.zm-btn .elementor-button { font-family: var(--font-ui); font-weight: 600; font-size: 15px; line-height: 1.2; border-radius: var(--radius-pill); padding: 14px 22px; min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid transparent; transition: background .15s ease, transform .15s ease, border-color .15s ease; }
.zm-btn-primary .elementor-button { background: var(--red-600); color: #fff; box-shadow: 0 10px 24px -10px rgba(168,32,38,0.55); }
.zm-btn-primary .elementor-button:hover, .zm-btn-primary .elementor-button:focus { background: var(--red-700); color: #fff; transform: translateY(-1px); }
.zm-btn-outline .elementor-button { background: transparent; color: var(--red-700); border-color: var(--red-200); }
.zm-btn-outline .elementor-button:hover, .zm-btn-outline .elementor-button:focus { background: var(--red-50); color: var(--red-700); border-color: var(--red-500); }
.zm-btn .elementor-button-icon svg { width: 15px; height: 15px; fill: currentColor; }

/* Bilder */
.zm-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-card); display: block; box-shadow: 0 30px 70px -28px rgba(20,14,12,0.28); }
.zm-photo-hero img { aspect-ratio: 1 / 1; object-position: 50% 20%; }

/* Karten-Container (Leistungsblöcke etc.) */
.zm-divider { border-bottom: 1px solid var(--line); }

/* FAQ — Elementor Akkordeon */
.zm-faq .elementor-accordion .elementor-accordion-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; overflow: hidden; }
.zm-faq .elementor-accordion .elementor-accordion-item + .elementor-accordion-item { border-top: 1px solid var(--line); }
.zm-faq .elementor-accordion .elementor-tab-title { padding: 20px 22px; font-family: var(--font-ui); font-weight: 600; font-size: 16.5px; color: var(--ink); border: 0; }
.zm-faq .elementor-accordion .elementor-tab-title a { color: inherit; }
.zm-faq .elementor-accordion .elementor-tab-title.elementor-active { color: var(--red-700); }
.zm-faq .elementor-accordion .elementor-tab-content { padding: 0 22px 20px; border: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.65; }
.zm-faq .elementor-accordion-icon { color: var(--red-600); }

/* Kontaktformular (Contact Form 7) im Stil der Formularkarte */
.zm-form .wpcf7 { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 32px; box-shadow: var(--shadow-md); }
.zm-form .wpcf7 label { display: block; font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 14px; }
.zm-form .wpcf7 input[type=text], .zm-form .wpcf7 input[type=email], .zm-form .wpcf7 input[type=tel], .zm-form .wpcf7 select, .zm-form .wpcf7 textarea { width: 100%; margin-top: 6px; padding: 13px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; font: 400 16px/1.4 var(--font-ui); color: var(--ink); background: #fff; }
.zm-form .wpcf7 input:focus, .zm-form .wpcf7 select:focus, .zm-form .wpcf7 textarea:focus { outline: none; border-color: var(--red-500); box-shadow: 0 0 0 3px var(--red-100); }
.zm-form .wpcf7 .wpcf7-acceptance label { font-weight: 400; color: var(--ink-2); display: flex; gap: 10px; align-items: flex-start; }
.zm-form .wpcf7 a { color: var(--red-700); text-decoration: underline; }
.zm-form .wpcf7 input[type=submit] { width: 100%; min-height: 52px; border: 0; border-radius: var(--radius-pill); background: var(--red-600); color: #fff; font: 600 15.5px var(--font-ui); cursor: pointer; }
.zm-form .wpcf7 input[type=submit]:hover { background: var(--red-700); }
.zm-form .wpcf7-not-valid-tip { font-size: 13px; color: var(--red-700); margin-top: 4px; }
.zm-form .wpcf7 form .wpcf7-response-output { border-radius: 12px; margin: 16px 0 0; padding: 12px 14px; font-size: 14px; }

/* Impressum / Datenschutz */
.zm-legal { color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.zm-legal h2 { font-family: var(--font-display); font-size: 24px; color: var(--ink); margin: 36px 0 12px; }
.zm-legal h2:first-child { margin-top: 0; }
.zm-legal a { color: var(--red-700); }
.zm-legal .note { display: none; }

@media (max-width: 767px) {
  .zm-h1 .elementor-heading-title { font-size: 28px; line-height: 1.12; }
  .zm-h2 .elementor-heading-title { font-size: 26px; line-height: 1.15; }
  .zm-lede, .zm-lede p { font-size: 15.5px; line-height: 1.6; }
  .zm-btn .elementor-button { width: 100%; min-height: 52px; }
  .zm-photo img { aspect-ratio: 16 / 10; border-radius: 16px; }
  .zm-form .wpcf7 { padding: 22px 18px; }
  .zm-faq .elementor-accordion .elementor-tab-title { padding: 16px 18px; font-size: 15.5px; }
  .zm-faq .elementor-accordion .elementor-tab-content { padding: 0 18px 16px; }
}
