/* ===============================
   CSS RESET AND NORMALIZATION
   =============================== */
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,
b, 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;
  font-size: 100%; font: inherit;
  vertical-align: baseline; box-sizing: border-box;
}

/* Set base font styles */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  background: #f3ece3;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F6F6F2;
  color: #333d32;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #21586A; text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: #b06c45; text-decoration: underline; }
button,
input[type="submit"],
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  cursor: pointer;
}
ul, ol { list-style: none; padding-left: 0; }

/* ===========================
   VINTAGE RETRO BRAND ROOTS
   =========================== */
:root {
  --brand-primary: #21586A;
  --brand-secondary: #8EC0BB;
  --brand-accent: #F6F6F2;
  --retro-cream: #F3ECE3;
  --retro-brown: #7C5832;
  --retro-orange: #E49B3D;
  --retro-yellow: #F6C85F;
  --retro-red: #B06C45;
  --retro-mint: #CEDFD9;
}

/* ===============================
   TYPOGRAPHY
   =============================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.02em;
}
h1 {
  font-size: 2.8rem;
  color: var(--brand-primary);
  margin-bottom: 24px;
  text-shadow: 2px 2px 0px #E49B3D33;
}
h2 {
  font-size: 2rem;
  color: var(--retro-brown);
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  color: var(--retro-red);
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #21586A;
}
.subheadline {
  color: var(--retro-orange);
  font-size: 1.25rem;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 32px;
  font-style: italic;
}
p, li, ul, ol {
  font-size: 1rem;
  margin-bottom: 16px;
}
p:last-child, li:last-child {
  margin-bottom: 0;
}
strong { color: var(--retro-brown); }

/* Vintage-inspired display headings */
h1, h2, h3 {
  font-family: 'Montserrat', Verdana, Arial, sans-serif;
}

/* ==============
   CONTAINER
   ==============
   All content centers in .container
*/
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}

.content-wrapper {
  margin: 0 auto;
  background: none;
}

/* ================
   SECTION SPACING
   ================ */
section {
  background: transparent;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ================
   FLEXBOX LAYOUTS
   ================ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff4e2;
  border-radius: 16px;
  border: 2px solid var(--retro-yellow);
  box-shadow: 0 4px 16px 0 #21586a22;
  padding: 28px 22px 36px 22px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 320px;
  transition: box-shadow 0.3s, transform 0.2s;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 6px 28px 0 #b06c4577;
  transform: translateY(-4px) scale(1.03);
}
.feature-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}

/* Feature Grid / Cards Flexbox */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: flex-start;
}

/* Cards for Facts or Regions */
.fact-cards, .region-cards, .tip-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.fact-cards li, .region-card, .tip-card {
  background: #fff9ef;
  border: 2px solid var(--brand-secondary);
  border-radius: 18px;
  padding: 30px 24px 24px 24px;
  margin-bottom: 20px;
  min-width: 210px;
  max-width: 320px;
  flex: 1 1 240px;
  box-shadow: 0 3px 18px 0 #21586a15;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.fact-cards li:hover, .region-card:hover, .tip-card:hover {
  box-shadow: 0 8px 28px 0 #8ec0bb46;
  transform: translateY(-3px) scale(1.025);
}
.fact-cards img, .region-card img, .tip-card img {
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
}

/* Testimonials / Stories */
.community-stories {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  background: #fffdf9;
  border-radius: 16px;
  border: 2px solid var(--retro-brown);
  color: #2d2d2d;
  font-size: 1.05rem;
  box-shadow: 0 2px 8px #00000019;
  max-width: 360px;
  min-width: 220px;
  margin-bottom: 20px;
  flex: 1 1 240px;
  flex-direction: column;
  position: relative;
}
.testimonial-card p {
  color: #2d2d2d;
  margin-bottom: 14px;
  font-style: italic;
}
.testimonial-card span {
  color: #7C5832;
  font-size: 1em;
  font-family: 'Roboto', sans-serif;
  align-self: flex-end;
}

