/* =============================================================
   =============== UrbanGarten Hamburg Vintage Retro CSS =========
   ============================================================= */

/* CSS RESET & NORMALIZE (basic, broad coverage, no grid/columns used) */
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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.7;
  background: #FFEED8;
  color: #2A2106;
}
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.18s; }

/* ========== Brand Retro Color Palette ========== */
:root {
  --primary: #256029;
  --primary-darker: #183d17;
  --secondary: #F6FBF4;
  --accent: #8EBF69;
  --retro-orange: #E69045;
  --retro-cream: #FFEED8;
  --retro-green: #3E8549;
  --retro-yellow: #FFF685;
  --retro-brown: #A7754D;
  --retro-blue: #6E99A7;
  --text-main: #2A2106;
  --text-contrast: #fff;
  --border: #D2C1A5;
  --shadow: rgba(180, 146, 75, 0.12);
}

/* ========== Typography: Vintage & Modern Blend ========== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500&display=swap');
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: var(--retro-cream);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 900;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-shadow: 1px 1px 0 var(--retro-yellow);
}
h1 { font-size: 2.8rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }
p, ul, ol, address { font-size: 1rem; line-height: 1.7; margin-bottom: 14px; }
strong, b { font-weight: 700; }

/* Retro effect: use background overlays and outlines for titles */
h1, h2 {
  position: relative;
  display: inline-block;
  padding: 0 12px 4px 6px;
  background: linear-gradient(90deg, var(--retro-yellow) 0 50%, transparent 70% 100%);
  box-decoration-break: clone;
  border-radius: 6px 14px 0 0;
}

/* Vintage Section Patterns & Cards */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--retro-cream);
  border-radius: 18px;
  box-shadow: 0 2px 16px var(--shadow);
  border: 2px solid var(--border);
  position: relative;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}

.content-wrapper, .text-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.text-section ul, .text-section ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.text-section ul li, .text-section ol li {
  position: relative;
  margin-bottom: 10px;
  font-size: 1rem;
}
.text-section ul li:before {
  content: '✦';
  color: var(--retro-orange);
  margin-right: 8px;
  font-size: 1.1em;
}
.text-section ol li {
  counter-increment: sectionlist;
}
.text-section ol { counter-reset: sectionlist; }
.text-section ol li:before {
  content: counter(sectionlist) '.';
  color: var(--retro-orange);
  margin-right: 7px;
}

/* ========== FLEXBOX LAYOUTS MANDATORY ========== */
.feature-grid, .blog-post-list, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.feature-grid > div, .blog-post-list > div {
  flex: 1 1 220px;
  background: #fffbe6;
  border: 2px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 4px 18px var(--shadow);
  padding: 22px 20px 20px 20px;
  transition: box-shadow 0.25s, transform 0.18s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  position: relative;
}
.feature-grid > div img, .blog-post-list > div img {
  width: 48px; height: 48px;
  margin-bottom: 10px;
  filter: sepia(0.39) hue-rotate(-12deg) saturate(1.4);
}
.feature-grid > div h3, .blog-post-list > div h3 {
  font-size: 1.1rem;
  color: var(--retro-brown);
}
.feature-grid > div:hover, .blog-post-list > div:hover {
  box-shadow: 0 8px 32px rgba(180,146,75,0.31);
  transform: translateY(-4px) scale(1.025);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fffbe6;
  border: 2px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 4px 18px var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 20px;
  min-width: 240px;
  flex: 1 1 280px;
}

