/* Feinschliff 2026-07-18: H1 site-weit etwas kleiner (Vorgabe Ulrich) */
h1, .uk-h1 { font-size: 1.95rem; }
@media (min-width: 960px) {
  h1, .uk-h1 { font-size: 2.25rem; }
}

/* === Rebrand "Terrakotta & Sand" 2026-07-18 (Briefing v1.0) — Child-Style-Overrides.
   Basis-Palette steckt im kompilierten theme.12.css (tools/terrakotta.py). Diese Regeln
   ergaenzen Spec-spezifische Komponenten + ueberleben Customizer-Recompiles. === */

/* Seitenhintergrund Warmweiss, Text-Braun (belt & suspenders) */
body { background-color: #FDFAF5; color: #3E322C; }
h1,h2,h3,h4,h5,h6,.uk-h1,.uk-h2,.uk-h3,.uk-h4,.uk-h5,.uk-h6 { color: #3E322C; }
.uk-text-muted { color: #7A6A5F !important; }

/* Muted-Sektionen = Sand (Oakville-Grau-Gradient entfernen) */
.uk-section-muted, .uk-tile-muted, .uk-background-muted {
  background-color: #F6EEE3 !important; background-image: none !important;
}

/* Dunkle Baender (Footer, CTA-Band, Hero-Overlay-Sektionen) = Dunkel-Petrol #22434B (2026-07-19, Ulrich: Braun raus) */
.uk-section-secondary, .uk-tile-secondary {
  background-color: #22434B !important; background-image: none !important;
}

/* Cards = Warmweiss auf Sand, warme Border (Entscheidung: Warmweiss statt Reinweiss, dokumentiert) */
.uk-card-default { background-color: #FDFAF5; }
.uk-card-default, .uk-card-body { border-color: #EADFD0; }
hr { border-color: #EADFD0; }

/* Links im Fliesstext unterstrichen (Barrierefreiheit: nicht nur ueber Farbe erkennbar) */
.uk-article a:not(.uk-button):not([class*="uk-icon"]),
.tm-page main .uk-panel a:not(.uk-button):not([class*="uk-icon"]),
.uk-text-lead a:not(.uk-button) { text-decoration: underline; }

/* Primaer-Button: Terrakotta gefuellt, Hover dunkler */
.uk-button-primary { background-color: #B5543C; }
.uk-button-primary:hover, .uk-button-primary:focus { background-color: #9A4432; }

/* Sekundaer-Button: Petrol-Outline, Hover gefuellt (Vertrauen = Petrol) */
.uk-button-secondary {
  background-color: transparent !important; border: 1px solid #2F5B66 !important; color: #2F5B66 !important;
}
.uk-button-secondary:hover, .uk-button-secondary:focus {
  background-color: #2F5B66 !important; color: #fff !important;
}

/* Fokus-Ring Petrol hell fuer Tastatur-Navigation (Abnahmekriterium) */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, .uk-button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid #4A8A99 !important; outline-offset: 2px;
}
input:focus, select:focus, textarea:focus,
.uk-input:focus, .uk-select:focus, .uk-textarea:focus { border-color: #4A8A99 !important; }

/* SEOGlossary Auto-Link: hervorgehoben statt grau (Tooltips deaktiviert -> reiner Textlink) */
a.jqeasytooltip, .jqeasytooltip {
    color: #B5543C !important;
    text-decoration: underline;
    text-decoration-color: rgba(181,84,60,.45);
    text-underline-offset: 2px;
    font-weight: 500;
    cursor: pointer;
}
a.jqeasytooltip:hover {
    color: #8f3f2c !important;
    text-decoration-color: #8f3f2c;
}
