/* =======================
   LunaChain Magazin CSS
   Creative Artistic Flexbox Design
   ======================= */

/* -------- CSS Reset & Normalize -------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,  
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  box-sizing: border-box;
  font-family: inherit;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #f5f7fa;
  color: #21213e;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #e1a837;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #21213e;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', Impact, Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  color: #21213e;
  letter-spacing: 0.5px;
  margin-bottom: 0.4em;
}
h1 { font-size: 2.5rem; line-height: 1.15; }
h2 { font-size: 2rem; margin-top: 0.8em; }
h3 { font-size: 1.35rem; margin-top: 1em; }
h4 { font-size: 1.15rem; }
p, li { font-size: 1rem; margin-bottom: 0.6em;}
strong { color: #e1a837; }

/*-------- Typography Creative/Artistic --------*/
.subtitle {
  font-family: 'Oswald', Impact, Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #e1a837;
  margin-bottom: 1.1em;
  letter-spacing: 0.6px;
}

/* -------- Layout Containers -------- */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 18px;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

main {
  flex: 1 0 auto;
}

.section, section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: none;
  position: relative; /* For decorative elements if needed */
}

.content-wrapper {
  width: 100%;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 8px 32px 0 rgba(33,33,62,0.12);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .content-wrapper {
    padding: 22px 8px;
    border-radius: 16px;
  }
  .section, section {
    padding: 30px 0 24px 0;
  }
}

