* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Inter', sans-serif;
    background-color: #061312;
    color: #fff;
    line-height: 1.6;
  }
  
  /* Navigation */
  nav {
    background-color: #010f10;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
  }
  nav .logo a{
    font-size: 2.5rem;
    font-weight: bold;
    color: #00a8af;
    font-family: 'Amatic SC', cursive;
  }
  nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
  }
  nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
  }
  nav a:hover {
    color: #00a8af;
  }
  
  #contact {
    padding: 80px 20px;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
  }
  
  #contact .section-title {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #fff;
    font-family: 'Amatic SC', cursive;
  }
  
  #contact p {
    font-size: 1.1rem;
    color: #ddd;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  #contact form {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  #contact input,
  #contact textarea {
    padding: 14px 16px;
    border: none;
    border-radius: 10px;
    background: #1e2b2e;
    color: #fff;
    font-size: 1rem;
    transition: background 0.3s;
  }
  
  #contact input::placeholder,
  #contact textarea::placeholder {
    color: #bbb;
  }
  
  #contact input:focus,
  #contact textarea:focus {
    outline: none;
    background: #26383d;
  }
  
  #contact button {
    align-self: center;
    border-radius: 10px;
    background: #00a8af;
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    padding: 0.75em 1.5em;
    transform: translateY(-0.2em);
    transition: transform 0.1s ease, background 0.3s;
  }
  
  #contact button:hover {
    transform: translateY(-0.33em);
    background: #217c7c;
  }
  
/* Main */

.about-me-section {
  background: #061312;
  padding: 80px 30px;
  font-family: 'Inter', sans-serif;
  color: #eee;
}

.about-me-top {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
}

.about-me-img img {
  width: 400px;
  height: 600px;
  object-fit: cover;
  border-radius: 16px;
  border: 3px solid #00a8af;
  box-shadow: 6px 6px 0 #003a3c;
}

.about-me-content {
  max-width: 600px;
  text-align: left;
}

.about-me-title {
  font-family: 'Amatic SC', cursive;
  font-size: 5rem;
  color: #00a8af;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.about-me-text {
  font-size: 1.2rem;
  line-height: 1.6;
}

/* Cards Container */
.about-cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

/* Card Style - same dimensions as .about-me-img */
.card {
  position: relative;
  width: 240px;
  height: 320px;
  background-color: #0b1a1c;
  border-radius: 16px;
  overflow: hidden;
  perspective: 1000px;
  box-shadow: 0 0 0 4px #00a8af50;
  transition: transform 0.5s ease;
  border: 2px solid #00a8af;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 168, 175, 0.3);
}

.card svg {
  width: 40px;
  fill: #00a8af;
  transition: all 0.5s ease;
  z-index: 2;
}

.card:hover svg {
  scale: 0;
}

.card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  z-index: 0;
}

.card__content {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  background-color: rgba(6, 19, 18, 0.96);
  transform: rotateX(-90deg);
  transform-origin: bottom;
  transition: all 0.6s ease;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card:hover .card__content {
  transform: rotateX(0deg);
}

.card__title {
  margin: 0 0 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #00a8af;
  font-family: 'Amatic SC', cursive;
  text-align: center;
}

.card__description {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #ccc;
  margin-bottom: 15px;
  text-align: center;
}

.card__button {
  padding: 10px 14px;
  border-radius: 8px;
  background: #00a8af;
  color: white;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
  font-size: 0.85rem;
  align-self: center;
}

.card__button:hover {
  background: #007a7e;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-me-top {
    flex-direction: column;
    text-align: center;
  }

  .about-me-content {
    text-align: center;
  }

  .about-me-img img {
    width: 180px;
    height: 240px;
  }

  .card {
    width: 180px;
    height: 240px;
  }
}

/* Pfeil */
.book-wrapper-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 10;
}

.book-hint-vertical {
  text-align: center;
  color: #ffffff;
  font-family: 'Amatic SC', cursive;
  animation: fadeIn 2s ease-in-out;
}