.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;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fffbe6;
  border-radius: 18px;
  box-shadow: 0 2px 16px var(--shadow);
  border: 2px solid var(--border);
  margin-top: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.testimonial-card > div {
  background: var(--retro-yellow);
  color: #120a00;
  border-radius: 13px;
  padding: 18px 20px;
  font-size: 1.09rem;
  box-shadow: 0 2px 10px var(--shadow);
  margin-bottom: 0;
  min-width: 220px;
  max-width: 340px;
  margin-right: 0;
  margin-left: 0;
}
.testimonial-card strong {
  color: var(--primary);
  display: block;
  font-size: 1.1em;
  margin-bottom: 4px;
}
.testimonial-card span {
  color: var(--retro-orange);
  font-size: 1.11em;
  letter-spacing: 0.1em;
  margin-bottom: 7px;
  display: block;
}
.testimonial-card p {
  color: #3d3321;
  font-style: italic;
  margin-bottom: 0;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/************************* HEADER & NAV ****************************/
header {
  background: var(--primary);
  border-bottom: 6px solid var(--retro-orange);
  box-shadow: 0 2px 12px rgba(90, 51, 8, 0.11);
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 8px 16px;
}
header img {
  height: 53px;
  margin-right: 26px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
header nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--retro-yellow);
  font-size: 1.09rem;
  padding: 4px 10px;
  border-radius: 5px;
  margin-right: 2px;
  transition: background 0.18s, color 0.14s, box-shadow 0.19s;
  position: relative;
}
header nav a:hover,
header nav a:focus {
  background: var(--retro-orange);
  color: var(--primary);
  box-shadow: 0 1px 7px rgba(230,144,69,0.17);
}
header nav a.cta {
  background: var(--retro-orange);
  color: var(--primary-darker);
  font-weight: 700;
  border-radius: 9px;
  box-shadow: 0 1px 10px rgba(230,144,69,0.10);
  letter-spacing: 1px;
  margin-left: 8px;
  padding: 7px 20px;
  transition: background 0.16s, color 0.14s;
}
header nav a.cta:hover,
header nav a.cta:focus {
  background: var(--retro-yellow);
  color: var(--primary-darker);
}

/* Burger Hamburger Button */
.mobile-menu-toggle {
  display: none;
  background: var(--retro-orange);
  color: var(--primary-darker);
  border: none;
  border-radius: 9px;
  font-size: 2.2rem;
  padding: 4px 17px 5px 17px;
  cursor: pointer;
  margin-left: 18px;
  z-index: 99;
  box-shadow: 0 2px 10px rgba(230,144,69,0.17);
  transition: background 0.18s, color 0.19s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--retro-yellow);
}

.mobile-menu {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary);
  z-index: 999;
  transform: translateX(-100vw);
  transition: transform 0.34s cubic-bezier(.58,-0.03,.58,1.09);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 40px;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--retro-yellow);
  border: none;
  font-size: 2.5rem;
  padding: 4px 22px 0 24px;
  margin-bottom: 14px;
  cursor: pointer;
  align-self: flex-end;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  align-items: flex-start;
  margin-left: 34px;
  margin-top: 14px;
}
.mobile-nav a {
  /* Larger touch target */
  color: var(--retro-yellow);
  font-size: 1.3rem;
  padding: 11px 8px 10px 2px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  border-radius: 6px;
  transition: background 0.17s, color 0.12s;
  width: 100%;
  margin-right: 0;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--retro-orange);
  color: var(--primary);
}

/****************** MAIN & PAGE ELEMENTS ********************/
main { min-height: 65vh; }
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

a.cta {
  display: inline-block;
  background: var(--retro-orange);
  color: var(--primary-darker);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  border-radius: 12px;
  font-weight: 900;
  font-size: 1.05rem;
  padding: 12px 34px;
  box-shadow: 0 2px 18px rgba(230,144,69,0.17);
  margin-top: 8px;
  letter-spacing: 1.3px;
  border: none;
  transition: background 0.17s, color 0.11s, transform 0.15s;
  cursor: pointer;
}
a.cta:hover,
a.cta:focus {
  background: var(--primary);
  color: var(--retro-yellow);
  transform: translateY(-3px) scale(1.025);
}

/****************** BLOG POST LIST (RETRO) *******************/
.blog-post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.blog-post-list > div {
  background: #fffbe6;
  border: 2px solid var(--border);
  border-radius: 13px;
  padding: 22px 18px 18px;
  box-shadow: 0 2px 14px var(--shadow);
  font-size: 1rem;
  flex: 1 1 260px;
  margin-bottom: 20px;
  position: relative;
  min-width: 202px;
  transition: box-shadow 0.22s, transform 0.16s;
}
.blog-post-list h3 {
  font-size: 1.1rem;
  color: var(--retro-brown);
  margin-bottom: 7px;
}
.blog-post-list > div:hover {
  box-shadow: 0 8px 32px rgba(230,144,69,0.15);
  transform: translateY(-5px) scale(1.03);
}

