body {

font-family: Arial, sans-serif;

background-image: linear-gradient(to bottom, #ffffff 0%, #ffa500 100%);
background-size: cover;
background-position: left top;
background-attachment: fixed;

}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}

/* Header */

header{

display:flex;
justify-content:space-between;
align-items:center;

background: linear-gradient(to right, #ffffff, #ffa500, #ff4500);

padding:10px 30px 10px 30px;

}

.logoTitel{
	font-family: Arial, cursive;
	font-size: 30px;
	font-weight: 600;
	letter-spacing: 1px;
	display:flex;
	align-items:center;
}

.logo{
    height:100px;
    margin-right:15px;
}


.footer-links {
    display: flex;
    gap: 20px;
    justify-content: center; /* horizontal zentriert */
    margin-bottom: 8px;
}

.container{
display:flex;
min-height: 100%;
}

.menu-toggle {
	display: none;
}

.sideMenu{
	position: relative;
	width:220px;
	background: none;
	padding:20px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.sideMenu::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url('bilder/SideBarBild.png') no-repeat center center;
	background-size: cover;
	pointer-events: none;
	opacity: 1;
	z-index: 0;
}

.sideMenu a{
	position: relative;
	z-index: 1;
	display: block;
	text-decoration: none;
	color: white;
	font-weight: bold;
	font-size: 20px;
	margin-bottom: 25px;
	padding: 8px 0;
	padding-left: 12px;
	border-bottom: 2px solid #ffa500;
}

.zurueckLink{
    color: black;
	margin-top: 30px;
	margin-bottom: 30px;
}

main{
	flex:1;
	background: rgba(255,255,255,0.9);
	padding:30px;
	margin:20px;
	border-radius:10px;
}


/* Seiten */

.seite{
display:none;
}

#start{
display:block;
}

.album {
    margin-bottom: 15px;
}

.albumThumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    vertical-align: middle;
    margin-right: 8px;
    border-radius: 4px;
}

/* Startseite */

.startLayout{
display:flex;
gap:30px;
align-items:center;
}

.startBild{
width:500px;
border-radius:8px;
}
.querFormatBild{
	width: 100%;
}

.text-block {
	max-width: 800px;
	width: 90%;
	padding: 20px;
	tet-align: left;
}

.titleStyle {
	font-size: 24px;
	font-weight: bold;
}

.subTitleStyle {
	font-size: 20px;
}

.subTitleStyleTable {
    font-weight: bold;
    font-size: 1.2em;
    padding-top: 8px;
    padding-bottom: 4px;
}

.no-border-table {
    border-collapse: collapse;
    border: none;
    width: 100%;
	max-width: 800px;
}

.no-border-table td {
    border: none;
    vertical-align: middle;
}

.aktuell-image {
	max-height: 150px;
	width:auto;
}

.team-table {
    border-collapse: collapse;
    border: none;
    width: 100%;
	min-width: 450px;
	max-width: 500px;
}

.team-table td {
    border: none;
    vertical-align: middle;
	padding: 5px;
	white-space: nowrap;
	vertical-align: left;
}

.program-table {
    border-collapse: collapse;
    border: none;
    width: 100%;
}

.program-table td {
    border: none;
    vertical-align: middle;
	padding: 10px;
}

/* Bildgröße anpassen */
.table-img {
    max-width: 150px;
    height: auto;
	border-radius:8px;
}

.galerieGrid{

display:grid;
grid-template-columns: repeat(auto-fill, 200px);
gap:15px;

}

.galerieGrid img{

    width:200px;
    height:200px;
    object-fit:cover;
    border-radius:6px;
    box-shadow:0 2px 6px rgba(0,0,0,0.2);

}

.galerieGrid img:hover{
transform:scale(1.05);
}

.footer {
    text-align: center;
    padding: 15px;
    background-color: #f2f2f2;
    margin-top: 20px;
    font-size: 0.9em;
    color: #555;
}

