/* =====================================================
   BesArt Heizung & Sanitaer | Theme v3 (HomePro-inspired)
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Marke */
  --primary:        #ec5b3a;
  --primary-soft:   #ff8a3d;
  --primary-deep:   #c43d2f;
  --primary-tint:   #fff1ea;
  --primary-tint-2: #ffd8c4;

  /* Tinte und Untergrund */
  --ink:            #1a1d23;
  --ink-deep:       #0e1014;
  --ink-soft:       #2a2c30;
  --graphite:       #5b6068;
  --bg:             #ffffff;
  --bg-soft:        #faf8f3;
  --bg-stone:       #f3eee2;
  --bg-card:        #f4f4f4;
  --line:           #e6e0d3;
  --line-soft:      #efeadc;

  --font:           "DM Sans", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container:      1240px;
  --radius-s:       12px;
  --radius:         18px;
  --radius-l:       28px;
  --radius-xl:      36px;
  --shadow:         0 24px 60px -22px rgba(20, 16, 8, 0.18), 0 4px 14px -8px rgba(20, 16, 8, 0.08);
  --shadow-soft:    0 14px 36px -22px rgba(20, 16, 8, 0.16);
  --ease:           cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--primary); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--primary-deep); }

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.5em;
  line-height: 1.1;
}

p { margin: 0 0 1em; color: var(--graphite); }

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

.section { padding: clamp(64px, 8vw, 110px) 0; }

/* ============== Topbar ============== */
.topbar {
  background: var(--ink-deep);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  padding: 9px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.topbar a { color: rgba(255, 255, 255, 0.78); }
.topbar a:hover { color: var(--primary-soft); }
.topbar-row { display: inline-flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.topbar-row svg { width: 13px; height: 13px; opacity: 0.72; }
.topbar-row .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary-soft);
  display: inline-block;
  margin-right: 6px;
  box-shadow: 0 0 0 4px rgba(255, 138, 61, 0.22);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(255, 138, 61, 0); } }
.topbar-divider { width: 1px; height: 14px; background: rgba(255,255,255,0.18); display: inline-block; }

/* ============== Header ============== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--line-soft);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 44px; width: auto; }
.brand-text {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.brand-text small {
  display: block;
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--graphite);
  margin-top: 2px;
}

.nav { display: flex; gap: 4px; align-items: center; }
.nav a {
  font-size: 0.94rem;
  color: var(--ink);
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 999px;
  position: relative;
}
.nav a:hover { color: var(--primary); }
.nav a.is-active { color: var(--primary); }
.nav .btn { padding: 12px 24px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    right: 4%;
    flex-direction: column;
    background: #fff;
    padding: 14px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--line-soft);
    display: none;
    min-width: 240px;
  }
  .nav.is-open { display: flex; }
  .nav a { width: 100%; }
}

/* ============== Buttons ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-deep);
  border-color: var(--primary-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -14px rgba(236, 91, 58, 0.55);
}
.btn-ink {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn-ink:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-light {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.btn-light:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.btn .ico-circle {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  display: grid; place-items: center;
  margin-left: 4px;
}
.btn .ico-circle svg { width: 14px; height: 14px; }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ============== Hero ============== */
.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: 60px 0 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 16, 20, 0.45) 0%, rgba(14, 16, 20, 0.25) 50%, rgba(14, 16, 20, 0.7) 100%),
    linear-gradient(90deg, rgba(14, 16, 20, 0.55) 0%, rgba(14, 16, 20, 0.15) 60%);
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  padding-top: 60px;
  padding-bottom: 220px;
}

.hero-text { color: #fff; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  margin-bottom: 24px;
}
.hero-eyebrow .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary-soft);
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(255, 138, 61, 0.32);
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 22px;
}
.hero-title span { color: var(--primary-soft); }

.hero-sub {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 520px;
  margin-bottom: 28px;
}

.hero-form {
  background: #fff;
  border-radius: var(--radius-l);
  padding: 36px;
  box-shadow: var(--shadow);
  position: relative;
}
.hero-form h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--ink);
}
.hero-form .field { margin-bottom: 14px; }
.hero-form input,
.hero-form select,
.hero-form textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 0.95rem;
  border: none;
  background: var(--bg-card);
  color: var(--ink);
  border-radius: var(--radius-s);
  transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.hero-form input::placeholder,
