@import url("fonts.css") print, screen;
@import url("config.css") print, screen;


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-weight: normal;
}

b, strong {
    font-weight: bold;
}

body {
  font-family: Lato, sans-serif;
  line-height: 1.5;
  background-color: #f8f8f8;
  background-color: white;
      
}

a, a:hover, a:visited {
    color: var(--headline);
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

h1, h2 {
    font-weight: normal;
    color: var(--headline); 
    margin-top: 20px;
    margin-bottom: 10px;
}
h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}
h1 {
    font-size: 32px;
    text-transform: uppercase;
}
h2 {
    font-size: 28px;
}
h3 {
    font-size: 22px;
}
p {
    padding-top: 6px; 
    padding-bottom: 6px;
    font-weight: normal;
}
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.frame-default {
    margin-bottom: 20px;
}

.site-header,
.nav-container,
.content {
  /* normale Abschnitte */
  flex-shrink: 0;
}

/* Content darf wachsen */
.content {
        padding-top: 30px;
  flex-grow: 1;
}

/* Footer am Ende */
.site-footer {
  flex-shrink: 0;
  background-color: #333;
  color: #fff;
  padding: 30px 20px;
}
.site-footer h3 {
    margin-top: 0px;
}

.site-header {
  width: 100vw;
  aspect-ratio: 3 / 1;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.background-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.background-slider .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 1;
}

.background-slider .slide.active {
  opacity: 1;
  z-index: 2;
}


.header-inner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 10;
}

.login-nav {
  margin-left: auto;
  padding-right: 10px;
}

.login-nav a {
  color: white;
  text-decoration: none;
  margin-left: 10px;
  font-size: 0.9em;
}

.logo {
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.logo img {
  max-width: 250px;
  height: auto;
}

.nav-container {
  display: flex;
  width: 100%;
  /*max-width: 1200px;*/
  margin: -60px auto 0; /* obere Zeile überlappt den Header */
  padding: 0px !important;
  position: relative;
  z-index: 3;
}

.nav-container .nav-menu {
    width: 100%; 
    display: flex;
}


.nav-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 120px; /* feste Höhe, z. B. 60px oben + 60px unten */
}
.nav-box .nav-link {
  flex: 1;
  display: flex;
  justify-content: left;
  padding-left: 10px;
  align-items: center;
  transition: height 0.3s ease, transform 0.3s ease;
  z-index: 2;
  height: 50%;
}

.nav-box .nav-link a {
    text-transform: uppercase;
    color: white;
    text-decoration: none;
}

.nav-box .nav-link span.small {
    font-size: smaller;
    text-transform: none;
}

.nav-box .nav-info {
  flex: 1;
  color: white;
  display: flex;
  justify-content: left;
  padding-left: 10px;
  align-items: center;
  font-size: 0.9em;
  
  height: 50%;
  z-index: 1;
}

.nav-box .nav-info .subtitle {
    font-size: 18px;
}

/* Hover: obere Zeile wächst leicht nach oben */
.nav-box:hover .nav-link {
  transform: translateY(-10%);
}

/* Box 1 */
.nav-box:nth-child(1), .nav-box:nth-child(1) .nav-link { background-color: var(--box1-top); }
.nav-box:nth-child(1) .nav-info { background-color: var(--box1-bottom); }

/* Box 2 */
.nav-box:nth-child(2), .nav-box:nth-child(2) .nav-link { background-color: var(--box2-top); }
.nav-box:nth-child(2) .nav-info { background-color: var(--box2-bottom); }

/* Box 3 */
.nav-box:nth-child(3), .nav-box:nth-child(3) .nav-link { background-color: var(--box3-top); }
.nav-box:nth-child(3) .nav-info { background-color: var(--box3-bottom); }

/* Box 4 */
.nav-box:nth-child(4), .nav-box:nth-child(4) .nav-link { background-color: var(--box4-top); }
.nav-box:nth-child(4) .nav-info { background-color: var(--box4-bottom); }

/* Box 5 */
.nav-box:nth-child(5), .nav-box:nth-child(5) .nav-link { background-color: var(--box5-top); }
.nav-box:nth-child(5) .nav-info { background-color: var(--box5-bottom); }

/* Box 6 */
.nav-box:nth-child(6), .nav-box:nth-child(6) .nav-link { background-color: var(--box6-top); }
.nav-box:nth-child(6) .nav-info { background-color: var(--box6-bottom); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 14px;
  margin: 0px;
}


.content, footer .container {
  /*max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;*/
}

.content ul {}
.content li {
    margin-left: 20px;
}
.content li::marker {
    color: var(--headline);
}

.site-footer {
  background-color: var(--footer-bg);
  color: #fff;
  padding: 30px 20px;
}

