/*=================================================================*
  CSS RESET & NORMALIZATION: Ensures consistency across browsers
*==================================================================*/
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, 
main, 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;
}

/* HTML5 display-role reset */
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #FDF6EA;
  color: #2E4053;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; transition: color .2s; }
ul, ol { list-style: none; }
img, svg { vertical-align: middle; max-width: 100%; height: auto; }
table {border-collapse: collapse; border-spacing: 0; width: 100%;}
button { background: none; border: none; cursor: pointer; }
strong { font-weight: 700; }
address { font-style: normal; }

/* Vintage Retro Typography ----------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Arial Black', 'Arial', sans-serif;
  letter-spacing: 1.5px;
  color: #BB5B00;
  margin-bottom: 16px;
  text-shadow: 0 2px 0 #fff1cc, 0 3px 6px rgba(46,64,83,0.11);
  font-weight: 800;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; font-weight: 700; }
h4 { font-size: 1.1rem; }
p, li, address, cite {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 14px;
  color: #2E4053;
}
blockquote {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #2E4053;
  background: #FFF8F3;
  border-left: 6px solid #BB5B00;
  padding: 16px 30px;
  border-radius: 32px 0 32px 0;
  box-shadow: 0 2px 8px rgba(152,112,24,0.07);
  margin: 0 0 12px 0;
}
cite {
  display: block;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: .98rem;
  color: #7A5529;
  font-style: normal;
  margin-top: 0;
}

/* Retro Color Palette & Utility Classes ----------------*/
:root {
  --color-primary: #2E4053;
  --color-secondary: #ECECEC;
  --color-bg: #FDF6EA;
  --color-accent: #BB5B00;
  --color-accent-light: #FFD08C;
  --color-shadow: rgba(174, 142, 91, 0.11);
  --color-link-hover: #E67E22;
  --color-card-border: #DCC89A;
}

body {
  background: var(--color-bg);
}

a:hover, .main-nav a.active, .footer-nav a.active {
  color: var(--color-link-hover);
}

/* Container & Section Spacing -------------------------*/
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Vintage Patterns BG ---------------------------------*/
.section, .testimonial-card, .cta-banner, .card, .service-list > div, .service-listing > div {
  background-image: repeating-linear-gradient(-45deg, transparent, transparent 28px, #F9E2B7 29px, #F9E2B7 32px,transparent 34px);
  background-clip: padding-box;
}

/* Main Nav (Desktop) ----------------------------------*/
header {
  background: var(--color-primary);
  box-shadow: 0 6px 36px -10px var(--color-shadow);
  z-index: 1000;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  padding: 18px 0;
}
.main-nav img {
  height: 48px;
  width: auto;
  margin-right: 18px;
  filter: drop-shadow(0 2px 1px #bb5b0040);
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 1.08rem;
  padding: 8px 18px;
  border-radius: 22px;
  transition: background .19s, color .19s;
  position: relative;
  z-index: 1;
}
.main-nav a.cta-primary {
  background: var(--color-accent);
  color: #fff;
  margin-left: auto;
  box-shadow: 0 2px 10px 0 var(--color-shadow);
  padding: 10px 30px;
  border-radius: 30px 10px 30px 10px;
  font-size: 1.09rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: transform .17s, background .19s;
}
.main-nav a.cta-primary:hover, .main-nav a.cta-primary:focus {
  background: #2E4053;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  transform: scale(1.035) rotate(-1deg);
}
.main-nav a:not(.cta-primary):hover, .main-nav a:not(.cta-primary):focus {
  background: #fff1cc2e;
  color: var(--color-accent);
}

/* Mobile Menu Burger ----------------------------------*/
.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 35%;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 1100;
  box-shadow: 0 2px 8px 0 var(--color-shadow);
  transition: background .2s, box-shadow .2s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #fff1cc;
  color: var(--color-accent);
  box-shadow: 0 2px 16px 0 var(--color-accent-light);
}

/* Mobile Menu Overlay ---------------------------------*/
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #FDF6EAee;
  transform: translateX(-110vw);
  transition: transform .39s cubic-bezier(.29,1.3,.59,1);
  z-index: 1200;
  box-shadow: 2px 0 32px 2px #2E405340;
  padding-top: 75px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 22px; right: 20px;
  font-size: 2.1rem;
  background: var(--color-primary);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-accent);
  color: #fff1cc;
  outline: 2px solid var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  color: var(--color-primary);
  background: #fff5eb;
  width: 90vw;
  max-width: 330px;
  text-align: center;
  padding: 13px 0;
  border-radius: 22px 6px 22px 6px;
  margin-bottom: 2px;
  transition: background .15s, color .15s, box-shadow .12s;
  box-shadow: 0 3px 8px 0 var(--color-accent-light);
}
.mobile-nav a:active, .mobile-nav a:focus {
  color: var(--color-accent);
  background: #FFF1CC;
}

