:root {
  --color-bg: #ffffff;
  --color-font: #231a24;
  --color-grey: #a9a9a9;
  --color-akzent: #c61675;
}


/* inter-200 - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 200;
  src: url('./fonts/inter-v18-latin-200.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/inter-v18-latin-regular.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-500 - latin */
@font-face {
  font-display: swap;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('./fonts/inter-v18-latin-500.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* homemade-apple-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Homemade Apple';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/homemade-apple-v22-latin-regular.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

.inter-normal200,
strong {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
}

.inter-medium400,
a.email-link,
bold,
.rezname,
.fett, h2 {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.inter-medium500,
h1 {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}






.homemade-apple-regular,
.grussformel {
  font-family: "Homemade Apple", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 1.5em;
  color: var(--color-akzent);
}

h1 {
  font-size: 1.5em;
  color: var(--color-akzent);
}

h2 {
  font-size: clamp(18px, 2vw, 20px); 
  color: var(--color-akzent);
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

p {
  font-size: clamp(16px, 2vw, 18px); 
}

html,
body {
  overflow-x: hidden;
}

body {
  background-color: var(--color-bg);
  font-family: sans-serif;
}

img {
  max-width: 100%;
}

a.email-link {
  text-decoration: none;
  color: var(--color-font);
}

a.email-link:hover {
  text-decoration: underline;
  color: var(--color-font);
}

#centercolumn {
  padding: 0 1em 1em 1em;
}

#centercolumn a {
color: var(--color-font);
}
.contact,
.socials, .imprint, .imprinttop, .navigation, .navigationmobile {
  width: 100%;
  margin: auto;
  text-align: center;
  padding-bottom: 1em;
}

.navigation, .navigationmobile {
  padding-top: 1em;
}

.socials img {
  width: 2em;
  height: auto;
  padding: 0 1em;
}

.logo {
  width: 90%;
  height: auto;
  padding: 1em 1em 0 1em;
  margin-bottom: 0;
}

.spacetop {
  padding-top: 1em;
}

.imprint, .imprinttop {
padding-top: 2em;
font-size: 14px;
color: var(--color-grey);
}

.imprint a, .imprinttop a {
  text-decoration: none;
color: var(--color-grey);}

.imprint a:hover, .imprinttop a:hover {
  text-decoration: underline;
color: var(--color-grey);}

.navigation a, .navigationmobile a {
  text-decoration: none;
  color: var(--color-font);
}

.navigation a:hover, .navigationmobile a:hover {
  text-decoration: underline;
  color: var(--color-font);
}


.navigation a {
  display: inline-flex;
  align-items: center; /* sorgt dafür, dass Icon-Mitte und Text-Mitte ausgerichtet sind */
  gap: 6px; /* Abstand zwischen Icon und Text */
  text-decoration: none; /* optional */
  color: inherit;        /* optional */
}

.navigation a img {
  width: 24px;   /* sicherstellen, dass alle Icons gleich groß sind */
  height: 24px;
  display: block; /* entfernt zusätzliche Whitespace unterhalb von img */
}


.navigationmobile a {
  display: inline-flex;
  align-items: center;   /* Icon und Text vertikal mittig */
  gap: 4px;              /* Abstand zwischen Icon und Text */
  text-decoration: none; /* optional */
  color: inherit;        /* optional */
}

.navigationmobile a img {
  width: 20px;  /* für mobile evtl. kleiner */
  height: 20px;
  display: block;
}



.layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  gap: 20px;
}



#leftcolumn {
  position: static;
  width: 375px;
}


#centercolumn {
  width: 100%;
  max-width: 649px;
  padding: 0 1em 1em 1em;
}


.imprinttop, .navigation {
    display: none;
  }

  .navigationmobile {
    display: inherit;
  }


img.rimg {
    width:50%;
    float:right;
    padding: 0 0 1em 1em;
  }

  div.videosfloat {
    width: 100%;
  }

   div.videoblock {
    width: 240px;
    padding-bottom: 2em;
      margin: 0 auto;

    
  }


.rezension {
font-style: italic;
padding-bottom:1em;
}

.rezname { display: block; }


