@import url('assets/fonts/fonts.css');
 
/* ==========================================
   CSS Design Tokens
   ========================================== */
:root {
  --site-max-w: 1500px;
  --site-gutter: 2.5rem;
  --site-pad: max(var(--site-gutter), calc((100vw - var(--site-max-w)) / 2));
  --nav-h: 110px;
}

/* Global Resets & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  display: block;
  border: none;
  outline: none;
}

body {
  font-family: 'Manrope', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #2b2e33; /* Durchgehend einheitlicher Grauton */
  color: #ffffff;
  overflow-x: hidden;
}

/* ==========================================
   1. Hohes Nav in Grau
   ========================================== */
.main-nav {
  height: var(--nav-h);
  background-color: transparent;
  display: flex;
  align-items: center;
  padding-left: var(--site-pad);
  padding-right: var(--site-pad);
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: none;
}

.nav-container {
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  height: 55px;
  width: auto;
}

/* Menü Trigger & Sandton Burger Button */
.menu-trigger {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  user-select: none;
}

/* Menü-Schriftzug: Dünner & dauerhaft Weiß */
.menu-text {
  font-family: 'Manrope', sans-serif;
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-
  color: #ffffff !important;
}

.menu-trigger:hover .menu-text,
.menu-trigger.active .menu-text {
  color: #ffffff !important;
}

/* ------------------------------------------
   Burger Button (5 Linien)
   ------------------------------------------ */
.burger-icon {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  padding: 4px;
  outline: none;
}

.burger-icon .line {
  display: block;
  height: 2px;
  background-color: #d4a373; /* Sandton */
  border-radius: 0;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.35s ease;
}

.burger-icon .line-1 { width: 38px; }
.burger-icon .line-2 { width: 34px; }
.burger-icon .line-3 { width: 30px; }
.burger-icon .line-4 { width: 26px; }
.burger-icon .line-5 { width: 22px; }

/* Bei Klick / Active: Burger wird WEISS & ALLE Linien GLEICH LANG */
.burger-icon.active .line {
  background-color: #ffffff !important;
  width: 38px !important;
}

.main-nav.nav-open {
  background-color: #2b2e33 !important;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  height: var(--nav-h);
}

body.no-scroll {
  overflow: hidden;
}

.dark-logo-nav .nav-logo {
  filter: invert(0.85);
}
.dark-logo-nav.nav-open .nav-logo {
  filter: none;
}
.dark-logo-nav .burger-icon .line {
  background-color: #1a1c1e;
}
.dark-logo-nav .menu-text {
  color: #1a1c1e;
}
.dark-logo-nav.nav-open .menu-text {
  color: #ffffff;
}

/* ==========================================
   2. Ausklappbares Menü
   ========================================== */
.dropdown-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  width: 100vw;
  height: calc(100vh - var(--nav-h));
  background-color: #2b2e33;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding: 0 var(--site-pad) 3rem var(--site-pad);
  z-index: 99;
  border-bottom: none;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.4s ease;
}

.dropdown-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.dropdown-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* Links rechtsbündig ausrichten */
  gap: 1.4rem;
}

.dropdown-menu a {
  font-family: 'Tinos', serif; /* Akzent-Schriftart */
  color: #ffffff; /* Weiß */
  text-decoration: underline; /* Unterstrichen */
  text-underline-offset: 8px;
  text-decoration-thickness: 1px;
  font-size: clamp(3rem, 4.5vw, 4.8rem); /* Exakt genauso groß wie die Überschriften der Bilder! */
  font-weight: 400;
  line-height: 1.15;
  text-align: right;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.dropdown-menu a:hover {
  color: #ffffff;
  opacity: 0.75;
}

/* ==========================================
   3. Hero Slider Bereich (Aufbau wie Referenz, Farben der Schreinerei)
   ========================================== */
.hero-slider-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 750px;
  background-color: #2b2e33;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + 3.5rem);
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-left: var(--site-pad);
  padding-right: var(--site-pad);
  margin-bottom: 2rem;
  position: relative;
  z-index: 10;
}

.hero-title-wrapper {
  max-width: 650px;
}

