/* =========================
   Virgo Disvo Vintage Retro Style 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,
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-weight: normal;
  vertical-align: baseline;
  font-family: inherit;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F7F6F5;
  color: #22496D;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol {
  list-style: none;
}
a {
  color: #22496D;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #A56035;
  outline-offset: 2px;
}
img {
  max-width: 100%;
  display: block;
}
button {
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
}

/* --- RETRO VINTAGE BRAND COLORS & PATTERNS --- */
:root {
  --primary: #22496D;         /* Deep blue */
  --secondary: #B6D4EB;       /* Gentle baby blue */
  --accent: #F7F6F5;          /* Warm off-white */
  --retro-yellow: #FFEC99;    /* Pastel yellow */
  --retro-mustard: #F5C26B;   /* Muted mustard */
  --retro-red: #E97451;       /* Rusty red */
  --retro-brown: #A56035;     /* Warm brown */
  --retro-green: #659977;     /* Muted sage */
  --card-bg: #FFF9EF;
  --shadow-lg: 0 10px 32px rgba(34, 73, 109, 0.07);
  --shadow-md: 0 2px 8px rgba(166, 96, 53, 0.11);
  --border-radius: 20px;
}

/* --- FONTS (RETRO VIBES) ---*/
h1, h2, h3, h4, h5, h6, .cta-btn, .logo {
  font-family: 'Montserrat', Arial, Verdana, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* --- TYPOGRAPHY SCALE ---*/
h1 {
  font-size: 2.75rem;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--primary);
  text-shadow: 1px 3px 0 var(--retro-yellow), 0 1px 10px #fff8e19a;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  color: var(--retro-brown);
  text-shadow: 1px 2px 0 var(--retro-yellow);
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 8px;
  color: var(--retro-green);
}
h4, h5, h6 {
  color: var(--retro-brown);
  font-size: 1.1rem;
}
p, li, span {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #22496D;
  margin-bottom: 14px;
}
b, strong {
  color: var(--primary);
}

@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  h3 {
    font-size: 1.05rem;
  }
}

/* --- PAGE CONTAINER --- */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ========= HEADER & NAV BAR ========= */
header {
  padding: 0 0 0 0;
  background: linear-gradient(to right, var(--retro-yellow) 0%, #FFF9EF 100%);
  border-bottom: 2px dotted var(--retro-brown);
  box-shadow: 0 2px 12px #efe5c6a1;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  position: relative;
  gap: 10px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, Verdana, sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--primary);
  transition: background 0.2s, color 0.2s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  background: var(--retro-yellow);
  color: var(--retro-brown);
  text-decoration: underline;
}
.logo, header img {
  height: 54px;
  margin-right: 16px;
}

.cta-btn {
  font-family: 'Montserrat', Arial, Verdana, sans-serif;
  background: var(--retro-red);
  color: #fff;
  border-radius: 12px;
  padding: 10px 30px;
  font-size: 1.15rem;
  margin-left: 10px;
  box-shadow: 0 2px 8px #edb59669;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border: 2px solid #fbd0c5;
  cursor: pointer;
  transition: background 0.18s, color 0.2s, box-shadow 0.21s;
  position: relative;
  z-index: 2;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--retro-brown);
  color: var(--retro-yellow);
  box-shadow: 0 4px 18px #a5603575, 0 2px 6px #e9745113;
}

/* --- MOBILE BURGER --- */
.mobile-menu-toggle {
  display: none;
  background: var(--retro-red);
  color: #fff;
  font-size: 2.1rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-left: 18px;
  transition: background 0.2s, color 0.2s;
  z-index: 1002;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--retro-brown);
}

