/* Änderungen an den Buttons */
body {
letter-spacing: 1px;
}

b, strong {
    font-family: Typ1451LLWeb-Medium;
    font-weight: 500 !important;
}

.uk-button {
    padding: 3px 10px 3px 10px;
    line-height: 32px;
    /*font-size: 16px;*/
    /*font-weight: 700;*/
}

/* Zwischenüberschrift A */
.uk-text-lead {
    font-size: 18px;
    line-height: 1.3;
    font-family: 'Typ1451LLWeb-Light', sans-serif;
}

/* frueher umbrechen, linksbuendig, kein zentrierter Rand */
.tm-measure-h1 { max-width: 55ch; }   /* Headline bricht zeitig um */
.tm-measure    { max-width: 50rem; }  /* Lead-Text, laengere Zeile */

.uk-text-large {
    font-size: 20px;
    line-height: 1.4;
}

/* Änderungen an der Navi Drop */
.uk-drop {
border-radius: 9px;
}

.uk-parent {
    padding: 5px 0;
}


/* Produktkarten */
.cortec-produktkarte {
  border-radius: 9px;
  overflow: hidden;
}

.cortec-produktkarte .uk-card-media-top img {
  aspect-ratio: 3 / 2;
  width: 100%;
  height: auto;        /* Höhe ergibt sich aus dem Seitenverhältnis */
  object-fit: cover;   /* füllt das 3:2-Feld, schneidet Überstand sauber ab */
  display: block;      /* entfernt den kleinen Spalt unter inline-Bildern */
}

.uk-search-medium .uk-search-input {
border-radius: 9px;
}


/* Änderungen an den Cards */
.uk-card {
border-radius: 9px;
 transition: transform .28s ease;
 /* outline-style: solid;
  outline-width: 0.25px;*/
  background-color: #ffffff;
}

.uk-card:hover,
.uk-card:focus-within {
  transform: translateY(-4px);
}

/* Pfeil vor den Buttons */
.uk-button-primary::before {
    content: "→";
    margin-right: 4px;
}

.uk-button-default::before {
    content: "→";
    margin-right: 4px;
}

/* Pfeil vor den Buttons */
.uk-button-secondary::before {
    content: "→";
    margin-right: 4px;
}

/* Fix Bold */
b, strong {
    font-weight: 700;
}


/* Text Artikel kleiner*/
.uk-article-title {
    font-size: 2.5rem;
    line-height: 1.5;
}


/* ============================================================
   News-/Blog-Karten  (blog.php  +  z-articles.php Block)
   Eine Datei fuer beide. In die ZeroOne Custom-CSS einfuegen.
   ============================================================ */

.tm-card-cell {
  display: flex;
}

.tm-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
 /* outline-style: solid;
  outline-width: 0.25px;*/
  background-color: #ffffff;
  border-radius: 9px;
  overflow: hidden;
  transition: transform .28s ease;
}
.tm-card:hover,
.tm-card:focus-within {
  transform: translateY(-4px);
}

.tm-card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e3e3e3;
}
.tm-card-image img,
.tm-card-image__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tm-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1rem 1.25rem 1.25rem;
}

/* Titel IMMER blau – Light und Dark, mit und ohne Hover.
   Die zweite Regel sticht UIkits ".uk-light h3"-Farbe auf Dunkel aus
   (hoehere Spezifitaet), sonst wuerde der Titel dort weiss bleiben. */
.tm-card .tm-card-title {
  margin: 0 0 .5rem;
  font-size: 1.05rem;
  line-height: 1.3;
  color: #16619d !important;
}

.tm-card-date {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: .75rem;
  font-size: .85rem;
  color: #6a6a6a;
}

.tm-card > .uk-position-cover {
  z-index: 2;
}

/*
.tm-hover-grey {
  transition: background-color transform .28s ease;
}
.tm-hover-grey:hover,
.tm-hover-grey:focus-within {
  background-color: #efefef;
}


*/


.tm-sidebar-block {
padding: 0px;
}

/* Dunkle Sektionen (UIkit .uk-light): nur Flaechen + Datum anpassen --- braucht es das noch? */

.uk-light .tm-card {
  background: rgba(255, 255, 255, .08);
}
.uk-light .tm-card-image,
.uk-light .tm-card-image__placeholder {
  background: rgba(255, 255, 255, .06);
}
.uk-light .tm-card-date {
  color: rgba(255, 255, 255, .6);
}

