/* ======================
   VITALSPRUNG STYLE.CSS
   vintage_retro inspired
   ====================== */

/***** 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: inherit;
  vertical-align: baseline; 
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  height: 100%;
}
body {
  height: 100%;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #FEF8EF; /* buttery vintage background */
  color: #2a1d0b;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width:100%;
  display: block;
}
 *, *::before, *::after { box-sizing: inherit; }
aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font-family: inherit; }

/***** VINTAGE RETRO VARIABLES *****/
:root {
  --vs-primary:#174D2D;
  --vs-secondary:#EAEEEC;
  --vs-accent:#F5AF1D;
  --vs-bg-main:#FEF8EF;
  --vs-bg-card:#FCF4E1;
  --vs-bg-footer:#FFF7D7;
  --vs-brown:#72573B;
  --vs-orange:#E47C19;
  --vs-blue:#31798E;
  --vs-rose:#E4B4A6;
  --vs-shadow:0 3px 16px 0 rgba(60,42,19,0.07);
}

/***** RETRO FONTS *****/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;700&family=Archivo+Black&family=Roboto+Slab:wght@700&display=swap');

h1, h2, h3 {
  font-family: 'Montserrat', 'Archivo Black', 'Roboto Slab', Arial, sans-serif;
  color: var(--vs-primary);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-shadow: 1px 1px 0 #E4B4A6;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

p, ul, li, span, a {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--vs-brown);
}
strong {
  font-weight: 700;
  color: var(--vs-orange);
  font-family: 'Montserrat', sans-serif;
}

/***** CONTAINER & SECTION LAYOUTS *****/
.container {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.text-section {
  background: var(--vs-bg-card);
  border-radius: 18px;
  box-shadow: var(--vs-shadow);
  margin-bottom: 40px;
  padding: 40px 20px 36px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/***** CARD AND GRID LAYOUT CONSTRAINTS *****/
.card-container,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: var(--vs-bg-card);
  border: 2px solid var(--vs-rose);
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: var(--vs-shadow);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 220px;
  min-height: 140px;
  padding: 24px 20px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 32px 0 rgba(60,42,19,0.12);
  transform: translateY(-4px) scale(1.02);
  border-color: var(--vs-accent);
}
.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 32px 20px 20px;
  background: #fff7d7;
  border: 2px solid #e4b4a6;
  border-radius: 16px;
  box-shadow: var(--vs-shadow);
  min-width: 245px;
  flex: 1 0 275px;
  margin-bottom: 24px;
  position: relative;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 38px 0 rgba(70,40,12,0.14);
  border-color: var(--vs-accent);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/***** BUTTONS & INTERACTIVE ELEMENTS *****/
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--vs-accent);
  color: var(--vs-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 22px;
  padding: 12px 32px;
  box-shadow: 0 2px 8px 0 rgba(80,50,9,0.07);
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.15s;
  margin-top: 18px;
  margin-bottom: 4px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #ffd975;
  color: var(--vs-brown);
  transform: scale(1.04);
}
.btn-primary:active {
  background: #eec86d;
  color: #392412;
}

.footer-nav a, .mobile-nav a {
  position: relative;
  padding: 4px 15px 4px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: var(--vs-primary);
  letter-spacing: 0.01em;
  transition: color 0.13s;
}
.footer-nav a:hover, .mobile-nav a:hover, .main-nav a:hover {
  color: var(--vs-accent);
  text-shadow: 0 0 3px rgba(240,90,0,0.12);
}

/***** HEADER & NAVIGATION *****/
header {
  width: 100%;
  background: var(--vs-bg-footer);
  border-bottom: 2px solid #f5e0bb;
  box-shadow: 0 1px 16px 0 rgba(80,60,22,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 100;
  padding: 0 24px;
  min-height: 70px;
}
header img { height: 44px; margin-right: 20px; }
header .btn-primary { margin-left: 32px; margin-top: 0; }
.main-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.mobile-menu-toggle {
  display: none;
  background: var(--vs-accent);
  border: 0;
  border-radius: 6px;
  font-size: 2rem;
  color: var(--vs-primary);
  padding: 6px 18px 6px 14px;
  margin-left: 16px;
  cursor: pointer;
  transition: background 0.19s, color 0.17s;
  z-index: 302;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #ecc267; color: #522f00;
}

/***** FOOTER *****/
footer {
  width: 100%;
  background: var(--vs-bg-footer);
  border-top: 2px solid #f2dcc2;
  padding: 34px 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  margin-top: 84px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-bottom: 10px;
}
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.96rem;
  color: #3e2b15;
  opacity: 0.94;
  text-align: center;
  letter-spacing: 0.011em;
}

