@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/barlow-400.woff2') format('woff2')
}

@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/barlow-500.woff2') format('woff2')
}

@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/barlow-600.woff2') format('woff2')
}

@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/barlow-700.woff2') format('woff2')
}

@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/barlow-condensed-500.woff2') format('woff2')
}

@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/barlow-condensed-600.woff2') format('woff2')
}

@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/barlow-condensed-700.woff2') format('woff2')
}

@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/barlow-condensed-800.woff2') format('woff2')
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: 'Barlow', system-ui, sans-serif;
  color: #1a2733;
  background: #f4f2ec
}

a {
  color: #ff2e18;
  text-decoration: none
}

a:hover {
  color: #d61f0c
}

h1,
h2,
h3,
h4 {
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  margin: 0;
  line-height: 1.02;
  letter-spacing: .01em
}

::selection {
  background: #ff2e18;
  color: #fff
}

.nav-link {
  color: #cdd8e0;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 8px
}

.nav-link:hover {
  color: #fff
}

.btn-phone {
  margin-left: 8px;
  background: #ff2e18;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .03em;
  padding: 10px 18px;
  border-radius: 8px;
  text-transform: uppercase
}

.btn-phone:hover {
  background: #d61f0c;
  color: #fff
}

.btn-primary {
  background: #ff2e18;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: 8px
}

.btn-primary:hover {
  background: #d61f0c;
  color: #fff
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: 8px
}

.btn-outline:hover {
  border-color: #fff;
  color: #fff
}

.service-card {
  background: #22333f;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  padding: 28px 24px
}

.service-card:hover {
  border-color: #ff2e18
}

.btn-cta {
  background: #fff;
  color: #1a2733;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 15px 26px;
  border-radius: 8px;
  white-space: nowrap
}

.btn-cta:hover {
  background: #1a2733;
  color: #fff
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 8px;
  padding: 20px 22px;
  color: #1a2733
}

.contact-card:hover {
  border-color: #ff2e18;
  color: #1a2733
}

.footer-link {
  color: #8fa3b3
}

.footer-link:hover {
  color: #fff
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px
}

/* header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(26, 39, 51, .97);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid #ff2e18
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 32px;
  max-width: 1180px;
  margin: 0 auto
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff
}

.logo-img {
  height: 46px;
  width: auto;
  display: block
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px
}

.nav-toggle-input {
  display: none
}

.nav-toggle-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  border-radius: 8px
}

.nav-toggle-btn:hover {
  background: rgba(255, 255, 255, .08)
}

.nav-toggle-icon-close {
  display: none
}

.nav-toggle-input:checked~.nav-toggle-btn .nav-toggle-icon-open {
  display: none
}

.nav-toggle-input:checked~.nav-toggle-btn .nav-toggle-icon-close {
  display: block
}

/* hero */
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 76px 32px 84px;
  max-width: 1180px;
  margin: 0 auto
}

.hero-title {
  font-size: 66px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .01em
}

.hero-text {
  max-width: 480px;
  font-size: 19px;
  line-height: 1.55;
  color: #c2ced8;
  margin: 24px 0 34px
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px
}

.hero-image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12)
}

.stat-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .1);
  max-width: 1180px;
  margin: 0 auto;
  width: 100%
}

.stat-item {
  padding: 24px 32px;
  border-right: 1px solid rgba(255, 255, 255, .08)
}

.stat-item:last-child {
  border-right: none
}

.stat-num {
  font-family: 'Barlow Condensed';
  font-weight: 800;
  font-size: 40px;
  color: #ff2e18;
  line-height: 1
}

.stat-label {
  font-size: 14px;
  color: #a9b8c4;
  font-weight: 500;
  margin-top: 2px
}

/* shared section layout */
.section {
  padding: 88px 32px
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto
}

.section-title {
  font-size: 52px;
  font-weight: 800;
  text-transform: uppercase
}

/* about */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto
}

.about-image-wrap {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .07)
}

.about-title {
  font-size: 48px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 22px
}

.about-text {
  font-size: 19px;
  line-height: 1.65;
  color: #3a4854;
  max-width: 560px
}

/* leistungen */
.services-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: none
}

.cta-banner {
  max-width: 1000px;
  margin: 24px auto 0;
  background: linear-gradient(90deg, #ff2e18, #d61f0c);
  border-radius: 8px;
  padding: 28px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px
}

.cta-title {
  font-size: 30px;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff
}

/* kontakt */
.contact-header {
  text-align: center;
  margin-bottom: 48px
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 32px;
  align-items: stretch
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px
}

.hours-box {
  background: #1a2733;
  color: #fff;
  border-radius: 8px;
  padding: 22px 24px
}

.map-col {
  position: relative;
  display: flex;
  flex-direction: column
}

.map-wrap {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .1);
  min-height: 440px
}

