
:root{
  --bg:#e4e4e4;
  --panel:#ffffff;
  --ink:#1e2530;
  --muted:#697386;
  --blue:#1f5ea8;
  --blue2:#2d7bd8;
  --blue-light:#78bdff;
  --border:#d6dbe5;
  --soft:#f7f9fc;
  --shadow:0 12px 32px rgba(15,23,42,.09);
}
*{box-sizing:border-box}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:Arial, Helvetica, sans-serif;
}
.page{
  max-width:1580px;
  margin:0 auto;
  padding:24px 28px 70px;
}
.header{
  position:relative;
  display:flex;
  justify-content:center;
  align-items:flex-start;
  padding:4px 0 26px;
}
.logo{
  text-align:center;
  line-height:1;
  text-decoration:none;
}
.logo-main{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:70px;
  font-weight:900;
  letter-spacing:.045em;
}
.globe{font-size:56px}
.vdw-gradient{
  background:linear-gradient(to bottom,var(--blue-light),var(--blue));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.logo-sub{
  margin-top:2px;
  font-size:27px;
  font-weight:800;
  color:#223044;
  letter-spacing:.02em;
}
.language{
  position:absolute;
  right:0;
  top:12px;
}
.language select,.controlbar select{
  border:1px solid var(--border);
  border-radius:13px;
  padding:10px 12px;
  background:white;
  color:var(--ink);
  font-weight:700;
}
.layout{
  display:grid;
  grid-template-columns:190px minmax(0,1fr);
  gap:24px;
}
.sidebar{
  position:sticky;
  top:20px;
  align-self:start;
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:23px;
  padding:14px;
  box-shadow:var(--shadow);
}
.nav-link{
  display:block;
  padding:11px 13px;
  border-radius:15px;
  color:#253044;
  text-decoration:none;
  font-weight:800;
  margin-bottom:6px;
}
.nav-link:hover{background:#eef5ff}
.nav-link.active{
  background:linear-gradient(to right,var(--blue2),var(--blue-light));
  color:white;
}
.nav-sep{
  height:1px;
  background:var(--border);
  margin:14px 0;
}
.content{min-width:0}
.card{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:25px;
  box-shadow:var(--shadow);
  padding:25px;
  margin-bottom:22px;
}
.intro p{
  font-size:17px;
  line-height:1.55;
  color:#3b4555;
  margin:0;
}
.section-title{
  margin:0 0 16px;
  font-size:26px;
}
.latest-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
.actor-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:16px;
}
.latest-item,.actor-card,.film-row,.actor-summary{
  border:1px solid var(--border);
  background:#fbfcff;
  border-radius:18px;
  padding:16px;
}
.latest-item{
  min-height:118px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.actor-card{
  display:block;
  text-align:center;
  text-decoration:none;
  color:var(--ink);
  transition:.16s transform,.16s box-shadow;
}
.actor-card:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 28px rgba(15,23,42,.14);
}
.actor-img{
  width:98px;
  height:98px;
  border-radius:50%;
  background:linear-gradient(to bottom,#f3f7ff,#dfe9f8);
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 12px;
  font-size:46px;
}
.actor-name{font-weight:900;font-size:18px}
.actor-count{color:var(--muted);margin-top:5px}
.film-title{font-weight:900}
.film-meta{color:var(--muted);font-size:14px;margin-top:5px}
.film-list{
  display:grid;
  gap:10px;
}
.film-row{
  display:flex;
  gap:12px;
  align-items:flex-start;
  justify-content:space-between;
}
.film-desc{
  margin-top:8px;
  color:#3b4555;
  line-height:1.45;
}
.back-link{
  display:inline-block;
  margin-bottom:16px;
  text-decoration:none;
  color:var(--blue);
  font-weight:900;
}
.controlbar{
  display:flex;
  justify-content:flex-end;
  gap:12px;
  flex-wrap:wrap;
  margin:-6px 0 16px;
}
.control-group{
  display:flex;
  gap:8px;
  align-items:center;
  color:var(--muted);
  font-weight:800;
}

.coffee{
  position:fixed;
  right:22px;
  bottom:22px;
  width:74px;
  height:74px;
  border-radius:50%;
  background:white;
  box-shadow:0 12px 30px rgba(15,23,42,.2);
  border:1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:35px;
  text-decoration:none;
  z-index:10;
}

@media(max-width:1100px){
  .latest-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:800px){
  .page{padding:14px}
  .logo-main{font-size:42px}
  .globe{font-size:36px}
  .logo-sub{font-size:18px}
  .language{position:static;margin-left:12px}
  .header{justify-content:space-between;align-items:center}
  .layout{grid-template-columns:1fr}
  .sidebar{position:static;display:grid;grid-template-columns:repeat(2,1fr);gap:6px}
  .nav-link{margin-bottom:0}
  .latest-grid{grid-template-columns:1fr}
  .controlbar{justify-content:flex-start}
}



/* --- VDW Karten-Feinschliff --- */

.latest-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

.latest-item {
  min-height: 125px !important;
  border-radius: 20px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%) !important;
  border: 1px solid #d6dbe5 !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06) !important;
  padding: 17px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.latest-item .film-title {
  font-size: 16px !important;
  line-height: 1.28 !important;
}

.actor-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) !important;
  gap: 18px !important;
}

