/* ============================================================
   PORTFOLIO — style.css
   Verlinke in deiner HTML so:
   <link rel="stylesheet" href="style.css">
   (im <head>, nach deinen bisherigen Styles oder als Ersatz)
============================================================ */

:root{
  --bg:#0b0b0f;
  --panel:#111118;
  --text:#f5f5f7;
  --muted:#a1a1aa;
  --accent:#7c5cff;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: Inter, system-ui, -apple-system, sans-serif;
}

/* ── BACKGROUND ── */
body{
  background: #0b0b0f;
  color:var(--text);
  min-height:100vh;
  overflow-x:hidden;
}

/* Blob 1 — wandert quer über den Bildschirm (Lila→Teal) */
body::before{
  content:"";
  position:fixed;
  width: 75vw;
  height: 75vw;
  top: -20%;
  left: -20%;
  border-radius: 50%;
  pointer-events:none;
  z-index:0;
  background: radial-gradient(circle, rgba(124,92,255,0.30) 0%, rgba(0,210,170,0.15) 55%, transparent 72%);
  animation: blobWander1 12s ease-in-out infinite,
             blobHue1    14s linear infinite;
  mix-blend-mode: screen;
  filter: blur(45px);
}

/* Blob 2 — gegenläufig (Pink→Blau) */
body::after{
  content:"";
  position:fixed;
  width: 65vw;
  height: 65vw;
  top: 60%;
  left: 60%;
  border-radius: 50%;
  pointer-events:none;
  z-index:0;
  background: radial-gradient(circle, rgba(200,60,255,0.24) 0%, rgba(60,160,255,0.15) 55%, transparent 72%);
  animation: blobWander2 10s ease-in-out infinite,
             blobHue2    18s linear infinite;
  mix-blend-mode: screen;
  filter: blur(55px);
}

@keyframes blobWander1{
  0%   { top: -20%; left: -20%; }
  25%  { top:  5%;  left:  55%; }
  50%  { top:  55%; left:  35%; }
  75%  { top:  65%; left: -10%; }
  100% { top: -20%; left: -20%; }
}

@keyframes blobWander2{
  0%   { top:  65%; left:  65%; }
  25%  { top:  20%; left: -10%; }
  50%  { top: -15%; left:  50%; }
  75%  { top:  45%; left:  75%; }
  100% { top:  65%; left:  65%; }
}

@keyframes blobHue1{
  0%   { filter: blur(45px) hue-rotate(0deg);   }
  100% { filter: blur(45px) hue-rotate(360deg); }
}

@keyframes blobHue2{
  0%   { filter: blur(55px) hue-rotate(0deg);    }
  100% { filter: blur(55px) hue-rotate(-360deg); }
}

/* ── HEADER NAV FLY-IN / FLY-OUT ── */
.nav-item{
  transition:
    transform 0.55s cubic-bezier(0.16,1,0.3,1),
    opacity   0.55s cubic-bezier(0.16,1,0.3,1);
}

/* Startzustand beim Laden: unsichtbar, versetzt */
.nav-left{
  transform: translateX(-40px);
  opacity: 0;
}
.nav-right{
  transform: translateX(40px);
  opacity: 0;
}

/* Eingeflogen */
.nav-item.nav-visible{
  transform: translateX(0) !important;
  opacity: 1 !important;
}

/* Ausgeflogen beim Scrollen */
.nav-left.nav-hidden{
  transform: translateX(-50px) !important;
  opacity: 0 !important;
}
.nav-right.nav-hidden{
  transform: translateX(50px) !important;
  opacity: 0 !important;
}

/* ── HEADER ── */
header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:24px 48px;
  position:fixed;
  width:100%;
  top:0;
  z-index:100;
  isolation:isolate;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  background: rgba(10,10,15,0.55);
  border-bottom: 1px solid rgba(255,255,255,0);
  transition: border-color 0.4s ease, background 0.4s ease, padding 0.4s ease;
}

header.scrolled{
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(10,10,15,0.75);
  padding: 16px 48px;
}