/* ============================================================
   tm-cards in uk-primary Sektionen: solide weisse Karte.
   Sticht die transluzente .uk-light-Flaeche aus (gleiche
   Spezifitaet, steht spaeter). Datum + Platzhalter zuruecksetzen,
   sonst waere helles Datum auf Weiss unsichtbar.
   ============================================================ */
.uk-section-muted .tm-card,
.uk-background-muted .tm-card {
  background: #ffffff;
}
.uk-section-primary .tm-card-image,
.uk-section-primary .tm-card-image__placeholder,
.uk-background-primary .tm-card-image,
.uk-background-primary .tm-card-image__placeholder {
  background: #e3e3e3;
}
.uk-section-primary .tm-card-date,
.uk-background-primary .tm-card-date {
  color: #6a6a6a;
}

/* ============================================================
   tm-cards in uk-muted Sektionen: weisse Karte, damit sie sich
   vom hellgrauen Sektionsgrund abhebt. Helle Sektion, daher
   Text/Datum unveraendert lesbar, nur der Hintergrund aendert sich.
   ============================================================ */
   .tm-hero-gradient {
  position: relative;
  display: flex;
  align-items: flex-end;   /* Inhalt vertikal nach unten */
  min-height: 60vh;        /* schafft erst den vertikalen Raum, Wert nach Geschmack */
}
.tm-hero-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;   /* folgt uk-border-rounded */
  background: linear-gradient(to top right,
              rgba(22, 97, 157, 1),
              rgba(22, 97, 157, 0.3));
  pointer-events: none;
  z-index: 0;
}
.tm-hero-gradient > * { position: relative; z-index: 1; }

.tm-hero-gradient > .uk-container {
  width: 100%;
  margin-left: 0;          /* Auto-Zentrierung aufheben, Block wandert nach links */
  margin-right: 0;
}

.tm-hero-content {
  padding-left: 25px !important;
  padding-bottom: 25px !important;
  padding-right: 25px;   /* optional, symmetrisch */
  padding-top: 0;        /* optional */
}

/* Breadcrumb */
    
.uk-breadcrumb>:nth-child(n+2):not(.uk-first-column)::before {
    content: "/";
    margin: 0 5px;
}

.uk-breadcrumb>*>* {
    font-size: 1rem;
    color: #6e6e6d;
}

.uk-overlay-gradient {
background-image: linear-gradient(to bottom left, rgb(22 97 157 / 0.30), rgb(22 97 157));
}


.uk-navbar-container:not(.uk-navbar-transparent) {
border-bottom: 1px solid #efefef;
}

/* Fehlerquelle? p,
p, ul, ol, dl, pre, address, fieldset, figure {
    margin: 0 0 0 0; 
}*/

/* ausblenden leerer Spalten im Layoutbuilder */
@media (max-width: 959px) {
  [class*="uk-width-"].uk-grid-margin:not(:has(*)) {
    display: none;
  }
}

/* Anpassung Kontaktformular */
.uk-input, .uk-select, .uk-textarea {
    border-radius: 9px;
}

.uk-drop {
  top: 65px !important;
}

.uk-navbar-transparent .uk-drop {
  top: 75px !important;
}

/*
h3, .uk-h3 {
    font-size: 1.25rem;
    line-height: 1.4;
    font-family: 'Typ1451LLWeb-Light', sans-serif;
}*/


.uk-navbar-dropdown-nav .uk-nav-divider {
    border-top: none;
}

.uk-navbar-dropdown .uk-drop-grid>.uk-grid-margin {
    margin-top: 0px;
}

.uk-nav .uk-nav-divider {
    margin: 0px 0;
}

.uk-navbar-dropdown-width-2:not(.uk-drop-stack) {
    width: 270px;
}

.uk-navbar-dropdown-nav .uk-nav-header {
    font-family: 'Typ1451LLWeb-Light', sans-serif;
    font-weight: 300;
}


.uk-nav-header ~ li > a {
  padding-left: 0.75rem;
}

.uk-nav-header {
    padding: 0px 0; */
}

/*
.uk-nav-header ~ li > a {
  padding-left: 1.5rem;
  position: relative;
}
.uk-nav-header ~ li > a::before {
  content: "–";
  position: absolute;
  left: 0.5rem;
  color: var(--text-secondary);
}
*/

.uk-light .uk-label {
background-color: transparent;
color: #efefef;
outline: 1px solid #efefef;
border-radius: 9px;
}

.uk-marker {
    padding: 5px;
    background: #013d69;
    color: #ffffff;
    border-radius: 9px;
}

.uk-marker:hover {
    background: #b5a67b;
}

.uk-pagination>.uk-active>* {
    border-radius: 9px;
}

.tm-vert-nav {
font-size: 20px;
}