.theatre-gallery img {
  width: 150px;
  margin: 10px;
  cursor: pointer;
  border-radius: 8px;
}

.theatre-lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  width: auto;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
}

.theatre-lightbox-content {
  background: rgba(0,0,0,0.9);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  max-width: 90vw;
  max-height: 90vh;
}

.theatre-lightbox-content img {
  margin: auto;
  max-width: 90vw;   /* fast ganze Bildschirmbreite */
  max-height: 85vh;  /* fast ganze Bildschirmhöhe */
  width: auto;
  height: auto;
}

.theatre-caption {
  text-align: center;
  color: #ccc;
  margin-top: 10px;
}

.theatre-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 30px;
  cursor: pointer;
}

.reise-wichtig {
    color: red;
    font-weight: bold;
}

.reise-pdfInfoLayout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.reise-pdfBox {
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.reise-infoBox {
    max-width: 600px;
}

.reise-pdfLink {
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.reise-pdfLink:hover {
    text-decoration: underline;
}

.reise-img {
    max-width: 250px;
    height: auto;
	border-radius:8px;
}


#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
	z-index: 9999;
}

#overlay img {
    max-width: 80%;
    max-height: 80%;
}

.close, .prev, .next {
    position: absolute;
    color: white;
    font-size: 40px;
    cursor: pointer;
    user-select: none;
	font-weight: 300;
}

.close {
    top: 20px;
    right: 40px;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}


@media (max-width: 768px) {

    header {
        flex-direction: column;
        align-items: flex-start;
		padding:10px 30px;
    }
	
	.logoTitel{
		font-size: 17px;
		font-weight: 200;
		letter-spacing: 1px;
		display:flex;
		align-items:center;
	}

	.logo{
		height:70px;
		margin-right:5px;
	}

	.startLayout {
		flex-direction: column;
		align-items: flex-start;
	}
	
	.startBild {
		align-items:center;
	}

	.aktuell-image {
		max-width: 100px;
		height:auto;
	}

    .menu-toggle {
        display: block; /* sichtbar auf mobilen Geräten */
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        margin-left: 10px;
    }
	
    .sideMenu {
		overflow: hidden;
		max-height: 0; /* standardmäßig versteckt */
		transition: max-height 0.3s ease;
        width: 100%;
        flex-direction: column; /* Optional: kann auch column bleiben */
        padding: 10px;
        overflow-x: auto;
    }

	.sideMenu.active {
		max-height: 500px; /* genug, um alle Links zu zeigen */
	}
	
    .sideMenu a {
        margin-bottom: 0;   /* Abstand zwischen Links entfernen */
        margin-right: 15px; /* Abstand horizontal */
        padding-left: 0;
    }

    /* Hauptinhalt unter dem Menü */
    .container {
        flex-direction: column;
    }

    main {
        margin: 0 0 0 0;  /* Abstand oben reduzieren */
        width: 100%;
		padding:10px;
		box-sizing: border-box;
		border-radius:0;
    }
	
	.table-wrapper {
		width: 100%;
		overflow-x: auto;
	}

    .startBild {
        width: auto;
        max-height: 150px;
		height: 100%;
		border-radius: 8px;
    }

    .querFormatBild {
        width: 95%;
		height: auto;
    }

    .text-block {
        width: 100%;
        padding: 10px;
    }
	
    .topMenu {
        display: none;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 8px;
        text-align: center;
        margin-bottom: 10px;
        font-size: 0.9em;
    }

    .footer-links a {
        text-decoration: none;
        color: #333;
        font-weight: bold;
    }
	
	.program-table tr {
	  display: flex;
	  flex-direction: column;
	}

	.program-table td {
	  width: 100% !important;
	  max-width: 100% !important;
	}

	.program-table td:first-child {
	  margin-bottom: 20px;
	}
	
	.close, .prev, .next {
		font-size: 20px;
		font-weight: 200;
	}
}