.footer-content {
  /*max-width: 1200px;*/
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-left,
.footer-right {
  flex: 1;
  min-width: 200px;
}

.footer-right a {
  color: #ccc;
  text-decoration: none;
  display: block;
  margin-bottom: 5px;
}

.footer-right a:hover {
  text-decoration: underline;
}

a.button, input[type="submit"], button {
  margin-top: 20px;
  margin-bottom: 20px;
  display: inline-block;
  padding: 0.75em 1.5em;
  background-color: var(--button-bg, #007bff);
  color: var(--button-color, #fff);
  text-decoration: none;
  font-size: 1rem;
  border: none;
  cursor: pointer;
}

a.button:hover, input[type="submit"]:hover, button:hover
a.button:focus {
  background-color: var(--button-hover-bg, #0056b3);
  text-decoration: none;
}

a.button:active {
  transform: translateY(0);
}

a.button:disabled,
a.button[aria-disabled="true"] {
  opacity: 0.6;
  pointer-events: none;
}

a.button.small, input[type="submit"].small, button.small {
    padding: 0.25em 1em;
}

a.button.second, input[type="submit"].second, button.second {
    background-color: var(--button-bg-second);
}
a.button.second:hover, input[type="submit"].second:hover, button.second:hover {
    background-color: var(--button-hoover-bg-second);
}
a.button.active, button.active {
    background-color: var(--button-bg);
}
a.button.active:hover, button.active:hover {
    background-color: var(--button-bg);
}

a.button.highlight {
    width: 100%; 
    display: block;
    padding: 8px; 
    background-color: black; 
    font-size: 24px; 
    text-align: center; 
    margin-top: 40px; 
    margin-bottom: 40px; 
    text-transform: uppercase;
}
a.button.highlight span, a.button.highlight b, a.button.highlight strong {
    color: var(--headline, white); 
    font-weight: normal;
}

/* Formulare */
.form-group {
    display: flex;
    flex-direction: column; /* Labels über Inputs */
    margin-bottom: 15px;
}
.form-group input[type="text"], .form-group input[type="tel"], .form-group input[type="email"], .form-group input[type="password"], .form-group textarea {
    width: 100%; 
    max-width: 500px;
    margin-right: 20px;
}
.form-group textarea {
    height: 150px;
    font-family: Lato, sans-serif;
}
fieldset {
  border: none;
  padding: 1.5rem 1.5rem 0.5rem 1.5rem; 
  margin-top: 1.5rem;
  margin-bottom: 1.5rem; 
  background-color: #fafafa; 
}
fieldset legend {
    display: none;
}
.frame-type-felogin_login fieldset > div {
  display: flex;
  align-items: center; /* vertikale Ausrichtung */
  margin-bottom: 1em;
}
.frame-type-felogin_login fieldset > div label {
    width: 100%; 
    max-width: 500px;
    font-weight: bold;
}
.frame-type-felogin_login fieldset > div input[type="text"], 
.frame-type-felogin_login fieldset > div input[type="password"] {
    display: block;
    width: 100%; 
    max-width: 500px;
}



label {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 16px;
    color: #333;
}
legend {
  font-size: 1rem;             /* etwas größer als normaler Text */
  font-weight: 600;            /* leicht betont, aber nicht fett */
  color: #333;                 /* dunkles Grau statt Schwarz */
  padding: 0 0.5rem;           /* etwas Luft zur Umrandung */
}
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
select, 
textarea {
    padding: 8px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  outline:none;
  border-color:#0077c8;
  box-shadow: 0 0 2px rgba(0, 123, 255, 0.5);
}





@media (max-width: 768px) {
  h1, h2 {
    font-size: 24px;
  }
  h3 {
    font-size: 20px;
  }
  .nav-container {
    position: relative;
    display: block;
    margin: 0px;
    margin-top: -50px;
  }
  
  .nav-toggle {
    display: block;
    position: absolute;
    top: -20px;
    right: 0px;
    z-index: 1001;
  }
  .nav-container .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 50px;
    right: 0;
    background: #fff;
    
    max-width: 300px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    max-width: unset;
  }

  .nav-container.active .nav-menu {
    display: flex;
  }

  .nav-box {
    border-bottom: 1px solid #eee;
    
  }
  .nav-box .nav-link {
      padding-top: 6px;
  }
  
  .nav-link a {
    font-size: 1.2rem;
    text-decoration: none;
    display: block;
  }
  

  .header-inner {
    flex-direction: column;
    align-items: flex-end;
  }

  .logo {
      left: 10px;
      top: 4px;
      transform: none;
  }
  .logo img {
    max-width: 100px;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
  }
  
  .content {
      padding-top: 90px;
      padding-left: 10px;
      padding-right: 10px;
  }
  
  .site-footer {
      padding-left: 0px;
      padding-right: 0px;
  }
  
  .nav-box:hover .nav-link {
    transform: none;
    }
}


/* Typo3 Content */

.content > div:last-child {
    margin-bottom: 0;
}

.img-caption {
    display: block;
    padding-top: 5px;
    color: var(--headline);
}

.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.alert.alert-OK {
  background-color: #d1e7dd;
  border: 1px solid #badbcc;
  color: #0f5132;
}

.alert.alert-ERROR {
  background-color: #f8d7da;
  border: 1px solid #f5c2c7;
  color: #842029;
}

.alert.alert-INFO {
  background-color: #cff4fc;
  border: 1px solid #b6effb;
  color: #055160;
}

.alert.alert-WARNING {
  background-color: #fff3cd;
  border: 1px solid #ffecb5;
  color: #664d03;
}

.alert.alert-NOTICE {
  background-color: #e2e3e5;
  border: 1px solid #d3d6d8;
  color: #41464b;
}



.background-gray {
    background-color: #ddd; 
}
.background-white {
    background-color: #fff; 
}
.background-primary {
    background-color: var(--headline); 
    color: white; 
}
.background-primary h1, .background-primary h2 {
    color: white; 
}
.background-secondary {
    background-color: var(--headline); 
    color: white; 
}
.background-secondary h1, .background-secondary h2 {
    color: white; 
}




@media (min-width: 768px) {
    .booking-resource-show .col-12-col-sm-8 h2:first-child, .booking-resource-show .col-12-col-sm-8 h3:first-child {
        margin-top: 0px;
    }
}

label.error, .form-field label.error {
    color: red;
    font-weight: normal;
}

