@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/montserrat-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02FF,U+1E00-1EFF,U+2020,U+20A0-20CF,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/montserrat-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215;
}

@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/montserrat-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02FF,U+1E00-1EFF,U+2020,U+20A0-20CF,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/montserrat-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215;
}
/* Icons: Font Awesome Free, CC BY 4.0*/

/* ---- Base ---- */
:root {
  --orange: #f56c1c;
  --navy: #011627;
  --text: #3a3a3a;
  --muted: #7a7a7a;
  --pale: #f9f8f8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Montserrat,sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

h1, h2, h3, h4, p {
  margin-top: 0;
}

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.3;
}

h1 {
  font-size: 40px;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 22px;
}

h4 {
  font-size: 20px;
}

a {
  color: inherit;
  text-decoration: none;
}

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

a:focus-visible, button:focus-visible {
  outline: 3px solid #f1ba63;
  outline-offset: 4px;
}

.skip {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 15px;
  background: #fff;
  transform: translateY(-150%);
}

.skip:focus {
  transform: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ---- Header / navigation (overlays the hero) ---- */
.header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  color: #fff;
}

.header-inner {
  max-width: 1200px;
  min-height: 90px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
}

.brand {
  line-height: 1.2;
}

.brand a {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
}

.brand p {
  margin: 0;
  font-size: 16px;
}

.header nav {
  margin-left: auto;
}

.header ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header li {
  display: flex;
}

.header nav a {
  padding: 0 16px;
  color: rgba(255,255,255,.75);
  font-size: 15px;
}

.header nav a:hover, .header nav a:focus, .header nav a[aria-current] {
  color: #fff;
}

.header .nav-button {
  margin-left: 16px;
  padding: 14px 30px;
  border-radius: 100px;
  background: var(--orange);
  color: #fff;
}

.header .nav-button:hover, .button:hover {
  background: rgba(245,108,28,.78);
}

.mobile-contact, .menu-toggle {
  display: none;
}

/* ---- Hero ---- */
.hero {
  min-height: 950px;
  padding: 390px 20px 0;
  background: url('../img/hero.jpg') center/cover no-repeat fixed;
  color: #fff;
  text-align: center;
}

.hero-inner {
  max-width: 950px;
  margin: auto;
}

.hero .kicker {
  margin-bottom: 15px;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

.hero h1 {
  margin: 0 0 15px;
  padding: 15px;
  border: 1px dotted #fff;
  border-radius: 5px;
  background: rgba(0,0,0,.35);
  color: #fff;
}

.button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 100px;
  background: var(--orange);
  color: #fff;
  line-height: 1;
}

.down {
  display: block;
  width: 30px;
  height: 30px;
  margin: 340px auto 50px;
  fill: rgba(255,255,255,.75);
}

