:root {
  --red: #C91624;
  --gray: #292927;
  --text: #1c1c1c;
  --bg: #ffffff;
  --pad: clamp(18px, 5vw, 80px);
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  line-height: 1.45;
}
body.modal-open {
    overflow: hidden;
}

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

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

.contact a, .about a {text-decoration: underline!important;}

h1,
h2,
h3,
h4 {
  margin: 0 0 .75rem;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: .02em;
}

.site {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  overflow-x: hidden;
}

.section {
  padding: clamp(180px, 7vw, 120px) var(--pad);
  position: relative;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 42px;
  width: 150px;
  padding: .7rem 1.2rem;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  border: 0;
  font-size: 1rem;
  transition: transform .2s ease, opacity .2s ease, background .2s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-4px);
  opacity: .95;
  background-color: var(--gray);
  color: #fff;
}

.btn.dark {
  background: var(--gray)
}

.btn.ghost {
  background: transparent;
  border: 1px solid #fff
}

/* Nav */
.nav-wrap {
  padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(8px);
    z-index: 9;
    transition: .3s;
}

.nav-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.logo {
  height: auto;
  width: 300px;
}

.logo .red {
  color: var(--red)
}

.logo small {
  font-size: .42em;
  vertical-align: top;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin-left: 2px;
  color: #666;
  letter-spacing: .08em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 2vw, 32px);
  font-size: .95rem;
  z-index: 5;

}

.nav a span.red {
  color: var(--red)
}

.nav a {
  padding: 4px 0
}

.red {
  color: var(--red);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 6;
}

.burger span {
  width: 30px;
  height: 3px;
  background: var(--red);
  border-radius: 5px;
  transition: 0.3s;
}

/* Hero */
.hero {
  min-height: clamp(520px, 62vw, 980px);
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .05) 0%, rgba(0, 0, 0, .15) 100%),
    url("../img/header.webp") center/cover no-repeat;
  position: relative;
  color: #fff;
}


.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .08) 0%, rgba(0, 0, 0, .38) 60%, rgba(0, 0, 0, .45) 100%);
}

.hero-content {
  position: relative;
  z-index: 4;
  margin-left: auto;
  max-width: min(620px, 90vw);
  text-align: right;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.9rem);
  line-height: 1.02;
  margin-bottom: .75rem;
}

.hero p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  margin: 0 0 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: stretch;
  gap: clamp(24px, 4vw, 60px);
}

.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: clamp(0px, 2vw, 20px);
}

.about-copy h2 {
  font-size: clamp(2rem, 3vw, 3.4rem);
  color: var(--gray)
}

.about-copy p {
  max-width: 95ch;
  margin: 0 0 1rem
}

.about-more {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s ease;
}

.about-more.open {
  max-height: 500px;
}

.about-media {
  min-height: 550px;
  background: url(../img/senior-couple.webp) center/cover no-repeat;
  justify-self: end;
  width: 1340px;
  position: relative;
  right: -7.5%;
}

/* Services */
/* Services */
#services {
  position: relative;
  overflow: visible;
  /* verhindert horizontales Überlaufen */
}

.services {
  background: var(--gray);
  color: #fff;
  position: relative;
  overflow: visible;
}

.services-inner {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(20px, 4vw, 60px);
  align-items: center;
  position: relative;
  min-height: 620px;
}

.services img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: auto;
  z-index: 2;
  height: 100vh;
  width: auto;
  left: -10%;
  margin-bottom: -50px;
}

/* Textbereich */
.services-copy {
  grid-column: 2;
  position: relative;
  z-index: 3;
  padding: 80px 0;
}

.services-copy h2 {
  font-size: clamp(2rem, 3vw, 3.4rem)
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.service-card {
  position: relative;
  min-height: 200px;
  padding: 22px;
  overflow: hidden;
  background: #4b4b4a;
  display: flex;
  align-items: center;
  transition: transform .25s ease, box-shadow .25s ease;
  border: 1px solid rgba(255, 255, 255, .08);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--img) center/cover no-repeat;
  transform: scale(1.04);
  filter: grayscale(.1);
}


.service-card span {
  position: relative;
  z-index: 1;
  font-weight: bold;
  font-size: 20px;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .22);
}

.sc1 {
  background-image: url(../img/soziale-einrichtungen.webp);
  background-position: center;
  background-size: cover;
  height: auto;
}

.sc2 {
  background-image: url(../img/verpflegungskonzepte.webp);
  background-position: center;
  background-size: cover;
  height: auto;
}

.sc3 {
  background-image: url(../img/catering.webp);
  background-position: center;
  background-size: cover;
  height: auto;
}

.sc4 {
  background-image: url(../img/kuechenmanagement.webp);
  background-position: center;
  background-size: cover;
  height: auto;
}

/* Parallax */
.parallax {
  min-height: 280px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(40px, 7vw, 120px) var(--pad);
  background: #fff;
}

.parallax.dark {
  background: var(--gray);
  color: #fff;
}

.parallax .inner {
  max-width: 760px;
}