/***** UL/LIST RESET AND STYLE *****/
ul {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}
ul li {
  display: flex;
  align-items: flex-start;
  gap: 1ch;
  margin-bottom: 14px;
  font-size: 1.09rem;
  letter-spacing: 0.01em;
  line-height: 1.4;
}
.content-wrapper ul {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}
.content-wrapper ul li img {
  margin-right: 12px;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: block;
  background: #f5ebe2;
  border-radius: 12px;
  border: 1.5px solid #e4b4a6;
  box-shadow: 0 1px 8px 0 rgba(230,200,150,0.13);
}

/***** TESTIMONIALS/REVIEWS *****/
.testimonial-card p, .testimonial-card span, .testimonial-card div {
  color: #3e2b15;
}
.testimonial-card p {
  font-size: 1.1rem;
  line-height: 1.45;
  font-family: 'Open Sans', Arial, sans-serif;
}
.testimonial-card span {
  font-size: 1rem;
  opacity: 0.86;
  font-family: 'Open Sans', Arial, sans-serif;
}
.testimonial-card div {
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  color: var(--vs-orange);
  font-family: 'Montserrat', Arial, sans-serif;
  margin-left: auto;
}

/***** CONTENT CARDS (e.g. Programme) *****/
.content-wrapper ul li {
  background: var(--vs-bg-card);
  border-radius: 9px;
  border: 1.5px dashed #e4b4a6;
  padding: 16px 18px;
  margin-bottom: 20px;
  box-shadow: 0 1px 6px 0 rgba(80,56,10,0.08);
  min-width: 210px;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.content-wrapper ul li:hover {
  border-color: var(--vs-accent);
  box-shadow: 0 5px 24px 0 rgba(220,160,60,0.15);
}

/***** FORMS (Kontakt, Cookie Banner) *****/
input, textarea, select {
  font-size: 1rem;
  border-radius: 7px;
  padding: 7px 12px;
  border: 1.5px solid #cbbfae;
  background: #f8f4ec;
  margin-bottom: 16px;
  transition: border-color 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--vs-accent);
  outline: none;
}
.label { font-size: 1.08rem; margin-bottom: 7px; font-family: 'Montserrat', Arial, sans-serif; }

