@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&family=Open+Sans:wght@400;500;600&display=swap');

:root {
  --navy: #173448;
  --gold: #b1152a;
  --gold-dark: #a47d3d;
  --cream: #f7f5f0;
  --line: #e8e3da;
}

/*
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  color: var(--navy);
  background: #fff;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }

.site-header {
  height: 66px;
  background: #fff;
}
.header-inner {
  width: calc(100% - 64px);
  height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand img { width: 226px; height: 50px; object-fit: contain; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 31px;
  margin-left: 58px;
}
.main-nav a {
  height: 66px;
  display: flex;
  align-items: center;
  font-size: 11px;
  position: relative;
  white-space: nowrap;
}
.main-nav a.active::after {
  content: "";
  position: absolute;
  height: 2px;
  left: 0;
  right: 0;
  bottom: 17px;
  background: var(--gold);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 11px;
}*/
.gold-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 35px;
  padding: 0 19px;
  border-radius: 22px;
  background: var(--gold);
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
}
.gold-button.small {
  min-height: 33px;
  padding: 0 20px;
  font-size: 11px;
}
.gold-button span { font-size: 17px; line-height: 1; }

.hero {
  height: 300px;
  position: relative;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  right: 0;
  top: 0;
  width: 71.7%;
  height: 300px;
  object-fit: cover;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,.98) 22%,
    rgba(255,255,255,.84) 30%,
    rgba(255,255,255,.20) 42%,
    rgba(255,255,255,0) 52%);
}
.hero-content {
  position: relative;
  width: calc(100% - 90px);
  max-width: 934px;
  margin: 0 auto;
  padding-top: 32px;
}
.breadcrumb {
  display: flex;
  gap: 9px;
  font-size: 9px;
  color: #4e5a60;
  margin-bottom: 11px;
}
.breadcrumb b { font-weight: 400; color: #aaa; }
h1, h2, h3 {
  font-family: "Montserrat", Arial, sans-serif;
  margin: 0;
  color: var(--navy);
}
h1 {
  font-size: 42px;
  line-height: 1.06;
  letter-spacing: -1.3px;
  font-weight: 700;
  margin-bottom: 8px;
}
.hero p {
  margin: 0 0 13px;
  font-size: 14px;
  line-height: 1.5;
}
.section { width: calc(100% - 90px); max-width: 1120px; margin: 0 auto; }
.services {
  /*height: 314px;*/
  padding-top: 28px;
  padding-bottom: 64px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #b1152a;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2px;
}
.eyebrow i {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.section-heading h2,
.occasion-copy h2,
.process h2,
.cta h2 {
  font-size: 29px;
  line-height: 1.15;
  letter-spacing: -.7px;
  margin-top: 3px;
  padding-top: 5px;
  padding-bottom: 5px;
}
.section-heading p {
  margin: 10px 0 24px;
  font-size: 15px;
  color: #385266;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  /*height: 155px;*/
}
.service {
  text-align: center;
  padding: 0 13px;
  border-right: 1px solid var(--line);
}
.service:last-child { border-right: 0; }
.service img {
  width: 62px;
  height: 62px;
  display: block;
  margin: 0 auto 6px;
}
.service h3 {
  font-size: 15px;
  margin-bottom: 3px;
}
.service p {
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
  color: #385266;
}

.occasion {
  /*height: 354px;*/
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 5%;
  padding-top: 26px;
  padding-bottom:64px;
}
.occasion-gallery {
  display: grid;
  grid-template-columns: 58% 40%;
  gap: 2%;
  align-items: stretch;
  width: 100%;
}

/* Das grosse Bild links */
.gallery-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3; /* Hält das Format auf allen Bildschirmen stabil */
  display: block;
}

/* Container für die zwei kleinen Bilder rechts */
.gallery-small {
  display: grid;
  grid-template-rows: 1fr 1fr; /* Teilt den Platz exakt 50/50 auf */
  gap: 8px;
  height: 100%;
}

/* Die beiden kleinen Bilder */
.gallery-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.occasion-copy { padding-top: 7px; }
.occasion-copy h2 { margin-top: 3px; padding-top: 5px; padding-bottom: 5px;}
.occasion-copy p {
  margin: 10px 0 13px;
  font-size: 15px;
  line-height: 1.75;
  color: #385266;
}
.occasion-copy ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.occasion-copy li {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  font-size: 13px;
  line-height: 2.15;
  padding-left: 30px;
  position: relative;
}
.occasion-copy li::before {
  content: "✓";
  position: absolute;
  left: 3px;
  color: var(--gold);
  font-size: 17px;
}

.process {
  /*height: 296px;*/
  padding-top: 37px;
  padding-bottom: 64px;
  display: grid;
  grid-template-columns: 60% 38%;
  gap: 2%;
}
.process h2 { margin-top: 3px; }
.process-copy > p {
  font-size: 15px;
  color: #385266;
  margin: 5px 0 24px;
}
.steps {
  display: grid;
  grid-template-columns: 1fr 25px 1fr 25px 1.12fr;
  align-items: start;
}
.step-top { height: 43px; }
.step-top span {
  width: 39px;
  height: 39px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
}
.step h3 {
  font-size: 12px;
  margin: 0 0 5px;
}
.step p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #385266;
}
.arrow {
  font-size: 18px;
  color: var(--gold);
  padding-top: 10px;
  text-align: center;
}
.process-photo {
  /*width: 293px;
  height: 225px;*/
  object-fit: cover;
  display: block;
}

