*, *:before, *:after { box-sizing: border-box; }
body { background-color: #f0f0f0; margin: 0; padding: 0; }

a, a:link, a:visited { text-decoration: none; color: #003399; }
a:active { color: #000000; }
a:hover { text-decoration: none; color: #000000; background: #FFCC00; }

#wrapper { width: 100%; max-width: 1024px; margin: 0 auto; background-color: #ffffff; min-height: 100vh; padding: 5px; box-sizing: border-box; }

#bodykopf { width: 100%; height: 30px; margin: 0 auto 5px auto; background-color: #961D2A; display: flex; align-items: center; padding: 0 10px; box-sizing: border-box; color: #ffffff; font-family: Arial, sans-serif; font-size: 0.875rem; font-weight: bold; }
#bodykopf a { color: #ffffff; text-decoration: none; }
#bodykopf a[title="Teilen"] { margin-left: auto; }
#bodykopf img { width: 25px; height: 25px; margin-left: 4px; margin-right: 4px; vertical-align: middle; border: none; }
#suchfeld { width:100%; max-width:800px; margin:10px auto; padding:0px; min-height: 40px; clear:both; overflow:visible; }

footer { width: 100%; margin: 20px auto 10px auto; background-color: #ffffff; display: flex; flex-direction: column; align-items: center; padding: 20px 15px; box-sizing: border-box; border-top: 10px solid #961D2A; color: #444444; font-size: 0.95rem; font-family: Arial, sans-serif; }
footer .text, footer .impress, footer .dreier-box { width: 100%; margin-bottom: 20px; } 
footer .text { max-width: 800px; font-size: 0.95rem; text-align: justify; line-height: 1.8; hyphens: auto; }
footer .impress { font-size: 0.95rem; text-align: center; line-height: 1.8; }
footer .impress a { display: inline-block; padding: 2px 4px; color: #003399; text-decoration: none; }
footer .sozmed { display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 15px; margin: 10px 0 25px 0; width: 100%; }
footer .sozmed img { width: 30px; height: 30px; border: none; transition: transform 0.2s ease-in-out; }
footer .sozmed img:hover { transform: scale(1.15); }

#pobi { width: 100%; max-width: 970px; margin: 0 auto 5px auto; overflow: hidden; }
#pobi img { width: 100%; max-width: 970px; max-height: 200px; height: auto;  object-fit: cover; display: block;  border: none; }

.ixbox { width: 100%; max-width: 970px; margin: 20px auto; background-color: #ffffff; border: 1px solid #961D2A; }
.ixbox h1 { background-color: #961D2A; color: #ffffff; margin: 0; padding: 8px 10px; font-family: Arial, sans-serif; font-size: 0.875rem; font-weight: bold; display: block; }
.ixbox h2 { background-color: #961D2A; color: #ffffff; margin: 0; padding: 8px 10px; font-family: Arial, sans-serif; font-size: 0.875rem; font-weight: bold; display: block; }
.ixbox h3 { background-color: #961D2A; color: #ffffff; margin: 0; padding: 8px 10px; font-family: Arial, sans-serif; font-size: 0.875rem; font-weight: bold; display: block; }
.ixbox h4 { background-color: #961D2A; color: #ffffff; margin: 0; padding: 8px 10px; font-family: Arial, sans-serif; font-size: 0.875rem; font-weight: bold; display: block; }
.ixbox h5 { background-color: #961D2A; color: #ffffff; margin: 0; padding: 8px 10px; font-family: Arial, sans-serif; font-size: 0.875rem; font-weight: bold; display: block; }
.ixbox h6 { background-color: #961D2A; color: #ffffff; margin: 0; padding: 8px 10px; font-family: Arial, sans-serif; font-size: 0.875rem; font-weight: bold; display: block; }
.ixbox p.ixus { background-color: #961D2A; color: #ffffff; margin: 0; padding: 8px 10px; font-family: Arial, sans-serif; font-size: 0.875rem; font-weight: bold; display: block; }
.ixbox .text { width: 100%; padding: 12px 15px;font-family: Arial, sans-serif; text-align:justify; font-size: 0.95rem; line-height: 1.5; color: #333; }
.ixbox ul { list-style: none; padding: 0; margin: 0; text-align: left; }
.ixbox ul li a:hover { background-color: #FFCC00; color: #000000; }

.ixbox li b { background-color: #f0f0f0; color: #961D2A; padding: 2px 6px; border-radius: 3px; font-size: 0.8rem; margin-right: 8px; white-space: nowrap; display: inline-block; border: 1px solid #ddd; }
.ixbox li.fett { font-weight: bold; }

.ixbox li { display: flex; align-items: baseline; padding: 2px 0; font-family: Arial, sans-serif; font-size: 0.9rem; text-align: left; }
.ixbox ul li a { text-decoration: none; color: #003399; display: block; flex: 1; min-width: 0; font-family: Arial, sans-serif; font-size: 0.9rem; padding: 3px 5px; transition: background 0.2s;  text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ixboxcon { display: flex; flex-wrap: wrap; width: 100%; justify-content: center; box-sizing: border-box; }
.ixboxconbox { flex: 1; min-width: 0; padding: 15px; box-sizing: border-box; }
.ixboxconbox_wrapper { display: flex; flex-wrap: nowrap; gap: 10px; width: 100%; }
.ixboxconboxsub { flex: 1; min-width: 0; display: flex; flex-direction: column;	}

@media (max-width: 600px) { .ixboxconbox { flex: 0 0 100%; max-width: 100%; } .ixboxconbox_wrapper {  justify-content: space-between; } }

.ixboxconbild { flex: 1; min-width: 280px; padding: 15px; box-sizing: border-box; display: flex; justify-content: center; align-items: center; }
.ixboxconbild img { max-width: 100%; height: auto; display: block; border: 0; }
@media (max-width: 400px) { .ixboxconbild { min-width: 100%; padding: 10px; } }

.ixbox_galerie { display: flex; flex-wrap: wrap; padding: 5px; gap: 5px; justify-content: space-between; justify-content: center; }
.ixbox_galerie a { flex: 0 1 calc(20% - 10px); min-width: 120px; }
.ixbox_galerie img { width: 100%; max-width: 266px; height: auto; object-fit: contain; display: block; border: 1px solid #ddd; border-radius: 3px; }

.vtipp { width: 100%; max-width: 100%; height: auto; background: #ffffff; text-align: left; box-sizing: border-box; overflow: hidden;  }
.vtipp div { width: 100%; margin: 0; padding: 10px 10px; background-color: #ffffff; border-bottom: 1px solid #FFBF00; box-sizing: border-box; }
.vtipp div:last-child { border-bottom: none; }
.vtipp p.li { max-width: 100%; font-size: 0.875rem; font-family: Arial, sans-serif; margin: 0 0 4px 0; }
.vtipp p.li a { color: #483d8b; font-size: 0.875rem; font-weight: bold; text-decoration: none; transition: color 0.2s; }
.vtipp p.li a:hover { color: #961D2A; font-size: 0.875rem; text-decoration: underline; }
.vtipp p.te { max-width: 100%; margin: 0; font-family: Arial, sans-serif; font-size: 0.875rem; color: #800000; line-height: 1.4; }
.vtipp b { font-size: 0.875rem; color: #000033; }
.vtipp span { font-size: 0.875rem; color: #800000; }

.buch-galerie { display: flex; flex-wrap: wrap; justify-content: flex-start; gap:8px; padding: 12px; width: 100%; margin: 10px 0;  box-sizing: border-box; background-color: #ffffff; }
.buch-item { flex: 0 1 calc(16.66% - 10px); max-width: 160px; }
.buch-item img { width: 100%; height: auto; aspect-ratio: 200 / 266; display: block; object-fit: cover; }
@media (max-width: 600px) { .buch-galerie { gap: 8px; padding: 8px; } .buch-item { flex: 0 1 calc(33.33% - 6px); } }

.ixaz { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; min-width: 300px; min-height: 250px; padding: 10px; box-sizing: border-box; margin: 0 auto; }
.ixaz ins { display: block; width: 100%; max-width: 336px; }
.ixaz p { width: 100%; margin: 10px 0 10px 0; line-height: 1.2; font-family: Arial, Verdana, sans-serif; color: #999999; font-size: 0.65rem; text-transform: uppercase; text-align: center; letter-spacing: 1px; }

/* Terminliste */
.tmdsbox { width: 100%; max-width: 580px; height: 56px; margin: 10px 0 0 0; border-bottom: 1px solid #D0D0C8; background-color: #ffffff; display: flex; align-items: center; }
.tmdsli { width: 50px; height: 50px; margin-right: 10px; border-right: 1px solid #D0D0C8; display: flex; flex-direction: column; justify-content: center; flex-shrink: 0; }
.tmdsli p { font-family: Arial, sans-serif; text-align: center; margin: 0; font-weight: bold; color: #A22020; }
.tmdsli p.tag { font-size: 0.750rem; line-height: 1.1; }
.tmdsli p.mon { font-size: 0.689rem; line-height: 1.1; }
.tmdsli p.jah { font-size: 0.689rem; line-height: 1.1; }

.tmdsre { flex: 1; min-width: 0; padding-left: 5px; }
.tmdsre p { margin: 0; padding: 2px; font-family: Arial, sans-serif; color: #696969; font-size: 0.875rem; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tmdsre a:link, .tmdsre a:visited { color: #003399; text-decoration: none; display: block; }
.tmdsre a:hover { background-color: #FAE192; }
/* Terminliste */





