@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;700&display=swap');

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 300;
  font-size: 20px;
  line-height: 1.2;
  color: #111;
  background: #fff;
}

a { color: inherit; }

/* ===== Grundraster ==================================================== */
.outer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  padding: 22px;
  align-items: start;
}

/* Logo steht in Spalte 1 und bleibt beim Scrollen stehen.
   Ab Zeile 2 bleibt diese Spalte bewusst leer. */
.logo-cell { grid-column: 1; grid-row: 1; align-self: stretch; }
.logo-sticky { position: sticky; top: 22px; display: flex; flex-direction: column; gap: 22px; }

.content { grid-column: 2 / 5; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.content.as-block { display: block; }

@media (max-width: 700px) {
  .outer { grid-template-columns: 1fr; }
  .logo-cell { grid-column: 1; grid-row: auto; align-self: auto; }
  .logo-sticky { position: static; }
  .content { grid-column: 1; grid-template-columns: 1fr; }
}

/* ===== Kacheln ======================================================== */
.tile {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  text-decoration: none;
  background: #fafafa;
}
.tile img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: opacity .15s ease;
}
.tile:hover img { opacity: .88; }
.tile-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 16px;
  border: 1px dashed #ccc; color: #666; font-size: 16px;
}

.logo-tile { display: block; }
.logo-tile img { width: 100%; height: auto; display: block; }
.logo-text { font-size: 46px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.logo-sub { font-size: 15px; color: #444; margin-top: 12px; line-height: 1.4; }

/* Zurück-Pfeil wie im Original: schlank, ohne Rahmen */
.back-arrow {
  background: none; border: none; padding: 0; cursor: pointer;
  color: #111; align-self: flex-start; line-height: 0;
}
.back-arrow:hover { color: #666; }

/* ===== Inhaltsseiten ================================================== */
.page-body { max-width: 760px; }
.page-body.wide { max-width: none; padding-right: 120px; }
.page-body p { margin: 0 0 20px; }
.page-body a { color: #2E3D30; text-decoration: underline; }
.muted { color: #666; }

/* ===== Buch-Blöcke ==================================================== */
.block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 100px;
  align-items: start;
}
.block-img img { width: 100%; height: auto; display: block; }
.block-heading { font-size: 33px; line-height: 1.2; margin-bottom: 44px; }
.block-text p { margin: 0 0 20px; }
.block-text a { color: #2E3D30; text-decoration: underline; }
@media (max-width: 700px) {
  .block { grid-template-columns: 1fr; }
  .page-body.wide { padding-right: 0; }
}

/* Tabelle (Eckdaten) */
.table { font-size: 17px; line-height: 1.2; }
.table-row { display: flex; gap: 20px; }
.table-key { width: 130px; flex-shrink: 0; }
.table-val { white-space: pre-line; }
.table-gap { height: 1.2em; }

/* Downloads */
.downloads { display: flex; flex-direction: column; gap: 6px; font-size: 17px; }
.downloads a { color: #2E3D30; text-decoration: underline; }

/* ===== Formulare ====================================================== */
.form-line {
  display: flex; gap: 16px; align-items: center;
  border-bottom: 1px solid #111; padding: 6px 0;
}
.form-line.multiline { align-items: flex-start; }
.form-label { width: 110px; flex-shrink: 0; font-size: 17px; }
.form-input {
  flex: 1; border: none; background: transparent; outline: none;
  font-family: inherit; font-size: 17px; font-weight: 300; padding: 0; resize: none;
}
.required-mark { color: #8B3A2B; }

.form-send {
  display: block; width: 100%; text-align: left;
  border: none; border-bottom: 1px solid #111; border-radius: 0;
  background: transparent;
  font-family: inherit; font-size: 17px; font-weight: 700;
  padding: 8px 0; cursor: pointer;
}
.form-send:disabled { opacity: .4; cursor: not-allowed; }

.checkbox-line {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; padding: 12px 0;
}

/* Honigtopf gegen Bots: für Menschen unsichtbar, Bots füllen es aus */
.hp-field {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden;
}

.done-box { border: 1px solid #111; padding: 18px; font-size: 18px; }

/* Sammelbestellung */
.pick-row { display: flex; gap: 8px; margin: 24px 0; flex-wrap: wrap; }
.pick-row select {
  flex: 1; min-width: 220px; padding: 8px; border: 1px solid #ccc;
  font-family: inherit; font-size: 17px; font-weight: 300; background: #fff;
}
.pick-row input[type=number] {
  width: 80px; padding: 8px; border: 1px solid #ccc;
  font-family: inherit; font-size: 17px;
}
.pick-row button {
  border: 1px solid #111; background: transparent; cursor: pointer;
  font-family: inherit; font-size: 17px; font-weight: 700; padding: 8px 16px;
}
.pick-row button:hover { background: #f2f2f2; }

.cart-line {
  display: flex; gap: 12px; align-items: center;
  border-bottom: 1px solid #ddd; padding: 8px 0; font-size: 17px;
}
.cart-remove {
  background: none; border: none; cursor: pointer; font-size: 16px; color: #8B3A2B;
}
.cart-total { display: flex; justify-content: flex-end; font-weight: 700; padding: 10px 0; }
.section-title { font-size: 22px; margin: 28px 0 12px; }

/* ===== Meldungen ====================================================== */
.loading, .error-box { padding: 40px 22px; color: #666; }
.error-box { color: #8B3A2B; }

/* ===== Musikstücke ==================================================== */
.track-list { display: flex; flex-direction: column; gap: 22px; }
.track-title { font-size: 20px; }
.track-sub { font-size: 16px; color: #555; margin-top: 2px; }
.track audio { width: 100%; margin-top: 8px; }

/* Eigener, hochgeladener Zurück-Pfeil */
.back-arrow-img { display: block; width: 54px; height: auto; }

/* Bilder im Fliesstext */
.page-body img,
.block-text img { max-width: 100%; height: auto; display: block; margin: 12px 0; }

/* ===== Karte ========================================================== */
.map-wrap { margin-top: 4px; }
.map-frame { max-width: 100%; position: relative; background: #f2f2f2; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; text-align: center; padding: 16px;
  border: 1px dashed #bbb; color: #444;
}
.map-note { font-size: 13px; color: #666; }
.map-load-btn {
  border: 1px solid #111; background: transparent; cursor: pointer;
  font-family: inherit; font-size: 15px; font-weight: 700; padding: 7px 14px;
}
.map-load-btn:hover { background: #fff; }
.block.full-width { grid-template-columns: 1fr; }
.block.full-width .block-img { display: none; }
