/* ==========================================================================
 * File: styles.oswald.css
 * Project: Kimura Spenden
 * Purpose: Global font override to use 'Oswald' across site and admin.
 * ========================================================================== */

/* Google Font Import */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&display=swap');

/* === Global Font Family =================================================== */
html, body {
  font-family: 'Oswald', Arial, Helvetica, sans-serif;
  font-weight: 400;
  letter-spacing: 0.015em;
}

/* === Headings ============================================================= */
h1, h2, h3, h4, h5, h6, .title, .cta, .brand .title {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* === Buttons, labels, navs =============================================== */
button, input, select, textarea, nav, .burger, .dark-toggle, .theme-toggle, .confirm-btn, .cancel-btn {
  font-family: 'Oswald', Arial, sans-serif;
}

/* === Footer Toggle: kompakt, neben Social-Icons (Icon-only) ============== */
:root { --social-icon-size: 24px; } /* ggf. 28px oder 32px einstellen */

footer .socials,
footer .footer-icons,
footer .social-media {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

/* Icon-only Toggle; Anzeige via body.dark
   Funktioniert auch, wenn der Button leer ist (ohne SVG/Span). */
footer .footer-toggle {
  width: var(--social-icon-size);
  height: var(--social-icon-size);
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.92);
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  box-shadow: 0 3px 10px rgba(0,0,0,.06);
  transition: transform .12s ease, opacity .12s ease;
  line-height: 1;
}

footer .footer-toggle::before { content: "☀︎"; font-size: calc(var(--social-icon-size) * 0.75); line-height: 1; }
body.dark footer .footer-toggle::before { content: "🌙"; }
body.dark footer .footer-toggle { background: rgba(32,32,32,.92); border-color: rgba(255,255,255,.08); }
footer .footer-toggle:hover,
footer .footer-toggle:focus-visible {
  transform: translateY(-1px);
  outline: 3px solid transparent;
}

/* Alte floating-Variante verstecken */
.corner-toggle { display: none !important; }