
/* ============================================================
   NAV – Akadeum
   Desktop Dropdown + Mobile Offcanvas
   ============================================================ */

/* -------------------------
   DESKTOP NAV
------------------------- */
.uk-navbar-nav > li > a {
  position: relative;
  color: #595959;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  transition: color 0.2s ease;
}

.uk-navbar-nav > li > a:hover,
.uk-navbar-nav > li.uk-active > a,
.uk-navbar-nav > li.uk-parent > a:hover {
  color: #595959;
}

.uk-navbar-nav > li > a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 60%;
  width: 0;
  height: 2px;
  background: #F7B70C;
  transform: translateY(6px);
  transition: width 0.22s ease;
}

.uk-navbar-nav > li > a:hover::before,
.uk-navbar-nav > li.uk-active > a::before,
.uk-navbar-nav > li.uk-parent > a:hover::before {
  width: 22px;
}


/* -------------------------
   DESKTOP DROPDOWN
------------------------- */
.uk-navbar-dropdown {
  background: #fff;
  min-width: 220px;
  margin-top: 10px;
  padding: 20px 24px;
  border-radius: 0;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.uk-navbar-dropdown-nav > li > a {
  color: #7d7d7d;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.uk-navbar-dropdown-nav > li > a:hover,
.uk-navbar-dropdown-nav > li.uk-active > a {
  color: #111;
}

/* -------------------------
   MOBILE / OFFCANVAS
------------------------- */
.tm-header-mobile .uk-navbar-toggle {
  color: #4A4D64 !important;
}

.tm-header-mobile .uk-navbar-toggle:hover {
  color: #4A4D64 !important;
}

.uk-offcanvas-bar {
  background: #162A4A;
}

.uk-offcanvas-bar .uk-nav-default > li {
  margin-bottom: 8px;
}

.uk-offcanvas-bar .uk-nav-default > li > a {
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 15px 0;
  transition: color 0.2s ease;
}

.uk-offcanvas-bar .uk-nav-default > li > a:hover,
.uk-offcanvas-bar .uk-nav-default > li.uk-active > a {
  color: #fff;
}

/* Untermenü-Toggle */
.uk-offcanvas-bar .uk-nav-parent-icon > .uk-parent > a::after,
.uk-offcanvas-bar .uk-nav-parent-icon > .uk-parent > span::after {
  color: rgba(255,255,255,0.6);
}

/* Subnav */
.uk-offcanvas-bar .uk-nav-sub {
  margin-top: 10px;
  padding-left: 16px;
}

.uk-offcanvas-bar .uk-nav-sub a {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 0;
}

.uk-offcanvas-bar .uk-nav-sub a:hover,
.uk-offcanvas-bar .uk-nav-sub li.uk-active > a {
  color: #fff;
}

/* ============================================================
   HEADER
   Logo + Sticky Shrink
   ============================================================ */

/* -------------------------
   DESKTOP
------------------------- */

/* Default */
.tm-header .uk-logo img {
  width: 250px;
  height: auto;
  transition: width 0.3s ease-in-out;
}

.tm-header .uk-navbar-item,
.tm-header .uk-navbar-nav > li > a,
.tm-header .uk-navbar-toggle {
  min-height: 70px;
  transition: min-height 0.3s ease-in-out;
  display: flex;
  align-items: center;
}

/* Scroll */
.tm-header.is-scrolled .uk-logo img {
  width: 180px;
}

.tm-header.is-scrolled .uk-navbar-item,
.tm-header.is-scrolled .uk-navbar-nav > li > a,
.tm-header.is-scrolled .uk-navbar-toggle {
  min-height: 50px;
}

/* ============================================================
   MOBILE PORTRAIT
   sticky + shrink on scroll
   ============================================================ */

@media (max-width: 959px) and (orientation: portrait) {

  .tm-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    overflow: hidden;
  }

  .tm-header .uk-navbar-container,
  .tm-header .uk-navbar,
  .tm-header .uk-navbar-item,
  .tm-header .uk-logo,
  .tm-header .uk-navbar-toggle {
    min-height: 60px !important;
    height: 60px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    transition:
      min-height 0.3s ease-in-out,
      height 0.3s ease-in-out;
  }

  .tm-header .uk-logo {
    display: flex;
    align-items: center;
  }

  .tm-header .uk-logo img {
    width: 200px !important;
    max-width: none !important;
    height: auto;
    transform: scale(1);
    transform-origin: left center;
    transition: transform 0.3s ease-in-out;
  }

  .tm-header.is-scrolled .uk-navbar-container,
  .tm-header.is-scrolled .uk-navbar,
  .tm-header.is-scrolled .uk-navbar-item,
  .tm-header.is-scrolled .uk-logo,
  .tm-header.is-scrolled .uk-navbar-toggle {
    min-height: 48px !important;
    height: 48px !important;
  }

  .tm-header.is-scrolled .uk-logo img {
    transform: scale(0.83);
  }

}

/* ============================================================
   MOBILE LANDSCAPE
   kompakt
   ============================================================ */

@media (max-width: 768px) and (orientation: landscape) {

  .tm-header-mobile {
    position: relative;
  }

  .tm-header-mobile .uk-navbar-container,
  .tm-header-mobile .uk-navbar,
  .tm-header-mobile .uk-logo {
    min-height: 44px;
  }

  .tm-header-mobile .uk-navbar,
  .tm-header-mobile .uk-logo {
    display: flex;
    align-items: center;
  }

  .tm-header-mobile .uk-logo img {
    width: 200px;
    height: auto;
    margin-bottom:5px;
  }

  .tm-header-mobile .uk-navbar-toggle {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ============================================================
   EYEBROW WITH LINE
   ============================================================ */

.eyebrow-line {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #6F6F6F;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-family: 'Inter';
}

.eyebrow-line::before {
  content: "";
  width: 32px;
  height: 2px;
  background: #F7B70C;
  display: inline-block;
}

/* ==========================================
   TEXT BUTTON WITH ARROW + LINE
   ========================================== */

.btn-outline-custom {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* LINE */
.btn-outline-custom::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -15px;
    width: 100%;
    height: 1px;
    background: #595959;
    transform-origin: left;
    transition: transform 0.35s ease;
}

/* ARROW */
.btn-outline-custom::after {
    content: "↓";
    font-size: 1rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

/* HOVER */
.btn-outline-custom:hover {
    color: #595959;
}

.btn-outline-custom:hover::after {
    transform: translateY(4px);
}

.btn-outline-custom:hover::before {
    transform: scaleX(1.08);
}

/* ==========================================
   BUTTON Header
   ========================================== */

.akadeum-header-button {
    min-height: 34px;
    padding: 0 14px;

    font-size: 0.68rem;
    letter-spacing: 0.08em;

    transform: scale(0.92);
    transform-origin: center right;
	
}

.tm-header.is-scrolled .akadeum-header-button {
    transform: scale(0.9);
    transform-origin: center;
}

@media (max-width: 959px) {

    .akadeum-header-button {
        min-height: 34px;
        padding: 0 14px;
        font-size: 0.68rem;
    }

}

/* ============================================================
   HIGHLIGHT (headline-accent)
   ============================================================ */

.headline-highlight {
  font-style: italic;
}

.headline-secondary {
  color: #BFBFBF;
}


/* ============================================================
   HIGHLIGHT (text-accent)
   ============================================================ */

.text-highlight {
  color: #F7B70C;
}

/* ============================================================
   Akkordeon
   ============================================================ */

/* Original SVG ausblenden */
.uk-accordion-title .uk-accordion-icon svg {
  display: none;
}

/* Custom Pfeil */
.uk-accordion-title .uk-accordion-icon::before {
  content: "›";
  font-size: 20px;
  font-weight: 600;
  display: inline-block;
  transform: rotate(90deg);
  color:  #f4c400; 
  transition: all 0.2s ease;
}

/* Hover + aktiv = gelb */
.uk-accordion-title:hover .uk-accordion-icon::before,
.uk-open .uk-accordion-title .uk-accordion-icon::before {
  color: #999;
}

/* Rotation bei offenem Zustand */
.uk-open .uk-accordion-title .uk-accordion-icon::before {
  transform: rotate(-90deg);
}


/* ============================================================
   AUSSENABSTAND MOBIL
   ============================================================ */
@media (max-width: 1024px) {
  .uk-container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* ============================================================
   CONTENT JCE – Kontakt
   ============================================================ */

.contact-box {
    max-width: 400px;
}


/* ============================================================
   IMPRESSUM
   ============================================================ */

.legal-table {
  max-width: 980px;
}

.legal-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  padding: 22px 0 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.legal-row:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.legal-label {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.4;
  color: #222;
}

.legal-value {
  font-size: 1rem;
  line-height: 1.55;
  color: #222;
}

.legal-value a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.22);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.legal-value a:hover {
  color: #f4c400;
  border-bottom-color: #f4c400;
}

@media (max-width: 900px) {
  .legal-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 0 16px;
  }

  .legal-label {
    font-size: 0.95rem;
  }
}

/* ============================================================
   Footer
   ============================================================ */

footer,
footer p,
footer a,
footer .el-content {
  color: #FFFFFF;
}

footer a {
  text-decoration: none;
}

footer a:hover {
  color: #CFE3FA;
}

.footer-divider hr {
  border-top-color: rgba(169,190,218,0.22) !important;
}
/* ============================================================
   Formular
   ============================================================ */


.rsform a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

#userForm #Antispam {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;

  background: transparent !important;
  border: 0 !important;

  padding: 0 !important;
  min-height: auto !important;

  font-size: 13px !important;
  line-height: 1.2 !important;

  box-shadow: none !important;
}

#userForm #Antispam svg {
  width: 18px !important;
  height: 18px !important;
}


#userForm #senden {
  background: transparent !important;
  color: #1a1a1a !important;
  border: 1px solid #F7B70C !important;

  padding: 12px 26px !important;
  min-height: auto !important;
  line-height: 1.2 !important;

  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;

  cursor: pointer !important;
  box-shadow: none !important;
}