.hero-form select,
.hero-form textarea::placeholder { color: #9ea2a8; }
.hero-form input:focus,
.hero-form select:focus,
.hero-form textarea:focus {
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 2px var(--primary);
}
.hero-form textarea { min-height: 96px; resize: vertical; }
.hero-form button {
  width: 100%;
  margin-top: 8px;
}

@media (max-width: 920px) {
  .hero { min-height: auto; padding-bottom: 80px; }
  .hero .container { grid-template-columns: 1fr; padding-bottom: 80px; gap: 40px; }
  .hero-form { padding: 28px; }
}

/* ============== Trust Bar (unter Hero, dark) ============== */
.trust {
  position: relative;
  margin-top: -120px;
  z-index: 5;
}
.trust-inner {
  background: var(--ink);
  border-radius: var(--radius-l);
  padding: 32px clamp(20px, 3vw, 40px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  box-shadow: var(--shadow);
}
.trust-item { display: flex; gap: 16px; align-items: flex-start; color: #fff; }
.trust-item .ico {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.trust-item .ico svg { width: 20px; height: 20px; color: var(--primary-soft); }
.trust-item h4 { font-size: 0.98rem; font-weight: 600; margin: 0 0 4px; color: #fff; }
.trust-item p { font-size: 0.84rem; color: rgba(255,255,255,0.66); margin: 0; line-height: 1.45; }
@media (max-width: 880px) {
  .trust { margin-top: -60px; }
  .trust-inner { grid-template-columns: 1fr 1fr; padding: 24px; }
}
@media (max-width: 540px) {
  .trust-inner { grid-template-columns: 1fr; }
}

/* ============== Section Heading ============== */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.section-head p { font-size: 1rem; color: var(--graphite); }

/* ============== Tabs (Pills) ============== */
.tabs-wrap { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.tab-pill {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 999px;
  padding: 10px 22px;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.tab-pill.is-active,
.tab-pill:hover { background: var(--primary); color: #fff; }

/* ============== Service Photo Cards (zwei nebeneinander) ============== */
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.service-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-card);
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s var(--ease);
}
.service-card:hover { transform: translateY(-4px); }
.service-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.service-card:hover img { transform: scale(1.05); }
.service-card .label {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-s);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.service-card .label h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}
.service-card .label .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
}
.service-card .label .more svg { width: 14px; height: 14px; }

@media (max-width: 760px) { .service-grid { grid-template-columns: 1fr; } }

/* ============== Why-Us (4 Karten, eine aktiv) ============== */
.why {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  margin-bottom: 50px;
}
.why h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}
.why p { color: var(--graphite); font-size: 0.98rem; }

.why-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.why-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.4s var(--ease);
}
.why-card:hover { transform: translateY(-4px); }
.why-card .ico {
  width: 38px; height: 38px;
  background: var(--ink);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  position: absolute;
  top: 22px; right: 22px;
}
.why-card .ico svg { width: 18px; height: 18px; }
.why-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin: 70px 0 8px;
  color: var(--ink);
  line-height: 1.2;
}
.why-card p { font-size: 0.88rem; color: var(--graphite); margin: 0; line-height: 1.5; }

.why-card.is-active {
  background: var(--primary);
  color: #fff;
}
.why-card.is-active h3 { color: #fff; }
.why-card.is-active p { color: rgba(255,255,255,0.88); }
.why-card.is-active .ico {
  background: #fff;
  color: var(--primary);
}

@media (max-width: 1100px) {
  .why { grid-template-columns: 1fr; }
  .why-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .why-cards { grid-template-columns: 1fr; }
}

/* ============== Banner Section (full-bleed dark/colored) ============== */
.banner {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 5vw, 70px);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(236, 91, 58, 0.32), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(255, 138, 61, 0.18), transparent 60%);
  pointer-events: none;
}
.banner-image {
  position: relative;
  z-index: 2;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.banner-image img { width: 100%; height: 100%; object-fit: cover; }
.banner-text { position: relative; z-index: 2; }
.banner-text h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.banner-text p { color: rgba(255,255,255,0.84); margin-bottom: 22px; }
.banner-text .btn-primary { background: var(--primary); border-color: var(--primary); }

@media (max-width: 880px) {
  .banner { grid-template-columns: 1fr; }
}

/* ============== Inhaber-Sektion (analog zu Testimonials, aber Portrait) ============== */
.inhaber {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.inhaber-photo {
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 4/5;
  position: relative;
  background: var(--primary);
}
.inhaber-photo img { width: 100%; height: 100%; object-fit: cover; }
.inhaber-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.45) 100%);
}
.inhaber-photo .quote-mark {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 50px;
  height: 50px;
  background: var(--ink);
  color: var(--primary-soft);
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 2;
  box-shadow: var(--shadow-soft);
}
.inhaber-photo .quote-mark svg { width: 22px; height: 22px; }

