/* ==========================================================================
   Böltau Dach- und Fassadenbau GmbH — Stylesheet
   Modern, responsive, accessible craftsman website
   ========================================================================== */

/* ---------- Local Webfonts (100% DSGVO-konform, kein externer Request) ---------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/archivo-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/archivo-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/archivo-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/archivo-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/fraunces-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/fraunces-700.woff2') format('woff2');
}

/* ---------- Custom Properties & Theme Palette ---------- */
:root {
  /* Handwerk Farbwelt: Gebrannter Tonziegel, Schiefer, Kalk, Zink */
  --ziegel: #8E3520;
  --ziegel-hell: #B5452B;
  --ziegel-dunkel: #6E2615;
  --schiefer: #241D19;
  --schiefer-hell: #3A302A;
  --kalk: #FBF8F3;
  --sand: #EFE8DC;
  --sand-hell: #F6F2EB;
  --zink: #6F7270;
  --zink-hell: #E2E4DF;
  --kupfer: #C26C38;
  --moos: #46543F;

  --display-font: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body-font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --pad: clamp(1.25rem, 5vw, 4.5rem);
  --gap: clamp(2rem, 5vw, 4.5rem);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 2px 6px rgba(36, 29, 25, 0.06);
  --shadow-md: 0 6px 20px rgba(36, 29, 25, 0.08);
  --shadow-lg: 0 16px 36px rgba(36, 29, 25, 0.12);
  --transition: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  background-color: var(--kalk);
  color: var(--schiefer);
  font-family: var(--body-font);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.12rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--display-font);
  font-variation-settings: "SOFT" 20, "WONK" 1;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--schiefer);
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.3rem, 1.4rem + 4vw, 4.4rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.85rem, 1.2rem + 2.2vw, 2.9rem);
}

h3 {
  font-size: clamp(1.22rem, 1.1rem + 0.5vw, 1.55rem);
}

p {
  margin: 0 0 1.2em;
}

a {
  color: inherit;
  text-decoration-skip-ink: auto;
}

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

/* Accessible focus ring */
:focus-visible {
  outline: 3px solid var(--ziegel);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Skiplink for accessibility */
.skiplink {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--ziegel);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  z-index: 1000;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}
.skiplink:focus {
  top: 1rem;
}

/* Container */
.wrap {
  width: 100%;
  max-width: 1220px;
  margin-inline: auto;
  padding-inline: var(--pad);
}

.measure {
  max-width: 38em;
}

.lede {
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem);
  line-height: 1.55;
  color: var(--schiefer);
  max-width: 36em;
}

/* ---------- Header & Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 243, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(36, 29, 25, 0.1);
  transition: box-shadow var(--transition);
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}

/* Brand */
.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-crest {
  width: 42px;
  height: 42px;
  background: var(--ziegel);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(142, 53, 32, 0.3);
}

.brand-crest svg {
  width: 26px;
  height: 26px;
  stroke: #ffffff;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--display-font);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--schiefer);
}

.brand-sub {
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--zink);
  margin-top: 3px;
}

/* Desktop Navigation */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin-left: auto;
}

.nav-link {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--schiefer);
  padding-block: 0.35rem;
  position: relative;
  transition: color var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--ziegel);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--ziegel);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Header Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.tel-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ziegel);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(142, 53, 32, 0.25);
  transition: background var(--transition), transform var(--transition);
}

.tel-btn:hover {
  background: var(--ziegel-dunkel);
  transform: translateY(-1px);
}

.tel-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Hamburger button */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(36, 29, 25, 0.15);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  color: var(--schiefer);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile Nav Drawer */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(36, 29, 25, 0.5);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 86vw);
  background: var(--kalk);
  z-index: 999;
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition);
  overflow-y: auto;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(36, 29, 25, 0.1);
}

.mobile-nav-close {
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--schiefer);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.mobile-nav-links a {
  text-decoration: none;
  font-family: var(--display-font);
  font-size: 1.35rem;
  font-weight: 600;
  padding: 0.6rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  background: var(--sand);
  color: var(--ziegel);
}

