:root {
  --c-dark: #4a4949;
  --c-accent: #ecbe19;
  --c-bg-grey: #eaeaea;
  --c-white: #ffffff;
  --c-text: #4a4949;
  --maxw: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: var(--c-text);
  line-height: 1.6;
}

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

a {
  color: var(--c-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--c-accent);
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 340px) {
  .wrap {
    padding: 0 18px;
  }
  .detail-card .panel {
    padding: 28px 16px;
  }
}

h1,
h2 {
  font-size: 30px;
  font-weight: 600;
  color: var(--c-dark);
  text-transform: uppercase;
  text-align: center;
  margin: 0;
}

h1::after,
h2::after {
  content: "";
  display: block;
  background: var(--c-accent);
  width: 100px;
  height: 3px;
  margin: 18px auto 0;
}

h1 + .subline,
h2 + .subline {
  margin-top: 30px;
}

h1.no-line::after,
h2.no-line::after {
  content: none;
}

.subline {
  font-size: 16px;
  font-weight: 400;
  color: var(--c-dark);
  text-align: center;
  margin: 0 0 40px 0;
}

.section-head {
  margin-bottom: 50px;
}

h2.on-dark {
  color: #fff;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--c-dark);
  margin: 0 0 14px 0;
}

p {
  margin: 0 0 16px 0;
}

.btn {
  display: inline-block;
  font-weight: 500;
  font-size: 14px;
  color: #fff;
  background: var(--c-dark);
  border-radius: 34px;
  padding: 12px 28px;
  margin-top: 8px;
  transition: background 0.3s ease;
}

.btn:hover {
  background: var(--c-accent);
  color: #fff;
}

header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 500;
  background: #fff;
  transition: padding 0.25s ease;
  padding: 18px 0 0 0;
  border-bottom: 1px solid #f0f0f0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-bottom: 14px;
}

.site-header .logo img {
  height: 86px;
  width: auto;
}

nav.hnavi ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}

nav.hnavi a {
  display: inline-block;
  padding: 9px 22px;
  border-radius: 34px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--c-dark);
}

nav.hnavi a:hover,
nav.hnavi a.active {
  background: var(--c-dark);
  color: #fff;
}

.mob_button {
  display: none;
  cursor: pointer;
  background: var(--c-dark);
  color: #fff;
  border-radius: 30px;
  padding: 10px 22px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

@media (max-width: 880px) {
  nav.hnavi {
    flex-basis: 100%;
    display: none;
  }
  nav.hnavi.open {
    display: block;
  }
  nav.hnavi ul {
    flex-direction: column;
    gap: 4px;
    padding-bottom: 16px;
  }
  nav.hnavi a {
    text-align: center;
  }
  .mob_button {
    display: inline-block;
  }
}

.hero {
  margin-top: 142px;
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--c-dark);
}

.hero-slides {
  position: relative;
  height: 75vh;
  min-height: 380px;
  max-height: 640px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-caption {
  position: absolute;
  left: 6%;
  bottom: 14%;
  z-index: 10;
  max-width: 90%;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.hero-caption h2 {
  text-align: left;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.06em;
  font-weight: 500;
  color: #fff;
  background: var(--c-accent);
  padding: 7px 16px;
  display: inline-block;
  margin: 0 0 2px 0;
}

.hero-caption h2::after {
  content: none;
}

.hero-caption h3 {
  text-align: left;
  font-size: clamp(26px, 3.6vw, 42px);
  line-height: 1.15;
  font-weight: 600;
  color: #fff;
  background: rgba(74, 73, 73, 0.55);
  padding: 10px 16px;
  display: inline-block;
  margin: 0;
}

.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 10;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
}

.hero-dots button.active {
  background: var(--c-accent);
}

.intro {
  padding: 80px 0;
  text-align: center;
}

.intro .wrap {
  max-width: 800px;
}

.leistungsspektrum-overview {
  position: relative;
  background: var(--c-dark);
  padding: 90px 0 100px;
  margin-top: 40px;
}

.tiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 10px;
}

.tile {
  position: relative;
  width: 200px;
  height: 200px;
  overflow: hidden;
  background: var(--c-dark);
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.tile figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.02em;
  text-align: center;
  background: rgba(74, 73, 73, 0);
  transition: background 0.35s ease;
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 0 solid var(--c-accent);
  transition: border-width 0.3s ease;
  pointer-events: none;
}

.tile:hover img {
  transform: scale(1.06);
}

.tile:hover figcaption {
  background: rgba(74, 73, 73, 0.62);
}

.tile:hover::after {
  border-width: 4px;
}

.leistungsspektrum-overview .intro-text {
  max-width: 760px;
  margin: 0 auto 10px;
  text-align: center;
  color: #fff;
}

.leistungsspektrum-overview .btn-wrap {
  text-align: center;
  margin-top: 30px;
}

.leistungsspektrum-details {
  position: relative;
  padding: 60px 0 80px;
  background: #fff;
}

.detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 220px;
  margin-bottom: 28px;
  overflow: hidden;
  border-radius: 4px;
}

.detail-card .panel {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.detail-card .panel.color-dark {
  background: var(--c-dark);
  color: #fff;
}

.detail-card .panel.color-accent {
  background: #f3e2ad;
  color: var(--c-dark);
}

.detail-card .panel.color-light {
  background: var(--c-bg-grey);
  color: var(--c-dark);
}

.detail-card .panel h3 {
  text-transform: uppercase;
  font-size: 24px;
  margin-bottom: 16px;
  color: inherit;
}

.detail-card .panel p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
}

.detail-card .panel.color-dark h3::after,
.detail-card .panel.color-accent h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin-top: 12px;
  background: currentColor;
  opacity: 0.6;
}