#userForm #senden:hover {
  border-color: #1a1a1a!important;
  color: #111 !important;
}

#userForm .rsform-block-hinweis-dsgvo p{
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 520px;
  color: rgba(0,0,0,0.72);
}

#userForm #Antispam,
#userForm #Antispam *{
  color: #111 !important;
  -webkit-text-fill-color: #111 !important;
}


/* ============================================================
   COOKIE SETTINGS ICON
   ============================================================ */

.cookie-settings-icon {
  position: fixed;
  left: 16px;
  bottom: 10px;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;

  transform: translateY(10px);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.cookie-settings-icon.is-visible {
  opacity: 0.9;
  pointer-events: auto;

  transform: translateY(0);
}

.cookie-settings-icon:hover {
  opacity: 1;
}

.cookie-settings-icon img {
  display: block;
  object-fit: contain;
}

/* ============================================================
   STN — FRONTEND EDITING SYSTEM
   ============================================================ */
/* ============================================================
   FRONTEND EDITOR — WIDTH
   ============================================================ */

.edit.item-page {
  max-width: 900px;
  margin: 0 auto;
}

/* ============================================================
   JCE / EDITOR CLEANUP
   ============================================================ */

#editor-xtd-buttons a[href*="customizer"] {
  display: none !important;
}

