
/* Reset und Basis */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scrollbar-gutter: stable;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #abb243;
}

/* Zentrierter Container */
.page-container {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
}

/* Header */
.hero-header img {
  width: 100%;
  max-height: 1024px;
  object-fit: cover;
  display: block;
}

/* Navigation */
.main-nav {
  background: #091a32;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0%;
  background-color: #404040;
  transition: color 0.3s ease, transform 0.3s ease;
}

.main-nav a:hover {
  color: #38bdf8;
  transform: scale(1.02);
}

.main-nav a:hover::after {
  width: 100%;
}

/* Inhalte */
main {
  padding: 40px 20px;
}

section {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

section img {
  max-width: 500px;
 }

/* Shared media styling (image or uploaded mp4) */
.news-media {
  max-width: 500px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
}

section a {
  color: #abb243;
  text-decoration: none;
  margin: 0 15px;
  transition: color 0.3s ease, transform 0.3s ease;
}

section a:hover {
  color: #38bdf8;
  transform: scale(1.2);
}

/* Desktop-only: bigger typography in News/Releases */
@media (min-width: 601px) {
  #news h3,
  #releases h3 {
    font-size: 1.55rem;
    line-height: 1.25;
  }

  #news p,
  #releases p {
    font-size: 1.15rem;
    line-height: 1.7;
  }

  #news .news-links a,
  #releases .news-links a {
    font-size: 1.1rem;
  }
}

/* Responsive embeds in news/release items */
.news-video {
  width: 100%;
  max-width: 500px;
  margin: 16px auto 0;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.news-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Contact Form */
.contact-container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 20px;
  text-align: center;
}

.contact-container h2 {
  margin-bottom: 20px;
}

.contact-intro {
  margin-bottom: 18px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.contact-container input,
.contact-container textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.contact-container button {
  padding: 10px 20px;
  background: #091a32;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.contact-container button:hover {
  background: #abb243;
}

.success {
  color: #38bdf8;
  margin-bottom: 15px;
}

.error {
  color: red;
  margin-bottom: 15px;
}

/* Login-Page */
.login-container {
  max-width: 500px;
  margin: 80px auto;
  padding: 20px;
  background: white;
  text-align: center;
}

.login-inline {
  display: flex;
  gap: 10px;
}

.login-inline input[type="password"] {
  flex: 1;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  height: 42px;
}

.login-inline button {
  height: 42px;
  padding: 0px 24px;
  background: #091a32;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-inline button:hover {
  background: #abb243;
}

.login-container input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

/* Imprint */
.branding-gradient {
  background: linear-gradient(90deg, orange, gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  font-style: italic;
  font-size: 1.1rem; 
}

/* Form Design Admin Panel */
.form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.form-wrapper input,
.form-wrapper textarea,
.form-wrapper button {
  width: 100%;
  margin-bottom: 12px;
  padding: 8px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Override the generic admin button rule for compact controls inside the picker */
.form-wrapper .media-picker .file-button {
  margin-bottom: 0;
}

.form-wrapper button {
  background: #111;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.file-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 12px;
  padding: 8px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #091a32;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
  user-select: none;
}

.media-picker {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 12px;
}

/* override form-wrapper input/button 100% sizing */
.form-wrapper .media-picker .file-button {
  width: auto;
  margin-bottom: 0;
}

.media-filename-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  color: #404040;
  text-align: left;
  gap: 10px;
}

.media-filename {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.media-clear {
  flex: 0 0 auto;
  width: 48px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #fff;
  color: #091a32;
  cursor: pointer;
  line-height: 26px;
  padding: 0 5px;
  font-weight: bold;
}

.form-wrapper .media-picker .media-clear {
  width: 48px;
  margin-bottom: 0;
  padding: 0 5px;
}

.media-clear:hover {
  background: #f0f0f0;
}

.existing-media-preview.is-removed {
  opacity: 0.25;
  filter: grayscale(1);
  pointer-events: none;
}

.media-remove-existing {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  padding: 8px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  color: #091a32;
  font-weight: bold;
  cursor: pointer;
  box-sizing: border-box;
}

.media-remove-existing:hover {
  background: #f0f0f0;
}

.file-button:hover {
  background: #abb243;
}

.file-button input[type="file"] {
  display: none;
}

.form-wrapper button:hover {
  background: #abb243;
}

/* Upload progress overlay (admin) */
.upload-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.upload-overlay.is-visible {
  display: flex;
}

.upload-modal {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 12px;
  padding: 18px 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  text-align: center;
  font-family: 'Orbitron', sans-serif;
}

.upload-title {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #091a32;
}

.upload-progress {
  width: 100%;
  height: 14px;
  background: #e6e6e6;
  border-radius: 999px;
  overflow: hidden;
}

.upload-progress-bar {
  height: 100%;
  background: #abb243;
  width: 0%;
  transition: width 120ms linear;
}

.upload-text {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #091a32;
}

.upload-subtext {
  margin-top: 6px;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  color: #404040;
}

hr {
  border: none;
  height: 1px;
  background-color: #091a32; 
  width: 80%;
  margin: 30px auto;
}

/* About Container */
.about-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.about-header-image img {
  max-width: 700px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 30px;
}

.about-text {
  text-align: center;
  margin-bottom: 30px;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.about-gallery {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.about-gallery .small-img {
  width: 45%;
  max-width: 300px;
  border-radius: 8px;
}

/* Footer */
.site-footer {
  background: white;
  color: #404040;
  text-align: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  padding: 20px 10px;
  position: sticky;
  bottom: 0;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 999;
}

.site-footer .footer-links {
  margin: 0 auto;
}

.site-footer .footer-links img {
  /*color: #404040;
  text-decoration: none;*/
  margin: 0 5px;
  display: inline-block;
  transition: all 0.3s ease;
}

.site-footer .footer-links img:hover {
  /*color: #38bdf8;
  text-shadow: 0 0 8px #091a32;*/
  transform: scale(1.3);
  filter: drop-shadow(0 0 6px #091a32);
  transition: all 0.3s ease;
}

.site-footer .footer-copy a {
  color: #404040;
  text-decoration: none;
  margin: 0 15px;
  display: inline-block;
  transition: color 0.3s ease, transform 0.3s ease;
}

.site-footer .footer-copy a:hover {
  color: #38bdf8;
  transform: scale(1.2);
  transition: all 0.3s ease;
}

/* Responsive Navigation */
@media (max-width: 600px) {
  .main-nav ul {
    /*flex-direction: column;*/
    align-items: center;
    gap: 10px;
  }

  section img {
  max-width: 300px;
 }

  .main-nav a {
    font-size: 0.9rem;
  }
    
  .site-footer {
    font-size: 0.5rem;
  }
}