/*******************************************************
 *  FLEX (Aplikko) – CUSTOM.CSS
 *  Zweck: Eigene Styles & Overrides für Template, Module und Komponenten
 *  Autor: [Dein Name oder Projektname]
 *  Letzte Änderung: 2025-10-05
 *******************************************************/


/* =====================================================
   0. COLOR VARIABLES (OPTIONAL)
   ===================================================== */
/* Du kannst hier zentrale Farbwerte definieren und im CSS unten verwenden */
:root {
  --color-primary: #1e87f0;    /* UIkit Standard-Blau */
  --color-primary-hover: #0f6ecd;
  --color-bg-light: #ffffff;
  --color-border-light: rgba(0,0,0,0.08);
  --color-text-default: #222;
  --color-text-muted: #666;
}


/* =====================================================
   1. GLOBALS & BASICS
   ===================================================== */

body {
  color: var(--color-text-default);
  background-color: var(--color-bg-light);
}

a {
  color: var(--color-primary);
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--color-primary-hover);
  text-decoration: none;
  opacity: 0.9;
}


/* =====================================================
   2. HEADER & NAVIGATION
   ===================================================== */

.uk-navbar-nav > li > a {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.uk-navbar-container:not(.uk-navbar-transparent) {
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}


/* =====================================================
   3. MAIN CONTENT
   ===================================================== */

h1, h2, h3 {
  font-weight: 600;
  line-height: 1.3;
}

.uk-article {
  line-height: 1.7;
}


/* =====================================================
   4. MODULE STYLING
   ===================================================== */

/* === 4.1 AcyMailing Newsletter-Formular ====================== */

.acym_module {
  max-width: 420px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  font-family: inherit;
}

/* Labels */
.acym_module label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 500;
  color: var(--color-text-default);
}

/* Eingabefelder */
.acym_module input[type="email"],
.acym_module input[type="text"] {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: #fff;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.acym_module input[type="email"]:focus,
.acym_module input[type="text"]:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30,135,240,0.15);
  outline: none;
}

/* Absende-Button */
.acym_module input[type="submit"],
.acym_module button[type="submit"] {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.1s ease;
  margin-top: 0.75rem;
}

.acym_module input[type="submit"]:hover,
.acym_module button[type="submit"]:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-1px);
}

/* Nachrichten (Erfolg/Fehler) */
.acym_module .acym_message {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 6px;
  font-size: 0.95rem;
}

.acym_module .acym_message_success {
  background-color: #e7f7ed;
  color: #227a38;
}

.acym_module .acym_message_error {
  background-color: #faeaea;
  color: #b30000;
}

/* Zentrierung bei UIkit Layouts */
.uk-section .acym_module {
  text-align: left;
}


/* === 4.2 Andere Module oder Bereiche ====================== */
/* Platzhalter für spätere Modul-Anpassungen */


/* =====================================================
   5. FOOTER
   ===================================================== */

footer {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

footer a {
  color: var(--color-primary);
}

footer a:hover {
  color: var(--color-primary-hover);
}


/* =====================================================
   6. RESPONSIVE FIXES
   ===================================================== */

@media (max-width: 768px) {
  .acym_module {
    padding: 1rem;
  }

  h1 {
    font-size: 1.8rem;
  }
}