.detail-card .icon-side {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}

.detail-card .icon-side svg {
  width: 72px;
  height: 72px;
  stroke: currentColor;
  fill: none;
}

@media (max-width: 720px) {
  .detail-card {
    grid-template-columns: 1fr;
  }
  .detail-card .icon-side {
    min-height: 120px;
  }
  .detail-card .panel {
    padding: 32px 26px;
  }
}

@media (max-width: 360px) {
  .detail-card .panel {
    padding: 28px 20px;
  }
}

.handwerksarbeit {
  padding: 90px 0 90px;
  background: var(--c-bg-grey);
}

.circles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
  margin-top: 20px;
}

.circle-item {
  text-align: center;
  width: 150px;
}

.circle-item img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}

.circle-item figcaption {
  margin-top: 16px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--c-dark);
}

.unternehmen {
  padding: 90px 0 100px;
}

.unternehmen .intro-text {
  max-width: 700px;
  margin: 0 auto 90px;
  text-align: left;
}

.unternehmen .intro-text p {
  margin-bottom: 20px;
}

.team-block {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto 100px;
  padding: 50px 60px;
  background: var(--c-bg-grey);
  border-radius: 6px;
}

.team-visual {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-dark), #6b6a6a);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  flex-shrink: 0;
}

.team-visual svg {
  width: 84px;
  height: 84px;
  stroke: var(--c-accent);
  fill: none;
}

.team-text {
  text-align: left;
}

.team-text h3 {
  text-transform: uppercase;
  font-size: 22px;
  margin-bottom: 6px;
}

.team-text .subline-team {
  color: var(--c-dark);
  font-weight: 400;
  font-size: 15px;
  opacity: 0.75;
  margin: 0 0 18px 0;
}

.team-text p {
  margin-bottom: 14px;
}

.team-text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .team-block {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 30px;
  }
  .team-text {
    text-align: center;
  }
}

.presse {
  margin-top: 0;
}

.presse h3 {
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.presse .subline {
  margin-bottom: 36px;
}

.presse-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.presse-list li {
  border-bottom: 1px solid #e3e3e3;
  padding: 14px 4px;
}

.presse-list a {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-weight: 500;
}

.presse-list a::before {
  content: "→";
  color: var(--c-accent);
  font-weight: 700;
  flex-shrink: 0;
}

.presse-list .jahr {
  margin-left: auto;
  font-size: 13px;
  color: #999;
  font-weight: 300;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .presse-list a {
    gap: 2px 10px;
  }
  .presse-list .jahr {
    margin-left: 24px;
    white-space: normal;
  }
}

.zwischenheader {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.zwischenheader img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zwischenheader::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(74, 73, 73, 0.25);
}

.kontakt {
  background: #fff;
}

.kontakt-content {
  padding: 90px 0 100px;
  text-align: center;
}

.kontakt-content h1,
.kontakt-content h2 {
  color: var(--c-dark);
}

.kontakt-content .subline {
  color: var(--c-dark);
}

.kontakt-details {
  max-width: 480px;
  margin: 40px auto 0;
  font-size: 17px;
  line-height: 1.9;
}

.kontakt-details a {
  color: var(--c-dark);
  font-weight: 500;
  border-bottom: 2px solid var(--c-accent);
}

.kontakt-details a:hover {
  color: var(--c-accent);
}

footer#footer {
  background: var(--c-dark);
  color: #fff;
  padding: 50px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 40px;
}

.footer-grid .logo-col img {
  height: 75px;
  background: #fff;
  padding: 8px 14px;
  border-radius: 6px;
}

footer h4 {
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 600;
  display: inline-block;
  margin: 0 0 16px 0;
}

footer h4::after {
  content: "";
  display: block;
  background: var(--c-accent);
  width: 120%;
  height: 3px;
  margin-top: 6px;
}

footer a {
  color: #fff;
}

footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer ul li {
  margin-bottom: 6px;
}

footer ul li::before {
  content: "› ";
  color: var(--c-accent);
}

footer p {
  margin: 0 0 6px 0;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 13px;
  text-align: center;
  opacity: 0.8;
}

.footer-bottom a {
  text-decoration: underline;
}

@media (max-width: 780px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
}

.rechtstext {
  padding: 150px 0 100px;
  background: #fff;
}

.rechtstext .wrap {
  max-width: 760px;
}

.rechtstext h1 {
  text-align: left;
  margin-bottom: 40px;
}

.rechtstext h1::after {
  margin: 18px 0 0;
}

.rechtstext h2 {
  font-size: 18px;
  text-transform: none;
  text-align: left;
  margin: 36px 0 12px;
}

.rechtstext h2::after {
  content: none;
}

.rechtstext h3 {
  font-size: 16px;
  margin: 28px 0 10px;
}

.rechtstext p,
.rechtstext li {
  font-size: 15px;
  line-height: 1.8;
}

.rechtstext ul {
  margin: 0 0 16px 0;
  padding-left: 22px;
}

.rechtstext li {
  margin-bottom: 6px;
}

.rechtstext a {
  color: var(--c-dark);
  font-weight: 500;
  border-bottom: 2px solid var(--c-accent);
}

.rechtstext a:hover {
  color: var(--c-accent);
}

.rechtstext .block {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid #e3e3e3;
}

.rechtstext .block:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .rechtstext {
    padding: 130px 0 70px;
  }
}

section {
  scroll-margin-top: 110px;
}

@media (max-width: 600px) {
  h1,
  h2 {
    font-size: 24px;
  }
  .hero-caption h3 {
    font-size: 26px;
  }
  .circle-item,
  .circle-item img {
    width: 110px;
  }
  .circle-item img {
    height: 110px;
  }
}
