/* ==========================================================================
   Gebäudemanagement Rensinghoff – Stylesheet
   Mobile-first, CSS Custom Properties, Grid/Flexbox, dezente Animationen
   ========================================================================== */

:root {
  /* Farben */
  --dark: #101413;
  --dark-soft: #171b1a;
  --dark-card: #1e2321;
  --dark-border: #2a302d;

  --white: #ffffff;
  --off-white: #f6f7f5;
  --gray-100: #eef0ee;
  --gray-200: #dfe3e0;
  --gray-300: #c7ccc8;
  --gray-500: #7c847f;
  --gray-700: #454b47;

  --green: #1fa153;
  --green-light: #34c874;
  --green-dark: #167a3f;
  --green-tint: #e8f7ee;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 4px 16px -6px rgba(16, 20, 19, 0.18);
  --shadow-md: 0 16px 40px -16px rgba(16, 20, 19, 0.3);
  --shadow-lg: 0 24px 60px -20px rgba(16, 20, 19, 0.4);

  --header-h: 76px;
  --mobile-bar-h: 64px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--mobile-bar-h);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

svg {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 5rem 0;
}

.section--tight {
  padding: 3.5rem 0;
}

.section--dark {
  background: var(--dark);
  color: var(--white);
}

.section--soft {
  background: var(--off-white);
}

.section-head {
  max-width: 680px;
  margin: 0 0 3rem;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.9rem;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

h2 {
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem);
}

.section-head p {
  color: var(--gray-500);
  font-size: 1.05rem;
}

.section--dark .section-head p {
  color: var(--gray-300);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn svg {
  width: 19px;
  height: 19px;
  flex: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--green);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--green-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--gray-200);
}

.btn--outline:hover {
  border-color: var(--green);
  color: var(--green-dark);
  transform: translateY(-2px);
}

.btn--block {
  width: 100%;
}

.btn--lg {
  padding: 1.1rem 2rem;
  font-size: 1.05rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(16, 20, 19, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--white);
  flex: none;
}

.brand-logo {
  height: 38px;
  width: auto;
  display: block;
}

@media (min-width: 640px) {
  .brand-logo {
    height: 46px;
  }
}

.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}

