/* --------------------------------------------------------------
/* =Header
-------------------------------------------------------------- */
header {
  padding: var(--spacer-medium) 0 0 0;
  justify-content: center;
  width: 100%;
  display: flex;
  max-width: 540px;
  margin: 0 auto;
  background-color: transparent; 
}

nav.header-menu {
  display: flex;
  flex-direction: row;
  gap: 4px;
  align-items: center;
  padding: 4px 12px;
  background: var(--bg-secondary);
  border-radius: 99px;
}
.header-menu__item {
  font-size: var(--font-size-small);
  font-weight: 500;
  padding: 12px;
  text-align: center;
  line-height: 100%;
  transition: background cubic-bezier(.5,0,0,1) 0.2s;
  position: relative;
  opacity: .5;
}
.header-menu__item:hover::before {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  margin-left: -2px;
  height: 4px;
  width: 4px;
  background: var(--text-primary);
  border-radius: 4px;
}
.header-menu__item.active {
  opacity: 1;
}
.header-menu__item.active::before {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  margin-left: -2px;
  height: 4px;
  width: 4px;
  background: var(--text-primary);
  border-radius: 4px;
}
.hero {
  padding: 12vh 0;
}

/* --------------------------------------------------------------
/* = Colophon
-------------------------------------------------------------- */
.animation-container {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.tag {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -30px 0 0 -30px;
  width: 60px;
  height: 60px;
  background: var(--text-primary);
  color: var(--bg-primary);
  border-radius: 8px;
  padding: 8px;
  font-size: 10px;
  font-family: var(--font-mono);
  transition: all cubic-bezier(1,0,.31,.9) 1s;
  z-index: 3;
  align-items: end;
  overflow: hidden;
  display: flex;
  transform: rotateX(0) rotateY(0) scale(1);
  cursor: pointer;
}
.loading-done .tag:hover {
  transform: rotateX(0) rotateY(0) scale(1);
  transition: all cubic-bezier(1,0,.31,.9) .5s;
  margin: -30px 0 0 -30px;
  width: 60px;
  height: 60px;
} 
.loading-done .tag {
  opacity: 1;
  width: 80px;
  margin-left: -40px;
  transform: scale(1.1);
  border-radius: 12px;
  transform: rotateZ(5deg) rotateX(30deg) rotateY(15deg) scale(1.1);
  overflow: hidden;
}
.tag::after {
  content:"";
  height: 6px;
  width: 6px;
  background: var(--bg-primary);
  border-radius: 9px;
  position: absolute;
  top: 8px;
  right: 8px;
}
.tag::before {
  content:"";
  background: var(--border);
  border-radius: 50px;
  position: absolute;
  z-index: -1;
  transition: all ease-in-out .8s;
  opacity: 0;
  height: 15px;
  width: 80%;
  bottom: -12px;
  right: 10%;
  filter: blur(6px);
}
.loading-done .tag::before {
  height: 25px;
  width: 80%;
  opacity: .6;
  bottom: -18px;
  right: -8px;
  filter: blur(12px);
  opacity: 1;
}
.tag:hover::before {
  height: 15px;
  width: 40%;
  bottom: -12px;
  right: 30%;
  filter: blur(3px);
  opacity: 1;
}
.wheel {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  max-width: 420px;
}
.wing {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  position: absolute;
  margin: -40px 0 0 -40px;
  top: 50%;
  left: 50%;
  background: linear-gradient(30deg, var(--border), transparent);
  transition: all cubic-bezier(.82,.22,0,.86) 2s;
  opacity: .8;
}

.wing.w1 {
  transform: translate3d(0, 0, 0) rotateZ(0) rotateX(80deg) rotateY(360deg) scale(.2);
}
.loading-done .wing.w1 {
  transform: translate3d(0, -150px, 0) rotateZ(0) rotateX(10deg) rotateY(45deg) scale(1);
}

.wing.w2 {
  transform: translate3d(0, 0, 0) rotateZ(60deg) rotateX(80deg) rotateY(360deg) scale(.2);
}
.loading-done .wing.w2 {
  transform: translate3d(125px, -75px, 0) rotateZ(60deg) rotateX(10deg) rotateY(45deg) scale(1);
}

.wing.w3 {
  transform: translate3d(0, 0, 0) rotateZ(120deg) rotateX(80deg) rotateY(360deg) scale(.2);
}
.loading-done .wing.w3 {
  transform: translate3d(125px, 75px, 0) rotateZ(120deg) rotateX(10deg) rotateY(45deg) scale(1);
}

.wing.w4 {
  transform: translate3d(0, 0, 0) rotateZ(180deg) rotateX(80deg) rotateY(360deg) scale(.2);
}
.loading-done .wing.w4 {
  transform: translate3d(0, 150px, 0) rotateZ(180deg) rotateX(10deg) rotateY(45deg) scale(1);
}

.wing.w5 {
  transform: translate3d(0, 0, 0) rotateZ(240deg) rotateX(80deg) rotateY(360deg) scale(.2);
}
.loading-done .wing.w5 {
  transform: translate3d(-125px, 75px, 0) rotateZ(240deg) rotateX(10deg) rotateY(45deg) scale(1);
}

.wing.w6 {
  transform: translate3d(0, 0, 0) rotateZ(300deg) rotateX(80deg) rotateY(360deg) scale(.2);
}
.loading-done .wing.w6 {
  transform: translate3d(-125px, -75px, 0) rotateZ(300deg) rotateX(10deg) rotateY(45deg) scale(1);
}

.spin {
  animation: spin 20s linear infinite;
  animation-delay: 500ms;
}
@keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes oneflipY {
  100% {
    -webkit-transform: rotateY(1turn);
    -moz-transform: rotateY(1turn);
    -o-transform: rotateY(1turn);
    transform: rotateY(1turn);
  }
}


/* --------------------------------------------------------------
/* =Stuff
-------------------------------------------------------------- */
.file-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}
.all-stuff-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
} 
.all-stuff-container .item {
  width: 10%;
  padding: 8px;
}
.item {
  width: 33.33%;
  padding: 16px;
}
.item figcaption {
  margin-top: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}
