/* ==========================================================================
   Mobiler Metallbauservice – statische Website
   Masterlayout: FireShot Capture 169–174 (Desktop 1920 px, Box 1156 px)
   Fließtext: Desktop 14 px · Mobil 16 px
   ========================================================================== */

:root {
  --red: #e30615;
  --red-bar: #de1c27;
  --grey-band: #afafaf;
  --grey-bar: #cccccc;
  --grey-light: #f8f8f8;
  --grey-form: #ececec;
  --page-bg: #f8f8f8;
  --text: #000;
  --muted: #777;
  --box: 1156px;
  --content: 1068px;
  --gutter: 44px;
  --font: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
  --fs-body: 14px;
  --lh-body: 23px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 0 0 12px; }
h1, h2, h3, h4 { font-weight: 400; color: var(--red); margin: 0; }
.red { color: var(--red); }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Box-Layout ------------------------------------------------------------- */
.wrap { max-width: var(--box); margin: 0 auto; background: #fff; }
.container { max-width: calc(var(--content) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* Header ----------------------------------------------------------------- */
.site-header { position: relative; height: 133px; background: #fff; }
.site-header .logo { position: absolute; left: 58px; top: 32px; width: 360px; }
.site-header .logo img { width: 360px; height: auto; }
.main-nav { position: absolute; right: 44px; top: 0; height: 133px; display: flex; align-items: stretch; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
.main-nav li { display: flex; }
.main-nav a {
  display: flex; align-items: center; padding: 0 11.5px; height: 133px;
  color: #000; font-size: 14px; letter-spacing: 0; position: relative; padding-top: 0;
}
.main-nav a:hover { color: var(--red); text-decoration: none; }
.main-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red);
}
.search-toggle {
  border: 0; background: none; cursor: pointer; padding: 0 0 0 12px; height: 133px; display: flex; align-items: center; color: #000;
}
.search-toggle svg { width: 10px; height: 13px; }
.burger { display: none; }

.header-bar {
  height: 27px;
  background: linear-gradient(90deg, #ccc 0%, #ccc 10.5%, #d396a0 18%, #d75a66 27%, #dc2f40 37%, var(--red-bar) 48%, #dc2d3d 58%, #d7535f 69%, #d28e95 79%, #cdbfc1 87%, #ccc 90%, #ccc 100%);
}

/* Suche ------------------------------------------------------------------ */
.search-panel {
  display: none; position: absolute; right: 44px; top: 98px; width: 320px; background: #fff;
  border: 1px solid #e1e1e1; box-shadow: 0 4px 14px rgba(0,0,0,.12); z-index: 50; padding: 10px;
}
.search-panel.open { display: block; }
.search-panel input {
  width: 100%; font: inherit; font-size: 14px; padding: 9px 10px; border: 1px solid #e1e1e1; background: #fcfcfc; color: #000;
}
.search-panel ul { list-style: none; margin: 8px 0 0; padding: 0; max-height: 320px; overflow: auto; }
.search-panel li a { display: block; padding: 7px 4px; border-top: 1px solid #f0f0f0; color: #000; font-size: 13px; line-height: 18px; }
.search-panel li a strong { color: var(--red); font-weight: 400; display: block; }
.search-panel li a:hover { background: #f8f8f8; text-decoration: none; }
.search-panel .empty { color: var(--muted); font-size: 13px; padding: 6px 4px 0; }

/* Hero ------------------------------------------------------------------- */
.hero img { width: 100%; height: 202px; object-fit: cover; }
.hero--inset { padding: 0 var(--gutter); }
.hero--inset img { height: auto; aspect-ratio: 1068 / 187; border-radius: 3px; }

/* Überschriften ---------------------------------------------------------- */
.h1 { font-size: 36px; line-height: 44px; letter-spacing: .6px; }
.h2 { font-size: 24px; line-height: 30px; letter-spacing: 1px; }
.h3 { font-size: 22px; line-height: 28px; letter-spacing: .3px; }
.center { text-align: center; }

/* Dotted divider --------------------------------------------------------- */
.dots {
  height: 3px; margin: 0 2px;
  background-image: radial-gradient(circle, #cfcfcf 1.05px, transparent 1.4px);
  background-size: 5px 3px; background-repeat: repeat-x;
}

/* Graues Band ------------------------------------------------------------ */
.band { background: var(--grey-band); color: #fff; text-align: center; font-weight: 700; font-size: 30px; line-height: 51px; letter-spacing: .2px; }
.band p { margin: 0; }
.band a { color: #fff; }
.band a:hover { text-decoration: none; opacity: .92; }
.band .arrows { color: var(--red); font-size: 19px; letter-spacing: 1px; margin-left: 4px; vertical-align: 3px; }

/* Startseite ------------------------------------------------------------- */
.intro { display: grid; grid-template-columns: 801px 1fr; padding-top: 42px; height: 398px; }
.intro .h1 { margin-bottom: 21px; }
.intro .lead { margin: 0; }
.intro .h2 { margin-top: 57px; margin-bottom: 10px; }
.intro .sticker { display: flex; align-items: flex-start; justify-content: center; padding-top: 11px; padding-left: 0; }
.intro .sticker img { width: 241px; transform: translateX(-3px); }

.help-band { height: 120px; display: flex; align-items: center; justify-content: center; }

.services { display: grid; grid-template-columns: 330px 1fr 330px; padding-top: 44px; height: 413px; }
.services h3 { font-size: 22px; line-height: 28px; margin: 0 0 6px; }
.services ul { list-style: none; margin: 0 0 36px; padding: 0; }
.services li { line-height: 23.4px; }
.services li a { color: var(--red); }
.wheel { position: relative; width: 297px; margin: 9px 0 0 50px; }
.wheel img { width: 297px; }
.wheel a.hs {
  position: absolute; width: 22%; height: 22%; border-radius: 50%; transform: translate(-50%, -50%);
}
.wheel a.hs:hover, .wheel a.hs:focus-visible { background: rgba(255,255,255,.18); outline: none; }
.wheel .tip {
  position: absolute; left: 50%; top: -6px; transform: translate(-50%, -100%); white-space: nowrap;
  background: #fff; border: 1px solid #e1e1e1; color: var(--red); font-size: 13px; line-height: 18px; padding: 6px 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,.12); pointer-events: none; display: none;
}
.wheel a.hs:hover .tip, .wheel a.hs:focus-visible .tip { display: block; }
.van { display: flex; align-items: flex-start; justify-content: flex-end; padding-top: 9px; }
.van img { width: 299px; margin-right: 6px; }

.values { padding-top: 70px; }
.values .h2 { margin-bottom: 32px; }
.values .list { font-size: 22px; line-height: 28px; text-align: center; margin: 0 0 34px; }
.values .list .sep { color: var(--red); padding: 0 1px; }

.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 4px; margin: 0 2px; }
.review { background: var(--grey-light); padding: 37px 36px 36px; }
.review .meta { color: var(--muted); display: flex; align-items: center; gap: 5px; margin-bottom: 13px; }
.stars { display: inline-flex; gap: 1px; }
.stars svg { width: 14.2px; height: 14px; fill: #ed8919; }
.review blockquote { margin: 0 0 10px; }
.review blockquote p { margin: 0; }
.review .author { display: flex; align-items: center; gap: 16px; font-weight: 700; color: #222; letter-spacing: .4px; }
.review .author img { width: 37px; height: 37px; }

.reviews-wrap { padding-bottom: 38px; }

/* Kontakt-Boxen ---------------------------------------------------------- */
.info-boxes { display: grid; grid-template-columns: repeat(3, 314px); justify-content: space-between; padding-top: 71px; padding-bottom: 46px; }
.info-box { background: var(--grey-light); text-align: center; padding: 10px 20px 22px; min-height: 343px; }
.info-box .ico { height: 68px; display: flex; justify-content: center; align-items: center; margin-bottom: 33px; }
.info-box .ico svg { height: 66px; width: auto; fill: var(--red); }
.info-box h2 { font-size: 24px; line-height: 30px; letter-spacing: .2px; margin: 0 0 22px; }
.info-box hr { border: 0; height: 2px; background: var(--red); width: 207px; margin: 0 auto 10px; }
.info-box h3 { font-size: 14px; line-height: 23px; font-weight: 700; color: var(--red); margin: 0; }
.info-box p { margin: 0 0 12px; }
.info-box a { color: #000; }
.info-box a:hover { color: var(--red); }

/* Karte (2-Klick-Lösung) ------------------------------------------------- */
.map { position: relative; height: 397px; background: #e9e7e2; overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 24px; color: #333;
  background:
    linear-gradient(rgba(236,234,229,.86), rgba(236,234,229,.86)),
    repeating-linear-gradient(28deg, transparent 0 46px, #fff 46px 52px),
    repeating-linear-gradient(-62deg, transparent 0 70px, #fff 70px 75px),
    radial-gradient(circle at 78% 70%, #cfe9d7 0 160px, transparent 161px),
    #e9e7e2;
}
.map-consent svg { width: 34px; height: 48px; fill: var(--red); margin-bottom: 10px; }
.map-consent strong { display: block; font-size: 16px; margin-bottom: 4px; }
.map-consent p { max-width: 520px; font-size: 13px; line-height: 20px; margin: 0 0 14px; }
.btn {
  display: inline-block; background: var(--red); color: #fff; border: 0; cursor: pointer; font: inherit; font-size: 14px;
  padding: 11px 22px; border-radius: 2px;
}
.btn:hover { background: #c90512; text-decoration: none; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--red); color: #fff; height: 32px; display: flex; align-items: center; justify-content: space-between; padding: 0 48px 0 48px; font-size: 10px; line-height: 14px; }
.site-footer a { color: #fff; margin-left: 18px; }
.site-footer nav { transform: translateY(-1px); }
.page-end { height: 0; }

/* Über uns --------------------------------------------------------------- */
.team { padding-top: 43px; }
.team .h1 { margin-bottom: 20px; }
.team-body p { text-align: center; margin-bottom: 0; }
.team-body { padding-bottom: 66px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 65px; padding: 72px 0 66px; }
.two-col .h2 { margin-bottom: 12px; }
.two-col p { margin: 0; }
.teamwork { padding-top: 27px; }
.teamwork img { width: 100%; border-radius: 3px; }
.cta-inner { margin-top: 27px; }
.cta-inner .band { height: 154px; display: flex; align-items: center; justify-content: center; }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip img { width: 100%; height: 202px; object-fit: cover; }
.ueber-end { height: 44px; }

/* Leistungen ------------------------------------------------------------- */
.leistungen-head { padding-top: 43px; }
.leistungen-head .h1 { margin-bottom: 47px; }
.group-title { font-size: 24px; line-height: 30px; letter-spacing: 1px; margin: 0 0 42px; }
.service { display: grid; grid-template-columns: 226px 1fr; padding-bottom: 61px; scroll-margin-top: 20px; }
.service .icon {
  width: 163px; height: 163px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center;
}
.service .icon img { width: 66%; height: 66%; object-fit: contain; }
.service .icon img[src*=gelaender], .service .icon img[src*=tuer] { width: 56%; height: 56%; }
.service h3 { font-size: 22px; line-height: 28px; margin: 4px 0 16px; }
.service p { margin: 0 0 20px; }
.gallery { display: flex; gap: 13px; padding-left: 6px; flex-wrap: wrap; }
.gallery a { display: block; width: 268px; height: 178px; overflow: hidden; }
.gallery img { width: 268px; height: 178px; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.04); }
.service + .dots { margin-bottom: 72px; }
.service.last { padding-bottom: 9px; }
.privat .service.last { padding-bottom: 9px; }
.leistungen .band { height: 172px; display: flex; align-items: center; justify-content: center; }
.leistungen .band.first { margin-top: 0; }
.privat { padding-top: 66px; }
.privat .group-title { margin-bottom: 18px; }

/* Lightbox --------------------------------------------------------------- */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.86); display: none; align-items: center; justify-content: center; z-index: 200; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; width: auto; box-shadow: 0 6px 30px rgba(0,0,0,.5); }
.lightbox button { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 38px; line-height: 1; cursor: pointer; }

/* Kontakt ---------------------------------------------------------------- */
.contact-hero { background: var(--red); height: 219px; display: flex; align-items: center; justify-content: center; position: relative; }
.contact-hero h1 { color: #fff; font-size: 36px; letter-spacing: 1px; line-height: 44px; transform: translateY(-4px); }
.contact-hero::after {
  content: ""; position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%);
  border-left: 18px solid transparent; border-right: 18px solid transparent; border-top: 18px solid var(--red); z-index: 2;
}
.contact-split { display: grid; grid-template-columns: 463px 1fr; min-height: 614px; }
.contact-form { background: var(--grey-form); padding: 25px 27px 40px; }
.contact-form h2 { font-size: 24px; line-height: 30px; margin: 0 0 13px; }
.contact-form input[type=text], .contact-form input[type=email], .contact-form input[type=tel], .contact-form textarea {
  width: 100%; display: block; font: inherit; font-size: 14px; color: #000; background: #fcfcfc; border: 1px solid #e6e6e6;
  padding: 0 12px; height: 41px; margin-bottom: 14px; border-radius: 0;
}
.contact-form textarea { height: 172px; padding-top: 10px; resize: vertical; margin-bottom: 21px; }
.contact-form ::placeholder { color: #9a9a9a; opacity: 1; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid rgba(227,6,21,.35); outline-offset: 0; border-color: #d0d0d0; }
.consent { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; font-weight: 700; line-height: 18px; margin-bottom: 22px; }
.consent input { margin: 2px 0 0 2px; }
.consent .req { color: var(--red); }
.contact-form .btn { width: 125px; height: 44px; padding: 0; font-size: 13px; }
.hp { position: absolute; left: -9999px; }
.form-msg { margin-top: 14px; font-size: 13px; line-height: 19px; }
.form-msg.ok { color: #1d7a2c; }
.form-msg.err { color: var(--red); }
.contact-photo { position: relative; overflow: hidden; }
.contact-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-band { height: 171px; display: flex; align-items: center; justify-content: center; }
.kontakt .info-boxes { padding-top: 45px; }

/* Impressum / Datenschutz ------------------------------------------------ */
.legal { padding-top: 43px; padding-bottom: 34px; }
.legal .h1 { margin-bottom: 4px; line-height: 44px; }
.legal h2 { font-size: 24px; line-height: 30px; letter-spacing: 1px; margin: 0 0 13px; }
.legal h2 + p { margin-top: 0; }
.legal .gap { height: 28px; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 22px; padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal .ds-h { font-size: 14px; line-height: 23px; font-weight: 700; color: var(--red); margin: 14px 0 20px; padding-left: 12px; }
.legal .ds-h .ds-n { color: #000; font-weight: 400; margin-right: 2px; }
.legal .ds-sub strong { color: var(--red); }
.legal .ds-h:first-of-type { margin-top: 0; }

/* ========================================================================
   Responsive
   ======================================================================== */
@media (max-width: 1180px) {
  .container { padding-left: 32px; padding-right: 32px; }
  .intro { grid-template-columns: 3fr 1fr; height: auto; padding-bottom: 60px; }
  .services { grid-template-columns: 1fr 1fr 1fr; height: auto; padding-bottom: 50px; gap: 20px; }
  .wheel { margin: 9px auto 0; width: min(297px, 100%); }
  .wheel img { width: 100%; }
  .van img { width: min(299px, 100%); margin: 0; }
  .info-boxes { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .gallery a, .gallery img { width: 220px; height: 146px; }
}

@media (max-width: 989px) {
  :root { --fs-body: 16px; --lh-body: 26px; }
  .site-header { height: 90px; }
  .site-header .logo { left: 20px; top: 18px; width: 260px; }
  .site-header .logo img { width: 260px; }
  .main-nav { right: 16px; height: 90px; }
  .main-nav ul.menu {
    display: none; position: absolute; top: 90px; right: -16px; width: 100vw; max-width: 100vw; flex-direction: column;
    background: #fff; border-top: 1px solid #eee; box-shadow: 0 8px 20px rgba(0,0,0,.12); z-index: 60;
  }
  .main-nav.open ul.menu { display: flex; }
  .main-nav ul.menu a { height: auto; padding: 14px 24px; font-size: 16px; border-bottom: 1px solid #f0f0f0; }
  .main-nav ul.menu a[aria-current="page"] { color: var(--red); }
  .main-nav ul.menu a[aria-current="page"]::after { display: none; }
  .search-toggle { height: 90px; padding: 0 10px; }
  .search-toggle svg { width: 16px; height: 20px; }
  .burger { display: flex; align-items: center; gap: 8px; border: 0; background: none; cursor: pointer; height: 90px; padding: 0 4px 0 10px; font: inherit; font-size: 14px; color: #000; }
  .burger span.lines { width: 24px; height: 16px; position: relative; display: block; }
  .burger span.lines i { position: absolute; left: 0; right: 0; height: 2px; background: #000; transition: .2s; }
  .burger span.lines i:nth-child(1) { top: 0; } .burger span.lines i:nth-child(2) { top: 7px; } .burger span.lines i:nth-child(3) { top: 14px; }
  .main-nav.open .burger i:nth-child(1) { top: 7px; transform: rotate(45deg); }
  .main-nav.open .burger i:nth-child(2) { opacity: 0; }
  .main-nav.open .burger i:nth-child(3) { top: 7px; transform: rotate(-45deg); }
  .search-panel { top: 82px; right: 16px; width: calc(100vw - 32px); }
  .header-bar { height: 14px; }
  .hero img { height: auto; aspect-ratio: 1156 / 202; min-height: 110px; }

  .container { padding-left: 20px; padding-right: 20px; }
  .h1, .contact-hero h1 { font-size: 30px; line-height: 38px; }
  .h2, .group-title, .info-box h2, .contact-form h2, .legal h2 { font-size: 22px; line-height: 28px; }
  .h3, .services h3, .service h3 { font-size: 20px; line-height: 26px; }
  .band { font-size: 22px; line-height: 34px; padding: 26px 16px; height: auto !important; }

  .intro { grid-template-columns: 1fr; padding-top: 32px; padding-bottom: 40px; }
  .intro .h2 { margin-top: 34px; }
  .intro .sticker { padding-top: 28px; }
  .intro .sticker img { width: 200px; transform: none; }
  .services { grid-template-columns: 1fr; padding-top: 32px; gap: 30px; text-align: center; }
  .services ul { margin-bottom: 20px; }
  .van { justify-content: center; }
  .values { padding-top: 46px; }
  .values .list { font-size: 18px; line-height: 30px; }
  .reviews { grid-template-columns: 1fr; margin: 0; }
  .review { padding: 26px 22px; }
  .info-boxes { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 36px; }
  .info-box { min-height: 0; padding-bottom: 18px; }
  .map { height: 340px; }
  .site-footer { height: auto; flex-direction: column; gap: 6px; padding: 14px 20px; text-align: center; font-size: 12px; line-height: 17px; }
  .site-footer a { margin: 0 9px; }

  .two-col { grid-template-columns: 1fr; gap: 36px; padding: 44px 0; }
  .team { padding-top: 32px; }
  .team p { text-align: left; }
  .team-body { padding-bottom: 40px; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip img { height: auto; aspect-ratio: 267 / 202; }

  .leistungen-head .h1 { margin-bottom: 30px; }
  .service { grid-template-columns: 1fr; padding-bottom: 44px; }
  .service .icon { width: 110px; height: 110px; margin-bottom: 18px; }
  .gallery { padding-left: 0; gap: 10px; }
  .gallery a, .gallery img { width: calc(50% - 5px); height: auto; aspect-ratio: 268 / 178; }
  .gallery a img { width: 100%; }
  .service + .dots { margin-bottom: 44px; }
  .privat { padding-top: 46px; }

  .contact-hero { height: 150px; }
  .contact-split { grid-template-columns: 1fr; }
  .contact-photo { min-height: 300px; order: -1; display: none; }
  .contact-form { padding: 34px 20px 36px; }
  .contact-form input[type=text], .contact-form input[type=email], .contact-form input[type=tel], .contact-form textarea { font-size: 16px; height: 46px; }
  .contact-form textarea { height: 170px; }
  .consent { font-size: 15px; line-height: 21px; }
  .contact-form .btn { width: 100%; height: 48px; font-size: 16px; }

  .legal { padding-top: 32px; }
  .legal .ds-h { padding-left: 0; }
  .hero--inset { padding: 0 20px; }
}

@media (max-width: 480px) {
  .site-header .logo { width: 210px; top: 24px; left: 16px; }
  .site-header .logo img { width: 210px; }
  .burger .label { display: none; }
  .gallery a, .gallery img { width: 100%; }
}

@media print {
  .main-nav, .header-bar, .map, .search-panel { display: none !important; }
  body { background: #fff; }
}
.legal a[href^="tel"] { color: inherit; }
