/* ---------------------------------------------------------------------------
   neoangin.info

   Optik von 2007 unveraendert -- blaues Kachelmuster, schwarze Navileiste,
   weisse Inhaltskaesten, rote Akzente, Arial 12px. Was sich geaendert hat,
   ist der Unterbau: statt position:absolute und 800px-Tabellen jetzt Flexbox
   und Grid, damit die Seite auch auf einem Telefon lesbar ist.
--------------------------------------------------------------------------- */

:root {
  --breite: 800px;
  --schrift: Arial, Helvetica, sans-serif;
  --text: #666666;
  --rot: #ff0000;
  --orange: #ff3300;
  --tuerkis: #006666;
  --grau: #888888;
  --weiss: #ffffff;
  --schwarz: #000000;
  --muster: url('/media/pic/patternblue.gif');
  --verlauf: url('/media/pic/verlauf4.gif');
  --balken: url('/media/pic/balken.gif');
}

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

body {
  margin: 0;
  font: 12px/1.5 var(--schrift);
  color: var(--text);
  background: var(--weiss) var(--muster);
}

img { max-width: 100%; height: auto; border: 0; }

a {
  color: var(--tuerkis);
  text-decoration: none;
  border-bottom: 1px solid var(--tuerkis);
}
a:hover, a:focus-visible {
  color: var(--weiss);
  background: var(--tuerkis);
}

h1, h2, h3 { color: var(--text); font-weight: bold; margin: 0 0 .5em; }
h1 { font-size: x-large; }
h2 { font-size: medium; }

p { margin: 0 0 1em; line-height: 150%; }

.megarot   { font-size: x-large; font-weight: bold; color: var(--rot); line-height: 150%; }
.megablau  { font-size: x-large; font-weight: bold; color: var(--orange); line-height: 150%; }
.rot       { color: var(--rot); }
.grau      { background: var(--grau); color: var(--weiss); font-weight: bold; padding: 1px; }
.termin .rot { background: var(--rot); color: var(--weiss); font-weight: bold; padding: 1px; }

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 8px; top: 8px; z-index: 10;
  background: var(--weiss); padding: 8px; border: 2px solid var(--rot);
}

/* --- Navileiste ---------------------------------------------------------- */

#navi {
  background: var(--schwarz);
  padding: 0;
}
#navi ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 auto;
  padding: 0;
  max-width: var(--breite);
  list-style: none;
}
#navi li { flex: 0 0 auto; }
#navi a {
  display: block;
  padding: 5px 8px 8px;
  text-align: center;
  color: #cccccc;
  border: 0;
  border-left: 2px solid transparent;
  border-right: 2px solid transparent;
}
#navi a:hover, #navi a:focus-visible {
  background: var(--schwarz);
  color: var(--weiss);
}
#navi .icon {
  display: block;
  width: 70px;
  height: 70px;
  margin: 0 auto;
  background-image: var(--icon);
  background-size: 70px 70px;
  background-repeat: no-repeat;
}
#navi a:hover .icon,
#navi a:focus-visible .icon { background-image: var(--icon-hover); }
#navi .label { display: block; margin-top: 2px; }
#navi li.active a {
  background: var(--verlauf) repeat-x bottom;
  border-left-color: var(--weiss);
  border-right-color: var(--weiss);
  color: var(--weiss);
}

/* --- Grundgeruest -------------------------------------------------------- */

#inhalt {
  max-width: var(--breite);
  margin: 20px auto 40px;
  padding: 0 10px;
}

.kasten {
  background: var(--weiss);
  padding: 15px;
  margin-bottom: 20px;
}
.kasten.schmal { max-width: 420px; }

.fliesstext { line-height: 150%; }
.fliesstext img { margin: 10px 10px 10px 0; }

.mehr {
  background: var(--weiss);
  display: inline-block;
  padding: 5px 8px;
  margin-top: 10px;
}

#fuss {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 15px 10px 40px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  color: var(--text);
}
#fuss span { margin-left: auto; opacity: .7; }

/* --- News ---------------------------------------------------------------- */

.spalten {
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(0, 250px);
  gap: 20px;
  align-items: start;
}

.newsbeitrag { margin-bottom: 25px; }

h2.balken {
  background: var(--balken) no-repeat;
  width: 100%;
  max-width: 460px;
  min-height: 63px;
  color: var(--weiss);
  font-size: medium;
  padding: 18px 10px 5px 80px;
  margin: 0 0 -30px 10px;
  position: relative;
  z-index: 1;
}

.newstext {
  background: var(--weiss);
  padding: 40px 15px 15px;
  line-height: 150%;
}
.newsbild { float: left; margin: 5px 12px 8px 0; max-width: 45%; }
.beitragsfuss {
  clear: both;
  color: #cccccc;
  padding-top: 10px;
  margin: 0;
}
/* Das Datum ist zugleich die dauerhafte Adresse der Meldung: im Fliesstext
   unauffaellig wie zuvor, beim Draufzeigen als Link erkennbar. */
.beitragsfuss a { color: inherit; border-bottom-color: currentColor; }
.beitragsfuss a:hover,
.beitragsfuss a:focus-visible { color: var(--weiss); background: var(--tuerkis); border-bottom-color: var(--tuerkis); }

.spalte-schmal {
  background: var(--weiss);
  padding: 15px;
}
.spalte-schmal .logo { display: block; margin-bottom: 10px; }
.spalte-schmal h2 { margin-top: 20px; }
.dienste { list-style: none; margin: 0 0 15px; padding: 0; }
.dienste li { margin-bottom: 3px; }

