.container {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
/*     scroll-behavior: smooth; */
  overflow-x: hidden;
  overflow-y: auto;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
    background-color: #F9F7F1; /* Reinweiss */
	display: flex;
	flex-direction: column;
    font-family: 'Quicksand', sans-serif;
	width: 100%; /* Begrenzt die Breite auf % der Bildschirmbreite */
}


img, video { 
		max-width:100%; height:auto;
}

main {
  flex: 1; /* wächst mit dem Inhalt */
      max-width: 800px; /* Maximale Breite für größere Bildschirme */
    min-height: 100vh;
    padding-bottom: 20px;
}

p, ul, h3 {
	font-size: 1rem;
}

h1 {
    font-size: 1.5rem;
    color: #009933; /* Dunkelgruen */
	font-family: 'Merienda', cursive;
    text-align: center;
	margin-top: 20px;
}

h4 {
    font-size: 1.5rem;
    color: #8B1E2D; 
	font-family: 'Merienda', cursive;
    text-align: center;
	margin-top: 20px;
}


h2 {
    font-size: 1.1rem;
	color: #009933;
	text-align: center;
}

h3 {
	font-weight: bold;
	text-align: center;
}

a {
    color: #8B1E2D; /* Dunkelrot */
    text-decoration: none;
	text-align: left;
	font-size: 1rem;
/* 	font-family: 'Merienda', cursive; */
	font-weight: bold;
}

a.nachoben {
    color: #009933;
	font-size: 0.8rem;
	display: block;
	text-align: right;
}

a.rot {
    color: #8B1E2D;
	font-size: 0.8rem;
	display: block;
	text-align: right;
}

.logo {
  max-width: 90px;
  height: auto;
}

a.link {
    color:#8B1E2D;  /* Karminrot */
    text-decoration: none;
	font-weight: bold;
/* 	font-family: 'Merienda', cursive; */	
}

a:hover {
    color: #00624f; /* Dunkelgruen */
}

hr {
  border: none;
  height: 1px;
  background-color: #009933;
  margin: 20px 0; /* Abstand oben und unten */
}

/* .decorative-hr { */
  /* border: none; */
  /* height: 24px; */
  /* background: url('data:image/svg+xml;utf8,<svg width="60" height="24" viewBox="0 0 60 24" xmlns="http://www.w3.org/2000/svg"><path d="M0 12 C 10 0, 20 24, 30 12 S 50 0, 60 12" stroke="%238B1E2D" fill="none" stroke-width="2"/></svg>') repeat-x; */
  /* background-size: 60px 24px; */
  /* margin: 2em 0; */
/* } */

.decorative-hr {
  border: none;
  height: 16px;
  background: url('data:image/svg+xml;utf8,<svg width="50" height="16" viewBox="0 0 50 16" xmlns="http://www.w3.org/2000/svg"><path d="M0 8 Q 12.5 2, 25 8 T 50 8" stroke="%23009933" fill="none" stroke-width="2"/></svg>') repeat-x;
  background-size: 50px 16px;
  margin: 2em 0;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000; /* Damit es über dem Inhalt liegt */
  background-color: #F9F7F1; /* Hintergrund nicht vergessen! */
}

