/* ============================================================
   Hans-Joachim Ruhr – schlankes, JavaScript-freies Stylesheet
   ============================================================ */

:root {
  --band:      #445063;  /* dunkles Blaugrau (Kopfband)   */
  --card:      #b09673;  /* Sand/Gold (Namenskarte)       */
  --accent:    #597f8c;  /* Akzent (Icons, Rahmen)        */
  --pane-bg:   #f1f7f9;  /* heller Panel-Hintergrund      */
  --pane-text: #111111;
  --head-text: #808080;  /* Akkordeon-Überschrift         */
  --footer:    #858e99;
  --max:       1140px;
}

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

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--pane-text);
  background: #fff;
  line-height: 1.6;
}

a { color: inherit; }

/* ----------------------------- Hero ------------------------ */

.hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 40px;
}

.hero__band {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 390px;
  background: var(--band);
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.hero__photo {
  display: block;
  width: 91%;
  max-width: 1040px;
  height: auto;
  aspect-ratio: 1040 / 620;
  object-fit: cover;
  object-position: 23% 42%;
  margin-top: 90px;
}

.hero__card {
  position: relative;
  z-index: 2;
  width: 560px;
  max-width: 100%;
  margin: -150px 20px 0 auto;
  padding: 30px 60px;
  background: var(--card);
  color: #fff;
}

.hero__title {
  margin: 0;
  font-family: "Ubuntu", "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 3rem;
  line-height: 1.1;
}

.hero__text {
  margin: 22px 0 0;
  font-size: 1rem;
  line-height: 1.8;
}

/* --------------------------- Content ----------------------- */

.content {
  max-width: 800px;
  margin: 40px auto 34px;
  padding: 0 20px;
}

/* Akkordeon auf Basis von <details> – kein JavaScript nötig */
.acc {
  border: 1px solid var(--pane-bg);
  margin-bottom: 20px;
  background: #fff;
}

.acc__head {
  position: relative;
  display: flex;
  align-items: center;
  padding: 30px;
  padding-right: 84px;
  font-weight: 700;
  color: var(--head-text);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background-color .2s, color .2s;
}

.acc__head::-webkit-details-marker { display: none; }

.acc__head:hover { color: #000; background: var(--pane-bg); }

.acc__label { flex: 1; }

.acc__icon {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: var(--pane-bg);
  color: #999;
  transition: transform .25s ease, background-color .2s, color .2s;
}

.acc[open] .acc__icon { transform: translateY(-50%) rotate(180deg); }

.acc__head:hover .acc__icon { background: var(--accent); color: #fff; }

.acc__body {
  padding: 20px 30px;
  background: var(--pane-bg);
  color: var(--pane-text);
  line-height: 1.8;
}

.acc__body p { margin: 0 0 1.4em; }
.acc__body p:last-child { margin-bottom: 0; }
.acc__body a { color: var(--accent); }

.strong { font-weight: 700; }
.italic { font-style: italic; }

/* ---------------------------- Footer ----------------------- */

.site-footer {
  text-align: center;
  padding: 20px;
}

.site-footer p {
  max-width: 501px;
  margin: 27px auto;
  font-size: 0.875rem;
  color: var(--footer);
}

/* ------------------------- Back to top --------------------- */

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: rgba(255, 255, 255, .85);
  color: var(--accent);
  text-decoration: none;
  transition: background-color .2s, color .2s;
}

.to-top:hover { background: var(--accent); color: #fff; }

/* ------------------------ Responsive ----------------------- */

@media (max-width: 991px) {
  .hero__card { margin-top: -110px; padding: 30px; }
  .hero__title { font-size: 2.5rem; }
}

@media (max-width: 767px) {
  .hero__band { height: 300px; }
  .hero__photo { width: 100%; margin-top: 60px; }
  .hero__card {
    margin: 20px auto 0;
    width: 100%;
  }
  .acc__head { padding: 22px 70px 22px 22px; }
  .acc__icon { right: 22px; }
  .acc__body { padding: 18px 20px; }
}

@media (max-width: 575px) {
  .hero__title { font-size: 2.25rem; }
  .hero__card { padding: 26px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