.logo{
  font-weight:600;
  letter-spacing:0.5px;
}

nav a{
  color:var(--muted);
  margin-left:24px;
  text-decoration:none;
  transition:0.2s;
}

nav a:hover{
  color:var(--text);
}

/* ── HERO ── */
.hero{
  height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:left;
  padding:0 10vw;
}

.hero-box{
  max-width:900px;
}

.hero h1{
  font-size:64px;
  line-height:1.05;
  font-weight:600;
}

.hero p{
  margin-top:20px;
  color:var(--muted);
  font-size:18px;
  background: linear-gradient(90deg, var(--muted) 0%, rgba(180,160,255,0.9) 40%, var(--muted) 80%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear 1.5s infinite;
}

@keyframes shimmer{
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* ── HERO REVEAL CARD ── */
.hero-reveal-card{
  position: relative;
  display: inline-block;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.45),
    0 0 0 1px rgba(124,92,255,0.15) inset,
    0 0 60px rgba(124,92,255,0.08) inset;
  overflow: hidden;

  /* Start: null Höhe, dann aufklappen */
  max-height: 0;
  padding: 0 52px;
  animation: heroCardReveal 0.9s cubic-bezier(0.16,1,0.3,1) 0.2s forwards;
}

.hero-reveal-inner{
  opacity: 0;
  transform: translateY(10px);
  animation: heroTextFadeIn 0.6s ease 0.85s forwards;
  padding: 52px 0;
}

@keyframes heroCardReveal{
  0%   {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    clip-path: inset(50% 0 50% 0 round 20px);
    opacity: 0.3;
  }
  40%  { opacity: 1; }
  100% {
    max-height: 400px;
    padding-top: 52px;
    padding-bottom: 52px;
    clip-path: inset(0% 0 0% 0 round 20px);
    opacity: 1;
  }
}

@keyframes heroTextFadeIn{
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

section{
  padding:120px 10vw;
  position:relative;
  z-index:1;
}

/* ── Scroll-Reveal für Section-Headings ── */
section h2, .contact-sub{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
              transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

section h2.revealed, .contact-sub.revealed{
  opacity: 1;
  transform: translateY(0);
}

.contact-sub{ transition-delay: 0.1s; }

/* ============================================================
   CAROUSEL
============================================================ */
.carousel{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-top:40px;
  overflow:visible;
  touch-action: pan-y;
}

/* gap:20px ist der Basis-Wert — JS überschreibt ihn beim Scrollen */
.carousel-track{
  display:flex;
  gap:20px;
  transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
  will-change: transform, gap;
}

/* ── CARD ── */
.carousel .card{
  min-width: 420px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 80px rgba(0,0,0,0.5);
  transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94),
              opacity 0.7s cubic-bezier(0.25,0.46,0.45,0.94),
              box-shadow 0.7s ease,
              border-color 0.3s ease;
  transform: scale(0.88);
  opacity: 0.55;
  padding: 16px;
}

/* ── FLY-IN: Startzustände (JS fügt diese Klassen hinzu) ── */
.carousel .card.fly-left{
  transform: scale(0.88) translateX(-120px);
  opacity: 0;
}
.carousel .card.fly-right{
  transform: scale(0.88) translateX(120px);
  opacity: 0;
}

/* Nach fly-in: inaktive Karten landen in Normalposition */
.carousel .card.fly-left.visible,
.carousel .card.fly-right.visible{
  transform: scale(0.88);
  opacity: 0.55;
}

/* Aktive Karte startet auch aus dem Flug heraus */
.carousel .card.active.fly-left,
.carousel .card.active.fly-right{
  transform: scale(1.05) translateX(0);
  opacity: 0;
}
.carousel .card.active.visible{
  transform: scale(1.05);
  opacity: 1;
}

/* ── ACTIVE (nach fly-in) ── */
.carousel .card.active{
  transform: scale(1.05);
  opacity: 1;
  box-shadow:
    0 30px 120px rgba(124,92,255,0.35),
    0 0 0 1px rgba(124,92,255,0.3);
}

/* ── HOVER (nur inaktive Karten) ── */
.carousel .card:hover:not(.active){
  transform: scale(0.91);
  border: 1px solid rgba(124,92,255,0.4);
  box-shadow: 0 30px 100px rgba(124,92,255,0.2);
}

/* ── VIDEO ── */
.video-wrapper{
  position:relative;
}

.video-wrapper video{
  width:100%;
  height:260px;
  object-fit:cover;
  border-radius:16px;
  display:block;
  filter: saturate(1.05) contrast(1.05);
}

/* ── PLAY BUTTON ── */
.play-btn{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  width:60px;
  height:60px;
  border-radius:50%;
  border:none;
  backdrop-filter: blur(10px);
  background: rgba(0,0,0,0.5);
  color:white;
  font-size:22px;
  cursor:pointer;
  transition:0.3s;
  box-shadow:
    0 10px 40px rgba(0,0,0,0.6),
    0 0 20px rgba(124,92,255,0.2);
}

.play-btn:hover{
  background: rgba(124,92,255,0.3);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-wrapper.playing .play-btn{
  opacity:0;
  pointer-events:none;
}

/* ── VIDEO CONTROLS ── */
.video-controls{
  position:absolute;
  bottom:10px;
  left:10px;
  right:10px;
  display:flex;
  justify-content:space-between;
  opacity:0;
  transition:0.3s;
}

.video-wrapper:hover .video-controls{
  opacity:1;
}

.video-controls input{
  width:100px;
}

.fs-btn{
  background:rgba(0,0,0,0.6);
  border:none;
  color:white;
  padding:5px 8px;
  border-radius:8px;
  cursor:pointer;
}

/* ── FULLSCREEN OVERLAY ── */
.fullscreen{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:black;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.fullscreen video{
  width:80%;
  max-height:80%;
}

/* ── CAROUSEL ARROWS ── */
.arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background: rgba(20,20,25,0.6);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  color:white;
  font-size:30px;
  padding:10px 15px;
  cursor:pointer;
  border-radius:10px;
  transition:0.3s;
  z-index:10;
}

.arrow:hover{
  background: rgba(124,92,255,0.3);
  border-color: rgba(124,92,255,0.6);
}

.arrow.left{ left:0; }
.arrow.right{ right:0; }

/* ============================================================
   FOOTER
============================================================ */
.footer-divider{
  width:100%;
  height:1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.15), transparent);
  margin-top:120px;
}

.footer{
  padding:140px 10vw 60px;
  display:flex;
  flex-direction:column;
  gap:80px;
}

.footer-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  width:100%;
}