.map-frame {
  width: 100%;
  height: 100%;
  border: 0;
  min-height: 440px
}

.map-revoke-btn {
  display: none;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(255, 255, 255, .92);
  color: #1a2733;
  border: none;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Barlow', system-ui, sans-serif;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15)
}

.map-revoke-btn:hover {
  background: #fff
}

.map-placeholder {
  width: 100%;
  height: 100%;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 40px 32px;
  background: #fff
}

.map-placeholder-icon {
  width: 56px;
  height: 56px;
  background: #f4f2ec;
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin-bottom: 6px
}

.map-placeholder-title {
  font-family: 'Barlow Condensed';
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  color: #1a2733
}

.map-placeholder-text {
  font-size: 14px;
  line-height: 1.55;
  color: #6b7680;
  max-width: 360px
}

.map-placeholder-text a {
  color: #ff2e18
}

.map-placeholder .btn-primary {
  margin-top: 8px;
  cursor: pointer;
  border: none;
  font-family: 'Barlow', system-ui, sans-serif
}

/* legal pages (impressum / datenschutz) */
.page-hero {
  background: #1a2733;
  color: #fff;
  padding: 64px 32px 44px
}

.page-hero-inner {
  max-width: 820px;
  margin: 0 auto
}

.page-eyebrow {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #ff2e18;
  margin-bottom: 14px
}

.page-title {
  font-size: 44px;
  font-weight: 800;
  text-transform: uppercase
}

.legal-content {
  padding: 56px 32px 88px
}

.legal-inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px
}

.legal-box {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 8px;
  padding: 26px 28px
}

.legal-box h2 {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: #1a2733;
  margin-bottom: 12px
}

.legal-box p {
  font-size: 16px;
  line-height: 1.65;
  color: #3a4854;
  margin: 0 0 10px
}

.legal-box p:last-child {
  margin-bottom: 0
}

.legal-box ul {
  margin: 0 0 10px;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.65;
  color: #3a4854
}

.legal-box ul:last-child {
  margin-bottom: 0
}

.legal-box a {
  word-break: break-word
}

/* ============ responsive ============ */
@media (max-width: 860px) {

  html,
  body {
    overflow-x: hidden
  }

  .header-inner {
    padding: 12px 20px
  }

  .logo-img {
    height: 38px
  }

  .nav-toggle-btn {
    display: flex
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #1a2733;
    border-bottom: 2px solid #ff2e18;
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height .25s ease, padding .25s ease
  }

  .nav-toggle-input:checked~.nav {
    max-height: 320px;
    padding: 12px 20px 20px
  }

  .nav .nav-link,
  .nav .btn-phone {
    width: 100%;
    text-align: center;
    margin: 0
  }

  .nav .btn-phone {
    margin-top: 6px
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding: 48px 20px 56px;
    gap: 28px
  }

  .hero-title {
    font-size: 34px
  }

  .hero-text {
    font-size: 17px;
    max-width: none
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    flex: 1 1 auto;
    text-align: center
  }

  .stat-strip {
    grid-template-columns: 1fr
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: 18px 20px
  }

  .stat-item:last-child {
    border-bottom: none
  }

  .stat-num {
    font-size: 30px
  }

  .section {
    padding: 56px 20px
  }

  .section-title {
    font-size: 32px
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px
  }

  .about-title {
    font-size: 32px
  }

  .about-text {
    font-size: 17px;
    max-width: none
  }

  .services-header {
    margin-bottom: 36px
  }

  .services-grid {
    grid-template-columns: 1fr
  }

  .cta-banner {
    padding: 24px 20px;
    text-align: center;
    justify-content: center
  }

  .cta-banner .btn-cta {
    width: 100%
  }

  .cta-title {
    font-size: 24px
  }

  .contact-header {
    margin-bottom: 32px
  }

  .contact-grid {
    grid-template-columns: 1fr
  }

  .map-wrap,
  .map-frame {
    min-height: 300px
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px
  }

  .page-hero {
    padding: 40px 20px 32px
  }

  .page-title {
    font-size: 30px
  }

  .legal-content {
    padding: 40px 20px 56px
  }

  .legal-box {
    padding: 20px 20px
  }
}
