
@font-face {
    font-family: 'UniversBold';
    src: url('assets/fonts/UniversBold.ttf') format('truetype'),
}

@font-face {
    font-family: 'UniversCnBold';
    src: url('assets/fonts/UniversCnBold.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'UniversCnRg';
    src: url('assets/fonts/UniversCnRg.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'UniversLight';
    src: url('assets/fonts/UniversLight.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'UniversRegular';
    src: url('assets/fonts/UniversRegular.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}


#backgroundPhoto {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
    opacity: 0.4;
}



/* =========================
   Reset & Basis
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'UniversCnRg';
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: black;
    color: white;
    text-align: center;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px;
}

/* =========================
   Typografie
========================= */
h1 {
    font-size: 5em;
    color: #000;
    font-family: 'UniversCnBold';
}

h2 {
    font-size: 2.2em;
    color: white;
    font-family: 'UniversCnBold';
}

h3 {
    font-size: 1.5em;
    color: white;
    font-family: 'UniversCnRg';
}

a {
    color: white;
    text-decoration: underline;
}

.hinweisText {
  font-family: 'UniversCnRg' !important;
 font-weight: 100 !important;
  font-size: 1.2em !important;
  margin-top: 15px;
}

/* =========================
   Header
========================= */
header {
    margin-top: 53px;
    margin-bottom: 30px;
    padding-inline: 20px;
}

/* =========================
   Footer
========================= */
footer {
    padding: 20px 10px;
    width: 100%;
    text-align: center;
}

footer a {
    font-size: 0.9em;
    margin: 0 10px;
}

/* =========================
   Sprach-Switch
========================= */
.lang-switch {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
    z-index: 9998;
}

.lang-btn {
   
     background: rgb(0, 0, 0);
    border-color: rgba(0, 0, 0, 0.35);
    border: 1px solid black;
    color: white;
    padding: 6px 10px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.85em;
}

.lang-btn.active {
  background: rgb(0, 0, 0);
    border-color: rgba(255, 255, 255, 0.35);
}

/* =========================
   Audio
========================= */
audio {
    margin: 10px 0 20px;
}

.lang-btn {
  text-decoration: none; /* wichtig für <a> */
  display: inline-block;
}

/* =========================
   PDF / Infos
========================= */
.pdf-info {
    width: min(680px, 92vw);
    margin: 18px auto 0;
    text-align: left;
    color: white;
    line-height: 1.35;
}

/* Hinweisboxen */
.pdf-attention,
.pdf-note {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 12px 14px;
    margin: 10px 0;
    font-size: 0.95em;
}

/* Aufklapp-Elemente */
.pdf-details {
    margin: 12px 0;
    border: 1px solid rgba(102, 102, 102, 0.867);
    border-radius: 12px;
    background: rgba(54, 54, 54, 0.03);
    overflow: hidden;
}

.pdf-details > summary {
    cursor: pointer;
    padding: 12px 14px 12px 38px;
    font-weight: 700;
    list-style: none;
    position: relative;
}

.pdf-details > summary::-webkit-details-marker {
    display: none;
}

/* Pfeil */
.pdf-details > summary::before {
    content: "▸";
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.25s ease;
    font-size: 1.1em;
}

.pdf-details[open] > summary::before {
    transform: translateY(-50%) rotate(90deg);
}

.pdf-details[open] > summary {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.pdf-details > summary:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Inhalte */
.pdf-details ul {
    padding: 12px 26px 16px;
}

.pdf-details li {
    margin: 6px 0;
}

.pdf-small {
    padding: 12px 14px 0;
    font-size: 0.95em;
    opacity: 0.9;
}

.pdf-allergen-block {
    padding: 10px 14px 16px;
}

.pdf-allergen-block h3 {
    margin: 14px 0 6px;
    font-size: 1.05em;
    color: white;
}

.pdf-allergen-block p {
    margin: 0;
    opacity: 0.9;
}

/* =========================
   Responsive
========================= */
@media (max-width: 600px) {
    header {
        margin-top: 60px;
        margin-bottom: 30px;
    }

    h1 {
        font-size: 3em;
    }

    h2 {
        font-size: 1.7em;
    }

    footer a {
        display: block;
        margin: 5px 0;
    }
}

/* =========================
   Image Grid in Details
========================= */
.img-grid {
  padding: 12px 14px 16px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
}

.img-item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.img-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive Umbrüche */
@media (max-width: 900px) {
  .img-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .img-grid { grid-template-columns: 1fr; }
}

.img-item img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}



.icon-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.icon {
  width: 18px;
  height: 18px;
  opacity: 0.9;
}
