/* === CSS RESET === */
/* Hinweis:
   Die Klasse .invisible (z. B. für Skip-Links in Contao) ist in dieser Datei nicht definiert.
   Dadurch werden unsichtbare Navigationselemente ggf. sichtbar.
   Falls keine Contao-Basis-Styles geladen werden, sollte folgende Regel ergänzt werden:
*/
.invisible {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
html, body {
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after,
p {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
ul,
ol,
blockquote,
figure,
table {
  margin: 0;
  padding: 0;
}
.legal h4 {
  font-size: 1.5rem; /* ggf. anpassen */
  color: var(--color-orange);
  font-weight: bold;
  margin-top: 1.5rem;
}

/* ================================
   Root-Variablen: Farben & Schriftgrößen
================================== */
:root {
  --color-lightyellow: #ffedc0;
  --color-green: #27413f;
  --color-green-menu: #436361;
  --color-yellow: #ffdb80;
  --color-orange: #f24f00;
  --color-orangeyellow: #fcbc72;
  --color-brown:#723F0A;


  --font-size-xs: clamp(0.875rem, 1vw, 1rem);
  --font-size-sm: clamp(1.2rem, 1.44vw, 1.33rem);
  --font-size-md: clamp(1.25rem, 1.6vw, 2rem);
  --font-size-ml: clamp(1.7rem, 2.2vw, 2.8rem);
  --font-size-lg: clamp(2.25rem, 3vw, 3.75rem);
  --menufontSize: clamp(0.8rem, 1.4vw, 1.33rem);


  --line-height-xs: clamp(1.3rem, 1.8vw, 1.8rem);
  --line-height-sm: clamp(1.92rem, 2.4vw, 2.14rem);
  --line-height-md: clamp(2rem, 2.2vw, 3rem);
  --line-height-ml: clamp(2rem, 2.6vw, 3.3rem);
  --line-height-lg: clamp(2.4rem, 2.4vw, 3.7rem);
}

/* ================================
   Header 
================================== */
#header div.inside{
display: grid;
grid-template-columns: 1fr;
grid-template-rows: 1fr;
grid-column-gap: 0px;
grid-row-gap: 0px;

}
#headerBild,
.naviLogoHeader {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}
#headerbild {
  z-index: 1;
}

.naviLogoHeader {
  z-index: 2;
  position: relative;
}
.headerBild.content-image figure {
  height: 100%; /* wichtig für die Höhe */
}

.headerBild.content-image figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-top: 1.5rem;
}
@media (max-width: 768px) {
  .headerBild.content-image figure img {
    margin-top: 2.3rem;
  }
}

@media (min-width: 768px) {
  #headerBild {
    clip-path: ellipse(100% 66% at 50% 33%);
  }
}
/* ================================
   Schriftarten
================================== */
.copy p, ul {
  font-weight: 300;
  line-height: 1.75rem;
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
}
.copy.paGph p {
  margin-bottom: 1.8rem; /* oder z.B. 0.75rem */
}
h2 {
  font-family: "Note this";
  font-size: var(--font-size-lg);
  font-weight: 400;
  color: var(--color-orange);
  text-align: left;
  margin-bottom: 2rem;
}
h3 {
  font-family: "Note this";
  font-size: var(--font-size-ml);
  font-weight: 400;
  color: var(--color-green);
  text-align: left;
  margin-bottom: 2rem;
}
.headlineOnTop {
  grid-column: 1 / -1;
  /* padding: 1rem; */
  padding-top: 1rem;
  font-weight: 200;
}
p strong{
  font-weight: 600;
}

/* ================================
   Links im Text
================================== */
.copy a {
  position: relative;
  color: var(--color-green); /* z. B. #405452 */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.copy a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-orange); /* z. B. #f24f00 */
  transition: all 0.4s ease;
  transform: translateX(-50%);
}

.copy a:hover {
  color: var(--color-orange);
}

.copy a:hover::after {
  width: 100%;
}
.publish .rte p {
    position: relative;
    margin-bottom: 2em;
}

.publish .rte p::after {
    content: "";
    display: block;
    border-top: 1px dashed #999;
    margin-top: 1em;
}
div.copy.publish.divider{
    content: "";
    display: block;
    border-bottom: 1px dashed #999;
    margin-bottom: 2em;
}

.publish .rte p:last-of-type::after {
    content: none;
}
.introBraun p a{
  color: var(--color-brown);
  text-decoration: underline;
}
.introBraun p a:hover{
  color: var(--color-brown);
  text-decoration: underline;
  background-color: var(--color-orangeyellow);
}