.mobile-nav-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(36, 29, 25, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (max-width: 960px) {
  .nav-desktop {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 600px) {
  .header-actions .tel-btn {
    display: none;
  }
}

/* ---------- Common Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
  border: 2px solid transparent;
}

.btn-solid {
  background: var(--ziegel);
  color: #ffffff;
}
.btn-solid:hover {
  background: var(--ziegel-dunkel);
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--schiefer);
  color: var(--kalk);
  border-color: var(--schiefer);
}
.btn-dark:hover {
  background: var(--ziegel);
  border-color: var(--ziegel);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-line {
  background: transparent;
  color: var(--schiefer);
  border-color: var(--schiefer);
}
.btn-line:hover {
  background: var(--sand);
  transform: translateY(-1px);
}

.btn-line-white {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
}
.btn-line-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

.btn svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

/* ---------- Hero Section ---------- */
.hero {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: var(--gap);
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ziegel);
  margin-bottom: 1.2rem;
  background: rgba(142, 53, 32, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
}

.hero-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--ziegel);
  border-radius: 50%;
}

.hero-title {
  margin-bottom: 1.2rem;
}

.hero-title span {
  display: block;
}

.hero-title .highlight {
  color: var(--ziegel);
  font-style: italic;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.hero-visual {
  position: relative;
}

.hero-shot {
  background: var(--sand);
  aspect-ratio: 4 / 3.4;
  clip-path: polygon(0 16%, 38% 0, 100% 0, 100% 100%, 0 100%);
  overflow: hidden;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.hero-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-badge-float {
  position: absolute;
  bottom: -15px;
  left: -15px;
  background: #ffffff;
  color: var(--schiefer);
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--ziegel);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  max-width: 280px;
}

.hero-badge-float b {
  display: block;
  font-family: var(--display-font);
  font-size: 1.15rem;
  line-height: 1.1;
}

.hero-badge-float span {
  display: block;
  font-size: 0.82rem;
  color: var(--zink);
  line-height: 1.35;
  margin-top: 3px;
}

@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-shot {
    aspect-ratio: 16 / 10;
  }
  .hero-badge-float {
    position: static;
    margin-top: 1.25rem;
    max-width: 100%;
  }
}

/* ---------- Quick Trust Bar ---------- */
.facts-bar {
  border-top: 1px solid rgba(36, 29, 25, 0.12);
  border-bottom: 1px solid rgba(36, 29, 25, 0.12);
  background: var(--sand-hell);
  margin-top: 1rem;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact-item {
  padding: 1.8rem 1.4rem;
  border-left: 1px solid rgba(36, 29, 25, 0.12);
}

.fact-item:first-child {
  border-left: 0;
  padding-left: 0;
}

.fact-num {
  font-family: var(--display-font);
  font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  font-weight: 700;
  color: var(--ziegel);
  line-height: 1;
}

.fact-label {
  font-weight: 700;
  font-size: 0.96rem;
  margin-top: 0.4rem;
  display: block;
}

.fact-desc {
  font-size: 0.88rem;
  color: var(--zink);
  margin-top: 0.2rem;
  margin-bottom: 0;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fact-item:nth-child(2n+1) {
    border-left: 0;
    padding-left: 0;
  }
  .fact-item {
    border-top: 1px solid rgba(36, 29, 25, 0.12);
  }
  .fact-item:nth-child(-n+2) {
    border-top: 0;
  }
}

@media (max-width: 520px) {
  .facts-grid {
    grid-template-columns: 1fr;
  }
  .fact-item {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(36, 29, 25, 0.12);
  }
  .fact-item:first-child {
    border-top: 0;
  }
}

/* ---------- Emergency / Sturmschaden Banner ---------- */
.emergency-banner {
  background: var(--schiefer);
  color: var(--kalk);
  padding-block: 2.2rem;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--ziegel);
}

.emergency-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
}

.emergency-content {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  max-width: 760px;
}