/***** RESPONSIVE FLEXBOX LAYOUTS *****/
@media (max-width: 1075px) { 
  .container { max-width: 94vw; }
}
@media (max-width: 860px) {
  .content-wrapper, .content-grid {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
  .main-nav { gap: 10px; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.72rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.07rem; }
  header { flex-direction: row; padding: 0 10px; min-height: 58px; }

  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container { padding: 0 7px; }
  .section, .text-section { padding: 20px 7px 20px 7px; }
  .testimonial-card, .card, .content-wrapper ul li {
    min-width: 72vw; max-width: 99vw;
    padding-left: 12px; padding-right: 12px;
    font-size: 0.99rem;
  }
  .footer-nav { gap: 10px; flex-wrap: wrap; font-size: 0.99rem; }
  .footer-info { font-size: 0.85rem; }
}
@media (max-width: 600px) {
  .text-image-section, .content-grid, .content-wrapper, .card-container {
    flex-direction: column !important;
    gap: 16px !important;
  }
  .testimonial-card, .card {
    padding: 14px 7px 14px 7px;
    font-size: 0.96rem;
  }
  .btn-primary {
    width: 100%;
    justify-content: center;
    min-width: 0;
  }
}

/***** MOBILE MENU (BURGER NAV) *****/
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 96vw;
  max-width: 370px;
  height: 100vh;
  background: #fff7d7;
  box-shadow: -5px 0 32px 0 rgba(135,109,62,0.12);
  z-index: 9999;
  padding: 34px 26px 12px 32px;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.54,.14,.62,1.25);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: var(--vs-accent);
  border: none;
  border-radius: 4px;
  font-size: 2rem;
  color: var(--vs-primary);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1102;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #fcc234;
  color: #501f08;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mobile-nav a {
  color: var(--vs-primary);
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 10px 0;
  transition: color 0.17s, background 0.13s;
  border-radius: 7px;
}
.mobile-nav a:active, .mobile-nav a:hover {
  color: var(--vs-accent);
  background: #fcf5db;
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/***** COOKIE CONSENT BANNER *****/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fffbe4;
  border-top: 2px solid #F5AF1D;
  box-shadow: 0 -2px 24px 0 rgba(90,60,10,0.13);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 28px 8px 18px 8px;
  z-index: 91000;
  animation: banner-slide-up 0.54s cubic-bezier(.64,.09,.58,1.34);
}
@keyframes banner-slide-up {
  from { transform: translateY(120%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #301b09;
  font-size: 1.1rem;
  margin-bottom: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  text-align: center;
}
.cookie-banner-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-btn {
  background: var(--vs-accent);
  color: var(--vs-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 18px;
  font-size: 1.1rem;
  padding: 8px 22px;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.13s;
  outline: none;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #ffea9b;
  color: #62490a;
  transform: scale(1.05);
}

/***** COOKIE PREFERENCES MODAL *****/
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 99999;
  background: rgba(255,250,236,0.94);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: modal-fade-in 0.38s cubic-bezier(.51,.11,.69,1.32);
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-dialog {
  background: #fffbe9;
  border-radius: 21px;
  padding: 44px 26px 32px 26px;
  max-width: 456px;
  width: 88vw;
  box-shadow: 0 7px 38px 0 rgba(88,53,8,0.14);
  border: 2px solid #ecc077;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 10px; right: 10px;
  background: var(--vs-accent);
  border: none;
  border-radius: 5px;
  font-size: 1.7rem;
  color: var(--vs-primary);
  width: 33px; height: 33px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.16s;
  z-index: 1002;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { background: #ffd976; color: #541c06; }

.cookie-modal h3 {
  font-size: 1.3rem;
  color: var(--vs-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 8px;
  text-align: left;
  letter-spacing: 1px;
}
.cookie-cat-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-cat {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px 0;
}
.cookie-cat label {
  display: flex; align-items: center;
  font-size: 1.09rem;
  color: #38220f;
  cursor: pointer;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  background: #ece4d8;
  border-radius: 13px;
  position: relative;
  margin-right: 8px;
  cursor: pointer;
  transition: background 0.18s;
  border: 1.2px solid #c6b498;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle-slider {
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 18px;
  background: #ffc646;
  border-radius: 50%;
  transition: left 0.18s cubic-bezier(.63,.24,.62,1.02);
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  left: 17px;
  background: #78b981;
}
.cookie-cat[data-type="essential"] .cookie-toggle {
  filter: grayscale(0.8) contrast(0.9);
  background: #ede1ce;
}
.cookie-cat[data-type="essential"] label { opacity: 0.7; }

.cookie-modal-buttons {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal-btn {
  background: var(--vs-accent);
  color: var(--vs-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 16px;
  font-size: 1.08rem;
  padding: 7px 24px;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, transform 0.11s;
}
.cookie-modal-btn:hover, .cookie-modal-btn:focus {
  background: #ffe099;
  color: #765812;
  transform: scale(1.06);
}

/***** VINTAGE & PATTERNS/NOSTALGIC TOUCHES *****/
.text-section, .card, .testimonial-card, .cookie-modal-dialog {
  background-image: url('data:image/svg+xml;utf8,<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><rect x="17" y="17" width="6" height="6" fill="%23E5E1B9" opacity="0.5"/></svg>');
  background-repeat: repeat;
}

/***** MICRO-INTERACTIONS *****/
.btn-primary, .cookie-btn, .cookie-modal-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.16s, color 0.15s, transform 0.13s, box-shadow 0.14s;
}
.card, .content-wrapper ul li, .testimonial-card {
  transition: box-shadow 0.17s, border-color 0.14s;
}

/***** ACCESSIBILITY CONTRAST FOR REVIEWS SECTION *****/
.testimonial-card {
  background: #fff7d7;
  color: #301b09;
  border: 2px solid #e4b4a6;
  box-shadow: 0 4px 20px 0 rgba(70,40,12,0.13);
}
.testimonial-card p, .testimonial-card span, .testimonial-card div {
  color: #31220a;
}

/***** Z-INDEX STACKING FOR OVERLAYS *****/
.mobile-menu { z-index: 9999; }
.cookie-banner { z-index: 91000; }
.cookie-modal { z-index: 99999; }

/***** MISC UTILITIES *****/
.hide { display: none!important; }
.visually-hidden { position: absolute!important; height:1px; width:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); }

/* ==============
   END OF CSS
   ============= */