:root {
  --pergamentgrund: #f7f3ec;
  --kachelweiss: #ffffff;
  --roestbrauntief: #231913;
  --roestbraunweich: #57453a;
  --messingglut: #8a441e;
  --messingtiefe: #642f12;
  --rahmensand: #ded4c6;
  --salbeiton: #eef3ee;
  --hinweisocker: #efe7da;
}

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

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

body {
  margin: 0;
  background-color: var(--pergamentgrund);
  color: var(--roestbrauntief);
  font-family: Georgia, "Palatino Linotype", "Book Antiqua", serif;
  line-height: 1.68;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--messingglut);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  color: var(--messingtiefe);
}

.sprungzielkaffee {
  position: absolute;
  left: -999px;
  top: 8px;
  background-color: var(--roestbrauntief);
  color: var(--kachelweiss);
  padding: 0.55rem 1rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.9rem;
  z-index: 900;
  border-radius: 4px;
}

.sprungzielkaffee:focus {
  left: 12px;
}

.heftspiegel {
  width: min(1140px, calc(100% - 2rem));
  margin-inline: auto;
}

.kremserstirn {
  background-color: var(--kachelweiss);
  border-bottom: 1px solid var(--rahmensand);
  position: sticky;
  top: 0;
  z-index: 400;
}

.stirnzeilejk {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-block: 0.85rem;
}

.signetverbund {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--roestbrauntief);
}

.signetquadrat {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
}

.signethauptwort {
  display: block;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  color: var(--roestbrauntief);
  line-height: 1.2;
}

.signetunterwort {
  display: block;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.78rem;
  color: var(--roestbraunweich);
  line-height: 1.25;
}

.klappenknopfjk {
  display: none;
  background-color: var(--pergamentgrund);
  color: var(--roestbrauntief);
  border: 1px solid var(--rahmensand);
  border-radius: 6px;
  padding: 0.45rem 0.8rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.rubrikenspur {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem;
}

.rubrikenglied {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--roestbrauntief);
  text-decoration: none;
  padding: 0.25rem 0.1rem;
}

.rubrikenglied:hover,
.rubrikenglied:focus-visible {
  color: var(--messingglut);
  text-decoration: underline;
}

.aufmacherbuehne {
  padding-block: 2.6rem 2.2rem;
  border-bottom: 1px solid var(--rahmensand);
}

.aufmachergitter {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 2.25rem;
  align-items: start;
}

.aufmacherbildrahmen {
  margin: 0;
  background-color: var(--kachelweiss);
  border: 1px solid var(--rahmensand);
  border-radius: 10px;
  overflow: hidden;
}

.bildlegendejk {
  padding: 0.75rem 1rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.82rem;
  color: var(--roestbraunweich);
  background-color: var(--kachelweiss);
  border-top: 1px solid var(--rahmensand);
}

.ausgabendach {
  display: inline-block;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--messingglut);
  margin-bottom: 0.55rem;
}

h1,
h2,
h3 {
  color: var(--roestbrauntief);
  line-height: 1.24;
  margin-top: 0;
}

h1 {
  font-size: clamp(1.68rem, 2.8vw, 2.28rem);
  margin-bottom: 0.95rem;
}

h2 {
  font-size: clamp(1.36rem, 2.2vw, 1.78rem);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.16rem;
  margin-bottom: 0.55rem;
}

.leitzeilenvortext {
  font-size: 1.06rem;
  color: var(--roestbraunweich);
  margin-bottom: 1.25rem;
}

.eckdatenleiste {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-block: 1.25rem 1.45rem;
}