/* ---- Services ---- */
.services-head {
  padding: 50px 20px 40px;
  text-align: center;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.services-head h2 {
  margin-bottom: 0;
}

.services {
  max-width: 1140px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px 20px;
  padding: 0 0 50px;
}

.service-card {
  text-align: center;
}

.service-card img {
  width: 100%;
  margin-bottom: 15px;
}

.service-card h3 {
  margin-bottom: 10px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.service-last {
  grid-column: 1/-1;
  width: 50%;
  justify-self: center;
}

/* ---- Intro block with background image ---- */
.intro {
  position: relative;
  padding: 150px 20px;
  background: url('../img/intro-bg.jpeg') center/cover no-repeat fixed;
  color: #fff;
}

.intro:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(1,22,39,.64);
}

.intro-inner {
  position: relative;
  max-width: 1140px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.intro h2, .intro h4 {
  color: #fff;
}

.intro-inner>div:first-child {
  padding-right: 100px;
}

.intro hr {
  height: 1px;
  margin: 15px 0;
  border: 0;
  background: rgba(255,255,255,.3);
}

.countries {
  margin: 0;
  padding: 0;
  list-style: none;
}

.countries li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5em;
}

.countries svg {
  width: 14px;
  height: 14px;
  fill: #fff;
}

.intro-pitch {
  align-self: center;
  padding-left: 75px;
}

.intro-pitch .button {
  margin-top: 30px;
}

/* ---- Warum BAUMONT ---- */
.why {
  max-width: 1140px;
  margin: auto;
  padding: 150px 0;
  text-align: center;
}

.why>p:not(.eyebrow), .reasons p {
  color: var(--muted);
}

.why>h2 {
  margin-bottom: 25px;
}

.reasons {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 10px;
  padding-top: 25px;
  text-align: left;
}

.reasons svg {
  width: 100px;
  height: 100px;
  fill: var(--orange);
}

.reasons h3 {
  font-size: 18px;
}

.reasons p {
  margin-bottom: 0;
}

/* ---- Call to action ---- */
.cta {
  max-width: 1000px;
  margin: 0 auto 20px;
  padding: 40px 20px;
  background: var(--pale);
}

.cta>div {
  display: grid;
  grid-template-columns: 80% 20%;
  align-items: center;
}

.cta h3 {
  margin: 0;
}

.cta .button {
  justify-self: center;
  white-space: nowrap;
}

/* ---- Team and contact ---- */
.team, .contact {
  max-width: 1140px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.team {
  padding: 0 0 40px;
  text-align: center;
}

.team article {
  color: #272727;
}

.team img {
  width: 100%;
}

.team h2 {
  margin: 20px 0 5px;
  font-size: 25px;
  color: #272727;
}

.team h3 {
  margin-bottom: 10px;
  font-size: 16px;
  color: #272727;
}

.contact {
  padding: 0 0 30px;
  align-items: center;
}

.contact iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

.contact p {
  margin-bottom: 1.6em;
}

/* ---- Map: Google Maps is embedded only after the visitor clicks ---- */
.map {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: var(--pale);
  text-align: center;
}

.map p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.map a {
  color: var(--orange);
  text-decoration: underline;
}

.map-loaded {
  display: block;
  padding: 0;
}

/* ---- Sub pages (Impressum, Datenschutz) ---- */
.subpage .header {
  position: static;
  background: var(--navy);
}

.legal {
  max-width: 800px;
  margin: auto;
  padding: 60px 20px 80px;
}

.legal h1 {
  font-size: 32px;
  margin-bottom: 20px;
}

.legal h2 {
  font-size: 20px;
  margin: 35px 0 10px;
}

.legal p {
  margin-bottom: 1em;
}

.legal .lead {
  color: var(--muted);
}

.legal a {
  color: var(--orange);
  text-decoration: underline;
}

/* ---- Footer ---- */
footer {
  padding: 30px 20px;
  background: var(--navy);
  color: #fff;
}

footer>div {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

footer small {
  font-size: 11px;
  opacity: .55;
}

footer a {
  text-decoration: underline;
}

.footer-legal {
  font-size: 13px;
}

/* ---- Tablet ---- */
@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    padding: 200px 25px 0;
    background-attachment: scroll;
  }
  .down {
    margin-top: 100px;
  }
  .services-head {
    padding: 100px 25px;
  }
  .services, .why, .team, .contact {
    padding-left: 25px;
    padding-right: 25px;
  }
  .intro {
    padding: 100px 25px;
    background-attachment: scroll;
  }
  .intro-inner>div:first-child {
    padding-right: 0;
  }
  .intro-pitch {
    margin-top: 35px;
    padding-left: 50px;
  }
  .why {
    padding-top: 100px;
    padding-bottom: 100px;
  }
  .cta {
    padding: 25px 20px;
  }
}

/* ---- Mobile navigation ---- */
@media (max-width: 921px) {
  .header-inner {
    min-height: 75px;
    flex-wrap: wrap;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
    width: 44px;
    height: 40px;
    border: 1px solid rgba(255,255,255,.75);
    background: transparent;
  }
  .menu-toggle span[aria-hidden] {
    display: block;
    width: 20px;
    height: 14px;
    margin: auto;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
    position: relative;
  }
  .menu-toggle span[aria-hidden]:after {
    content: "";
    position: absolute;
    top: 5px;
    left: 0;
    width: 20px;
    border-top: 2px solid #fff;
  }
  .header nav {
    width: 100%;
    margin: 0;
  }
  .header ul {
    display: none;
    position: absolute;
    top: 75px;
    left: 20px;
    right: 20px;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    background: var(--pale);
  }
  .header ul.open {
    display: flex;
  }
  .header li {
    display: block;
  }
  .header nav a {
    display: block;
    padding: 12px 20px;
    color: rgba(1,22,39,.75);
  }
  .header nav a:hover, .header nav a:focus, .header nav a[aria-current] {
    color: var(--navy);
  }
  .header .nav-button {
    display: none;
  }
  .mobile-contact {
    display: block;
  }
}

/* ---- Phone ---- */
@media (max-width: 767px) {
  h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 25px;
  }
  .hero {
    padding: 150px 20px 0;
  }
  .hero .kicker {
    margin-bottom: 5px;
  }
  .hero h1 {
    padding: 0 0 10px;
  }
  .down {
    margin: 75px auto 25px;
  }
  .services-head {
    padding: 75px 20px;
  }
  .services {
    display: block;
    padding: 0 20px 50px;
  }
  .service-card, .service-last {
    width: 100%;
    margin-bottom: 50px;
  }
  .intro {
    padding: 75px 20px;
  }
  .intro-inner {
    display: block;
  }
  .intro-pitch {
    margin-top: 15px;
    padding: 0;
  }
  .intro-pitch .button {
    margin-top: 20px;
  }
  .why {
    padding: 75px 20px 50px;
  }
  .why>h2 {
    margin-bottom: 0;
  }
  .reasons {
    grid-template-columns: 1fr;
  }
  .reasons article {
    padding-bottom: 35px;
  }
  .cta>div {
    display: block;
    text-align: center;
  }
  .cta h3 {
    padding: 0 25px 10px;
  }
  .cta .button {
    margin-top: 10px;
  }
  .team, .contact {
    grid-template-columns: 1fr;
    padding-left: 20px;
    padding-right: 20px;
  }
  .contact {
    padding-bottom: 30px;
  }
  footer>div {
    flex-direction: column;
    text-align: center;
  }
}