.footer-col{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.footer-label{
  font-size:11px;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.35);
}

/* Footer Links mit Underline-Animation */
.footer-col a{
  font-size:22px;
  font-weight:500;
  color:white;
  text-decoration:none;
  position:relative;
}

.footer-col a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-4px;
  width:0;
  height:1px;
  background:#7c5cff;
  transition:0.35s ease;
}

.footer-col a:hover::after{
  width:100%;
}

.footer-col.right{
  align-items:flex-end;
  text-align:right;
}

.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  color:var(--muted);
  font-size:14px;
}

.footer-bottom > div:first-child{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.coming-soon{
  text-align:right;
}


/* ============================================================
   FOLDER GRID — Ordner-Übersicht
============================================================ */

.folder-grid{
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
  overflow: visible;
  padding-top: 100px; /* Platz für die Hover-Previews oberhalb */
}

.folder-card{
  width: 240px;
  cursor: pointer;
  border-radius: 16px;
  transition: box-shadow 0.3s ease;
  transform-style: preserve-3d;
  transform: perspective(800px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(var(--ty,0px));
  transition: transform 0.15s ease, box-shadow 0.3s ease;
  will-change: transform;
}

/* ── Vorschaubild-Bereich ── */
.folder-cover{
  position: relative;
  width: 100%;
  height: 160px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(124,92,255,0.12);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.folder-card:hover .folder-cover{
  border-color: rgba(124,92,255,0.5);
  box-shadow: 0 20px 60px rgba(124,92,255,0.25);
}

.folder-cover img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.folder-card:hover .folder-cover img{
  opacity: 0.9;
  transform: scale(1.04);
}

/* ── Ordner-Icon — zentriert, größer ── */
.folder-icon{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 75px;
  color: rgba(124,92,255,0.9);
  filter:
    drop-shadow(0 4px 18px rgba(124,92,255,0.55))
    drop-shadow(0 0 40px rgba(124,92,255,0.2));
  z-index: 2;
  transition: color 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}

.folder-card:hover .folder-icon{
  color: rgba(168,140,255,1);
  transform: translate(-50%, -54%) scale(1.08);
  filter:
    drop-shadow(0 6px 24px rgba(124,92,255,0.75))
    drop-shadow(0 0 60px rgba(124,92,255,0.35));
}

/* ── Öffnen-Pfeil — entfernt ── */

/* ============================================================
   FOLDER HOVER VIDEO PREVIEW — Mini-Videos im Bogen
============================================================ */

/* Container der über dem Ordner schwebt */
.folder-preview{
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  pointer-events: none;
  z-index: 20;
  width: 320px;
}

/* Jedes Mini-Video-Item */
.folder-preview-item{
  position: relative;
  width: 86px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,0.18);
  background: rgba(20,20,30,0.85);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.55),
    0 0 0 1px rgba(124,92,255,0.1);
  cursor: pointer;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px) scale(0.82);
  transition:
    opacity     0.38s cubic-bezier(0.34,1.56,0.64,1),
    transform   0.38s cubic-bezier(0.34,1.56,0.64,1),
    border-color 0.22s ease,
    box-shadow  0.22s ease;
  will-change: transform, opacity;
  flex-shrink: 0;
}

