/* ### Copyright by bluWORX */
/* ### produced with love by Swen Braunreuter */
/* ### Version 1.1.0 */
/* =========================================================
   Basis / Variablen
   ========================================================= */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #222222;
  --muted: #4b5563;
  --primary: #b4407e;
  --primary-dark: #9a336b;
  --border: #e5e7eb;
  --container: 1120px;
  --radius: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

a {
  color: var(--primary-dark);
}

/* =========================================================
   Layout-Grundbausteine
   ========================================================= */
.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: 4rem 0;
}

.has-divider {
  border-top: 1px solid #f0f0f0;
}

.alt {
  background: #f9fafb;
}

/* =========================================================
   Header / Navigation / Mobile-Menue
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--primary);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}

.site-header--overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.main-nav {
  margin-left: auto;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  width: 2.6rem;
  height: 2.3rem;
  padding: 0;
  font-weight: 600;
  color: var(--text);
}

.menu-toggle-icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.menu-toggle-icon span {
  display: block;
  width: 18px;
  height: 2px;
  background: #222;
  border-radius: 4px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-open .menu-toggle-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open .menu-toggle-icon span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open .menu-toggle-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-list {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-list a {
  text-decoration: none;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.55rem;
  border-radius: 6px;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-list a:hover {
  color: #ffffff;
  background: #db2777;
  transform: translateY(-1px);
}

.nav-list a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
  background: #db2777;
}

/* =========================================================
   Hero (Fullscreen + Slider darunter)
   ========================================================= */
.hero-grid,
.two-col {
  display: grid;
  gap: 2rem;
}

.hero-fullscreen {
  padding: 0;
}

.hero-fullscreen-image {
  margin: 0;
  position: relative;
}

.hero-fullscreen-image img {
  width: 100%;
  height: 100svh;
  object-fit: cover;
}

.hero-fullscreen-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.08) 35%, rgba(0, 0, 0, 0.22));
  pointer-events: none;
}

.hero-strip {
  background: #fff;
  padding-top: 1.8rem;
}

.hero-grid {
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  color: var(--primary-dark);
  font-weight: 700;
  margin: 0 0 0.5rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

h2 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

p {
  margin-top: 0;
}

.btn {
  display: inline-block;
  margin-top: 0.75rem;
  background: var(--primary);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0.72rem 1.1rem;
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
}

.btn:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: #222222;
}

.hero-slider,
.project-image img {
  border-radius: var(--radius);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.15);
}

.hero-slider {
  position: relative;
  overflow: hidden;
  min-height: 220px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 320ms ease;
  margin: 0;
}

.hero-slide.is-active {
  opacity: 1;
  position: relative;
}

.hero-slide img {
  width: 100%;
  aspect-ratio: 1170 / 450;
  object-fit: cover;
}

.hero-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  background: rgba(34, 34, 34, 0.68);
  color: #fff;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  z-index: 2;
}

.hero-control-prev {
  left: 0.6rem;
}

.hero-control-next {
  right: 0.6rem;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 0.7rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 2;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.hero-dot.is-active {
  background: #ffffff;
}

/* =========================================================
   Inhaltssektionen / Karten
   ========================================================= */
.two-col {
  grid-template-columns: 1.2fr 0.8fr;
}

.card,
.map-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem;
}

.check-list {
  padding-left: 1.1rem;
}

.section-intro {
  color: var(--muted);
  margin: 0 auto 1.2rem;
  max-width: 720px;
  text-align: center;
}

.section-title-center {
  text-align: center;
  margin-bottom: 0.35rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.filter {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
}

.filter.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.gallery-item {
  margin: 0;
}

.gallery-item img {
  border-radius: 10px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.gallery-item img:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.16);
}

.gallery-item.is-hidden {
  display: none;
}

.map-container iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 10px;
  margin-top: 0.8rem;
}

/* =========================================================
   Kontaktformular
   ========================================================= */
.kontakt-section {
  padding-bottom: 4.8rem;
}

.contact-form {
  margin-top: 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  background: #fff;
}

.contact-form label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.form-grid {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 0.3rem;
  border: 1px solid #d6d9df;
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 500;
}

.consent input {
  width: auto;
  margin-top: 0.2rem;
}

.form-status {
  margin-top: 0.8rem;
  font-weight: 600;
}

.form-wait {
  margin-top: 0.7rem;
  margin-bottom: 0;
  color: #6b7280;
  font-size: 0.9rem;
}

.form-status.is-success {
  color: #047857;
}

.form-status.is-error {
  color: #b91c1c;
}

.contact-form .btn[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--border);
  background: #f3f4f6;
}

.footer-wrap {
  padding: 1rem 0;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-wrap nav {
  display: flex;
  gap: 1rem;
}

/* =========================================================
   Lightbox (Galerie)
   ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(17, 16, 14, 0.9);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1100px, 96vw);
  max-height: 85vh;
  border-radius: 10px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #151515;
  font-size: 1.05rem;
  cursor: pointer;
}

/* =========================================================
   Responsive Breakpoints
   ========================================================= */
@media (max-width: 900px) {
  .hero-grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .nav-wrap {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  }

  .main-nav {
    width: 100%;
    display: none;
    margin-left: 0;
    border-top: 1px solid var(--border);
    padding-top: 0.6rem;
  }

  .main-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 0.45rem;
  }

  .nav-list a {
    display: inline-block;
    padding: 0.25rem 0;
  }

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