/* Rose Schulze - Stylesheet
   Farben aus der bestehenden Seite uebernommen: Schriftfarbe 58523C, Hover-Ton ECEAD5. */

:root {
  --tinte: #2b281f;
  --tinte-leise: #6b6553;
  --erde: #58523c;
  --sand: #ecead5;
  --papier: #f7f5ef;
  --papier-tief: #efece2;
  --linie: #d9d4c4;
  --weiss: #fffefb;
  --bahn: 68rem;
  --schmal: 44rem;
}

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

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

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--erde); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { background: var(--sand); }
a:focus-visible, .skip:focus { outline: 2px solid var(--erde); outline-offset: 3px; }

.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  background: var(--weiss);
  padding: 0;
  z-index: 10;
}
.skip:focus {
  width: auto;
  height: auto;
  clip-path: none;
  padding: 0.6rem 1rem;
  left: 0.5rem;
  top: 0.5rem;
}

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

.kopf {
  border-bottom: 1px solid var(--linie);
  background: var(--papier);
  position: sticky;
  top: 0;
  z-index: 5;
}

.kopf-innen {
  max-width: var(--bahn);
  margin: 0 auto;
  padding: 1.1rem 1.5rem 0.9rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 2rem;
}

.marke { text-decoration: none; color: inherit; display: block; }
.marke:hover { background: none; }
.marke:hover .marke-name { color: var(--erde); }

.marke-name {
  display: block;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.marke-zusatz {
  display: block;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tinte-leise);
  margin-top: 0.25rem;
}

.nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.35rem;
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.nav a {
  text-decoration: none;
  color: var(--tinte-leise);
  padding: 0.2rem 0;
  border-bottom: 1px solid transparent;
  display: inline-block;
}
.nav a:hover { background: none; color: var(--tinte); border-bottom-color: var(--erde); }
.nav a[aria-current="page"] { color: var(--tinte); border-bottom-color: var(--erde); }

/* ---------- Bahnen ---------- */

.bahn {
  max-width: var(--bahn);
  margin: 0 auto;
  padding: 3rem 1.5rem 0;
}

.bahn-schmal > * { max-width: var(--schmal); }
.bahn-schmal > h1, .bahn-schmal > h2 { max-width: var(--schmal); }

main > .bahn:last-child { padding-bottom: 4rem; }

h1 {
  font-size: clamp(1.9rem, 1.3rem + 2vw, 2.7rem);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: 0.005em;
  margin: 0 0 0.6rem;
}

h2 {
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 2.6rem 0 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--linie);
}

h3 { font-size: 1.1rem; font-weight: 400; margin: 0 0 0.35rem; }

.flies { margin: 0 0 1rem; color: var(--tinte); }
.flies.gross { font-size: 1.2rem; line-height: 1.6; color: var(--tinte-leise); }

.unterzeile {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tinte-leise);
  margin: 0 0 1.6rem;
}

.rueckweg {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.rueckweg a { color: var(--tinte-leise); text-decoration: none; }
.rueckweg a::before { content: "\2190\00a0"; }
.rueckweg a:hover { color: var(--erde); background: none; }

/* ---------- Startseite ---------- */

.titelbahn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding-top: 4.5rem;
}

.titelbahn h1 {
  font-size: clamp(2.4rem, 1.2rem + 4vw, 4rem);
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
}

.titel-zeile {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tinte-leise);
  line-height: 1.8;
  margin: 0;
}

.signatur {
  width: 15rem;
  max-width: 70%;
  height: auto;
  margin-top: 1.6rem;
  opacity: 0.85;
  mix-blend-mode: multiply;
}

.titel-bild { margin: 0; }
.titel-bild img {
  width: 100%;
  border: 1px solid var(--linie);
  background: var(--weiss);
}

.einstiege {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0;
  border-top: 1px solid var(--linie);
}

.einstiege li {
  padding: 1.6rem 1.6rem 1.8rem 0;
  border-bottom: 1px solid var(--linie);
}