.main-nav a {
  color: var(--gray-200);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.main-nav a:hover {
  color: var(--white);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-phone {
  display: none;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.header-phone svg {
  width: 18px;
  height: 18px;
  color: var(--green-light);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--white);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

/* Mobile nav panel */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  background: var(--dark-soft);
  border-bottom: 1px solid var(--dark-border);
  padding: 1.25rem;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 55;
}

.mobile-nav.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav a {
  display: block;
  padding: 0.85rem 0.5rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav-phone {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--green-light);
  text-decoration: none;
  font-weight: 700;
}

@media (min-width: 960px) {
  .main-nav {
    display: block;
  }
  .header-phone {
    display: inline-flex;
  }
  .nav-toggle {
    display: none;
  }
  .mobile-nav {
    display: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(1100px 520px at 85% -10%, rgba(31, 161, 83, 0.28), transparent 60%), var(--dark);
  color: var(--white);
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(31, 161, 83, 0.18), transparent 65%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  display: grid;
  gap: 2.5rem;
}

.hero-copy {
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(31, 161, 83, 0.14);
  border: 1px solid rgba(52, 200, 116, 0.35);
  color: var(--green-light);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
}

.hero-badge svg {
  width: 15px;
  height: 15px;
}

.hero h1 {
  font-size: clamp(2.2rem, 1.7rem + 2.4vw, 3.4rem);
  margin-bottom: 0.7em;
}

.hero h1 span {
  color: var(--green-light);
}

.hero-sub {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem);
  color: var(--gray-300);
  max-width: 560px;
  margin-bottom: 2.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.2rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-stars {
  display: flex;
  gap: 2px;
  color: var(--green-light);
}

.hero-stars svg {
  width: 18px;
  height: 18px;
}

.hero-trust-text {
  font-size: 0.92rem;
  color: var(--gray-300);
}

.hero-trust-text a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
}

.hero-areas {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--gray-300);
  font-size: 0.92rem;
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-areas svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  color: var(--green-light);
}

.hero-areas strong {
  color: var(--white);
}

/* ---------- Sections generic ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--green-tint);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--gray-500);
  font-size: 0.97rem;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.93rem;
  text-decoration: none;
  border: none;
  background: none;
  padding: 0;
}

.service-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.service-link:hover svg {
  transform: translateX(3px);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 0.5rem;
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin: 0 auto 1.75rem;
}

.cta-banner .btn--primary {
  background: var(--white);
  color: var(--green-dark);
}

.cta-banner .btn--primary:hover {
  background: var(--dark);
  color: var(--white);
}

/* ---------- Why us ---------- */
.why-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.4rem;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.why-item:hover {
  transform: translateY(-3px);
  border-color: var(--green);
}

.why-item .check {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(52, 200, 116, 0.15);
  color: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.why-item .check svg {
  width: 16px;
  height: 16px;
}

.why-item p {
  margin: 0;
  color: var(--gray-200);
  font-size: 0.98rem;
}

/* ---------- Reviews ---------- */
.reviews {
  text-align: center;
}

.reviews-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.reviews-stars {
  display: flex;
  gap: 4px;
  color: var(--green);
}

.reviews-stars svg {
  width: 30px;
  height: 30px;
}

.reviews-badge h2 {
  margin: 0.2rem 0 0;
}

.review-platforms {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  max-width: 700px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .review-platforms {
    grid-template-columns: repeat(2, 1fr);
  }
}

.review-platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  background: var(--green-tint);
  border: 1.5px dashed var(--green);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-platform:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.review-platform-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
}

.review-platform-stars {
  color: var(--green);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.review-platform .value {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--green-dark);
}

.review-platform-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-top: 0.3rem;
}

.review-platform-link svg {
  width: 15px;
  height: 15px;
}

.reviews-cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-top: 3rem;
  text-align: left;
}

@media (min-width: 768px) {
  .reviews-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-placeholder-card {
  border: 1.5px dashed var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: var(--gray-500);
  background: var(--off-white);
}

.review-placeholder-card svg {
  width: 26px;
  height: 26px;
  color: var(--green);
  margin-bottom: 0.9rem;
}

.review-placeholder-card h4 {
  margin: 0 0 0.4rem;
  color: var(--dark);
  font-size: 1.02rem;
}

.review-placeholder-card p {
  margin: 0;
  font-size: 0.93rem;
}

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  counter-reset: step;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.process-step {
  position: relative;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.75rem 1.9rem;
}

.process-step .num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--green);
  opacity: 0.9;
  margin-bottom: 0.6rem;
  display: block;
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.process-step p {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin: 0;
}

.process-cta {
  text-align: center;
  margin-top: 2.75rem;
}

/* ---------- Contact / Form ---------- */
.contact-wrap {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 960px) {
  .contact-wrap {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
  }
}

.contact-info h2 {
  color: var(--white);
}

.contact-info > p {
  color: var(--gray-300);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.75rem 0;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: var(--white);
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-method:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}

.contact-method .icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(52, 200, 116, 0.15);
  color: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.contact-method .icon svg {
  width: 20px;
  height: 20px;
}

.contact-method .txt small {
  display: block;
  color: var(--gray-300);
  font-size: 0.78rem;
  margin-bottom: 0.1rem;
}

.contact-method .txt strong {
  font-size: 1.02rem;
}

.contact-areas {
  color: var(--gray-300);
  font-size: 0.92rem;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.contact-areas svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  color: var(--green-light);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  color: var(--dark);
}

.form-row {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
  margin-bottom: 1.1rem;
}

@media (min-width: 560px) {
  .form-row--split {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-700);
}

