/* Horst Sehte GmbH — Bedachungen · Zimmerarbeiten · Klempnerei */

:root {
  --charcoal: #1c2023;
  --charcoal-2: #262b2f;
  --charcoal-3: #32383d;
  --cream: #faf7f2;
  --cream-2: #f1ece3;
  --copper: #6b6b6b;
  --copper-dark: #47474a;
  --copper-light: #a3a3a6;
  --green: #3f6b4f;
  --text: #22262a;
  --muted: #6b6f73;
  --muted-light: #9aa0a5;
  --border: #e4ddd0;
  --radius: 14px;
  --shadow: 0 20px 50px -20px rgba(28, 32, 35, 0.35);
  --container: 1180px;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper-dark);
  font-weight: 500;
  margin: 0 0 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--copper);
  display: inline-block;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.08;
  margin: 0 0 18px;
  color: var(--charcoal);
}

h2 { font-size: clamp(28px, 3.6vw, 42px); text-transform: uppercase; }
h3 { font-size: 21px; text-transform: uppercase; letter-spacing: 0.03em; }

p { color: var(--muted); margin: 0 0 16px; max-width: 60ch; }

.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section--dark { background: var(--charcoal); color: var(--cream); }
.section--dark p { color: #b9bec2; }
.section--dark h2 { color: var(--cream); }
.section--cream2 { background: var(--cream-2); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: var(--copper);
  color: #fff;
  box-shadow: 0 12px 24px -10px rgba(193, 104, 47, 0.55);
}
.btn-primary:hover { background: var(--copper-dark); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  border-color: rgba(250, 247, 242, 0.4);
  color: var(--cream);
}
.btn-ghost:hover { border-color: var(--cream); background: rgba(250, 247, 242, 0.08); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border-color: var(--charcoal);
  color: var(--charcoal);
}
.btn-outline:hover { background: var(--charcoal); color: var(--cream); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  padding: 12px 0;
  background: rgba(28, 32, 35, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,0.6);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--cream); }
.brand-mark { width: 46px; height: 46px; flex-shrink: 0; object-fit: contain; }
.brand-logo { height: 74px; width: auto; flex-shrink: 0; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.brand-text span { font-size: 11px; letter-spacing: 0.08em; color: var(--copper-light); text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-size: 14px;
  color: rgba(250, 247, 242, 0.85);
  font-weight: 600;
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--copper);
  transition: width 0.25s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 20px; }