.news-inline{
  margin: 18px 0 28px;
  padding: 10px 0 10px 14px;
  border-left: 3px solid #c61675;
  font-size: 0.95rem;
  line-height: 1.4;
}

.news-label{
  font-weight: 700;
  margin-right: 6px;
  color: #c61675;
}

.news-inline a{
  color: #333;
    text-decoration: underline;

}

.news-inline a:hover{
    text-decoration: none;

}



@media (min-width: 750px) and (max-width: 1023px) {
  .layout {
    position: relative;
    max-width: 1024px;
    margin: 0 auto;
    padding-left: 395px;
    /* 375 + 20 spacing */
  }



  #leftcolumn {
    position: fixed;
    top: 20px;
    left: calc(50% - 50vw);
    /* Hälfte von 1024 */
    width: 375px;
    height: fit-content;

  }



  #centercolumn {
    margin-top: 0.8em;
    margin-left: 20px;
    max-width: 649px;
    width: 100%;
  }

  .contactbtm, .navigationmobile {
    display: none;
  }
  .imprinttop, .navigation {
    display: inherit;
  }

img.rimg {
    width:20vw;
    float:right;
    padding: 0 0 1em 1em;
  }

    div.videoblock {
    width: 240px;
    padding-bottom: 2em;
    float: left;
    padding-right: 2em;
  }

    .clearer {
    clear: both !important;
  }

}





@media (min-width: 1024px) {
  .layout {
    position: relative;
    max-width: 1024px;
    margin: 0 auto;
    padding-left: 395px;
    /* 375 + 20 spacing */
  }

  #leftcolumn {
    position: fixed;
    top: 20px;
    left: calc(50% - 512px);
    /* Hälfte von 1024 */
    width: 375px;
    height: fit-content;
    z-index: 10;
  }

  #centercolumn {
    margin-top: 0.8em;
    margin-left: 20px;
    max-width: 649px;
    width: 100%;
  }

  .contactbtm, .navigationmobile {
    display: none;
  }
    .imprinttop,  .navigation {
    display: inherit;
  }

  img.rimg {
    width:25%;
    float:right;
    padding: 0 0 1em 1em;
  }

  div.videoblock {
    width: 240px;
    padding-bottom: 2em;
    float: left;
    padding-right: 2em;
  }

  .clearer {
    clear: both !important;
  }

}



/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.lightbox.is-open {
  display: block;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.78);
}

.lightbox__dialog {
  position: absolute;
  inset: 0;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 18px;
}

.lightbox__img {
  max-width: min(96vw, 1100px);
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  background: #111;
}

.lightbox__caption {
  margin-top: 10px;
  color: #fff;
  text-align: center;
  font-size: 14px;
  opacity: 0.9;
  max-width: min(92vw, 900px);
}

/* Buttons */
.lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 28px;
  line-height: 44px;
  cursor: pointer;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 34px;
  line-height: 44px;
  cursor: pointer;
}

.lightbox__prev { left: 12px; }
.lightbox__next { right: 12px; }

.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(255,255,255,0.18);
}

/* Mobile: Nav-Buttons etwas tiefer, damit sie nicht mit System-Gesten kollidieren */
@media (max-width: 640px) {
  .lightbox__nav {
    top: auto;
    bottom: 18px;
    transform: none;
  }
  .lightbox__prev { left: 18px; }
  .lightbox__next { right: 18px; }
}


/* === Spring Popup === */

/* === Spring Popup (FIX: immer komplett sichtbar) === */

#spring-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  padding: 24px; /* wichtig: damit auf Mobile nichts anstößt */
  box-sizing: border-box;
}

#spring-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

#spring-popup {
  position: relative;
  display: inline-block; /* passt sich dem Bild an */
  max-width: min(90vw, 1600px);
  max-height: min(90vh, 1600px);
}

#spring-popup img {
  display: block;
  width: auto;
  height: auto;

  /* DAS ist der Schlüssel: immer vollständig sichtbar */
  max-width: min(75vw, 1200px);
  max-height: min(75vh, 1200px);

  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

#spring-popup-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  background: white;
  border-radius: 50%;
  border: none;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

body.popup-open {
  overflow: hidden;
}