
@import url('https://fonts.googleapis.com/css2?family=Lato&family=Playfair+Display:wght@400;600;700&display=swap');

html, body {
  text-align: center;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  background-image: repeating-linear-gradient(
    180deg,
    #F3EEE3,
    #F3EEE3 1px,
    #D9CBB3 1px,
    #D9CBB3 2px
  );
  background-size: auto;
  border: 10pt solid #2F4631;
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 12px;
  text-align: justify;
  min-width: 480px;
  height: 100%;
  min-height: 100vh;
}

p {
  margin: 0 10px 10px;
}

a {
  display: inline;
  color: #2F4631;
  padding: 10px;
  font-family: 'Playfair Display', serif;
  text-decoration: none;
}

a:hover {
  color: #4A6650;
}

div#headspace {
    position: relative;
  }

div#header {
  position: relative;
  width: 100%;
  height: 1px;
}

div#menubar {
  width: 100%;
  min-width: none;
  height: auto;
  color: #FFF;
  background-color: #2F4631;
  border-radius: 12px;
  margin-top: 0px;
  margin-bottom: 15px;
  padding: 3px;
  text-align: center;
  box-shadow: 6px 6px 16px rgba(0, 0, 0, 0.15);
}

div#menubar table {
  text-align: center;

  width: 95%;
  padding: 0;
}

div#menubar td {
  vertical-align: middle;
  
  padding: 0;
  
}

div#menubar a,
div#menubar a:hover {
  display: inline;
  padding: 0;
  color: #FFF;
  font-family: 'Playfair Display', serif;
  font-style: normal;
  font-weight: 700;
  font-size: small;
  text-decoration: none;
}

div#container {
  text-align: left;
  width: 90%;
  min-width: 440px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  
}

div#wrapper {
  width: 100%;
  background-color: #F2eee4;
  box-shadow: 6px 6px 16px rgba(0, 0, 0, 0.15);
  border-radius: 12px;

}

.wrapper {
  display: flex;
  gap: 0;
  width: 100%;
  background-color: #F2eee4;
  box-shadow: 6px 6px 16px rgba(0, 0, 0, 0.15);
  border-radius: 12px;

}

div#content { /*für Text links*/
  flex: 2;
  margin: 0 auto;
  padding: 20px 0px 40px 5px; /*oben rechts unten links, Abstand Text zur Seite*/
}

div#contentright { /*für Bilder rechts*/
  flex: 1;
  min-width: 100px;
  margin: 0 auto;
  padding: 20px; /*oben rechts unten links*/
}

div#content h4,
div#left h4 {
  font-size: large;
  text-align: center;
}

div#content p,
div#content li,
div#content ul,
div#left p,
div#right p {
  font-size: medium;
  text-align: justify;
  hyphens: auto;
}

div#content a,
div#left a {
  display: inline;
  padding: 0;
  color: #2F4631;
  font-weight: bold;
  font-family: 'Playfair Display', sans-serif;
  font-style: normal;
  text-decoration: underline;
  font-size: medium;
}

div#content a:hover,
div#left a:hover {
  color: #4A6650;
}

div#left {
  float: left;
  width: 100%;
}

div#right {
  float:right;
  width: 100%;
  height: 100%;
}

div#footer {
  clear: left;
  width: 100%;
  height: auto;
  background-position: top;
  color: #FFF;
}

div#footer p {
  margin: 0;
  padding: 5px 10px;
}

div#footer a {
  color: #F3EEE3;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === Neues responsives Layout für Text + Bild === */
.text-bild-block {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}

.text-bild-block .text,
.text-bild-block .bild {
  flex: 1 1 300px;
  min-width: 0;
}

@media screen and (max-width: 768px) {
  body {
    font-size: 15px;
  }

  #container {
    padding: 15px;
  }

  h1, h2, h3 {
    font-size: 1.3em;
  }

  .text-bild-block {
    flex-direction: column;
  }
  .text-bild-block .bilder-rechts {
    align-items: center;
  }
}

.custom-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2F4631;
    border-radius: 16px;
    padding: 10px 20px;
    color: #F3EEE3;
    margin: 30px auto;
    margin-bottom: 10px;
    width: 90%;
    max-width: 1200px; /* Noch etwas schmaler */
    min-width: 440px;
    box-shadow: 6px 6px 16px rgba(0, 0, 0, 0.15); /* Klarerer Schatten */
    position: relative;
    z-index: 2;
  }
  
  .header-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
  }
  
  .header-line1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    font-weight: 900;
    font-style: italic;
    line-height: 1.1;
    color: #F3EEE3;
  }
  
  .header-line2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.45em;
    font-style: italic;
    line-height: 1.1;
    color: #F3EEE3;
  }
  
  .header-logo img {
    height: 105px;
    margin-top: -10px;
    margin-bottom: -10px;
    max-width: none;
  }

  
  
  

  .text-bild-block {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: flex-start;
  }
  .text-bild-block .text {
    flex: 2;
  }
  .text-bild-block .bilder-rechts {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
  .text-bild-block img {
    margin-bottom: 16px;
    width: 180px;
    height: auto;
  }

 
 