.eckdatenposten {
  background-color: var(--kachelweiss);
  border: 1px solid var(--rahmensand);
  border-radius: 8px;
  padding: 0.68rem 0.85rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.eckdatenposten strong {
  display: block;
  font-size: 0.98rem;
  color: var(--roestbrauntief);
}

.eckdatenposten span {
  display: block;
  font-size: 0.8rem;
  color: var(--roestbraunweich);
}

.weiterlesetaste {
  display: inline-block;
  background-color: var(--messingglut);
  color: var(--kachelweiss);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  padding: 0.68rem 1.25rem;
  border-radius: 7px;
}

.weiterlesetaste:hover,
.weiterlesetaste:focus-visible {
  background-color: var(--messingtiefe);
  color: var(--kachelweiss);
}

.werkheftetage {
  padding-block: 2.6rem;
  border-bottom: 1px solid var(--rahmensand);
}

.abschnittskopfjk {
  max-width: 740px;
  margin-bottom: 1.75rem;
}

.berichteensemble {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.berichtekachel {
  background-color: var(--kachelweiss);
  border: 1px solid var(--rahmensand);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.kachelbildjk {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.kachelinnenraum {
  padding: 1.15rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.kachelanriss {
  font-size: 0.96rem;
  color: var(--roestbraunweich);
  margin-bottom: 0.9rem;
}

.kremserpruefband {
  padding-block: 2.5rem;
  background-color: var(--hinweisocker);
  border-bottom: 1px solid var(--rahmensand);
}

.methodenkasten {
  background-color: var(--kachelweiss);
  border: 1px solid var(--rahmensand);
  border-radius: 10px;
  padding: 1.5rem 1.7rem;
}

.wasserwertsektion {
  padding-block: 2.5rem;
  border-bottom: 1px solid var(--rahmensand);
}

.haertegradmatrix {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--kachelweiss);
  border: 1px solid var(--rahmensand);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.92rem;
  margin-block: 1rem 0.6rem;
}

.haertegradmatrix th,
.haertegradmatrix td {
  padding: 0.72rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--rahmensand);
  color: var(--roestbrauntief);
}

.haertegradmatrix th {
  background-color: var(--hinweisocker);
  font-weight: 700;
}

.zuschriftensektion {
  padding-block: 2.6rem;
}

.kremserpostteilung {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.zuschrifteneingabe {
  background-color: var(--kachelweiss);
  border: 1px solid var(--rahmensand);
  border-radius: 10px;
  padding: 1.45rem 1.55rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.eingabezeilejk {
  margin-bottom: 1rem;
}

.eingabezeilejk label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--roestbrauntief);
  margin-bottom: 0.35rem;
}

.eingabefeldjk {
  width: 100%;
  padding: 0.62rem 0.75rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--roestbrauntief);
  background-color: var(--pergamentgrund);
  border: 1px solid var(--rahmensand);
  border-radius: 6px;
}

.absendetastejk {
  background-color: var(--roestbrauntief);
  color: var(--kachelweiss);
  border: 1px solid var(--roestbrauntief);
  border-radius: 7px;
  padding: 0.68rem 1.3rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.absendetastejk:hover,
.absendetastejk:focus-visible {
  background-color: var(--messingglut);
  border-color: var(--messingglut);
}

.rueckmeldungjk {
  display: none;
  margin-top: 0.95rem;
  padding: 0.8rem 1rem;
  border-radius: 7px;
  background-color: var(--salbeiton);
  color: var(--roestbrauntief);
  border: 1px solid var(--rahmensand);
  font-size: 0.9rem;
}

.rueckmeldungjk.sichtbarjk {
  display: block;
}

.artikelbuehnejk {
  padding-block: 2.4rem 3rem;
}

.artikelspaltejk {
  max-width: 780px;
  margin-inline: auto;
}

.artikelvorspannjk {
  font-size: 1.1rem;
  color: var(--roestbraunweich);
  margin-bottom: 1.4rem;
}

.artikelfotojk {
  margin: 1.4rem 0 1.8rem;
  background-color: var(--kachelweiss);
  border: 1px solid var(--rahmensand);
  border-radius: 10px;
  overflow: hidden;
}

.zwischennotizjk {
  background-color: var(--hinweisocker);
  border-left: 4px solid var(--messingglut);
  padding: 1rem 1.25rem;
  margin-block: 1.5rem;
  border-radius: 0 8px 8px 0;
}

.querverweisblock {
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--rahmensand);
}

.nachbarheftkachel {
  background-color: var(--kachelweiss);
  border: 1px solid var(--rahmensand);
  border-radius: 8px;
  padding: 0.95rem 1.1rem;
  margin-bottom: 0.8rem;
}

.fussbereichjk {
  background-color: var(--roestbrauntief);
  color: var(--pergamentgrund);
  padding-block: 2.4rem 1.8rem;
  margin-top: 1rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.fussbereichjk h2,
.fussbereichjk h3 {
  color: var(--kachelweiss);
  font-size: 1rem;
  margin-bottom: 0.65rem;
}

.fussbereichjk a {
  color: var(--pergamentgrund);
}

.fussbereichjk ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fussbereichjk li {
  margin-bottom: 0.42rem;
  font-size: 0.88rem;
}

.kremserfusstrias {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.8rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--roestbraunweich);
}

.fusskleinzeile {
  padding-top: 1.1rem;
  font-size: 0.82rem;
  color: var(--rahmensand);
}

.hinweisschuerzejk {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(880px, calc(100% - 1.5rem));
  background-color: var(--roestbrauntief);
  color: var(--kachelweiss);
  border: 1px solid var(--roestbraunweich);
  border-radius: 10px;
  padding: 0.85rem 1.15rem;
  z-index: 800;
  display: none;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.86rem;
}

.hinweisschuerzejk.sichtbarjk {
  display: block;
}

.speicherinnen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.speichertastejk {
  background-color: var(--messingglut);
  color: var(--kachelweiss);
  border: none;
  border-radius: 6px;
  padding: 0.48rem 0.95rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
}

@media (max-width: 920px) {
  .aufmachergitter,
  .kremserpostteilung,
  .kremserfusstrias {
    grid-template-columns: 1fr;
  }

  .berichteensemble {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .klappenknopfjk {
    display: inline-block;
  }

  .rubrikenspur {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background-color: var(--kachelweiss);
    border-bottom: 1px solid var(--rahmensand);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.85rem 1.1rem;
    gap: 0.6rem;
  }

  .rubrikenspur.ausgeklapptjk {
    display: flex;
  }

  .berichteensemble,
  .eckdatenleiste {
    grid-template-columns: 1fr;
  }

  .speicherinnen {
    flex-direction: column;
    align-items: stretch;
  }

  .haertegradmatrix {
    display: block;
    overflow-x: auto;
  }
}