.hero-title {
  font-family: 'Tinos', serif;
  font-size: clamp(3rem, 4.5vw, 4.8rem);
  font-weight: 400;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 1.5rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-title.fade {
  opacity: 0;
  
}

.hero-subtitle {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-subtitle.fade {
  opacity: 0;
  
}

.hero-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.05em;
}

.hero-cta-link:hover {
  text-decoration: underline;
  color: #ffffff;
}

.hero-nav-wrapper {
  display: flex;
  gap: 5rem;
  align-items: center;
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: #ffffff;
  margin-top: 1rem;
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.slide-counter {
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: #a0a0a0;
}

.slider-controls button {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease, transform 0.2s ease;
}

.slider-controls button:hover {
  color: #d4a373;
  
}

.cta-arrow {
  font-size: 1.6rem;
}

/* Slider Track Container */
.slider-track-container {
  width: 100%;
  flex-grow: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end; /* Alle Bilder schließen am unteren Bildschirmrand ab */
  padding-bottom: 0;
}

.slider-track {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
}

.slider-track:active {
  cursor: grabbing;
}

/* Inaktive Bilder: kleiner für stärkeren Kontrast zum aktiven Bild */
.slide-item {
  flex-shrink: 0;
  width: 290px;
  height: 380px;
  position: relative;
  transition: width 0.8s cubic-bezier(0.25, 1, 0.5, 1), height 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease;
  cursor: pointer;
  opacity: 0.55;
  border-radius: 0;
  overflow: hidden;
  user-select: none;
  -webkit-user-drag: none;
}

.slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* Aktives Bild: deutlich größer & imposant */
.slide-item.active {
  width: 520px;
  height: 620px;
  opacity: 1;
}

/* ==========================================
   3.5. Über Uns / Text Section (Heller Sand-Hintergrund mit weit gestreutem Rand-Verlauf)
   ========================================== */
.about-text-section {
  padding: 12rem var(--site-pad);
  margin-top: 4rem;
  margin-bottom: 4rem;
  background-color: #2b2e33;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
  overflow: hidden;
  min-height: 650px;
}

/* 1994 Wasserzeichen */
.year-watermark-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Tinos', serif;
  font-size: clamp(16rem, 42vw, 42rem);
  font-weight: 700;
  color: #ffffff;
  opacity: 0.03;
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  z-index: 1;
}

.about-text-container {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.about-content {
  max-width: 1100px;
  text-align: center; /* Mittelbündig */
}

.about-editorial-text {
  font-family: 'Tinos', serif;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  font-weight: 400;
  line-height: 1.55;
  color: #ffffff;
  text-align: center; /* Mittelbündig */
}

.highlight-sand {
  color: #d4a373; /* Hellerer Sandton für dunklen Hintergrund */
  font-weight: 500;
}

/* ==========================================
   4. Services / Bento Grid (Große 45° Hintergrund-Icons)
   ========================================== */
.services-section {
  padding: 8rem var(--site-pad) 10rem;
  background-color: #2b2e33;
  display: flex;
  justify-content: center;
  width: 100%;
}

.services-container {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.bento-card {
  background-color: #e8dfd5; /* Sehr heller, edler Sandton */
  border-radius: 24px;
  padding: 2.5rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden; /* Verhindert das Überstehen des großen Icons */
   /* Flaches Design */
}

/* Große dunkle schräge Hintergrund-Wasserzeichen-Icons (45 Grad) */
.bento-bg-icon {
  position: absolute;
  top: -40px;
  right: -40px;
  font-size: 320px !important;
  color: #1a1c1e;
  opacity: 0.055; /* Subtiles dunkles Wasserzeichen auf hellem Sand */
  
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.bento-card-content {
  position: relative;
  z-index: 2; /* Schrift & Button liegen vor dem Icon */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Exakte Höhen & Breiten-Proportionen */
.bento-card-1 {
  grid-column: span 5; /* 41.6% Breite */
  height: 360px;
}

.bento-card-2 {
  grid-column: span 7; /* 58.3% Breite */
  height: 360px;
}

.bento-card-3 {
  grid-column: span 7; /* 58.3% Breite */
  height: 420px;
}

.bento-card-4 {
  grid-column: span 5; /* 41.6% Breite */
  height: 420px;
}

/* Überschriften in dunklem Anthrazit für hervorragenden Lesekontrast */
.bento-title {
  font-family: 'Tinos', serif;
  font-size: 2.15rem;
  font-weight: 400;
  line-height: 1.18;
  color: #1a1c1e;
  margin-bottom: 0.8rem;
}

.bento-text {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: #2e323a;
  line-height: 1.55;
  margin-bottom: 0.5rem;
}

/* Kontrastreicher dunkler Pill-Button: runde Kanten, kein Schatten, Pfeil oben-rechts, Hover sandfarben */
.bento-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: #1a1c1e;
  color: #ffffff;
  text-decoration: none;
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.65rem 1.4rem;
  border-radius: 50px;
   /* Kein Schatten */
  margin-top: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.bento-btn:hover {
  background-color: #111111;
}

.btn-arrow {
  font-size: 1.1rem;
}

@media (max-width: 1200px) {
  /* padding handled by --site-pad formula automatically */
  .services-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .slide-item {
    width: 240px;
    height: 320px;
  }
  .slide-item.active {
    width: 440px;
    height: 540px;
  }
}

@media (max-width: 900px) {
  :root {
    --nav-h: 90px;
    --site-gutter: 2rem;
  }
  .about-text-section {
    padding-top: 5rem;
    padding-bottom: 3rem;
  }
  .services-section {
    padding-bottom: 6rem;
  }
  .services-container {
    grid-template-columns: 1fr;
  }
  .bento-card-1,
  .bento-card-2,
  .bento-card-3,
  .bento-card-4 {
    grid-column: span 1;
    height: auto;
    min-height: 220px;
  }
  .nav-logo {
    height: 45px;
  }
  .hero-slider-section {
    min-height: 600px;
    padding-top: calc(var(--nav-h) + 2rem);
  }
  .hero-top {
    flex-direction: column;
    gap: 1.5rem;
  }
  .hero-title-wrapper {
    max-width: 100%;
  }
  .slide-item {
    width: 200px;
    height: 280px;
  }
  .slide-item.active {
    width: 340px;
    height: 440px;
  }
}

@media (max-width: 600px) {
  :root {
    --nav-h: 70px;
    --site-gutter: 1.25rem;
  }
  .about-text-section {
    padding-top: 4rem;
    padding-bottom: 2rem;
  }
  .services-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .services-container {
    grid-template-columns: 1fr;
  }
  .bento-card:nth-child(1),
  .bento-card:nth-child(2),
  .bento-card:nth-child(3),
  .bento-card:nth-child(4) {
    grid-column: span 1;
  }
  .bento-card {
    height: auto;
    min-height: 180px;
  }
  .nav-logo {
    height: 35px;
  }
  .dropdown-menu ul {
    gap: 1.2rem;
  }
  .dropdown-menu a {
    font-size: 2.5rem;
  }
  .menu-text {
    display: none;
  }
  .hero-slider-section {
    min-height: 520px;
    padding-top: calc(var(--nav-h) + 1.25rem);
  }
  .hero-top {
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }
  .hero-title {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
  }
  .hero-nav-wrapper {
    margin-top: 0;
    gap: 2rem;
  }
  .slider-track {
    gap: 20px;
  }
  .slide-item {
    width: calc(100vw - 2 * var(--site-gutter));
    height: 380px;
  }
  .slide-item.active {
    width: calc(100vw - 2 * var(--site-gutter));
    height: 380px;
  }
}

/* ==========================================
   5. Leistungen Page Styles
   ========================================== */
.leistungen-header {
  padding: calc(var(--nav-h) + 12rem) var(--site-pad) 10rem;
  background-image: linear-gradient(rgba(26, 28, 30, 0.75), rgba(26, 28, 30, 0.75)), url('assets/Referenzen/Services/Ueberdachung_2.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 8rem;
}

.simple-header {
  padding: calc(var(--nav-h) + 12rem) var(--site-pad) 10rem;
  background-color: #2b2e33;
  margin-bottom: 8rem;
}

.sand-header {
  padding: calc(var(--nav-h) + 12rem) var(--site-pad) 10rem;
  background-color: #e8dfd5;
  margin-bottom: 8rem;
}

.sand-header .page-title,
.sand-header .page-subtitle {
  color: #1a1c1e;
}

.page-title {
  font-family: 'Tinos', serif;
  font-size: clamp(3rem, 4.5vw, 4.8rem);
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-family: 'Manrope', sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  color: #d4a373;
}

.leistungen-content {
  padding: 0 var(--site-pad) 8rem;
  display: flex;
  flex-direction: column;
  gap: 10rem;
}

.leistung-category {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  scroll-margin-top: 150px;
}

.category-header {
  border-bottom: 1px solid #444;
  padding-bottom: 1rem;
  margin-bottom: 0.5rem;
}

.category-title {
  font-family: 'Tinos', serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.category-desc {
  font-family: 'Manrope', sans-serif;
  font-size: 1.15rem;
  font-weight: 300;
  color: #e6e6e6;
  line-height: 1.65;
  max-width: 800px;
}

/* Bento Image Grid */
.bento-image-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

/* Modifier für 3 Bilder */
.bento-image-grid.gallery-3 .gallery-item:nth-child(1) {
  grid-column: span 5;
  height: 360px;
}
.bento-image-grid.gallery-3 .gallery-item:nth-child(2) {
  grid-column: span 7;
  height: 360px;
}
.bento-image-grid.gallery-3 .gallery-item:nth-child(3) {
  grid-column: span 12;
  height: 420px;
}

/* Modifier für 4 Bilder */
.bento-image-grid.gallery-4 .gallery-item:nth-child(1) {
  grid-column: span 5;
  height: 360px;
}
.bento-image-grid.gallery-4 .gallery-item:nth-child(2) {
  grid-column: span 7;
  height: 360px;
}
.bento-image-grid.gallery-4 .gallery-item:nth-child(3) {
  grid-column: span 7;
  height: 420px;
}
.bento-image-grid.gallery-4 .gallery-item:nth-child(4) {
  grid-column: span 5;
  height: 420px;
}

.gallery-item {
  width: 100%;
  overflow: hidden;
  border-radius: 0;
  background-color: #1a1c1e;
  position: relative;
}

.gallery-item.lightbox-trigger {
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.gallery-item:hover img {
  
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(26, 28, 30, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 12px;
  
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.3s ease;
  z-index: 2001;
}

.lightbox-close:hover {
  color: #d4a373;
}

@media (max-width: 900px) {
  /* padding handled by --site-pad / --site-gutter */
  .leistungen-header,
  .simple-header,
  .sand-header {
    padding-top: calc(var(--nav-h) + 4rem);
    padding-bottom: 4rem;
    margin-bottom: 3rem;
  }
  .leistungen-content {
    gap: 6rem;
  }
  .bento-image-grid {
    grid-template-columns: 1fr;
  }
  .bento-image-grid .gallery-item {
    grid-column: span 1 !important;
    height: auto !important;
    min-height: 220px;
  }
}

@media (max-width: 600px) {
  .leistungen-header,
  .simple-header,
  .sand-header {
    padding-top: calc(var(--nav-h) + 2.5rem);
    padding-bottom: 3rem;
    margin-bottom: 2.5rem;
  }
  .bento-image-grid .gallery-item {
    min-height: 180px;
  }
  .page-title {
    font-size: 2.2rem;
  }
  .lightbox-close {
    top: 15px;
    right: 20px;
    font-size: 30px;
  }
}

/* ==========================================
   6. Scroll to Top Button
   ========================================== */
.scroll-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 55px;
  height: 55px;
  background-color: #d4a373;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  
}

.scroll-to-top:hover {
  background-color: #b88656;
}

.scroll-to-top .material-symbols-outlined {
  font-size: 28px;
  font-weight: 500;
}

@media (max-width: 600px) {
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
  .scroll-to-top .material-symbols-outlined {
    font-size: 24px;
  }
}

/* ==========================================
   7. CTA Section
   ========================================== */
.cta-section {
  padding: 8rem var(--site-pad);
  background-color: #e8dfd5;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-container {
  width: 100%;
  max-width: 900px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta-title {
  font-family: 'Tinos', serif;
  font-size: 3rem;
  font-weight: 400;
  color: #1a1c1e;
}

.cta-desc {
  font-family: 'Manrope', sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  color: #2b2e33;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.cta-phone {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: 'Manrope', sans-serif;
  font-size: 1.5rem;
  color: #000000;
  margin-top: 1rem;
}

.cta-phone .material-symbols-outlined {
  color: #000000;
}

.cta-phone a {
  color: #000000;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.cta-phone a:hover {
  opacity: 0.75;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #1a1c1e;
  color: #e8dfd5;
  text-decoration: none;
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  width: fit-content;
  align-self: center;
}

.cta-btn:hover {
  background-color: #2b2e33;
  
}

/* ==========================================
   8. Kontakt Seite
   ========================================== */
.contact-section {
  padding: calc(var(--nav-h) + 6rem) var(--site-pad) 8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  width: 100%;
  background-color: #e8dfd5;
  border-radius: 24px;
  padding: 4rem;
}

.contact-info-box {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-title {
  font-family: 'Tinos', serif;
  font-size: 2.5rem;
  color: #1a1c1e;
  font-weight: 400;
}

.contact-desc {
  font-family: 'Manrope', sans-serif;
  font-size: 1.15rem;
  font-weight: 300;
  color: #2b2e33;
  line-height: 1.6;
}

.contact-phone {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-phone .material-symbols-outlined {
  color: #1a1c1e;
  font-size: 28px;
  flex-shrink: 0;
}

.contact-phone a,
.contact-phone .contact-text,
.contact-phone span:not(.material-symbols-outlined) {
  font-family: 'Manrope', sans-serif;
  font-size: 1.35rem;
  color: #1a1c1e;
  text-decoration: none;
  font-weight: 500;
  line-height: 1.3;
  transition: opacity 0.3s ease;
}

.contact-phone a:hover {
  opacity: 0.8;
}

.contact-form-box {
  width: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  color: #1a1c1e;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  padding: 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(26, 28, 30, 0.2);
  background-color: #ffffff;
  color: #1a1c1e;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #1a1c1e;
}

.contact-map-full {
  position: relative;
  width: 100vw;
  height: 50vh;
  min-height: 420px;
  overflow: hidden;
  margin-top: 0;
  display: block;
  background-color: #1a0404;
}

.map-consent-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  background: 
    radial-gradient(ellipse at 15% 25%, rgba(220, 38, 38, 0.75) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 75%, rgba(185, 28, 28, 0.8) 0%, transparent 50%),
    radial-gradient(circle at 50% 45%, rgba(153, 27, 27, 0.95) 0%, rgba(92, 13, 13, 0.98) 45%, rgba(46, 5, 5, 1) 80%, #1a0404 100%);
  backdrop-filter: blur(60px) saturate(220%);
  -webkit-backdrop-filter: blur(60px) saturate(220%);
  z-index: 10;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.map-consent-overlay::before {
  content: '';
  position: absolute;
  inset: -15%;
  background: radial-gradient(circle at 50% 50%, rgba(239, 68, 68, 0.35) 0%, rgba(127, 29, 29, 0.4) 40%, rgba(30, 4, 4, 0.7) 80%, transparent 100%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}

.map-consent-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.map-consent-content {
  position: relative;
  z-index: 2;
  max-width: 540px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.map-consent-icon {
  font-size: 42px;
  color: #ffffff;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.map-consent-title {
  font-family: 'Tinos', serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.map-consent-text {
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem;
  color: #ffffff;
  opacity: 0.95;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.map-consent-text a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.map-consent-text a:hover {
  opacity: 0.8;
}

.map-consent-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #ffffff;
  color: #dc2626;
  border: none;
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.map-consent-btn:hover {
  background-color: #fef2f2;
  color: #b91c1c;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
}

.map-iframe-container {
  width: 100%;
  height: 100%;
}

.map-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #d4a373;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #d4a373;
  color: #1a1c1e;
  border: none;
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  align-self: flex-start;
}

.submit-btn:hover {
  background-color: #b88656;
}

.submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
}

.form-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.98rem;
  line-height: 1.5;
  margin-top: 0.5rem;
  transition: all 0.3s ease;
}

.form-status-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.form-status.loading {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.form-status.success {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.form-status.error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.form-status-icon.spin {
  animation: spinStatus 1s linear infinite;
}

@keyframes spinStatus {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  /* padding handled by --site-pad / --site-gutter */
  body.contact-page {
    background-color: #e8dfd5;
  }
  .contact-section {
    background-color: #e8dfd5;
    padding-top: calc(var(--nav-h) + 2rem);
    padding-bottom: 4.5rem;
  }
  .contact-container {
    grid-template-columns: 1fr;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    gap: 2.5rem;
    max-width: 620px;
    margin: 0 auto;
  }
  .contact-form-box {
    order: 1;
  }
  .contact-info-box {
    order: 2;
    padding: 2rem 0 0;
    border-top: 1px solid rgba(26, 28, 30, 0.15);
  }
  .contact-nav:not(.nav-open) .nav-logo {
    filter: invert(0.85);
  }
  .contact-nav:not(.nav-open) .burger-icon .line {
    background-color: #1a1c1e;
  }
}

@media (max-width: 600px) {
  .cta-title {
    font-size: 2.2rem;
  }
  .cta-phone {
    font-size: 1.25rem;
  }
  .contact-section {
    padding-top: calc(var(--nav-h) + 1.25rem);
    padding-bottom: 3.5rem;
  }
  .contact-container {
    gap: 2rem;
  }
  .contact-title {
    font-size: 1.8rem;
  }
  .contact-desc {
    font-size: 1rem;
    line-height: 1.5;
  }
  .contact-info-box {
    padding: 1.5rem 0 0;
    gap: 1.2rem;
  }
  .contact-phone {
    gap: 0.75rem;
  }
  .contact-phone .material-symbols-outlined {
    font-size: 24px;
  }
  .contact-phone a,
  .contact-phone .contact-text,
  .contact-phone span:not(.material-symbols-outlined) {
    font-size: 1.1rem;
  }
  .contact-form {
    gap: 1.15rem;
  }
  .form-group {
    gap: 0.35rem;
  }
  .form-group label {
    font-size: 0.95rem;
  }
  .form-group input,
  .form-group textarea {
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    border-radius: 10px;
  }
  .submit-btn {
    padding: 0.95rem 1.8rem;
    font-size: 1rem;
    width: 100%;
    justify-content: center;
    background-color: #1a1c1e;
    color: #ffffff;
  }
  .submit-btn:hover {
    background-color: #2b2e33;
  }
}

/* ==========================================
   11. About Page
   ========================================== */
.about-page-section {
  padding: 0 var(--site-pad) 8rem;
}

.about-page-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.section-title {
  font-family: 'Tinos', serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.about-page-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-desc {
  font-family: 'Manrope', sans-serif;
  font-size: 1.15rem;
  font-weight: 300;
  color: #e6e6e6;
  line-height: 1.65;
}

.about-page-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

@media (max-width: 900px) {
  /* padding handled by --site-pad / --site-gutter */
  .about-page-container {
    grid-template-columns: 1fr;
  }
  .about-page-image img {
    height: 400px;
  }
}

/* ==========================================
   12. Erweiterte Über Uns Sektionen
   ========================================== */
.history-section {
  padding: 4rem var(--site-pad) 8rem;
}

.history-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.history-image {
  position: relative;
}

.history-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.year-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background-color: #d4a373;
  color: #2b2e33;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Tinos', serif;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  
  z-index: 2;
}

.history-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.team-section {
  padding: 4rem var(--site-pad) 8rem;
}

.team-header {
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.text-center {
  text-align: center;
}

.max-w-700 {
  max-width: 700px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.team-card {
  background-color: #2b2e33;
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.team-card:hover {
  
  
  border-color: rgba(212, 163, 115, 0.3);
}

.team-avatar {
  width: 100px;
  height: 100px;
  background-color: rgba(212, 163, 115, 0.1);
  border-radius: 50%;
  margin: 0 auto 1.5rem auto;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #d4a373;
}

.team-avatar .material-symbols-outlined {
  font-size: 3rem;
}

.team-name {
  font-family: 'Tinos', serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.team-role {
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  color: #d4a373;
  font-weight: 500;
  text-
  letter-spacing: 0.05em;
}

@media (max-width: 900px) {
  /* padding handled by --site-pad / --site-gutter */
  .history-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .history-image {
    order: -1;
  }
  .year-badge {
    bottom: -20px;
    right: 10px;
    width: 110px;
    height: 110px;
    font-size: 1.4rem;
  }
}

.team-image-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.team-group-image {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================
   Parallax Photo Collage Section
   ========================================== */
.photo-collage-section {
  width: 100vw;
  max-width: 100%;
  margin-left: calc(-50vw + 50%);
  margin-bottom: 0;
  overflow: hidden;
  background-color: #1a1c1e;
}

.collage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 12vw; /* reduced from 20vw to make the block less tall */
  gap: 0;
}

.collage-item {
  position: relative;
  overflow: hidden; /* Contains the parallax overlap */
  background-color: #2b2e33;
}

.collage-item img {
  width: 100%;
  height: 180%; /* Huge leeway for parallax */
  object-fit: cover;
  position: absolute;
  top: -40%;
  left: 0;
  will-change: transform;
}

/* Grid Spans for the "one big photo" block look */
.item-large {
  grid-column: span 2;
  grid-row: span 2;
}

.item-tall {
  grid-row: span 2;
}

.item-wide {
  grid-column: span 4;
  grid-row: span 2;
}

.item-wide img {
  object-position: center 25%;
}

/* Responsive Collage */
@media (max-width: 900px) {
  .collage-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 25vw;
  }
  .item-wide {
    grid-column: span 2;
  }
  .item-large {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (max-width: 600px) {
  .collage-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 50vw;
  }
  .item-large, .item-tall, .item-wide {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* ==========================================
   Minimal Footer
   ========================================== */
.minimal-footer {
  padding: 4rem var(--site-pad) 2rem;
  font-family: 'Manrope', sans-serif;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

/* Dark Variant */
.footer-dark {
  background-color: #1a1c1e;
  color: #888;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-dark .footer-top a { color: #888; }
.footer-dark .footer-top a:hover { color: #ffffff; }
.footer-dark .divider { color: #444; }
.footer-dark .footer-bottom img {
  filter: brightness(0) invert(1);
  opacity: 0.15;
}

/* Sand Variant */
.footer-sand {
  background-color: #e8dfd5;
  color: #2b2e33;
}
.footer-sand .footer-top a { color: #2b2e33; }
.footer-sand .footer-top a:hover { color: #000000; }
.footer-sand .divider { color: #666; }
.footer-sand .footer-bottom img {
  filter: brightness(0);
  opacity: 0.08;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  font-size: 0.9rem;
  font-weight: 300;
}

.footer-top a {
  color: #888;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-top a:hover {
  color: #ffffff;
}

.footer-center a {
  font-weight: 300;
}
.footer-center a strong {
  font-weight: 600;
}

.divider {
  margin: 0 0.5rem;
  color: #444;
}

.footer-bottom {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: center;
}

.footer-bottom img {
  width: 100%;
  height: auto;
  transition: opacity 0.3s ease;
}

@media (max-width: 900px) {
  /* padding handled by --site-pad / --site-gutter */
  .footer-top {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

.legal-content {
  padding: 3rem var(--site-pad) 8rem;
  min-height: 40vh;
}

.legal-content .legal-block {
  margin-bottom: 3.5rem;
  max-width: 860px;
}

.legal-content h2 {
  font-family: 'Tinos', serif;
  font-size: clamp(1.8rem, 2.5vw, 2.2rem);
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.legal-content h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #d4a373;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content p,
.legal-content li {
  color: #e6e6e6;
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-content ul {
  padding-left: 1.75rem;
  margin-bottom: 1.5rem;
}

.legal-content strong {
  color: #ffffff;
  font-weight: 600;
}

.legal-content a {
  color: #d4a373;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.legal-content a:hover {
  color: #e5b98f;
}

.legal-content code {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.95em;
  color: #f3f4f6;
}

@media (max-width: 600px) {
  .legal-content {
    padding-top: 2rem;
  }
  .legal-content .legal-block {
    margin-bottom: 2.5rem;
  }
}