/* ===============
   NAVIGATION
   ===============*/
header {
  background: var(--retro-cream);
  border-bottom: 3px solid var(--brand-secondary);
  box-shadow: 0 2px 8px 0 #21586a12;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 80px;
  padding-top: 5px;
  padding-bottom: 5px;
}
header img {
  height: 42px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 500;
}
.main-nav a {
  color: var(--brand-primary);
  padding: 7px 13px;
  border-radius: 8px;
  transition: background-color 0.18s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--retro-yellow);
  color: var(--retro-red);
}
.mobile-menu-toggle {
  display: none;
  background: var(--retro-yellow);
  color: var(--retro-red);
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  width: 48px; height: 48px;
  justify-content: center; align-items: center;
  box-shadow: 0 2px 12px #21586a15;
  transition: background 0.2s, color 0.22s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--retro-orange);
  color: #fff;
  outline: 3px solid var(--brand-primary);
}

/* ========================
   MOBILE MENU (BURGER)
   ======================== */
.mobile-menu {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  z-index: 99;
  background: #f3ece3ee;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.85,.06,.35,1.01);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 32px;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--retro-orange);
  font-size: 2.2rem;
  color: #fff;
  border: none;
  border-radius: 50%;
  margin-right: 26px;
  margin-bottom: 22px;
  width: 48px; height: 48px;
  cursor: pointer;
  box-shadow: 0 2px 8px #b06c4550;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--brand-primary);
  color: var(--retro-yellow);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  width: 88%;
  margin-left: 30px;
  margin-top: 8px;
}
.mobile-nav a {
  padding: 12px 8px 10px 10px;
  font-size: 1.4rem;
  color: var(--brand-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 8px;
  background: none;
  transition: background 0.13s, color 0.13s;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--retro-orange);
  color: #fff;
}

@media (max-width: 1020px) {
  .main-nav {
    gap: 16px;
  }
  .feature-grid, .fact-cards, .region-cards, .community-stories, .tip-cards {
    gap: 14px;
  }
}

