/*
Theme Name: Meine Stimme bleibt
Theme URI: https://meinestimmebleibt.de
Author: Frauke & Sören Essers
Description: Warmherziges, responsives Theme mit Header, Footer, Menü und Burger-Navigation.
Version: 1.0.0
Text Domain: meine-stimme-bleibt
*/

:root {
  /* Farbwelt warmherzig & liebevoll */
  --navy: #0F2A3B;        /* tiefer Navyton (Seriosität) */
  --navy-2: #0c2230;      /* dunkler für Header/Nav-Hintergründe */
  --sand: #E7D7C9;        /* warmes Sand/Elfenbein (Wärme) */
  --amber: #F2C185;       /* sanfter Amber-Glow (Liebe/Wärme) */
  --violet: #5A3BE6;      /* Akzent (dezent für Buttons/Hover) */
  --text: #1e1e1e;        /* Haupttext */
  --muted: #5a6a75;       /* Sekundärtext */
  --bg: #ffffff;          /* Seitenhintergrund */
  --maxw: 1200px;
}

html { box-sizing: border-box; scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: inherit; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* Links */
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--violet); }

/* Container */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }

/* HEADER */
.site-header {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  border-bottom: 4px solid var(--amber);
}
.header-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
}
.site-logo img {
  width: 48px; height: 48px; border-radius: 10px; object-fit: cover;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.site-title {
  margin: 0;
  font-weight: 700;
  font-size: 22px;
  color: #fff;
}
.header-actions {
  display: flex; gap: 8px; align-items: center;
}
.btn {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  background: var(--violet);
}
.btn.alt {
  background: var(--amber);
  color: #1e1e1e;
  border-color: rgba(0,0,0,0.08);
}
.btn:hover { filter: brightness(1.05); }

/* NAVIGATION */
.main-nav {
  background: rgba(255,255,255,0.06);
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0;
}
.nav-list {
  display: flex; flex-wrap: wrap; gap: 16px;
}
.nav-list a {
  color: #fff; font-weight: 600; padding: 10px 6px; border-radius: 6px;
}
.nav-list a:hover { background: rgba(255,255,255,0.12); }

/* BURGER */
.burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px; background: transparent; color: #fff;
}
.burger:focus { outline: 2px dashed var(--amber); outline-offset: 2px; }
.burger-lines { display: grid; gap: 5px; }
.burger-lines span {
  display: block; width: 20px; height: 2px; background: #fff; margin: 0 auto;
}

/* MOBILE NAV PANEL */
.mobile-panel {
  display: none;
  background: var(--navy-2);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 8px 16px;
}
.mobile-panel .nav-list {
  flex-direction: column; gap: 8px;
}
.mobile-panel a { color: #fff; padding: 10px; border-radius: 6px; }
.mobile-panel a:hover { background: rgba(255,255,255,0.12); }

/* HERO (optional auf Startseite) */
.hero {
  position: relative;
  color: #fff;
  background: #091a25;
}
.hero-inner { padding: 32px 0; }
.hero-image {
  width: 100%; border-radius: 12px; overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

/* CONTENT */
.site-content { padding: 24px 0; }

/* FOOTER */
.site-footer {
  background: var(--navy-2);
  color: #dfe8ed;
  border-top: 4px solid var(--amber);
  padding: 24px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px; align-items: center;
}
.footer-links {
  display: flex; flex-wrap: wrap; gap: 12px;
}
.footer-links a { color: #dfe8ed; }
.footer-links a:hover { color: var(--amber); }
.social {
  display: flex; gap: 10px; align-items: center;
}
.social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.12); color: #fff;
}
.social a:hover { background: var(--violet); }

/* RESPONSIVE */
@media (max-width: 960px) {
  .header-top { grid-template-columns: auto 1fr auto; }
  .nav-list { display: none; }      /* Desktop-Liste ausblenden */
  .burger { display: inline-grid; place-items: center; }
  .mobile-panel { display: block; }
}

@media (max-width: 640px) {
  .site-title { font-size: 18px; }
  .header-actions .btn { padding: 8px 10px; font-size: 14px; }
}
