:root {
  --ink: #2b2723;
  --muted: #6b635a;
  --paper: #ffffff;
  --grey: #cbcbcb;
  --line: #e4ddd2;
  --accent: #7a5c3a;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  /* Hintergrund wie auf der alten Seite */
  background: #d6d4b2 url(bilder/floral-dark.png) top center repeat;
  color: var(--ink);
  font: 17px/1.65 var(--serif);
}
/* Seite genau so breit wie die Sliderbilder */
.wrap {
  max-width: 1030px;
  margin: 0 auto;
  background: var(--paper);
  box-shadow: 0 0 12px rgba(0,0,0,.25);
}
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }

header {
  text-align: center;
  padding: 2rem 1rem 1.25rem;
}
header img { margin: 0 auto; width: 240px; }
nav {
  font: 14px/1 var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 1.25rem;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem;
}
nav a { color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--accent); }

/* Burger-Menü auf dem Handy */
header { position: relative; }
.menu-toggle {
  position: absolute; top: 1rem; right: 1rem;
  width: 2.75rem; height: 2.75rem;
  padding: .7rem .6rem;
  border: 0; background: transparent; cursor: pointer;
  display: flex; flex-direction: column; justify-content: space-between;
}
.menu-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--ink);
  transition: transform .25s, opacity .25s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(.6rem) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-.6rem) rotate(-45deg); }
@media (min-width: 641px) {
  .menu-toggle { display: none; }
}
@media (max-width: 640px) {
  header { padding-top: 1.25rem; }
  header img { width: 180px; }
  .js nav { display: none; }
  .js nav.is-open {
    display: flex; flex-direction: column; gap: 0;
    margin-top: 1rem;
    border-top: 1px solid var(--line);
  }
  .js nav.is-open a {
    padding: .95rem 1rem;
    border-bottom: 1px solid var(--line);
  }
}

/* Slider: Bilder 1030x350, links eine graue Fläche (ca. 28 %) für den Text */
.slider {
  position: relative;
  max-width: 1030px;
  margin: 0 auto;
  aspect-ratio: 1030 / 350;
  overflow: hidden;
  background: var(--grey);
}
.slide {
  position: absolute; inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 0s linear 1s;
}
.slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 1s ease;
}
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide figcaption {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 27.6%;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(.95rem, 3.2vw, 2rem);
  line-height: 1.2;
  color: #3a332c;
  padding: 0 .5rem;
}
.slider-btn {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  width: 2.25rem; height: 3.5rem;
  border: 0;
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 2rem; line-height: 1;
  cursor: pointer;
  opacity: .6;
  transition: opacity .2s;
}
.slider-btn:hover, .slider-btn:focus-visible { opacity: 1; }
.slider-btn.prev { left: 27.6%; }
.slider-btn.next { right: 0; }
.slider-dots {
  position: absolute; bottom: .6rem; left: 27.6%; right: 0;
  display: flex; justify-content: center; gap: .5rem;
}
.slider-dots button {
  width: .65rem; height: .65rem; padding: 0;
  border: 1px solid #fff; border-radius: 50%;
  background: transparent; cursor: pointer;
}
.slider-dots button[aria-current="true"] { background: #fff; }
@media (prefers-reduced-motion: reduce) {
  .slide, .slide.is-active { transition: none; }
}
@media (max-width: 520px) {
  .slider-btn { width: 1.75rem; height: 2.5rem; font-size: 1.5rem; }
  .slider-dots { bottom: .35rem; }
}

main, .page { max-width: 720px; margin: 0 auto; padding: 0 1.25rem; }
section { padding: 2.5rem 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: 0; }

h1, h2, h3 { font-weight: normal; line-height: 1.25; }
h1 { font-size: 2rem; text-align: center; margin: 2.5rem 0 .5rem; }
.lead { text-align: center; color: var(--muted); font-size: 1.1rem; margin-top: 0; }
h2 { font-size: 1.5rem; margin: 0 0 1rem; }
h3 { font-size: 1.15rem; margin: 1.5rem 0 .25rem; }
h3 + p { margin-top: 0; }

ul.plain { list-style: none; padding: 0; margin: 0; }
ul.plain li { padding: .2rem 0; }
.distances { columns: 2; column-gap: 2rem; }
@media (max-width: 520px) { .distances { columns: 1; } }

/* Bilder im Text */
main figure { margin: 1.5rem 0; }
main figure img { width: 100%; }
main figure figcaption {
  font: 13px/1.4 var(--sans);
  color: var(--muted);
  margin-top: .4rem;
}
.fig-right { float: right; width: 45%; margin: .3rem 0 1rem 1.5rem; }
section::after { content: ""; display: table; clear: both; }
.fig-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.fig-pair figure { margin: 0; }
@media (max-width: 560px) {
  .fig-right { float: none; width: 100%; margin: 1rem 0; }
  .fig-pair { grid-template-columns: 1fr; }
}

.contact {
  font-style: normal;
  background: #f6f6f6;
  border: 1px solid var(--line);
  padding: 1.5rem 1.75rem;
  margin-top: 1rem;
}
.contact p { margin: .25rem 0; }

footer {
  margin-top: 3rem;
  padding: 1.25rem 1rem;
  text-align: center;
  font: 14px/1.6 var(--sans);
  background: var(--grey);
}
footer a { color: #3a332c; margin: 0 .6rem; }

.page h1 { text-align: left; }
.page h2 { font-size: 1.25rem; margin-top: 2rem; }
.back { font: 14px/1 var(--sans); display: inline-block; margin-top: 1rem; }
