/* Hellriegel's Foto 1 - shared styles for the rebuilt pages (no Elementor needed). */

.hf1-header, .hf1-page, .hf1-footer {
  --hf1-green: #2f7d32; --hf1-green-dk: #1f5a22; --hf1-red: #c62828;
  --hf1-ink: #1b1b1b; --hf1-muted: #5d5d5d;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--hf1-ink);
}

/* Hide the theme's automatic page title - each page has its own heading */
.page .entry-header, .page h1.entry-title, .page .page-header { display: none; }

/* Hide the Hello theme's own basic header/footer - our Site header/footer patterns replace them */
#site-header.site-header, #site-footer.site-footer { display: none; }

/* Header: logo + menu */
.hf1-header { text-align: center; padding: 16px 16px 4px; }
.hf1-header figure { margin: 0 auto 6px; }
.hf1-header img { max-width: 170px; height: auto; border-radius: 6px; }
.hf1-nav { font-size: 15px; line-height: 2.1; margin: 0; }
.hf1-nav a { color: var(--hf1-green-dk); font-weight: 600; text-decoration: none; margin: 0 7px; white-space: nowrap; }
.hf1-nav a:hover { text-decoration: underline; }

/* Page body */
.hf1-page { max-width: 960px; margin: 0 auto; padding: 16px 16px 40px; text-align: center; }
.hf1-page h1 { font-size: clamp(28px, 5vw, 40px); font-weight: 800; letter-spacing: -0.5px; margin: 16px 0 10px; }
.hf1-page h2 { font-size: 24px; font-weight: 800; margin: 28px 0 8px; }
.hf1-page p { font-size: 17px; line-height: 1.6; max-width: 720px; margin-left: auto; margin-right: auto; }
.hf1-page .hf1-lead { font-size: 19px; color: var(--hf1-muted); }
.hf1-page .hf1-left p { text-align: left; }
.hf1-page ul.hf1-left { text-align: left; max-width: 560px; margin: 0 auto; font-size: 17px; line-height: 1.8; }
.hf1-page img { border-radius: 10px; height: auto; }
.hf1-page .hf1-banner { margin: 20px auto; }
.hf1-page .hf1-banner img { width: 100%; max-height: 420px; object-fit: cover; }
.hf1-page .hf1-freddie img { width: 260px; max-width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.hf1-page .hf1-portrait img { width: 280px; max-width: 80%; border-radius: 14px; box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.hf1-page figcaption { color: var(--hf1-muted); font-size: 14px; margin-top: 6px; }

/* Buttons */
.hf1-page .wp-block-button__link {
  background: var(--hf1-green); color: #fff; border-radius: 999px;
  padding: 12px 24px; font-weight: 600; font-size: 16px; text-decoration: none;
}
.hf1-page .wp-block-button__link:hover { filter: brightness(0.92); }
.hf1-page .hf1-red .wp-block-button__link { background: var(--hf1-red); }
.hf1-page .wp-block-buttons { justify-content: center; gap: 12px; margin: 18px 0; }

/* Cards (home page + services) */
.hf1-page .wp-block-columns { gap: 18px; margin-top: 24px; }
.hf1-page .hf1-card {
  background: #fff; border-radius: 16px; padding: 26px 22px;
  box-shadow: 0 2px 10px rgba(0,0,0,.08); border-top: 6px solid var(--hf1-green);
}
.hf1-page .hf1-card.hf1-red { border-top-color: var(--hf1-red); }
.hf1-page .hf1-card.hf1-purple { border-top-color: #5b2a86; }
.hf1-page .hf1-purple .wp-block-button__link { background: #5b2a86; }
.hf1-page .wp-block-group.hf1-card { max-width: 620px; margin: 32px auto; }
.hf1-page .hf1-guarantee { background: #f1f8f1; border: 2px solid var(--hf1-green); border-top-width: 6px; }
.hf1-page .hf1-guarantee p { color: var(--hf1-ink); }
.hf1-page .hf1-card h2 { margin-top: 4px; font-size: 22px; }
.hf1-page .hf1-card p { font-size: 15px; color: var(--hf1-muted); }

/* Galleries */
.hf1-page .wp-block-gallery { margin-top: 24px; }
.hf1-page .hf1-teams img { width: 100%; height: auto; object-fit: contain; }
@media (max-width: 600px) {
  .hf1-page .wp-block-gallery.hf1-teams .wp-block-image { width: 100% !important; }
}
.hf1-page .hf1-logos img { background: #fff; padding: 12px; object-fit: contain !important; box-shadow: 0 2px 8px rgba(0,0,0,.08); }

/* FAQ (click a question to open it) */
.hf1-page .hf1-faq { max-width: 720px; margin: 0 auto; text-align: left; }
.hf1-page .hf1-faq h2 { text-align: center; }
.hf1-page .hf1-faq details { background: #fff; border-radius: 12px; margin: 10px 0; padding: 0 18px;
  box-shadow: 0 1px 6px rgba(0,0,0,.07); border-left: 5px solid var(--hf1-green); }
.hf1-page .hf1-faq summary { cursor: pointer; font-weight: 700; font-size: 17px; padding: 14px 0; }
.hf1-page .hf1-faq details[open] summary { color: var(--hf1-green-dk); }
.hf1-page .hf1-faq details p, .hf1-page .hf1-faq details li { font-size: 16px; text-align: left; margin-left: 0; }
.hf1-page .hf1-faq details > *:last-child { padding-bottom: 14px; }

/* Contact form */
.hf1-page .wp-block-jetpack-contact-form { text-align: left; max-width: 560px; margin: 20px auto 0; }

/* Footer */
.hf1-footer { text-align: center; border-top: 1px solid #ddd; margin-top: 24px; padding: 22px 16px 30px; }
.hf1-footer p { margin: 4px 0; font-size: 16px; }
.hf1-footer a { color: var(--hf1-ink); font-weight: 600; text-decoration: none; }
.hf1-footer .hf1-small { color: var(--hf1-muted); font-size: 13px; }

/* Colors: soft cream page background + full-width dark green footer band */
body { background: #f8f3e6; }
.hf1-footer {
  background: #1f5a22; color: #fff; border-top: 0;
  box-shadow: 0 0 0 100vmax #1f5a22; clip-path: inset(0 -100vmax);
}
.hf1-footer a { color: #fff; }
.hf1-footer .hf1-small { color: #cfe3cf; }