@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .cta-btn {
    margin-left: 0;
  }
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(251, 229, 175, 0.98);
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(0.48,0.35,0.22,1.16);
  z-index: 4000;
  display: flex;
  flex-direction: column;
  padding: 0 0 60px 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 32px 30px 20px 0;
  background: var(--retro-red);
  color: #fff;
  width: 48px;
  height: 48px;
  font-size: 2.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--retro-brown);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.16rem;
  padding: 16px 34px;
  background: var(--retro-yellow);
  border-radius: 16px;
  box-shadow: 0 1px 8px #f5c26b33;
  color: var(--primary);
  margin-bottom: 0;
  width: 85vw;
  max-width: 430px;
  text-align: center;
  transition: background 0.15s, color 0.17s;
}
.mobile-nav a:active,
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--retro-red);
  color: #fff;
}

/* Hide mobile menu by default */
@media (min-width: 901px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* --- HERO SECTION --- */
.hero {
  background: repeating-linear-gradient(135deg, var(--retro-yellow) 0 32px, var(--card-bg) 32px 64px);
  border-bottom: 4px double #E97451;
  margin-bottom: 60px;
  padding: 40px 0 50px 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero .content-wrapper {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: #fffbe9d1;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 34px 24px;
  border: 3px dashed var(--retro-mustard);
}
.hero h1 {
  font-size: 2.3rem;
}
.hero p {
  font-size: 1.18rem;
  color: var(--retro-brown);
  letter-spacing: 0.01em;
}
.hero .cta-btn {
  align-self: flex-start;
  margin-top: 14px;
}

/* --- SECTIONS, CARDS, CONTENT WRAPPERS --- */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature-grid, .service-list, .testimonial-slider, .testimonial-grid, .blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 22px 0 0 0;
  justify-content: space-between;
}
@media (max-width: 900px) {
  .feature-grid, .service-list, .testimonial-slider, .testimonial-grid, .blog-list {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}

.feature-grid > div, .service-list > div, .blog-post-preview, .testimonial-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 26px 22px 20px 22px;
  min-width: 270px;
  box-shadow: var(--shadow-md);
  border: 2px solid #f5c26b55;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  position: relative;
  margin-bottom: 20px;
}
.feature-grid > div img,
.service-list > div img {
  width: 52px;
  height: 52px;
  margin-bottom: 10px;
}
.blog-list .blog-post-preview {
  max-width: 350px;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  min-width: 260px;
  background: #ffffffeb;
  border: 2px solid var(--retro-mustard);
  border-radius: 20px;
  box-shadow: 0 4px 24px #f7e7c9c9;
}
.testimonial-card .testimonial-stars {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: var(--retro-yellow);
  letter-spacing: 1px;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: var(--primary);
  margin-bottom: 8px;
  font-style: italic;
}
.testimonial-card .testimonial-author {
  color: var(--retro-brown);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  align-self: flex-end;
}
.testimonial-card img {
  width: 32px; height: 32px;
  margin: 0 0 0 0;
  opacity: 0.62;
}

/* Testimonial grid (for opinions.html, responsive) */
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 10px 0 0 0;
}
@media (max-width: 900px) {
  .testimonial-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* --- CTA BANNER SECTIONS --- */
.cta {
  background: linear-gradient(90deg, #B6D4EB 60%, #FFEC99 100%);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 20px #b6d4eb22;
  margin-bottom: 34px;
  padding: 38px 0;
}
.cta .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 15px;
}
.cta h2 {
  font-family: 'Montserrat', Arial, Verdana, sans-serif;
  font-size: 2rem;
  color: var(--retro-red);
  text-shadow: 1px 2px #fffbe966;
  margin-bottom: 12px;
}
.cta p {
  color: var(--primary);
  font-size: 1.08rem;
}
.cta .cta-btn {
  margin: 18px auto 0 auto;
}

/* --- BLOG ENTRIES --- */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 0;
}
.blog-post-preview {
  background: var(--accent);
  border: 2px dashed var(--retro-green);
  border-radius: 18px;
  padding: 26px 18px 18px 18px;
  transition: box-shadow 0.15s, border-color 0.23s;
  min-width: 220px;
}
.blog-post-preview:hover,
.blog-post-preview:focus-within {
  box-shadow: 0 6px 18px #b6d4eb51;
  border-color: var(--retro-yellow);
}
.blog-post-preview h3 {
  color: var(--retro-red);
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.cta-link {
  display: inline-block;
  color: var(--retro-brown);
  font-weight: bold;
  border-bottom: 1.5px dashed var(--retro-brown);
  padding: 2px 4px;
  text-decoration: none;
  margin-top: 6px;
  transition: color 0.18s, border-color 0.16s;
}
.cta-link:hover,
.cta-link:focus {
  color: var(--retro-red);
  border-bottom-color: var(--retro-red);
  background: var(--retro-yellow);
}

/* --- LISTS, OL, UL (RETRO DISC STYLE) --- */
ul, ol {
  margin: 10px 0 18px 25px;
}
ul li::before {
  content: '\2022 ';
  color: var(--retro-brown);
  font-size: 1.13em;
  margin-right: 5px;
  position: relative;
  top: 0.5px;
}
ol li {
  padding-left: 2px;
  margin-bottom: 6px;
}
li {
  margin-bottom: 3px;
}

/* --- SECTION SPACING CLASSES, PER SPEC --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.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; }
.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; }

/* On mobile, flip flex direction to columns for text-image sections: */
@media (max-width: 768px) {
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}

/* --- LEGAL CONTENT --- */
.legal-content {
  background: #fffcf7;
  border-radius: 14px;
  padding: 32px 18px;
}

/* --- CONFIRMATION CONTENT --- */
.confirmation-content {
  background: #fffbe9cc;
  border-radius: 18px;
  box-shadow: 0 6px 23px #b6d4eb33;
  padding: 34px 22px;
  text-align: center;
  margin-top: 24px;
}
.confirmation-content h1 {
  color: var(--retro-red);
  margin-bottom: 7px;
}

/* --- FOOTER --- */
footer {
  background: var(--retro-yellow);
  border-top: 2px dotted var(--retro-brown);
  margin-top: 48px;
  padding: 32px 0 20px 0;
  font-size: 1rem;
  box-shadow: 0 -2px 10px #b6d4eb20;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
footer nav a {
  color: var(--retro-brown);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  text-decoration: underline dashed;
  letter-spacing: 0.01em;
  margin-bottom: 7px;
}
footer nav a:hover, footer nav a:focus {
  color: var(--retro-red);
  text-decoration: underline solid;
}
footer .footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--primary);
  align-items: center;
}
footer .footer-contact span img {
  width: 20px; height: 20px;
  margin-right: 7px;
  vertical-align: middle;
  opacity: 0.7;
}
footer p {
  margin-top: 14px;
  color: #897442;
}
@media (max-width: 800px) {
  footer .container {
    align-items: stretch;
  }
  footer .footer-contact {
    flex-direction: column;
    font-size: 0.97rem;
    gap: 8px;
    align-items: flex-start;
  }
}