.platte-vorschau img, .spalte-schmal .platte img { margin-bottom: 5px; }
.termin { margin: 0 0 15px; }

/* --- ABC ----------------------------------------------------------------- */

.buchstaben {
  background: var(--weiss);
  padding: 10px 15px;
  margin-bottom: 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 6px;
}
.buchstaben a, .buchstaben span { border: 0; }
.buchstaben .sprache {
  margin-left: auto;
  font-size: 12px;
  border-bottom: 1px solid var(--tuerkis);
}

.abc-inhalt {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.abc-bild { margin: 0; background: var(--weiss); padding: 10px; }
.abc-bild figcaption { padding-top: 8px; font-weight: bold; }
.abc-text { margin: 0; }

/* --- Bio ----------------------------------------------------------------- */

.bio {
  display: grid;
  grid-template-columns: 110px minmax(0, 310px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.jahre {
  background: var(--weiss);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.jahre .hinweis { margin: 0 0 8px; font-weight: bold; }
.jahre a, .jahre span { border: 0; }
.jahre .sprache { margin-top: 10px; font-size: 12px; }

.bio-bilder figure { margin: 0 0 10px; }
.picback { background: var(--weiss); padding: 5px; }
.picback figcaption { padding: 8px 2px; font-weight: bold; }
.bio-text { margin: 0; }

/* --- Platten ------------------------------------------------------------- */

.plattenraster {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
}
.plattenraster .platte {
  display: flex;
  flex-direction: column;
  border: 0;
  text-align: center;
}
.plattenraster .platte:hover { background: none; }
.plattenraster .cover {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 150px;
}
.plattenraster .unterschrift {
  background: var(--weiss);
  padding: 8px 5px;
  margin-top: 5px;
  min-height: 65px;
}
.plattentitel { text-transform: capitalize; color: var(--text); }

.platte-detail {
  display: grid;
  grid-template-columns: minmax(0, 350px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.cover-gross { display: block; width: 100%; }
.cover-klein {
  display: flex;
  gap: 10px;
  background: var(--weiss);
  padding: 10px;
  margin-top: 10px;
}
.cover-klein a { border: 0; flex: 0 0 150px; max-width: 150px; }
.platte-text { margin: 0; }
.platte-meta { margin-bottom: 1em; }

.shop {
  background: #fffff0;
  padding: 10px;
  margin: 15px 0;
}
.shop .rot { margin: 0 0 5px; }

table.tracks {
  width: 100%;
  border-collapse: collapse;
  background: #fffff0;
  margin-top: 15px;
}
table.tracks caption {
  text-align: left;
  font-weight: bold;
  padding: 8px 10px;
  color: var(--text);
}
table.tracks td { padding: 4px 6px; vertical-align: middle; }
table.tracks .nr { text-align: right; width: 28px; color: var(--grau); }
table.tracks .hoeren { width: 200px; }
table.tracks .rot { font-weight: bold; }
table.tracks audio { height: 30px; max-width: 100%; vertical-align: middle; }

/* --- Flyer und Fotos ----------------------------------------------------- */

.bildraster {
  display: grid;
  gap: 12px;
  justify-items: center;
}
.bildraster.flyers { grid-template-columns: repeat(auto-fill, minmax(95px, 1fr)); }
.bildraster.fotos  { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.bildraster a { border: 0; display: block; }
.bildraster a:hover { background: none; }
.bildraster img {
  border: 5px solid var(--weiss);
  display: block;
}
.bildraster.flyers img { width: 85px; height: 85px; object-fit: cover; }

.bild-detail { text-align: center; }
.bild-gross { background: var(--weiss); padding: 8px; }
.bild-klein { display: inline-block; border: 0; margin-top: 10px; max-width: 150px; }
.bildunterschrift { background: var(--weiss); display: inline-block; padding: 5px 10px; margin-top: 10px; }
.bildnavi {
  margin: 15px auto 0;
  background: var(--weiss);
  display: inline-flex;
  gap: 20px;
  padding: 5px 15px;
}

/* --- Listen -------------------------------------------------------------- */

.downloadliste, .linkliste { list-style: none; margin: 0; padding: 0; }
.downloadliste li, .linkliste li { margin-bottom: 12px; line-height: 150%; }
.downloadliste .quelle { margin-left: 8px; font-size: 11px; }

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

@media (max-width: 820px) {
  .spalten,
  .abc-inhalt,
  .bio,
  .platte-detail {
    grid-template-columns: minmax(0, 1fr);
  }
  h2.balken {
    background-size: cover;
    margin-left: 0;
    padding-left: 60px;
  }
  .newstext { padding-top: 35px; }
  .bio { display: block; }
  .jahre {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
    margin-bottom: 15px;
  }
  .jahre .hinweis { flex-basis: 100%; margin: 0; }
  .bio-bilder { margin-bottom: 15px; }
}

@media (max-width: 560px) {
  #navi ul { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  #navi a { padding: 4px 6px 6px; }
  #navi .icon { width: 48px; height: 48px; background-size: 48px 48px; }
  #inhalt { margin-top: 12px; }
  .newsbild { float: none; display: block; max-width: 100%; margin: 0 0 10px; }
  h2.balken { font-size: 14px; padding: 14px 8px 5px 45px; min-height: 52px; }
  table.tracks .hoeren { width: 120px; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
