/* ===============================
   TYPO3 Fluid Site Package Styles
   =============================== */

   @import  'heroslider.css';
/*--------------------------------------------------------------
# Custom Fonts
--------------------------------------------------------------*/
/* EB Garamond Variable Font */
@font-face {
  font-family: "EB Garamond";
  src: url('../Font/EB_Garamond/static/EBGaramond-VariableFont_wght.ttf') format('truetype');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "EB Garamond";
  src: url('../Font/EB_Garamond/static/EBGaramond-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 400 800;
  font-style: italic;
  font-display: swap;
}

/* Ephesis Font */
@font-face {
  font-family: "Ephesis";
  src: url('../Font/Ephesis/Ephesis-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "EB Garamond", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "EB Garamond", sans-serif;
  --nav-font: "Inter", sans-serif;
}

/* Ephesis: CSS class */
.ephesis-regular {
  font-family: "Ephesis", cursive;
  font-weight: 400;
  font-style: normal;
}

/* EB Garamond: CSS classes */
.eb-garamond-light {
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

.eb-garamond-regular {
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.eb-garamond-medium {
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.eb-garamond-semibold {
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.eb-garamond-bold {
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.eb-garamond-extrabold {
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  
  font-family:ephesis-regular;
}


h1,
h2,
h3,
h4,
h5,
h6 {
  
  font-family:eb-garamond-bold ;
}


/*Links*/
a {
  color: #d56a34;
  text-decoration: none;
}
/* Container */
.container, .container-fluid {
  width: 100%;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
 /* max-width: 1200px;*/
}
/* Topbar kompakt */
.topbar {
  padding: 0.25rem 0; /* weniger Höhe */
  background-color: #f8f9fa; /* helles Grau, falls nötig */
}

/* Text in der Topbar */
.topbar p, 
.topbar a {
  font-size: 0.85rem; /* kleiner als normal */
  margin: 0; /* Abstand entfernen */
  line-height: 1.2; /* kompakter */
  color:#d56a34; /* optional: Textfarbe */
}

/* Optional: Links in Topbar dezent hervorheben */
.topbar a:hover {
  text-decoration: underline;
}
/* Volle Breite Topbar, Logo, Navigation, Hero */
.topbar,
.logo-section,
.main-navigation,
.hero-section {
  width: 100%;
}
/* Topbar auf Mobile ausblenden */
@media (max-width: 767px) {
    .topbar {
        display: none !important;
    }
}

/* Innerhalb bleibt Container für Inhalt */
.topbar .container,
.logo-section .container,
.main-navigation .container {
  max-width: 1140px; /* Bootstrap Container max-width */
  margin: 0 auto;
}

/* ===============================
   Navigation
   =============================== */
.main-navigation {
  background-color: #fbe299; /* sanftes Gelb */
  padding: 0.5rem 0;
  position: relative;
}

.main-navigation .nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.main-navigation a.nav-link {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  display: inline-block;
}

.main-navigation a.nav-link:hover,
.main-navigation a.nav-link.active {
  color: #555;
}



/* ===============================
   Hero Section
   =============================== */
.hero-section {
  padding: 0;
  margin-bottom: 1.5rem;
  width: 100%;
}
/* Hero bleibt Fullwidth */
.hero-section .container-fluid {
  padding: 0;
  margin: 0;
}

/* ===============================
   Content Elements
   =============================== */
.ce-bodytext,
.ce-textpic,
.ce-gallery,
.ce-column {
  margin-bottom: 1.5rem;
}

/* ===============================
   Images
   =============================== */
img,
.image-embed-item {
  border-radius: 12px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ===============================
   Content 3-spaltig
   =============================== */
.content-section {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.content-section .col-lg-4,
.content-section .col-md-6,
.content-section .col-md-12 {
  flex: 1 1 100%;
}

@media (min-width: 768px) {
  .content-section .col-md-6 {
    flex: 0 0 48%;
  }
}

@media (min-width: 992px) {
  .content-section .col-lg-4 {
    flex: 0 0 30%;
  }
}

/* ===============================
   Footer
   =============================== */
.footer, .subfooter {
  background-color: #fbe299;
  color: #212529;
  padding: 1.5rem 0;
  text-align: center;
}

.footer a,
.subfooter a {
  color: #3f170e;
  text-decoration: none;
}

.footer a:hover,
.subfooter a:hover {
  color: #a20909;
}

/* ===============================
   Utilities
   =============================== */
.text-center {
  text-align: center !important;
}

.bg-warning {
  background-color: #fbe299 !important;
}

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

/* ===============================
   Mobile Anpassungen
   =============================== */
@media (max-width: 768px) {
  .content-section {
    flex-direction: column;
  }

  .ce-column, .ce-bodytext, .ce-gallery {
    margin-bottom: 1rem;
  }

  .main-navigation a.nav-link {
    padding: 0.75rem;
  }
}
.nav-wrapper {
    display: flex;
    gap: 1rem;
}
.nav-wrapper.open {
    display: flex !important;
}
@media (max-width: 767px) {
    .nav-wrapper {
        display: none;
        flex-direction: column;
        gap: 0;
    }
    .nav-toggle {
        display: block;
        cursor: pointer;
        font-size: 1.5rem;
    }
}

py-4 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

/* Überschriften*/
 h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: #3f170e;
 }
 a h1, a h2, a h3, a h4, a h5, a h6 {
  color: inherit;
  text-decoration: none;
 }

 /* Mobile Navigation Styles */
.nav-wrapper-mobile {
    width: 100%;
    margin-top: 1rem;
}

.mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu .nav-item {
    border-bottom: 1px solid #dee2e6;
}

.mobile-menu .nav-link {
    color: #212529;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background-color 0.3s;
}

.mobile-menu .nav-link:hover {
    background-color: #f8f9fa;
}

.mobile-menu .nav-link.active {
    background-color: #e9ecef;
    color: #0d6efd;
}

/* Desktop Navigation bleibt wie gehabt */
@media (min-width: 768px) {
    .nav-wrapper-mobile {
        display: none !important;
    }
}

/* ===============================
   Ende der TYPO3 Fluid Site Package Styles
 =============================== */
