:root {
  --bg-dark: #18181b;
  --bg-glass: rgba(30, 30, 36, 0.85);
  --wine: #8b1e3f;
  --wine-light: #b23a48;
  --text: #f4f4f7;
  --accent: #e94560;
  --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  --radius: 18px;
}

/* Grundlayout */
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-dark);
  color: var(--text);
  font-family: 'Montserrat', Arial, sans-serif;
  min-height: 100vh;
  scroll-behavior: smooth;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header und Navigation */
header {
  background: linear-gradient(90deg, var(--wine) 0%, var(--bg-dark) 100%);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 100;
}
.header-separator {
  width: 100%;
  height: 48px;
  margin-top: -12px;
  margin-bottom: -24px;
  background: rgba(36, 36, 48, 0.32);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.18), 0 2px 16px 0 rgba(255,255,255,0.08) inset;
  border: 1.5px solid rgba(255,255,255,0.10);
  opacity: 0.95;
  position: relative;
  z-index: 10;
  /* Keine abgerundeten Ecken mehr */
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
}
.nav-container.column {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 24px 8px 24px;
}
.logo {
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 2.2rem;
  color: var(--wine-light);
  letter-spacing: 2px;
  font-weight: 700;
  text-shadow: 0 2px 12px #000a;
  user-select: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 20; /* Damit das Logo über der Menüleiste liegt */
}
.logo-img {
  height: 100px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 12px #000a);
  transition:
    transform 0.35s cubic-bezier(.22,1.61,.36,1),
    filter 0.25s,
    box-shadow 0.25s;
  will-change: transform, filter, box-shadow;
  position: relative;
  z-index: 21;
  background: none; /* Sicherstellen, dass kein Hintergrund gesetzt ist */
}
.logo-img:hover,
.logo-img:focus {
  transform: scale(1.20) translateY(15px) perspective(300px) rotateX(-8deg);
  filter: drop-shadow(0 0 16px #e94560cc) drop-shadow(0 2px 12px #000a);
  background: none; /* Kein Hintergrund beim Hover */
  z-index: 22;
  cursor: default;
}
nav {
  width: 100%;
  display: flex;
  justify-content: center;
}
nav ul {
  background: rgba(30, 30, 36, 0.72);
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.18);
  border-radius: 18px;
  backdrop-filter: blur(8px);
  padding: 14px 36px;
  margin-top: 10px;
  margin-bottom: 0;
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: center;
  border: 1.5px solid rgba(255,255,255,0.08);
  transition: box-shadow 0.2s;
}
nav ul:hover, nav ul:focus-within {
  box-shadow: 0 12px 32px 0 rgba(31,38,135,0.28);
}
nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 8px 18px;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  position: relative;
  background: none;
  border: none;
  outline: none;
  display: inline-block;
}
nav a::after {
  content: "";
  display: block;
  height: 3px;
  width: 0;
  background: var(--wine-light);
  border-radius: 2px;
  transition: width 0.3s;
  position: absolute;
  left: 50%;
  bottom: 4px;
  transform: translateX(-50%);
}
nav a:hover, nav a.active {
  background: var(--wine-light);
  color: #fff;
  box-shadow: 0 2px 12px #8b1e3f44;
}
nav a:hover::after, nav a.active::after {
  width: 60%;
}