/* Hide Nav on Mobile, Show Burger ---------------------*/
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* Main Content Layouts FLEXBOX ------------------------*/
.service-list, .service-listing, .blog-post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 28px;
}
.service-list > div, .service-listing > div, .blog-post-list > article {
  flex: 1 1 325px;
  background: #fff;
  border: 2px solid var(--color-card-border);
  border-radius: 32px 7px 32px 7px;
  padding: 32px 24px 30px 24px;
  box-shadow: 0 6px 36px -14px var(--color-shadow);
  min-width: 240px;
  transition: box-shadow .2s, transform .18s;
  margin-bottom: 20px;
  position: relative;
}
.service-list > div:hover, .service-listing > div:hover, .blog-post-list > article:hover {
  transform: translateY(-4px) scale(1.03) rotate(-1.2deg);
  box-shadow: 0 6px 36px -8px var(--color-shadow);
  border-color: var(--color-accent-light);
}
@media (max-width: 900px) {
  .service-list,
  .service-listing,
  .blog-post-list {
    flex-direction: column;
    gap: 20px;
  }
}

/* Card Containers, Grids -----------------------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fffdfa;
  border: 2px solid var(--color-card-border);
  border-radius: 26px 9px 26px 9px;
  box-shadow: 0 3px 12px -6px var(--color-shadow);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .2s, transform .18s;
}
.card:hover {
  box-shadow: 0 10px 50px -10px var(--color-shadow);
  transform: translateY(-2px) scale(1.03);
  border-color: var(--color-accent-light);
}
.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: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

/******************************
* Feature / Offer Section Flex
*******************************/
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fffdee;
  border-radius: 12px 32px 12px 32px;
  padding: 24px 20px;
  border: 1.5px solid #edcfba;
  margin-bottom: 20px;
  min-width: 220px;
}
.feature-icon {
  margin-bottom: 10px;
}
.feature-icon img {
  width: 40px;
  height: 40px;
  filter: sepia(0.71) hue-rotate(-10deg) saturate(1.8);
}
/* Features list pattern auto for home page */
section[aria-labelledby^='features'] ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
section[aria-labelledby^='features'] li {
  flex: 1 1 220px;
  min-width: 180px;
  background: #fffdfa;
  border-radius: 16px 36px 16px 36px;
  border: 2px solid #ffe5bb;
  box-shadow: 0 4px 18px -10px var(--color-shadow);
  padding: 24px 18px;
  position: relative;
  margin-bottom: 20px;
}
@media (max-width: 900px) {
  section[aria-labelledby^='features'] ul {
    flex-direction: column;
  }
}

/********************************
* CTA Banners and Buttons
*********************************/
.cta-banner {
  background: var(--color-accent-light);
  border-radius: 32px 15px 32px 15px;
  padding: 36px 20px 40px;
  box-shadow: 0 3px 12px -6px var(--color-shadow);
  text-align: center;
}
.cta-primary, .cta-secondary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  border: none;
  background: var(--color-accent);
  color: #fff;
  border-radius: 30px 10px 30px 10px;
  padding: 13px 32px;
  box-shadow: 0 5px 16px -6px var(--color-shadow);
  margin: 16px 0 0 0;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 800;
  position: relative;
  transition: background .165s, color .165s, transform .155s;
  cursor: pointer;
  outline: none;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: #2E4053;
  color: var(--color-accent);
  transform: scale(1.05) rotate(-1deg);
}
.cta-primary:active {
  transform: scale(0.99);
}
.cta-secondary {
  background: #fffdfa;
  color: var(--color-primary);
  border: 2px solid var(--color-accent);
  margin-left: 12px;
  box-shadow: none;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--color-accent-light);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/********************************
* Testimonial Cards Style
*********************************/
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px 20px 18px;
  margin-bottom: 24px;
  background: #fffefe;
  border: 2px solid #FFD08C;
  border-radius: 27px 10px 32px 12px;
  box-shadow: 0 2px 13px -4px var(--color-shadow);
  max-width: 670px;
  color: #2E4053;
}
.testimonial-card blockquote {
  background: transparent;
  color: #2E4053;
  font-style: italic;
  padding: 0 0 0 20px;
  border-left: 4px solid var(--color-accent);
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 4px;
}
.testimonial-card cite {
  color: #BB5B00;
  font-weight: 700;
  font-style: normal;
}

