:root {
  --bg-main: #fffefc;
  --bg-soft-yellow: #fff7b8;
  --bg-card: #fffef8;
  --border-yellow: #ffe066;
  --accent-pink: #00376c;
  --text-main: #3a3a3a;
  --text-soft: #666;
  --text-nav: #5a5a5a;
  --text-footer: #3a4a3a;
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-strong: 0 18px 40px rgba(0, 0, 0, 0.10);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
}

/* HEADER UND NAVIGATION */

header {
  background-color: white;
  padding: 18px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.logo {
  margin-left: -25px;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 35px;
  width: auto;
  display: block;
}

nav ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 34px;
  margin: 0;
  padding: 0;
}

nav ul li {
  position: relative;
}

nav a {
  text-decoration: none;
  color: var(--text-nav);
  font-weight: 600;
  font-size: 0.97rem;
  transition: color 0.25s ease;
}

nav a:hover,
nav a.active {
  color: var(--accent-pink);
}

nav > ul > li > a {
  position: relative;
}

nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 3px;
  background-color: var(--border-yellow);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

nav > ul > li > a:hover::after,
nav > ul > li > a.active::after {
  transform: scaleX(1);
}

/* DROPDOWN */

nav ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 10px;
  z-index: 999;
}

nav ul li:hover > ul {
  display: block;
}

.dropdown-inner {
  background-color: white;
  padding: 8px 0;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.10);
  min-width: 190px;
  border: 1px solid var(--border-yellow);
}

nav ul li ul li a {
  display: block;
  padding: 9px 18px;
  color: var(--text-nav);
  font-weight: normal;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

nav ul li ul li a:hover {
  background-color: var(--bg-soft-yellow);
  color: var(--accent-pink);
}

/* INHALT IMPRESSUM */

.content-page {
  max-width: 1000px;
  margin: 70px auto 90px auto;
  padding: 0 20px;
}

.page-card {
  background: linear-gradient(135deg, #edf5ff 0%, #fffdf2 55%, #fff6be 100%);
  border: 2px solid var(--border-yellow);
  border-radius: 28px;
  padding: 50px 48px;
  box-shadow: var(--shadow-soft);
}

.impressum-card h1 {
  color: var(--accent-pink);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 38px;
  letter-spacing: -0.03em;
}

.impressum-block {
  margin-bottom: 34px;
}

.impressum-block:last-child {
  margin-bottom: 0;
}

.impressum-block h2 {
  color: var(--accent-pink);
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.impressum-block p {
  color: var(--text-main);
  font-size: 1.08rem;
  line-height: 1.8;
  margin-bottom: 8px;
}

.impressum-block a {
  color: var(--accent-pink);
  font-weight: 700;
  text-decoration: none;
}

.impressum-block a:hover {
  text-decoration: underline;
}

/* FOOTER */

footer {
  background-color: var(--bg-soft-yellow);
  color: var(--text-footer);
  padding: 55px 20px 32px 20px;
  margin-top: 40px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.footer-column h3 {
  color: var(--accent-pink);
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.footer-column p,
.footer-column li,
.footer-column a {
  color: var(--text-footer);
  font-size: 0.97rem;
  line-height: 1.75;
  text-decoration: none;
}

.footer-column ul {
  list-style: none;
}

.footer-column a:hover {
  color: var(--accent-pink);
}

.footer-bottom {
  max-width: 1200px;
  margin: 30px auto 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(0,55,108, 0.15);
  text-align: center;
  font-size: 0.93rem;
}

/* RESPONSIVE */

@media (max-width: 800px) {
  header {
    padding: 16px 24px;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  nav ul {
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
  }

  .logo img {
    height: 45px;
  }

  .page-card {
    padding: 34px 24px;
  }

  .impressum-card h1 {
    font-size: 2rem;
  }

  .impressum-block h2 {
    font-size: 1.25rem;
  }

  .impressum-block p {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .content-page {
    margin: 45px auto 70px auto;
  }

  nav ul {
    gap: 14px;
  }
}

/* Einheitliche Textgrößen – Abschlusskorrektur */
body { font-family: 'Segoe UI', Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.7; }
nav a { font-size: 0.97rem; }
.legal-card h1 { font-size: clamp(2.1rem, 4vw, 3rem); line-height: 1.18; }
.legal-section h2 { font-size: 1.45rem; line-height: 1.3; }
.legal-section p, .legal-section li { font-size: 1.05rem; line-height: 1.75; }
.footer-column p, .footer-column li, .footer-column a { font-size: 0.97rem; line-height: 1.75; }



.footer-phone {
  color: var(--text-footer);
  cursor: default;
  text-decoration: none;
}
