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

/* -------------------------
   DESKTOP NAV
------------------------- */
.uk-navbar-nav > li > a {
  position: relative;
  color: #222222;
  font-size: 1rem;
  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: #222222;
}

.uk-navbar-nav > li > a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 60%;
  width: 0;
  height: 3px;
  background: #2f6b3f;
  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: 35px;
}


/* -------------------------
   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
   ============================================================ */

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

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


/* Offcanvas-Fläche */
.uk-offcanvas-bar{
    background:#fff;
    color:#222;
    
}


/* Schließen-Button */
.uk-offcanvas-bar .uk-offcanvas-close{
    color:#4A4D64 !important;
}

.uk-offcanvas-bar .uk-offcanvas-close:hover{
    color:#2f6b3f !important;
}


/* Hauptmenü */
.uk-offcanvas-bar .uk-nav-default{
     margin-top: 42px;
}

.uk-offcanvas-bar .uk-nav-default > li{
    margin:0;
    border-bottom:1px solid #e7e7e7;
}

.uk-offcanvas-bar .uk-nav-default > li:first-child{
    border-top:1px solid #e7e7e7;
}

.uk-offcanvas-bar .uk-nav-default > li > a{
    color:#222 !important;
    font-size:.9rem;
    font-weight:400;
    letter-spacing:.12em;
    text-transform:uppercase;
    padding:17px 0;
    transition:
        color .2s ease,
        padding-left .2s ease;
}

.uk-offcanvas-bar .uk-nav-default > li > a:hover,
.uk-offcanvas-bar .uk-nav-default > li.uk-active > a{
    color:#2f6b3f !important;
    padding-left:4px;
}


/* 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:#4A4D64;
}

.uk-offcanvas-bar .uk-nav-parent-icon > .uk-parent > a:hover::after,
.uk-offcanvas-bar .uk-nav-parent-icon > .uk-parent.uk-open > a::after{
    color:#2f6b3f;
}


/* Untermenü */
.uk-offcanvas-bar .uk-nav-sub{
    margin:0;
    padding:0 0 10px 16px;
}

.uk-offcanvas-bar .uk-nav-sub li{
    border:0;
}

.uk-offcanvas-bar .uk-nav-sub a{
    color:#666 !important;
    font-size:.82rem;
    font-weight:400;
    letter-spacing:.08em;
    text-transform:uppercase;
    padding:7px 0;
    transition:color .2s ease;
}

.uk-offcanvas-bar .uk-nav-sub a:hover,
.uk-offcanvas-bar .uk-nav-sub li.uk-active > a{
    color:#2f6b3f !important;
}

/* ============================================================
   HEADER
   Desktop + Mobile Sticky Shrink
   Die Klasse .is-scrolled sitzt auf .tm-header
   ============================================================ */


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

.tm-header .uk-logo img {
  width: 225px;
  height: auto;
  margin-top: 10px;
  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;
  display: flex;
  align-items: center;
  transition: min-height 0.3s ease-in-out;
}

/* Desktop gescrollt */
.tm-header.is-scrolled .uk-logo img {
  width: 150px;
}

.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 + TABLET
------------------------- */

@media (max-width: 959px) {

  /* Mobile Header wird sticky */
  .tm-header-mobile {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
  }

  .tm-header-mobile .uk-navbar-container,
  .tm-header-mobile .uk-navbar,
  .tm-header-mobile .uk-navbar-item,
  .tm-header-mobile .uk-logo,
  .tm-header-mobile .uk-navbar-toggle {
    min-height: 64px !important;
    height: 64px !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-mobile .uk-logo {
    display: flex;
    align-items: center;
  }

  /* Handy – Normalansicht */
  .tm-header-mobile .uk-logo img {
    width: 155px !important;
    max-width: none !important;
    height: auto;
    margin: 0 !important;
    transition: width 0.3s ease-in-out;
  }

  /* Gescrollt: Klasse sitzt auf .tm-header */
.tm-header-mobile.is-scrolled .uk-navbar-container,
.tm-header-mobile.is-scrolled .uk-navbar,
.tm-header-mobile.is-scrolled .uk-navbar-item,
.tm-header-mobile.is-scrolled .uk-logo,
.tm-header-mobile.is-scrolled .uk-navbar-toggle {
  min-height: 50px !important;
  height: 50px !important;
}

.tm-header-mobile.is-scrolled .uk-logo img {
  width: 125px !important;
}

}


/* -------------------------
   TABLET – Logo normal kleiner
------------------------- */

@media (min-width: 640px) and (max-width: 959px) {

  .tm-header-mobile .uk-logo img {
    width: 140px !important;
  }

  .tm-header.is-scrolled .tm-header-mobile .uk-logo img {
    width: 125px !important;
  }

}


/* -------------------------
   iPHONE QUERFORMAT
   Header nicht sticky
------------------------- */

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

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

  .tm-header-mobile .uk-logo img {
    width: 140px !important;
  }

}


/* ============================================================
   HERO STARTSEITE
   ============================================================ */