.emergency-icon {
  width: 48px;
  height: 48px;
  background: var(--ziegel);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.emergency-icon svg {
  width: 26px;
  height: 26px;
}

.emergency-text h3 {
  color: #ffffff;
  margin-bottom: 0.35rem;
  font-size: 1.3rem;
}

.emergency-text p {
  color: rgba(251, 248, 243, 0.85);
  margin: 0;
  font-size: 0.96rem;
}

/* ---------- Sections ---------- */
section {
  scroll-margin-top: 86px;
}

.sec {
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: var(--gap);
  align-items: start;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.sec-head.centered {
  display: block;
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.sec-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ziegel);
  margin-bottom: 0.6rem;
  display: block;
}

@media (max-width: 860px) {
  .sec-head {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* ---------- Services Grid ---------- */
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.service-card {
  background: #ffffff;
  border: 1px solid rgba(36, 29, 25, 0.1);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.service-img-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sand);
  position: relative;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.04);
}

.service-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(36, 29, 25, 0.85);
  color: #ffffff;
  padding: 0.3rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 2px;
}

.service-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-body h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.service-body p {
  color: #4a413c;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.service-features li {
  font-size: 0.88rem;
  padding-left: 1.2rem;
  position: relative;
  color: var(--schiefer);
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ziegel);
  font-weight: bold;
}

.service-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ziegel);
  text-decoration: none;
}

.service-link:hover {
  text-decoration: underline;
}

@media (max-width: 960px) {
  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Service Pill List */
.service-pill-box {
  background: var(--sand-hell);
  border: 1px solid rgba(36, 29, 25, 0.1);
  padding: clamp(1.8rem, 4vw, 2.5rem);
  border-radius: var(--radius-sm);
}

.service-pill-box h4 {
  font-family: var(--body-font);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  color: var(--schiefer);
}

.service-pill-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-pill-grid li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.96rem;
  font-weight: 500;
}

.service-pill-grid li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--ziegel);
  flex-shrink: 0;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

@media (max-width: 840px) {
  .service-pill-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ---------- Quote / Heritage Highlight ---------- */
.quote-section {
  background: var(--schiefer);
  color: var(--kalk);
}

.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr);
  gap: var(--gap);
  align-items: center;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.founder-portrait {
  background: #3a2e26;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 3px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-lg);
  max-width: 320px;
}

.founder-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.quote-content blockquote {
  margin: 0;
  font-family: var(--display-font);
  font-weight: 600;
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: #ffffff;
}

.quote-content figcaption {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: rgba(251, 248, 243, 0.75);
  line-height: 1.5;
}

.quote-content figcaption strong {
  color: #ffffff;
  display: block;
}

@media (max-width: 860px) {
  .quote-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .founder-portrait {
    max-width: 240px;
  }
}

/* ---------- Company Chronicle ---------- */
.chronik-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 3vw, 2.2rem);
}

.chronik-item {
  border-top: 3px solid var(--ziegel);
  padding-top: 1.2rem;
}

.chronik-item b {
  font-family: var(--display-font);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--schiefer);
  display: block;
}

.chronik-item p {
  font-size: 0.95rem;
  margin: 0.5rem 0 0;
  color: #4a413c;
}

