@font-face {
  font-family: 'Orbitron';
  src: url('fonts/Orbitron-VariableFont_wght.ttf') format('truetype');
  font-weight: 400 900; 
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'FuturText';
  src: url('fonts/ObliviousFont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root{
  --bg1: #06061a;
  --bg2: #08102a;
  --accent:  #6ee7ff;
  --accent-2:#9b6eff;
  --hover:#2ba3bb;
  --glass: rgba(255,255,255,0.06);
  --glass-strong: rgba(255,255,255,0.10);
  --border: rgba(255,255,255,0.12);
  --glass-blur: 10px;
  --radius: 14px;
}
*{box-sizing:border-box}
html{height:100%}
body{
  margin:0;
  min-height:100%;
  font-family:'Orbitron',sans-serif,Inter,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial;
  background: radial-gradient(1200px 600px at 10% 10%, rgba(155,110,255,0.08), transparent),
              linear-gradient(180deg,var(--bg1),var(--bg2));
  color:#e6eef8;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  padding:20px;
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:flex-start;

  background-image: url('background.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;

}

  /* Rotating Background Container */
  .rotating-bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 150%;
    height: 150%;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
  }

  .rotating-bg {
    position: absolute;
    top: 40%;
    left: 40%;
    width: 150vmax;
    height: 150vmax;
    background-image: url('background-upscaled2.jpg');
    background-size: cover;
    background-position: center;
    transform: translate(-50%, -50%);
  }

/* container */
.card{
  width:100%;
  max-width:980px;
  background: linear-gradient(180deg, rgba(0,0,0,0.22), rgba(255,255,255,0.21));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding:16px;
  backdrop-filter: blur(var(--glass-blur)) saturate(120%);
  box-shadow: 0 6px 30px rgba(2,6,23,0.6), inset 0 1px 0 rgba(255,255,255,0.02);
  overflow:hidden;
  position: relative;
}

header {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.logo {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  font-family: Orbitron, sans-serif;
  font-weight: 700;
  color: #041026;
  box-shadow: 0 6px 18px rgba(107, 86, 255, 0.12);
}

.logo-images {
  display: flex;
  gap: 8px;
  align-items: center;
}

.logo-images img {
  height: 42px;
  width: auto;
  display: block;
}
h1{font-size:1rem;margin:0;font-weight:600}
p.lead{margin:0;font-size:0.8rem;opacity:0.9}

/* menu */
nav.menu{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  overflow:visible;
  padding:10px 6px;
  margin-bottom:14px;
}
.menu a{
  flex:1 1 auto;
  text-decoration:none;
  color:inherit;
}
.menu button{
  width:100%;
  min-width:86px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.006));
  color:#e6eef8;
  font-weight:600;
  font-size:0.9rem;
  display:flex;gap:8px;align-items:center;justify-content:center;
  backdrop-filter: blur(6px);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
  cursor:pointer;
  white-space:nowrap;
}

.menu button:active{transform:translateY(1px)}
.menu button:hover{
	transform:translateY(-2px);
	box-shadow:0 6px 20px rgba(0,0,0,0.45), 0 0 8px rgba(43,163,187,0.8), 0 0 8px rgba(43,163,187,0.4);
	border-color: var(--hover);
	background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(19,59,67,0.25));
	text-shadow: 0 0 10px rgba(255,255,255,0.6), 0 0 20px rgba(255,255,255,0.4);
}
.menu button .dot{
  width:10px;height:10px;border-radius:50%;background:linear-gradient(90deg,var(--accent),var(--accent-2));box-shadow:0 2px 8px rgba(107,86,255,0.16);
}
.menu button.active{
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  color:#fff;
  font-weight:700;
  text-shadow: 0 0 10px rgba(255,255,255,0.6), 0 0 20px rgba(255,255,255,0.4);
}

.menu a{
  text-decoration:none;
  color:inherit;
}
.menu a > button{color:#e6eef8;}

/* gallery */
.gallery{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}
.hero{
  min-height:370px;
  border-radius:12px;overflow:hidden;position:relative;
  border:1px solid rgba(255,255,255,0.04);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.hero:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 40px rgba(107,86,255,0.2);
  border-color:var(--accent);
}
.hero.fullscreen:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(255,255,255,0.04); /* Reset to original non-hover border */
}
.hero img{width:100%;height:100%;object-fit:cover;display:block;filter:contrast(1.05) saturate(1.05)}
.thumb-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.thumb{height:120px;border-radius:12px;overflow:hidden;border:1px solid rgba(255,255,255,0.04)}
.thumb img{width:100%;height:100%;object-fit:cover}