/* --- MAP PLACEHOLDER (KONTAKT) --- */
.map-placeholder {
  background: repeating-linear-gradient(45deg, var(--retro-yellow), var(--retro-yellow) 10px, var(--accent) 10px, var(--accent) 20px);
  color: var(--retro-brown);
  border: 2px dashed var(--retro-mustard);
  border-radius: 13px;
  padding: 18px 13px;
  text-align: center;
  font-style: italic;
  margin: 12px 0;
}

/* --- BUTTONS (General and Forms) --- */
button, .cta-btn, .cookie-btn {
  font-family: 'Montserrat', Arial, Verdana, sans-serif;
  border-radius: 14px;
  padding: 11px 30px;
  font-size: 1rem;
  background: var(--retro-yellow);
  color: var(--retro-brown);
  font-weight: 600;
  border: 2px solid var(--retro-mustard);
  box-shadow: 0 2px 10px #fff9ef66;
  cursor: pointer;
  transition: background 0.17s, color 0.19s, box-shadow 0.16s;
}
button:hover, .cta-btn:hover, .cookie-btn:hover,
button:focus, .cta-btn:focus, .cookie-btn:focus {
  background: var(--retro-red);
  color: #fff;
  border-color: var(--retro-brown);
  box-shadow: 0 6px 16px #e9745142;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: var(--retro-yellow);
  color: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 23px 18px 23px 18px;
  z-index: 9999;
  box-shadow: 0 -2px 30px #a5603522;
  font-size: 1rem;
  border-top: 4px double var(--retro-red);
  animation: cookieBannerIn 0.55s cubic-bezier(0.45,0.8,0.24,1.2);
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
.cookie-banner .cookie-btn {
  margin: 0 8px 0 0;
  padding: 10px 24px;
  min-width: 132px;
}
.cookie-banner .cookie-btn:last-child {
  margin-right: 0;
}
.cookie-banner .cookie-btn--accept {
  background: var(--retro-green);
  color: #fff;
  border: 2px solid var(--retro-green);
}
.cookie-banner .cookie-btn--reject {
  background: var(--retro-red);
  color: #fff;
  border: 2px solid var(--retro-red);
}
.cookie-banner .cookie-btn--settings {
  background: var(--retro-yellow);
  color: var(--primary);
  border-color: var(--retro-brown);
}
.cookie-banner .cookie-btn--accept:hover,
.cookie-banner .cookie-btn--accept:focus {
  background: #33644c;
  border-color: #33644c;
}
/* Cookie Preferences Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34, 73, 109, 0.43);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalIn 0.45s cubic-bezier(0.35,0.96,0.26,1.24);
}
@keyframes cookieModalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--accent);
  border-radius: 22px;
  box-shadow: 0 8px 52px #b6d4ebaa;
  padding: 36px 28px 28px 28px;
  max-width: 380px;
  width: 90vw;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
}
.cookie-modal h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--retro-brown);
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  font-size: 1.5rem;
  background: var(--retro-red);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: var(--retro-brown);
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid #e6dfcc;
  font-size: 1.06rem;
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  color: var(--retro-brown);
  font-family: 'Montserrat', Arial, sans-serif;
  margin-right: 12px;
}
.cookie-modal input[type='checkbox'] {
  accent-color: var(--retro-red);
  width: 19px; height: 19px;
}
/* Always enabled category (essential) */
.cookie-category.essential label {
  font-weight: 700;
  color: var(--retro-red);
}
.cookie-category.essential input[type='checkbox'] {
  display: none;
}

/* --- RESPONSIVE --- */
@media (max-width: 600px) {
  html, body { font-size: 15px; }
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.13rem; }
  .container { padding: 0 8px; }
  .cta { padding: 19px 0 26px 0; }
  .section, section { padding: 24px 8px !important; }
  .feature-grid, .service-list, .testimonial-slider, .testimonial-grid, .blog-list {
    gap: 12px;
  }
  .card, .feature-grid > div, .service-list > div, .blog-post-preview, .testimonial-card {
    padding: 14px 8px 14px 12px;
    min-width: unset;
  }
}