@media (max-width: 860px) {
  .chronik-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ---------- Decorative Roof Tile Wave (SVG pattern) ---------- */
.tile-band {
  height: 48px;
  background: var(--sand);
  overflow: hidden;
}

/* ---------- 4 Steps Process ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.step-card {
  background: #ffffff;
  border: 1px solid rgba(36, 29, 25, 0.1);
  padding: 1.8rem 1.4rem;
  border-radius: var(--radius-sm);
  position: relative;
}

.step-num {
  font-family: var(--display-font);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ziegel);
  margin-bottom: 0.8rem;
  display: block;
}

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

.step-card p {
  font-size: 0.92rem;
  color: var(--zink);
  margin: 0;
}

@media (max-width: 960px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ---------- Service Area (Einsatzgebiet) ---------- */
.area-section {
  background: var(--sand-hell);
  border-top: 1px solid rgba(36, 29, 25, 0.1);
  border-bottom: 1px solid rgba(36, 29, 25, 0.1);
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.area-tags li {
  background: #ffffff;
  border: 1px solid rgba(36, 29, 25, 0.15);
  padding: 0.45rem 0.9rem;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  color: var(--schiefer);
}

.area-tags li.primary {
  background: var(--ziegel);
  border-color: var(--ziegel);
  color: #ffffff;
  font-weight: 600;
}

/* ---------- Contact Section ---------- */
.contact-section {
  background: var(--ziegel);
  color: #ffffff;
}

.contact-section a {
  color: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: var(--gap);
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.contact-info h2 {
  color: #ffffff;
  max-width: 14ch;
}

.contact-details {
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
}

.contact-detail-row {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 0.9rem;
}

.contact-detail-row dt {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.contact-detail-row dd {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 500;
}

.contact-detail-row dd a {
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  transition: border-color var(--transition);
}

.contact-detail-row dd a:hover {
  border-bottom-color: #ffffff;
}

/* Contact Form */
.contact-form-wrap {
  background: rgba(0, 0, 0, 0.16);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}

.contact-form-wrap h3 {
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.contact-form-wrap p.form-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.4rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

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

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

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

.field-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
}

.field-group input,
.field-group select,
.field-group textarea {
  font-family: var(--body-font);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: #ffffff;
  color: var(--schiefer);
  border-radius: var(--radius-sm);
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: #ffffff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
}

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

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.form-submit-row button {
  background: var(--schiefer);
  color: #ffffff;
  border: 0;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.form-submit-row button:hover {
  background: #000000;
  transform: translateY(-1px);
}

.form-notice {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.4;
}

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

/* ---------- Chamber & Partner Logos ---------- */
.partners-section {
  padding-block: clamp(2.5rem, 5vw, 3.8rem);
  border-bottom: 1px solid rgba(36, 29, 25, 0.1);
  background: #ffffff;
}

.partners-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.partners-title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--zink);
  margin-bottom: 1.4rem;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 6vw, 4.5rem);
}

.partner-logos img {
  height: clamp(48px, 6vw, 65px);
  width: auto;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter var(--transition), transform var(--transition);
}

.partner-logos img:hover {
  filter: grayscale(0%);
  transform: translateY(-2px);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--schiefer);
  color: rgba(251, 248, 243, 0.75);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: 2rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: #ffffff;
  font-family: var(--body-font);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-brand .brand-name {
  color: #ffffff;
}

.footer-brand .brand-sub {
  color: rgba(251, 248, 243, 0.6);
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(251, 248, 243, 0.7);
  max-width: 28ch;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav a {
  text-decoration: none;
  color: rgba(251, 248, 243, 0.78);
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(251, 248, 243, 0.55);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  text-decoration: none;
  color: rgba(251, 248, 243, 0.65);
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Text Content Pages (Leistungen, Impressum, Datenschutz) ---------- */
.page-hero {
  background: var(--sand-hell);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid rgba(36, 29, 25, 0.1);
}

.prose-content {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.prose-content h2 {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(36, 29, 25, 0.1);
}

.prose-content h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.prose-content ul {
  padding-left: 1.4rem;
  margin-bottom: 1.5rem;
}

.prose-content li {
  margin-bottom: 0.4rem;
}

.legal-card {
  background: #ffffff;
  border: 1px solid rgba(36, 29, 25, 0.1);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-sm);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.faq-accordion details {
  background: #ffffff;
  border: 1px solid rgba(36, 29, 25, 0.12);
  border-radius: var(--radius-sm);
  margin-bottom: 0.8rem;
  padding: 1.1rem 1.3rem;
  transition: border-color var(--transition);
}

.faq-accordion details[open] {
  border-color: var(--ziegel);
}

.faq-accordion summary {
  font-family: var(--display-font);
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.faq-accordion summary::after {
  content: "+";
  font-family: var(--body-font);
  font-size: 1.4rem;
  color: var(--ziegel);
  transition: transform var(--transition);
}

.faq-accordion details[open] summary::after {
  content: "–";
}

.faq-accordion details p {
  margin: 1rem 0 0;
  color: #4a413c;
  font-size: 0.96rem;
  line-height: 1.6;
}