/* ----------- Feature Grids & Flex Patterns ------------ */
.feature-grid, .event-overview, .review-cards, .award-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  justify-content: space-between;
}
.feature-grid > div, .event-overview > div, .review-cards > div, .award-list > div {
  background: #f5f7fa;
  border-radius: 20px;
  box-shadow: 0 2px 10px 0 rgba(225,168,55,0.10), 0 8px 30px 0 rgba(33,33,62,0.09);
  padding: 26px 20px;
  flex: 1 1 210px;
  min-width: 210px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: box-shadow 0.3s, transform 0.2s;
}
.feature-grid > div:hover, .event-overview > div:hover, .review-cards > div:hover, .award-list > div:hover {
  box-shadow: 0 6px 28px 0 rgba(225,168,55,0.18), 0 16px 38px 0 rgba(99,86,42,0.12);
  transform: translateY(-2px) scale(1.025) rotate(-1.5deg);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px 0 rgba(33,33,62,0.10);
  padding: 28px 20px;
  min-width: 230px;
  flex: 1 1 230px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

@media (max-width: 900px){
  .feature-grid, .event-overview, .review-cards, .award-list {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div, .event-overview > div, .review-cards > div, .award-list > div {
    min-width: 0;
  }
}
@media (max-width: 768px) {
  .feature-grid, .event-overview, .review-cards, .award-list {
    flex-direction: column;
    gap: 16px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

/* ----------- Footer & Socials --------- */
footer {
  background: #21213e;
  color: #f5f7fa;
  padding: 36px 0 18px 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 18px;
}
.footer-menu a {
  color: #e1a837;
  font-weight: 500;
  font-family: 'Oswald', Impact, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: text-shadow 0.2s, color 0.2s;
}
.footer-menu a:hover,
.footer-menu a:focus {
  color: #fff;
  text-shadow: 0 2px 8px #e1a83788;
}
.contact-info {
  font-size: 0.98rem;
  color: #fafafa;
  display: flex;   
  background-color: #21213e;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
  line-height: 1.6;
}
.contact-info img {
  width: 18px;
  vertical-align: middle;
  margin-right: 7px;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 18px;
}
.social-links a img {
  width: 29px;
  border-radius: 50%;
  transition: box-shadow 0.2s, transform 0.2s;
  background: #e1a837;
  padding: 4px;
  box-shadow: 0 2px 8px #e1a83727;
}
.social-links a:hover img {
  background: #fffbe5;
  box-shadow: 0 4px 12px #e1a83799;
  transform: scale(1.12) rotate(-8deg);
}
@media (max-width: 900px) {
  footer .container { flex-direction: column; gap: 26px; align-items: flex-start; }
}

/* ----------- Buttons & CTA ----------- */
.cta, .cta.primary {
  font-family: 'Oswald', Impact, Arial, sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  padding: 14px 38px;
  border-radius: 32px;
  border: none;
  background: #e1a837;
  color: #fff;
  box-shadow: 0 4px 20px 0 #e1a83750;
  font-weight: bold;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s, box-shadow 0.16s, transform 0.18s;
  margin-top: 10px;
  margin-bottom: 12px;
  display: inline-block;
}
.cta.primary {
  background: #21213e;
  color: #fffbe5;
  box-shadow: 0 8px 28px 0 #231d3a44;
}
.cta:hover, .cta:focus {
  background: #fffbe5;
  color: #21213e;
  transform: scale(1.05) rotate(-1.5deg);
  box-shadow: 0 6px 32px 0 #e1a83740;
  outline: none;
  border: 1.5px solid #e1a837;
}
.cta.primary:hover, .cta.primary:focus {
  background: #e1a837;
  color: #21213e;
  border: 1.5px solid #21213e;
}

/* Breadcrumbs */
[aria-label="breadcrumb"] span {
  color: #e1a837;
  font-size: 0.93rem;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}
[aria-label="breadcrumb"] a {
  color: #21213e;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s;
}
[aria-label="breadcrumb"] a:hover { color: #e1a837; }

/* Filter & Category Selections */
.filter-options,
.filter-by-category,
.award-categories {
  font-family: 'Oswald', Impact, Arial, sans-serif;
  color: #21213e;
  margin-bottom: 18px;
  font-size: 1.07rem;
  letter-spacing: 0.02em;
}
.filter-options a, .filter-by-category a {
  color: #e1a837;
  font-weight: bold;
  margin-right: 10px;
  border-radius: 8px;
  padding: 2px 7px;
  transition: background 0.2s, color 0.2s;
}
.filter-options a:hover,
.filter-by-category a:hover { background: #21213e; color: #fffbe5; }

/* FAQ Accordion Styles (Kontakt) */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-accordion > div {
  background: #fffbe5;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 #e1a83721;
  padding: 18px 22px;
  transition: box-shadow 0.2s;
}
.faq-accordion > div:hover {
  box-shadow: 0 6px 22px #e1a83744;
}

/* -------------- Testimonial Cards (Rezensionen) ----------- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 20px;
  background: #fffbe5;
  color: #21213e;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px #e1a83733;
  transition: box-shadow 0.2s, transform 0.15s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 32px #e1a83738;
  transform: scale(1.03) rotate(-0.5deg);
}
.testimonial-card strong {
  color: #21213e;
  font-size: 1.06em;
}
.testimonial-card span {
  font-size: .92em;
  color: #e1a837;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 10px;
}
.testimonial-card img {
  width: 19px;
  height: 19px;
  display: inline-block;
}
@media (max-width: 600px){
  .testimonial-card { flex-direction: column; align-items: flex-start; padding: 16px; }
}

/* -------------- Misc Spacing/Artistic Decoration --------- */
ul li, ol li {
  margin-bottom: 8px;
}
hr {
  border: none;
  height: 1px;
  background: #e1a83733;
  margin: 32px 0 32px 0;
}

/* ------------ Artistic/Creative Accents ------------- */
.feature-grid > div, .event-overview > div, .award-list > div {
  border-left: 5px solid #e1a837;
  border-bottom: 3px solid #e1a83721;
  position: relative;
  overflow: hidden;
}
.feature-grid > div::before, .event-overview > div::before, .award-list > div::before {
  content: "";
  position: absolute;
  top: 0; left: 70%;
  width: 60px; height: 60px;
  background: #e1a83728;
  border-radius: 50%;
  filter: blur(8px);
  z-index: 0;
}

/* Artistic underline for h2 */
h2 {
  position: relative;
  z-index: 1;
}
h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #e1a837;
  margin-top: 8px;
  border-radius: 2px;
  opacity: .76;
  margin-left: 0;
}

/* ----------- Header & Navigation ----------- */
header {
  background: #fffbe5;
  border-bottom: 5px solid #e1a837;
  box-shadow: 0 2px 16px 0 #e1a83715;
  z-index: 998;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 10px 18px;
  max-width: 1200px;
}
header img[alt="LunaChain Magazin"] {
  height: 44px;
  margin-right: 12px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Oswald', Impact, Arial, sans-serif;
  color: #21213e;
  font-size: 1rem;
  padding: 8px 16px;
  border-radius: 20px;
  transition: background 0.2s, color 0.18s;
  font-weight: 600;
  text-transform: uppercase;
}
.main-nav a.cta {
  background: #e1a837;
  color: #fffbe5;
  box-shadow: 0 2px 8px #e1a83740;
  margin-left: 12px;
  border: 1.5px solid #e1a837;
}
.main-nav a:hover, .main-nav a:focus {
  background: #e1a837;
  color: #21213e;
}
.main-nav a.cta:hover, .main-nav a.cta:focus {
  background: #21213e;
  color: #fffbe5;
}
.header .mobile-menu-toggle {
  display: none;
}

/* Burger Menu Button */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #21213e;
  background: #e1a837;
  border-radius: 50%;
  border: none;
  padding: 6px 16px;
  margin-left: 24px;
  transition: background 0.18s, color 0.18s, box-shadow 0.16s;
  box-shadow: 0 2px 10px #e1a83733;
  z-index: 1012;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #fffbe5;
  color: #e1a837;
  box-shadow: 0 4px 16px #e1a83777;
  outline: none;
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ----------- Mobile Nav Menu Overlay ---------- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fffbe5AA;
  z-index: 1100;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(0.77,0,0.18,1);
  box-shadow: 0 2px 18px #21213e33;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  background: none;
  color: #21213e;
  margin: 18px 28px 0 0;
  border-radius: 50%;
  border: none;
  transition: background 0.19s, color 0.19s;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1102;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #e1a83733;
  color: #e1a837;
  outline: none;
}
.mobile-nav {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 22px;
  margin: 60px 0 0 40px;
  font-family: 'Oswald', Impact, Arial, sans-serif;
}
.mobile-nav a {
  font-size: 1.38rem;
  color: #21213e;
  text-transform: uppercase;
  padding: 8px 0 8px 4px;
  border-radius: 8px;
  transition: background 0.17s, color 0.19s;
  width: 100%;
  display: block;
  margin-bottom: 2px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #e1a837;
  color: #fffbe5;
}

@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}

/* Menu Animation for Overlay */
.mobile-menu {
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.active {
  pointer-events: auto;
  opacity: 1;
  transition: transform 0.36s cubic-bezier(0.77,0,0.18,1), opacity 0.16s;
  box-shadow: 0 8px 32px #e1a83722;
}

/* -------------- Cookie Consent Banner ------------- */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100%;
  background: #fffbe5;
  color: #21213e;
  border-top: 3px solid #e1a837;
  box-shadow: 0 -2px 14px #e1a83750;
  z-index: 1600;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  padding: 18px 28px;
  font-size: 0.99rem;
  animation: cookieSlideUp 0.5s cubic-bezier(.45,1.4,.9,1) 1;
}
.cookie-banner p {
  flex: 1 1 auto;
  color: #21213e;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-banner button {
  border: none;
  border-radius: 12px;
  padding: 10px 22px;
  margin-left: 0;
  font-family: 'Oswald', Impact, Arial, sans-serif;
  font-size: 1.03rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.15s;
  box-shadow: 0 2px 10px #e1a83720;
}
.cookie-banner .accept {
  background: #e1a837;
  color: #21213e;
}
.cookie-banner .accept:hover {
  background: #21213e;
  color: #fffbe5;
}
.cookie-banner .reject {
  background: #fffbe5;
  color: #e1a837;
  border: 1.5px solid #e1a837;
}
.cookie-banner .reject:hover {
  background: #e1a837;
  color: #fffbe5;
}
.cookie-banner .settings {
  background: #21213e;
  color: #fffbe5;
}
.cookie-banner .settings:hover {
  background: #fffbe5;
  color: #21213e;
  border: 1.5px solid #21213e;
}
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 12px; font-size: .96rem; }
  .cookie-banner .cookie-actions { gap: 10px; }
}
@keyframes cookieSlideUp {
  from { transform: translateY(60px); opacity: 0 }
  to { transform: translateY(0); opacity: 1 }
}

/* Cookie Modal Popup */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #21213ecc;
}
.cookie-modal-overlay.active {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: cookieFadeIn 0.3s cubic-bezier(.45,1.4,.9,1) 1;
}
.cookie-modal {
  background: #fffbe5;
  color: #21213e;
  border-radius: 18px;
  padding: 34px 28px 28px 28px;
  box-shadow: 0 8px 32px #e1a83761;
  max-width: 410px;
  min-width: 240px;
  width: 92vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: cookiePopupBounce 0.4s cubic-bezier(.4,1.7,.7,.9) 1;
}
.cookie-modal h2 {
  font-size: 1.38rem;
  color: #e1a837;
  margin-bottom: 8px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-switch {
  margin-left: auto;
}
.cookie-modal .cookie-switch input[type=checkbox] {
  appearance: none;
  width: 42px;
  height: 20px;
  background: #e1a837;
  border-radius: 10px;
  position: relative;
  outline: none;
  transition: background 0.2s;
}
.cookie-modal .cookie-switch input[type=checkbox]:checked {
  background: #21213e;
}
.cookie-modal .cookie-switch input[type=checkbox]::before {
  content: '';
  position: absolute;
  top: 2px; left: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px #e1a83788;
  transition: transform 0.2s;
}
.cookie-modal .cookie-switch input[type=checkbox]:checked::before {
  transform: translateX(20px);
  background: #e1a837;
}
.cookie-modal .actions {
  display: flex;
  gap: 18px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal .actions button {
  font-size: 1rem;
  padding: 10px 18px;
}
.cookie-modal .close {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 1.38rem;
  background: none;
  border: none;
  color: #e1a837;
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-modal .close:hover { color: #21213e; }
@media (max-width: 540px) { 
  .cookie-modal { padding: 20px 8px; min-width: 0; }
}
@keyframes cookieFadeIn {
  from {opacity:0}
  to {opacity:1}
}
@keyframes cookiePopupBounce {
  0% { transform: scale(0.94) translateY(30px); opacity: 0; }
  70% { transform: scale(1.03) translateY(-8px); }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* -------------- Spacing Utilities & Flex Helper ------------ */
.card-content { display: flex; flex-direction: column; justify-content: center; }
.card-grid, .features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cta-section {
  margin-top: 18px;
}

/*---- Artistic Unique Misc ------*/
@media (max-width: 900px) {
  .footer-menu { gap: 14px; }
  .social-links { gap: 8px; }
}

::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-thumb {
  background: #e1a837;
  border-radius: 8px;
}

/* -------------- Newsletter Banner / Subscription Section -------- */
main .cta.primary:last-child {
  margin-top: 18px;
  margin-bottom: 0;
}

/* ------------- Accessibility Focus Styles -------------- */
a:focus, button:focus, .cta:focus {
  outline: 2.5px solid #e1a837;
  outline-offset: 2px;
}

/* ------------- Review/List Cards, Artistic Animations ------------- */
ul > li, .review-cards > div, .award-list > div {
  transition: background 0.19s, transform 0.2s, box-shadow 0.18s;
}
ul > li:hover, .review-cards > div:hover, .award-list > div:hover {
  background: #fffbe5;
  transform: scale(1.015) translateY(-3px) rotate(0.6deg);
  box-shadow: 0 4px 18px #e1a83733;
}

/* -------------- Responsive General -------------- */
@media (max-width: 600px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.34rem; }
  h3 { font-size: 1.08rem; }
  .section, section { margin-bottom: 32px; }
  .container { padding: 0 5px; }
  .card, .feature-grid > div, .event-overview > div, .award-list > div { padding:14px 9px; min-width:0; }
  .footer-menu, .social-links { flex-direction: column; align-items: flex-start; gap: 9px; }
  .contact-info { font-size: .97rem; }
}