/* overlay title */
.hero .overlay {
  position: absolute;
  top: 12px; /* Geändert von bottom zu top */
  left: 12px; /* Links ausgerichtet */
  padding: 8px 12px; /* Original Padding */
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(3,7,18,0.6), rgba(3,7,18,0.35));
  border: 1px solid rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.overlay h2{margin:0;font-family:Orbitron, sans-serif;font-size:1rem}
.overlay small{opacity:0.85}

/* projects section */
.projects-header {
  margin-bottom: 20px;
  padding: 0 6px;
  /* NEU: Container passt sich an, aber Text bleibt lesbar */
  min-width: 0;
  overflow-x: visible;
}
.projects-header h2{
  font-family:Orbitron, sans-serif;
  font-size:1.5rem;
  margin:0 0 8px 0;
  background:linear-gradient(90deg,var(--accent),var(--accent-2));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}
.projects-header p {
  margin: 0;
  opacity: 0.85;
  font-size: clamp(0.8rem, 2.2vw, 0.95rem); /* Schrift skaliert automatisch */
  white-space: nowrap; /* Kein Zeilenumbruch */

}
.contact-text h2{
  font-family:Orbitron, sans-serif;
  font-size:1.3rem; /* Reduced for smaller heading */
  margin:0 0 8px 0;
  background:linear-gradient(90deg,var(--accent),var(--accent-2));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}
.contact-text p {
  margin: 0;
  opacity: 0.85;
  font-size:0.9rem; /* Reduced for smaller text */
}
.contact-text .small-text {
  font-size: 0.7rem; /* Slightly reduced for consistency */
}

/* Added for content links hover effects */
.contact-text a {
  color: var(--accent);
  text-decoration: none;
  transition: text-decoration 0.25s ease, text-shadow 0.25s ease;
}
.contact-text a:hover {
  text-decoration: underline;
  text-shadow: 0 0 10px rgba(110, 231, 255, 0.6);
}

/* project tiles grid */
.projects-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  padding:6px;
}

/* individual project tile */
.project-tile{
  position:relative;
  height:200px;
  border-radius:12px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  backdrop-filter: blur(8px);
  cursor:pointer;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  text-decoration:none;
  color:inherit;
  display:block;
}

.project-tile:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 40px rgba(107,86,255,0.2);
  border-color:var(--accent);
}

.project-tile:active{
  transform:translateY(-2px);
}

.project-tile img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter:contrast(1.05) saturate(1.05) brightness(0.85);
  transition:filter .25s ease, transform .25s ease;
}

.project-tile:hover img{
  filter:contrast(1.1) saturate(1.15) brightness(0.95);
  transform:scale(1.05);
}

/* overlay on tile */
.project-tile .tile-overlay{
  position:absolute;
  left:12px;
  right:12px;
  bottom:12px;
  padding:12px 14px;
  border-radius:10px;
  background:linear-gradient(90deg, rgba(3,7,18,0.6), rgba(3,7,18,0.35));
  border:1px solid rgba(255,255,255,0.04);
  backdrop-filter: blur(6px);
  display:flex;
  flex-direction:column;
  gap:6px;
  transition:background .25s ease, backdrop-filter .25s ease;
}

.project-tile:hover .tile-overlay{
  background:linear-gradient(90deg, rgba(3,7,18,0.7), rgba(3,7,18,0.45));
  backdrop-filter: blur(8px);
}

.tile-overlay h3{
  margin:0;
  font-family:Orbitron, sans-serif;
  font-size:1rem;
  font-weight:700;
}

.tile-overlay p{
  margin:0;
  font-size:0.85rem;
  opacity:0.9;
  line-height:1.4;
}

/* status badge */
.status-badge{
  position:absolute;
  top:12px;
  right:12px;
  padding:4px 10px;
  border-radius:8px;
  background:linear-gradient(90deg, rgba(3,7,18,0.7), rgba(3,7,18,0.5));
  border:1px solid rgba(255,255,255,0.1);
  backdrop-filter:blur(6px);
  font-size:0.75rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:0.5px;
}

.status-badge.active{
  color:var(--accent);
  border-color:var(--accent-2);
}

.status-badge.archived{
  color:#999;
  border-color:rgba(255,255,255,0.06);
}