@media (max-width: 864px) {
  .main-nav {
    gap: 10px;
    font-size: 1em;
  }
  .feature-grid, .fact-cards, .region-cards, .community-stories, .tip-cards {
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-toggle {
    display: flex;
  }
  header .container {
    padding-left: 12px; padding-right: 12px;
    min-height: 64px;
  }
  .container {
    padding-left: 12px; padding-right: 12px;
  }
  .feature-grid, .fact-cards, .tip-cards, .region-cards, .community-stories {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .feature-item,
  .fact-cards li,
  .region-card,
  .tip-card,
  .testimonial-card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.45rem; }
}

@media (max-width: 480px) {
  .container { padding-left: 6px; padding-right: 6px; }
  header .container { padding-left: 6px; padding-right: 6px; }
  .section, section { padding-left: 5px; padding-right: 5px; }
  h1 { font-size: 1.25rem; margin-bottom: 17px; }
  h2 { font-size: 1rem; }
}

/* ================================
   PRIMARY BUTTONS & LINKS
   ================================ */
.cta-btn, .button, input[type=submit] {
  display: inline-block;
  background: var(--retro-orange);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  padding: 15px 38px;
  border-radius: 40px;
  border: none;
  box-shadow: 0 4px 18px #b06c451a;
  transition: background 0.22s, box-shadow 0.21s, color 0.19s, transform 0.11s;
  margin-top: 16px;
  margin-bottom: 7px;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus, .button:hover, .button:focus, input[type=submit]:hover, input[type=submit]:focus {
  background: var(--brand-primary);
  color: var(--retro-yellow);
  box-shadow: 0 8px 24px #21586a38;
  transform: scale(1.03);
  outline: none;
}
.link-arrow {
  color: var(--retro-red);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.03em;
  letter-spacing: .05em;
  position: relative;
  padding-right: 21px;
  transition: color 0.17s;
}
.link-arrow:after {
  content: '→';
  color: var(--retro-brown);
  padding-left: 6px;
  font-size: 1.05em;
  transition: padding-left 0.15s;
}
.link-arrow:hover, .link-arrow:focus { color: var(--brand-primary); }
.link-arrow:hover:after, .link-arrow:focus:after { padding-left: 14px; }

/* =====================
   LISTS and LINKS
   ===================== */
ul li {
  margin-bottom: 10px;
}
ul li:last-child { margin-bottom: 0; }
.content-wrapper ul, .content-wrapper ol {
  margin: 0 0 18px 17px;
  padding-left: 0;
  list-style: disc outside;
}

.content-wrapper ul li {
  font-size: 1em;
}

/* ================
   FOOTER
   ================ */
footer {
  background: var(--brand-primary);
  color: #fff;
  padding: 45px 0 18px 0;
  box-shadow: 0 -2px 16px #0000000d;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.footer-left {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  flex-direction: column;
}
.footer-left img {
  height: 34px;
  margin-bottom: 4px;
}
footer nav {
  font-family: 'Montserrat', sans-serif;
  color: #fff;
  font-size: 1em;
  gap: 10px;
}
footer nav a { color: #fffacd; margin: 0 5px; }
footer nav a:hover, footer nav a:focus {
  color: var(--retro-yellow);
  text-decoration: underline;
}
footer p {
  color: #e1e1e1;
  font-size: 0.95em;
}

/* ===============
   CONTACT DETAILS
   =============== */
.kontakt-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}
.kontakt-details li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--brand-primary);
}
.kontakt-details img {
  width: 22px;
  height: 22px;
}

/* ===============
   MAP PLACEHOLDER
   =============== */
.map-placeholder {
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--retro-cream);
  border-radius: 20px;
  border: 2px solid var(--brand-secondary);
  box-shadow: 0 2px 14px #8ec0bb2a;
  margin-bottom: 20px;
  padding: 18px 20px;
}
.map-placeholder img {
  width: 64px;
  height: auto;
}

/* ===================
   ARTICLE LISTS/UL
   =================== */
.content-wrapper > ul {
  margin-top: 16px;
  margin-bottom: 10px;
  padding-left: 0;
}
.content-wrapper > ul > li {
  padding: 18px 14px 14px 12px;
  background: #e49b3d0e;
  border-bottom: 2px dotted var(--retro-brown);
  margin-bottom: 11px;
  border-radius: 7px;
  transition: background 0.12s;
}
.content-wrapper > ul > li a {
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 1.13em;
}
.content-wrapper > ul > li a:hover {
  color: var(--retro-red);
}