.item:hover {
  opacity: 0.8;
}
.item__image-file img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-small);
  aspect-ratio: 1 / 1;
  border: 0.5px solid var(--border);
}
.other-file {
  aspect-ratio: 1 / 1;
  width: 100%;
  margin: 0;
  align-items: center;
  display: flex;
  justify-content: center;
  border-radius: var(--radius-small);
  text-align: center;
  font-size: var(--font-size-small);
  color: var(--text-secondary);
  border: 0.5px solid var(--border);
}

 #time-display {
    font-variant-numeric: tabular-nums;
    -moz-font-feature-settings: "tnum";
    -webkit-font-feature-settings: "tnum";
    font-feature-settings: "tnum";
    display: inline-block;
    text-align: left;
    min-width: 4.5em;
    margin-left: 4px; 
  }
   
.text-justify {
    text-align: justify;
    hyphens: auto;
    max-width: 80ch;
    margin-left: auto;
    margin-right: auto; 
  }

.text-align-center {
    text-align: center !important;
  }  
  
a.underline {
  text-decoration: none;
}

/* --------------------------------------------------------------
/* =SITE SPECIFIC STUFF
-------------------------------------------------------------- */
#body_shop header {
  max-width: 100% !important; 
  /* Erzwingt das zarte Grau über die volle Breite */
  background: var(--bg-primary); !important;
  padding: var(--spacer-medium) 0 !important; 
  display: flex !important;
  justify-content: center !important;
}

#body_shop .header-container {
  width: 100% !important;
  max-width: 540px !important; 
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 calc(var(--gutter) * 4) !important;
  background: transparent !important;
  background-color: transparent !important;
}

.container {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}
.large-container {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
}

.logo {
	font-size: var(--font-size-regular);
}
.hero_image {
    background: var(--bg-primary);
    padding: 12vh 0;
}
#hero-image {
	margin: 12vh auto;
}
.footer-bead {
	background: var(--text-primary);
	height: 18px;
	width: 18px;
	border-radius: 0%;
	margin: 8vh auto;
}
h1, #signup h2 {
	font-size: 32px;
	letter-spacing: -0.08rem;
	font-weight: 450;
	line-height: 115%;
}
h2 {
	font-size: var(--font-size-regular);
	font-weight: 500;
}
.faq__question {
	padding-right: 40px;
	position: relative;
	border-top: 1px solid var(--border);
	padding: 2vh 0;
	color: var(--text-secondary);
	cursor: pointer;
}
.faq__question::after {
	content: "+";
	position: absolute;
	top: 32%;
	right: 0;
	color: var(--text-secondary);
}
.faq__question.open::after {
	content: "-";
}
.faq__answer {
	color: var(--text-secondary);
	padding: 6vh 0;
	display: none;
}
input[type=email] {
  padding: 6px 20px;
  border-radius: var(--radius-large); 
  -webkit-appearance: none;           
  appearance: none;
  text-align: center;
  width: 100%;
  margin-bottom: 20px;
  font-size: var(--font-size-regular);
  display: block;
  border: 1px solid var(--border);
  background: var(--bg-primary);
  color: var(--text-primary);
}

