/* ============================================================
   Zeltverleih Stimming | Layout auf Basis des Ziel-Designs
   ============================================================ */

:root {
  --black: #080808;
  --yellow: #f5c400;
  --yellow-soft: #ffd84d;
  --light: #fffaf0;
  --dark: #222;
  --black-soft: #141414;
  --cream: #f7f2df;
}

/* ============================================================
   GRUNDLAYOUT
   ============================================================ */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: #fff;
  text-align: center;
  line-height: 1.6;
}
a {
  color: var(--black);
  text-decoration: none;
  transition: color .3s ease, opacity .3s ease;
}
a:hover {
  color: var(--yellow);
  opacity: .9;
}

/* ============================================================
   HERO SLIDESHOW
   ============================================================ */
.hero-slideshow {
  position: relative;
  height: 80vh;
  overflow: hidden;
}
.hero-slideshow .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.4s ease, transform 8s ease;
}
.hero-slide-1 {
  background-position: center center;
}
.hero-slideshow .slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.72), rgba(0,0,0,0.46), rgba(245,196,0,0.16));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 2rem;
}
.hero-text {
  max-width: 1360px;
  width: min(1360px, 96vw);
}
.hero-logo {
  display: block;
  width: min(1320px, 96vw);
  max-height: 500px;
  object-fit: contain;
  margin: 0 auto 1.35rem;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.72));
}
.hero-text h1 {
  font-size: clamp(1.8rem,4vw,3rem);
  margin-bottom: 1rem;
}
.btn-primary {
  display: inline-block;
  background: var(--yellow);
  color: #080808;
  padding: .8rem 1.6rem;
  border-radius: 50px;
  font-weight: 600;
  margin-top: 1rem;
  transition: .3s ease;
}
.btn-primary:hover {
  background: var(--yellow-soft);
  color: #080808;
  box-shadow: 0 0 0 3px rgba(245,196,0,0.22), 0 10px 24px rgba(0,0,0,0.18);
}
.btn-secondary {
  display: inline-block;
  background: #fff;
  color: var(--black);
  padding: .8rem 1.6rem;
  border: 1px solid rgba(8,8,8,0.18);
  border-radius: 50px;
  font-weight: 600;
  margin-top: 1rem;
  transition: .3s ease;
}
.btn-secondary:hover {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
  box-shadow: 0 10px 24px rgba(0,0,0,0.14);
}

/* ============================================================
   SECTIONS & GRADIENTS
   ============================================================ */
section {
  padding: 5rem 1rem;
}
h2 {
  color: var(--black);
  font-size: 2rem;
  margin-bottom: 2rem;
}
.intro {
  max-width: 720px;
  margin: 0 auto 3rem;
  color: #333;
}
.content-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}
.section-gradient-light {
  background: linear-gradient(180deg,#ffffff 0%,#fff8df 100%);
}
.section-gradient-green {
  background: linear-gradient(180deg,#121212 0%,#050505 100%);
  color: #fff;
}
.section-gradient-greenish {
  background: linear-gradient(180deg,#fff8df 0%,#f7f2df 100%);
}
.section-gradient-green h2,
.section-gradient-green .intro {
  color: #fff;
}

/* ============================================================
   LEISTUNGEN
   ============================================================ */
.angebot-layout {
  display: grid;
  grid-template-columns: minmax(280px, .95fr) minmax(360px, 1.05fr);
  gap: 2.6rem;
  align-items: center;
  margin-top: 1.4rem;
  text-align: left;
}
.angebot-gallery {
  display: grid;
  gap: .9rem;
}
.angebot-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(245,196,0,0.22);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.14);
}
.angebot-gallery-main {
  aspect-ratio: 4 / 3;
}
.angebot-gallery-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .9rem;
}
.angebot-gallery-row img {
  aspect-ratio: 4 / 3;
}
.angebot-text {
  padding: 2.25rem;
  background: #fff;
  border: 1px solid rgba(245,196,0,0.22);
  border-left: 6px solid var(--yellow);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.10);
}
.angebot-text h3 {
  margin: 0 0 1rem;
  color: var(--black);
  font-size: 1.45rem;
}
.angebot-text p {
  margin: 0 0 1rem;
  color: #333;
}
.angebot-text p:last-of-type {
  margin-bottom: 0;
}
.angebot-text a:not(.btn-primary):not(.btn-secondary) {
  color: var(--black);
  border-bottom: 2px solid var(--yellow);
  font-weight: 700;
}
.angebot-text a:not(.btn-primary):not(.btn-secondary):hover {
  color: var(--yellow);
}
.angebot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.35rem;
}
@media(max-width:850px){
  .angebot-layout {
    grid-template-columns: 1fr;
  }
  .angebot-text {
    padding: 1.6rem;
  }
  .angebot-gallery-main {
    aspect-ratio: 16 / 10;
  }
}

