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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #ffffff;
  min-height: 100vh;
}

/* Header */
.header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

.logo-container {
  flex-shrink: 0;
}

.logo-img {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

/* Navigation */
.nav-menu {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.nav-item {
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-weight: 500;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.nav-item:hover {
  background: #3b4d66;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(59, 77, 102, 0.3);
}

.nav-item.active {
  background: #3b4d66;
  color: white;
  box-shadow: 0 1px 6px rgba(59, 77, 102, 0.2);
}

/* Suchleiste */
.search-bar {
  padding: 0.75rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  background: white;
  font-size: 0.9rem;
  min-width: 200px;
  transition: all 0.3s ease;
}

.search-bar:focus {
  outline: none;
  border-color: #3b4d66;
  box-shadow: 0 0 0 3px rgba(59, 77, 102, 0.1);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Seiten */
.page {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.page.active {
  display: block;
}

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

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 4rem 0;
  background: #f8fafc;
  border-radius: 20px;
  margin-bottom: 3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: #3b4d66;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #666;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.launch-date {
  display: inline-block;
  background: #3b4d66;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(59, 77, 102, 0.3);
}

.socials {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
}

.social-btn:hover {
  background: #3b4d66;
  color: white;
  border-color: #3b4d66;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(59, 77, 102, 0.3);
}

/* Überschriften */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #3b4d66;
  margin-bottom: 2rem;
  text-align: center;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #3b4d66;
  margin: 2rem 0 1rem 0;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}

/* Karten */
.card {
  background: #ffffff;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  border-color: #3b4d66;
}

/* Feature Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.feature-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}

.feature-desc {
  color: #666;
  line-height: 1.6;
}

/* Listen */
ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
  color: #555;
}

/* Alerts */
.alert {
  padding: 1.5rem;
  border-radius: 15px;
  margin: 2rem 0;
  border-left: 4px solid;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.alert-info {
  border-left-color: #667eea;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
}

/* Grid Layout */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Formulare */
.contact-form {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  background: white;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Downloads */
.download-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.download-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.download-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
}

/* Impressum */
.impressum-page {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.impressum-page h2 {
  color: #333;
  text-shadow: none;
  margin-top: 2rem;
}

.impressum-page p {
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* Suchergebnisse */
#results-list .card {
  margin-bottom: 1.5rem;
}

#results-list .card h2 {
  color: #333;
  text-shadow: none;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

#results-list .card p {
  color: #666;
  margin-bottom: 1rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  margin-top: 4rem;
  backdrop-filter: blur(10px);
}

footer a {
  color: #667eea;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  .nav-menu {
    justify-content: center;
    gap: 0.25rem;
  }
  
  .nav-item {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .container {
    padding: 1rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
  
  .socials {
    flex-direction: column;
    align-items: center;
  }
  
  .search-bar {
    min-width: 150px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .feature-card,
  .card {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .impressum-page {
    padding: 2rem;
  }
}

/* Animationen */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.launch-date {
  animation: pulse 2s infinite;
}

/* Hover-Effekte für bessere Interaktivität */
.card,
.feature-card,
.download-item {
  position: relative;
  overflow: hidden;
}

.card::before,
.feature-card::before,
.download-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
  transition: left 0.5s;
}

.card:hover::before,
.feature-card:hover::before,
.download-item:hover::before {
  left: 100%;
}

.logo-text {
  font-size: 24px;
  font-weight: 600;
  color: #1d1d1f;
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.logo-text:hover {
  color: #0071e3;
}

/* Optional: Für ein moderneres Apple-Style Design */
.logo-text {
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(90deg, #0071e3, #00a8e8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.logo-text:hover {
  opacity: 0.8;
}

.logo-container a {
  font-size: 28px;
  font-weight: 700;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* "its" in Blau */
.logo-container a::before {
  content: "its";
  color: #0071e3;
}

/* "tube.de" in Dunkelgrau */
.logo-container a {
  color: #1d1d1f;
}
