*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;
  background:#f7f5ef;
  color:#213c31;
  font-family:Arial,sans-serif;
  font-size:17px;
  line-height:1.65}
a{color:inherit}
a:focus-visible,button:focus-visible{outline:3px solid #b98437;
  outline-offset:5px}
header{min-height:100px;
  height:auto;
  gap:24px;
  flex-wrap:wrap;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 6%;
  background:#fffdf8;
  border-bottom:1px solid #ddd9ce}
.brand{display:flex;
  align-items:center;
  gap:15px;
  text-decoration:none;
  font-family:Georgia,serif;
  font-size:27px;
  font-weight:bold}
.brand img{width:72px;
  height:70px;
  object-fit:contain}
.brand small{display:block;
  font:10px Arial;
  letter-spacing:2px;
  text-transform:uppercase}
nav{display:flex;
  gap:30px}
nav a{text-decoration:none;
  font-size:14px;
  padding:8px 0}
nav a[aria-current]{border-bottom:2px solid #937638}
.hero{position:relative;
  min-height:660px;
  display:flex;
  align-items:end;
  color:white;
  padding:75px 8%;
  background:#244c3a}
.hero>img{position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 45%}
.hero:after{content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(6,30,20,.8),rgba(6,30,20,.1))}
.hero-inner{position:relative;
  z-index:1;
  max-width:720px}
.eyebrow{text-transform:uppercase;
  letter-spacing:3px;
  font-size:11px;
  font-weight:bold;
  margin-bottom:20px}
h1,h2,h3{font-family:Georgia,serif;
  font-weight:normal;
  line-height:1.12;
  margin:0 0 24px}
h1{font-size:clamp(44px,5.8vw,80px)}
h2{font-size:clamp(34px,4vw,52px)}
h3{font-size:30px}
p{max-width:650px}
.hero p{max-width:470px;
  color:#f2f0e7}
.button{display:inline-block;
  padding:13px 23px;
  margin:18px 12px 0 0;
  background:#244c3a;
  color:white;
  text-decoration:none;
  font-size:14px;
  border:1px solid #244c3a}
.hero .button{background:#faf6ea;
  color:#244c3a;
  border-color:#faf6ea}
.button.secondary{background:transparent;
  color:#244c3a}
.wrap{max-width:1240px;
  margin:auto;
  padding:85px 50px}
.intro{display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:80px;
  align-items:center}
.intro p{margin-top:0}
.muted{color:#627067}
.sectionline{border-top:1px solid #d8dacf}
.feature{display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:65px;
  align-items:center;
  margin:70px 0}
.feature img{width:100%;
  height:430px;
  object-fit:cover}
.photo-label{font-size:12px;
  color:#627067;
  margin:8px 0}
.gallery{display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px}
.gallery [data-photo]{padding:0;
  border:0;
  background:none;
  cursor:zoom-in}
.gallery img{width:100%;
  height:260px;
  object-fit:cover}
.gallery.two{grid-template-columns:1fr 1fr}
.gallery.two img{height:430px}
.band{background:#244c3a;
  color:#fffdf8}
.band .wrap{padding-top:60px;
  padding-bottom:60px}
.band .button{background:#faf6ea;
  color:#244c3a}
.pagehead{padding-bottom:40px}
.pagehead p{font-size:20px;
  color:#627067}
.contact{display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px}
.contact article{border-top:1px solid #b7c0b3;
  padding:30px 0}
.notice{font-size:13px;
  background:#eeeade;
  padding:20px;
  line-height:1.7}
.legal{max-width:850px;
  min-height:55vh}
.legal p{max-width:none}
footer{padding:35px 6%;
  display:flex;
  justify-content:space-between;
  gap:30px;
  border-top:1px solid #d8dacf;
  font-size:12px}
footer a{margin-left:20px}
.skip{position:absolute;
  left:-9999px}
.skip:focus{left:20px;
  top:10px;
  z-index:10;
  background:white;
  padding:12px}
dialog{border:none;
  padding:14px;
  background:#fffdf8;
  max-width:94vw}
dialog::backdrop{background:#000c}
dialog img{display:block;
  max-width:85vw;
  max-height:80vh}
dialog button{float:right;
  background:#244c3a;
  color:white;
  border:0;
  padding:10px 18px;
  cursor:pointer;
  margin-bottom:10px}
@media(max-width:700px){header{height:auto;
  display:block;
  padding:15px 6%}
.brand{font-size:23px}
.brand img{width:55px;
  height:55px}
nav{gap:23px;
  margin-top:15px}
nav a{font-size:13px}
.hero{min-height:560px;
  padding:55px 7%}
.hero>img{object-position:60% center}
.wrap{padding:55px 24px}
.intro,.feature,.contact{grid-template-columns:1fr;
  gap:25px}
.feature{margin:40px 0}
.feature img{height:300px}
.gallery{grid-template-columns:1fr}
.gallery img{height:270px}
.gallery.two{grid-template-columns:1fr;
  gap:18px}
.gallery.two img{height:auto}
footer{display:block}
footer div{margin-top:15px}
footer a{margin:0 18px 0 0}
h1{font-size:44px}
}

.board{margin-top:65px;
  padding-top:50px;
  border-top:1px solid #d8dacf}
.board-grid{display:grid;
  grid-template-columns:1fr 1fr;
  gap:0 45px}
.board-grid article{padding:25px 0 20px;
  border-top:1px solid #d8dacf}
.board-role{font-size:12px;
  letter-spacing:1.5px;
  text-transform:uppercase;
  margin:0 0 12px;
  color:#627067}
.board-grid h3{font-size:28px;
  line-height:1.3;
  margin:0;
  overflow-wrap:anywhere}
@media(max-width:700px){.board-grid{grid-template-columns:1fr}
.board{margin-top:40px;
  padding-top:35px}
}


/* Maibaumfest 2025: compact previews from the supplied gallery overview. */
.fest-albums{margin-top:40px}

#maibaumfest-galerien{scroll-margin-top:24px}

.fest-album__arrow{position:relative;
  display:inline-block;
  width:12px;
  height:12px;
  margin-left:4px;
  vertical-align:-1px}

.fest-album__arrow::before{content:'';
  position:absolute;
  left:1px;
  top:6px;
  width:11px;
  border-top:1.5px solid currentColor;
  transform:rotate(-45deg)}

.fest-album__arrow::after{content:'';
  position:absolute;
  right:1px;
  top:1px;
  width:6px;
  height:6px;
  border-top:1.5px solid currentColor;
  border-right:1.5px solid currentColor}

.fest-albums h3{margin-bottom:12px}

.fest-albums__intro{margin:0 0 24px;
  color:#627067}

.fest-albums__grid{display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));
  gap:16px;
  list-style:none;
  padding:0;
  margin:0 0 14px}

.fest-albums__grid>li{min-width:0}

.fest-album{display:flex;
  align-items:center;
  gap:16px;
  min-height:116px;
  height:100%;
  padding:12px;
  background:#fffdf8;
  border:1px solid #d8dacf;
  border-radius:10px;
  text-decoration:none;
  color:#213c31}

.fest-album:hover,.fest-album:focus-visible{border-color:#937638;
  background:#f0eee4}

.fest-album__preview{display:block;
  flex:0 0 116px;
  width:116px;
  aspect-ratio:4/3;
  border-radius:6px;
  background-color:#244c3a;
  background-image:url('maibaumfest-2025-vorschauen.jpg');
  background-repeat:no-repeat;
  background-size:337.254902% auto;
  background-position:6.404959% var(--preview-y)}

.fest-album__text{display:block;
  min-width:0}

.fest-album__text strong{display:block;
  font-size:17px;
  line-height:1.35;
  overflow-wrap:anywhere}

.fest-album__link{display:block;
  margin-top:8px;
  font-size:13px;
  text-decoration:underline;
  text-underline-offset:3px;
  color:#526455}

@media(max-width:420px){.fest-album{gap:12px;
  padding:10px;
  min-height:100px}
.fest-album__preview{flex-basis:88px;
  width:88px}
.fest-album__text strong{font-size:16px}
}


/* Aktuelles und Termine */
nav { flex-wrap: wrap;
   }

.termine { padding-top: 34px;
   }

.termin {
  display: grid;
  
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  
  align-items: center;
  
  gap: clamp(24px, 6vw, 74px);
  
  padding: 32px 0;
  
  border-bottom: 1px solid #d8dacf;
  
}

.termin:first-child { padding-top: 0;
   }

.termin:last-child { border-bottom: 0;
   }

.termin h2 { margin-bottom: 16px;
   }

.termin .eyebrow { margin-top: 0;
   }

.termin .button { margin: 4px 0 0;
   }

.termin-bild { display: block;
   width: 100%;
   margin: 0;
   }

.termin-bild img { display: block;
   width: 100%;
   height: auto;
   border-radius: 8px;
   }

@media (max-width: 700px) {
  nav { column-gap: 16px;
   row-gap: 0;
   }

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

  .termin-bild { max-width: 350px;
   }

}


/* Shared accessibility and responsive layout */
img { max-width: 100%;
   }

main:focus { outline: none;
   }

main p, .legal a, .contact a { overflow-wrap: anywhere;
   }

nav a { min-height: 44px;
   display: inline-flex;
   align-items: center;
   }

.gallery [data-photo] { display: block;
   min-width: 0;
   }

.gallery img { display: block;
   }

dialog { max-height: 94vh;
   overflow: auto;
   }

dialog img { width: auto;
   height: auto;
   object-fit: contain;
   margin: auto;
   }

dialog button { float: none;
   display: block;
   margin-left: auto;
   min-height: 44px;
   }

.hero > .hero-maibaum { object-position: center 88%;
   }

@media (max-width: 700px) {
  .hero > .hero-maibaum { object-position: center 66%;
   }

  h1 { font-size: clamp(32px, 8vw, 44px);
   overflow-wrap: anywhere;
   }

  .brand { gap: 10px;
   }

  .brand small { letter-spacing: 1px;
   }

}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto;
   }

}

