/* GAEYN DESIGN - Optimiertes CSS */
:root {
 --primary-color: rgba(255, 110, 0, 1);
 --secondary-color: #337ab7;
 --text-color: #333;
 --bg-light: #f8f8f8;
 --border-light: rgba(0, 0, 0, 0.05);
}

*, *:before, *:after {
 box-sizing: border-box;
}

html {
 font-size: 10px;
 -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
 min-width: 490px;
}

body {
 font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
 font-size: 14px;
 line-height: 1.6;
 color: var(--text-color);
 background-color: #fff;
 margin: 0;
 min-width: 490px;
}

a {
 color: var(--secondary-color);
 text-decoration: none;
}

a:hover, a:focus {
 color: #23527c;
 text-decoration: none;
}

.container {
 width: 490px;
 margin-right: auto;
 margin-left: auto;
 padding-left: 15px;
 padding-right: 15px;
}

.container-fluid {
 padding-left: 15px;
 padding-right: 15px;
 margin-right: auto;
 margin-left: auto;
}

.navbar {
 position: relative;
 min-height: 50px;
 margin-bottom: 20px;
 border: none;
 border-radius: 0;
 background-color: #FFFFFF;
 margin-top: 20px;
 box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.navbar-brand {
 float: left;
 height: 50px;
 padding: 15px;
 font-size: 26px;
 line-height: 40px;
 font-weight: 500;
}

.navbar-nav {
 margin: 0;
 float: right;
}

.navbar-nav > li {
 float: left;
 position: relative;
 display: block;
 padding-left: 15px;
}

.navbar-nav > li > a {
 padding: 15px;
 line-height: 20px;
 position: relative;
 display: block;
}

.navbar-nav > li > a:hover {
 color: var(--primary-color);
}

.navbar-toggle {
 position: relative;
 float: right;
 padding: 9px 10px;
 margin: 8px 15px;
 background-color: transparent;
 border: 1px solid transparent;
 border-radius: 4px;
}

.navbar-toggle .icon-bar {
 display: block;
 width: 22px;
 height: 2px;
 border-radius: 1px;
 background-color: #888;
 margin-top: 4px;
}

.navbar-collapse {
 overflow-x: visible;
 border-top: 1px solid transparent;
 padding-left: 0;
}

.sr-only {
 position: absolute;
 width: 1px;
 height: 1px;
 padding: 0;
 margin: -1px;
 overflow: hidden;
 clip: rect(0, 0, 0, 0);
 border: 0;
}

.collapse {
 display: none;
}

.collapse.in {
 display: block;
}

.carousel {
 position: relative;
 margin-bottom: 40px;
}

.carousel-inner {
 position: relative;
 width: 100%;
 overflow: visible;
 margin-bottom: 120px;
}

.carousel-inner > .item {
 position: relative;
 display: none;
 transition: .6s ease-in-out left;
}

.carousel-inner > .active,
.carousel-inner > .next,
.carousel-inner > .prev {
 display: block;
}

.carousel-inner > .active {
 left: 0;
}

.carousel-inner > .next,
.carousel-inner > .prev {
 position: absolute;
 top: 0;
 width: 100%;
}

.carousel-inner > .next {
 left: 100%;
}

.carousel-inner > .prev {
 left: -100%;
}

.carousel-inner > .next.left,
.carousel-inner > .prev.right {
 left: 0;
}

.carousel-inner > .active.left {
 left: -100%;
}

.carousel-inner > .active.right {
 left: 100%;
}

.carousel-control {
 position: absolute;
 top: 0;
 bottom: 0;
 width: 15%;
 color: #fff;
 text-align: center;
 opacity: .5;
}

.carousel-control.left {
 background-image: linear-gradient(to right, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .0001) 100%);
}

.carousel-control.right {
 right: 0;
 left: auto;
 background-image: linear-gradient(to right, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .3) 100%);
}

.carousel-control:hover,
.carousel-control:focus {
 color: var(--primary-color);
 text-decoration: none;
 opacity: .9;
}

.carousel-indicators {
 position: absolute;
 top: 100%;
 bottom: auto;
 left: 50%;
 z-index: 15;
 width: 60%;
 padding-left: 0;
 margin-left: -30%;
 margin-top: 20px;
 text-align: center;
 list-style: none;
}

.carousel-indicators li {
 display: inline-block;
 width: 16px;
 height: 16px;
 margin: 0 5px;
 text-indent: -999px;
 cursor: pointer;
 background-color: rgba(200, 200, 200, 1);
 border: 2px solid #fff;
 border-radius: 50%;
}

.carousel-indicators .active {
 width: 16px;
 height: 16px;
 margin: 0 5px;
 background-color: var(--primary-color);
}

.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right {
 position: absolute;
 top: 50%;
 transform: translateY(-50%);
 margin-top: 0;
}

.carousel-control.left .glyphicon-chevron-left {
 left: 20px;
}

.carousel-control.right .glyphicon-chevron-right {
 right: 20px;
}

