/* Lagerhaus 95 (lagerhaus95.com). Klassennamen sind deutsche Woerter mit der
   Domainziffer als Anhaengsel (.kopf95, .liste95, .satz95).
   Je Thema steht eine breite Leitkarte mit grossem Bild, daneben drei kleine.
   Im Beitrag kommt das Bild erst nach dem Einstiegsabsatz, das
   Inhaltsverzeichnis steht danach links im Text angeschlagen.
   Einzug 4 Leerzeichen. */

:root {
    --kreide: #faf9f7;
    --weiss: #ffffff;
    --basalt: #262a2d;
    --basaltmatt: #6e7478;
    --kupferrot: #9e4522;
    --kupferrottief: #722f14;
    --saum: #e4e1db;
    --flieg: "Source Serif Pro", "Droid Serif", Constantia, Georgia, serif;
    --schild: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--kreide);
    color: var(--basalt);
    font-family: var(--flieg);
    font-size: 1.05rem;
    line-height: 1.68;
}

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

h1, h2, h3 {
    font-family: var(--schild);
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 0.55em;
    overflow-wrap: normal;
}

h1 { font-size: 1.92rem; }
h2 { font-size: 1.25rem; margin-top: 1.9em; }
h3 { font-size: 1.05rem; margin-top: 1.45em; }

p { margin: 0 0 1.05em; }

/* Komposita bekommen einen Trennstrich, kein Kompositum wird zerschnitten */
body { hyphens: auto; hyphenate-limit-chars: 9 4 4; }

td, th, .gasse95 a { overflow-wrap: break-word; }

a { color: var(--kupferrottief); }

a:hover { color: var(--kupferrot); }

a:focus-visible { outline: 2px solid var(--kupferrot); outline-offset: 2px; }

.gasse95 { width: min(1060px, 100% - 2.5rem); margin-inline: auto; }

.sprung95 {
    position: absolute;
    left: -999px;
    background: var(--basalt);
    color: var(--weiss);
    padding: 0.6em 1em;
    z-index: 50;
}

.sprung95:focus { left: 1rem; top: 1rem; }

/* ----------------------------------------------------------------- Kopf */

.kopf95 { background: var(--weiss); border-bottom: 1px solid var(--saum); }

.kopfreihe95 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.1rem;
    flex-wrap: wrap;
    padding-block: 1.05rem;
}

.marke95 {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: var(--basalt);
}

.markenwort95 { font-family: var(--schild); font-size: 1.28rem; font-weight: 600; }

.nav95 ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 1.3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav95 a {
    font-family: var(--schild);
    font-size: 0.88rem;
    color: var(--basaltmatt);
    text-decoration: none;
}

.nav95 a:hover { color: var(--kupferrottief); }

.nav95 a[aria-current="page"] { color: var(--basalt); font-weight: 600; }

/* ----------------------------------------------------------------- Pfad */

.pfad95 {
    font-family: var(--schild);
    font-size: 0.79rem;
    color: var(--basaltmatt);
    padding-top: 1.1rem;
}

.pfad95 ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pfad95 li + li::before { content: "\276F"; margin-right: 0.35rem; font-size: 0.7em; }

.pfad95 a { color: var(--basaltmatt); text-decoration: none; }

.pfad95 a:hover { color: var(--kupferrottief); }

/* ----------------------------------------------------------- Uebersicht */

.auftakt95 { padding-block: 2.1rem 1rem; max-width: 64ch; }

.auftakt95 h1 { font-size: 2rem; }

.auftakt95 p { color: var(--basaltmatt); font-size: 1.08rem; margin-bottom: 0; }

.block95 { padding-block: 1.6rem; border-top: 1px solid var(--saum); }

.blockkopf95 {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.4rem;
}

.blockkopf95 h2 { margin: 0; font-size: 1.28rem; }

.blockkopf95 a { font-family: var(--schild); font-size: 0.84rem; text-decoration: none; }

.blockkopf95 a:hover { text-decoration: underline; }

.blocksatz95 { color: var(--basaltmatt); max-width: 72ch; margin: 0 0 1.3rem; }

/* Leitkarte ueber zwei Spalten, die uebrigen daneben */
.karten95 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.karte95 { display: flex; flex-direction: column; gap: 0.45rem; }

.karten95 > li:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.karten95 > li:first-child .karte95 img { aspect-ratio: 16 / 9; }

.karten95 > li:first-child .karte95 h3 { font-size: 1.3rem; }

.karte95 img { aspect-ratio: 3 / 2; object-fit: cover; }

/* ohne align-self zieht das Raster die kleinen Karten auf die halbe
   Hoehe der Leitkarte auseinander */
.karten95 > li:not(:first-child) { align-self: start; }

.karten95 > li:not(:first-child) .karte95 img { display: none; }

.karte95 h3 { margin: 0; font-size: 1.02rem; line-height: 1.33; }

.karte95 h3 a { color: var(--basalt); text-decoration: none; }

.karte95 h3 a:hover { color: var(--kupferrottief); }

.karte95 p { margin: 0; font-size: 0.93rem; color: var(--basaltmatt); }