/* Bogen-Positionen: linkes Item leicht hoch, mittleres am höchsten, rechtes leicht hoch */
.folder-preview-item:nth-child(1){
  transition-delay: 0.04s;
  margin-bottom: 10px;
}
.folder-preview-item:nth-child(2){
  transition-delay: 0s;
  margin-bottom: 22px;
}
.folder-preview-item:nth-child(3){
  transition-delay: 0.08s;
  margin-bottom: 10px;
}

/* Sichtbar wenn Ordner ODER Preview gehovered — via JS-Klasse */
.folder-card.preview-open .folder-preview-item{
  opacity: 1;
  pointer-events: auto;
}

/* Bogen-Endpositionen (leichtes Kippen für natürlichen Bogen) */
.folder-card.preview-open .folder-preview-item:nth-child(1){
  transform: translateY(0) scale(1) rotate(-5deg);
}
.folder-card.preview-open .folder-preview-item:nth-child(2){
  transform: translateY(0) scale(1) rotate(0deg);
}
.folder-card.preview-open .folder-preview-item:nth-child(3){
  transform: translateY(0) scale(1) rotate(5deg);
}

/* Hover auf einzelnes Mini-Video — wird größer, gerade, leuchtet */
.folder-preview-item:hover{
  border-color: rgba(124,92,255,0.75) !important;
  box-shadow:
    0 16px 48px rgba(0,0,0,0.7),
    0 0 0 2px rgba(124,92,255,0.5),
    0 0 24px rgba(124,92,255,0.3) !important;
  transform: translateY(-10px) scale(1.22) rotate(0deg) !important;
  z-index: 30;
}

/* Video innerhalb des Mini-Items */
.folder-preview-item video,
.folder-preview-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

/* Nummer-Badge unten links */
.folder-preview-item .preview-badge{
  position: absolute;
  bottom: 4px;
  left: 5px;
  font-size: 9px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  background: rgba(0,0,0,0.55);
  padding: 2px 5px;
  border-radius: 4px;
  pointer-events: none;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
}

/* Play-Overlay beim Hover */
.folder-preview-item::after{
  content: "▶";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,0);
  transition: color 0.2s ease;
  pointer-events: none;
}
.folder-preview-item:hover::after{
  color: rgba(255,255,255,0.85);
}