/* responsive */
@media(min-width:600px){
  .projects-grid{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media(min-width:720px){
  .thumb{height:170px}
  .projects-grid{
    grid-template-columns:repeat(2, 1fr);
  }
  .project-tile{
    height:240px;
  }
}

@media(min-width:1024px){
  .hero{min-height:calc(360px * 1.3)}
}

@media (max-width: 758px) {
  .brand {
    align-items: flex-start;
  }

  .logo-images {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .logo-images img {
    height: 21px;
  }
}

@media(min-width:900px){
  .projects-grid{
    grid-template-columns:repeat(3, 1fr);
  }
}

/* Layout container für expandable projects */
.projects-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 6px;
  min-height: 700px;
}

/* Expanded view */
.expanded-project {
  display: none;
  flex-direction: column;
  gap: 14px;
  animation: fadeIn 0.3s ease;
}

.expanded-project.active {
  display: flex;
}

.expanded-main {
  position: relative;
  height: 700px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--accent);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  box-shadow: 0 12px 40px rgba(107,86,255,0.3);
}

.expanded-main > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.05) brightness(0.7);
}

/* Bilder im Content-Text in voller Helligkeit */
.expanded-text img {
  filter: none !important;
}

.expanded-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(6,6,26,0.3) 0%, rgba(6,6,26,0.85) 40%, rgba(6,6,26,0.95) 100%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.expanded-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.expanded-header h3 {
  font-family: Orbitron, sans-serif;
  font-size: 2rem;
  margin: 0;
  margin-top: 2.0rem; /* Zwei Zeilen tiefer basierend auf typischer line-height (ca. 1.8 * 2rem) */
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* FIXED CLOSE BUTTON - außerhalb des expanded-content */
.close-btn {
  position: fixed;
  top: 240px;
  right: 40px;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.12) 0%, 
    rgba(255, 255, 255, 0.08) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 12px 20px;
  color: #e6eef8;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: Orbitron, sans-serif;
  font-size: 0.95rem;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  box-shadow: 
    0 4px 24px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  z-index: 1000;
  display: none;
}

.close-btn:hover {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.18) 0%, 
    rgba(255, 255, 255, 0.12) 100%);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 
    0 6px 28px rgba(0, 0, 0, 0.5),
    0 0 15px rgba(110, 231, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.expanded-text {
  flex: 1;
  line-height: 1.8;
  font-size: 0.8rem;
  opacity: 0.95;
  font-family: 'FuturText', sans-serif;
  letter-spacing: 1px;
}

.expanded-text p {
  margin-bottom: 16px;
}

/* Thumbnail strip */
.thumbnail-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 6px;
}

.thumbnail-strip::-webkit-scrollbar {
  height: 6px;
}

.thumbnail-strip::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
  border-radius: 3px;
}

.thumbnail-strip::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

.thumbnail-item {
  flex: 0 0 120px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.thumbnail-item:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.thumbnail-item.active {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(110,231,255,0.4);
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  transition: filter 0.25s ease;
}

.thumbnail-item:hover img {
  filter: brightness(1);
}

.thumbnail-label {
  position: absolute;
  bottom: 4px;
  left: 4px;
  right: 4px;
  background: rgba(6,6,26,0.85);
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  text-align: center;
  backdrop-filter: blur(4px);
}

/* Hide grid when expanded */
.projects-grid.hidden {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media(min-width:600px){
  .thumbnail-item {
    flex: 0 0 140px;
    height: 90px;
  }
}

@media(min-width:900px){
  .thumbnail-item {
    flex: 0 0 160px;
    height: 100px;
  }
}

/* Mobile Responsive für Close Button */
@media (max-width: 705px) {
  .close-btn {
    top: 270px;
    right: 25px;
    position: sticky;
    align-self: flex-end;
    margin: 0 0 20px 20px;
    float: right;
    z-index: 100;
    display: none;
  }
}

/* Verbesserte Lesbarkeit */
.expanded-text strong {
  color: var(--accent);
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

/* Star Wars schwebender Text */
.floating-star-wars-text {
  width: 100%;
  max-width: 980px;
  margin: 60px auto 40px auto;
  padding: 20px;
  font-family: 'Orbitron', sans-serif;
  color: var(--accent);
  text-align: center;
  font-size: 1.1rem;
  letter-spacing: 2px;
  line-height: 1.6;
  opacity: 0.8;
  text-shadow: 0 0 15px rgba(110, 231, 255, 0.5), 
               0 0 25px rgba(110, 231, 255, 0.3);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
  animation: float 6s ease-in-out infinite;
}

.floating-star-wars-text:hover {
  opacity: 1;
  transform: scale(1.02);
}

/* Schwebende Animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Mobile Anpassung für Star Wars Text */
@media (max-width: 600px) {
  .floating-star-wars-text {
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    margin: 40px auto 30px auto;
    padding: 15px;
  }
}

@media (max-width: 400px) {
  .floating-star-wars-text {
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin: 30px auto 20px auto;
  }
  .projects-header p {
    font-size: 0.65rem; /* Noch kleiner auf Handys */
  }
}


/* Video Controls */
.video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 7px 16px;
  background: linear-gradient(to top, rgba(6,6,26,0.95), rgba(6,6,26,0.7), transparent);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 0 0 12px 12px;
}


.play-pause-btn {
  width: 36px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.play-pause-btn:hover {
  background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.08));
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(110,231,255,0.3);
}

.play-pause-btn svg {
  width: 20px;
  height: 20px;
}

/* Fullscreen Button - NACH dem .play-pause-btn CSS in styles.css einfügen */
.fullscreen-btn {
  width: 36px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.fullscreen-btn:hover {
  background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.08));
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(110,231,255,0.3);
}