.stempel95 {
    font-family: var(--schild);
    font-size: 0.77rem;
    color: var(--basaltmatt);
    margin: 0;
}

.ueber95 {
    border-top: 1px solid var(--saum);
    margin-top: 1.6rem;
    padding-block: 1.5rem 2.4rem;
    max-width: 70ch;
}

.nichts95 { padding-block: 2.4rem 3rem; max-width: 54ch; }

/* -------------------------------------------------------------- Beitrag */

.beitrag95 { padding-top: 1.3rem; padding-bottom: 2.4rem; max-width: 74ch; }

.beitrag95 > header { margin-bottom: 1.3rem; }

.rubrikwort95 {
    font-family: var(--schild);
    font-size: 0.73rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--kupferrottief);
    margin: 0 0 0.45rem;
}

.beitrag95 h1 { margin: 0 0 0.6rem; }

.zeile95 {
    font-family: var(--schild);
    font-size: 0.8rem;
    color: var(--basaltmatt);
    margin: 0;
}

.einstieg95 { font-size: 1.1rem; }

.bild95 { margin: 1.5rem 0; }

.bild95 img { aspect-ratio: 3 / 2; object-fit: cover; }

.bild95 figcaption {
    font-family: var(--schild);
    font-size: 0.77rem;
    color: var(--basaltmatt);
    margin-top: 0.4rem;
}

/* Das Inhaltsverzeichnis haengt links im Text */
.verzeichnis95 {
    float: left;
    width: 15.5rem;
    margin: 0.4rem 1.6rem 1rem 0;
    background: var(--weiss);
    border: 1px solid var(--saum);
    border-top: 3px solid var(--kupferrot);
    padding: 0.9rem 1rem;
}

.verzeichnistitel95 {
    font-family: var(--schild);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--basaltmatt);
    margin: 0 0 0.5rem;
}

.verzeichnis95 ol { margin: 0; padding-left: 1.15em; }

.verzeichnis95 li {
    font-family: var(--schild);
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.3em;
}

.verzeichnis95 a { color: var(--basalt); text-decoration: none; }

.verzeichnis95 a:hover { color: var(--kupferrot); text-decoration: underline; }

.satz95::after { content: ""; display: block; clear: both; }

.satz95 a { text-decoration: underline; text-underline-offset: 0.15em; }

.satz95 h2:first-child { margin-top: 0; }

.satz95 ul, .satz95 ol { padding-left: 1.3em; }

.satz95 li { margin-bottom: 0.4em; }

.satz95 blockquote {
    border-left: 3px solid var(--kupferrot);
    margin: 1.3em 0;
    padding-left: 1em;
    color: var(--basaltmatt);
}

.rollfeld95 { overflow-x: auto; margin: 1.3em 0; }

.satz95 table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }

.satz95 th, .satz95 td {
    border: 1px solid var(--saum);
    padding: 0.5em 0.7em;
    text-align: left;
}

.satz95 th { background: var(--weiss); font-family: var(--schild); }

.weiter95 {
    border-top: 1px solid var(--saum);
    padding-top: 1.4rem;
    margin-top: 2.4rem;
}

.weiter95 h2 { margin: 0 0 1rem; font-size: 1.08rem; }

.weiter95 ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.weiter95 .karte95 img { display: none; }

/* ----------------------------------------------------------------- Fuss */

.fuss95 {
    background: var(--weiss);
    border-top: 3px solid var(--basalt);
    padding-block: 1.6rem 2.2rem;
    font-family: var(--schild);
    font-size: 0.85rem;
    color: var(--basaltmatt);
}

.fuss95 a { color: var(--basaltmatt); text-decoration: none; }

.fuss95 a:hover { color: var(--kupferrottief); }

.fussraster95 { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.8rem; }
.karten95 > *, .weiter95 ul > *, .fussraster95 > * { min-width: 0; }

.fuss95 h2 { font-size: 0.86rem; color: var(--basalt); margin: 0 0 0.5em; }

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

.fuss95 li { margin-bottom: 0.3em; }

.fussende95 { margin-top: 1.3rem; }

/* ------------------------------------------------------------ Schmalgerät */

@media (max-width: 860px) {
    .karten95 { grid-template-columns: repeat(2, 1fr); }
    .karten95 > li:first-child { grid-column: span 2; grid-row: auto; }
    .weiter95 ul { grid-template-columns: repeat(2, 1fr); }
    .verzeichnis95 { float: none; width: auto; margin: 0 0 1.4rem; }
    .fussraster95 { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    body { font-size: 1rem; }
    .gasse95 { width: min(1060px, 100% - 2rem); }
    h1, h2, h3 { hyphenate-limit-chars: 7 3 3; }
    h1 { font-size: 1.52rem; }
    .auftakt95 h1 { font-size: 1.64rem; }
    .karten95, .weiter95 ul { grid-template-columns: minmax(0, 1fr); }
    .karten95 > li:first-child { grid-column: auto; }
    .karten95 > li:not(:first-child) .karte95 img { display: block; }
}
