/* Hero-Tagline: Cormorant Garamond italic */
.hero-tagline em {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(20px, 1.8vw, 26px) !important;
  font-style: italic !important;
  opacity: 0.92;
  display: block;
  letter-spacing: 0.01em !important;
}

/* Stats-Zeile: kleiner, Support-Rolle */
.hero-stats p {
  font-size: 14px !important;
  opacity: 0.85;
  line-height: 1.6 !important;
}

.hero-eyebrow p {
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.18em !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 500 !important;
  opacity: 0.75;
  margin-bottom: 16px !important;
}

.uk-button {
  border-radius: 4px;
  display: inline-block;
  box-sizing: border-box;
  padding: 14px 28px;
  vertical-align: middle;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-right: 5px;
  white-space: inherit;
  max-width: 100%;
  font-weight: 600;
  overflow: hidden;
}

/* In Site Settings → Custom CSS einfügen */ h1.uk-h1 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -0.02em; line-height: 1.05; } h2.uk-h2 { font-size: clamp(28px, 4vw, 48px); letter-spacing: -0.02em; line-height: 1.1; }

/* Teal-Akzentlinie + Schatten auf Karten */ .uk-card { border-top: 2px solid #2a7a89; box-shadow: 0 2px 16px rgba(0,0,0,0.07); border-radius: 6px; }

}
.uk-navbar-dropdown-nav {
    color: #000000;
    font-size: 16px;
}
.uk-nav-primary {
    font-size: 1.2rem;
    line-height: 1.6;
}
.sr-only{
   position:absolute;
   left:-10000px;
   top:auto;
   width:1px;
   height:1px;
   overflow:hidden;
}

h1, h2, h3, h4 {
  /* Verbesserte Silbentrennung mit Priorität auf Wortumbrüchen */
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  
  /* Verhindert willkürliche Brüche, priorisiert Wortumbruch */
  overflow-wrap: break-word; /* Änderung von normal zu break-word */
  word-break: keep-all;      /* Verhindert Buchstabenbruch bei westlichen Sprachen */
  
  /* Typografische Optimierungen */

  text-wrap: pretty;         /* Neue CSS4-Funktion für bessere Umbrüche */
  line-height: 1.4;
  margin: 0 auto;
  lang: de;
}

/* Mobile-Optimierung */
@media (max-width: 500px) {
  h1, h2, h3, h4 {
    /* Strengere Trennregeln */
    -webkit-hyphenate-limit-chars: 13 4 5; /* Mind. 13 Zeichen, 4 vor/3 nach Strich */
    hyphenate-limit-chars: 13 4 5;
    
    /* Schriftgrößen-Optimierung */
    font-size: clamp(2.rem, 4vw, 2rem);
    
    /* Deaktiviert Silbentrennung bei kurzen Wörtern */
    word-break: keep-all;
  }
  

/* Neues Design für den CTA-Button */
.sticky-btn {
  display: inline-block;
  background-color: #006d77;    /* kräftiger Kontrastton (an Markenfarbe anpassen) */
  color: #ffffff;
  font-weight: 500;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transition: background-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

/* Hover- und Fokus-Effekt (leichter Farbwechsel und Anheben) */
.sticky-btn:hover.sticky-btn:focus {
  background-color: #00525a;    /* etwas dunklerer Ton */
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}


/* Ein-/Ausblendung der Bar */
.sticky-bar {
  transform: translateY(110%);
  opacity: 0;
  transition: transform .45s ease, opacity .45s ease;
}
.sticky-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
}

/* Button-Animation */
.js-cta-sticky {
  animation: ctaPulse 10s ease-in-out infinite;
  transition: box-shadow .3s ease;
}
.js-cta-sticky:hover {
  box-shadow: 0 0 12px rgba(0,128,128.35); /* Markenfarbe */
}
@keyframes ctaPulse {
  0%, 97%, 100% { transform: scale(1); }
  98.5% { transform: scale(1.05); }
}

.sticky-close {
  position: absolute;
  top: 1px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: #333;
  padding: 4px;
}

.sticky-close:hover {
  color: #666;
}

/* Unterzeile in der Sticky-Bar */
.sticky-bar .cta-subtext {
  font-size: 0.8rem;
  color: #333;             /* dezenter Grauton; ggf. anpassen */
  margin-bottom: 6px;     /* Abstand zum Button */
  line-height: 1.4;
}
@media (max-width: 480px) {
  .sticky-bar .cta-subtext {
    font-size: 0.6rem;    /* etwas kleiner auf sehr kleinen Bildschirmen */
  }
}