.einstieg-titel {
  font-size: 1.1rem;
  font-weight: 400;
  margin: 0 0 0.35rem;
  padding: 0;
  border: 0;
}
.einstiege a { text-decoration: none; }
.einstiege a:hover { background: none; text-decoration: underline; }
.einstiege p { margin: 0; color: var(--tinte-leise); font-size: 0.97rem; }

/* ---------- Kacheln (Bereichsuebersicht) ---------- */

.kacheln {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: 2rem 1.75rem;
}

.kachel a {
  display: block;
  text-decoration: none;
  color: inherit;
}
.kachel a:hover { background: none; }

.kachel-bild {
  display: block;
  background: var(--papier-tief);
  border: 1px solid var(--linie);
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.kachel-bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}

.kachel a:hover .kachel-bild img { opacity: 0.82; }
.kachel a:hover .kachel-titel { color: var(--erde); }

.kachel-leer {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tinte-leise);
}

.kachel-text { display: block; padding-top: 0.75rem; }
.kachel-titel { display: block; font-size: 1.05rem; }
.kachel-unter {
  display: block;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tinte-leise);
  margin-top: 0.3rem;
}

/* ---------- Bildraster einer Galerie ---------- */

.raster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
  gap: 2.5rem 1.75rem;
}

.bild { margin: 0; }

.bild img {
  width: 100%;
  height: auto;
  background: var(--weiss);
  border: 1px solid var(--linie);
}

.bild figcaption {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--tinte-leise);
  margin-top: 0.55rem;
}

/* ---------- Blaettern ---------- */

.blaettern {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  border-top: 1px solid var(--linie);
  padding-top: 1.2rem;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.blaettern a { text-decoration: none; color: var(--tinte-leise); }
.blaettern a:hover { color: var(--erde); background: none; }
.weiter-vor::before { content: "\2190\00a0"; }
.weiter-nach { margin-left: auto; }
.weiter-nach::after { content: "\00a0\2192"; }

/* ---------- Vita ---------- */

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

.vita-zeile {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0 1.25rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--linie);
}

.vita-jahr {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--tinte-leise);
  padding-top: 0.22rem;
}

.vita-text { margin: 0; }

/* ---------- Kontakt ---------- */

.kontakt {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: start;
}

.kontakt-bild { margin: 0; }
.kontakt-bild img { border: 1px solid var(--linie); }

.linkliste { margin: 0 0 1rem; padding-left: 1.1rem; }
.linkliste li { margin-bottom: 0.5rem; }

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

.fuss {
  margin-top: 4.5rem;
  border-top: 1px solid var(--linie);
  background: var(--papier-tief);
}

.fuss-innen {
  max-width: var(--bahn);
  margin: 0 auto;
  padding: 2.2rem 1.5rem 2.6rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 2rem;
  align-items: start;
  font-size: 0.9rem;
  color: var(--tinte-leise);
}

.fuss-adresse { margin: 0; }

.fuss-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.25rem;
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}
.fuss-links a { text-decoration: none; }
.fuss-links a:hover { text-decoration: underline; background: none; }

.fuss-recht {
  grid-column: 1 / -1;
  margin: 0.6rem 0 0;
  font-size: 0.78rem;
  color: var(--tinte-leise);
}

/* ---------- Schmale Bildschirme ---------- */

@media (max-width: 62rem) {
  .titelbahn { grid-template-columns: 1fr; padding-top: 3rem; gap: 2rem; }
  .titel-bild { order: -1; }
}

@media (max-width: 40rem) {
  body { font-size: 1rem; }
  .kopf-innen { padding: 0.9rem 1.1rem 0.7rem; }
  .nav { gap: 0.15rem 1rem; font-size: 0.78rem; }
  .bahn { padding: 2.2rem 1.1rem 0; }
  .fuss-innen { grid-template-columns: 1fr; padding: 1.8rem 1.1rem 2.2rem; }
  .kontakt { grid-template-columns: 1fr; gap: 1.5rem; }
  .vita-zeile { grid-template-columns: 1fr; gap: 0.15rem; }
  .vita-jahr { padding-top: 0; }
  .einstiege li { padding-right: 0; }
  .raster { gap: 2rem 1.25rem; }
}

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