.header-phone { display: flex; align-items: center; gap: 8px; color: var(--cream); font-size: 14px; font-weight: 600; }
.header-phone svg { width: 16px; height: 16px; color: var(--copper-light); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(250,247,242,0.3);
  background: transparent;
  color: var(--cream);
  align-items: center; justify-content: center;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--cream);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url("../img/hero-fassade.webp");
  background-size: cover;
  background-position: center 20%;
  transform: scale(1.05);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,23,25,0.88) 0%, rgba(20,23,25,0.72) 45%, rgba(20,23,25,0.94) 100%);
}
.hero-content { position: relative; z-index: 2; padding-top: 110px; padding-bottom: 60px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hero-badge {
  border: 1px solid rgba(250,247,242,0.35);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  font-weight: 600;
}
.hero h1 {
  color: var(--cream);
  font-size: clamp(40px, 7vw, 78px);
  line-height: 0.98;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.hero h1 .accent { color: var(--copper-light); }
.hero-lede { font-size: 18px; color: #d7dbdd; max-width: 52ch; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 60px; }

.trust-strip {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(250,247,242,0.18);
}
.trust-item {
  padding: 20px 24px 0;
  border-left: 1px solid rgba(250,247,242,0.18);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13px;
  color: #cfd3d5;
}
.trust-item:first-child { border-left: none; }
.trust-item strong { display: block; font-size: 20px; color: var(--cream); margin-bottom: 4px; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--cream-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--copper);
  margin-bottom: 22px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card p { margin-bottom: 0; font-size: 15px; }
.service-list { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.service-list li { font-size: 14px; color: var(--muted); display: flex; gap: 10px; align-items: baseline; }
.service-list li::before { content: "—"; color: var(--copper); flex-shrink: 0; }

/* ---------- Split sections (Photovoltaik / Sanierung) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}
.split-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3.1; }
.feature-pills { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }
.feature-pill {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--charcoal);
}
.section--dark .feature-pill { border-color: rgba(250,247,242,0.25); color: var(--cream); }
.feature-pill svg { width: 15px; height: 15px; color: var(--green); }

.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.benefit-tile {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  background: #fff;
}
.benefit-tile .num { font-family: var(--font-display); font-size: 34px; color: var(--copper); margin-bottom: 8px; display: block; }
.benefit-tile h3 { font-size: 16px; margin-bottom: 8px; }
.benefit-tile p { font-size: 14px; margin: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 30px; }
.about-badge {
  background: var(--cream-2);
  border-radius: var(--radius);
  padding: 22px;
}
.about-badge strong { display: block; font-family: var(--font-display); font-size: 26px; color: var(--charcoal); }
.about-badge span { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.signature { margin-top: 28px; font-size: 15px; color: var(--charcoal); font-weight: 700; }
.signature span { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 2px; }

/* ---------- Aktuelles / gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 46px; }
.gallery-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery-card img { width: 100%; height: 340px; object-fit: cover; transition: transform 0.5s ease; }
.gallery-card:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 24px;
  background: linear-gradient(0deg, rgba(20,23,25,0.9), transparent);
  color: var(--cream);
}
.gallery-caption strong { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.03em; font-size: 15px; }
.gallery-caption span { display: block; font-size: 13px; color: #cfd3d5; margin-top: 2px; }

/* ---------- Karriere ---------- */
.career-box {
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--copper) 0%, var(--copper-dark) 100%);
  color: #fff;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.career-box h2 { color: #fff; margin-bottom: 10px; }
.career-box p { color: rgba(255,255,255,0.9); margin-bottom: 0; }
.career-box .btn-outline { border-color: #fff; color: #fff; }
.career-box .btn-outline:hover { background: #fff; color: var(--copper-dark); }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; }
.contact-info-card {
  background: var(--charcoal-2);
  border-radius: var(--radius);
  padding: 40px 36px;
  color: var(--cream);
  height: fit-content;
}
.contact-info-card h3 { color: var(--cream); margin-bottom: 22px; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.contact-row svg { width: 20px; height: 20px; color: var(--copper-light); flex-shrink: 0; margin-top: 2px; }
.contact-row strong { display: block; font-size: 15px; }
.contact-row span { font-size: 13px; color: #b9bec2; }
.contact-info-card hr { border: none; border-top: 1px solid rgba(250,247,242,0.15); margin: 26px 0; }

.contact-form { background: #fff; border-radius: var(--radius); padding: 44px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; color: var(--charcoal); }
.field input, .field textarea {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.2s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--copper); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 12px; color: var(--muted-light); margin-top: 14px; }
.form-status { margin-top: 16px; font-size: 14px; font-weight: 700; padding: 12px 16px; border-radius: 10px; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #e8f2ec; color: var(--green); }
.form-status.err { background: #fbe9e3; color: var(--copper-dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #b9bec2; padding: 60px 0 30px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(250,247,242,0.12); }
.footer-brand .brand-text strong { color: var(--cream); }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { font-size: 14px; font-weight: 600; color: #d7dbdd; }
.footer-nav a:hover { color: var(--copper-light); }

.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(250,247,242,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--cream);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.social-links a:hover { background: var(--copper); border-color: var(--copper); }
.social-links svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; }
.footer-bottom a { color: #d7dbdd; }
.footer-bottom a:hover { color: var(--copper-light); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Legal pages ---------- */
.legal-page { padding: 150px 0 100px; }
.legal-page h1 { font-size: clamp(30px, 4vw, 44px); text-transform: uppercase; }
.legal-page h2 { font-size: 20px; text-transform: none; margin-top: 34px; }
.legal-page p, .legal-page li { color: var(--muted); font-size: 15px; max-width: 70ch; }
.legal-page ul { margin: 0 0 16px; }
.legal-page li { list-style: disc; margin-left: 20px; margin-bottom: 6px; }
.legal-note {
  margin-top: 30px; padding: 16px 20px; border-radius: 10px;
  background: var(--cream-2); border: 1px dashed var(--border);
  font-size: 13px; color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .main-nav, .header-cta .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .split, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .trust-item:nth-child(3) { border-left: none; }
  .career-box { padding: 40px; flex-direction: column; align-items: flex-start; }
  .split-media { order: -1; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .footer-top, .footer-bottom { flex-direction: column; }
}

/* ---------- Mobile nav drawer ---------- */
.mobile-nav {
  position: fixed; inset: 0;
  background: var(--charcoal);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transform: translateY(-100%);
  transition: transform 0.35s ease;
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 26px;
  text-transform: uppercase;
  color: var(--cream);
  letter-spacing: 0.03em;
}
.mobile-nav .btn { margin-top: 10px; }
