/* === Bereinigte STYLE.CSS für kilthau.tech === */

:root {
  --background: #E9EDF1;
  --text: #2B2B2B;
  --primary: #35748E;
  --primary-hover: #285e74;
  --section-alt: #f4f7f9;
  --footer-bg: #E1E6EA;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

header, section, footer {
  max-width: 800px;
  margin: auto;
  padding: 2rem 1rem;
}

main {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: system-ui, sans-serif;
  line-height: 1.6;
}

h1, h2, h3 {
  line-height: 1.2;
  color: #1E2A38;
}

h1 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
}

h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-top: 1.5rem;
}

p, address {
  font-style: normal;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

a {
  color: inherit;
  text-decoration: underline;
}

/* Navigation */
nav {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background: white;
  position: sticky;
  top: 0;
  z-index: 10;
  max-width: 1000px;
  margin: 0 auto;
}

#nav-menu {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

#nav-links-left,
#nav-links-right {
  display: flex;
  align-items: center;
}

#nav-links-left {
  flex-grow: 1;
  justify-content: flex-start;
  gap: 1.25rem;
}

#nav-links-right {
  justify-content: flex-end;
  gap: 0.75rem;
}

#nav-links-left a,
#nav-links-right a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #111;
  font-weight: 500;
  font-size: 1rem;
}

#nav-links-right a {
  font-size: 1.2rem;
}

/* Mobile Navigation */
.burger {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .burger {
    display: block;
  }

  #nav-menu {
    display: none;
    flex-direction: column;
    background: white;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  #nav-menu.active {
    display: flex;
  }

  #nav-links-left,
  #nav-links-right {
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
  }

  #nav-links-left a,
  #nav-links-right a {
    margin: 0.5rem 0;
  }
}

/* Call to Action */
.cta {
  display: inline-block;
  margin: 0.5rem 0;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary);
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.cta:active {
  transform: scale(0.98);
}

/* Sprachumschalter */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: 0.75rem;
}

.lang-switcher a {
  font-size: 1.2rem;
  text-decoration: none;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: white;
  padding: 0.5rem;
  z-index: 100;
  text-decoration: none;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* Scroll Button */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  padding: 0.5rem 0.7rem;
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: var(--primary-hover);
}

/* Kontaktbereich */
.kontakt-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

.kontakt-links {
  text-align: center;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.kontakt-links a {
  display: block;
  margin: 0.2rem 0;
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.9rem;
  background-color: var(--footer-bg);
}