@font-face {
    font-family: 'Chivo';
    src: url("fonts/Chivo-Regular.woff2") format("woff2"),
         url("fonts/Chivo-Regular.woff") format("woff"),
         url("fonts/Chivo-Regular.ttf") format("truetype"),
         url("fonts/Chivo-Regular.eot");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

* {
  box-sizing: border-box;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin-top: 0;
}

body {
  overflow-x: hidden;
  margin: 0;
  font-family: 'Chivo';
  background-color: #fff9f9;
  color: #222;
}

header {
  position: relative;
  top: 0;
  width: 100%;
}

.navbar {
  position: fixed;
  max-width:100%;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #951E47, #d56b98);
  padding: 0.5rem 1rem;
  position: fixed;
  width: 100%;
  z-index: 1001;
  top: 0;
  overflow-x: hidden;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  height: 40px;
  margin-right: 10px;
}

.site-title {
  font-size: 1.4rem;
  color: white;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  word-break: break-word;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.nav-links li a:hover {
  text-decoration: underline;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  background: none;
  border: none;
}

/* Headerbild */
.header-image img {
  width: 100%;
  margin-top: 60px;
  max-height: 400px;
  object-fit: cover;
}

/* Formular */
form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: 0 auto;
}

input, textarea, button {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #bdc3c7;
    border-radius: 5px;
}

button {
    background: #951E47;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background: #d56b98;
}

/* Rubriken */
.rubrik-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.rubrik {
  background: #fff;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.rubrik:hover {
  transform: translateY(-5px);
}

.rubrik a {
  color: #951E47;
  text-decoration: none;
  font-weight: bold;
}

.rubrik a:hover {
  color: #d56b98;
}

.rubrik img {
  max-height: 80px;
  margin-bottom: 1rem;
}

/* Footer */
footer {
  background: #951E47;
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

.header-image, main, footer{
  position: relative;
  z-index: 1;
}
section.content {
  max-width: 900px;
  margin: 3rem auto;
  padding: 2rem;
  background-color: #fff;
  border-left: 5px solid #951E47;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  line-height: 1.7;
  font-size: 1.05rem;
  color: #222;
}

section.content h1,
section.content h2 {
  color: #951E47;
  margin-top: 0;
}

section.content p {
  margin-bottom: 1.2rem;
}

section.content ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

section.content li {
  margin-bottom: 0.5rem;
}

section.start {
  max-width:none;
}

.rubrik img {
  aspect-ratio: 1 / 1;
  max-height: 90px;
  width: auto;
  margin-bottom: 1rem;
  transition: transform 0.2s ease;
}

main {
  padding-left: 2rem;
  padding-right: 2rem;
}
/* Responsive */
@media (max-width: 768px) {

  main {
    padding-left:1.5rem;
    padding-right:1.5rem;
  }

  .rubrik img {
    max-height: 70px;
  }

  .menu-toggle{
    display: block;
    z-index: 1002;
    position: relative;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #951E47;
    position: fixed;
    top: 40px;
    right: 0;
    width: 100%;
    text-align: center;
    padding: 1rem;
    z-index: 1001;
  }

  .nav-links.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .site-title{
    display: none;
  }
  section.content {
    /*margin: 2rem 1rem;*/
    padding: 1.5rem;
  }
  h1 {
    font-size: 1.75rem;
  }
}

.link a {
  color: #951E47;
  text-decoration: none;
  font-weight: bold;
}

.link a:hover {
  color: #d56b98;
}
#map {
    margin-top: 10 px;
    width: 100%;
    height: 500px; 
}
