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

body {
  font-family: "Segoe UI", sans-serif;
  background: linear-gradient(135deg, #1e3c72, #2a5298, #6dd5ed);
  background-size: 400% 400%;
  animation: gradientMove 15s ease infinite;
  color: #fff;
  min-height: 100vh;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== Navbar (kopiert von Startseite) ===== */
.navbar{
  width:100%;
  height:70px;
  background:#fff;
  position:fixed;
  top:0;
  left:0;
  z-index:1000;
  box-shadow:0 2px 8px rgba(0,0,0,0.05);
}

.nav-left{
  position:absolute;
  left:20px;
  top:50%;
  transform:translateY(-50%);
}

.nav-left img{ height:50px; }

.nav-right{
  position:absolute;
  right:20px;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  align-items:center;
  gap:2rem;
}

.nav-links{
  list-style:none;
  display:flex;
  gap:2rem;
}

.nav-links a{
  text-decoration:none;
  color:#2d2d2d;
  font-weight:500;
}

.nav-links a:hover{ color:#1e90ff; }

/* Hamburger */
.hamburger{
  display:none;
  flex-direction:column;
  cursor:pointer;
  gap:5px;
}
.hamburger span{
  width:25px;
  height:3px;
  background:#2d2d2d;
  border-radius:5px;
}

/* Mobile */
@media (max-width:768px){
  .nav-links{
    position:absolute;
    top:70px;
    right:20px;
    flex-direction:column;
    background:#fff;
    width:200px;
    max-height:0;
    overflow:hidden;
    transition:max-height .5s;
  }
  .nav-links.active{ max-height:300px; }
  .hamburger{ display:flex; }
}

/* ===== Impressum ===== */
.impressum-wrapper{
  display:flex;
  justify-content:center;
  padding:60px 20px;
}

.impressum-card{
  max-width:800px;
  width:100%;
  background:rgba(255,255,255,0.12);
  backdrop-filter:blur(8px);
  border-radius:20px;
  padding:40px;
  box-shadow:0 10px 25px rgba(0,0,0,0.25);
}

.impressum-card h1{
  margin-bottom:25px;
  font-size:2.2rem;
}

.impressum-card p{
  margin-bottom:18px;
  color:#f0f0f0;
}

.impressum-card strong{ color:#fff; }

.impressum-card h1,
.impressum-card h2,
.impressum-card h3,
.impressum-card p {
  overflow-wrap: break-word;
  hyphens: auto;
  text-align: center;
}


/* === Footer (identisch zur Startseite) === */
.footer {
  background: linear-gradient(to top, #ffffff, #f0f8ff);
  color: #2d2d2d;
  padding: 50px 20px;
  font-family: "Segoe UI", sans-serif;
  border-top: 3px solid;
  border-image: linear-gradient(to right, #7ec8ff, #ffffff, #7ec8ff);
  border-image-slice: 1;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}
.footer-left, .footer-center, .footer-right {
  flex: 1 1 250px;
  text-align: center;
}
.footer-left {
  font-style: italic;
  font-size: 1.1rem;
  color: #7ec8ff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-center h4, .footer-right h4 {
  margin-bottom: 10px;
  color: #7ec8ff;
}
.footer-right .footer-nav {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
  padding: 0;
}
.footer-right .footer-nav li a {
  text-decoration: none;
  color: #2d2d2d;
  font-weight: 500;
  transition: all 0.3s;
  padding: 5px 10px;
  border-radius: 8px;
}
.footer-right .footer-nav li a:hover {
  background: #7ec8ff;
  color: #fff;
  transform: translateY(-3px);
}
.footer-right p {
  font-size: 0.9rem;
  color: #555;
}
.footer .credit {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #7ec8ff;
  font-style: italic;
}
.footer .credit strong {
  color: #1e90ff;
}
