:root{
	--darkblue: rgb(29, 43, 112);
	--hellorange: rgb(255, 179, 39);
}

body{
}

.navbar{
	background-color: var(--darkblue);
	position: fixed;
	top: 0;
	box-shadow: 0px 3px 5px 5px rgba(0,0,0,0.2);
	height: 70px;
}


.navbar-brand img {
      height: 50px;
}


.navbar-expand-lg {
	background-color: var(--darkblue);
}


.navbar-nav{
	position: relative;
	font-size: 1.1em;
	text-align: center;
	background-color: var(--darkblue);
}

.navbar-nav li {
	padding: 5px 5px 0 0;
}

a.nav-link{
	color: white!important;
}

.nav-link:hover{
	color: var(--hellorange)!important;
}

.navbar-toggler-icon{
	border: none;
	height: 30px;
}

/* Dropdown beim Hover öffnen (Desktop) */
.navbar-nav .dropdown:hover > .dropdown-menu,
.navbar-nav .dropdown:focus-within > .dropdown-menu {
  display: block;
  margin-top: 0; /* entfernt evtl. Lücke */
  transform: translateY(0);
  opacity: 1;
}

/* Standard Bootstrap position/Verhalten sicherstellen */
.navbar-nav .dropdown-menu {
  display: none;           /* default: versteckt; wird per :hover sichtbar */       /* genügend Breite */
  margin-left: -4rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
  background-color: var(--darkblue);
  text-align: right;
}

/* Link-Styling innerhalb Dropdown an die Farbgebung anpassen */
.navbar-nav .dropdown-item {
	padding: 0.5em 1em;
	font-size: 1em;
	color: white;
	background-color: var(--darkblue);
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
  color: var(--hellorange);
}

/* Für Touch / kleine Bildschirme: Klick öffnet das Dropdown (ersetzt Hover) */
@media (max-width: 992px) {
  .navbar-nav .dropdown-menu {
    position: static; /* damit es im Navbar-Flow bleibt */
    display: block;   /* Bootstrap-Collapse übernimmt Sichtbarkeit */
	text-align: center;
	margin-left: 0rem;
  }
}


.imprint .container{
	padding-top: 60px;
}


h1 {
	color: var(--darkblue);
	margin-bottom: 0.5em;
}

h3 {
	color: var(--darkblue);
	margin-top: 2em;
}

h4 {
	margin-top: 1em;
}

.accordion h3{
	margin-top: 0 !important;
}


hr {
	border: 1px solid var(--hellorange);
	width: 90%;
	opacity: 1;
	margin: 0 auto;
	}

img+p{
	font-size: 0.85em;
	line-height: 1.3em;
	margin-top: 5px;
}

a{
	color: #1d2b70;
	text-decoration: none;
	border-bottom: 1px dotted var(--darkblue);
}

small {
	font-size: 0.7em; 
	line-height: 0.5;
}

#about{
	margin-top: 100px;
}

.rezension{
	padding: 2em; 
	border-top: 1px solid #ddd;
}

.rezension small {
	line-height: 0;
}


.carousel#oben{
	position: relative;
	top: 68px;
}

.carousel#oben .col-12 {
	padding-left: 0!important;
	padding-right: 0!important;
}


.carousel-caption{
	background-color: rgba(255,255,255,0.8);
	padding: 2px;
	color: black;
}

.carousel-caption p{
	font-size: 1em;
	padding: 3px;
	margin: 0;
}

.opacity-95{
	background-color: rgba(255,255,255,0.95);
}

.opacity-80{
	background-color: rgba(255,255,255,0.8);
}


.collapse .row{
	padding-top: 1em;
}

.accordion-item .row{
	padding: 1em;
}

.termintabelle{
	width: 100%;
	padding: 1em;
	border: 1px solid #f0f0f0;
	margin-bottom: 2em;
}

.termintabelle th{
	background-color: #fff;
	font-weight: normal;
	font-style: italic;
}

.termintabelle table td:first-child{
	width: 25%;
	
}

.termintabelle table td:nth-child(2){
	width: 35%;
}

.termintabelle table td:nth-child(3){
	width: 40%;
}

.termintabelle td, .termintabelle th{
	padding: 5px;
}

.termintabelle tr:nth-of-type(odd){
	background-color: #f0f0f0;
}

.sprung {
    visibility: hidden;
    height: 0px !important;
    position: absolute;
    margin: -120px;
}

.versatz {
    margin-top: -120px;
}

footer {
	background-color: var(--darkblue);
	color: white;
	padding: 1em 0 0.5em 0;
}

footer a {
	color: rgb(200,200,200);
	text-decoration: none;
}

footer a:hover {
	color: rgb(250,250,250);
}

@media only screen and (max-width: 900px) {

	#logo {
		max-height: 60px;
		padding: 5px 0;
	}
	
	.nav-item 

	hr{
		width: 95%;
	}

	.accordion h3{
		font-size: 1.2em;
	}

	.termintabelle td{
		font-size: 0.8em;
	}
	
	table#mondphasen td, table#mondphasen th {
		font-size: 0.8em;
	}

}