.field .optional {
  font-weight: 400;
  color: var(--gray-500);
}

.field input,
.field select,
.field textarea {
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  background: var(--off-white);
  transition: border-color 0.15s ease, background-color 0.15s ease;
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.field-file {
  border: 1.5px dashed var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 1.1rem;
  background: var(--off-white);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.field-file:hover {
  border-color: var(--green);
}

.field-file svg {
  width: 24px;
  height: 24px;
  color: var(--green-dark);
  flex: none;
}

.field-file .file-txt small {
  display: block;
  color: var(--gray-500);
  font-size: 0.82rem;
}

.field-file input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.form-consent {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin: 1rem 0 1.4rem;
}

.form-consent a {
  color: var(--green-dark);
}

.form-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 0.9rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.pending {
  background: var(--gray-100);
  color: var(--gray-700);
}

.form-status.success {
  background: var(--green-tint);
  color: var(--green-dark);
}

.form-status.error {
  background: #fdeceb;
  color: #b3261e;
}

/* Honeypot-Feld gegen Spam-Bots: für Menschen unsichtbar & nicht per Tab
   erreichbar, aber im DOM vorhanden (kontakt.php / main.js prüfen es). */
.field-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark-card), var(--dark));
  display: flex;
  align-items: flex-end;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(52, 200, 116, 0.22), transparent 60%);
}

.gallery-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  color: rgba(255, 255, 255, 0.35);
}

.gallery-item span {
  position: relative;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.9rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), transparent);
  width: 100%;
}

.gallery-note {
  text-align: center;
  color: var(--gray-500);
  font-size: 0.88rem;
  margin-top: 1.75rem;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.faq-item {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  font-weight: 700;
  font-size: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary svg {
  width: 20px;
  height: 20px;
  color: var(--green-dark);
  flex: none;
  transition: transform 0.25s ease;
}

.faq-item[open] summary svg {
  transform: rotate(180deg);
}

.faq-item .faq-answer {
  padding: 0 1.4rem 1.3rem;
  color: var(--gray-500);
  font-size: 0.96rem;
}

.faq-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: var(--gray-300);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2.25rem;
  grid-template-columns: 1fr;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--dark-border);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

.footer-brand .brand {
  margin-bottom: 0.9rem;
}

.footer-brand p {
  color: var(--gray-300);
  font-size: 0.93rem;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  color: var(--gray-300);
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--green-light);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  padding-top: 1.75rem;
  font-size: 0.82rem;
  color: var(--gray-500);
}

.footer-bottom a {
  color: var(--gray-500);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ---------- Sticky mobile conversion bar ---------- */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--dark);
  border-top: 1px solid var(--dark-border);
  box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, 0.4);
}

.mobile-cta-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: var(--mobile-bar-h);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.mobile-cta-bar a svg {
  width: 18px;
  height: 18px;
}

.mobile-cta-bar .call {
  background: var(--green);
}

.mobile-cta-bar .quote {
  background: var(--dark-card);
}

@media (min-width: 960px) {
  .mobile-cta-bar {
    display: none;
  }
  body {
    padding-bottom: 0;
  }
}

/* ---------- Legal pages ---------- */
.legal {
  padding: 3rem 0 5rem;
  max-width: 820px;
  margin: 0 auto;
}

.legal h1 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

.legal h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
}

.legal p,
.legal li {
  color: var(--gray-700);
  font-size: 0.98rem;
}

.legal ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin-bottom: 1em;
}

.legal a {
  color: var(--green-dark);
}

.legal .back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 2rem;
  color: var(--green-dark);
  text-decoration: none;
  font-weight: 600;
}

.placeholder-note {
  display: inline-block;
  background: var(--green-tint);
  color: var(--green-dark);
  border: 1px dashed var(--green);
  border-radius: var(--radius-sm);
  padding: 0.15rem 0.5rem;
  font-size: 0.85em;
  font-weight: 600;
}