/* ============================================================
   FIXED EDIT BUTTON AUSBLENDEN (YOOtheme/Joomla) Änderung Index.php
   ============================================================ */

body.itemid-101 a[href*="task=article.edit"].uk-position-bottom-right {
  display: none !important;
}
/* ============================================================
   JOOMLA FRONTEND EDITOR
   ============================================================ */

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */

.edit.item-page .btn,
.edit.item-page button.btn,
.edit.item-page a.btn {
  background: #fff !important;
  border: 1px solid #B8B8B8 !important;
  color: #333 !important;
  box-shadow: none !important;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.edit.item-page .btn:hover {
  background: #F5F5F5 !important;
  border-color: #777 !important;
  color: #111 !important;
}

/* Primary Actions */
.edit.item-page button[data-submit-task*="save"],
.edit.item-page button[data-submit-task*="apply"],
.edit.item-page button[data-submit-task*="save2copy"] {
  background: #3A3A3A !important;
  border-color: #3A3A3A !important;
  color: #fff !important;
}

.edit.item-page button[data-submit-task*="save"]:hover,
.edit.item-page button[data-submit-task*="apply"]:hover,
.edit.item-page button[data-submit-task*="save2copy"]:hover {
  background: #111 !important;
  border-color: #111 !important;
  color: #fff !important;
}

/* Cancel */
.edit.item-page button[data-submit-task*="cancel"],
.edit.item-page .btn-danger {
  background: #fff !important;
  border-color: #B8B8B8 !important;
  color: #555 !important;
}

/* Secondary */
.edit.item-page .btn-secondary {
  background: #fff !important;
  border-color: #B8B8B8 !important;
  color: #333 !important;
}

/* ============================================================
   FRONTEND EDITOR — FORM STRUCTURE
   ============================================================ */

/* Field Groups */
.edit.item-page .control-group {
  padding: 18px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* Labels */
.edit.item-page .control-label {
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
}

/* Values / Controls */
.edit.item-page .controls {
  color: #333;
}

/* Inputs */
.edit.item-page input,
.edit.item-page textarea,
.edit.item-page select {
  border: 1px solid rgba(0,0,0,0.18);
  padding: 10px 12px;
}


/* ============================================================
   FRONTEND EDITOR — TABS
   ============================================================ */

.edit.item-page .nav-tabs {
  border-bottom: 1px solid rgba(0,0,0,0.12);
  margin-bottom: 28px;
}

.edit.item-page .nav-tabs .nav-link.active {
  background: #f4c400;
  color: #111;
}


/* ============================================================
   STN EDIT LINKS
   ============================================================ */

.stn-section {
  position: relative;
}

.stn-edit-link {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 10px;

  font-size: 0.75rem;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;

  text-decoration: none;
  transition: all 0.2s ease;
}


/* ------------------------------------------------------------
   Light Sections
   ------------------------------------------------------------ */

.uk-section-default .stn-edit-link,
.uk-section-muted .stn-edit-link {
  background: rgba(0,0,0,0.85);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}

.uk-section-default .stn-edit-link:hover,
.uk-section-muted .stn-edit-link:hover {
  background: #f4c400;
  color: #111;
  border-color: #f4c400;
}


/* ------------------------------------------------------------
   Dark Sections
   ------------------------------------------------------------ */

.uk-light .stn-edit-link,
.uk-section-dark .stn-edit-link,
.uk-section-secondary .stn-edit-link {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.45);
}

.uk-light .stn-edit-link:hover,
.uk-section-dark .stn-edit-link:hover,
.uk-section-secondary .stn-edit-link:hover {
  background: #fff;
  color: #111;
  border-color: #fff;
  text-decoration: none;
}

/* ============================================================
   FRONTEND EDITOR — ICON FALLBACKS
   ============================================================ */

/* Upload-Icon im Media Field */
.edit.item-page .wf-media-upload-button .icon-upload::before {
  content: "↑";
  display: inline-block;
  font-family: Arial, sans-serif !important;
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
}

/* Löschen-Button im Media Field */
.edit.item-page .button-clear::before {
  content: "×";
  display: inline-block;
  font-family: Arial, sans-serif !important;
  font-style: normal;
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
}

/* Kalender-Icon */
.edit.item-page .icon-calendar::before {
  content: "▦";
  display: inline-block;
  font-family: Arial, sans-serif !important;
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 639px) {

  .stn-edit-link {
    font-size: 0.8rem;
    padding: 8px 12px;
  }

}


