/* #####################
        Font 
###################### */

@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/Inter-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

/* #####################
        Global 
###################### */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    height: 100%;
    margin: 0;
    scroll-behavior: smooth;
}

body{
    background-color: #fff;
    font-family: 'Inter', sans-serif;
}
a{
    text-decoration: none;
}
ul{
    list-style: none;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    pointer-events: auto;
}

.main-content {
    flex: 1;
    background-color: #FAFAFA;
}

/* #####################
        Header 
###################### */
.header{
    background-color: #FAFAFA;
    position: sticky;
    display: block;
    top: 0;
    width: 100%;
    height: 60px;
    z-index: 100;
}
/* Logo */
.logo{
    position: fixed;
    top: 0;
    left: 0;
    margin-left: 15px;
}

.defibrillator{
    position: fixed;
    top: 8px;
    right: 8px;
    text-decoration: none;
}

/* Nav menu */
.nav{
    width: 100%;
    position: fixed;
    top: 60px;
    background-color: #fafafa;
    overflow: hidden;
    display: flex;
    justify-content: center;
    text-align: center;
}
.menu a{
    display: block;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #333333;
}

.nav{
    max-height: 0;
    transition: max-height 0.5s ease-out;
}

/* Menu Icon */
.hamb{
    cursor: pointer;
    float: right;
    padding: 26px 20px;
}/* Style label tag */

.hamb-line {
    background: #333333;
    display: block;
    height: 2px;
    position: relative;
    width: 24px;

} /* Style span tag */

.hamb-line::before,
.hamb-line::after{
    background: #333333;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}
.hamb-line::before{
    top: 5px;
}
.hamb-line::after{
    top: -5px;
}
.side-menu {
  display: none;
} /* Hide checkbox */

/* Toggle menu icon */
.side-menu:checked ~ nav{
    max-height: 100%;
    pointer-events: auto;
}
.side-menu:checked ~ .hamb .hamb-line {
    background: transparent;
}
.side-menu:checked ~ .hamb .hamb-line::before {
    transform: rotate(-45deg);
    top:0;
}
.side-menu:checked ~ .hamb .hamb-line::after {
    transform: rotate(45deg);
    top:0;
}

body:has(.side-menu:checked) {
  overflow: hidden;
}

/* Responsiveness */
@media (min-width: 1100px) {
    .logo{
      position: fixed;
      top: 0;
      left: 0;
      margin-left: 15px;
      margin-top: 6px;
    }
    .nav{
        margin-top: 10px;
        max-height: 60px;
        top: 0;
        background-color: transparent;
        display: flex;
        justify-content: flex-end;
    }
    .menu li{
        float: left;
    }
    .menu a{
      display: block;
      padding-top: 12px;
      padding-right: 20px;
      color: #333333;
    }
    .menu a:hover{
        background-color: transparent;
        color: #333333;
    }
    .hamb{
      display: none;
    }
    .header{
      background-color: #fafafa;
      position: sticky;
      display: block;
      top: 0;
      width: 100%;
      height: 60px;
    }

}

/* #####################
        Footer 
###################### */
footer {
    padding: 20px;
    background-color: #FAFAFA;
    font-size: 16px;
    margin: 0;
    display: table-row;
    justify-content: center;
    color: #333333;
}

footer a {
    text-decoration: none;
    color: #333333;
}

footer a:hover {
  text-decoration: none;
  color: #d72828;
}

.footer-cell {
  display: flex;
  justify-content: center;
  padding-top: 10px;
  text-align: center;
}


/* index.html */
#start {
  background-image: url('../img/fraenzi/mfeld-02.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 600px;
}

#section-steckbrief {
  display: flex;
  justify-content: center; /* horizontal mittig */
  padding: 2rem;
}

.steckbrief-container {
  display: flex;
  align-items: center;
  max-width: 1200px;
  width: 100%;
}

.steckbrief-bild {
  flex: 1; /* 1/3 */
}

.steckbrief-bild img {
  width: 100%;
  height: auto;
  display: block;
  padding-top: 60px;
}

.steckbrief-text {
  flex: 2; /* 2/3 */
  padding-left: 2rem;
  box-sizing: border-box;
}

@media (max-width: 800px) {
  .steckbrief-container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .steckbrief-text {
    padding-left: 0;
    margin-top: 1rem;
  }

  .steckbrief-bild img {
  width: 50%;
  height: auto;
  margin: auto;
  display: block;
}
}

#info-links {
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

#info-links h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #333;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.link-box {
  background-color: #c00;
  color: white;
  text-decoration: none;
  padding: 30px 20px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.link-box:hover {
  background-color: #a00;
}

