/* ============================================
   Schmitz Services – Stylesheet
   ============================================ */

:root {
  /* Kernfarben: Schwarz / Weiß / Rot (passend zum Schmitz Services Logo) */
  --color-navy-900: #1a1a1a;   /* tiefes Schwarz für Header/Footer/dunkle Flächen */
  --color-navy-800: #262626;
  --color-navy-700: #333333;
  --color-blue-600: #b3271f;   /* dunkles Rot, für Verläufe */
  --color-blue-500: #da3d31;   /* Markenrot */
  --color-amber-500: #da3d31;  /* Markenrot als Akzent-/Button-Farbe */
  --color-amber-600: #b3271f;  /* dunkleres Rot für Hover */
  --color-gray-900: #1a1d21;
  --color-gray-700: #454b52;
  --color-gray-500: #6b7178;
  --color-gray-200: #e4e7ea;
  --color-gray-100: #f4f6f8;
  --color-white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.10);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.18);
  --radius: 10px;
  --max-width: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-gray-900);
  background: var(--color-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--color-blue-600); text-decoration: none; }
a:hover { color: var(--color-amber-600); }

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

h1, h2, h3, h4 { font-weight: 700; color: var(--color-navy-900); line-height: 1.25; margin: 0 0 16px; }
h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 16px; color: var(--color-gray-700); }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-amber-600);
  margin-bottom: 10px;
}

.section { padding: 72px 0; }
.section-alt { background: var(--color-gray-100); }
.section-navy { background: var(--color-navy-900); color: var(--color-white); }
.section-navy h2, .section-navy h3 { color: var(--color-white); }
.section-navy p { color: #cfcfcf; }

.section-head { max-width: 700px; margin: 0 auto 44px; text-align: center; }
.section-head p { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-primary {
  background: var(--color-amber-500);
  color: var(--color-white);
}
.btn-primary:hover {
  background: var(--color-amber-600);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}
.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-navy-900);
  transform: translateY(-2px);
}
.btn-outline-dark {
  background: transparent;
  border-color: var(--color-navy-900);
  color: var(--color-navy-900);
}
.btn-outline-dark:hover {
  background: var(--color-navy-900);
  color: var(--color-white);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 20, 20, 0.97);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-white);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
}
.brand .brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--color-amber-500), var(--color-amber-600));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy-900);
  font-weight: 900;
  font-size: 1.1rem;
}
.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex: none;
}
.footer-brand .brand-logo {
  width: 32px;
  height: 32px;
}
.contact-card .flag-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  margin: 0 auto;
}
.spec-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
  margin-top: 12px;
}
.spec-item svg {
  width: 52px;
  height: 52px;
  stroke: var(--color-amber-500);
  margin: 0 auto 14px;
  display: block;
}
.spec-item h4 {
  font-size: 0.92rem;
  color: var(--color-navy-900);
  margin: 0 0 6px;
  font-weight: 700;
}
.spec-item .spec-value {
  color: var(--color-amber-600);
  font-weight: 700;
  font-size: 0.95rem;
}
.brand-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 8px;
}
.brand-row img {
  max-height: 42px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.brand-row img:hover {
  filter: grayscale(0%);
  opacity: 1;
}
.brand small {
  display: block;
  font-weight: 500;
  font-size: 0.7rem;
  color: #a8a8a8;
  letter-spacing: 0.06em;
}
.brand:hover { color: var(--color-white); }
.brand-name {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a {
  color: #d9d9d9;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 14px;
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}
.main-nav a:hover, .main-nav a.active { background: rgba(255,255,255,0.08); color: var(--color-white); }
.main-nav a.active { color: var(--color-amber-500); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: flex;
  flex-direction: column;
  color: var(--color-white);
  font-size: 0.85rem;
  text-align: right;
  line-height: 1.3;
}
.header-phone strong { font-size: 0.95rem; }
.header-phone a { color: var(--color-white); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  display: block;
}

/* ---------- Hero (Vollbild-Hintergrundbild mit Verlauf, Text darueber) ---------- */
.hero {
  position: relative;
  color: var(--color-white);
  background-size: cover;
  background-position: center;
  min-height: 78vh;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.78) 40%, rgba(10,10,10,0.42) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 620px; }
.hero p.lead { font-size: 1.2rem; color: #e2e2e2; }
.hero-actions { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.response-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 10px 16px;
  border: 1px solid rgba(218,61,49,0.4);
  background: rgba(218,61,49,0.08);
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #f0d9d7;
}
.response-badge svg { width: 18px; height: 18px; flex: none; color: var(--color-amber-500); }

.page-hero {
  position: relative;
  color: var(--color-white);
  background: linear-gradient(120deg, var(--color-navy-900), var(--color-navy-700));
  padding: 64px 0 56px;
}
.page-hero h1 { color: var(--color-white); margin-bottom: 10px; }
.page-hero p { color: #cfcfcf; font-size: 1.1rem; max-width: 680px; margin: 0; }
.breadcrumb { font-size: 0.85rem; color: #a8a8a8; margin-bottom: 14px; }
.breadcrumb a { color: #a8a8a8; }
.breadcrumb a:hover { color: var(--color-white); }

/* ---------- Cards / Grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.tile {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tile .tile-icon {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: var(--color-navy-900);
  color: var(--color-amber-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.tile h3 { margin-bottom: 10px; }
.tile p { margin-bottom: 14px; }
.tile a.tile-link { font-weight: 700; font-size: 0.92rem; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
  color: var(--color-white);
}
.check-mark {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-amber-500);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
}

/* About / split section */
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.split.reverse { grid-template-columns: 1.15fr 0.85fr; }
.split.reverse .split-media { order: 2; }

/* Service detail blocks (Leistungen page) */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--color-gray-200);
}
.service-block:last-child { border-bottom: none; }
.service-block:nth-child(even) .service-media { order: 2; }
.service-block img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-navy-900);
  color: var(--color-amber-500);
  font-weight: 800;
  margin-bottom: 16px;
}
blockquote.quote {
  margin: 18px 0 0;
  padding: 14px 20px;
  border-left: 4px solid var(--color-amber-500);
  background: var(--color-gray-100);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--color-gray-700);
}