.introLinks p a{
    color: var(--color-green);
  text-decoration: underline;
}
.introLinks p a:hover{
    color: var(--color-green);
  text-decoration: underline;
  background-color: var(--color-orangeyellow);
}
/* ================================
   Basis-Layout
================================== */
body {
  margin: 0;
  font-family: "Linux Biolinum O";
  color: #222;
  background-color: var(--color-lightyellow);
  /* overflow-x: hidden;  wg scrollen auf iphone*/
}
/* ================================
   2. Kontakt-Link oben
================================== */
.topMenu {
  width: 100%;
  height: 30px;
  background-color: var(--color-green);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 2rem;
  z-index: 2;
}

.topMenu * {
  /* margin: 0; */
  padding: 0;
}

.topMenu a {
  display: inline;
  color: white;
  text-decoration: none;
  font-weight: 400;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
}
.topMenu {
  display: inline;
  /* margin-right: 1.5rem; */
  color: white;
  text-decoration: none;
  font-weight: 400;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
}

/* ================================
   Navigation
================================== */
.naviLogoHeader {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}
.naviLogoHeader {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  height: 100%;
  width: 100%;
  position: relative;
}

.topMenu,
.headerLogo,
.navbar {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.topMenu {
  min-width: 100%;
  overflow: visible;
}

.headerLogo {
  align-self: center;
  justify-self: center;
  width: 80%;
  max-width: 62.5rem;
  margin-left: auto;
  margin-right: auto;
}
.headerLogo img {
  width: clamp(200px, 64%, 540px);
}


/* ================================
   Hauptbereich (Main Content)
================================== */
@media (min-width: 501px) {
  #main {
    max-width: 62.5rem;
    margin: 0 auto;
    background-color: var(--color-lightyellow);
    margin-top: 6rem;
    margin-bottom: 8rem;
  }
}
@media (max-width: 500px) {
  #main {
    margin-top: 3rem;
    margin-bottom: 4rem;
  }
}
@media (max-width: 767px) {
  #main {
    margin-top: clamp(1rem, 3vw, 3rem);
  }
}

/* ================================
   Footer
================================== */
footer {
  height: auto;
  background-color: var(--color-green);
  color: #fff;
  padding: 2rem 10%;
  padding-top: 4rem;
  padding-bottom: 8rem;
}

.footerContainer {
  display: grid;
  grid-template-rows: auto auto;
  gap: 2rem;
  background-color: var(--color-green);
  color: white;
  max-width: 70rem; /* 🟢 etwas breiter */
  margin: 0 auto;
  padding: 2rem;
  box-sizing: border-box;
}

.logoFooter {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 5rem; /* 🟢 mehr Abstand nach unten */
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.logoFooter img {
  width: 140px; /* 🟢 größer */
  height: auto;
}

/* Grid für Textspalten */
.footerTextGroup {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Trennlinien + mehr Innenabstand */
.footerTextGroup .footerText {
  padding: 0 2rem; /* 🟢 mehr Abstand zu Trennlinien */
  text-align: center;
}

.footerTextGroup .footerText:first-child {
  border-left: none;
}
.footerText a {
  color: white;
  text-decoration: none;
}

.footerText a:hover {
  text-decoration: underline; /* Optional: Unterstreichung beim Hover */
}

.footerText p {
  margin: 0;
  font-size: var(--font-size-xs);
  line-height: var(--line-height-sm);
}

/* Responsive: untereinander */
@media (max-width: 768px) {
  .footerTextGroup {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .footerTextGroup .footerText {
    border-left: none;

    padding-top: 1rem;
    padding-inline: 1rem; /* weniger Rand auf kleinen Screens */
  }

  .footerTextGroup .footerText:first-child {
    border-top: none;
  }

  .logoFooter {
    margin-bottom: 0.5rem;
    border-left: none;
    border-right: none;
  }
}

/* ================================
   Praxisbild
================================== */
.introGrid {
  display: grid;
  align-items: end; /* vertikal unten */
  justify-items: center; /* horizontal zentriert */
}

.introGrid > * {
  grid-area: 1 / 1;
}

/* Bild als Hintergrund */
.praxisBild {
  width: 100%;
  height: auto;
  z-index: 0;
}

.praxisBild img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to top, black 50%, transparent 100%);
  mask-image: linear-gradient(to top, black 50%, transparent 100%);
}

/* Textblock oben drüber */
.topIntro {
  position: relative;
  z-index: 1;
  max-width: 62.5rem;
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.75); /* leicht transparent */
  border-radius: 1rem;
  box-shadow: 0 0 2rem rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(2px); /* optional Glass-Effect */
  /*transform: translateY(30%); /* schiebt die Box 8rem höher */
  margin-bottom: 2%;
}
@media (max-width: 500px) {
  .topIntro {
    padding: 0.5rem;
    margin-left: 8%;
    margin-right: 8%;
    text-align: center;
  }
  .milkText {
  font-size: 1rem !important;
  font-weight: 400;
  font-style: italic;
}
}
.introLinks {
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  text-align: left;
  color: var(--color-green);
  font-size: var(--font-size-sm); /* oder 1.2rem direkt */
  line-height: var(--line-height-sm); /* falls du Variablen nutzt */
  margin-bottom: 2rem;
}
.introRechts {
  font-weight: 300;
  font-style: italic;
  font-display: swap;
  color: var(--color-orange);
  font-size: var(--font-size-sm); /* oder 1.2rem direkt */
  line-height: var(--line-height-sm); /* falls du Variablen nutzt */
    margin-bottom: 2rem;
}
.marginTopOne {
  margin-top: 0; /* Standardwert für kleinere Geräte */
}