/* ========================
   COOKIE CONSENT BANNER
   ======================== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  background: #fffdf9;
  border-top: 3px solid var(--brand-secondary);
  box-shadow: 0 -3px 18px #0000001a;
  padding: 26px 12px 22px 12px;
  z-index: 1045;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.01rem;
  opacity: 1;
  transition: opacity 0.23s;
}
.cookie-consent-banner.hide {
  opacity: 0; pointer-events: none;
}
.cookie-consent-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-consent-banner .cookie-btn {
  background: var(--retro-yellow);
  color: #7C5832;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01em;
  padding: 11px 24px;
  border: none;
  border-radius: 24px;
  box-shadow: 0 2px 10px #e49b3d35;
  margin: 0 2px;
  transition: background 0.18s, color 0.18s, box-shadow 0.16s;
}
.cookie-consent-banner .cookie-btn:hover, .cookie-consent-banner .cookie-btn:focus {
  background: var(--retro-orange);
  color: #fff;
}
.cookie-consent-banner .cookie-btn.cookie-settings {
  background: var(--brand-secondary);
  color: var(--brand-primary);
}
.cookie-consent-banner .cookie-btn.cookie-settings:hover {
  background: var(--brand-primary);
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: #0008;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  pointer-events: auto;
  opacity: 1;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.hide {
  opacity: 0; pointer-events: none;
}
.cookie-modal {
  background: #fffdf9;
  border: 2px solid var(--brand-secondary);
  border-radius: 18px;
  box-shadow: 0 6px 38px #21586a33;
  max-width: 94vw;
  width: 400px;
  padding: 38px 24px 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 15px;
  position: relative;
  animation: cookieModalIn .33s cubic-bezier(.83,.11,.28,1.12);
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: translateY(22px) scale(.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.3em;
  color: var(--brand-primary);
  margin-bottom: 8px;
}
.cookie-modal .cookie-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--brand-secondary);
  padding-bottom: 8px;
  margin-bottom: 7px;
}
.cookie-modal .cookie-cat:last-child {
  border-bottom: none;
}
.cookie-cat-label {
  font-size: 1.07em;
  color: var(--brand-primary);
  font-family: 'Montserrat', sans-serif;
}
.cookie-cat-switch {
  display: flex; align-items: center; gap: 7px;
}
.cookie-toggle {
  width: 42px; height: 26px;
  background: var(--brand-secondary);
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: background 0.12s;
  border: none;
}
.cookie-toggle[aria-checked="true"] {
  background: var(--retro-orange);
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3px; top: 3px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px #21586a22;
  transition: transform 0.14s;
}
.cookie-toggle[aria-checked="true"]:before {
  transform: translateX(16px);
}
.cookie-modal .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 12px; right: 14px;
  background: none; border: none;
  font-size: 1.8em; color: var(--retro-brown);
  cursor: pointer;
}

@media (max-width: 480px) {
  .cookie-modal { width: 94vw; padding: 26px 10px 22px 12px; }
  .cookie-modal h2 { font-size: 1.06em; }
}

/* ===============
   RETRO ELEMENTS
   =============== */
/* Retro patterns for backgrounds (subtle) */
.section {
  background-image: repeating-linear-gradient(135deg, #f6c65a20 0 10px, transparent 12px 22px);
  background-size: 40px 40px;
  border-radius: 18px;
  box-shadow: 0 3px 18px #21586a14;
}

/* Decorative dashes for vintage look */
h2, h3 {
  position: relative;
  padding-left: 24px;
}
h2:before, h3:before {
  content: '';
  width: 18px;
  height: 3px;
  background: var(--retro-brown);
  display: inline-block;
  position: absolute;
  left: 0; top: 50%;
  translate: 0 -50%;
  border-radius: 5px;
  opacity: 0.5;
}

/* ================
   ANIMATIONS
   ================ */
.card, .feature-item, .region-card, .tip-card, .fact-cards li, .testimonial-card {
  animation: fadeInUp .55s cubic-bezier(.38,.22,.46,1.08);
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Microanimations on interactive hover */
a, .cta-btn, .feature-item, .region-card, .tip-card, .cookie-btn, .main-nav a, .link-arrow
{ transition: background 0.18s, color 0.17s, box-shadow 0.16s, transform 0.14s; }

/* ================
   MISC
   ================ */
::-webkit-scrollbar { width: 11px; background: #e49b3d0a; }
::-webkit-scrollbar-thumb { background: #e49b3d33; border-radius: 9px; }

::-moz-selection { background: var(--brand-secondary); color: #fff; }
::selection { background: var(--brand-secondary); color: #fff; }

/* ==================
   PRINT STYLES
   ================== */
@media print {
  header, .main-nav, .mobile-menu, .mobile-menu-toggle, .cookie-consent-banner, .cookie-modal-overlay, footer {
    display: none !important;
  }
  body { background: #fff !important; color: #111 !important; }
  .container, .section { box-shadow: none !important; background: none !important; }
}
