header, nav, footer, aside, section {
    display: block;
    text-align: center;
}
header {
  background-image: url(/bilder/brotlogo.jpg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 900px;
  height: 362px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  header { 
    width: 100%; 
    height: 200px; 
  }
} 
@media (max-width: 480px) {
  header { 
    height: 150px; 
  }
}
header p {
    font-size: 0,75em;
    font-size: clamp(0,75em, calc(0,75em + 1vw), 4em); 
    text-align: right;
    padding-right: 15px;
}
header a {
    color: white;
}

#strg1,
#steuerungoben {
  background-color: #4B0082;
  height: 24px;
  font-size: 18px;
  display: flex !important;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  width: 100%;
}

#strg1 ul,
#steuerungoben ul {
  list-style-type: none;
  display: flex !important;
  justify-content: center;
  margin: 0;
  padding: 0;
  width: 100%;
}

#strg1 li,
#steuerungoben li {
  flex: 0 0 230px;
}

#strg1 a,
#steuerungoben a {
  display: block;
  width: 100%;
  height: 24px;
  text-align: center;
  color: white;
  text-decoration: none;
  line-height: 24px;
  transition: background-color 0.3s ease;
}

#strg1 a:hover,
#steuerungoben a:hover {
  background-color: #9370DB; /* Lila-Hover */
}

#steuerunglinks {
    width: 220px;
    float: left;
    text-align: left;
    font-size: 18px;
    background-color: #4B0082;
}
#steuerunglinks ul {
    padding-left: 1.25em;
    padding-right: 1.25em;
    padding-top: 20px;
    list-style-type: none;
}
#steuerunglinks ul ul {
    list-style-type: square;
}
#steuerunglinks li {
    padding-left: 0.5em;
    padding-bottom: 0.5em;
    padding-right: 1.5em;
}
#steuerunglinks a {
 text-decoration: none;
 color: white;
}
#steuerunglinks ul ul a {
 text-decoration: none;
 color:white;
}
#steuerunglinks a:hover {
    background-color: #104e8b;
}
section {
    margin-left: 250px;
    margin-right: 180px;
    text-align: left;
    font-size: 18px;
    }
section h1 {
    padding-top: 20px;
    padding-bottom: 0.4em;
    color: #4B0082;
    font-size: 18px;
}
section h2 {
    color: #4B0082;
    padding-top: 1em;
    padding-bottom: 0.6em;
    font-size: 18px;
}
section h3 {
    color: #4B0082;
    padding-top: 1em;
    padding-bottom: 0.6em;
    font-size: 18px;
}
section h4 {
    color: #4B0082;
    padding-top: 1em;
    padding-bottom: 0.6em;
    font-size: 18px;
}
section h5 {
    color: #4B0082;
    padding-top: 1em;
    padding-bottom: 0.6em;
    font-size: 18px;
}
section p {
    padding-bottom: 1em;
    font-family: "Times New Roman";
    font-size: 0,75em;
    font-size: clamp(0,75em, calc(0,75em + 1vw), 4em);
}
section ul {
    padding-left: 3em;
}
section li {
    padding-bottom: 0.5em;
    font-family: "Times New Roman";
}
section td {
    font-family: "Times New Roman";
}
section th {
    font-family: "Times New Roman";
}
footer {
    background-color: #4B0082;
    color: white;
    text-align: center;
    clear: both;
    line-height: 100px;
    font-size: 18px;
}
#footer a {
    display: block;
    width: 230px;
    float: left;
    text-align: center;
    line-height: 50px;
    color: white;
    text-decoration: none;
}
body {
    text-align: center;
    background-color: #000000;
    background-attachment: fixed;
    font-family: Arial, sans-serif;
    max-width: 60em;
  margin: 1em auto;
}
header, nav, footer, aside, section {
    display: block;
}
#wrapper {
    width: 900px;
    margin: 0 auto;
    text-align: left; 
    background-color: #ffffff;
}
* {
    margin: 0;
    padding: 0;
}
#logotext {
    padding-top: 50px;
    font-size: 20pt;
    color: white;
}

ul , li {
 margin:0;
 padding:0;
 border-radius:25px;
}
ul#navi , ul#navi ul {
 width:220px; 
 float:left;
}
ul#navi  li  {
 position:relative;
}
ul#navi a {
 display:block;
 padding:5px;
 font-weight:bold;
}
ul#navi ul  ,                   /* 1. Ebene verschieben */
ul#navi  li:hover ul ul ,       /* 2. Ebene verschieben */
ul#navi  li:hover  ul ul ul  {  /* 3. Ebene verschieben */
 position:absolute;
 left:-9999px;
 top:0;
}
ul#navi li:hover ul ,
ul#navi ul  li:hover  ul , 
ul#navi ul  ul li:hover  ul  {
 left:220px;
 background-color:#8b0000;
 }