/*****************
* Footer Styles
******************/
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 40px 0 25px 0;
  font-size: 1rem;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  gap: 21px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 1.1px;
  font-size: 1rem;
  opacity: .92;
  transition: color .13s, text-decoration .14s;
  padding: 5px 7px;
  border-radius: 8px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-accent-light);
  background: #2E4053;
  text-decoration: underline dashed;
}
.footer-brand img {
  height: 46px;
}
.footer-contact address {
  color: #f7dcb2;
  font-size: .98rem;
  margin-top: 5px;
  line-height: 1.4;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.footer-social img {
  width: 32px; height: 32px;
  background: #fffdfa;
  border-radius: 12px;
  box-shadow: 0 2px 4px -2px var(--color-shadow);
  padding: 5px;
  filter: sepia(.65) contrast(1.2) hue-rotate(-12deg);
  transition: filter .18s, background .15s;
}
.footer-social img:hover {
  background: var(--color-accent-light);
  filter: sepia(0.31) hue-rotate(-2deg) brightness(1.1);
}
@media(max-width: 820px) {
  footer .container {
    flex-direction: column;
    gap: 17px;
    align-items: center;
    text-align: center;
  }
  .footer-nav { justify-content: center; }
}

/***********************
* Tables (Oferta)
***********************/
table {
  background: #fffefa;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 28px;
  box-shadow: 0 2px 12px -6px var(--color-shadow);
  border: 2px solid #ffe5bb;
}
table caption {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 10px;
}
thead tr {
  background: #F9E2B7;
}
th, td {
  font-size: 1.05rem;
  font-family: 'Roboto', Arial, sans-serif;
  padding: 10px 16px;
  border-bottom: 1px solid #efdfbe;
  color: #66461a;
}
th {
  text-align: left;
  font-weight: 700;
}
tbody tr:last-child td {
  border-bottom: none;
}

/* Blog Category Navigation --------------------------*/
.blog-categories ul {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 24px;
}
.blog-categories a {
  display: inline-block;
  padding: 8px 20px;
  background: var(--color-accent-light);
  color: var(--color-primary);
  border-radius: 16px 4px 16px 4px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  transition: color .13s, background .13s, box-shadow .13s;
  border: 1px solid #FFE6BF;
  font-size: 1rem;
  box-shadow: 0 2px 7px -3px var(--color-shadow);
}
.blog-categories a:hover, .blog-categories a:focus {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 6px 16px -8px var(--color-accent-light);
}

/***************************************
* Map Placeholder on Kontakt Page
****************************************/
.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto 8px auto;
  padding: 20px 0 15px 0;
}
.map-placeholder img {
  width: 220px;
  height: auto;
  filter: grayscale(.25) sepia(.2);
}
.map-placeholder span {
  color: #7A5529;
  font-size: .96rem;
  font-family: 'Roboto', Arial, sans-serif;
}

