:root {
  --gradient1: #a8edea;
  --gradient2: #fed6e3;
  --accent: #ff5e57;
  --text-dark: #222;
  --text-light: #000;
}

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

html, body {
  width: 100%;
  height: 100%;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  overflow: hidden;
  html, body {
  height: 100%;
  min-height: 100vh;
}
/* --- Autorenseite mit Bild rechts --- */
#autor {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100vh;
}

/* Text bleibt in der Mitte */
#autor .content {
  position: relative;
  z-index: 2; /* bleibt über dem Bild */
  max-width: 700px;
  text-align: center;
}

/* Das Bild auf der rechten Seite */
#autor .autor-bild {
  position: absolute;
  left: 0;
  top: 0;
  width: 40%;              /* Breite des Bildbereichs */
  height: 90%;
  background: url("Image/me.pdf") center center / cover no-repeat;
  border-radius: 0;        /* kein runder Rand, optional */
  z-index: 1;
}

/* Das Hintergrundbild */
body::before {
  content: "";
  position: fixed; /* bleibt immer über die gesamte Seite */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("Image/Vanitas\ und\ Nicolas\ plackat.pdf") no-repeat center center;
  background-size: cover; /* zieht sich bis ganz unten & füllt aus */
  z-index: -1;
  pointer-events: none;
}

}
body {
  background: linear-gradient(-45deg, #a8edea, #fed6e3, #89f7fe, #66a6ff);
  background-size: 400% 400%;
  animation: bgShift 18s ease infinite;
  display: flex;
  flex-direction: column;
}

@keyframes bgShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Kopfbereich */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.small-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--text-light);
  text-shadow: 0 0 10px rgba(0,0,0,0.3);
}

nav {
  display: flex;
  gap: 0.75rem;
}

.nav-btn {
  background: rgba(255,255,255,0.25);
  border: none;
  border-radius: 10px;
  padding: 0.6rem 1rem;
  color: var(--text-light);
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.nav-btn:hover, .nav-btn.active {
  background: #fff;
  color: var(--accent);
  transform: scale(1.05);
}

/* Seitenlayout */
main {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.page {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
  padding: 2rem;
}

.page.active {
  opacity: 1;
  pointer-events: auto;
}

.content {
  text-align: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
  padding: 4rem;
  border-radius: 25px;
  max-width: 900px;
  width: 90%;
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.15);
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

p {
  font-size: 1.3rem;
  line-height: 1.7;
  color: #303030;
  margin-bottom: 2rem;
}

/* Buttons */
.idea-button {
  background: #1e1e1e;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.8rem;
  font-size: 1.1rem;
  margin: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.idea-button:hover {
  transform: scale(1.07);
  box-shadow: 0 0 15px rgba(255,255,255,0.4);
}

/* Kontaktformular */
.contact-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 500px;
}

.contact-form input, 
.contact-form textarea {
  background: rgba(255,255,255,0.8);
  border: none;
  border-radius: 10px;
  padding: 0.9rem;
  font-size: 1.1rem;
  width: 100%;
}

.contact-form button {
  background: var(--accent);
  border: none;
  color: #fff;
  border-radius: 10px;
  padding: 1rem;
  font-size: 1.2rem;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  transform: scale(1.05);
}

.feedback {
  margin-top: 1rem;
  color: #fff;
  font-weight: bold;
}

/* Galerie */
.scrollable {
  overflow-y: auto;
}

.gallery-content {
  max-width: 700px;
  width: 90%;
  margin: 0 auto;
}

.gallery-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 3rem;
}

.gallery-item {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 25px;
  padding: 1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.4s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
}
.gallery-item:nth-child(11) {
  background-image: url("images/werk5.jpg");
  background-size: contain; /* zeigt das ganze Bild */
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgba(255,255,255,0.1); /* optionaler Hintergrund */
}
.gallery-item:nth-child(12) {
  background-image: url("images/werk5.jpg");
  background-size: contain; /* zeigt das ganze Bild */
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgba(255,255,255,0.1); /* optionaler Hintergrund */
}

.gallery-item:nth-child(9) {
  background-image: url("images/werk5.jpg");
  background-size: contain; /* zeigt das ganze Bild */
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgba(255,255,255,0.1); /* optionaler Hintergrund */
}

.gallery-item:nth-child(8) {
  background-image: url("images/werk5.jpg");
  background-size: contain; /* zeigt das ganze Bild */
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgba(255,255,255,0.1); /* optionaler Hintergrund */
}

.gallery-item:nth-child(7) {
  background-image: url("images/werk5.jpg");
  background-size: contain; /* zeigt das ganze Bild */
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgba(255,255,255,0.1); /* optionaler Hintergrund */
}
.gallery-item:nth-child(6) {
  background-image: url("images/werk5.jpg");
  background-size: contain; /* zeigt das ganze Bild */
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgba(255,255,255,0.1); /* optionaler Hintergrund */
}
/* Responsive */
@media (max-width: 768px) {
  h2 { font-size: 2rem; }
  p { font-size: 1.1rem; }
  .content { padding: 2rem; }
}

/* --------------------------------------------- */
/* 🎨 Galerie-Bilder per CSS einfügen             */
/* --------------------------------------------- */

/* Bilder automatisch in die Rahmen laden */
.gallery-item:nth-child(1)  { background-image: url("Image/Full\ Form\ Vanitas.jpg"); }
.gallery-item:nth-child(2)  { background-image: url("Image/Fertig.pdf"); }
.gallery-item:nth-child(3)  { background-image: url("Image/Kutsche.jpg"); }
.gallery-item:nth-child(4)  { background-image: url("images/werk4.jpg"); }
.gallery-item:nth-child(5)  { background-image: url("images/werk5.jpg"); }
.gallery-item:nth-child(6)  { background-image: url("Image/lucien.pdf"); }
.gallery-item:nth-child(7)  { background-image: url("Image/busch.pdf"); }
.gallery-item:nth-child(8)  { background-image: url("Image/gurke.pdf"); }
.gallery-item:nth-child(9)  { background-image: url("Image/engel.pdf"); }
.gallery-item:nth-child(10) { background-image: url("Image/Kutsche.jpg"); }
.gallery-item:nth-child(11) { background-image: url("Image/Full\ Form\ Vanitas.jpg"); }
.gallery-item:nth-child(12) { background-image: url("Image/Fertig.pdf"); }

/* Darstellung der Galerie-Items als Bildrahmen */
.gallery-item {
  background-size: cover;        /* füllt den Rahmen vollständig aus */
  background-position: center;   /* zentriert das Bild */
  background-repeat: no-repeat;  /* verhindert Kachelung */
  aspect-ratio: 16 / 9;          /* sorgt für gleichmäßige Höhe */
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.4s ease;
}

/* Entfernt sichtbare <img>, falls du sie im HTML lässt */
.gallery-item img {
  opacity: 0;
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  h2 { font-size: 2rem; }
  p { font-size: 1.1rem; }
  .content { padding: 2rem; }
}
/*Curser*/
/* 1. Cursor-Lupe über Buttons */
button:hover {
  cursor: url('images/magnifier.cur'), auto;
}

/* 2. Leuchtende Umrandung beim Hover */
button:hover {
  box-shadow: 0 0 15px 5px yellow;
  transform: scale(1.05);
  transition: 0.2s;
}

/* 3. Comic-artige wackelnde Buttons */
button:hover {
  animation: wobble 0.3s infinite alternate;
}

@keyframes wobble {
  0% { transform: rotate(-5deg); }
  100% { transform: rotate(5deg); }
}