/* ============================================================
   REFERENZEN
   ============================================================ */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: 2rem;
}
.ref-card {
  background: #151515;
  border: 1px solid rgba(245,196,0,0.18);
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,.12);
  padding: 1rem;
  transition: .3s;
}
.ref-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 22px rgba(245,196,0,.28);
}
.ref-card h3,
.ref-card p {
  color: #fff;
}
.ref-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: .8rem;
}

/* ============================================================
   PARTNER
   ============================================================ */
.partner-highlight {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 0 25px rgba(245,196,0,0.22);
  padding: 1.8rem 1rem;
  margin: 0 auto 4rem;
  max-width: 360px;
}
.partner-highlight .highlight-logo {
  max-width: 150px;
  margin-bottom: 1rem;
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2rem;
  justify-items: center;
}
@media(max-width:900px){.partner-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:600px){.partner-grid{grid-template-columns:1fr;}}
.partner-item {
  background: #fffaf0;
  border: 1px solid rgba(245,196,0,0.18);
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,.12);
  padding: 1rem;
  max-width: 280px;
  transition: .3s;
}
.partner-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 22px rgba(245,196,0,.28);
}
.partner-item img {
  max-width: 120px;
  margin-bottom: 1rem;
}
.preisliste-simple {
  max-width: 760px;
}
.preisliste-simple .intro {
  margin-bottom: 1.2rem;
}

.image-strip-slideshow {
  position: relative;
  height: clamp(220px, 28vw, 340px);
  padding: 0;
  overflow: hidden;
  background: #050505;
  border-top: 1px solid rgba(245,196,0,0.28);
  border-bottom: 1px solid rgba(245,196,0,0.28);
}
.image-strip-slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.56), rgba(0,0,0,0.08), rgba(0,0,0,0.48)),
    linear-gradient(180deg, rgba(0,0,0,0.10), rgba(245,196,0,0.10));
  pointer-events: none;
}
.strip-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  animation: stripFade 24s infinite;
}
.strip-slide:nth-child(2) {
  animation-delay: 6s;
}
.strip-slide:nth-child(3) {
  animation-delay: 12s;
}
.strip-slide:nth-child(4) {
  animation-delay: 18s;
}
@keyframes stripFade {
  0% {
    opacity: 0;
    transform: scale(1.04);
  }
  8% {
    opacity: 1;
  }
  25% {
    opacity: 1;
  }
  33% {
    opacity: 0;
    transform: scale(1.1);
  }
  100% {
    opacity: 0;
    transform: scale(1.1);
  }
}
@media(max-width:700px){
  .image-strip-slideshow {
    height: 220px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .strip-slide {
    animation: none;
  }
  .strip-slide:first-child {
    opacity: 1;
    transform: none;
  }
}

.next-step-band {
  padding: 3.5rem 1rem;
  background:
    linear-gradient(135deg, rgba(0,0,0,0.92), rgba(0,0,0,0.82)),
    linear-gradient(90deg, rgba(245,196,0,0.22), rgba(255,216,77,0.04));
  color: #fff;
  border-top: 1px solid rgba(245,196,0,0.35);
  border-bottom: 1px solid rgba(245,196,0,0.35);
}
.next-step-band h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}
.next-step-band p {
  max-width: 760px;
  margin: 0 auto 0.7rem;
  color: #f7f2df;
}

/* ============================================================
   KONTAKT
   ============================================================ */
.kontakt-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
  align-items: flex-start;
  margin-top: 1.8rem;
}
.kontakt-person {
  flex: 0 1 520px;
  max-width: 520px;
  text-align: center;
  background: #fffaf0;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(245,196,0,0.18);
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}
.kontakt-person p {
  margin: 0.4rem 0 0;
}
.kontakt-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .8rem;
  margin-top: 1.25rem;
}
.portrait {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 4px solid var(--black);
  object-fit: cover;
  margin-bottom: 1rem;
}

/* ============================================================
   FOOTER & CTA-BUTTON
   ============================================================ */
footer {
  background: var(--black);
  color: #fff;
  text-align: center;
  padding: 1.2rem;
}
footer a {
  color: var(--yellow);
  text-decoration: none;
  font-weight: 600;
}
footer a:hover { opacity: .8; }

#cta-scroll {
  position: fixed;
  right: 25px;
  bottom: 25px;
  background: var(--yellow);
  color: var(--black);
  padding: .9rem 1.4rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
  transition: all .3s;
}
#cta-scroll:hover {
  background: var(--yellow-soft);
  color: #080808;
}

@media(max-width:850px){
  .hero-slide-1 {
    background-position: center center;
  }
  .hero-logo {
    width: min(680px, 94vw);
    max-height: 260px;
  }
}