/* Desktop */
@media (min-width: 960px) {

  .hero-fettik {
    margin-right: calc(50% - 50vw);
  }

  .hero-fettik > div > .uk-flex {
    min-height: clamp(650px, 62vw, 900px) !important;
  }

}


/* Tablet und Handy */
@media (max-width: 959px) {

  /* Textspalte: natürliche Höhe */
  .hero-fettik > div:first-child > .uk-flex {
    min-height: 0 !important;
  }

  /* Bildspalte */
  .hero-fettik > div:nth-child(2) > .uk-flex {
    min-height: clamp(380px, 66vw, 520px) !important;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
  }

  /* Hintergrundbild hineinzoomen */
  .hero-fettik > div:nth-child(2) .uk-background-cover {
    position: absolute;
    inset: 0;
    transform: scale(1.18) translateX(6%);
  }

}

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

  .hero-fettik > div:nth-child(2) .uk-background-cover {
    transform: none !important;
    background-size: cover !important;
    background-position: 30% center !important;
  }

}

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

.btn-line a,
a.btn-line,
.btn-line .uk-button {
  display: inline-block;
  position: relative;
  padding: 0 0 12px 0;
  background: none;
  border: 0;
  color: #222;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 21px;
}

.btn-line a::after,
a.btn-line::after,
.btn-line .uk-button::after {
  content: "";
  display: block;
  width: 38px;
  height: 3px;
  margin-top: 6px;
  background: #2f6b3f;
  transition: width 0.25s ease;
}

.btn-line a:hover::after,
a.btn-line:hover::after,
.btn-line .uk-button:hover::after {
  width: 64px;
}


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

.headline-line {
  display: flex;
  align-items: center;
  gap: 20px;
}

.headline-line::before {
  content: "";
  width: 72px;
  height: 4px;
  background: #2f6b3f;
  flex-shrink: 0;
}

/* Tablet + Handy */
@media (max-width: 959px) {
  .headline-line {
    gap: 14px;
  }

  .headline-line::before {
    width: 48px;
    height: 3px;
  }
}

@media (max-width: 639px) {
  .headline-line {
    gap: 12px;
  }

  .headline-line::before {
    width: 40px;
    height: 2px;
  }
}


/* ============================================================
   HEADLINE TOP
   ============================================================ */

.headline-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.headline-top::before {
    content: "";
    width: 72px;
    height: 4px;
    background: #2f6b3f;
    flex-shrink: 0;
}

/* Tablet + Handy */
@media (max-width: 959px) {

    .headline-top {
        gap: 14px;
    }

    .headline-top::before {
        width: 48px;
        height: 3px;
    }

}

@media (max-width: 639px) {

    .headline-top {
        gap: 12px;
    }

    .headline-top::before {
        width: 40px;
        height: 2px;
    }

}

/* ============================================================
   BOX Leistungen
   ============================================================ */

.box {
    width: 520px;
    margin-left: auto !important;
    margin-right: 0 !important;
}

@media (max-width: 959px) {
    .box {
        width: 100%;
        max-width: none;
        margin-left: 0 !important;
    }
}

/* ============================================================
   SEKTION ABSTAND MOBIL
   ============================================================ */

/* iPad / Tablet */
@media (min-width: 768px) and (max-width: 1199px) {

  .section-plan > .uk-section-xlarge-top {
    padding-top: 4.8rem !important;
  }

}

/* Handy Hochformat */
@media (max-width: 767px) and (orientation: portrait) {

  .section-plan > .uk-section-xlarge-top {
    padding-top: 3rem !important;
  }

}

/* Handy Querformat */
@media (max-width: 767px) and (orientation: landscape) {

  .section-plan > .uk-section-xlarge-top {
    padding-top: 2rem !important;
  }

}


/* ============================================================
   AKKORDEON
   ============================================================ */

/* Titel */
.uk-accordion-title {
    font-weight: 600;
}

/* Icon */
.uk-accordion-title .uk-accordion-icon svg {
    display: none;
}

.uk-accordion-title .uk-accordion-icon::before {
    content: "›";
    display: inline-block;
    font-size: 20px;
    font-weight: 600;
    color: #2f6b3f;
    transform: rotate(90deg);
    transition: .2s ease;
}

.uk-open .uk-accordion-title .uk-accordion-icon::before {
    transform: rotate(-90deg);
    color: #999;
}

.uk-accordion-title:hover .uk-accordion-icon::before {
    color: #999;
}

/* Inhalt */
.uk-accordion-content {
    background: #f5f5f2;
    padding: 24px 28px;
    margin: 12px 0 20px;
}

/* ============================================================
   PAGINATION (Projekte und Artikel)
   ============================================================ */

.stn-project-pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid rgba(0,0,0,.12);
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: .06em;
}

.stn-project-pagination a {
  color: #111;
  text-decoration: none;
  white-space: nowrap;
}

.stn-project-pagination-prev {
  justify-self: start;
}

.stn-project-pagination-status {
  justify-self: center;
  text-align: center;
  white-space: nowrap;
}