/**********************************
* Cookie Consent Banner & Modal
***********************************/
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1500;
  background: #FFD08C;
  color: #2E4053;
  width: 100%;
  padding: 24px 15px 20px 15px;
  box-shadow: 0 -2px 16px -5px var(--color-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
  font-size: 1.03rem;
  font-family: 'Roboto', Arial, sans-serif;
  animation: bannerIn .7s cubic-bezier(.22,1.2,.27,1) forwards;
}
@keyframes bannerIn {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
#cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: 700;
  background: var(--color-accent);
  color: #fff;
  border: none;
  padding: 9px 22px;
  border-radius: 22px 5px 22px 5px;
  margin: 0;
  cursor: pointer;
  transition: background .15s, color .14s, transform .14s;
  box-shadow: 0 2px 7px -4px var(--color-accent-light);
}
#cookie-banner .cookie-btn.settings {
  background: var(--color-primary);
  color: #FFD08C;
}
#cookie-banner .cookie-btn.reject {
  background: #fffdfa;
  color: var(--color-primary);
  border: 1.3px solid var(--color-accent);
}
#cookie-banner .cookie-btn:hover,
#cookie-banner .cookie-btn:focus {
  background: var(--color-accent-light);
  color: var(--color-primary);
  outline: none;
  transform: scale(1.03) rotate(-1deg);
}
#cookie-banner .cookie-btn.settings:hover,#cookie-banner .cookie-btn.settings:focus {
  background: var(--color-accent-light);
  color: var(--color-primary);
}
#cookie-banner .cookie-btn.reject:hover, #cookie-banner .cookie-btn.reject:focus {
  background: #FFEFC8;
  color: var(--color-accent);
}

#cookie-modal {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(1);
  background: #FFF8F3;
  border: 2.7px solid #FFD08C;
  z-index: 2000;
  box-shadow: 0 8px 80px -20px var(--color-shadow);
  border-radius: 32px 9px 32px 9px;
  padding: 37px 20px 30px 20px;
  width: 94vw;
  max-width: 420px;
  animation: modalIn .38s cubic-bezier(.3,1.2,.31,1) forwards;
}
#cookie-modal.open {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
#cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.23rem;
  color: var(--color-accent);
  margin-bottom: 14px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.cookie-category label {
  font-size: 1.02rem;
  font-family: 'Roboto', sans-serif;
  color: #7A5529;
  cursor: pointer;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 20px;
  height: 20px;
}
.cookie-modal-actions {
  display: flex;
  gap: 16px;
  width: 100%;
  justify-content: flex-end;
  margin-top: 15px;
}
#cookie-modal .cookie-btn {
  font-size: 1.01rem;
  padding: 8px 18px;
  border-radius: 17px 4px 17px 4px;
}
#cookie-modal .cookie-btn.close {
  background: #fffdfa;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
}
#cookie-modal .cookie-btn.close:hover,
#cookie-modal .cookie-btn.close:focus {
  background: #FFD08C;
  color: var(--color-primary);
}
@keyframes modalIn {
  0% { opacity: 0; transform:translate(-50%,-46%) scale(0.90); }
  100% { opacity: 1; transform:translate(-50%, -50%) scale(1); }
}

/**********************************
* Responsive Design
***********************************/
@media (max-width: 600px) {
  .container,
  .section, section {
    padding: 20px 3vw !important;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.18rem;
  }
  .service-list > div, .service-listing > div {
    padding: 22px 8px 20px 8px;
  }
  .testimonial-card {
    padding: 16px 7px 14px 10px;
    max-width: 100%;
  }
  table th, table td {
    font-size: 0.96rem;
    padding-left: 8px; padding-right: 8px;
  }
  .cta-banner {
    padding: 24px 8px;
  }
  .main-nav img, .footer-brand img {
    height: 36px !important;
  }
  .footer-social img {
    width: 28px; height: 28px;
  }
}

/****************************************
* General Microinteractions & Utilities
*****************************************/
::-webkit-scrollbar {
  width: 10px; background: #f9e2b7;
}
::-webkit-scrollbar-thumb {
  background: #FFD08C; border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #E67E22;
}

::selection {
  background: #FFD08C; color: #2E4053;
}

hr {
  border: none;
  border-top: 2px dashed #ffd08c;
  margin: 32px 0;
}

/* Focus states for accessibility */
a:focus, button:focus, .cta-primary:focus, .cta-secondary:focus {
  outline: 2px solid var(--color-accent-light) !important;
  outline-offset: 2px;
  text-decoration: underline dotted;
}


/****************************************
* Hide visually (for screen readers)
*****************************************/
.sr-only {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px; width: 1px; overflow: hidden;
  white-space: nowrap; border: 0;
}

/***********************************************************
* End of Steady Inspiration Vintage Retro Flexbox CSS
************************************************************/