/* Dropdown Menü */
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-toggle {
  position: relative;
  padding-right: 24px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  outline: none;
  z-index: 2;
  color: var(--text);
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.dropdown-arrow {
  display: inline-block;
  margin-left: 6px;
  position: static;
  width: 18px;
  height: 18px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.dropdown:hover .dropdown-arrow,
.dropdown:focus-within .dropdown-arrow {
  opacity: 1;
}
.dropdown-arrow::after {
  content: "▼";
  display: block;
  text-align: center;
  color: var(--wine-light);
  font-size: 1.1em;
  transition: color 0.2s;
}
.dropdown:hover .dropdown-arrow::after,
.dropdown:focus-within .dropdown-arrow::after {
  color: var(--accent);
}
.dropdown-menu {
  display: none;
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--bg-glass);
  box-shadow: 0 8px 32px #000a;
  border-radius: var(--radius);
  padding: 8px 0;
  margin: 0;
  list-style: none;
  z-index: 10;
  text-align: center;
  animation: dropdown-fade 0.18s ease;
}
@keyframes dropdown-fade {
  from { opacity: 0; transform: translateX(-50%) translateY(-10px);}
  to   { opacity: 1; transform: translateX(-50%) translateY(0);}
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: block;
}
.dropdown-menu li {
  width: 100%;
}
.dropdown-menu a {
  display: block;
  padding: 12px 24px;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
  font-size: 1.05rem;
}
.dropdown-menu a:hover,
.dropdown-menu a:focus {
  background: var(--wine-light);
  color: #fff;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 32vh;
  padding: 36px 12px 18px 12px;
  background: linear-gradient(120deg, var(--bg-glass) 60%, var(--wine) 100%);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  margin-top: 0; /* Spalt entfernt */
}
.hero h1 {
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 2.2rem; /* vorher 3rem */
  color: var(--wine-light);
  margin: 0 0 12px 0;
  text-shadow: 0 2px 16px #000a;
  letter-spacing: 2px;
}
.hero p {
  font-size: 1.08rem; /* vorher 1.3rem */
  max-width: 600px;
  color: #f4f4f7cc;
  margin: 0 0 12px 0;
  line-height: 1.6;
}
.hero .cta {
  margin-top: 18px;
  display: inline-block;
  background: var(--wine-light);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 12px 32px;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px #8b1e3f55;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  letter-spacing: 1px;
}
.hero .cta:hover {
  background: var(--accent);
  transform: scale(1.05);
}

/* Content Section */
.section {
  max-width: 900px;
  margin: 56px auto 48px auto; /* Abstand zum Trenner */
  background: var(--bg-glass);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 28px;
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 1;
}
.section h2 {
  color: var(--wine-light);
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 18px;
  letter-spacing: 1px;
}
.section p, .section li {
  color: #f4f4f7cc;
  font-size: 1.08rem;
  line-height: 1.7;
}
.section ul {
  margin-left: 1.2em;
}
.section a {
  color: var(--accent);
  text-decoration: underline;
  transition: color 0.2s;
}
.section a:hover {
  color: var(--wine-light);
}

/* Footer */
footer {
  background: var(--bg-glass);
  color: #aaa;
  text-align: center;
  padding: 18px 10px 10px 10px;
  font-size: 1rem;
  /* border-radius: var(--radius) var(--radius) 0 0; */ /* Entfernen oder auskommentieren */
  border-radius: 0;
  margin-top: auto;
  box-shadow: 0 -2px 12px #0008;
}
footer a {
  color: var(--wine-light);
  text-decoration: underline;
  transition: color 0.2s;
}
footer a:hover {
  color: var(--accent);
}

/* Responsive */
@media (max-width: 700px) {
  .nav-container {
    flex-direction: column;
    gap: 10px;
    padding: 12px 8px;
  }
  .hero h1 {
    font-size: 2.1rem;
  }
  .section {
    padding: 18px 8px;
  }
  .dropdown-menu {
    left: 0;
    transform: none;
    min-width: 140px;
  }
  .dropdown-arrow {
    margin-left: 4px;
  }
  .logo-img {
    height: 24px;
  }
  .hero {
    margin-top: 34px;
  }
  .section {
    margin-top: 34px;
  }
}
@media (max-width: 480px) {
  nav ul {
    gap: 12px;
  }
  .hero {
    padding: 32px 4px 18px 4px;
  }
  .section {
    padding: 10px 2px;
  }
}

.nav-divider {
  display: none;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin: 18px 0 8px 0; /* vorher 32px 0 12px 0 */
  background: none;
  box-shadow: none;
  padding: 0;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(30,30,36,0.55);
  box-shadow: 0 2px 12px #0005, 0 1px 8px #fff1 inset;
  backdrop-filter: blur(6px);
  transition: 
    box-shadow 0.2s,
    background 0.2s,
    transform 0.2s;
  position: relative;
  overflow: hidden;
}

.social-links a img {
  width: 32px;
  height: 32px;
  filter: grayscale(0%) invert(0.7) brightness(1.15);
  opacity: 0.97;
  transition: 
    filter 0.2s, 
    opacity 0.2s, 
    transform 0.2s;
}

.social-links a:hover,
.social-links a:focus {
  background: var(--wine-light);
  box-shadow: 0 4px 24px var(--accent), 0 2px 12px #fff3 inset;
  transform: scale(1.08);
}

.social-links a:hover img,
.social-links a:focus img {
  filter: drop-shadow(0 2px 8px var(--accent)) grayscale(0%) brightness(1.25);
  opacity: 1;
  transform: scale(1.10) rotate(-3deg);
}