/****************** CATEGORY FILTER (retro badges) *******************/
.category-filter p {
  margin: 10px 0 0 0;
}
.category-filter b {
  color: var(--retro-orange);
  padding-right: 7px;
  font-size: 1.08em;
}

/****************** FOOTER & SOCIALS ********************/
footer {
  background: var(--primary);
  border-top: 6px solid var(--retro-orange);
  color: var(--retro-yellow);
  font-size: 1rem;
  letter-spacing: 0.7px;
  padding: 36px 0 18px 0;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 7px;
}
.footer-links a {
  color: var(--retro-yellow);
  margin-right: 5px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 5px;
  padding: 2px 10px;
  transition: background 0.16s, color 0.11s;
}
.footer-links a:hover,
.footer-links a:focus {
  background: var(--retro-orange);
  color: var(--primary);
}
.social-media-links {
  display: flex;
  gap: 10px;
  margin-bottom: 6px;
}
.social-media-links img {
  width: 27px; height: 27px;
  filter: sepia(0.5) hue-rotate(-20deg) saturate(1.4);
}
.legal-info {
  text-align: center;
  color: var(--retro-yellow);
  font-size: 0.98em;
  margin: 0;
}

address {
  font-style: normal;
  color: #473700;
  background: #fffbe6;
  border-radius: 10px;
  padding: 12px 22px;
  border: 1px solid var(--border);
  margin: 14px 0 0 0;
}
address a {
  color: var(--retro-blue);
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.14s;
}
address a:hover,
address a:focus {
  color: var(--retro-brown);
}

/********************* FAQ ACCORDION ********************/
.faq-accordion h3 {
  cursor: pointer;
  color: var(--retro-orange);
  margin-top: 14px;
}
.faq-accordion p {
  display: block;
  margin-left: 6px;
  margin-bottom: 10px;
  color: var(--retro-brown);
}

