/* ================================================
   Mustermann Handwerk — style.css v3
   Font: DM Sans + DM Serif Display
   Palette: White · Navy · Blue #1a6bbf · Grey
   ================================================ */

:root {
  --blue:      #1a6bbf;
  --blue-dk:   #1457a0;
  --blue-lt:   #e8f1fb;
  --dark:      #0d1520;
  --dark-2:    #111e2e;
  --mid:       #555;
  --muted:     #888;
  --border:    #e4e4e4;
  --bg:        #fff;
  --bg-grey:   #f7f7f5;
  --green:     #25D366;
  --r:         10px;
  --r-lg:      18px;
  --nav-h:     72px;
  --f-sans:    'DM Sans', system-ui, sans-serif;
  --f-serif:   'DM Serif Display', Georgia, serif;
  --ease:      cubic-bezier(.4,0,.2,1);
  --t:         0.25s;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { font-family: var(--f-sans); color: var(--dark); background: var(--bg); overflow-x: hidden; line-height: 1.65; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
input, textarea, select, button { font: inherit; border: none; outline: none; background: none; }
address { font-style: normal; }

.container { width: min(1160px, 100%); margin-inline: auto; padding-inline: clamp(20px,5vw,56px); }

/* LABELS + HEADINGS */
.label {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px;
}
.section-head { text-align: center; max-width: 600px; margin-inline: auto; margin-bottom: clamp(40px,5vw,64px); }
.section-head h2 { margin-top: 8px; margin-bottom: 14px; }
.section-head p { color: var(--mid); font-size: 17px; }

h2 {
  font-family: var(--f-serif);
  font-size: clamp(30px,4.5vw,50px);
  line-height: 1.15; color: var(--dark);
}
h2 em { font-style: italic; color: var(--blue); }
h3 { font-family: var(--f-serif); font-size: clamp(20px,2.5vw,26px); margin-bottom: 10px; }

/* BUTTONS */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: #fff;
  font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: var(--r);
  cursor: pointer; border: 2px solid var(--blue);
  transition: background var(--t) var(--ease), transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--blue-dk); border-color: var(--blue-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,107,191,.35);
}
.btn-primary:active { transform: translateY(0); }
.btn-full { width: 100%; justify-content: center; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #fff;
  font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: var(--r);
  cursor: pointer; border: 2px solid rgba(255,255,255,.55);
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t);
  white-space: nowrap;
}
.btn-outline:hover { background: rgba(255,255,255,.14); border-color: #fff; transform: translateY(-2px); }

/* SECTIONS */
.section { padding-block: clamp(60px,9vw,110px); }
.section-grey { background: var(--bg-grey); }

/* ── NAVIGATION ── */
.nav-wrap {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; height: var(--nav-h);
  transition: background var(--t), box-shadow var(--t);
}
.nav-wrap.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1160px; margin-inline: auto;
  padding-inline: clamp(20px,5vw,56px);
}

