@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@500;600;700;800&display=swap");

:root {
  --c-bg: #FFFFFF;
  --c-ink: #1A1A1A;
  --c-accent: #1E73BE;
  --c-accent-red: #E63027;
  --c-accent-yellow: #F5B400;
  --c-soft: #F4F6F9;
  --c-border: #E5E7EB;
  --f-display: "Montserrat", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--f-body);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.1; margin: 0 0 0.5em; color: var(--c-ink); }
h1 { font-size: clamp(2rem, 3.6vw + 1rem, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 1.6vw + 1rem, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--c-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

main { max-width: 1200px; margin: 0 auto; padding: 32px 24px 64px; }

/* ---------- Header ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: 1200px; margin: 0 auto; gap: 24px;
  border-bottom: 1px solid var(--c-border);
}
.site-header .brand img { display: block; height: 48px; width: auto; }
.site-header .brand-text { font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; letter-spacing: 0.01em; }
.site-header nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-header nav a { color: var(--c-ink); font-weight: 500; font-size: 0.95rem; }
.site-header nav a:hover { color: var(--c-accent); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  padding: 56px 24px 48px; max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 880px) {
  .hero { grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; padding: 96px 24px; }
}
.hero h1 { font-size: clamp(2.2rem, 4vw + 1rem, 3.8rem); }
.hero .tagline { font-size: 1.15rem; opacity: 0.85; max-width: 56ch; margin-bottom: 24px; }
.trade-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 28px; }
.trade-pills span { padding: 7px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em; }
.trade-pills .heiz { background: var(--c-accent-red); color: #fff; }
.trade-pills .san { background: var(--c-accent); color: #fff; }
.trade-pills .klim { background: var(--c-accent-yellow); color: #1A1A1A; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta { background: var(--c-accent); color: #fff; padding: 14px 24px; border-radius: var(--r-base); font-weight: 600; font-size: 1rem; display: inline-block; }
.cta:hover { background: #155a99; text-decoration: none; }
.cta-ghost { padding: 14px 24px; border: 2px solid var(--c-ink); color: var(--c-ink); border-radius: var(--r-base); font-weight: 600; font-size: 1rem; display: inline-block; }
.hero-asset { max-width: 100%; height: auto; object-fit: contain; }

/* ---------- Services ---------- */
.services { padding: 48px 24px; max-width: 1200px; margin: 0 auto; }
.services h2 { margin-bottom: 32px; }
.services ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .services ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .services ul { grid-template-columns: repeat(4, 1fr); } }
.services li {
  padding: 24px 20px; border: 1px solid var(--c-border); border-radius: var(--r-base);
  background: var(--c-bg); border-top: 4px solid var(--c-accent);
}
.services li.heiz { border-top-color: var(--c-accent-red); }
.services li.san { border-top-color: var(--c-accent); }
.services li.klim { border-top-color: var(--c-accent-yellow); }
.services li h3 { font-size: 1.05rem; margin-bottom: 8px; }
.services li p { font-size: 0.95rem; opacity: 0.85; margin: 0; }

/* ---------- Opening hours ---------- */
.opening-hours { background: var(--c-soft); padding: 32px 24px; }
.opening-hours-inner { max-width: 1200px; margin: 0 auto; }
.opening-hours h2 { margin-bottom: 16px; }
.opening-hours dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; margin: 0; max-width: 360px; }
.opening-hours dt { font-weight: 600; }
.opening-hours dd { margin: 0; opacity: 0.85; }

/* ---------- Map + Contact ---------- */
.contact-form { display: grid; gap: 14px; max-width: 540px; padding: 0; margin-bottom: 32px; }
.contact-form label { display: flex; flex-direction: column; font-size: 0.85rem; font-weight: 600; gap: 6px; color: var(--c-ink); }
.contact-form input, .contact-form textarea { padding: 12px; border: 1px solid var(--c-border); border-radius: var(--r-base); font: inherit; }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form button { background: var(--c-accent); color: #fff; padding: 12px 24px; border: 0; border-radius: var(--r-base); font-weight: 600; cursor: pointer; }
.map iframe { width: 100%; height: 320px; border: 1px solid var(--c-border); border-radius: var(--r-base); }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding: 24px 0; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: auto; border-radius: var(--r-base); }
.gallery-empty { padding: 32px 24px; background: var(--c-soft); text-align: center; border-radius: var(--r-base); color: #4a5258; }

/* ---------- Legal pages ---------- */
.legal-page { max-width: 760px; }
.legal-page h2 { margin-top: 1.4em; font-size: 1.1rem; }
.legal-page p { font-size: 0.95rem; }
.vorlage-warning { background: #FFF9E5; border-left: 3px solid var(--c-accent-yellow); padding: 10px 14px; font-size: 0.85rem; margin-bottom: 16px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-ink); color: #fff; padding: 40px 24px;
  display: grid; gap: 24px; grid-template-columns: 1fr;
}
.site-footer-inner { max-width: 1200px; margin: 0 auto; display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .site-footer-inner { grid-template-columns: 2fr 1fr; align-items: start; } }
.site-footer .address p { margin: 0; font-size: 0.9rem; opacity: 0.85; }
.site-footer a { color: #fff; opacity: 0.85; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }
.site-footer .legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- About ---------- */
.about { max-width: 760px; }
.about .founded { color: var(--c-accent); font-weight: 600; }
.about .owner { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--c-border); }

/* ---------- Stub note ---------- */
.stub-banner { background: #FFF4E0; color: #6E4400; padding: 8px 16px; text-align: center; font-size: 0.8rem; border-bottom: 1px solid #F4D27A; }
