/* Steinschlag.ch — static rebuild
   Font, colors and layout patterns match the live site as of 2026-08-14. */

:root {
  --blue: #1e4ec4;
  --blue-dark: #16367e;
  --navy: #1b3a6b;
  --text: #172121;
  --text-light: #4a5568;
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --border: #e5e7eb;
  --radius: 8px;
  --max-width: 1200px;
  --header-h: 76px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  height: -webkit-fill-available;
}

body {
  margin: 0;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-display: swap;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  min-height: 100dvh;
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { padding-left: 1.2em; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  display: flex;
  align-items: center;
  backface-visibility: hidden;
  will-change: transform;
}
.header-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img { height: 40px; }
nav.main-nav { display: flex; align-items: center; gap: 28px; }
nav.main-nav a.nav-link { font-weight: 500; font-size: 15px; }
nav.main-nav a.nav-link:hover { color: var(--blue); }
.nav-icons { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 34px; height: 34px; border-radius: 6px;
  background: #111; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { background: transparent; border-color: #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-outline-dark { background: transparent; border-color: var(--text); color: var(--text); }

.menu-toggle { display: none; background: none; border: none; font-size: 26px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 560px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.hero-overlay {
  background: linear-gradient(100deg, rgba(20,45,140,.94) 45%, rgba(20,45,140,.55) 100%);
  color: #fff;
  padding: 48px 40px;
  max-width: 640px;
  width: 100%;
}
.hero-overlay h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 600; margin: 0 0 12px; }
.hero-overlay p { font-size: 17px; margin: 0 0 24px; opacity: .95; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.page-hero h1 { font-size: clamp(26px, 4vw, 36px); margin: 0 0 10px; }
.page-hero p { opacity: .9; margin: 0 0 20px; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
section.alt { background: var(--bg-alt); }
.section-eyebrow { color: var(--blue); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: 13px; margin-bottom: 8px; }
h2 { font-size: clamp(24px, 3vw, 32px); color: var(--navy); margin: 0 0 16px; font-weight: 600; }
h3 { font-size: 20px; color: var(--navy); margin: 0 0 10px; font-weight: 600; }
.stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 10px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.two-col img { border-radius: var(--radius); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: box-shadow .15s ease, transform .15s ease;
}
.card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.card a { font-weight: 600; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.services-grid a {
  display: block;
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 20px;
  font-weight: 600;
  border: 1px solid var(--border);
}
.services-grid a:hover { background: #eef1f8; }

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.testimonial {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.testimonial .stars { font-size: 14px; }
.testimonial .author { font-weight: 600; margin-top: 12px; }
.testimonial .when { color: var(--text-light); font-size: 13px; margin-bottom: 8px; }

/* ---------- FAQ / Accordion ---------- */
.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-item button.accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 4px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  touch-action: manipulation;
}
.accordion-item .accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.accordion-item.open .accordion-panel { max-height: 600px; }
.accordion-item .accordion-panel-inner { padding: 0 4px 18px; color: var(--text-light); }
.accordion-item .chevron { transition: transform .2s ease; }
.accordion-item.open .chevron { transform: rotate(180deg); }

/* ---------- Contact form ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
form.contact-form { display: flex; flex-direction: column; gap: 14px; }
form.contact-form label { font-size: 13px; font-weight: 600; margin-bottom: 4px; display: block; }
form.contact-form input, form.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
}
form.contact-form textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 12px; color: var(--text-light); margin-top: 8px; }
.form-status { margin-top: 12px; font-size: 14px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy);
  color: #dbe2f0;
  padding: 48px 0 28px;
  font-size: 14px;
}
footer.site-footer .footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}
footer.site-footer a:hover { color: #fff; }
footer.site-footer .footer-links a { margin-right: 16px; }
footer.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  color: #9fb0d1;
  font-size: 13px;
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ---------- Responsive ---------- */
@media (hover: hover) and (pointer: fine) {
  .card:hover, .services-grid a:hover { cursor: pointer; }
}

@media (max-width: 900px) {
  .two-col, .grid-2, .contact-wrap { grid-template-columns: 1fr; }
  .two-col.reverse .img-col { order: -1; }
}

@media (max-width: 780px) {
  nav.main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    transition: transform .2s ease;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  nav.main-nav.open { transform: translateY(0); }
  .menu-toggle { display: block; }
  .nav-icons .nav-link-desktop { display: none; }
  .hero-overlay { padding: 32px 24px; }
}
