/* Herzbaum-DALIB-Universe — statische Seite
   Keine externen Schriften, keine Skripte, keine Cookies. */

:root {
  --gruen: #2f5d34;
  --gruen-hell: #e7efe4;
  --orange: #a84e10;
  --text: #22201c;
  --text-leise: #4a453d;
  --grund: #fdfbf5;
  --kasten: #f3eee2;
  --linie: #d8cfbb;
}

* { box-sizing: border-box; }

html { font-size: 118%; }

body {
  margin: 0;
  padding: 0 1rem 4rem;
  background: var(--grund);
  color: var(--text);
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

.inhalt { max-width: 44rem; margin: 0 auto; }

/* Sprungmarke für Tastatur und Screenreader */
.sprung {
  position: absolute;
  left: -9999px;
}
.sprung:focus {
  left: 1rem;
  top: 1rem;
  background: var(--gruen);
  color: var(--grund);
  padding: 0.6rem 1rem;
  z-index: 10;
}

header.kopf {
  border-bottom: 4px solid var(--gruen);
  padding: 2rem 0 1.2rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

header.kopf .logo {
  width: 180px;
  height: auto;
  flex: 0 0 auto;
}

header.kopf .kopftext { flex: 1 1 0; min-width: 0; }

/* Nur für Vorleseprogramme und Suchmaschinen sichtbar.
   Optisch steht an dieser Stelle das Logo. */
.nur-vorlesen {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

h1 {
  font-size: 2.1rem;
  line-height: 1.2;
  margin: 0 0 0.3rem;
  color: var(--gruen);
}

.untertitel {
  margin: 0;
  font-size: 1.15rem;
  color: var(--text-leise);
}

h2 {
  font-size: 1.6rem;
  line-height: 1.25;
  color: var(--gruen);
  margin: 2.8rem 0 0.8rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid var(--linie);
}

h3 {
  font-size: 1.25rem;
  margin: 1.8rem 0 0.4rem;
  color: var(--text);
}

h4 {
  font-size: 1.05rem;
  margin: 1.4rem 0 0.3rem;
}

p { margin: 0 0 1rem; }

a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}
a:hover, a:focus { text-decoration-thickness: 3px; }
a:focus-visible { outline: 3px solid var(--gruen); outline-offset: 2px; }

ul, ol { margin: 0 0 1rem; padding-left: 1.4rem; }
li { margin-bottom: 0.4rem; }

/* Hinweiskasten */
.hinweis {
  background: var(--gruen-hell);
  border-left: 6px solid var(--gruen);
  padding: 1.2rem 1.4rem;
  margin: 0 0 2rem;
  border-radius: 4px;
}
.hinweis p:last-child { margin-bottom: 0; }
.hinweis h2 { margin-top: 0; border: none; padding: 0; }

/* Produkte */
.produkt {
  display: flex;
  gap: 1.6rem;
  align-items: flex-start;
  background: var(--kasten);
  border: 1px solid var(--linie);
  border-radius: 6px;
  padding: 1.4rem;
  margin-bottom: 1.6rem;
}
.produkt img {
  width: 180px;
  height: auto;
  flex: 0 0 auto;
  border-radius: 3px;
  border: 1px solid var(--linie);
}
.produkt-text { flex: 1 1 0; min-width: 0; }
.produkt h3 { margin-top: 0; }

.isbn {
  font-size: 0.95rem;
  color: var(--text-leise);
  margin: 0.4rem 0 0;
}

.anschrift {
  background: var(--kasten);
  border-left: 4px solid var(--linie);
  padding: 0.9rem 1.2rem;
  margin: 0 0 1.2rem;
}

.preis {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--gruen);
  display: block;
  margin: 0.6rem 0 0.2rem;
}
.preis-zusatz {
  display: block;
  font-size: 0.95rem;
  color: var(--text-leise);
  margin-bottom: 0.6rem;
}

@media (max-width: 34rem) {
  .produkt { flex-direction: column; gap: 1rem; }
  .person { flex-direction: column; gap: 1rem; }
  .gewaehrleistung { flex-direction: column; gap: 1rem; }
  .gewaehrleistung .gw-bild img { width: 60%; max-width: 200px; }
  .person .portraet { width: 70%; max-width: 260px; align-self: center; }
  .satzkasten { padding: 1.3rem 1.2rem; }
  .satzkasten .satz { font-size: 1.5rem; }
  .produkt img { width: 60%; max-width: 220px; align-self: center; }
  html { font-size: 112%; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.35rem; }
  header.kopf { flex-direction: column; align-items: flex-start; gap: 1rem; }
  header.kopf .logo { width: 150px; }
}

/* Der Satz zu Band 1, hervorgehoben.
   Das Orange ist das Orange aus dem Logo (#F9A305). Auf diesem Dunkelgrün
   gemessen 6,13 zu 1, die Marke darüber in Creme 12,1 zu 1. Auf dem helleren
   Grün der Seite käme dasselbe Orange nur auf 3,7 zu 1 und wäre als Fließtext
   zu schwach. */
.satzkasten {
  background: #1C3A21;
  border-radius: 8px;
  padding: 1.8rem 2rem;
  margin: 0 0 2rem;
  text-align: center;
}
.satzkasten .satzmarke {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FDFBF5;
}
.satzkasten .satz {
  margin: 0;
  font-size: 2rem;
  line-height: 1.25;
  font-weight: bold;
  color: #F9A305;
}

/* Grundangaben unter einem Produkt */
.angaben {
  font-size: 0.98rem;
  color: var(--text-leise);
  margin: 0.4rem 0 0;
}

.gleichpreis {
  font-size: 1.05rem;
  margin: 0 0 1.6rem;
}

/* Der amtliche Hinweis zur gesetzlichen Gewährleistung.
   An der Grafik darf nichts verändert werden — kein Rahmen, keine abgerundete
   Ecke, kein Zuschnitt, kein Strecken. Sie steht deshalb nackt und über die
   volle Breite, damit sie vollständig und lesbar bleibt. */
.gewaehrleistung {
  display: flex;
  gap: 1.6rem;
  align-items: flex-start;
  background: var(--kasten);
  border: 1px solid var(--linie);
  border-radius: 6px;
  padding: 1.4rem;
  margin: 2rem 0 2.5rem;
}
.gewaehrleistung .gw-bild { display: block; flex: 0 0 auto; line-height: 0; }
.gewaehrleistung .gw-bild img { display: block; width: 200px; height: auto; }
.gewaehrleistung .gw-text { flex: 1 1 0; min-width: 0; }
.gewaehrleistung .gw-text h3 { margin-top: 0; }
.gewaehrleistung .gw-text p:last-child { margin-bottom: 0; }

/* Die eigene Seite mit dem Hinweis in voller Groesse. Die Grafik bleibt
   unveraendert: kein Rahmen, kein Zuschnitt, nichts gestreckt. */
.inhalt.breit { max-width: 1280px; }
.gw-voll { margin: 0 0 1.4rem; }
.gw-voll img {
  display: block;
  width: 100%;
  max-width: 1241px;
  height: auto;
  margin: 0 auto;
}

/* Bild über die volle Breite, etwa die Postkarte */
figure.karte { margin: 1.8rem 0; }
figure.karte img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--linie);
  border-radius: 6px;
}