/* Logo */
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo-icon {
  width: 38px; height: 38px;
  background: var(--blue); color: #fff;
  font-weight: 700; font-size: 20px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.nav-logo span { font-size: 14px; line-height: 1.2; color: var(--dark); }
.nav-wrap:not(.scrolled) .nav-logo span { color: #fff; }
.nav-logo span strong { display: block; font-size: 16px; color: var(--blue); }
.nav-wrap:not(.scrolled) .nav-logo span strong { color: #93bcec; }

/* Nav links */
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links li a {
  font-size: 14.5px; font-weight: 500;
  color: rgba(255,255,255,.85);
  padding: 8px 12px; border-radius: 8px;
  transition: color var(--t), background var(--t); display: block;
}
.nav-links li a:hover { color: #fff; background: rgba(255,255,255,.12); }
.nav-wrap.scrolled .nav-links li a { color: var(--mid); }
.nav-wrap.scrolled .nav-links li a:hover { color: var(--dark); background: var(--bg-grey); }
.nav-links li a.active { color: var(--blue) !important; font-weight: 600; }

/* Phone CTA in nav */
.nav-phone {
  display: flex !important; align-items: center; gap: 6px;
  background: var(--blue) !important; color: #fff !important;
  padding: 9px 16px !important; border-radius: 8px !important;
  font-weight: 600 !important; font-size: 14px !important;
  margin-left: 6px;
  transition: background var(--t) !important;
}
.nav-phone:hover { background: var(--blue-dk) !important; }

/* Burger */
.burger {
  display: none; flex-direction: column; gap: 5px;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  cursor: pointer; border-radius: 8px; transition: background var(--t); flex-shrink: 0;
}
.burger:hover { background: rgba(255,255,255,.1); }
.nav-wrap.scrolled .burger:hover { background: var(--bg-grey); }
.burger span {
  display: block; width: 22px; height: 2px;
  border-radius: 2px; background: #fff;
  transition: all var(--t); transform-origin: center;
}
.nav-wrap.scrolled .burger span { background: var(--dark); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero {
  position: relative; min-height: 100svh; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: #07111f;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; opacity: .45;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(7,17,35,.9) 0%, rgba(10,25,55,.65) 50%, rgba(7,17,35,.8) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  padding-top: var(--nav-h); padding-block: 80px;
  width: 100%; max-width: 780px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero-tag {
  font-size: 12.5px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: #93bcec;
  margin-bottom: 22px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  animation: fadeUp .8s both;
}
.hero-tag::before, .hero-tag::after {
  content: ''; display: inline-block;
  width: 28px; height: 1.5px;
  background: #93bcec; border-radius: 2px;
}
.hero-h1 {
  font-family: var(--f-serif);
  font-size: clamp(50px,8vw,100px);
  line-height: 1.0; color: #fff;
  margin-bottom: 22px;
  animation: fadeUp .8s .1s both;
}
.hero-h1 em { font-style: italic; color: #5ba3f5; display: block; }
.hero-sub {
  font-size: clamp(16px,1.8vw,19px);
  color: rgba(255,255,255,.78);
  max-width: 520px; line-height: 1.7;
  margin-bottom: 36px;
  animation: fadeUp .8s .2s both;
}
.hero-btns {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  animation: fadeUp .8s .3s both;
}
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  animation: fadeIn 1s .8s both;
}
.hero-scroll-line {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, rgba(147,188,236,.6), transparent);
  animation: scrollAnim 2s 1.2s infinite;
}
@keyframes scrollAnim {
  0%   { transform: scaleY(0); transform-origin: top; }
  49%  { transform: scaleY(1); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── STATS BAR ── */
.stats-bar { background: var(--dark); color: #fff; padding-block: 28px; }
.stats-inner {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 8px 0;
}
.stat { display: flex; flex-direction: column; align-items: center; padding-inline: clamp(20px,4vw,52px); }
.stat-n { font-family: var(--f-serif); font-size: clamp(28px,3.5vw,38px); color: #5ba3f5; line-height: 1; }
.stat-l { font-size: 12px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.stat-div { width: 1px; height: 40px; background: rgba(255,255,255,.12); }

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%,300px),1fr));
  gap: 24px;
}
.service-card {
  border-radius: var(--r-lg); overflow: hidden;
  background: #fff; border: 1px solid var(--border);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(26,107,191,.12);
  border-color: var(--blue);
}
.service-img { height: 210px; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.service-card:hover .service-img img { transform: scale(1.05); }
.service-body { padding: 24px; }
.service-num {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: .12em; color: var(--blue); text-transform: uppercase;
  margin-bottom: 8px; background: var(--blue-lt);
  padding: 3px 10px; border-radius: 999px;
}
.service-body p { font-size: 14.5px; color: var(--mid); line-height: 1.65; margin-bottom: 16px; }
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--blue);
  transition: gap var(--t);
}
.service-link:hover { gap: 10px; }

/* ── ABOUT ── */
.about-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px,6vw,80px); align-items: center;
}
.about-imgs { position: relative; }
.about-img-main { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-lg); }
.about-img-small {
  width: 44%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--r);
  position: absolute; bottom: -24px; right: -24px;
  border: 4px solid var(--bg-grey);
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
}
.about-badge {
  position: absolute; top: 20px; left: -20px;
  width: 96px; height: 96px;
  background: var(--blue); border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(26,107,191,.45);
}
.about-badge-n { font-family: var(--f-serif); font-size: 32px; color: #fff; line-height: 1; }
.about-badge-t {
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .05em; color: rgba(255,255,255,.85);
  text-align: center; line-height: 1.3;
}
.about-content h2 { margin-top: 8px; margin-bottom: 18px; }
.about-content p { color: var(--mid); margin-bottom: 14px; font-size: 16px; line-height: 1.72; }
.check-list { display: flex; flex-direction: column; gap: 10px; margin: 24px 0 32px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
.check-list li svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }

/* ── QUOTE BANNER ── */
.quote-banner {
  position: relative; height: clamp(260px,35vw,420px);
  display: flex; align-items: center; overflow: hidden;
}
.quote-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quote-overlay { position: absolute; inset: 0; background: rgba(7,17,45,.68); }
.quote-content { position: relative; z-index: 1; text-align: center; }
.quote-text {
  font-family: var(--f-serif);
  font-size: clamp(22px,3.5vw,40px);
  font-style: italic; color: #fff; line-height: 1.4; margin-bottom: 14px;
}
.quote-attr { font-size: 14px; color: rgba(255,255,255,.55); font-weight: 500; letter-spacing: .06em; }

/* ── CONTACT ── */
.contact-inner {
  display: grid; grid-template-columns: 1fr 1.45fr;
  gap: clamp(32px,5vw,64px); align-items: start;
}
.contact-card {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 0; border-bottom: 1px solid var(--border);
}
.contact-card:first-child { border-top: 1px solid var(--border); }
.cc-icon {
  width: 40px; height: 40px;
  background: var(--blue-lt); color: var(--blue);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cc-icon svg { width: 18px; height: 18px; }
.cc-icon--green { background: #e8f7ee; color: var(--green); }
.contact-card strong { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dark); margin-bottom: 4px; }
.contact-card p, .contact-card a { font-size: 15px; color: var(--mid); }
.contact-card a:hover { color: var(--blue); }
.wa-btn {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 6px;
  background: var(--green); color: #fff !important;
  font-size: 13px; font-weight: 600; padding: 7px 14px;
  border-radius: 6px; transition: opacity var(--t);
}
.wa-btn:hover { opacity: .88; }
.hours-box { margin-top: 22px; background: var(--bg-grey); padding: 20px; border-radius: var(--r); }
.hours-box strong { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dark); margin-bottom: 12px; }
.hours-box table { width: 100%; border-collapse: collapse; }
.hours-box td { padding: 5px 0; font-size: 14px; color: var(--mid); }
.hours-box td:first-child { width: 90px; font-weight: 600; color: var(--dark); }
.hours-box tr.emerg td { color: var(--blue); font-weight: 600; }

/* Contact form */
.contact-form {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: clamp(24px,4vw,40px);
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  display: flex; flex-direction: column; gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fgroup { display: flex; flex-direction: column; gap: 6px; }
.full { grid-column: 1/-1; }
.fgroup label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dark); }
.fgroup input, .fgroup select, .fgroup textarea {
  padding: 11px 14px; border: 1.5px solid var(--border);
  border-radius: var(--r); font-size: 15px; color: var(--dark);
  background: var(--bg); transition: border-color var(--t), box-shadow var(--t);
}
.fgroup input:focus, .fgroup select:focus, .fgroup textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,107,191,.14);
}
.fgroup input::placeholder, .fgroup textarea::placeholder { color: #bbb; }
.fgroup select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 38px; cursor: pointer;
}
.fgroup textarea { resize: vertical; min-height: 120px; }
.checkbox-label {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: var(--mid); line-height: 1.55; cursor: pointer;
}
.checkbox-label input { position: absolute; opacity: 0; width: 0; height: 0; }
.checkbox-box {
  flex-shrink: 0; width: 18px; height: 18px;
  border: 1.5px solid var(--border); border-radius: 4px;
  margin-top: 1px; transition: background var(--t), border-color var(--t); position: relative;
}
.checkbox-label input:checked ~ .checkbox-box { background: var(--blue); border-color: var(--blue); }
.checkbox-label input:checked ~ .checkbox-box::after {
  content: ''; position: absolute;
  left: 3px; top: 0px; width: 7px; height: 11px;
  border: 2px solid #fff; border-left: none; border-top: none; transform: rotate(40deg);
}
.checkbox-label a { color: var(--blue); font-weight: 600; }
.form-hint { font-size: 12px; color: var(--muted); text-align: center; }

