body {
  font-family: 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
  color: #212529;
  
}
body.loaded {
  opacity: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 0;
}

h1 {
  font-size: 2rem;
  color: #343a40;
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-align: center;
}

p {
  color: #495057;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.button {
  display: inline-block;
  background-color: #1e88e5;
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease-in-out;
}

.button:hover {
  background-color: #1565c0;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.icon-button {
  background-color: transparent;
  border: none;
  color: inherit;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.2s ease-in-out;
}
.icon-button:hover {
  color: #1e88e5;
}

.notification {
  background-color: #e3f2fd;
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  font-size: 0.95rem;
  line-height: 1.7;
}

.flughafen {
  width: calc(33.33% - 1.5rem);
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 1rem;
  box-sizing: border-box;
  text-align: center;
  background-color: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}
.flughafen:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px) scale(1.02);
}

.flughafen img {
  width: 100%;
  height: auto;
  margin-bottom: 0.75rem;
  border-radius: 0.5rem;
}

.wrapper {
  width: 100%;
  text-align: center;
  margin-bottom: 2rem;
}

.dropdown-container {
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  max-width: 600px;
  margin: 20px auto;
  text-align: center;
}

.dropdown-container label {
  font-weight: 500;
  margin-right: 0.5rem;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.dropdown-container select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #fff;
  color: #212529;
  border: 1px solid #ccc;
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="6"><path fill=\"%23444\" d=\"M0 0l5 6 5-6z\"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 10px 6px;
  cursor: pointer;
  transition: border 0.3s;
}
.dropdown-container select:hover,
.dropdown-container select:focus {
  border-color: #888;
  outline: none;
}

@media screen and (max-width: 992px) {
  .flughafen {
    width: calc(50% - 1rem);
  }
}

@media screen and (max-width: 600px) {
  .flughafen {
    width: 100%;
  }

  h1 {
    font-size: 1.5rem;
  }

  .button {
    width: 100%;
    text-align: center;
  }
}.dark-mode {
  /* Leere Wurzelklasse für globale Regeln, falls nötig */
}

.dark-mode body {
  background: #121212;
  color: #e0e0e0;
}

.dark-mode .container {
  background: transparent;
}

.dark-mode h1,
.dark-mode h2,
.dark-mode p,
.dark-mode label {
  color: #e0e0e0;
}

.dark-mode .notification,
.dark-mode .dropdown-container {
  background-color: #1e1e1e;
  color: #e0e0e0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.dark-mode select,
.dark-mode .dropdown-container select {
  background-color: #2a2a2a !important;
  color: #f1f1f1 !important;
  border: 1px solid #555 !important;
  background-image: url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"10\" height=\"6\"><path fill=\"%23ccc\" d=\"M0 0l5 6 5-6z\"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 10px 6px;
}

.dark-mode option {
  background-color: #2a2a2a;
  color: #f1f1f1;
}

.dark-mode .button {
  background-color: #2196f3;
  color: white;
}

.dark-mode .button:hover {
  background-color: #1976d2;
}

.dark-mode .flughafen {
  background-color: #1e1e1e;
  color: #e0e0e0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.dark-mode .flughafen:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}
.mode-toggle {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #ffffffcc;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  font-size: 0.9rem;
  color: #222;
  backdrop-filter: blur(4px);
}

.mode-toggle span {
  font-weight: 500;
}

.mode-button {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.2s ease;
  color: inherit;
}
.mode-button:hover {
  transform: scale(1.2);
}

.dark-mode .mode-toggle {
  background-color: #222222cc;
  color: #eee;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}


.site-header {
  background: #ffffffee;
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  padding: 0.5rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.logo {
  font-size: 1.1rem;
  font-weight: bold;
  color: #1e88e5;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: #444;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.nav a:hover {
  background: #e3f2fd;
  color: #1e88e5;
}

.dark-mode .site-header {
  background: #1e1e1ecc;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.dark-mode .logo {
  color: #90caf9;
}

.dark-mode .nav a {
  color: #ccc;
}

.dark-mode .nav a:hover {
  background: #263238;
  color: #90caf9;
}

.burger {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  color: inherit;
}

/* Mobil */
@media screen and (max-width: 768px) {
  .burger {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 1rem;
    background-color: #ffffffee;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  .nav.show {
    display: flex;
  }

  .dark-mode .nav {
    background-color: #1e1e1ecc;
  }
}


.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Flugzeug unten mit Kondensstreifen */
.plane-track.bottom {
  position: fixed;
  bottom: 2rem;
  left: 0;
  width: 100%;
  height: 40px;
  pointer-events: none;
  z-index: 2000;
}

.plane-track .jet-trail {
  position: absolute;
  top: 14px;
  left: 0;
  height: 2px;
  background: linear-gradient(to right, #00caff 0%, transparent 100%);
  width: 0;
  opacity: 0.4;
  transition: width 0.1s linear;
}

.plane-track .plane-icon {
  font-size: 24px;
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(0);
  transition: transform 0.1s linear;
}

/* Landebahnlichter */
.runway-lights {
  position: fixed;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
}

.runway-lights .light {
  width: 10px;
  height: 10px;
  background: #ffe600;
  border-radius: 50%;
  box-shadow: 0 0 8px #ffe600;
  animation: blink 0.8s infinite alternate;
}

.runway-lights.show {
  opacity: 1;
  transition: opacity 0.3s;
}

@keyframes blink {
  from { opacity: 0.3; }
  to   { opacity: 1; }
}

/* Flugradar-Gimmick */
.sky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.sky-emoji {
  position: absolute;
  opacity: 0;
  display: inline-block;
  transition: transform 0.3s;
}

.sky-emoji.flipped {
  transform: scaleX(-1);
}

@keyframes fly-right {
  0% { transform: translateX(-10vw); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateX(110vw); opacity: 0; }
}

@keyframes fly-left {
  0% { transform: translateX(110vw); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateX(-10vw); opacity: 0; }
}
.radar-blip {
  animation: blip 1s infinite alternate;
}
@keyframes blip {
  0%   { opacity: 0.2; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.3); }
}