.actor-card {
  display: block !important;
  text-align: center !important;
  text-decoration: none !important;
  color: #1e2530 !important;
  border-radius: 24px !important;
  padding: 22px 18px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%) !important;
  border: 1px solid #d6dbe5 !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease !important;
}

.actor-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14) !important;
  border-color: #b8d7ff !important;
}

.actor-img {
  width: 104px !important;
  height: 104px !important;
  border-radius: 50% !important;
  background: linear-gradient(180deg, #edf5ff 0%, #dcecff 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 14px !important;
  font-size: 50px !important;
  box-shadow: inset 0 0 0 1px #d0e2f8, 0 8px 20px rgba(31, 94, 168, 0.10) !important;
}

.actor-name {
  font-size: 18px !important;
  font-weight: 900 !important;
}

.actor-count {
  color: #697386 !important;
  margin-top: 6px !important;
  font-size: 14px !important;
}

@media (max-width: 1100px) {
  .latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  .latest-grid {
    grid-template-columns: 1fr !important;
  }
}



/* --- VDW Fix: Neueste Verticals sauber als 3x2-Karten ohne Textreste --- */
.latest-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  align-items: stretch !important;
}

.latest-item {
  min-height: 125px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.latest-item .film-title,
.latest-item .film-meta {
  overflow-wrap: anywhere !important;
}

@media (max-width: 1100px) {
  .latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  .latest-grid {
    grid-template-columns: 1fr !important;
  }
}


/* VDW Logo Verlauf Türkis -> Blau */
.logo-text,
.vdw-logo-text,
.site-title,
.logo-title {
    background: linear-gradient(90deg,#1fd4cf 0%, #32b8ea 50%, #3b82f6 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
}


/* VDW: neueste Verticals 3x2 und saubere Filter */
.latest-grid {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:16px !important;
}
.controlbar {
  display:flex !important;
  justify-content:flex-end !important;
  gap:12px !important;
  flex-wrap:wrap !important;
  margin:-6px 0 16px !important;
}
@media(max-width:1100px){.latest-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}}
@media(max-width:700px){.latest-grid{grid-template-columns:1fr !important;}}









/* VDW v13: sichtbarer, schmaler Dampf direkt über der Kaffeetasse */
.coffee{
  position:fixed !important;
  overflow:visible !important;
}

.coffee-icon{
  position:relative;
  z-index:2;
  line-height:1;
}

.coffee-steam{
  position:absolute;
  left:38%;
  top:-22px;
  width:24px;
  height:34px;
  transform:translateX(-50%);
  pointer-events:none;
  z-index:5;
}

.coffee-steam span{
  position:absolute;
  bottom:0;
  width:8px;
  height:28px;
  border-radius:999px;
  background:linear-gradient(
    to top,
    rgba(255,255,255,0),
    rgba(255,255,255,1),
    rgba(255,255,255,.75),
    rgba(255,255,255,0)
  );
  filter:blur(1.4px);
  opacity:0;
}

.coffee-steam span:nth-child(1){
  left:3px;
  animation:vdwSteamReal1 2.4s ease-in-out infinite;
}

.coffee-steam span:nth-child(2){
  left:8px;
  height:30px;
  animation:vdwSteamReal2 2.7s ease-in-out infinite .25s;
}

.coffee-steam span:nth-child(3){
  left:14px;
  animation:vdwSteamReal3 2.5s ease-in-out infinite .45s;
}

@keyframes vdwSteamReal1{
  0%{transform:translateY(8px) translateX(0) scale(.8);opacity:0}
  20%{opacity:.95}
  100%{transform:translateY(-18px) translateX(-1px) scale(1.05);opacity:0}
}

@keyframes vdwSteamReal2{
  0%{transform:translateY(8px) scale(.85);opacity:0}
  20%{opacity:1}
  100%{transform:translateY(-20px) scale(1.08);opacity:0}
}

@keyframes vdwSteamReal3{
  0%{transform:translateY(8px) translateX(0) scale(.8);opacity:0}
  20%{opacity:.9}
  100%{transform:translateY(-17px) translateX(1px) scale(1.04);opacity:0}
}


/* VDW Über-Seite */
.about-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.about-box{
  border:1px solid var(--border);
  background:linear-gradient(180deg,#ffffff 0%,#f7faff 100%);
  border-radius:20px;
  padding:18px;
}
.about-box h3{
  margin:0 0 8px;
  font-size:18px;
}
.about-box p{
  margin:0;
  color:#3b4555;
  line-height:1.45;
}
.steam-story{
  background:
    radial-gradient(circle at top right, rgba(120,189,255,.20), transparent 32%),
    var(--panel);
}
.steam-timeline{
  display:grid;
  gap:10px;
  padding-left:22px;
  margin:18px 0 0;
}
.steam-timeline li{
  background:#fbfcff;
  border:1px solid var(--border);
  border-radius:16px;
  padding:12px 14px;
  line-height:1.45;
}
.steam-fazit{
  margin-top:18px;
  padding:15px 17px;
  border-radius:18px;
  background:#eef5ff;
  border:1px solid #cfe3ff;
  font-weight:700;
}
@media(max-width:900px){
  .about-grid{grid-template-columns:1fr;}
}


/* Legal pages */
.legal-page{
  max-width: 1400px;
  margin: 0 auto;
}

.legal-page .card{
  width: 100%;
}

.legal-page p{
  line-height: 1.55;
}

.legal-page h2{
  margin-top: 28px;
}
/* TEST */
.legal-page {
    width: 100% !important;
    max-width: 100% !important;
}

.legal-page .card {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto !important;
}

/* VDW Legal Page Fix */
.content.legal-page{
  grid-column: 1 / -1;
}

.content.legal-page .card{
  max-width: 1000px;
  margin: 0 auto;
}

/* VDW Datenupdate: klickbare Neueste-Karten und Linkgruppen */
.latest-link{color:var(--ink);text-decoration:none;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;}
.latest-link:hover{transform:translateY(-3px);box-shadow:0 14px 28px rgba(15,23,42,.12)!important;border-color:#b8d7ff!important;}
.watch-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;}
.watch{display:inline-block;background:linear-gradient(to right,var(--blue2),var(--blue-light));color:#fff!important;text-decoration:none;font-weight:800;padding:8px 12px;border-radius:12px;}
.watch:hover{filter:brightness(.96);}

/* VDW v10: Suche und gut bedienbares Kopierzeichen */
.actor-search-wrap{
  margin:-4px 0 18px;
}
.search-input{
  width:min(100%,520px);
  min-height:46px;
  border:1px solid var(--border);
  border-radius:14px;
  padding:11px 14px;
  background:#fff;
  color:var(--ink);
  font:inherit;
  font-weight:700;
  box-shadow:inset 0 1px 2px rgba(15,23,42,.04);
}
.search-input:focus{
  outline:3px solid rgba(45,123,216,.18);
  border-color:var(--blue2);
}
.search-group{
  flex:1 1 340px;
  justify-content:flex-start;
}
.search-group .search-input{
  flex:1 1 260px;
}
.film-title-line{
  display:flex;
  align-items:flex-start;
  gap:8px;
}
.film-title-line .film-title{
  min-width:0;
}
.copy-title-btn{
  position:relative;
  flex:0 0 42px;
  width:42px;
  height:42px;
  margin:-10px -8px -8px 0;
  padding:0;
  border:0;
  border-radius:12px;
  background:transparent;
  color:var(--blue);
  cursor:pointer;
  display:grid;
  place-items:center;
  touch-action:manipulation;
}
.copy-title-btn:hover{
  background:#eaf3ff;
}
.copy-title-btn:focus-visible{
  outline:3px solid rgba(45,123,216,.25);
  outline-offset:1px;
}
.copy-icon{
  position:relative;
  display:block;
  width:20px;
  height:20px;
}
.copy-icon::before,
.copy-icon::after{
  content:"";
  position:absolute;
  width:12px;
  height:14px;
  border:2px solid currentColor;
  border-radius:3px;
  background:#fff;
}
.copy-icon::before{
  left:5px;
  top:0;
}
.copy-icon::after{
  left:1px;
  top:4px;
}
.copy-feedback{
  position:fixed;
  left:50%;
  bottom:26px;
  z-index:100;
  transform:translate(-50%,12px);
  padding:10px 16px;
  border-radius:999px;
  background:#1e2530;
  color:#fff;
  font-weight:800;
  box-shadow:0 12px 28px rgba(15,23,42,.25);
  opacity:0;
  transition:opacity .18s ease,transform .18s ease;
  pointer-events:none;
}
.copy-feedback.visible{
  opacity:1;
  transform:translate(-50%,0);
}
.empty-search{
  padding:18px;
  text-align:center;
  color:var(--muted);
  font-weight:800;
}
.visually-hidden{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}
@media(max-width:700px){
  .controlbar{
    justify-content:flex-start !important;
  }
  .controlbar>.control-group:not(.search-group){
    width:100%;
    justify-content:space-between;
  }
  .controlbar>.control-group:not(.search-group) select{
    max-width:58%;
  }
  .search-group{
    flex-basis:100%;
    align-items:stretch;
    flex-direction:column;
  }
  .search-group .search-input,
  .actor-search-wrap .search-input{
    width:100%;
  }
  .search-group .search-input{
    flex:0 0 auto;
    height:46px;
  }
  .copy-title-btn{
    flex-basis:44px;
    width:44px;
    height:44px;
  }
}

/* Public GoatCounter total in the sidebar */
.sidebar-counter {
  border-top: 1px solid var(--border);
  margin-top: 42px;
  padding: 14px 4px 2px;
  text-align: center;
}
.sidebar-counter-label {
  color: #253044;
  font-family: inherit;
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  letter-spacing: normal;
  margin-bottom: 8px;
}
.sidebar-counter-total {
  width: 88px;
  min-height: 46px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 2px solid #111111;
  border-radius: 10px;
  background: #ffffff;
  color: #111111;
  font-size: 21px;
  font-weight: 800;
}
@media (max-width: 800px) {
  .sidebar-counter {
    grid-column: 1 / -1;
    margin-top: 36px;
  }
}
