/* ---------------------------
  VITALBEWEGUNG 60+ STYLE.CSS
  Elegant Classic Responsive - Flexbox Only
-----------------------------*/

/* ----------------- CSS RESET ------------------ */
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,
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 {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  height: 100%;
}
*,*:before,*:after{
  box-sizing:inherit;
}
html, body {
  height: 100%;
}
body {
  min-height: 100vh;
  background: #F8F3E3;
  color: #222;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #197278;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #44A5A4;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
  font-size: 1rem;
}

/* ----------------- TYPOGRAPHY ------------------ */
h1, h2, h3, h4, h5, h6 {
  color: #13313a;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.15;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
p {
  margin-bottom: 1.1em;
  font-size: 1.06em;
  color: #254040;
}
strong, b {
  font-weight: bold;
}
em, i {
  font-style: italic;
}

/* ----------------- CONTAINER & LAYOUT ------------------ */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(25,114,120,0.07);
}

@media (max-width: 900px) {
  .container {
    padding: 0 10px;
  }
  .section {
    padding: 28px 10px;
  }
}
@media (max-width: 600px) {
  .section {
    margin-bottom: 40px;
    padding: 20px 6px;
    border-radius: 10px;
  }
}

/* ----------- FEATURE GRID & FLEX UTILS ----------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 12px;
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F8F3E3;
  border-radius: 14px;
  padding: 26px 18px;
  box-shadow: 0 2px 12px rgba(68,165,164,0.04);
  min-width: 0;
  width: 280px;
  max-width: 100%;
  transition: box-shadow 0.25s;
}
.feature-item:hover {
  box-shadow: 0 6px 20px rgba(25,114,120,0.14);
}
.feature-item img {
  width: 46px;
  height: 46px;
  margin-bottom: 6px;
}

/* ----------------- CARDS & TESTIMONIALS ------------------ */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 32px 20px;
  box-shadow: 0 2px 14px rgba(19,49,58,0.06);
  transition: box-shadow 0.25s;
}
.card:hover {
  box-shadow: 0 8px 20px rgba(19,49,58,0.13);
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: #F8F3E3;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(25,114,120,0.09);
  font-style: italic;
  color: #13313a;
  min-width: 0;
  position: relative;
}
.testimonial-card p {
  font-size: 1.12rem;
  color: #13313a;
}
.testimonial-card span {
  font-size: 1rem;
  color: #197278;
  font-style: normal;
  margin-left: auto;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
}

@media (max-width: 768px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 12px;
  }
  .testimonial-card span {
    margin-left: 0;
    margin-top: 8px;
  }
}

/* ----------------- TEXT-IMAGE & CONTENT GRID ------------------ */
.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: 20px;
  }
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 800px) {
  .content-grid {
    flex-direction: column;
  }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

/* --------- BUTTONS AND INTERACTIVE ----------- */
.button-primary {
  display: inline-block;
  background: #197278;
  color: #fff;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-weight: 700;
  font-size: 1.14rem;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  margin-top: 8px;
  box-shadow: 0 2px 8px rgba(19,49,58,0.06);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, color 0.15s;
  letter-spacing: 0.02em;
}
.button-primary:hover, .button-primary:focus {
  background: #44A5A4;
  color: #fff;
  box-shadow: 0 6px 24px rgba(25,114,120,0.12);
  text-decoration: none;
}

.button-secondary {
  display: inline-block;
  background: #fff;
  color: #197278;
  border: 2px solid #197278;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1rem;
  border-radius: 8px;
  padding: 10px 24px;
  margin-top: 8px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.18s, color 0.18s;
}
.button-secondary:hover, .button-secondary:focus {
  background: #197278;
  color: #fff;
  border-color: #44A5A4;
}

/* ------------- HEADER NAVIGATION -------------- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(25,114,120,0.04);
  position: relative;
  z-index: 30;
}
header > img {
  height: 54px;
  margin: 22px 0 19px 0;
  display: block;
}
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
header nav a {
  display: block;
  padding: 7px 16px;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1rem;
  color: #197278;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
header nav a.button-primary {
  margin-left: 12px;
}
header nav a:hover,
header nav a:focus {
  background: #F8F3E3;
  color: #13313a;
}

/* Layout for header */
header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
header > img,
header > nav,
header > .mobile-menu-toggle {
  margin-left: 24px;
}
@media (max-width: 1100px) {
  header > img,
  header > nav,
  header > .mobile-menu-toggle {
    margin-left: 10px;
  }
}
@media (min-width: 800px) {
  header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 0 24px;
    gap: 0;
  }
  header nav {
    margin-left: 28px;
  }
}

/* Burger Menu Styling */
.mobile-menu-toggle {
  display: none;
  background: #197278;
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  top: 18px;
  right: 14px;
  z-index: 110;
  transition: background .22s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #44A5A4;
}
@media (max-width: 900px) {
  header > nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(25, 114, 120, 0.96);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  margin: 26px 32px 14px 0;
  cursor: pointer;
  transition: color .14s;
  z-index: 1012;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #F8F3E3;
}
.mobile-nav {
  width: 97%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 30px 16px 0 32px;
  margin-top: 20px;
}
.mobile-nav a {
  color: #fff;
  background: none;
  font-size: 1.2rem;
  padding: 12px 0;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  border-radius: 0 14px 14px 0;
  width: 100%;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:active,
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #F8F3E3;
  color: #197278;
  text-decoration: none;
}