/* ── FOOTER ── */
.footer { background: var(--dark-2); color: rgba(255,255,255,.65); }
.footer-inner {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(24px,4vw,56px);
  padding-top: 60px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo span { font-size: 14px; color: #fff; line-height: 1.2; }
.footer-logo span strong { display: block; color: #5ba3f5; font-size: 15px; }
.footer-brand p { font-size: 14px; line-height: 1.6; max-width: 220px; }
.socials { display: flex; gap: 8px; }
.socials a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.06); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55);
  transition: background var(--t), color var(--t), transform var(--t);
}
.socials a svg { width: 17px; height: 17px; }
.socials a:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 14px; transition: color var(--t); }
.footer-col a:hover { color: #5ba3f5; }
.footer-col address { font-size: 14px; line-height: 1.72; }
.footer-col address a:hover { color: #5ba3f5; }
.footer-bottom { padding-block: 18px; }
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px; font-size: 13px;
}
.footer-bottom a:hover { color: #5ba3f5; }

/* WhatsApp FAB */
.wa-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  width: 52px; height: 52px;
  background: var(--green); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform var(--t), box-shadow var(--t);
}
.wa-fab svg { width: 26px; height: 26px; }
.wa-fab:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,.55); }

/* ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-imgs { max-width: 520px; margin-inline: auto; margin-bottom: 16px; }
  .about-img-small { width: 38%; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .burger { display: flex; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    flex-direction: column; align-items: stretch;
    padding: 16px 20px 24px; gap: 2px;
    border-top: 1px solid var(--border);
    box-shadow: 0 12px 32px rgba(0,0,0,.12);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .22s, transform .22s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-links li a { color: var(--dark) !important; font-size: 17px; padding: 12px 14px; }
  .nav-cta-item .nav-phone { margin: 6px 0 0; justify-content: center; font-size: 16px !important; padding: 12px !important; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns a { width: 100%; max-width: 320px; justify-content: center; }
  .stats-inner { gap: 20px 0; }
  .stat-div { display: none; }
  .stat { padding-inline: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 20px; }
  .about-img-small { display: none; }
  .about-badge { left: 10px; top: 10px; width: 80px; height: 80px; }
  .about-badge-n { font-size: 26px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 380px) {
  .hero-h1 { font-size: 42px; }
}