/* --- UTILITIES -- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-16 { margin-top: 16px !important; }
.mt-24 { margin-top: 24px !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-8 { margin-bottom: 8px !important; }
.mb-24 { margin-bottom: 24px !important; }

/* --- Animations & Microinteractions --- */
.card, .feature-grid > div, .service-list > div, .blog-post-preview, .testimonial-card {
  transition: box-shadow 0.20s, border-color 0.19s, transform 0.18s;
}
.card:hover, .feature-grid > div:hover,
.service-list > div:hover, .testimonial-card:hover, .blog-post-preview:hover {
  box-shadow: 0 8px 16px #65997740, 0 2px 8px #e9745120;
  border-color: var(--retro-red);
  transform: translateY(-4px) scale(1.014);
}

.cta-btn[disabled], button[disabled] {
  background: #f4efec;
  color: #AC9E8B;
  cursor: not-allowed;
  border-color: #eeddcc;
  box-shadow: none;
}

::-webkit-scrollbar {
  width: 10px; background: #f9edcd;
}
::-webkit-scrollbar-thumb {
  background: var(--retro-brown);
  border-radius: 6px;
}

/* === NO GRID OR COLUMNS: FLEX ONLY === */
/* All layout containers use display:flex; gap; flex-wrap; see above pattern. */
