  h1 {
     font-size: 3em;
     color: #042143;
  }
  h2 {
     font-size: 2em;
     color: #fff;
     background: #EF751F;
  }
  p {
      color: #777;
      padding: 10px;
  }

  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { background: #042143; font-family: system-ui, sans-serif; }
  .hinweis { max-width: 297mm; margin: 12px auto; padding: 10px 14px; background: #EF751F; border-radius: 8px; }
  .hinweis img {
        width: 200px;
        height:200px;
        float: left; /* oder right */
        margin: 0 1.25rem 1rem 0; /* Abstand: oben rechts unten links */
        max-width: 800px;
        height: auto;
  }


  .kalender {
    width: 297mm; height: 210mm; position: relative; overflow: hidden;
    margin: 10mm auto; background: #f2eee5;
    background-image: url("./bilder/Advent.gif");
    background-position: center; background-size: cover;
    box-shadow: 0 2px 18px #777;
    border-radius: 8px;
  }
  /* Türchen sind 40 × 30 mm groß. Positionen in mm (links, oben).
     Die Anordnung lässt sich hier individuell verändern. */
  .tuerchen {
    position: absolute; width: 28mm; height: 20mm;
    perspective: 800px; border: 0; padding: 0; background: transparent;
    cursor: pointer; overflow: visible;
  }
  .bild-hinter {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; background: #transparent; border: 0px solid #777;
    border-radius: 3mm;
  }
  .bild-fehlt { display:flex; align-items:center; justify-content:center; background:#transparent; color:#666; font-size:10pt; }
  .tuer {
    position: absolute; inset: 0; display:flex; align-items:center; justify-content:center;
    transform-origin: left center; transition: transform 1.1s ease-in-out;
    border: 1.5mm solid #6d3d1c; border-radius: 1mm;
    background: linear-gradient(135deg, #b67b3c, #8b4c20 45%, #c18a4d);
    box-shadow: inset 0 0 0 1mm #d5a56a, 2px 3px 5px #0008;
    color: #ff1010; font-weight: 900; font-size: 26pt;
    text-shadow: 0 1px 2px #400;
    backface-visibility: hidden;
  }
  .tuer::before { content:""; position:absolute; inset:3mm; border: .1mm solid #777; }    /*#e3bd88*/
  .tuer::after { content:""; position:absolute; right:2.5mm; top:50%; width:2.2mm; height:2.2mm; transform:translateY(-50%); border-radius:50%; background:#f5d38b; box-shadow:0 0 1px #633; }
  .tuerchen.open .tuer { transform: rotateY(-115deg); }
  .tuerchen.aktiv:not(.open) .tuer { outline: 1mm solid #ffed00; outline-offset: 1mm; }
  .tuerchen[disabled] { cursor: default; }
  .nummer { position: relative; z-index: 1; }
  .tuerchen:focus-visible { outline: 2mm solid #00aaff; outline-offset: 1mm; }
  @media print {
    @page { size: A4 landscape; margin: 0; }
    body { background: white; }
    .hinweis { display:none; }
    .kalender { margin: 0; box-shadow: none; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
    .tuerchen { cursor: default; }
    .tuer { transition: none; }
    .tuerchen.aktiv .tuer { transform: rotateY(-115deg); }
  }

 .Bildgross {
    width: 297mm; height: 240mm; position: relative; overflow: hidden;
    margin: 10mm auto; background: #f2eee5;
    justify-content: center;
    background-position: center; background-size: cover;
    box-shadow: 0 2px 18px #777;
    border-radius: 8px;
    text-align: center;
  }
 .Bildgross img {
     display: block;
     margin: 0 auto;
     max-width: 100%;
     max-height: 180mm;
     border-radius: 8px;
  }
 .Bildgross a {
     text-decoration: none;
  }
  .overlay-box {
    position: absolute;
    bottom:40px; /* Abstand von unten */
    right:60px;  /* Abstand von rechts */
    width:300px;  /* Breite der kleinen Box */
    /*background-color: rgba(255, 255, 255, 0.7); /* Optional: leicht transparenter Hintergrund */
    padding: 5px; /* Optional: Innenabstand für die Box */
    border-radius: 8px; /* Optional: abgerundete Ecken */
  }

  .overlay-bild {
    width: 100%; /* Füllt die kleine Box komplett aus */
    height: auto;
    display: block;
  }

  .overlay-logo-box {
    position: absolute;
    top:0px; /* Abstand von unten */
    left:20px;  /* Abstand von rechts */
    width:100px;  /* Breite der kleinen Box */
    /*background-color: rgba(255, 255, 255, 0.7); /* Optional: leicht transparenter Hintergrund */
    padding: 5px; /* Optional: Innenabstand für die Box */
    border-radius: 8px; /* Optional: abgerundete Ecken */
  }

  .overlay-logo-bild {
    width: 100%; /* Füllt die kleine Box komplett aus */
    height: auto;
    display: block;
  }

  .overlay-aurini-box {
    position: absolute;
    bottom:0px; /* Abstand von unten */
    left:0px;  /* Abstand von rechts */
    width:50px;  /* Breite der kleinen Box */
    /*background-color: rgba(255, 255, 255, 0.7); /* Optional: leicht transparenter Hintergrund */
    padding: 5px; /* Optional: Innenabstand für die Box */
    border-radius: 8px; /* Optional: abgerundete Ecken */
  }

  .overlay-aurini-bild {
    width: 100%; /* Füllt die kleine Box komplett aus */
    height: auto;
    display: block;
  }

  .overlay-start-button {
  position: absolute;
  top: 50%;                /* Schiebt die obere Kante in die Mitte */
  left: 50%;               /* Schiebt die linke Kante in die Mitte */
  transform: translate(-50%, -50%); /* Zentriert das Icon exakt über seine eigene Mitte */

  width: 80px;             /* Gewünschte Größe des Play-Buttons festlegen */
  height: auto;
  transition: transform 0.2s ease; /* Weicher Übergang für Hover-Effekt */
}