.stn-project-pagination-next {
  justify-self: end;
}

.stn-project-pagination a:hover {
  color: #2f6b3f;
}

/* Mobile */
@media (max-width: 640px) {
  .stn-project-pagination {
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
    margin-top: 55px;
    padding-top: 24px;
    font-size: 13px;
  }

  .stn-project-pagination-status {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: center;
  }

  .stn-project-pagination-prev {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }

  .stn-project-pagination-next {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    text-align: right;
  }
}

/* =========================================================
   Impressum – zweispaltig mit Linien
   ========================================================= */
.impressum-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    column-gap: 2rem;
    row-gap: 0;
    border-top: 1px solid #e5e5e5;
}

.impressum-grid > div {
    padding: 0.85rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.impressum-grid > div:nth-child(odd) {
    font-weight: 600;
    padding-right: 2rem;
}

.impressum-grid a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.impressum-grid a:hover {
    color: #2f6b3f;
}

@media (max-width: 767px) {

    .impressum-grid {
        grid-template-columns: 1fr;
    }

    .impressum-grid > div:nth-child(odd) {
        padding-bottom: .25rem;
        border-bottom: 0;
    }

    .impressum-grid > div:nth-child(even) {
        padding-top: 0;
    }

}


/* ============================================================
   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 li {
    font-size: 0.85rem;
    line-height: 1.5;
}

footer a {
    text-decoration: none;
}

/* Copyright */
footer .copyright,
footer .copyright p,
footer .copyright a {
    font-size: 0.75rem !important;
    line-height: 1.4;
    opacity: 0.8;
}

/* ============================================================
   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;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;

    color: #222 !important;

    padding: 0 !important;
    margin: 0 !important;
    min-height: auto !important;
    line-height: 1.2 !important;

    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;

    position: relative;
    cursor: pointer;
    transition: color .25s ease;
}

/* Grüne Linie */
#userForm #senden::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 44px;
    height: 3px;
    background: #2f6b3f;
    transition: width .25s ease;
}

/* Hover */
#userForm #senden:hover{
    color: #000 !important;
}

#userForm #senden:hover::after{
    width: 60px;
}

#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;
}



/* ============================================================
   Cookie-Einstellungen
   ============================================================ */

/* Hauptüberschrift */
.tm-consent + .uk-position-z-index-highest .uk-modal-dialog.uk-modal-body > .uk-h4{
    font-size:28px;
    font-weight:500;
    line-height:1.2;
    letter-spacing:.04em;
    text-transform:uppercase;
    margin:0 0 22px;
}

/* Einleitung */
.tm-consent + .uk-position-z-index-highest .uk-modal-dialog.uk-modal-body > .uk-text-small{
    font-size:16px;
    line-height:1.7;
    color:#555;
    margin:0 0 22px;
}

/* Überschriften */
.tm-consent + .uk-position-z-index-highest .uk-modal-dialog.uk-modal-body .uk-h6{
    font-size:17px;
    font-weight:600;
    line-height:1.3;
    letter-spacing:.08em;
    text-transform:uppercase;
    margin:8px 0 0;
}

/* Beschreibung unter den Überschriften */
.tm-consent + .uk-position-z-index-highest .uk-modal-dialog.uk-modal-body .uk-h6 + .uk-text-small.uk-margin-small-top{
    margin-top:3px !important;
}

.tm-consent + .uk-position-z-index-highest .uk-modal-dialog.uk-modal-body .uk-h6 + .uk-text-small{
    font-size:16px;
    line-height:1.6;
    color:#555;
    margin:0;
}

/* Abstand zwischen den Kategorien */
.tm-consent + .uk-position-z-index-highest .uk-modal-dialog.uk-modal-body > .uk-grid + .uk-grid{
    margin-top:22px !important;
}

/* Google Maps */
.tm-consent + .uk-position-z-index-highest .uk-modal-dialog.uk-modal-body .uk-list{
    margin-top:8px;
    margin-bottom:22px;
    margin-left:0;
}

.tm-consent + .uk-position-z-index-highest .uk-modal-dialog.uk-modal-body .uk-list li{
    font-size:15px;
    line-height:1.45;
}


/* ============================================================
   Kontaktinformationen
   ============================================================ */


.contact-row{
    display:grid;
    grid-template-columns:120px 1fr;
    gap:20px;
    padding:7px 0;
    border-bottom:1px solid #e7e7e7;

    font-size:17px;
    line-height:1.8;
}

.contact-row span:last-child{
    text-align:right;
}

.contact-person{
    margin-top:18px;
    padding-bottom:4px;
}

.contact-details a{
    color:inherit;
    text-decoration:none;
    text-underline-offset:2px;
}

.contact-details a:hover{
    color:#2f6b40;
}

@media (max-width:639px){

    .contact-row{
        grid-template-columns:1fr;
        gap:2px;
    }

    .contact-row span:last-child{
        text-align:left;
    }

}


/* ============================================================
   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;
  }

}