.book-hint-vertical p {
  font-size: 3rem;
  font-family: 'Amatic SC', cursive;
  margin: 0;
}

.arrow-down {
  font-size: 5rem;
  color: #00eaff;
  animation: bounceDown 1.5s infinite ease-in-out;
  display: inline-block;
  margin-top: 5px;
}

@keyframes bounceDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

/* Image Divider */

.image-divider-top {
  width: 100%;
  height: 50px; /* Du kannst die Höhe anpassen */
  background-image: url("Img_s/Study_2_Black.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 20%;
  position: relative;
  z-index: 1;
  margin: 4rem 0;

}

.image-divider-bottom {
  width: 100%;
  height: 50px; /* Du kannst die Höhe anpassen */
  background-image: url("Img_s/Study_2_Black.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 80%;
  position: relative;
  z-index: 1;
  margin: 4rem 0;

}

/* Story */

.story-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 19, 18, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.story-overlay:target {
  display: flex;
  animation: fadeIn 0.5s ease-in-out;
}

.story-content {
  background: #0b1a1c;
  color: #eee;
  max-width: 600px;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 0 30px #00a8af88;
  text-align: center;
  font-family: 'Inter', sans-serif;
  animation: popIn 0.5s ease;
  position: relative;
}

.story-content h2 {
  font-size: 2rem;
  color: #00a8af;
  margin-bottom: 20px;
}

.story-content p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: transparent;
  color: #eee;
  text-decoration: none;
  font-size: 1.8rem;
  transition: color 0.2s;
}

.close-btn:hover {
  color: #00a8af;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes popIn {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}


/* Buch */

.totalbook{
  padding: 0px;
  height: 40vh;  
  margin-bottom: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.book{
  display: flex;
  align-items: center;
  cursor: pointer;
}

.book:hover .cover{
  transform: rotateX(10deg) rotateY(-180deg);
}

.book:hover .page{
  transform: rotateX(10deg) rotateY(-180deg);
  z-index: 2;
}

.back-cover{
  z-index: -2;
}

.cover{
  height: 300px;
  width: 260px;
  background: #00a8af;
  border-radius: 2px 20px 20px 2px;
  position: absolute;
  box-shadow: 1px 1px 10px gray;
  transform: rotateX(10deg);
  transform-origin: center left;
  z-index: 1;
  transition: all 3s;
}

.back-cover{

  height: 300px;
  width: 260px;
  background: #00a8af;
  border-radius: 2px 20px 20px 2px;
  position: absolute;
  box-shadow: 1px 1px 10px gray;
  transform: rotateX(10deg);
  transform-origin: center left;

}

.page{
  height: 280px;
  width: 250px;
  background: white;
  position: absolute;
  border-radius: 2px 10px 10px 2px;
  transform: rotateX(10deg);
  transform-origin: center left;
  z-index: 0;
}

.last-page{
  height: 280px;
  width: 250px;
  background: white;
  position: absolute;
  border-radius: 2px 10px 10px 2px;
  transform: rotateX(10deg);
  transform-origin: center left;
  z-index: -1;
  text-decoration: none;
}

.page:nth-child(2){
  transition-duration: 3s;
}
.page:nth-child(3){
  transition-duration: 2.6s;
}
.page:nth-child(4){
  transition-duration: 2.2s;
}
.page:nth-child(5){
  transition-duration: 1.8s;
}
.page:nth-child(6){
  transition-duration: 1.4s;
}

.book:hover .page:nth-child(2){
  transition-duration: 6s;
}
.book:hover .page:nth-child(3){
  transition-duration: 5.6s;
}
.book:hover .page:nth-child(4){
  transition-duration: 5.2s;
}
.book:hover .page:nth-child(5){
  transition-duration: 4.8s;
}
.book:hover .page:nth-child(6){
  transition-duration: 4.4s;
}

.cover img{
  width: 150px;
  display: block;
  border-radius: 50%;
  margin: 20px auto;
  position: relative;
  z-index: -10;
}

.cover h2{
  text-align: center;
  font-size: 32px;
}

.last-page img{
  width: 150px;
  display: block;
  border-radius: 50%;
  margin: 20px auto;
  position: relative;
  z-index: -10;
}

.last-page h2{
  text-align: center;
  font-size: 32px;
  z-index: 5;
  color: #000;
  
}

  /* Footer */
  footer {
    text-align: center;
    padding: 40px 20px;
    background-color: #010f10;
    color: #666;
  }
  
  /* Social Icons */
  ul {
    list-style: none;
  }
  
  .example-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2.5rem;
  }
  .example-2 .icon-content {
    margin: 0 10px;
    position: relative;
  }
  
  .example-2 .icon-content a {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #4d4d4d;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
  }
  .example-2 .icon-content a:hover {
    box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
  }
  .example-2 .icon-content a svg {
    position: relative;
    z-index: 1;
    width: 30px;
    height: 30px;
  }
  .example-2 .icon-content a:hover {
    color: white;
  }
  .example-2 .icon-content a .filled {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: #000;
    transition: all 0.3s ease-in-out;
  }
  .example-2 .icon-content a:hover .filled {
    height: 100%;
  }
  
  .example-2 .icon-content a[data-social="linkedin"] .filled,
  .example-2 .icon-content a[data-social="linkedin"] ~ .tooltip {
    background-color: #00a8af;
  }
  .example-2 .icon-content a[data-social="instagram"] .filled,
  .example-2 .icon-content a[data-social="instagram"] ~ .tooltip {
    background: #00a8af;
  }
  .example-2 .icon-content a[data-social="youtube"] .filled,
  .example-2 .icon-content a[data-social="youtube"] ~ .tooltip {
    background-color: #00a8af;
  }
  
  /* Karten in About me */ 
  .card-l {
    font-family: Montserrat, sans-serif;
    width: auto;
    height: auto;
    translate: -6px -6px;
    background: #00a8af;
    border: 3px solid #000000;
    box-shadow: -12px -12px 0 rgba(0, 168, 175, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
    border-top-left-radius: 25px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 25px;
    border-bottom-left-radius: 0;
  }
  
  .card-l:hover,
  .card-r:hover {
    animation: shake 0.4s ease;
  }
  
  @keyframes shake {
    0% { transform: translate(0, 0); }
    20% { transform: translate(-4px, 0); }
    40% { transform: translate(4px, 0); }
    60% { transform: translate(-4px, 0); }
    80% { transform: translate(4px, 0); }
    100% { transform: translate(0, 0); }
  }
  
  
  .card-r{
    font-family: Montserrat, sans-serif;
    width: auto;
    height: auto;
    translate: -6px -6px;
    background: #00a8af;
    border: 3px solid #000000;
    box-shadow: 12px 12px 0 rgba(0, 168, 175, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
    border-top-left-radius: 25px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 25px;
    border-bottom-left-radius: 0;
  }
  
  .head {
    font-family: Montserrat, sans-serif;
    font-size: 25px;
    font-weight: 900;
    width: auto;
    height: auto;
    background: #00a8af;
    padding: 5px 12px;
    color: #fff;
    border-bottom: 3px solid #000000;
  }
  
  .content {
    padding: 8px 12px;
    font-size: 20px;
    font-weight: 600;
    background: #fff;
    color: #000;
  }
  
  .button-pt {
    padding: 5px 10px;
    margin-top: 10px;
    border: 3px solid #000000;
    box-shadow: 3px 3px 0 #000000;
    font-weight: 750;
    background: #4ade80;
    transition: all 0.3s ease;
    cursor: pointer;
  }
  
  .button-pt :hover {
    translate: 1.5px 1.5px;
    box-shadow: 1.5px 1.5px 0 #000000;
    background: #fff;
  }
  
  .button-pt :active {
    translate: 3px 3px;
    box-shadow: 0 0 0 #000000;
  }
  
  .card:hover {
    translate: -6px;
  }