.fullscreen-btn svg {
  width: 20px;
  height: 20px;
}

/* Mobile Anpassung für Fullscreen Button */
@media (max-width: 600px) {
  .fullscreen-btn {
    width: 32px;
    height: 32px;
  }

  .fullscreen-btn svg {
    width: 18px;
    height: 18px;
  }
}

.time-display {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 90px;
}

.time-separator {
  opacity: 0.6;
}

.progress-container {
  flex: 1;
  position: relative;
  height: 24px;
  display: flex;
  align-items: center;
}

.progress-slider {
  position: absolute;
  width: 100%;
  height: 5px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  z-index: 2;
}

.progress-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  cursor: pointer;
  box-shadow: 0 0 10px rgba(110,231,255,0.5);
  transition: all 0.2s ease;
}

.progress-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  cursor: pointer;
  border: none;
  box-shadow: 0 0 10px rgba(110,231,255,0.5);
  transition: all 0.2s ease;
}

.progress-slider:hover::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  box-shadow: 0 0 15px rgba(110,231,255,0.8);
}

.progress-slider:hover::-moz-range-thumb {
  width: 16px;
  height: 16px;
  box-shadow: 0 0 15px rgba(110,231,255,0.8);
}

.progress-bar {
  position: absolute;
  height: 6px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 3px;
  pointer-events: none;
  width: 0%;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(110,231,255,0.3);
}

@media (max-width: 600px) {
  .video-controls {
    padding: 10px 12px;
    gap: 8px;
  }

  .play-pause-btn {
    width: 32px;
    height: 32px;
  }

  .time-display {
    font-size: 0.75rem;
    min-width: 80px;
  }

  .play-pause-btn svg {
    width: 18px;
    height: 18px;
  }
}

/* Anpassung für Fullscreen im Portrait-Modus */
@media (orientation: portrait) {
  .hero.fullscreen {
    background-color: #000; 
  }

  .hero.fullscreen .hero-video {
    object-fit: contain; 
    width: 100%; 
    height: 100%; 
    top: 0; 
    left: 0;
    transform: none;
  }

  /* Optional: Controls und Overlay anpassen, falls sie verschoben wirken */
  .hero.fullscreen .video-controls {
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.7), transparent); 
  }
}

/* Allgemeine Fullscreen-Anpassung (für beide Orientierungen) */

.hero.fullscreen {
  position: fixed; /* Sicherstellen, dass es den ganzen Screen übernimmt */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999; /* Über allem */
  border-radius: 0; /* Ecken entfernen im Fullscreen */
  border: none;
  background-color: #000; /* Schwarzer Hintergrund für Balken */
}

/* Video im Fullscreen immer vollstÃ¤ndig anzeigen */
.hero.fullscreen .hero-video {
  object-fit: contain; /* Zeigt das komplette Video mit schwarzen Balken */
  width: 100%;
  height: 100%;
}
.hero.fullscreen .overlay {

  font-size: 1.2rem;
  padding: 12px 16px;
}

/* Footer Links */
.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 16px 0 0 0;
  font-size: 0.8rem;
  opacity: 0.85;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.footer-links a:hover {
  color: var(--accent);
  text-shadow: 0 0 10px rgba(110, 231, 255, 0.6);
}

.footer-links span {
  opacity: 0.6;
}