input[type=email]:focus {
  border: 1px solid var(--text-primary);
}

input[type=submit] {
  padding: 6px 20px;
  border-radius: var(--radius-large); 
  -webkit-appearance: none;           
  appearance: none;
  text-align: center;
  width: 100%;
  font-size: var(--font-size-regular);
  display: block;
  border: 1px solid var(--text-primary);
  background: var(--text-primary);
  color: var(--bg-primary);

/* --------------------------------------------------------------
/* =Mobile
-------------------------------------------------------------- */
@media screen and (max-width: 821px) {
	section.bead .box {
		padding-left: 0;
		padding-right: 0;
	}
	h1, #signup h2 {
		font-size: 30px;
		margin-bottom: var(--spacer-medium);
	}
	header {
		padding: 40px 0 0 0;
	}
	#hero-image {
		width: 320px;
		display: block;
	}
}
/* --- 1. MOBIL-DESIGNS (Standard bis 821px) --- */
.bento-img-fill {
  display: block;
  width: 100%;
  height: auto; /* Mobil verhält es sich wie ein normales fluid-img */
  border-radius: var(--radius-large);
  margin-bottom: 30px;
}

.bento-img-top {
  margin-bottom: 30px !important;
}


/* --- 2. DESKTOP-DESIGNS (ab 822px) --- */
@media screen and (min-width: 822px) {
  /* Zwingt die Spalten auf exakt die gleiche Höhe */
  .row.bento-grid-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
  }

  .bento-item-left {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
  }

  /* Jetzt greift height: 100% ohne Blockade durch boot.css */
  .bento-img-fill {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Verhindert Verzerrung */
    border-radius: var(--radius-large); /* Holt den abgerundeten Rand zurück */
    margin-bottom: 0px; /* Entfernt den mobilen Abstand auf Desktop */
  }

  .bento-item-right {
    display: block !important;
    height: auto !important;
  }

  /* Garantiert den Abstand zwischen Bild 2 und 4 */
  .bento-img-top {
    margin-bottom: 30px !important;
    display: block !important;
  }
}
  
/* --------------------------------------------------------------
/* =Blog
-------------------------------------------------------------- */
.the-content p {
  margin-bottom: 40px;
  color: var(--text-secondary);
}
.the-content h1 {
  margin-bottom: 12vh;
}
.the-content h2, 
.the-content h3, 
.the-content h4,
.the-content h5, 
.the-content h6 {
  margin-top: 80px;
}
.the-content img {
  display: block;
  margin: 6vh 0;
  width: 100%;
  height: auto;
  border-radius: var(--radius-small);
  overflow: hidden;
}

/* Blog Feed */

.blog-feed .year-label {
  margin-top: 12vh;
  display: inline-block;
}
.blog-feed .year-label:first-of-type {
  margin-top: 0;
}
.blog-list-item {
  padding: 0.5vh 0;
  display: flex;
  justify-content: space-between;
  align-items: first baseline;
}
.blog-list-item__title {
  width: 80%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wordcount {
  display: none;
}
.blog-list-item:hover .wordcount {
  display: inline-block;
}
.blog-list-item:hover .blog-list-item__title {
  text-decoration: underline;
}
.post-chapter {
  padding: 3vh 0;
  border-bottom: 1px solid var(--border);
}
/* --------------------------------------------------------------
/* = Image lightbox
-------------------------------------------------------------- */
.zoomlightbox-trigger {
  cursor: zoom-in;
}
.zoomlightbox-container {
  background: var(--bg-secondary);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  z-index: 10;
  cursor: zoom-out;
}
.zoomlightbox-image {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  transform: translate(-50%, -50%);
  max-width: 520px;
  max-height: 520px;
  height: auto;
  width: auto;
}
.zoomlightbox-image-name {
  position: absolute;
  top: 15px;
  left: 50%;
  width: 320px;
  font-size: var(--font-size-small);
  text-align: center;
  margin-left: -160px;
}
.close-zoomlightbox {
  position: absolute;
  bottom: 15px;
  left: 50%;
  width: 320px;
  font-size: var(--font-size-small);
  text-align: center;
  margin-left: -160px;
  opacity: 0.5;
}
