@charset "utf-8";

/* Grundlegende Einstellungen für Schriftarten und Farben */
*
  {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  }

body
  {
  font-family: Verdana, Tahoma, Arial, sans-serif;
  background-color: #ffffff;
  background-image: url('../_pics/platine.png');
  background-attachment: fixed;
  color: #ffffcc;
  line-height: 1.2;
  padding: 0 10vw; /* Dynamischer Rand basierend auf der Bildschirmbreite */
  font-size: calc(0.6rem + 0.5vw); /* Dynamische Schriftgröße */
  }

header, main, footer
  {
  box-sizing: border-box;
  box-shadow: 6px 6px 8px #444444;
  border-radius: 30px 30px 30px 30px;
  background-color: #222222;
  background-image: url('../_pics/mauer.png');
  color: #ffffff;
  }

header
  {
  text-align: center;
  padding: clamp(1rem, 2.2vw, 2rem);
  margin-top: 1rem;
  }

header h1
  {
  font-size: 2.5rem;
  }

main
  {
  padding: 3rem;
  margin: 2rem 0;
  }

section
  {
  background-image: url('../_pics/platine2.png');
  background-attachment: fixed;
  color: #222222;
  margin: 2rem 4rem 2rem 4rem;
  box-sizing: border-box;
  -webkit-box-shadow: inset 8px 8px 8px 5px rgba(0,0,0,0.5); 
  box-shadow: inset 8px 8px 8px 5px rgba(0,0,0,0.5);
  border-radius: 20px 20px 20px 20px;
  padding: 2rem 6rem 2rem 6rem;
  }

section h2
  {
  font-size: 1.8rem;
  color: #444444;
  margin-bottom: 0.5rem;
  }

p
  {
  margin-bottom: 1rem;
  }

a
  {
  text-decoration: none;
  color: #0044cc;
  white-space: nowrap;
  }

footer a
  {
  color: #88bbff;
  }

a:hover
  {
  text-decoration: underline;
  }

footer
  {
  text-align: center;
  padding: 1rem;
  position: relative;
  bottom: 0;
  width: 100%;
  margin-top: 2rem;
  margin-bottom: 1rem;
  }

.linktab
  {
  border: 0;
  margin-bottom: 1rem;
  }

.linktab td
  {
  vertical-align: text-top;
  }

.linktab th
  {
  width: 50px;
  text-align: center;
  vertical-align: text-top;
  font-weight: bold;
  }

/* Media Queries für bessere Anpassung auf verschiedenen Geräten */
@media (max-width: 768px)
  {
  body { padding: 0 5vw; } /* Größerer Rand auf mobilen Geräten */
  header h1 { font-size: 2rem; }
  section h2 { font-size: 1.6rem; }
  }

@media (max-width: 480px)
  {
  body { font-size: calc(1rem + 1vw); } /* Noch größere Schrift auf sehr kleinen Bildschirmen */
  header h1 { font-size: 1.8rem; }
  section h2 { font-size: 1.4rem; }
  }

/* --- Titelbereich (Header) als Banner-Grid --- */
.titlebar
  {
  display: grid;
  grid-template-columns: minmax(90px, 22%) 1fr;
  align-items: center;
  gap: clamp(12px, 3vw, 40px);

  max-width: 1500px;
  width: 100%;

  margin: 0 auto;
  }

.titlebar img
  {
  display: block;
  height: auto;
  max-width: 100%;
  }

.titlebar__logo
  {
  max-height: clamp(110px, 12vw, 185px);
  width: auto;
  justify-self: end;
  }

.titlebar__wordmark
  {
  max-height: clamp(62px, 7.5vw, 120px);
  width: auto;
  justify-self: start;
  }

/* Sehr kleine Displays: untereinander, aber Schriftzug dominiert */
@media (max-width: 520px)
  {
  .titlebar
    {
    grid-template-columns: 1fr;
    text-align: center;
    }

  .titlebar__logo
    {
    max-height: 95px;
    }

  .titlebar__wordmark
    {
    max-height: 70px;
    }
  }

.site-header
  {
  padding: clamp(0.8rem, 2vw, 1.5rem);
  }
