/* ===========================================================
   Fahrzeugtechnik Huemer & Seiter — static site styles
   Brand: white line-art logo on dark charcoal + green accent
   No external fonts/CDNs (GDPR-friendly, fully self-hosted)
   =========================================================== */

:root {
  --green:       #1f7a4d;
  --green-dark:  #16603c;
  --charcoal:    #14181a;
  --charcoal-2:  #1c2226;
  --ink:         #1a1f22;
  --paper:       #ffffff;
  --paper-2:     #f5f7f6;
  --text:        #232a2d;
  --text-soft:   #5c6a6f;
  --line:        #e2e8e5;
  --radius:      14px;
  --wrap:        1120px;
  --shadow:      0 10px 30px rgba(0,0,0,.08);
  --shadow-lg:   0 20px 50px rgba(0,0,0,.16);
}

* { box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100%; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.8rem); font-weight: 800; text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.18rem; font-weight: 700; }

.eyebrow, .section-eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-size: .78rem;
  font-weight: 700; color: var(--green); margin: 0 0 .8em;
}
.section-eyebrow.center, .lead.center, h2.center { text-align: center; }
.lead { font-size: 1.1rem; color: var(--text-soft); max-width: 640px; }
.lead.center { margin-left: auto; margin-right: auto; }
.muted { color: var(--text-soft); font-size: .95rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: .85em 1.6em; border-radius: 999px;
  font-weight: 700; font-size: .98rem; cursor: pointer; border: 2px solid transparent;
  transition: transform .12s ease, background .2s ease, color .2s ease; text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-accent { background: var(--green); color: #fff; }
.btn-accent:hover { background: var(--green-dark); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20,24,26,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 40px; width: auto; }
.brand-name { color: #fff; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; font-size: 1.02rem; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: #e7edea; font-weight: 600; font-size: .98rem; }
.nav a:hover { color: #fff; text-decoration: none; }
.nav .nav-cta { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; position: relative; z-index: 60; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff; min-height: 82vh; display: flex; align-items: center;
  background: url("assets/hero.jpg") center/cover no-repeat; background-color: #0c0f10;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,15,16,.9) 0%, rgba(12,15,16,.62) 45%, rgba(12,15,16,.25) 100%);
}
.hero-content { position: relative; padding: 90px 22px; max-width: 760px; }
.hero-content h1 { margin-bottom: .25em; text-shadow: 0 2px 24px rgba(0,0,0,.4); }
.hero-sub { font-size: 1.15rem; font-weight: 600; letter-spacing: .04em; color: #cfe6da; margin: 0 0 1.1em; text-transform: uppercase; }
.hero-tag { font-size: clamp(1.2rem,2.4vw,1.7rem); font-weight: 300; margin: 0 0 1.8em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-dark { background: var(--charcoal); color: #eef2f0; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead { color: #b4c2bc; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.owners { font-weight: 700; color: var(--green); margin-top: 1.2em; font-size: 1.05rem; }

/* ---------- service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.card {
  background: var(--charcoal-2); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius); padding: 30px 26px; transition: transform .15s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--green); }
.card-ic { font-size: 2rem; margin-bottom: 12px; }
.card h3 { color: #fff; }
.card p { color: #aebbb5; margin: 0; font-size: .97rem; }

/* ---------- contact (phone-first, no form) ---------- */
.contact-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 36px 0 12px; }
.btn.big { padding: 1.05em 2.2em; font-size: 1.08rem; }

.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.c-card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; text-align: center;
}
.c-card h3 { color: var(--green); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .8em; }
.c-card p { margin: 0; font-size: 1.02rem; }
.c-card a { font-weight: 600; }
.route-link { display: inline-block; margin-top: 12px; font-weight: 700; }
.small { font-size: .85rem; }

.hours { width: 100%; border-collapse: collapse; margin: 0 auto; }
.hours td { padding: 5px 0; border-bottom: 1px solid var(--line); font-size: .92rem; vertical-align: top; text-align: left; }
.hours td:last-child { text-align: right; font-weight: 600; }
.c-card .hours + .small { margin-top: 10px; }

.route-btn-sm { margin-top: 14px; padding: .6em 1.2em; font-size: .92rem; }

.map-section { background: var(--paper-2); padding: clamp(40px, 6vw, 64px) 0; border-top: 1px solid var(--line); }
.map-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 26px; flex-wrap: wrap; }
.map-head h2 { margin-bottom: .2em; }
.map-head .section-eyebrow { margin-bottom: .4em; }
.route-cta { flex-shrink: 0; }

.map-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }

/* ---------- footer ---------- */
.site-footer { background: var(--charcoal); color: #cdd6d1; padding: 54px 0 26px; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.footer-logo { height: 46px; margin-bottom: 12px; }
.footer-name { font-weight: 700; color: #fff; margin: 0 0 4px; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { color: #cdd6d1; font-weight: 600; }
.footer-nav a:hover { color: #fff; }
.copyright { text-align: center; color: #7d8a84; font-size: .85rem; margin: 40px 0 0; }

/* ---------- legal pages ---------- */
.legal { max-width: 800px; margin: 0 auto; padding: 110px 22px 80px; }
.legal h1 { text-transform: none; font-size: clamp(1.8rem,4vw,2.6rem); color: var(--ink); }
.legal h2 { font-size: 1.25rem; margin-top: 1.8em; }
.legal a.back { display: inline-block; margin-bottom: 30px; font-weight: 700; }
.legal .todo { background: #fff8e1; border: 1px solid #f2d98a; padding: 2px 6px; border-radius: 4px; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .grid-2 { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .about-photo { order: -1; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--charcoal); padding: 8px 0; transform: translateY(-130%);
    transition: transform .28s ease; box-shadow: var(--shadow-lg);
  }
  .nav.open { transform: translateY(0); }
  .nav a { width: 100%; padding: 14px 24px; border-top: 1px solid rgba(255,255,255,.06); }
  .nav .nav-cta { margin: 10px 24px; text-align: center; border-radius: 999px; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: 74vh; }
  .eyebrow, .hero-sub { letter-spacing: .08em; font-size: .7rem; word-spacing: -.05em; }
  .hero-content { padding: 70px 22px; }
  .brand-name { font-size: .92rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-actions { flex-direction: column; }
  .contact-actions .btn.big { width: 100%; text-align: center; }
  .map-head { flex-direction: column; align-items: stretch; }
  .route-cta { width: 100%; text-align: center; }
}
