@font-face {
  font-family: 'Yantramanav';
  src: url('/fileadmin/fonts/yantramanav-light-webfont.ttf') format('ttf');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Yantramanav';
  src: url('/fileadmin/fonts/yantramanav-regular-webfont.ttf') format('ttf');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Yantramanav';
  src: url('/fileadmin/fonts/yantramanav-bold-webfont.ttf') format('ttf');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'EbuScript';
  /* Name der Schriftart */
  src: url('/fileadmin/fonts/ebuscript.ttf') format('truetype');
  /* Pfad zur Schriftart */
  font-weight: normal;
  font-style: normal;
}

@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Dancing+Script:wght@400;700&family=Cookie&family=Sacramento&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&display=swap');

@font-face {
  font-family: 'Kalam';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/kalam/v17/YA9Qr0Wd4kDdMtD6GjLNkiQ4tg.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* latin-ext */
@font-face {
  font-family: 'Kalam';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/kalam/v17/YA9Qr0Wd4kDdMtD6GjLCkiQ4tg.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Kalam';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/kalam/v17/YA9Qr0Wd4kDdMtD6GjLMkiQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
  font-family: 'Kalam';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/kalam/v17/YA9dr0Wd4kDdMthQOCfzsw.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* latin-ext */
@font-face {
  font-family: 'Kalam';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/kalam/v17/YA9dr0Wd4kDdMthfOCfzsw.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Kalam';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/kalam/v17/YA9dr0Wd4kDdMthROCc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* devanagari */
@font-face {
  font-family: 'Kalam';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/kalam/v17/YA9Qr0Wd4kDdMtDqHTLNkiQ4tg.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
/* latin-ext */
@font-face {
  font-family: 'Kalam';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/kalam/v17/YA9Qr0Wd4kDdMtDqHTLCkiQ4tg.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Kalam';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/kalam/v17/YA9Qr0Wd4kDdMtDqHTLMkiQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'Cookie';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/cookie/v21/syky-y18lb0tSbf9kgqS.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* vietnamese */
@font-face {
  font-family: 'Dancing Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/dancingscript/v25/If2RXTr6YS-zF4S-kcSWSVi_szLviuEViw.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Dancing Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/dancingscript/v25/If2RXTr6YS-zF4S-kcSWSVi_szLuiuEViw.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Dancing Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/dancingscript/v25/If2RXTr6YS-zF4S-kcSWSVi_szLgiuE.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* vietnamese */
@font-face {
  font-family: 'Dancing Script';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/dancingscript/v25/If2RXTr6YS-zF4S-kcSWSVi_szLviuEViw.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Dancing Script';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/dancingscript/v25/If2RXTr6YS-zF4S-kcSWSVi_szLuiuEViw.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Dancing Script';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/dancingscript/v25/If2RXTr6YS-zF4S-kcSWSVi_szLgiuE.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */
@font-face {
  font-family: 'Pacifico';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/pacifico/v22/FwZY7-Qmy14u9lezJ-6K6MmTpA.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
  font-family: 'Pacifico';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/pacifico/v22/FwZY7-Qmy14u9lezJ-6D6MmTpA.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* vietnamese */
@font-face {
  font-family: 'Pacifico';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/pacifico/v22/FwZY7-Qmy14u9lezJ-6I6MmTpA.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Pacifico';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/pacifico/v22/FwZY7-Qmy14u9lezJ-6J6MmTpA.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Pacifico';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/pacifico/v22/FwZY7-Qmy14u9lezJ-6H6Mk.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Sacramento';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sacramento/v15/buEzpo6gcdjy0EiZMBUG4CMf_exL.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Sacramento';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/sacramento/v15/buEzpo6gcdjy0EiZMBUG4C0f_Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* Basis-Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1 {
  font: 300 2.1875em/1.1 "Yantramanav", Arial, sans-serif;
  color: #ED6D1F;
  margin-bottom: 0.5em;
  text-transform: none;
}

h2 {
  font: 300 1.5em/1.1 "Yantramanav", Arial, sans-serif;
  color: #ED6D1F;
  /*rgb(237,99,0); */
  margin-bottom: 0.5em;
  text-transform: none;
}

h3 {
  font: 300 1.2em/1.1 "Yantramanav", Arial, sans-serif;
  color: rgb(146, 98, 64);
  margin-bottom: 0.5em;
  text-transform: none;
}

h4 {
  font: 300 1.5625em/1.1 "Yantramanav", Arial, sans-serif;
  color: rgb(143, 96, 63);
  margin-bottom: 0.5em;
  text-transform: none;
}

h5 {
  font: 300 1.5625em/1.1 "Yantramanav", Arial, sans-serif;
  color: rgb(143, 96, 63);
  margin-bottom: 0.5em;
  text-transform: none;
}

h6 {
  font: 300 1.5625em/1.1 "Yantramanav", Arial, sans-serif;
  color: rgb(143, 96, 63);
  margin-bottom: 0.5em;
  text-transform: none;
}


body {
  background-image: url('../images/background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 100vh;
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-y: scroll;
  display: grid;
}


/* Fix für Microsoft Edge - Fallback für `background-attachment: fixed;` */
@supports (-ms-ime-align: auto) {

  /* Nur für Edge */
  body {
    background-attachment: scroll;
  }
}

/* Fixierter Header mit sanftem Fade-In */
header,
#content {
  position: fixed;
  top: 0;
  width: 60%;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px 30px;
  border-radius: 0 0 10px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 100;
  margin: 0 auto;
  /* Zentriert den Header */
  left: 0;
  right: 0;
  animation: fadeIn 1s ease-in-out forwards;
}

.header-link {
  color: white;
}

.header-link:hover {
  color: rgba(133, 86, 53);
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: .2em;
  margin: 0;
  padding: 0;
  transform: scale(1.1);
}

.header-info {
  text-align: left;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  color: white;
  position: absolute;
  top: 10px;
  left: 5px;
  background: rgba(0, 0, 0, 0);
  padding: 10px;
  border-radius: 5px;
  display: inline-block;
}

.header-info p {
  margin: 5px 0;
}

/* Header-Fade-In */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Logo & Titel */
.logo-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  text-decoration: none;
}

.logo-title img {
  height: 50px;
}

.logo-title h1 {
  color: #ED6D1F;
  font-family: 'Kalam', cursive;
  margin-left:-20px;;
  letter-spacing: -4px;
  font-size: 48px;
  font-weight: 400;
  margin-top: 0.5em;
  margin-bottom: 0;
}

/* Tooltip Basis */
.tooltip {
  position: relative;
  display: inline-block;
}

/* Tooltip-Text unsichtbar machen */
.tooltip .tooltip-text {
  visibility: hidden;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  text-align: center;
  padding: 5px 10px;
  border-radius: 5px;
  position: absolute;
  bottom: 120%;
  /* Position über dem Logo */
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  /* Verhindert Zeilenumbruch */
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Tooltip sichtbar machen */
.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Navigation */
nav ul {
  list-style: none;
  padding: 0;
  margin: 0px;
  display: flex;
  gap: 20px;
}

nav ul li {
  position: relative;
  width: auto;
  /* Verhindert unnötig breite Menüpunkte */
  min-width: 100px;
}

/* Hover-Animation für Menü */
nav ul li a {
  text-decoration: none;
  color: white;
  padding: 10px 15px;
  display: block;
  white-space: nowrap;
  /* Verhindert Zeilenumbruch */
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  will-change: transform;
}

nav ul li a:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

/* Dropdown-Menü mit vertikaler Anordnung */
.submenu {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 5px;
  padding: 0;
  min-width: 150px;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  transform: translateY(-5px);
  display: inline-block;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  background-clip: padding-box;
}

/* Menüpunkt mit Untermenü markieren */
.has-submenu {
  /*background: rgba(255, 255, 255, 0.4);*/
  border-radius: 5px;
}


/* Untermenüpunkte senkrecht anordnen */
.submenu li {
  display: block;
  /* Jeder Unterpunkt wird untereinander gesetzt */
  width: 100%;
}

nav ul li:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Aktiver Menüpunkt */
nav ul li a.active {
  background: rgba(255, 255, 255, 0.6);
  /* Heller als normal */
  color: black;
  font-weight: bold;
  border-radius: 5px;
}

/* Content-Fade-In */
@keyframes fadeInContent {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#content {
  position: relative;
  top: 160px;
  background: rgba(255, 255, 255, 0.76);
  border-radius: 10px;
  text-align: start;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

#content ul {
  display:none;
  list-style-type: disc; /* oder circle, none */
  padding-left: 20px;
}

.row {
  /*    margin-left: -15px;
    margin-right: -15px;*/
  padding: 2.5em 3em;
}

.row:before,
.row:after {
  content: " ";
  display: table;
}

.row:after {
  clear: both;
}


.col-md-1,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-8,
.col-md-9,
.col-md-10,
.col-md-11,
.col-md-12 {
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 992px) {

  .col-md-1,
  .col-md-2,
  .col-md-3,
  .col-md-4,
  .col-md-5,
  .col-md-6,
  .col-md-7,
  .col-md-8,
  .col-md-9,
  .col-md-10,
  .col-md-11,
  .col-md-12 {
    float: left;
  }

  .col-md-1 {
    width: 8.33333%;
  }

  .col-md-2 {
    width: 16.66667%;
  }

  .col-md-3 {
    width: 25%;
  }

  .col-md-4 {
    width: 33.33333%;
  }

  .col-md-5 {
    width: 41.66667%;
  }

  .col-md-6 {
    width: 50%;
  }

  .col-md-7 {
    width: 58.33333%;
  }

  .col-md-8 {
    width: 66.66667%;
  }

  .col-md-9 {
    width: 75%;
  }

  .col-md-10 {
    width: 83.33333%;
  }

  .col-md-11 {
    width: 91.66667%;
  }

  .col-md-12 {
    width: 100%;
  }
}


/* Footer Slide-Up Animation */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer-Container für Text & Menü */
.footerbg {
  top: 170px;
  display: flex;
  position: relative;
  width: 60%;
  margin: 0px auto 0 auto;
  justify-content: space-between;
  /*align-items: center;
    text-align: center;*/
  background-color: rgba(143, 96, 63, 0.84);
  flex-direction: row;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.8s ease-in-out forwards;
  animation-delay: 0.5s;

  padding: 0.6em 1.5rem;
  border-radius: 5px;
  z-index:1000;
}

.footer-link {
  color:white;
  border-radius: .2em;
  background: transparent;
  font-size: 16px;
}

.footer-link:hover {
  color: rgba(133,86,53);
  background-color: rgba(255,255,255,0.6);
  padding: 2px 5px;
}


.footer-homelink {
  color: white;
  background: transparent;
  padding: 5px 10px;
  display: flex;
  /* Begrenzt den Hover-Bereich auf Text */
  border-radius: .2em;
  /* Abgerundete Ecken */
  transition: background-color 0.3s ease;
  font-size: 16px;
  display:flex;
  align-items: center;
  gap: 5px;
}

a.footer-homelink span {
  padding: 5px 10px;
  background: transparent;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

a.footer-homelink:hover span {
  color: rgba(133, 86, 53);
  background: rgba(255, 255, 255, 0.6);
}

/* Linker Bereich im Footer */
.footer-text {
  color: white;
  font-size: 16px;
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

/* Mittlerer Bereich: Logo */
.footer-logo {
  flex: 1;
  /* Nimmt 1/3 des Footers ein */
  text-align: center;
}

/* Logo-Design */
.footer-logo a {
  display: inline-block;
}

.footer-logo img {
  height: 50px;
  /* Größe des Logos */
  max-width: 100%;
  transition: transform 0.3s ease;
}

/* Hover-Effekt für das Logo */
.footer-logo a:hover img {
  transform: scale(1.1);
  /* Logo vergrößert sich leicht */
}


/* Mobiles Menü (unter 768px) */
@media screen and (max-width: 1400px) {

  header,
  #content,
  .footerbg {
    width: 90%;
  }
}

@media screen and (max-width: 1080px) {

  .footerbg {
    top: 130px;
  }  

  .footer-logo img {
    height: 70px;
    /* Größe des Logos */
    max-width: 100%;
    transition: transform 0.3s ease;
  }
  
  #content {
    top: 120px;
  }

  /* Hamburger-Icon */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 1100;
  }

  .bar {
    background-color: white;
    width: 30px;
    height: 3px;
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
  }

  /* Navigation verstecken */
  nav ul {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.8);
    position: absolute;
    top: 50px;
    right: 20px;
    width: 200px;
    border-radius: 5px;
    text-align: left;
    padding: 5px 0;
    /* Reduzierter Padding für kompaktere Darstellung */
    gap: 0;
    /* Entfernt Abstand zwischen Menüpunkten */
    width: 450px;
    max-width: 500px; /* Optional: Begrenzung der maximalen Breite */
  }

  /* Navigation sichtbar machen */
  nav ul.active {
    display: flex;
  }

  /* Menüeinträge */
  nav ul li {
    width: 100%;
    padding: 0;
    /* Kein zusätzliches Padding */
    margin: 0;
    /* Kein Abstand zwischen den Menüpunkten */
  }

  nav ul li a {
    width: 100%;
    display: block;
    white-space: nowrap;
    /* Verhindert Zeilenumbruch */
    padding: 6px 10px;
    font-size: 36px; /* Größere Schrift für das Hamburger-Menü */
    /* Weniger Abstand */
    text-align: left;
  }

  /* Dropdown-Menü mobil */
  /* Standardmäßig Untermenüs ausblenden */
  .submenu {
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
    position: static;
    background: rgba(255, 255, 255, 0.1);
    padding-left: 10px;
  }

  /* Falls das Hauptmenü aktiv ist, auch die Untermenüs anzeigen */
  nav ul.active .submenu {
    display: block;
    opacity: 1;
    visibility: visible;
  }

  nav ul li:hover .submenu {
    display: block;
  }
}