

:root {
  --lilac: #3e2411;        /* helles Lila */
  --light: #fdfaff;        /* helles Beige/weiß für Kontrast */
  --text-dark: #333333;
  --radius: 12px;
  --shadow: 0 6px 18px rgba(0,0,0,0.1);
  --container: 1100px;
  --font: 'Inter', sans-serif;
  --lilac2: #390a7a; 
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  color: var(--text-dark);
  background-color: var(--light);
  line-height: 1.6;
  
  
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background-color: var(--lilac);
  padding: 20px 0;
  box-shadow: var(--shadow);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--light);
}

nav a {
  text-decoration: none;
  color: var(--light);
  margin-left: 20px;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--light);
  opacity: 0.8;
}

/* Hero */
.hero {
  background-image: url("0*EfkvjCOb8HA-dKNR.jpg");
  background-size: cover;
  color: var(--light);
  text-align: center;
  padding: 120px 20px 80px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn {
  background-color: var(--light);
  color: var(--lilac);
  padding: 12px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Services / Info Cards */
.services {
  background-color: var(--light);
  padding: 80px 20px;
  text-align: center;
}

.services h2 {
  margin-bottom: 40px;
  font-size: 2rem;
  color: var(--text-dark);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  
 
  }


.card {
  background-color: var(--lilac);
  padding: 30px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s;
  color: var(--light);
}

.card2 {
  background-color: #432403;
  padding: 100px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s;
  color: var(--light);

}



.card3 {
  background-color: #432403;
  padding: 200px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s;
  color: var(--light);
}




.card h3 {
  margin-bottom: 10px;
  font-size: 50px;
  color: #ffffff;
}

.card p {
  font-size: 0.95rem;
}



  




/* Aktiver Menüpunkt */
nav a.active {
  font-weight: 600;
  text-decoration: underline;
}



#mangabild{
  background-image:url("weeb-manga-symbolbild-305268-1.jpeg Kopie.jpg")
 
}

#comicbild{
  background-image: url("frankobelgische-comics-was-macht-sie-so-besonders-863959_800x.png Kopie.jpg");
}

#Bücherbild{
  background-image: url("top-10-most-popular-action-fantasy-manhwa-solo-levelling-a-v0-e2uerm4ce7n91.png Kopie.jpg");
  background-position: 50%;
  background-position-x: left;
  background-size: cover;


}





/* About */
.about {
  background-color: var(--light);
  padding: 80px 20px;
  text-align: center;
}

.about h2 {
  margin-bottom: 20px;
  font-size: 2rem;

}

.about p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1rem;
}

/* Footer */
footer {
  background-color: var(--lilac);
  color: var(--light);
  text-align: center;
  padding: 30px 20px;
}

.container2 {
  font-size: 5cap;
  font-weight: 800;
  color: rgb(41, 28, 25);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  }

/* --- 3 Reihen mit je einem Genre darüber, mittig & breit --- */

.manga-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  margin: 100px auto;
  max-width: 1400px;
  padding: 0 20px;
  text-align: center;
}

/* Jede Reihe einzeln */
.manga-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

/* Genre über der jeweiligen Kartenreihe */
.genre {
  font-size: 2.4rem;
  font-weight: 800;
  color: #000000;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Kartencontainer für jede Reihe */
.cards {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;                    /* Abstand zwischen Karten */
  flex-wrap: nowrap;            /* bleibt 3 pro Reihe */
}


/* Einzelne Karte */
.card {
  position: relative;
  width: 420px;                 /* breite Karten */
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background-color: var(--lilac);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: rgb(41, 28, 25);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

/* Manga-Bilder */
.card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  background-size: cover;
}

/* Titel unter den Bildern */
.manga-title {
  margin-top: 12px;
  font-weight: 700;
  color: #ffffff;
  font-size: 1.3rem;
  padding-bottom: 10px;
}

/* Responsive */
@media (max-width: 1200px) {
  .cards {
    flex-wrap: wrap;
    gap: 30px;
  }

  .card {
    width: 350px;
  }

  .genre {
    font-size: 2rem;
  }
}

@media (max-width: 800px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
  }

  .card img {
    height: 350px;
  }

  .genre {
    font-size: 1.7rem;
  }
}
/* --- Karten-Flip-Effekt --- */

/* Jede Karte enthält eine innere Fläche, die sich dreht */
.card {
  perspective: 1000px; /* 3D-Effekt aktivieren */
  cursor: pointer;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 420px;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Karte dreht sich beim Klick um */
.card.flipped .card-inner {
  transform: rotateY(180deg);
}

/* Vorder- und Rückseite */
.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--radius);
  overflow: hidden;
}

/* Vorderseite mit Bild */
.card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  
}

/* Rückseite mit Beschreibung */
.card-back {
  background-color: var(--lilac);
  color: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transform: rotateY(180deg);
 color: rgb(255, 255, 255);
  box-shadow: var(--shadow); 
  background-color: rgb(41, 28, 25);
}

.card-back p {
  font-size: 1rem;
  line-height: 1.4;
}

