:root { font-size: 21px; }

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: Calibri, "Segoe UI", Candara, Arial, sans-serif;
  font-size: 21px;
}
a { text-decoration: none; font: inherit; color: white; }
a:hover { color: darkgrey; }
a:visited { font: inherit; color: white; }
.content-wrapper {
  display: flex;
  flex: 1;
  opacity: 1;
  transition: opacity 2.1s ease;   /* für Page-Transition */
}
h1 {
  font-size: 1.3rem;
}
h2 {
  font-size: 0.8rem;
  font-weight: normal;
}
h3 {
  font-size: 1rem;
}
h4 {
  cursor: default;
  font-weight: normal;
  font-size: 3.4rem;
}
.content-wrapper.fade-out { opacity: 0; } /* ausblenden vor Navigation */
nav {
  background: #274078;
  color: white;
  padding: 1rem;
  top: 0px;
  position: sticky;
  z-index: 1000;
}
.nav-link-shop {
  color: white;
  text-decoration: none;
  font-style: inherit;
}
main {
  flex: 1;
  padding: 1rem;
  background: #fff;
}

aside {
  width: 210px;
  font-color: #fff !important;
  background: #1E73A1;
  border-left: 1px solid black;
  padding: 1rem;
}

footer {
  background: #274078;
  color: white;
  padding: 1rem;
  text-align: left;
}
.schriftzug_main {
  border: 1px solid grey;
  border-radius: 13px;
}
.impressum-content {
  font-weight: normal;
  text-align: left;
  margin-left: 21vw;
  margin-right: 21vw;
}
.main-content {
    overflow-y: auto;
}
.logo_main {
  position: absolute;
  color: #6200c5;
  top: 89px;
  left: 80vw;
  rotate: -20deg;
  height: 130px;
  width: 130px;
}
.text-content {
  font-size: inherit;
  font: inherit;
  text-align: left;
  font-weight: normal;
  margin-left: 21vw;
  margin-right: 21vw;
}
.email-link {
  color: #000;
}
/* Kreis + Zahl */
.fibonacci-circle {
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: #08A4A8;
  display: flex;
  top: 17vh;
  cursor: default;
  align-items: center;
  justify-content: center;
  font-size: 5.5rem;
  font-weight: bold;
  color: #3B1D40;
  margin: 2rem auto;
  position: relative;
  overflow: hidden;
}
.fib-number {
  position: absolute;
  font-size: 5.5rem;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

/* Container: Button unter dem Kreis */
.fibonacci-container {
  display: flex;
  flex-direction: column; /* untereinander */
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.skip-btn {
  background: #1E73A1;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.3s;
  margin-top: 7rem;
}
.skip-btn:hover { background: #08A4A8; }

.fib-number img {
  max-width: 80%;
  max-height: 80%;
}
/* Anfangszustand */
.fade-in {
  opacity: 0;
  transform: translateX(0); /* neutral */
  transition: opacity 1s ease, transform 1s ease;
}

/* Sichtbar */
.fade-in.show {
  opacity: 1;
  transform: translateX(0);
}

/* Spezielle Startpositionen */
.from-right {
  transform: translateX(50px);
}
.from-left {
  transform: translateX(-50px);
}
.referenz-web-container {
max-width: 900px;
margin: 0 auto;
padding: 20px;
}
.referenz-web-heading {
text-align: center;
font-size: 1.3rem;
margin-bottom: 20px;
}
.referenz-web-grid {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: center;
}
.referenz-web-card {
flex: 1 1 200px;
max-width: 200px;
border-radius: 8px;
padding: 10px;
text-align: center;
}
.referenz-web-card img {
width: 100%;
height: auto;
border-radius: 4px;
margin-bottom: 8px;
}
.referenz-web-card p {
font-size: 0.8rem;
color: #555;
margin: 0;
}
/* Main-Content: initial unsichtbar, später per JS sichtbar */
main .main-content {
  text-align: center;
  font-size: 20px;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;          /* kein Layout-Flackern / keine Interaktion */
  transition: opacity 2.1s ease;
}
main .main-content.visible {
  opacity: 1;
  visibility: visible;
}

/* Responsive */
@media only screen and (min-width: 800px) and (max-width: 1024px) {
  .logo_main { left: 77vw; }
  aside { width: 130px; }
  body { font-size: 13px; }
  .text-content {
    margin-left: 0.8rem;
    margin-right: 0.8rem
  }
}

@media only screen and (min-width: 340px) and (max-width: 800px) {
  .logo_main { left: 66vw; }
  aside { width: 80px; }
  body { font-size: 13px; }
  .fibonacci-circle {
    width: 140px;
    height: 140px;
    top: 5vh;
    font-size: 5.5rem;
    margin: 1rem auto;
  }
.main-content {
  margin-left: 0.8rem;
  margin-right: 0.8rem;
}
  .skip-btn {
    padding: 0.6rem 1.2rem;
    margin-top: 4rem;
  }
  h4 {
    font-size: 1.3rem;
  }
  .text-content {
    margin-left: 5vw;
    margin-right: 5vw;
  }
  .impressum-content {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  .logo_main {
    height: 89px;
    width: 89px;
    left: 78vw;
  }
}