.link-box .icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.icon object {
  pointer-events: none;
}


    .section-ferienwohnungen {
      background-color: #FAFAFA;
      padding: 60px 20px;
      max-width: 1100px;
      margin: 0 auto;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }

    .section-ferienwohnungen h2 {
      color: #333333;
      text-align: center;
      font-size: 32px;
      margin-bottom: 16px;
    }

    .section-ferienwohnungen p {
      text-align: center;
      font-size: 18px;
      max-width: 800px;
      margin: 0 auto 40px auto;
    }

    .ferienwohnung-list {
      display: flex;
      flex-wrap: wrap;
      gap: 30px;
      justify-content: center;
    }

    .ferienwohnung {
      background-color: #fff;
      border-left: 5px solid #d72828;
      padding: 20px;
      border-radius: 8px;
      width: 300px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
      transition: transform 0.2s ease;
      text-align: center;
    }

    .ferienwohnung:hover {
      transform: translateY(-4px);
    }

    .ferienwohnung h3 {
      margin-top: 0;
      font-size: 20px;
      color: #d72828;
      margin-bottom: 20px;
    }

    .ferienwohnung p {
      font-size: 16px;
      margin-bottom: 12px;
      text-align: center;
    }

    .ferienwohnung a {
      color: #d72828;
      text-decoration: none;
      font-weight: bold;
      text-align: center;
    }

    .ferienwohnung a:hover {
      text-decoration: none;
    }

    @media (max-width: 700px) {
      .ferienwohnung-list {
        flex-direction: column;
        align-items: center;
      }
    }