/* Über mich: Bild neben dem Text */
.person {
  display: flex;
  gap: 1.6rem;
  align-items: flex-start;
  margin-bottom: 1.6rem;
}
.person .portraet {
  width: 240px;
  height: auto;
  flex: 0 0 auto;
  border: 1px solid var(--linie);
  border-radius: 6px;
}
.person-text { flex: 1 1 0; min-width: 0; }
.person-text p:last-child { margin-bottom: 0; }

/* Bestellwege */
.wege {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}
.wege li {
  background: var(--kasten);
  border: 1px solid var(--linie);
  border-radius: 6px;
  padding: 0.9rem 1.2rem;
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
}

audio { width: 100%; margin: 0.6rem 0 1rem; }

table {
  border-collapse: collapse;
  width: 100%;
  margin: 0 0 1.5rem;
}
th, td {
  border: 1px solid var(--linie);
  padding: 0.6rem 0.8rem;
  text-align: left;
  vertical-align: top;
}
th { background: var(--kasten); }

.formular {
  background: var(--kasten);
  border: 1px solid var(--linie);
  border-radius: 6px;
  padding: 1.4rem;
  margin-bottom: 2rem;
}
.linie-zum-ausfuellen {
  display: block;
  border-bottom: 1px solid var(--text-leise);
  height: 1.8rem;
  margin: 0.2rem 0 1rem;
}

footer.fuss {
  border-top: 4px solid var(--gruen);
  margin-top: 3.5rem;
  padding-top: 1.4rem;
  font-size: 0.98rem;
  color: var(--text-leise);
}
footer.fuss ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  margin-bottom: 1rem;
}
footer.fuss li { margin: 0; }

.zurueck {
  display: inline-block;
  margin-bottom: 1.6rem;
  font-size: 1.05rem;
}

.stand { font-size: 0.92rem; color: var(--text-leise); }

@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  a { color: #000; }
  .sprung, footer.fuss ul { display: none; }
}