.parallax p {
  font-size: clamp(1.1rem, 1.8vw, 1.7rem);
  margin: 0 0 1.5rem;
}

/* Customers */
.customers {
  position: relative;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .88) 0 50%, rgba(255, 255, 255, .15) 50% 100%),
    url("../img/kitchen.webp") center/cover no-repeat;
  overflow: hidden;
}

.customers::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, .82) 0 46%, rgba(255, 255, 255, 0) 46% 100%);
  pointer-events: none;
}

.customers-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(20px, 4vw, 58px);
  align-items: center;
  min-height: 560px;
}

.customers-copy {
  position: relative;
  padding: 24px 0;
  max-width: 580px;
}

.customers-copy h2 {
  font-size: clamp(2rem, 3vw, 3.4rem);
  color: var(--gray)
}

.customer-panel {
  background: var(--gray);
  color: #fff;
  padding: clamp(24px, 3.5vw, 44px);
  margin-left: -8vw;
  min-height: 500px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 36px;
  align-items: start;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .22);
}

.customer-item {
  cursor: pointer;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.customer-item .num {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
  color: #fff;
}

.customer-item .num span {
  color: var(--red)
}

.customer-item .label {
  display: block;
  margin-top: 8px;
  font-weight: 600;
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
  background-color: var(--gray);
}

.contact h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  color: #fff;
}

.placeholder-box {
  min-height: 520px;
  border: 1px dashed #ccc;
  background: #fafafa;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #666;
}

.form {
  height: 950px;
  width: 100%;
  border: none;
}

.maps {
  height: 520px;
  width: 100%;
  border: none;
  margin-top: 30px;
}

.white p {
  color: #fff;
}

.white a {
  color: #fff;
}

/*Galerie*/
#galerie {
  padding: 120px 5%;
}

.slider {
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.6s ease;
  gap: 15px;
  flex: 0 0 calc((100% - 45px) / 4);
}

.slides img {
  width: 400px;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

/* Pfeile */
.arrow {
  display: none;
}

.prev {
  left: -20px;
}

.next {
  right: -20px;
}

/* Dots */
.dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
  padding: 2px;
}

.dot {
  width: 12px;
  height: 12px;
  background: #777;
  border-radius: 50%;
  cursor: pointer;
  transition: .3s;
}

.dot.active {
  background: var(--red);
  transform: scale(1.3);
}

/* subnav */
.subnav {
  background: var(--red);
  color: #fff;
  padding: 16px var(--pad);
  text-align: center;
  font-size: .95rem;
}

.subnav a {
  color: #fff;
  opacity: .9
}

.subnav a:hover {
  opacity: 1
}

/* Popup */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .6);
  padding: 24px;
  z-index: 9999;
}

.modal.open {
  display: flex
}

.modal-card {
  width: min(600px, 100%);
  background: #fff;
  color: #111;
  padding: 28px;
  border-radius: 18px;
  position: relative;
      z-index: 99999;

}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
  color: #333;
}

.small-h {
  font-size: 20px;
}

.top-space {
  margin-top: 20px;
}

.link {
  color: var(--red);
  text-decoration: underline;
}

.link:hover {
  color: var(--text);
  transition: 0.5s;
}

/* Responsive */
@media(max-width: 1400px) {
  .services img {
    height: 100vh;
    width: auto;
    left: -22%;
    transition: 0.5s;
  }
}

@media (max-width: 1200px) {

  .about,
  .services-inner,
  .customers-inner,
  .contact {
    grid-template-columns: 1fr;
  }

  .about-media {
    min-height: 550px;
    background: url(../img/senior-couple.webp) center/cover no-repeat;
    justify-self: end;
    width: 100%;
    position: relative;
    right: -8%;
  }

  .services-copy,
  .customer-panel {
    grid-column: auto;
  }

  .services img {
    display: none;
  }

  .customer-panel {
    margin-left: 0;
  }

  .customers::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, .84) 0 100%);
  }
}

@media (max-width: 900px) {

  .services-inner {
    display: block;
    min-height: auto;
    padding: 60px 0;
  }

  .services-copy {
    padding: 40px 0;
  }

}

@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 350px;
    height: 100vh;
    background: #111;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    transition: right 0.4s ease;
    z-index: 5;
  }

  .nav.active {
    right: 0;
  }

  .nav a {
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
  }

  /* Burger Animation */
  .burger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .burger.active span:nth-child(2) {
    opacity: 0;
  }

  .burger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }


  .hero {
    min-height: 560px;
    background-position: 65% center;
  }

  .hero-content {
    max-width: 100%;
    margin-left: 0;
  }

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

  .service-card {
    min-height: 160px;
  }

  .customers {
    background:
      linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .9)),
      url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
  }

  .customer-panel {
    min-height: auto;
  }

  .placeholder-box {
    min-height: 320px;
  }

  .slides img {
    width: calc((100% - 15px) / 2);
    height: 220px;
  }


  @media (max-width: 480px) {
    .slides img {
      width: 100%;
      height: 250px;
    }

    .prev {
      left: 5px;
    }

    .next {
      right: 5px;
    }
  }
}