.carousel-caption {
 position: absolute;
 right: 15%;
 left: 15%;
 top: 100%;
 bottom: auto;
 z-index: 10;
 padding-top: 20px;
 padding-bottom: 20px;
 margin-top: 40px;
 color: var(--primary-color);
 text-align: center;
}

.carousel-caption h3 {
 font-size: 26px;
 font-weight: 600;
 margin-bottom: 0;
}

.carousel-caption h4 {
 font-size: 20px;
 font-weight: 400;
 margin-top: 5px;
}

.glyphicon {
 position: relative;
 top: 1px;
 display: inline-block;
 font-family: 'Glyphicons Halflings';
 font-style: normal;
 font-weight: normal;
 line-height: 1;
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
}

.glyphicon-chevron-left:before {
 content: "\e079";
}

.glyphicon-chevron-right:before {
 content: "\e080";
}

.clearfix:before,
.clearfix:after,
.container:before,
.container:after,
.container-fluid:before,
.container-fluid:after,
.navbar:before,
.navbar:after,
.navbar-header:before,
.navbar-header:after,
.navbar-collapse:before,
.navbar-collapse:after {
 display: table;
 content: " ";
}

.clearfix:after,
.container:after,
.container-fluid:after,
.navbar:after,
.navbar-header:after,
.navbar-collapse:after {
 clear: both;
}

h1, h3, p {
 text-align: inherit;
}

h1 {
 font-size: 26px;
 font-weight: 500;
 margin-bottom: 20px;
 color: var(--primary-color);
 text-align: center;
}

#main h1 {
 padding-left: 0;
 font-size: 26px;
}

#main {
 width: 490px;
 margin: 30px auto;
 background-color: white;
 padding: 25px;
 border-radius: 3px;
 box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

#main h1, #main p {
 padding-left: 15px;
}

footer {
 margin-top: 30px;
 padding: 25px 0;
 background-color: var(--bg-light);
 color: #666;
 text-align: center;
 border-top: 1px solid var(--border-light);
}

.image-fill {
 width: 100%;
 height: auto; /* Dies stellt die proportionale Skalierung sicher */
 box-shadow: 0 2px 5px rgba(0,0,0,0.1);
 display: block; /* Vermeidet unerwünschte Abstände unter dem Bild */
}

#wrapper {
 padding-left: 0;
 padding-right: 0;
 min-width: 490px;
}

/* Sprachauswahl-Styling */
.language-selector {
 display: inline-block;
 margin-left: 15px;
}

.navbar-nav > li.language-selector {
 float: left;
 white-space: nowrap;
}

.navbar-nav > li.language-selector a {
 display: inline;
}

.language-selector a {
 display: inline-block;
 padding: 15px 3px;
 color: #888;
 font-size: 14px;
}

.language-selector a.active {
 color: var(--primary-color);
 font-weight: bold;
}

.language-selector a:hover {
 color: var(--primary-color);
}

@media (min-width: 768px) {
 .container {
   width: 750px;
 }
 
 #main {
   width: 750px;
 }
 
 .navbar-header {
   float: left;
 }
 
 .navbar-toggle {
   display: none;
 }
 
 .navbar-collapse {
   width: auto;
   border-top: 0;
 }
 
 .navbar-collapse.collapse {
   display: block !important;
   height: auto !important;
   padding-bottom: 0;
   overflow: visible !important;
 }
 
 .container > .navbar-header,
 .container > .navbar-collapse {
   margin-right: 0;
   margin-left: 0;
 }
 
 .carousel-control .glyphicon-chevron-left,
 .carousel-control .glyphicon-chevron-right {
   width: 30px;
   height: 30px;
   font-size: 30px;
   margin-top: 0;
 }
 
 .carousel-caption {
   right: 20%;
   left: 20%;
   padding-bottom: 30px;
 }
}

@media (max-width: 767px) {
 .navbar-nav {
   float: none;
   margin: 7.5px -15px;
   padding-left: 0;
 }
 
 .navbar-nav > li {
   float: none;
 }
 
 .navbar-nav > li > a {
   padding-top: 10px;
   padding-bottom: 10px;
   padding-left: 15px;
 }
 
 .navbar-nav > li.language-selector {
   display: inline-block;
   white-space: nowrap;
 }
 
 .navbar-nav > li.language-selector a {
   display: inline;
 }
 
 .carousel-inner {
   margin-bottom: 150px;
 }
 
 .carousel-indicators {
   margin-top: 10px;
 }
 
 .carousel-indicators li {
   width: 14px;
   height: 14px;
   margin: 0 3px;
 }
 
 .carousel-indicators .active {
   width: 14px;
   height: 14px;
   margin: 0 3px;
 }
 
 .carousel-caption {
   margin-top: 40px;
 }
 
 .language-selector {
   display: inline-block;
   padding: 10px 15px;
   border-top: 1px solid rgba(0,0,0,0.05);
 }
 
 .language-selector a {
   padding: 5px 3px;
 }
}

@media (max-width: 490px) {
 html, body {
   overflow-x: auto;
 }
}

@font-face {
 font-family: 'Glyphicons Halflings';
 src: url('../fonts/glyphicons-halflings-regular.woff2') format('woff2');
 font-display: swap;
}