.header-image {
  background-color: #009933; /* 3e753b;*/
  height: 95px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 2.5px;
	background: linear-gradient(to right, #00624f 0%, #66cc99 95%, #F9F7F1 100%);
	max-width: 800px;
}

.header-image h1 {
  font-family: 'Merienda', cursive;
  color: #F9F7F1;
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0;
    padding-left: 0;
}

.header-text p,a {
  margin: 0;
  font-size: 1em;
  color: white;
}
.header-text h1 {
  white-space: nowrap;          /* verhindert Zeilenumbruch */
  overflow-x: auto;             /* erlaubt horizontales Scrollen */
  display: block;               /* wichtig für Scrollen */
  max-width: 100%;              /* verhindert Überlauf außerhalb des Containers */
}

@media (max-width: 500px) {
  .header-text h1 {
    font-size: 1.4rem;
  }
}


.top-nav {
  max-width: 800px;
  background-color: #e2b218;
  height: 30px;
  display: flex;
/*   justify-content: center; */
  align-items: center;
  /* margin: 0 auto;  <-- entfernen */
}

.top-nav ul {
  display: flex;
  flex-wrap: nowrap;
  background-color: #e4b336;
  height: 30px;
  width: 100%;
  padding-left: 20px;      /* kleiner */
  gap: 8px;                /* kleiner Abstand */
  list-style: none;
  align-items: center;
    background: linear-gradient(to right, #e2b218 0%, #f1d891 90%, #F9F7F1 100%);
}

.top-nav li {
  flex-shrink: 1;          /* Items dürfen schrumpfen */
  flex-grow: 0;            /* Items wachsen nicht */
  min-width: max-content;  /* verhindert, dass Items zu klein werden */
}

.top-nav a {
  color: #F9F7F1;
  font-weight: bold;
  text-decoration: none;
}

.top-nav a:hover {
    color: #00624f; /* dunkelgruen */
}

.top-nav li a {
  white-space: nowrap;
  padding: 8px 10px;       /* kleinere horizontale Polsterung */
  display: block;
  color: #F9F7F1;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
}


section[id] {
  scroll-margin-top: 150px;
}

section {
	text-align: left;
    padding: 0px; /* Fügt Innenabstand hinzu */
    background-color: #F9F7F1;
/*     border-radius: 10px; */
/*     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
}

#home {
  min-height: 100vh; /* oder height: 100%; */
}

/* #kontakt { */
  /* min-height: calc(100vh - 120px); */
/* } */

.image-container {
  display: flex;
  justify-content: flex-end; /* rechtsbündig */
  gap: 10px; /* Abstand zwischen den Bildern */
  margin-top: 20px;
}

.image-container img {
  max-width: 150px;
  height: auto;
    max-width: 800px;
  border-radius: 8px; /* optional, für abgerundete Ecken */
}



/* nav ul li { */
    /* font-weight: bold; */
/* } */

/* nav ul li a { */
    /* text-decoration: none; */
    /* color: #F9F7F1; */
    /* font-weight: bold; */
	/* padding: 8px 20px; */
	  /* text-align: center;       /* zentriert den Text in <a> */ */
  /* display: block;           /* lässt <a> die volle Breite nutzen */ */
  /* white-space: nowrap; */

	/* } */
	
/* nav ul { */
  /* display: flex; */
  /* background-color: #e4b336; */
  /* height: 30px; */
  /* width: 100%; */
  /* padding: 0; */
/* } */
	
nav ul li a.active {
    color: #8B1E2D;
}

footer {
  height: 30px;
  position: fixed;
  bottom: 0;
  width: 100%;
  max-width: 800px;
}

footer nav {
    display: flex;
    justify-content: center;
}

footer nav ul {
  height: 30px;
  width: 100%;
  display: flex;
  align-items: center;
  background-color: #00624f;
  margin: 0 auto; /* zentriert horizontal */
  list-style: none;
  padding: 0;
  padding-left: 15px;
  background: linear-gradient(to right, #00624f 0%, #66cc99 90%, #F9F7F1 100%);
}

footer nav ul li a {
    color: beige;
    text-decoration: none;
    margin: 0 4px;
	padding-left: 10px;
}

.content-with-three-columns {
  display: flex;
  align-items: stretch;
  gap: 2px;
  min-height: 100vh;
}

.left-column {

	flex: 0 0 60px; /* feste Breite */
	align-self: stretch;
	font-weight: bold;
	background-color: #8B1E2D;
	background-size: cover;
	background-image: url('img/links_1.jpg');
	background-repeat: no-repeat;
    background-position: center;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	box-shadow: none;
	opacity: 0.95;
}

@media (max-width: 500px) {
  .left-column {
    flex: 0 0 40px;
  }
}

.middle-column {
  flex: 1; /* nimmt den verfügbaren Platz ein */
  	padding-left: 20px;
	padding-right: 20px;
}

.right-column {
  flex: 0 0 130px; /* feste Breite für Bilder */
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.right-column img {
  width: 100%;
  height: auto;
  border-radius: 8px; /* optional */
}

.bild-rechts {
  float: right;
  margin-left: 20px;
  margin-bottom: 10px;
  width: 120px;       /* oder max-width: 30%; */
  height: auto;
  border-radius: 8px; /* optional */
}

.bullet-liste {
  list-style-type: disc;     /* Bullet Point (Standardpunkt) */
  padding-left: 0;           /* Entfernt Einrückung */
  margin-left: 0;            /* Entfernt zusätzlich Rand */
  font-size: 1rem;
}
.bullet-liste li {
  margin-left: 1.2em;        /* Gibt dem Punkt etwas Abstand zum Text */
}

.table-container {
  overflow-x: auto;         /* erlaubt horizontales Scrollen bei Bedarf */
  max-width: 100%;
}

table {
  width: 100%;              /* passt sich dem Container an */
  border-collapse: separate;
  border-spacing: 8px;
  margin: 0 auto;
  min-width: 400px;         /* oder je nach Inhalt: Mindestbreite setzen */
}

td, th {
  padding: 8px;
  border-radius: 15px;
  border: 1.5px solid #009933;
  text-align: center;
  vertical-align: middle;
}

th {
  background-color: #eee;
}

@media (max-width: 500px) {
  table {
    font-size: 0.9rem;
    min-width: unset;     /* erlaubt vollständiges Schrumpfen */
  }
  td, th {
    padding: 4px;
  }
}