@media (min-width: 768px) {
  .marginTopOne {
    margin-top: 30rem;
  }
}
.marginBottom {
  margin-bottom: 2rem; 
}
.introBraun {
  font-weight: 300;
  font-style: italic;
  font-display: swap;
  color: var(--color-brown);
  font-size: var(--font-size-sm); /* oder 1.2rem direkt */
  line-height: var(--line-height-sm); /* falls du Variablen nutzt */
  margin-bottom: 2rem;
}
.milk {
  text-align: left;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 62.5rem;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.75); /* leicht transparent */
  border-radius: 1rem;
  box-shadow: 0 0 2rem rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(2px); /* optional Glass-Effect */
  transform: translateY(1rem); /* schiebt die Box 8rem höher */
  margin-bottom: 6rem;margin-top: 3rem;
}
.milkText {
  font-size: 1.2rem;
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
.milk .rte p a {
    color: #27413f;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.milk .rte p a:hover {
    color: #3c665d;
    text-decoration: none;
}

/* ================================
   Galerie / Bildreihe unten
================================== */
.galerie {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem; /* Abstand zwischen den Bildern */
  box-sizing: border-box;
  background-color: white;
  width: 100%;
}

.galBild {
  aspect-ratio: 3.5 / 1;
  background-color: white;
  box-sizing: border-box;
  overflow: hidden; /* Bild bleibt im Rahmen */
  display: flex;
  align-items: center;
  justify-content: center;
}

.galBild figure {
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.galBild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: object-position 0.6s ease, transform 0.6s ease;
  transform: scale(1);
}

.galBild:hover img {
  object-position: center 40%; /* 🔼 etwas mehr nach oben */
  transform: scale(1.045); /* 🔍 etwas mehr Zoom */
}

html body#top div#wrapper div#id-100 {
  padding: 0.5rem;
  background-color: white;
}

/* 📱 Responsiv: 1 Spalte bei schmalen Bildschirmen */
@media (max-width: 768px) {
  .galerie {
    grid-template-columns: 1fr;
  }
}

/* ================================
   Responsive Anpassungen
================================== */
@media (max-width: 1100px) {
  main {
    padding: 2rem 5%;
  }

  .header-nav {
    padding: 1rem 5%;
  }

  footer {
    padding: 2rem 5%;
  }
}



/* ================================
   Footer Logo Adresse
================================== */

#map {
  margin-top: 0.5rem;
  width: 100%;
  height: 400px;
  overflow: hidden;
}
/* ================================================================
   Swiper-Slider: Zentrierung & Responsive
================================================================== */

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  align-items: center;
}

.swiper-slide img {
  width: 100vw;
  height: 100%;
  max-height: none;
  max-width: none;
  object-fit: cover;
  display: block;
  align-self: center;
}

@media (max-width: 768px) {
  .swiper-container {
    padding-inline: 1rem;
  }

  .swiper-slide img {
    width: 100%;
    height: auto;
    /* object-fit: cover; entfernt, da global gesetzt */
  }

  .swiper-pagination {
    bottom: 10px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }
}