.cta {
  /*height: 188px;*/
  position: relative;
  overflow: hidden;
  margin-top: 37px;
}
.cta-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.cta-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, 
	  rgba(255,255,255,0) 7%, 
	  rgba(255,255,255,.68) 30%, 
	  rgba(255,255,255,.80) 40%, 
	  rgba(255,255,255,.80) 50%, 
	  rgba(255,255,255,1) 73%)
}
.cta-content {
  position: relative;
  /*width: calc(100% - 90px);*/
  /*max-width: 934px;*/
  margin: 0 auto;
  padding-top: 20px;
}
.cta h2 { 
  margin-top: 3px; 
  text-shadow:
        0 0 4px rgba(255,255,255,0.95),
        0 0 8px rgba(255,255,255,0.85),
        0 0 14px rgba(255,255,255,0.65);
}
.cta p {
  margin: 5px 0 10px;
  font-size: 15px;
  line-height: 1.7;
  /*color: #385266;*/
  width: 80%;
}

#events form h2 {
	padding-top: 0;
}

@media (max-width: 1160px){
	.desktop-1 {
		display:none;
}
}
@media (max-width: 1056px){
.desktop {
		display:none;
}
}

@media (max-width: 1170px) {
  .main-nav { gap: 15px; margin-left: 15px; }
  .header-actions { gap: 10px; }
  .occasion { grid-template-columns: 1fr; height: auto; padding-bottom: 35px; }
  .occasion-gallery { width: 100%; /*max-width: 507px;*/ }
  .process { grid-template-columns: 1fr; height: auto; padding-top: 64px; padding-bottom: 35px;  }
  .process-photo { width: 100%; /*max-width: 293px;*/ }
}
@media (max-width: 1000px) {
.services { height: auto; padding-bottom: 35px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); height: auto; }
  .service { margin-bottom: 25px; }
  .service:nth-child(2n) { border-right: 0; }
}
@media (max-width: 900px) {
  .site-header, .header-inner { height: auto; min-height: 70px; }
  .header-inner { width: calc(100% - 30px); flex-wrap: wrap; padding: 8px 0; }
  .brand img { width: 180px; height: 42px; }
  .main-nav { order: 3; width: 100%; justify-content: space-between; margin: 5px 0 0; overflow-x: auto; }
  .main-nav a { height: 35px; }
  .main-nav a.active::after { bottom: 0; }
  .header-actions { margin-left: auto; }
  .header-actions a:last-child { display: none; }
  .hero { height: 430px; }
  .hero-photo { width: 100%; height: 100%; }
  .hero-gradient { background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 42%, rgba(255,255,255,.05) 72%); }
  .hero-content { width: calc(100% - 40px); padding-top: 28px; }
  h1 { font-size: 37px; }
	.step h3 {font-size:15px;}
	.occasion-copy li {font-size:15px;}
  .section { width: calc(100% - 40px); }
  
  .desktop { display: none; }
  .occasion { display: block; }
  /*.occasion-gallery { width: 100%; height: auto; /*grid-template-columns: 58% 42%;*/ /*}
  .gallery-main { height: auto; aspect-ratio: .96; }
  .gallery-small { grid-template-rows: 1fr 1fr; height: auto; }*/
  .occasion-copy { padding-top: 25px; }
  .process { display: block; }
  .process-copy{margin-bottom:30px;}
  .steps { grid-template-columns: 1fr; gap: 15px; }
  .arrow { display: none; }
  .process-photo { margin-top: 25px; }
  /*.cta { height: 260px; }*/
  /*.cta-content { width: calc(100% - 40px); }*/
  .cta-gradient { background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.8) 50%, rgba(255,255,255,.1) 100%); }
  .cta-photo {height: 300px;}
}
/* Mobile Anpassung (inkl. iPhone 13) */
@media (max-width: 900px) {
  /* Die Gesamt-Sektion untereinander (Galerie oben, Text unten) */
  .occasion { 
    display: block; 
  }
  
  /* Das Galerie-Grid MUSS hier aktiv bleiben, damit die Bilder nebeneinander sind! */
  .occasion-gallery {
    display: grid;
    grid-template-columns: 58% 40%; /* 60/40 Aufteilung wie auf Desktop */
    gap: 2%;
    align-items: stretch;
    height: auto;
  }

  .gallery-main {
    aspect-ratio: auto; /* Passt sich dynamisch an die rechte Spalte an */
    height: 100%;
  }

  .gallery-small {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 6px;
    height: 100%;
  }
}