/* Folder-card braucht position:relative für die absolute Preview */
.folder-card{
  position: relative;
}

/* ── Name & Anzahl ── */
.folder-meta{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 12px;
  padding: 0 4px;
}

.folder-name{
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.folder-count{
  font-size: 12px;
  color: var(--muted);
}


/* ============================================================
   FOLDER-VIEW — Ordner-Inhalt (versteckt bis geöffnet)
============================================================ */

.folder-view{
  display: block;
  padding: 80px 10vw 80px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(28px);
  transition: opacity 0.42s cubic-bezier(0.25,0.46,0.45,0.94),
              transform 0.42s cubic-bezier(0.25,0.46,0.45,0.94);
  /* Fullscreen-Overlay — Hero verschwindet komplett dahinter */
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bg);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(124,92,255,0.4) transparent;
}

.folder-view.open{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Work-Section fade statt display:none */
#work{
  transition: opacity 0.35s ease, transform 0.35s ease;
}
#work.hidden{
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  position: absolute;
  left: -9999px;
}

/* ── Header mit Zurück-Button ── */
.folder-view-header{
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(to bottom, var(--bg) 80%, transparent);
  padding: 16px 0 20px;
}

.folder-view-title{
  font-size: 36px;
  font-weight: 600;
}

.back-btn{
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

.back-btn svg{
  width: 16px;
  height: 16px;
}

.back-btn:hover{
  background: rgba(124,92,255,0.2);
  border-color: rgba(124,92,255,0.5);
}

/* ── (Work-Section hidden wird jetzt oben via opacity geregelt) ── */


/* ============================================================
   REVIEWS — Rezensionen
============================================================ */

#reviews{
  padding: 120px 10vw;
}

