h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    line-height: 1.1;
}

.uk-tile-default {
    border-radius: 20px;
}

/* ==========================================
   TERMINE GRID - YooTheme Custom Styles
   ========================================== */
/* ==========================================
   TERMINE GRID - YooTheme Custom Styles
   ========================================== */

/* Grid: Flexbox statt feste Spalten */
.termine-grid .uk-grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 0;
}

@media (max-width: 1400px){
    .termine-grid .uk-grid {
        flex-wrap: wrap;
    }
}

@media (max-width: 960px){
    .termine-grid .uk-grid .el-item {
        justify-content: center;
    }
}

/* Grid Items: Nur so breit wie nötig */
.termine-grid .uk-grid > div {
  padding-right: 32px;
}


/* Trennlinie zwischen Items */
.termine-grid .uk-grid > div:not(.uk-first-column) {
  border-left: 1px solid rgba(255,255,255,0.15);
  padding-left: 32px;
}

/* Tag (Headline H3) - Große Teal-Zahl */
.termine-grid .el-title {
  color: #009bb5 !important;
  font-family: 'DM Serif Display', serif !important;
  font-size: 1.5rem !important;
  font-weight: normal !important;
  margin-bottom: 0 !important;
  display: inline !important;
}

/* Monat (Meta) - Inline neben Tag */
.termine-grid .el-meta {
  color: rgba(255,255,255,0.7) !important;
  font-size: 0.875rem !important;
  margin-top: 0 !important;
  display: inline !important;
  margin-left: 6px !important;
  text-transform: none !important;
  font-weight: 500;
}

/* Titel (Content) - Inline neben Monat */
.termine-grid .el-content {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 0 !important;
  display: inline;
  margin-left: 12px;
}

/* Item: Alles in einer Zeile */
.termine-grid .el-item {
  display: flex;
  align-items: baseline;
  white-space: nowrap;
}

    /* ═══════════════════════════════════════════════════════════
   PROGRESS BAR ELEMENT
   Custom YooTheme Element
   ═══════════════════════════════════════════════════════════ */

/* Container */
.el-progress-bar {
    width: 100%;
}

/* Header mit Label und Wert */
.el-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.4rem;
}

.el-progress-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6B6660;
}

.el-progress-value {
    font-size: 0.75rem;
    font-weight: 700;
    color: #1A1A1A;
}

/* Track (Hintergrund) */
.el-progress-track {
    width: 100%;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

/* Größen */
.el-progress-bar-small .el-progress-track {
    height: 4px;
}

.el-progress-bar-default .el-progress-track {
    height: 6px;
}

.el-progress-bar-large .el-progress-track {
    height: 8px;
}

/* Fill (Fortschritt) */
.el-progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s ease;
}

/* Farben */
.el-progress-fill-blue {
    background: #0D4A8C;
}

.el-progress-fill-red {
    background: #C1272D;
}

.el-progress-fill-gray {
    background: #6B6660;
}

.el-progress-fill-green {
    background: #2D8C4A;
}

/* Animation */
.el-progress-bar-animated .el-progress-fill {
    animation: progressFillIn 1s ease forwards;
}

@keyframes progressFillIn {
    from {
        width: 0 !important;
    }
}

:root {
    --progress-blue: #0D4A8C;
    --progress-red: #C1272D;
    --progress-gray: #6B6660;
    --progress-green: #2D8C4A;
    --progress-track-bg: rgba(0, 0, 0, 0.08);
    --progress-label-color: #6B6660;
}

.el-progress-fill-blue { background: var(--progress-blue); }
.el-progress-fill-red { background: var(--progress-red); }
.el-progress-fill-gray { background: var(--progress-gray); }
.el-progress-fill-green { background: var(--progress-green); }
.el-progress-track { background: var(--progress-track-bg); }
.el-progress-label { color: var(--progress-label-color); }

@media (max-width: 640px) {
    .termine-grid .uk-grid > div {
        padding-right: 0px;
    }
    
    .termine-grid .el-content, .termine-grid .el-meta {
        margin-left: 0;
    } 
}