ul#navi li:hover > a , 
ul#navi  ul li:hover  > a, 
ul#navi ul  ul  li:hover  > a, 
ul#navi ul  ul ul  li:hover  > a  {
}
#steuerungfooter {
    background-color: #4B0082;
    height: 50px;
}
#steuerungfooter ul {
    list-style-type: none;
}
#steuerungfooter li {
    display: inline;
}
#steuerungfooter a {
    display: block;
    width: 230px;
    float: left;
    text-align: center;
    line-height: 50px;
    color: white;
    text-decoration: none;
}
#steuerungfooter a:hover {
    background-color: #9370DB;
}
#strgfooter {
    background-color: #4B0082;
    height: 50px;
}
#strgfooter ul {
    list-style-type: none;
}
#strgfooter li {
    display: inline;
}
#strgfooter a {
    display: block;
    width: 230px;
    float: left;
    text-align: center;
    line-height: 50px;
    color: white;
    text-decoration: none;
}
#strgfooter a:hover {
    background-color: #9370DB;
}
div.gallery {
  margin: 5px;
  border: 1px solid #ccc;
  float: left;
  width: 100%;
}

div.gallery:hover {
  border: 1px solid #777;
}

div.gallery img {
  width: 100%;
  height: auto;
}

div.desc {
  padding: 15px;
  font-family: "Times New Roman";
  font-size: 0,75em;
  text-align: center;
}
div.clearfix:after {
  content: "";
  display: table;
  clear: both;
  }
aside {
    width: 175px;
    float: right;
}
aside img {
    border:1px solid silver;
}
aside p {
    margin-top: 20px;
    font-size: 1em;
    font-size: clamp(1em, calc(1em + 1vw), 2em);
    margin-left: 2px;
    color: white;
}

.last-update {
  margin-top: 2rem !important;
  padding: 1rem 0 0.5rem;
  border-top: 1px solid #ccc;
  color: #666;
  text-align: center;
}
/* Impressum: FB-Sharing deaktivieren */
.impressum-page #strg1 a[href*="facebook.com"] {
  opacity: 0.6 !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
  position: relative;
  background-color: #ccc !important;  /* Grauer Hintergrund */
}

.impressum-page #strg1 a[href*="facebook.com"]::after {
  content: "ℹ️ Info-Seite";
  margin-left: 0.3rem;
  font-size: 0.8rem;
  background: #333;
  color: white;
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
}
.gcse-ad-container {
  text-align: center;
  margin: 10px auto 20px;
  max-width: 180px;
}
#Breadcrumb {
  text-align: center;
  margin: 1rem 0;
  padding: 0.6rem;
  background: #f0f0f0;
  border-radius: 6px;
  font-family: inherit; /* Brotkasten Font */
  font-size: 1rem; /* Größer */
  line-height: 1.3;
}

#Breadcrumb ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  gap: 0;
}

#Breadcrumb li:not(:first-child) {
  margin-left: 0.5rem;
}

#Breadcrumb li:not(:first-child)::before {
  content: "→";
  color: #888;
  margin-right: 0.3rem;
  font-weight: normal;
}

#Breadcrumb .current {
  font-weight: 700;
  color: #4B0082; /* Indigo wie gewünscht */
}

#Breadcrumb a {
  color: #1a5fb4;
  text-decoration: none;
  font-weight: 500;
}

#Breadcrumb a:hover {
  color: #0f3d7a;
  text-decoration: underline;
}

.nav-toggle-checkbox { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  margin-left: auto;
}

.bar {
  height: 3px;
  width: 25px;
  background: white; /* Weiß zu #4B0082 */
  margin: 3px 0;
  border-radius: 3px;
  transition: 0.3s;
}

/* MOBILE – ersetzt flex:100% */
@media (max-width: 768px) {
  .nav-top-wrapper {
    position: relative;
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 !important; /* Dein gap:12px überschreiben */
  }
  
  .hamburger { display: flex !important; }
  
  #steuerungoben {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    height: auto !important; /* Kein 24px */
    background-color: #4B0082 !important; /* Dein Indigo */
    transform: translateY(-100%);
    opacity: 0;
    transition: 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(75,0,130,0.6);
    border-radius: 0 0 8px 8px;
  }
  
  #nav-toggle:checked ~ #steuerungoben {
    transform: translateY(0);
    opacity: 1;
  }
  
  #steuerungoben ul {
    flex-direction: column !important;
    padding: 15px !important;
    margin: 0 !important;
    gap: 4px !important;
  }
  
  #steuerungoben li {
    flex: none !important;
    width: 100% !important;
  }
  
  #steuerungoben a {
    display: block !important;
    height: auto !important;
    padding: 12px 16px !important;
    line-height: 1.4 !important;
    color: white !important;
  }
  
  #steuerungoben a:hover {
    background-color: #9370DB !important; /* Dein Lila Hover */
  }
  
  /* Hamburger → X */
  #nav-toggle:checked ~ .hamburger .bar:nth-child(1) { 
    transform: rotate(-45deg) translate(-6px, 6px); 
  }
  #nav-toggle:checked ~ .hamburger .bar:nth-child(2) { 
    opacity: 0; 
  }
  #nav-toggle:checked ~ .hamburger .bar:nth-child(3) { 
    transform: rotate(45deg) translate(-6px, -6px); 
  }
}
@media (max-width: 768px) {
  #strg1 {
    order: 3 !important; /* Social rechts neben ☰ */
    position: static !important;
    height: auto !important;
  }
}

.tiles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1em;
  margin: 1em auto 2em;
  max-width: 800px;
  padding: 0 1em 2em;
}

.tile {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 1em;
  background: #fafafa;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tile h2 {
  margin: 0 0 0.5em;
  font-size: 1.3em;
}

@media (min-width: 600px) {
  .tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}