/* --------------- FOOTER --------------- */
footer {
  width: 100%;
  background: #fff;
  border-top: 1px solid #E8E5CE;
  margin-top: 34px;
  font-size: 1rem;
}
footer .container {
  padding: 0 20px 0 20px;
}
footer .content-wrapper {
  flex-direction: row;
  align-items: flex-start;
  gap: 36px;
  padding: 34px 0 24px 0;
  justify-content: space-between;
}
footer nav {
  flex-direction: column;
  gap: 8px;
}
footer nav a {
  color: #197278;
  padding: 4px 0;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
}
footer nav a:hover { color: #44A5A4; }
.contact-info {
  color: #13313a;
  font-size: 1rem;
  line-height: 1.5;
  max-width: 320px;
}
.contact-info img {
  margin-right: 6px;
  width: 20px; height: 20px; vertical-align: middle;
}
.social-media {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.social-media a img {
  width: 32px;
  height: 32px;
  filter: grayscale(0.18) brightness(0.96);
  transition: filter 0.12s;
}
.social-media a:hover img { filter: none; }

@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    padding: 22px 0 18px 0;
  }
  .social-media {
    margin-top: 8px;
    gap: 12px;
  }
}

/* ----------------- FORMS (if any) ------------------ */
input, textarea, select {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  padding: 10px 12px;
  border: 1px solid #C3C0B3;
  border-radius: 7px;
  font-size: 1rem;
  margin-bottom: 16px;
  background: #fffdfa;
  transition: border-color 0.12s;
}
input:focus, textarea:focus, select:focus {
  border-color: #197278;
  outline: none;
}

/* ----------------- COOKIES BANNER ------------------ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #254040;
  border-top: 2px solid #197278;
  padding: 22px 16px 16px 24px;
  box-shadow: 0 -4px 28px rgba(25,114,120,0.08);
  z-index: 1500;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  min-height: 64px;
  transition: transform 0.4s cubic-bezier(.74,0,.18,1);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner p {
  font-size: 1rem;
  margin: 0;
  flex: 1 1 auto;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}
.cookie-banner .button-primary {
  font-size: 1rem;
  padding: 8px 20px;
  border-radius: 7px;
}
.cookie-banner .button-secondary {
  font-size: 1rem;
  padding: 8px 18px;
  border-radius: 7px;
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 15px 8px 8px 8px;
  }
  .cookie-banner .cookie-actions {
    flex-direction: row;
    gap: 7px;
    margin-top: 6px;
  }
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(25,114,120,0.76);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-dialog {
  width: 98vw;
  max-width: 380px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(25,114,120,0.13);
  padding: 30px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #197278;
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal-close:hover { color: #44A5A4; }
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.cookie-modal .cookie-preference-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 12px 0 0 0;
}
.cookie-modal .preference-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  padding: 6px 0;
}
.cookie-modal .preference-item input[type='checkbox'] {
  width: 20px; height: 20px;
  accent-color: #197278;
}
.cookie-modal .preference-item label {
  font-size: 1rem;
  color: #254040;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
}
.cookie-modal .cookie-action-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}
@media (max-width: 480px) {
  .cookie-modal-dialog {
    max-width: 99vw;
    padding: 16px 6px 12px 6px;
  }
}

/* Hide modal under main page by default */
body.modal-open {
  overflow: hidden;
}

/* ------------------- UTILITIES ------------------- */
.gap-20 { gap: 20px !important; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.align-center { align-items: center !important; }
.align-start { align-items: flex-start !important; }
.justify-between { justify-content: space-between !important; }

/* --------------- SPECIAL TEXT COLORS --------------- */
.text-primary { color:#197278; }
.text-secondary { color:#44A5A4; }
.text-accent { color:#F8F3E3; }
.bg-primary { background:#197278 !important; color: #fff !important; }
.bg-accent { background:#F8F3E3 !important; }

/* --------------- MISC. --------------- */
hr {
  border:0;
  border-top:1px solid #e2e2d5;
  margin:32px 0 32px 0;
}
::-webkit-input-placeholder { color: #c1bcb3; }
::-moz-placeholder { color: #c1bcb3; }
:-ms-input-placeholder { color: #c1bcb3; }
::placeholder { color: #c1bcb3; }

/* ------------- DESKTOP ADJUSTMENTS -------------- */
@media (min-width: 1000px) {
  .feature-grid {
    gap: 32px;
  }
  .card-container {
    gap: 32px;
  }
  .testimonial-card {
    gap: 28px;
  }
  .content-wrapper {
    gap: 32px;
  }
  .section {
    margin-bottom: 60px;
    padding: 48px 40px;
  }
}

/* ------------- FINE-TUNING FONT SIZES -------------- */
@media (max-width: 500px) {
  h1 { font-size:2rem; }
  h2 { font-size:1.3rem; }
  h3 { font-size:1.1rem; }
  nav a, .button-primary,
  .button-secondary { font-size: 1rem; }
}

/* ------------------- END --------------------- */