/************************ COOKIE CONSENT BANNER ************************/
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 12000;
  width: 100vw;
  background: #3E8549;
  color: #fffbe6;
  box-shadow: 0 -6px 44px rgba(41,61,12,0.22);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 22px 16px 18px 16px;
  font-size: 1rem;
  animation: cookieSlideIn 0.7s cubic-bezier(.4,.13,.48,1.2);
}
@keyframes cookieSlideIn {
  from { transform: translateY(160px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin: 0 12px 0 0;
  color: #fffbe6;
  max-width: 440px;
}
.cookie-banner button {
  margin: 0 4px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  letter-spacing: 0.5px;
  box-shadow: 0 1px 11px rgba(230,144,69,0.10);
  transition: background 0.17s, color 0.13s;
}
.cookie-banner .accept {
  background: var(--retro-orange);
  color: var(--primary-darker);
}
.cookie-banner .accept:hover,
.cookie-banner .accept:focus {
  background: var(--retro-yellow);
  color: var(--primary-darker);
}
.cookie-banner .reject {
  background: #761502;
  color: #fffbe6;
}
.cookie-banner .reject:hover,
.cookie-banner .reject:focus {
  background: #ac350b;
  color: #fffbe6;
}
.cookie-banner .settings {
  background: var(--retro-blue);
  color: #fffbe6;
}
.cookie-banner .settings:hover,
.cookie-banner .settings:focus {
  background: var(--primary);
  color: var(--retro-yellow);
}

/***************** COOKIE MODAL *****************/
.cookie-modal-backdrop {
  position: fixed;
  z-index: 13500;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(39,61,12,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieBackdropIn 0.3s;
}
@keyframes cookieBackdropIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fffbe6;
  color: var(--primary);
  border-radius: 14px;
  box-shadow: 0 8px 70px rgba(39,61,12,0.19);
  padding: 40px 28px 30px 28px;
  max-width: 440px;
  width: 95vw;
  font-size: 1rem;
  animation: cookieModalIn 0.41s cubic-bezier(.4,.03,.44,1.16);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
@keyframes cookieModalIn {
  from { transform: translateY(60px) scale(0.95); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--primary);
  font-weight: 900;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-category-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 1rem;
}
.cookie-category-row label {
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal .switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
}
.cookie-modal .switch input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: var(--retro-orange);
  border-radius: 26px;
  transition: background 0.17s;
}
.cookie-modal .slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 2px; bottom: 2px;
  background-color: #fffbe6;
  border-radius: 50%;
  transition: 0.2s;
}
.cookie-modal .switch input:checked + .slider {
  background-color: var(--retro-green);
}
.cookie-modal .switch input:checked + .slider:before {
  transform: translateX(20px);
}
.cookie-modal .switch input:disabled + .slider {
  background: #A7754D;
  opacity: 0.5;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  right: 13px; top: 10px;
  background: none;
  border: none;
  color: #3E8549;
  font-size: 1.6rem;
  font-weight: 900;
  cursor: pointer;
}

/********************** MISC UTILITIES, CARDS, BUTTONS **********************/
.btn, button, input[type="submit"] {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  background: var(--retro-orange);
  color: var(--primary-darker);
  padding: 11px 22px;
  border: none;
  border-radius: 9px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.17s, color 0.12s, transform 0.13s;
  cursor: pointer;
}
.btn:hover, button:hover, input[type="submit"]:hover,
.btn:focus, button:focus, input[type="submit"]:focus {
  background: var(--primary);
  color: var(--retro-yellow);
  transform: translateY(-2px);
}

/* Decorative Dots + Retro Borders */
.section:after {
  content: '';
  display: block;
  position: absolute;
  left: 30px; bottom: 13px;
  width: 65px; height: 8px;
  background: repeating-linear-gradient(90deg, var(--retro-yellow) 0 9px, transparent 9px 17px);
  opacity: 0.31;
  border-radius: 7px;
}

/*************** RESPONSIVE DESIGN: MOBILE FIRST ***************/
@media (max-width: 1024px) {
  .container { max-width: 97vw; }
  header .container { flex-wrap: wrap; }
  .blog-post-list, .feature-grid, .testimonial-card, .card-container, .content-grid {
    gap: 18px;
  }
  .section { padding: 28px 5vw; }
}

@media (max-width: 900px) {
  .feature-grid > div, .blog-post-list > div {
    min-width: 170px;
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
    max-width: 100vw;
  }
  .section {
    margin-bottom: 36px;
    padding: 24px 5vw;
  }
  .header .container { flex-direction: row; }
  .feature-grid, .blog-post-list, .card-container, .testimonial-card, .content-grid {
    flex-direction: column;
    gap: 17px;
  }
  .feature-grid > div, .blog-post-list > div, .card {
    min-width: 0;
    width: 100%;
  }
  .testimonial-card {
    padding: 8px 10px;
    border-radius: 12px;
  }
  .testimonial-card > div {
    min-width: 0;
    max-width: 100%;
    padding: 14px 10px;
  }
  .content-wrapper, .text-section {
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  header nav, header .cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 20px;
  }
  .footer-links {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin-bottom: 7px;
  }
}

@media (max-width: 600px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.3rem; }
  .section { padding: 16px 2vw; }
}
@media (max-width: 460px) {
  .container, .section { padding: 0 3px; }
  .cookie-modal { padding: 29px 3vw 22px 3vw; }
}

/***************** MICRO-ANIMATIONS/MICRO-INTERACTION ************/
*:focus {
  outline: 2px dashed var(--retro-orange);
  outline-offset: 2px;
}
a, button, input[type="submit"] { transition: background 0.18s, color 0.14s, box-shadow 0.13s, transform 0.11s; }
.card:hover, .card:focus {
  box-shadow: 0 8px 32px rgba(180,146,75,0.21);
  transform: translateY(-3px) scale(1.019);
}

/******* HIDING ELEMENTS FOR INTERACTIVITY (for .mobile-menu & cookie modal JS) ******/
.mobile-menu,
.cookie-modal-backdrop {
  display: none;
}
.mobile-menu.open,
.cookie-modal-backdrop.show {
  display: flex !important;
}

/************************ PRINT STYLES ************************/
@media print {
  header, footer, .cookie-banner, .cookie-modal-backdrop, .mobile-menu { display: none !important; }
  section { box-shadow: none; border: none; background: #fff !important; }
  body { color: #222 !important; }
}