.swiper-container {
  max-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-container,
.swiper-slide {
  width: 100%;
  height: 100%;
}

/* Swiper Navigation & Pagination Farben */
.swiper-button-prev,
.swiper-button-next {
  color: var(--color-green);
}

.swiper-pagination-bullet {
  background-color: var(--color-green);
}

/* ================================
   .oneTwo Grid: 1/3 - 2/3 Layout
================================== */
.oneTwo {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 1rem; /* optionaler Abstand zwischen den Spalten */
}
@media (max-width: 767px) {
  .oneTwo {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}


.leftContent {
  position: relative;
  margin-top: 0rem;
  padding-right: 2.5rem;
  margin-right: 0.5rem;
}

/* Standard: vertikale Linie rechts */
.leftContent::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  height: 100%;
  background-image: url("/files/svg/orange_path_vertical.svg");
  background-repeat: repeat-y;
  background-size: contain;
  background-position: center right;
}

/* Unter 700px: horizontale Linie unten */
@media (max-width: 767px) {
  .leftContent {
    padding-right: 0;
    margin-right: 0;
        padding-bottom: 1rem; /* Abstand zwischen Text und Linie */
        margin-bottom: 1rem; /* Abstand zur horizontalen Linie vergrößert */
  }

  .leftContent::after {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 30px;
    background-image: url("/files/svg/orange_path_horizontal.svg");
    background-repeat: repeat-x;
    background-position: center bottom;
  }
}
.leftContent img{
padding-bottom: 2rem;
}



.innenBild{
  margin-bottom: 2rem;
}




/* Haupt-Content im Header */
body.subSite .naviLogoHeader {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100%;
  z-index: 2;
}

/* KONTAKT oben rechts */
.topMenu {
  grid-row: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 1.2rem 2rem;
  color: white;
}
.topMenu.content-text .rte {
  display: grid;
  grid-template-columns: 1fr auto;
  width: 100%;
  align-items: center;
  white-space: nowrap;
  gap: 2rem; /* optionaler Abstand */
}

/* Navigation unten im Header */
body.subSite .mod_navigation.navbar {
  background: rgba(244, 247, 246, 0.5); /* Milchglas */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px); /* Safari-Kompatibilität */
}

@media (max-width: 849px) {
  body.subSite .mod_navigation.navbar {
    margin-bottom: 1.4rem;
  }
}
/* Navigation unten im Header */
.mod_navigation.navbar {
  grid-row: 3;
  align-self: end;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 0.45rem 1rem;
  margin: 0 auto 1.8rem auto;
  max-width: fit-content;


  color: white;
  font-weight: bold;
  border-radius: 2rem;

  letter-spacing: 0.03em; /* bessere Worttrennung */
  word-spacing: 0.25em;   /* optischer Abstand zwischen Links */
}
body.subSite .navbar .level_1 a,
body.subSite .navbar .level_1 strong {
  color: var(--color-green-menu);
}

.subSite .headerLogo{
display: none;
}
@media (max-width: 767px) {
  .mod_navigation.navbar {
     display: none; 
  }
}

/* ================================
   Bullets 
================================== */

.copy .rte ul {
  list-style: none;
  padding-left: 1.5rem;
}

.copy .rte ul li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
}

.copy .rte ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.9em; /* statt 0.6em – tiefer gesetzt */
  transform: translateY(-50%);
  width: 0.55rem;
  height: 0.55rem;
  background-color: #f26522;
  border-radius: 50%;
}
/* ================================
   Referenzen
================================== */
.referenzenWrapper {
  display: grid;
  background-color: #fffaf3;
  grid-template-columns: 1fr 1fr;
  gap: 0rem;
  margin: 0;
  align-items: start;
  border-bottom: 1px solid var(--color-orange);
}
/* Standard: h4 überall sichtbar */
.referenzenWrapper h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #27413f;
  padding-bottom: 0.3rem;
  margin-bottom: 0.75rem;
}

/* Auf großen Screens: h4 nur im ersten .referenzenWrapper anzeigen */
@media (min-width: 700px) {
  .referenzenWrapper:not(:first-of-type) h4 {
    display: none;
  }
}

@media (max-width: 699px) {
  .referenzenWrapper {
    grid-template-columns: 1fr;
  }
}

.referenzenWrapper .copy {
  padding: 1.5rem;
}

/* ================================
   Logo ausblenden
================================== */
.noLogo .headerLogo{
  display: none;

}