.inhaber-text h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  line-height: 1.15;
}
.inhaber-text p {
  font-size: 1.06rem;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 14px;
}
.inhaber-cite {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.inhaber-cite .name { font-weight: 700; color: var(--ink); }
.inhaber-cite .role { font-size: 0.88rem; color: var(--graphite); }
.inhaber-cite .signature {
  font-family: "DM Sans", sans-serif;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--primary);
  font-weight: 500;
}

@media (max-width: 880px) { .inhaber { grid-template-columns: 1fr; } }

/* ============== FAQ (Accordion mit Akzent-Border) ============== */
.faq {
  max-width: 820px;
  margin: 0 auto;
}
.faq details {
  background: var(--bg-card);
  border-radius: var(--radius-s);
  padding: 0;
  margin-bottom: 12px;
  border-left: 3px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.faq details[open] { border-left-color: var(--primary); }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 12px; height: 12px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
  margin-bottom: 4px;
}
.faq details[open] summary::after {
  transform: rotate(-135deg);
  margin-bottom: -4px;
  border-color: var(--primary);
}
.faq details p {
  padding: 0 24px 22px;
  color: var(--graphite);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-helper {
  text-align: center;
  margin-top: 22px;
  color: var(--graphite);
  font-size: 0.95rem;
}
.faq-helper a { font-weight: 600; }

/* ============== Quote / Estimate Section (full bleed dark photo + form) ============== */
.estimate {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  padding: 80px 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  margin: 0 4%;
}
.estimate-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.estimate-bg img { width: 100%; height: 100%; object-fit: cover; }
.estimate-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14,16,20,0.85) 0%, rgba(14,16,20,0.55) 70%, rgba(14,16,20,0.4) 100%);
}
.estimate .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.estimate-text { color: #fff; }
.estimate-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.estimate-text p { color: rgba(255,255,255,0.85); }
.estimate .hero-form { margin-left: auto; max-width: 460px; width: 100%; }

@media (max-width: 880px) {
  .estimate { margin: 0; border-radius: 0; padding: 60px 0; }
  .estimate .container { grid-template-columns: 1fr; }
  .estimate .hero-form { margin: 0 auto; }
}

/* ============== Footer (multi-col + newsletter) ============== */
.site-footer {
  background: var(--ink-deep);
  color: rgba(255,255,255,0.72);
  padding: 70px 0 26px;
  font-size: 0.92rem;
  margin-top: 80px;
}
.newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 36px;
}
.newsletter h3 {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.newsletter p { color: rgba(255,255,255,0.6); margin: 0; font-size: 0.9rem; }
.newsletter form {
  display: flex;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
}
.newsletter input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  padding: 12px 18px;
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
}
.newsletter input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.25s var(--ease);
}
.newsletter button:hover { background: var(--primary-deep); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 22px;
}
.footer-grid .brand-text { color: #fff; }
.footer-grid .brand-text small { color: rgba(255,255,255,0.55); }
.footer-grid p { color: rgba(255,255,255,0.55); margin-top: 14px; max-width: 280px; font-size: 0.9rem; }
.footer-grid h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: 5px 0; }
.footer-grid a { color: rgba(255,255,255,0.65); }
.footer-grid a:hover { color: var(--primary-soft); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.44);
}
.footer-bottom .socials { display: flex; gap: 8px; }
.footer-bottom .socials a {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: grid; place-items: center;
  color: rgba(255,255,255,0.7);
}
.footer-bottom .socials a:hover { background: var(--primary); color: #fff; }
.footer-bottom .socials svg { width: 14px; height: 14px; }

@media (max-width: 980px) {
  .newsletter { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ============== Page intro (Sub Pages) ============== */
.page-intro {
  background: var(--bg-soft);
  padding: clamp(50px, 6vw, 90px) 0 clamp(40px, 5vw, 70px);
  border-bottom: 1px solid var(--line-soft);
}
.page-intro h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  margin-bottom: 18px;
  letter-spacing: -0.025em;
  font-weight: 700;
}
.page-intro p { font-size: 1.05rem; max-width: 640px; }
.crumbs { display: flex; gap: 8px; font-size: 0.88rem; color: var(--graphite); margin-bottom: 16px; }
.crumbs a { color: var(--graphite); }
.crumbs a:hover { color: var(--primary); }
.crumbs span::before { content: "/"; margin-right: 8px; opacity: 0.5; }

/* ============== Service Page Cards Grid (used on subpages) ============== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.simple-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.simple-card:hover { transform: translateY(-4px); background: var(--primary-tint); }
.simple-card .ico {
  width: 42px; height: 42px;
  background: #fff;
  color: var(--primary);
  border-radius: 50%;
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.simple-card .ico svg { width: 20px; height: 20px; }
.simple-card h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 8px; }
.simple-card p { color: var(--graphite); font-size: 0.93rem; margin: 0; }

/* ============== Checklist (used on subpages) ============== */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.checklist li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: center;
  font-size: 0.95rem;
  color: var(--ink);
}
.checklist li::before {
  content: "";
  width: 18px; height: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ec5b3a' stroke-width='2.5' stroke-linecap='round'><path d='M5 12l5 5 9-11'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
}
.checklist li:last-child { border-bottom: none; }

/* ============== Split (Photo + Text) Subpages ============== */
.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.split-photo {
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) { .split-row { grid-template-columns: 1fr; } }

/* ============== Form (Contact page) ============== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 5vw, 60px);
}
.contact-info {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-l);
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.contact-info::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 100% 0%, rgba(236, 91, 58, 0.28), transparent 60%);
  pointer-events: none;
}
.contact-info h2 { color: #fff; }
.contact-info ul { list-style: none; padding: 0; margin: 0; position: relative; z-index: 2; }
.contact-info li { padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.12); }
.contact-info li:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.contact-info .label { display: block; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em; opacity: 0.66; margin-bottom: 4px; }
.contact-info a { color: #fff; }
.contact-info a:hover { color: var(--primary-soft); }

.form-card {
  background: #fff;
  border-radius: var(--radius-l);
  padding: 36px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
}
.form-card h2 { font-size: 1.6rem; }
.form-card .field { margin-bottom: 14px; }
.form-card label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 0.94rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-s);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-tint);
}
.form-card textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.honeypot { position: absolute; left: -9999px; }
.form-status { margin-top: 12px; padding: 12px; border-radius: var(--radius-s); display: none; font-size: 0.92rem; }
.form-status.is-success { display: block; background: #e8f5e9; color: #2e7d32; }
.form-status.is-error { display: block; background: var(--primary-tint); color: var(--primary-deep); }
.field-checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; color: var(--graphite); margin: 12px 0; }
.field-checkbox input { width: 16px; height: 16px; flex-shrink: 0; margin-top: 4px; }

@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

/* ============== Reveal Animation ============== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ============== Skip + Selection ============== */
.skip {
  position: absolute;
  top: -60px;
  left: 8px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  z-index: 100;
}
.skip:focus { top: 8px; color: #fff; }
::selection { background: var(--primary); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--graphite); }

/* ============== Helper ============== */
.text-center { text-align: center; }
.section-soft { background: var(--bg-soft); }
.section-stone { background: var(--bg-stone); }

/* ============== Cookie Notice ============== */
.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
  background: var(--ink);
  color: rgba(255,255,255,0.86);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: 0 24px 60px -20px rgba(20, 16, 8, 0.45);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}
.cookie-bar.is-visible { transform: translateY(0); opacity: 1; }
.cookie-bar-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-bar p {
  flex: 1;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.86);
  min-width: 240px;
}
.cookie-bar a { color: var(--primary-soft); text-decoration: underline; text-underline-offset: 2px; }
.cookie-bar a:hover { color: #fff; }
.cookie-bar-ok {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 11px 22px;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.25s var(--ease);
  white-space: nowrap;
}
.cookie-bar-ok:hover { background: var(--primary-deep); }
@media (max-width: 540px) {
  .cookie-bar { left: 8px; right: 8px; bottom: 8px; padding: 14px 16px; }
  .cookie-bar-inner { gap: 14px; }
  .cookie-bar-ok { width: 100%; }
}

/* ============== Honeypot ============== */
.js-hp {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