/* Table (Haitian Precision specs) */
.spec-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.spec-table th, .spec-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--color-gray-200);
  font-size: 0.98rem;
}
.spec-table th { width: 38%; color: var(--color-navy-900); font-weight: 700; background: var(--color-gray-100); }
.spec-table td { color: var(--color-gray-700); }

.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.tag {
  background: var(--color-gray-100);
  border: 1px solid var(--color-gray-200);
  color: var(--color-navy-900);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: 20px;
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--color-navy-900), var(--color-blue-600));
  color: var(--color-white);
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--color-white); margin-bottom: 8px; }
.cta-band p { color: #cfcfcf; margin: 0; }

/* Kundenstimmen / Google-Bewertungen */
.review-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 12px;
  scrollbar-width: thin;
}
.review-card {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: min(560px, 100%);
  margin: 0 auto;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius);
  padding: 36px 40px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.review-stars { color: var(--color-amber-500); font-size: 1.3rem; letter-spacing: 3px; margin-bottom: 14px; }
.review-text { font-size: 1.02rem; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.contact-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.contact-card .tile-icon { margin: 0 auto 16px; }
.contact-card a { font-weight: 700; font-size: 1.05rem; }
.contact-card .contact-sub { font-size: 0.88rem; color: var(--color-gray-500); margin-top: 4px; }

/* Legal pages */
.legal-content h2 { margin-top: 36px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--color-gray-700); }
.legal-content ul { padding-left: 20px; }

/* Footer */
.site-footer {
  background: var(--color-navy-900);
  color: #bdbdbd;
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid h4 { color: var(--color-white); font-size: 0.95rem; margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: #bdbdbd; }
.footer-grid a:hover { color: var(--color-amber-500); }
.footer-brand { display: flex; align-items: center; gap: 12px; color: var(--color-white); font-weight: 800; font-size: 1.15rem; margin-bottom: 14px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: #bdbdbd; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .service-block { grid-template-columns: 1fr; padding: 40px 0; }
  .service-block:nth-child(even) .service-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: repeat(2, 1fr); }
  .brand-row { justify-content: center; }
}

@media (max-width: 780px) {
  .main-nav { position: fixed; top: 76px; left: 0; right: 0; bottom: 0; background: var(--color-navy-900); flex-direction: column; align-items: stretch; padding: 20px; gap: 4px; transform: translateX(100%); transition: transform 0.25s ease; overflow-y: auto; }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { padding: 14px 16px; font-size: 1.05rem; }
  .nav-toggle { display: flex; }
  .header-phone { display: none; }
  .hero { min-height: 88vh; }
  .site-header { backdrop-filter: none; }
  .cta-band { flex-direction: column; text-align: center; padding: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
