
:root { --farbe: #830000; --hell: #c41a1a; --blatt: #f9f6f1; --text: #313131;
  --schrift: "Times New Roman", Times, Georgia, serif; --breite: 1000px; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--schrift); color: var(--text); line-height: 1.6; font-size: 1.0625rem;
  background: #efe9dd url(/img/hintergrund.webp) top center / auto no-repeat;  }
img { max-width: 100%; height: auto; }
a { color: var(--farbe); text-underline-offset: .15em; }
a:hover { color: var(--hell); }
:focus-visible { outline: 3px solid #1d5fbf; outline-offset: 2px; }
.sprung { position: absolute; left: 8px; top: -60px; z-index: 50; background: #fff; padding: .5rem 1rem; }
.sprung:focus { top: 8px; }
main:focus { outline: none; }
.kopf { max-width: var(--breite); margin: 0 auto; position: relative; background: var(--farbe); }
.kopf-innen { position: absolute; inset: 0 0 auto 0; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; padding: 10px 12px; }
.logo { order: 2; background: rgba(255,255,255,.72); border-radius: 4px; padding: 4px 8px; line-height: 0; }
.logo img { width: clamp(150px, 26vw, 240px); height: auto; }
.sprachwahl { order: 1; position: relative; font-size: .9rem; }
.sprachwahl summary { cursor: pointer; background: rgba(255,255,255,.85); border-radius: 4px; padding: .35rem .7rem; list-style: none; min-height: 36px; }
.sprachwahl summary::-webkit-details-marker { display: none; }
.sprachwahl ul { position: absolute; left: 0; top: 100%; margin: .25rem 0 0; padding: .3rem 0; list-style: none; background: #fff; border-radius: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.2); min-width: 9rem; z-index: 5; }
.sprachwahl a { display: block; padding: .45rem .9rem; text-decoration: none; }
.sprachwahl a[aria-current] { font-weight: bold; }
.band { line-height: 0; }
.kopfbild { width: 100%; height: clamp(120px, 22vw, 200px); object-fit: cover; }
.hauptmenue { background: linear-gradient(var(--farbe), var(--hell)); }
.hauptmenue ul { list-style: none; margin: 0; padding: 0; }
.ebene1 { display: flex; flex-wrap: wrap; padding: 0 2.5rem !important; }
.ebene1 > li { position: relative; }
.ebene1 > li > a { display: block; padding: .55rem 1.1rem; color: #fff; text-decoration: none; font-weight: bold; letter-spacing: .14em; font-size: 1.05rem; }
.ebene1 > li.aktiv > a, .ebene1 > li > a:hover { background: var(--blatt); color: var(--farbe); }
.ebene1 ul { display: none; }
.menueknopf { display: none; }
.blatt { display: block; max-width: var(--breite); margin: 0 auto; background: var(--blatt); padding: 2.5rem clamp(16px, 5vw, 3rem) 3rem; min-height: 50vh; box-shadow: 0 0 40px rgba(0,0,0,.06); }
.unternav ul { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; padding: 0 0 .75rem; margin: 0 0 1.5rem; border-bottom: 1px solid rgba(0,0,0,.12); list-style: none; font-size: .95rem; }
.unternav a { text-decoration: none; } .unternav a[aria-current] { font-weight: bold; text-decoration: underline; }
.text { max-width: 46rem; overflow-wrap: anywhere; }
.text h1 { color: var(--farbe); letter-spacing: .08em; font-size: clamp(1.4rem, 3.2vw, 1.75rem); line-height: 1.25; margin: 0 0 1.2rem; }
.text h2, .text h3 { color: var(--farbe); font-size: 1.2rem; margin: 1.6rem 0 .4rem; }
.text p { margin: .5rem 0; }
.text table { border-collapse: collapse; width: 100%; }
.text td { vertical-align: top; padding: .35rem .6rem .35rem 0; }

.text .angaben td:first-child:not([colspan]) { width: 12rem; overflow-wrap: normal; hyphens: auto; }
.inhaltsbild { float: right; width: min(240px, 45%); margin: 0 0 1rem 1.5rem; border-radius: 4px; }

.fuss { max-width: var(--breite); margin: 0 auto 2rem; background: var(--blatt); border-top: 1px solid rgba(0,0,0,.08); padding: 1rem clamp(16px, 5vw, 3rem); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; font-size: .95rem; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.fuss a { display: inline-block; padding: .25rem 0; letter-spacing: .04em; }
.fuss p { margin: .25rem 0; color: #555; }
@media (max-width: 720px) {
  .kopf-innen { position: static; background: var(--blatt); flex-wrap: wrap; gap: .5rem; }
  .logo { order: 1; background: transparent; padding: 0; }
  .sprachwahl { order: 2; }
  .menueknopf { display: flex; align-items: center; gap: .6rem; width: 100%; min-height: 48px; padding: .5rem 16px; border: 0; background: var(--farbe); color: #fff; font: inherit; font-weight: bold; letter-spacing: .1em; cursor: pointer; }
  .balken, .balken::before, .balken::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; content: ""; }
  .balken::before { position: absolute; top: -7px; } .balken::after { position: absolute; top: 7px; }
  .hauptmenue { display: none; } .hauptmenue.offen, .ohne-js .hauptmenue { display: block; }
  .ebene1 { flex-direction: column; padding: 0 !important; }
  .ebene1 > li > a { padding: .8rem 16px; }
  .ebene1 ul { display: block; background: rgba(255,255,255,.1); }
  .ebene1 ul a { display: block; padding: .6rem 16px .6rem 32px; color: #fff; text-decoration: none; }
  .inhaltsbild { float: none; display: block; margin: 0 auto 1rem; width: min(240px, 70%); }
  .text td { display: block; padding: .1rem 0; }
  .text .angaben td:first-child:not([colspan]) { width: auto; }
}

.bildwechsel, .bildwechsel-rahmen { position: relative; }
.bildwechsel .dias { list-style: none; margin: 0; padding: 0; position: relative; height: clamp(120px, 22vw, 200px); overflow: hidden; }
.bildwechsel .dia { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease-in-out; }
.bildwechsel .dia.aktiv { opacity: 1; }
.bildwechsel .dia picture { display: block; height: 100%; }
.bildwechsel .kopfbild { display: block; width: 100%; height: 100%; object-fit: cover; }
.bildwechsel .dia-foto::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 20%; background: rgba(0, 250, 245, .74); }
.dia-pause { position: absolute; right: 10px; bottom: 6px; z-index: 3; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.88); box-shadow: 0 1px 4px rgba(0,0,0,.25); cursor: pointer; }
.dia-pause::before, .dia-pause::after { content: ""; position: absolute; top: 10px; width: 4px; height: 12px; background: #1f4f5a; }
.dia-pause::before { left: 11px; } .dia-pause::after { left: 17px; }
.dia-pause.pausiert::before { left: 12px; top: 9px; width: 0; height: 0; background: none; border-style: solid;
  border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #1f4f5a; }
.dia-pause.pausiert::after { display: none; }
.dia-pause[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .bildwechsel .dia { transition: none; } }

a.kontaktmail { display: inline-block; min-height: 44px; padding: .65rem 1rem; border-radius: .25rem; background: var(--farbe); color: white; font-weight: bold; }