/* ================================
   Navigation - NUR FÜR DESKTOP
================================== */
@media (min-width: 769px) {

.navbar {
  font-family: "Open Sans";
  align-self: end;
  justify-self: center;
  /* width: 80%; */
  max-width: 62.5rem;
  margin-bottom: 5rem;
}

.navbar .level_1 {
  display: flex;
  gap: 2rem; 
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.navbar .level_1 li {
  display: flex;
  justify-content: center;
  text-align: center;
}
.navbar .level_1 a,
.navbar .level_1 strong {
  color: white;
  text-decoration: none;
  font-weight: 600;
  /* font-size: clamp(1rem, 1.8vw, 1.3rem); */
  font-size: var(--menufontSize);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
}
.navbar .level_1 a:hover {
  color: white;
}
/* nav.mod_navigation ul.level_1 a::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0; 
  width: 0;
  height: 3px;
  background-color: white; 
  transition: all 0.4s ease;
  transform: translateX(-50%);
} */
 nav.mod_navigation.navbar.block ul.level_1 li a:hover,
.subSite nav.mod_navigation.navbar .subSite a:hover,
nav.mod_navigation ul.level_1 strong.submenu:hover,
nav.mod_navigation.navbar.block ul.level_1  a.sibling:hover{
  color: var(--color-orange) !important;
  cursor: pointer;
}
.navbar .level_1 a:hover::after {
  width: 100%;
  /* keine background-color, damit es weiß bleibt */
}

nav.mod_navigation ul.level_1 strong.submenu {
  position: relative;
  display: inline-block;
}
/* nav.mod_navigation ul.level_1 strong.submenu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background-color: white;
  transform: translateX(-50%);
  transition: width 0.4s ease;
} */
nav.mod_navigation ul.level_1 strong.submenu:hover::before {
  width: 100%;
}
.greenMenu nav.mod_navigation.navbar a {
  color: var(--color-green);
}

/* ================================
   Menu Dropdown
================================== */
nav.mod_navigation ul.level_2 {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 10px);
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0.3rem 0.6rem; /* Weniger horizontaler Abstand */
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
  z-index: 10;
  border-radius: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 10rem;
}

nav.mod_navigation ul.level_1 > li {
  position: relative;
}

nav.mod_navigation ul.level_1 > li:hover > ul.level_2 {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
nav.mod_navigation ul.level_2 li.active.subSite > strong {
  color: var(--color-orange); /* oder direkt #f26522 */
}
nav.mod_navigation ul.level_2 li {
  margin-bottom: 0.3rem;
  width: 100%;
}

nav.mod_navigation ul.level_2 li:last-child {
  margin-bottom: 0;
}

nav.mod_navigation ul.level_2 a {
  color: var(--color-green);
  text-decoration: none;
  padding: 0.3rem 0.5rem;
  display: block;
  border-radius: 0.5rem;
  transition: background 0.3s ease;
  text-align: center;
  width: 100%;
}
}
@media (max-width: 799px) {
  nav.mod_navigation ul.level_2 a {
    padding: 0; /* oder z. B. padding: 0.2rem 0; falls du etwas Abstand behalten willst */
  }
}

nav.mod_navigation ul.level_2 a:hover {
  background-color: rgba(255, 255, 255, 0.3);
  color: #f26522;
}

nav.mod_navigation ul.level_2 a::after {
  content: none;
}


/* .mm-toggle {
  display: none;
} */

@media (max-width: 768px) {
  .mm-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    padding: 1rem;
    text-align: left;
    margin-inline-end: 0px;
  }
}

@media (max-width: 767px) {
  .mm-toggle {
    display: block;
    padding: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
  }
   #header p.kLink{
  display: none;
} 

}
@media (min-width: 768px) {
  #header p.mLink{
  display: none;
}
}
p.mLink a{
padding-left: 10px;
padding-block: 5px;
}


a.mm-btn.mm-btn--next.mm-listitem__btn{
  background-color: #999;
}



/* ========== gelöschte stiles hier ========== *


/* Hamburger Button - versteckt auf Desktop */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    z-index: 1001;
    text-decoration: none;
    align-items: center;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.menu-toggle .menu-text {
    margin-top: 5px;
    font-size: 0.85rem;
    color: #333;
    font-weight: 500;
}

.mLink {
    margin: 0;
    padding: 0;
}

.mLink .menu-toggle {
    display: inline-flex;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}


/* ==========================================
   MOBILE MENU - Komplett-Lösung
========================================== */

/* Button Basis */
.menu-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    text-decoration: none;
    z-index: 1002;
}

.menu-toggle span:not(.menu-text) {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.menu-toggle .menu-text {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: #333;
    font-weight: 500;
}

.mLink {
    margin: 0;
    padding: 0;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 900;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}