.section-touristinfomation {
  background-color: #FAFAFA;
  padding: 60px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-touristinfomation h2 {
  font-size: 32px;
  color: #333333;
  text-align: center;
  margin-bottom: 30px;
}

.tourismus-links {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 700px;
}

.tourismus-links li {
  margin: 14px 0;
}

.tourismus-links a {
  display: block;
  background-color: #fff;
  border: 2px solid #d72828;
  padding: 16px 20px;
  border-radius: 8px;
  color: #d72828;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  text-align: center;
}

.tourismus-links a:hover {
  background-color: #d72828;
  color: #fff;
}



/* buergerservice.html */
.section-buergermeisterin {
  background-color: #FAFAFA;
  padding: 60px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.buergermeisterin-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: center;
}

.buergermeisterin-bild img {
  width: 250px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.buergermeisterin-info {
  max-width: 500px;
}

.buergermeisterin-info h2 {
  font-size: 28px;
  color: #d72828;
  margin-bottom: 10px;
}

.buergermeisterin-info p {
  font-size: 18px;
  margin: 8px 0;
  color: #333333;
}

.buergermeisterin-info a {
  color: #333333;
  text-decoration: none;
  font-weight: 500;
}

.buergermeisterin-info a:hover {
  text-decoration: none;
}

.termin-link {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 18px;
  background-color: #d72828;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.termin-link:hover {
  background-color: #b31e1e;
}

.section-sprechstunde {
  max-width: 800px;
  margin: 40px auto;
  padding: 24px;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  line-height: 1.6;
}

.sprechstunde-heading {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: #333333;
}

.sprechstunde-text p {
  font-size: 1rem;
  color: #333333;
}

.sprechstunde-hinweis {
  margin-top: 24px;
  padding: 16px;
  background-color: #f0f4f8;
  border-left: 5px solid #d72828;
  border-radius: 8px;
}

.sprechstunde-hinweis p {
  margin: 0;
  font-size: 1rem;
  color: #333333;
}


.section-gemeinderat {
  background-color: #FAFAFA;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.section-gemeinderat h2 {
  font-size: 32px;
  color: #d72828;
  margin-bottom: 30px;
}

.gemeinderat-foto img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin-bottom: 40px;
}

.gemeinderat-mitglieder {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.gemeinderat-mitglieder h3 {
  font-size: 22px;
  color: #d72828;
  margin-top: 30px;
  margin-bottom: 10px;
}

.gemeinderat-mitglieder a {
  color:#d72828;
  text-decoration: none;
}

.gemeinderat-liste {
  list-style: none;
  padding-left: 0;
  margin: 0 0 20px 0;
}

.gemeinderat-liste li {
  font-size: 18px;
  padding: 6px 0;
  border-bottom: 1px solid #e0e0e0;
}

.section-gemeindehalle {
  background-color: #FAFAFA;
  padding: 60px 20px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.section-gemeindehalle h2 {
  font-size: 32px;
  color: #d72828;
  margin-bottom: 20px;
}

.section-gemeindehalle p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.halle-kalender iframe {
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.halle-infos {
  text-align: left;
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.halle-infos h3 {
  font-size: 22px;
  color: #d72828;
  margin-top: 30px;
  margin-bottom: 15px;
}

.halle-infos ul {
  list-style: disc inside;
  padding-left: 0;
  margin-bottom: 30px;
}

.halle-infos li {
  font-size: 18px;
  margin-bottom: 8px;
}

.halle-infos p {
  font-size: 18px;
  line-height: 1.5;
}

.halle-infos a {
  color: #d72828;
  text-decoration: none;
}

.halle-infos a:hover {
  text-decoration: underline;
}


.section-abfallkalender {
  background-color: #FAFAFA;
  padding: 60px 20px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.section-abfallkalender h2 {
  font-size: 32px;
  color: #d72828;
  margin-bottom: 20px;
}

.section-abfallkalender p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.abfall-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.abfall-links a {
  display: inline-block;
  background-color: #fff;
  color: #d72828;
  border: 2px solid #d72828;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.abfall-links a:hover {
  background-color: #d72828;
  color: #fff;
}


.inhaltsverzeichnis {
  background-color: #FAFAFA;
  border-bottom: 1px solid #ddd;
  padding: 15px 20px;
  max-width: 1100px;
  margin: 0 auto 40px auto;
  text-align: center;
}

.inhaltsverzeichnis ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.inhaltsverzeichnis li a {
  color: #d72828;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.2s ease-in-out;
}

.inhaltsverzeichnis li a:hover {
  background-color: #d72828;
  color: #fff;
}

/* monzelfeld.html */
.section-einrichtungen {
  background-color: #FAFAFA;
  padding: 60px 20px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.section-einrichtungen h2 {
  font-size: 32px;
  color: #d72828;
  margin-bottom: 20px;
}

.section-einrichtungen p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.einrichtungen-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.einrichtung-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 20px;
  width: 300px;
  text-align: center;
  transition: transform 0.2s ease;
}

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

.einrichtung-card img {
  width: auto;
  height: 150px;
  border-radius: 8px;
  margin-bottom: 25px;
}

.einrichtung-card h3 {
  font-size: 20px;
  color: #d72828;
  margin-bottom: 10px;
}

.einrichtung-card p {
  font-size: 16px;
  color: #333;
  text-align: center;
}

.section-vereine {
  background-color: #FAFAFA;
  padding: 60px 20px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.section-vereine h2 {
  font-size: 32px;
  color: #d72828;
  margin-bottom: 20px;
}

.section-vereine p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.vereine-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.verein-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 20px;
  width: 300px;
  text-align: center;
  transition: transform 0.2s ease;
}

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

.verein-card img {
  width: auto;
  height: 150px;
  border-radius: 8px;
  margin-bottom: 25px;
}

.verein-card h3 {
  font-size: 20px;
  color: #d72828;
  margin-bottom: 10px;
}

.verein-card a {
  color: #d72828;
  text-decoration: none;
}

.verein-card p {
  font-size: 16px;
  color: #333;
  text-align: left;
}

.section-gewerbe {
  background-color: #FAFAFA;
  color: #FAFAFA;
  padding: 60px 20px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.section-gewerbe h2 {
  font-size: 32px;
  color: #333333;
  margin-bottom: 20px;
}

.section-gewerbe p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #333333;
}

.gewerbe-liste {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: left;
}

.gewerbe-eintrag h3 {
  margin: 0 0 8px 0;
  font-size: 20px;
  color: #d72828;
}

.gewerbe-eintrag a {
  color: #d72828;
  text-decoration: none;
}

.gewerbe-eintrag a:hover {
  text-decoration: none;
}

.gewerbe-eintrag p {
  margin: 0;
  font-size: 16px;
  color: #333333;
}

.section-chronik {
  background-color: #f4f4f4;
  padding: 60px 20px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.section-chronik h2 {
  font-size: 32px;
  color: #d72828;
  margin-bottom: 20px;
}

.section-chronik p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #444;
}

.chronik-timeline {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  border-left: 3px solid #d72828;
  padding-left: 30px;
}

.chronik-eintrag {
  position: relative;
  text-align: left;
}

.chronik-eintrag::before {
  content: "";
  position: absolute;
  left: -13px;
  top: 4px;
  width: 12px;
  height: 12px;
  background-color: #d72828;
  border-radius: 50%;
}

.chronik-jahr {
  font-weight: bold;
  color: #d72828;
  font-size: 20px;
  display: block;
  margin-bottom: 6px;
}


/* aktuelles.html */
.section-aktuelles {
  background-color: #ffffff;
  padding: 60px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-aktuelles h2 {
  font-size: 32px;
  color: #d72828;
  text-align: center;
  margin-bottom: 40px;
}

.aktuelles-eintrag {
  background-color: #FAFAFA;
  border-left: 5px solid #d72828;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.aktuelles-eintrag h3 {
  font-size: 24px;
  color: #d72828;
  margin-bottom: 15px;
}

.aktuelles-eintrag p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.aktuelles-eintrag ul {
  padding-left: 20px;
  margin-top: 5px;
  margin-bottom: 15px;
}

.aktuelles-eintrag ul li {
  margin-bottom: 5px;
}

.aktuelles-link {
  display: inline-block;
  margin-top: 10px;
  color: #d72828;
  font-weight: 500;
  text-decoration: none;
}

.aktuelles-link:hover {
  text-decoration: underline;
}

.section-con {
  background-color: #FAFAFA;
  padding: 60px 20px;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.section-con h2 {
  font-size: 32px;
  color: #d72828;
  margin-bottom: 30px;
}