html, body {
  margin: 15px;
}

a { text-decoration: none; }
a:hover{ text-decoration: underline; color:red;
}

header{
  margin-bottom:50px;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

h1 {
  text-align: center;
  padding-top: 10px;
  /*margin-top:50px;*/
  color:  #345eb4;
}

h2 {
  text-align: center;
  color:  #345eb4;
  padding-top: 20px;
}

nav{
  padding-left:10px;
}


.container {
  max-width: 900px; /* Default for small screens */
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    max-width: 900px; /* Slightly narrower on tablets */
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 800px; /* Even narrower on desktops */
  }
}



.bilderreihe {
  display: flex;
  justify-content: space-around; /* oder 'center' oder 'space-between' */
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap; /* erlaubt Umbruch bei kleiner Breite */
}

.bildblock {
  text-align: center;
}

.sticky-footer {
  position: fixed;
 bottom: 0;
 
 
  left: 0;
  width: 100%;
 /* background-color: #333;
  color: white;
  text-align: center;
  padding: 10px;
  z-index: 1000; 
*//* ensures it's above other content */
}


.kontaktbereich {
  background-color: #4169e1; /*royalblue*/
  color: white;
  padding-top: 10px;
  padding-bottom: 5px;
  text-align: center;
  margin-top:  20px;
  margin-left: -40px;
  margin-right: -40px;
}


.kontaktinfo {
  display: flex;
  flex-direction: column; /* oder row */
  justify-content: center; /* vertikal zentriert */
  height: 200px;
  margin-top: 30px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 40px;
  grid-auto-rows: auto;
  margin-top:30px;
}

.item {
  background-color: rgba(255, 255, 255, 0.0);
  /*padding: 10px;*/
}

.itempic {
  display: grid;
  background-color: rgba(255, 255, 255, 0.0);
  padding: 10px;
 /*  text-align: center;*/
   align-items: center; 
  justify-items: center;

}

/* Reihenfolge bei kleinem Bildschirm ändern */
@media (max-width: 600px) {
  .grid-container {
    grid-template-columns: 1fr;
  }

  .item1 { order: 1; }
  .item2 { order: 2; }
  .item3 { order: 3; }
  .item4 { order: 4; }
  .item5 { order: 6; }
  .item6 { order: 5; }
  .item7 { order: 7; }
  .item8 { order: 8; }
  h2 {padding-top: 0px;}

}


.kontaktmethode {
  flex-wrap: wrap; /* erlaubt Umbruch bei kleiner Breite */
}

.button-link {
  display: inline-block;
  padding: 10px 20px;
  /*text-decoration: none;*/ /*oben für alle linken*/
  border: none;
  border-radius: 999px;
  font-family: sans-serif;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}



.button-link:hover {
  background-color: #005fa3;
}

.bgwhite{
  background-color: white;
  color: black;
}
.bgblack{
  background-color: grey;
  color: white;
}
.bgblue{
  background-color: #4169e1;
  color: white;
}

.ohne-unterstrich {
  text-decoration: none;
  color: grey; /* Optional: Farbe selbst festlegen */
}