/* =========================================
   BRUNNI ZELT – EVENT SLIDER MIT 4 BILDERN
   Ohne JavaScript
   ========================================= */

.event-slider {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: visible !important;
  isolation: isolate;
  margin: 0;
}

/* Radiobuttons ausblenden */
.event-slider > input[type="radio"] {
  position: absolute !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
}

/* Bildbereich */
.event-slider-bilder {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: visible;
}

/* Slides übereinanderlegen */
.event-slider .event-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateX(40px);
  pointer-events: none;
  z-index: 0;

  transition:
    opacity 0.45s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.55s;
}

/* Bilder und Video */
.event-slider .event-slide img,
.event-slider .event-slide video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
}

/* Aktiven Slide anzeigen */
#eventbild-1:checked ~ .event-slider-bilder .slide-1,
#eventbild-2:checked ~ .event-slider-bilder .slide-2,
#eventbild-3:checked ~ .event-slider-bilder .slide-3,
#eventbild-4:checked ~ .event-slider-bilder .slide-4,
#eventbild-5:checked ~ .event-slider-bilder .slide-5 {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 1;

  transition:
    opacity 0.45s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s;
}

/* Pfeil-Container */
.event-slider-pfeile {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  overflow: visible;
}

/* Pfeile */
.event-slider .slider-pfeil {
  position: absolute;
  top: 50%;
  width: 42px;
  height: 42px;
  box-sizing: border-box;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  background: #b5121b;
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  font-weight: normal;
  text-align: center;
  cursor: pointer;
  user-select: none;
  pointer-events: auto;
  box-shadow: 0 3px 10px rgb(0 0 0 / 20%);

  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    scale 0.2s ease;
}

/* Pfeile über den Bildrand hinaus */
.event-slider .pfeil-links {
  left: -21px;
}

.event-slider .pfeil-rechts {
  right: -21px;
}

/* Pfeile des aktiven Slides */
#eventbild-1:checked ~ .event-slider-pfeile .pfeil-1,
#eventbild-2:checked ~ .event-slider-pfeile .pfeil-2,
#eventbild-3:checked ~ .event-slider-pfeile .pfeil-3,
#eventbild-4:checked ~ .event-slider-pfeile .pfeil-4,
#eventbild-5:checked ~ .event-slider-pfeile .pfeil-5 {
  display: flex;
}

/* Hover-Effekt */
.event-slider .slider-pfeil:hover {
  background: #8f0e15;
  box-shadow: 0 5px 14px rgb(0 0 0 / 25%);
  scale: 1.06;
}

/* Navigationspunkte */
.event-slider-punkte {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
}

.event-slider-punkte label {
  display: block;
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: #d5d5d5;
  cursor: pointer;

  transition:
    background 0.25s ease,
    scale 0.25s ease;
}

/* Aktiven Punkt markieren */
#eventbild-1:checked ~ .event-slider-punkte label[for="eventbild-1"],
#eventbild-2:checked ~ .event-slider-punkte label[for="eventbild-2"],
#eventbild-3:checked ~ .event-slider-punkte label[for="eventbild-3"],
#eventbild-4:checked ~ .event-slider-punkte label[for="eventbild-4"],
#eventbild-5:checked ~ .event-slider-punkte label[for="eventbild-5"] {
  background: #b5121b;
  scale: 1.2;
}

/* Tastatur-Fokus */
.event-slider .slider-pfeil:focus-visible,
.event-slider-punkte label:focus-visible {
  outline: 2px solid #b5121b;
  outline-offset: 4px;
}

/* Mobile */
@media (max-width: 767px) {
  .event-slider .slider-pfeil {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .event-slider .pfeil-links {
    left: -10px;
  }

  .event-slider .pfeil-rechts {
    right: -10px;
  }
}

/* Reduzierte Bewegung berücksichtigen */
@media (prefers-reduced-motion: reduce) {
  .event-slider .event-slide,
  .event-slider .slider-pfeil,
  .event-slider-punkte label {
    transition: none !important;
  }
}
