/* === Global Reset === */
* { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f8f9fc;
  color: #222;
  line-height: 1.5;
}

/* === Navbar === */
.navbar {
  background: #002b5c;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  position: relative;
  z-index: 9999;
}

.navbar img.logo {
  height: 120px;
}

.navbar nav a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
  transition: 0.3s;
}

.navbar nav a:hover { color: #00aaff; }

/* Burger Icon für Mobile */
.burger {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* Mobile Navbar */
@media (max-width: 768px) {
  .burger { display:block; }
  nav#nav-links {
    display:none;
    flex-direction:column;
    position:absolute;
    top:100%;
    right:0;
    background:#002b5c;
    width:220px;
    border-radius:0 0 0 8px;
    box-shadow:0 2px 8px rgba(0,0,0,0.3);
    z-index:9999;
  }
  nav#nav-links a {
    margin:15px 0;
    text-align:center;
    padding:12px;
    display:block;
  }
  nav#nav-links.active { display:flex; }
}

/* === Hero === */
.hero {
  position:relative;
  height:400px;
  background:#ccc url('assets/hero.jpg') center/cover no-repeat;
}

.hero-overlay {
  position:absolute; top:0; left:0;
  width:100%; height:100%;
  background:rgba(0,0,0,0.55);
  display:flex; justify-content:center; align-items:center;
  text-align:center; padding:20px;
}

.hero-content { color:white; max-width:800px; }
.hero-content h1 { font-size:42px; margin-bottom:15px; }
.hero-content p { font-size:18px; margin-bottom:25px; }

/* Buttons */
.hero-buttons .btn,
.btn {
  display:inline-block;
  padding:12px 25px;
  margin:5px;
  border-radius:5px;
  font-weight:bold;
  text-decoration:none;
  transition:0.3s;
}

.btn.primary { background:#007bff; color:white; }
.btn.primary:hover { background:#0056b3; }
.btn.secondary { background:white; color:#007bff; }
.btn.secondary:hover { background:#f1f1f1; }

/* === Sections === */
.section { padding:80px 20px; }
.section.light { background:#f8f9fc; }
.section.dark { background:#004080; color:white; }
.section h2 {
  text-align:center;
  margin-bottom:50px;
  font-size:36px;
}

/* Split (Über uns) */
.section.split {
  display:flex; flex-wrap:wrap; align-items:center; gap:40px;
  max-width:1200px; margin:80px auto;
}
.section.split .text { flex:1; }
.section.split .image { flex:1; display:flex; justify-content:center; }
.section.split img {
  width:90%; max-width:500px; border-radius:10px;
  box-shadow:0 2px 12px rgba(0,0,0,0.2); object-fit:cover;
}

/* Cards */
.card-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:30px; max-width:1200px; margin:auto;
}

.card {
  background:white;
  padding:30px;
  border-radius:10px;
  text-align:center;
  box-shadow:0 2px 10px rgba(0,0,0,0.1);
  transition:0.3s;
}

.dark .card { background:#fff; color:#000; }
.hover-card:hover { transform:translateY(-8px); box-shadow:0 8px 20px rgba(0,0,0,0.2); }
.card .icon { font-size:50px; color:#007bff; margin-bottom:20px; }

/* === Kontaktformular optimiert === */
form.card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  max-width: 600px;
  margin: 40px auto;
  transition: 0.3s ease;
}

form.card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

form label {
  text-align: left;
  font-weight: 600;
  font-size: 15px;
  color: #333;
  margin-bottom: 3px;
}

form input, form textarea {
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  transition: 0.2s ease;
}

form input:focus, form textarea:focus {
  border-color: #007bff;
  box-shadow: 0 0 4px rgba(0,123,255,0.3);
  outline: none;
}

form textarea {
  min-height: 120px;
  resize: vertical;
}

form button {
  background: linear-gradient(90deg, #007bff, #0056b3);
  color: white;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}

form button:hover {
  background: linear-gradient(90deg, #0056b3, #003f80);
  transform: translateY(-1px);
}

/* === Footer === */
footer {
  background:#002b5c;
  color:white;
  text-align:center;
  padding:40px 20px;
}

.footer-links { margin-bottom:15px; }
.footer-links a {
  color:white;
  margin:0 10px;
  text-decoration:none;
}
.footer-links a:hover { text-decoration:underline; }

.form-header {
  text-align: center;
  margin-bottom: 30px;
}

.form-header h1 {
  font-size: 32px;
  color: #004080;
  margin-bottom: 8px;
}

.form-header p {
  font-size: 16px;
  color: #666;
}

/* ==================== Datenschutzerklärung Style ==================== */
.privacy-wrapper {
  background: white;
  padding: 40px 30px;
  border-radius: 10px;
  max-width: 900px;
  margin: 60px auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  line-height: 1.7;
}

.privacy-wrapper h1 {
  font-size: 36px;
  color: #004080;
  margin-bottom: 30px;
  text-align: center;
}

.privacy-wrapper h2 {
  font-size: 24px;
  color: #004080;
  margin-top: 30px;
  margin-bottom: 15px;
}

.privacy-wrapper p {
  font-size: 16px;
  color: #333;
  margin-bottom: 18px;
}

.privacy-wrapper ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.privacy-wrapper ul li {
  list-style: disc;
  margin-bottom: 10px;
  color: #444;
}