/* ── Formular ── */
.review-form-wrap{
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 32px 36px;
  max-width: 600px;
  margin-bottom: 56px;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-form-label{
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 4px;
}

/* ── Sterne-Picker ── */
.star-picker{
  display: flex;
  gap: 6px;
}

.star-picker .star{
  font-size: 28px;
  color: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
  line-height: 1;
  user-select: none;
}

.star-picker .star.active{
  color: #f5c842;
}

.star-picker .star:hover{
  transform: scale(1.2);
}

/* ── Inputs ── */
.review-input{
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: var(--text);
  font-size: 14px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  font-family: inherit;
  resize: none;
}

.review-input::placeholder{
  color: var(--muted);
}

.review-input:focus{
  border-color: rgba(124,92,255,0.6);
  background: rgba(124,92,255,0.06);
}

.review-textarea{
  min-height: 80px;
}

/* ── Absenden-Button ── */
.review-submit{
  align-self: flex-start;
  background: rgba(124,92,255,0.2);
  border: 1px solid rgba(124,92,255,0.4);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  padding: 11px 26px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.review-submit:hover{
  background: rgba(124,92,255,0.35);
  border-color: rgba(124,92,255,0.7);
  transform: translateY(-1px);
}

.review-error{
  font-size: 13px;
  color: #ff6b6b;
  min-height: 18px;
}

/* ── Rezensions-Liste ── */
.reviews-list{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.review-card{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 24px 26px;
  backdrop-filter: blur(14px);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover{
  border-color: rgba(124,92,255,0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(124,92,255,0.15);
}

/* Initiale Reviews: fade-in mit Delay */
.review-card.animate-in{
  animation: reviewFadeIn 0.5s cubic-bezier(0.25,0.46,0.45,0.94) both;
}

/* Neue, dynamisch hinzugefügte Reviews */
.review-card.new-card{
  animation: reviewSlideIn 0.5s cubic-bezier(0.25,0.46,0.45,0.94) both;
}

@keyframes reviewFadeIn{
  from{ opacity:0; transform:translateY(16px); }
  to  { opacity:1; transform:translateY(0);    }
}

@keyframes reviewSlideIn{
  from{ opacity:0; transform:translateX(-20px) scale(0.97); }
  to  { opacity:1; transform:translateX(0)    scale(1);    }
}

.review-top{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.review-author{
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}

.review-stars{
  font-size: 16px;
  color: #f5c842;
  letter-spacing: 2px;
}

.review-stars .star-empty{
  color: rgba(255,255,255,0.2);
}

.review-text{
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}


/* ============================================================
   CONTACT — Kontaktformular
============================================================ */

#contact{
  padding: 120px 10vw 60px;
}

.contact-sub{
  color: var(--muted);
  font-size: 16px;
  margin-top: 10px;
  margin-bottom: 40px;
}

.contact-form-wrap{
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 36px 40px;
  max-width: 720px;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form-label{
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 4px;
}

/* ── Zweispaltiger Bereich ── */
.contact-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media(max-width: 600px){
  .contact-row{ grid-template-columns: 1fr; }
  .contact-form-wrap{ padding: 24px 20px; }
}

/* ── Einzelnes Feld ── */
.contact-field{
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.contact-field-label{
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.req{
  color: var(--accent);
}

/* ── Input / Textarea ── */
.contact-input{
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: var(--text);
  font-size: 14px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  font-family: inherit;
  resize: vertical;
}

.contact-input::placeholder{
  color: rgba(161,161,170,0.6);
}

.contact-input:focus{
  border-color: rgba(124,92,255,0.6);
  background: rgba(124,92,255,0.06);
}

.contact-textarea{
  min-height: 140px;
}

/* ── Aktions-Zeile ── */
.contact-actions{
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.contact-submit{
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(124,92,255,0.2);
  border: 1px solid rgba(124,92,255,0.45);
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  padding: 12px 28px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.contact-submit svg{
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.contact-submit:hover{
  background: rgba(124,92,255,0.35);
  border-color: rgba(124,92,255,0.75);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(124,92,255,0.25);
}

.contact-hint{
  font-size: 12px;
  color: var(--muted);
  opacity: 0.7;
}

.contact-error{
  font-size: 13px;
  color: #ff6b6b;
  min-height: 18px;
}

.contact-success{
  font-size: 14px;
  color: #4ade80;
  font-weight: 500;
}

/* ============================================================
   CURSOR GLOW — folgt der Maus
============================================================ */
.cursor-glow{
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(124,92,255,0.10) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0;
  mix-blend-mode: screen;
  will-change: left, top;
}

body:hover .cursor-glow{
  opacity: 1;
}

/* ============================================================
   ABOUT SECTION — Platzhalter
============================================================ */
#about{
  padding: 120px 10vw;
}


/* ============================================================
   BEFORE / AFTER SLIDER
============================================================ */

.compare-sub{
  color: var(--muted);
  font-size: 16px;
  margin-top: 10px;
  margin-bottom: 36px;
}

.ba-container{
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  cursor: ew-resize;
  user-select: none;
  touch-action: none;
  background: #111118;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

.ba-video-base,
.ba-video-top{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.ba-video-top{
  clip-path: inset(0 50% 0 0);
}

.ba-divider{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: white;
  transform: translateX(-50%);
  pointer-events: none;
}

.ba-handle{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.45);
}

.ba-handle svg{
  width: 20px;
  height: 20px;
}

.ba-tag{
  position: absolute;
  top: 14px;
  padding: 5px 13px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.55);
  color: #fff;
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.ba-tag-left  { left: 14px; }
.ba-tag-right { right: 14px; }

/* ============================================================
   TIMELINE SCROLLBAR — rechte Seite
============================================================ */
.timeline-nav{
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
  background: transparent;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 20px 14px;
  gap: 0;
  /* Sanftes Ein-/Ausblenden */
  opacity: 0.18;
  transition: opacity 0.8s ease;
}

.timeline-nav:hover,
.timeline-nav.tl-active{
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Vertikale Linie — exakt durch alle Dots */
.timeline-nav::before{
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  /* Dots sind 6px breit, rechter Abstand 14px → Mitte der Dots bei right:17px → left = 100% - 17px */
  right: 16px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(124,92,255,0.18) 15%,
    rgba(124,92,255,0.18) 85%,
    transparent
  );
}

.tl-item{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  /* Größerer Abstand = längere Timeline */
  padding: 16px 0;
  pointer-events: auto;
  cursor: pointer;
  width: 100%;
}

/* Alle Dots auf identischer X-Position — kein translateX, kein scale-Shift */
.tl-dot{
  width: 6px;
  height: 6px;
  border-radius: 50%;
  /* Inaktiv: nur Outline, fast unsichtbar */
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
  transition:
    background  0.3s ease,
    border-color 0.3s ease,
    box-shadow  0.3s ease;
  /* KEIN transform damit Y-Achse stabil bleibt */
}

.tl-label{
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  white-space: nowrap;
  transition: color 0.2s ease;
  pointer-events: none;
  user-select: none;
}

.tl-item:hover .tl-label{
  color: rgba(255,255,255,0.6);
}
.tl-item:hover .tl-dot{
  border-color: rgba(124,92,255,0.5);
  background: rgba(124,92,255,0.15);
}

.tl-item.active .tl-dot{
  background: var(--accent);
  border-color: var(--accent);
  box-shadow:
    0 0 0 3px rgba(124,92,255,0.15),
    0 0 10px rgba(124,92,255,0.6),
    0 0 20px rgba(124,92,255,0.25);
}
.tl-item.active .tl-label{
  color: rgba(255,255,255,0.7);
}


/* ============================================================
   FOLDER CARD — Coming Soon / Locked State
============================================================ */

.folder-card--locked{
  cursor: default;
  opacity: 0.55;
  filter: saturate(0.3);
}

/* Disable tilt & hover glow on locked card */
.folder-card--locked:hover .folder-cover{
  border-color: rgba(255,255,255,0.08);
  box-shadow: none;
}
.folder-card--locked:hover .folder-icon{
  color: rgba(124,92,255,0.9);
  transform: translate(-50%, -50%) scale(1);
  filter:
    drop-shadow(0 4px 18px rgba(124,92,255,0.55))
    drop-shadow(0 0 40px rgba(124,92,255,0.2));
}
.folder-card--locked:hover .folder-cover img{
  opacity: 0.7;
  transform: scale(1);
}

/* Overlay inside the cover */
.folder-coming-soon-overlay{
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(11,11,15,0.55);
  backdrop-filter: blur(4px);
  border-radius: 14px;
}

.lock-icon{
  width: 28px;
  height: 28px;
  color: rgba(255,255,255,0.55);
}

.folder-coming-soon-label{
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* "Coming Soon" text in meta row */
.folder-count--soon{
  color: rgba(124,92,255,0.7);
  font-style: italic;
}


@keyframes cardWobble{
  0%   { transform: rotate(-0.35deg) translateY(0px); }
  25%  { transform: rotate( 0.45deg) translateY(-1.5px); }
  50%  { transform: rotate(-0.25deg) translateY(0.6px); }
  75%  { transform: rotate( 0.35deg) translateY(-0.8px); }
  100% { transform: rotate(-0.35deg) translateY(0px); }
}

.folder-view .card:not(.active){
  animation: cardWobble 4.5s ease-in-out infinite;
}
.folder-view .card:not(.active):nth-child(1){
  animation-delay: -0.8s;
  animation-duration: 5s;
}
.folder-view .card:not(.active):nth-child(3){
  animation-delay: -2.8s;
  animation-duration: 4.2s;
}

@keyframes cardWobbleActive{
  0%   { transform: scale(1.05) rotate(-0.2deg) translateY(0); }
  33%  { transform: scale(1.05) rotate( 0.28deg) translateY(-1px); }
  66%  { transform: scale(1.05) rotate(-0.15deg) translateY(0.4px); }
  100% { transform: scale(1.05) rotate(-0.2deg) translateY(0); }
}
.folder-view .card.active{
  animation: cardWobbleActive 5.5s ease-in-out infinite;
}
