/* ====================================================================
   Fresca Boost Fellstudio – style.css
   Elegant Classic Theme – Responsive, Flexbox, Accessibility Compliant
   ==================================================================== */

/* =========================
   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,
main, 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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #F5F6F8;
  color: #2B2C32;
  min-height: 100vh;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: #21476A; text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: #F8B053; outline: none; }
ul, ol { list-style: disc inside; margin: 0 0 1em 1em; }
table { border-collapse: collapse; width: 100%; margin: 24px 0; }
th, td { border: 1px solid #D6E7F2; padding: 12px 16px; text-align: left; }
th { background: #F4F8FC; letter-spacing: 0.5px; font-weight: 700; }
img { max-width: 100%; display: block; }

/* ===================================
   TYPOGRAPHY HIERARCHY – Elegant Serif
   =================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #21476A;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.75rem; line-height: 1.15; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; font-weight: 600; }
h3 { font-size: 1.3rem; margin-bottom: 14px; }
h4 { font-size: 1.1rem; margin-bottom: 12px; }
h5, h6 { font-size: 1rem; }
p, li, td, th, a, span {
  font-family: 'Roboto', 'Georgia', 'Times New Roman', Times, serif;
  font-size: 1rem;
  font-weight: 400;
  color: #2B2C32;
  line-height: 1.7;
}
p { margin-bottom: 1.3em; }
b, strong { font-weight: 700; color: #21476A; }

/* =============================
   BASE LAYOUT & CONTAINER
   ============================= */
.container {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(33, 71, 106, 0.07), 0 0.5px 1px rgba(33, 71, 106, 0.03);
  padding: 36px 28px 36px 28px;
  margin-bottom: 24px;
}
.text-section {
  background: #FBFBFB;
  border-radius: 18px;
  box-shadow: 0 1px 4px rgba(33, 71, 106, 0.04);
}

/* ==========================================
   HEADER, NAV, LOGO & MOBILE NAVIGATION
   ========================================== */
header { background: #FFFFFF; box-shadow: 0 2px 10px rgba(33,71,106,0.07); position: sticky; top: 0; z-index: 100; }
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 20px;
}
.logo img { height: 48px; width: auto; }
.main-nav { display: flex; gap: 26px; align-items: center; }
.main-nav a {
  font-family: 'Georgia', serif;
  font-size: 1.05rem;
  color: #21476A;
  font-weight: 600;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #F8B053;
  border-bottom: 2px solid #F8B053;
}
.cta-btn {
  font-family: 'Georgia', serif;
  font-size: 1.05rem;
  font-weight: 700;
  background: #F8B053;
  color: #21476A;
  border-radius: 28px;
  border: none;
  padding: 10px 32px;
  margin-left: 10px;
  box-shadow: 0 2px 8px rgba(248,176,83,0.08);
  cursor: pointer;
  display: inline-block;
  text-align: center;
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.2s, box-shadow 0.25s;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #21476A;
  color: #FFF;
  box-shadow: 0 6px 20px rgba(248,176,83,0.14);
}

/* Mobile menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #21476A;
  cursor: pointer;
  margin-left: 8px;
  transition: color .2s;
  z-index: 201;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #F8B053;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(33,71,106,0.90);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform .35s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 32px 36px 0 0;
  cursor: pointer;
  transition: color .2s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus { color: #F8B053; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  padding: 48px 36px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Georgia', serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color .2s;
  margin: 0;
  border-bottom: 2px solid transparent;
}
.mobile-nav a:hover,
.mobile-nav a:focus { color: #F8B053; border-bottom: 2px solid #F8B053; }

/* Hamburger switches for mobile */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .cta-btn { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 570px) {
  header .logo img { height: 38px; }
  .mobile-nav { padding: 35px 14px; gap: 18px; }
}

/* ======================================
   HERO SECTION (Unique on '/')
   ====================================== */
.hero {
  background: linear-gradient(125deg, #D6E7F2 60%, #fff 100%);
  padding: 0;
  min-height: 360px;
  display: flex;
  align-items: center;
  margin-bottom: 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 280px;
}
.hero .content-wrapper {
  background: none;
  box-shadow: none;
  padding: 44px 0 48px 0;
  border-radius: 0;
  margin-bottom: 0;
  gap: 20px;
}
.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 10px;
  color: #21476A;
}
.hero p {
  max-width: 520px;
  font-size: 1.14rem;
  color: #27547A;
  font-family: 'Georgia', serif;
  opacity: .95;
}
.hero .cta-btn {
  margin-top: 14px;
}

/* ===================================
   FLEX LAYOUT – SECTIONS & CARDS
   =================================== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  position: relative;
  border-radius: 18px;
  box-shadow: 0 1.5px 10px rgba(39,84,122,0.07);
  padding: 28px 24px;
  min-width: 240px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 5px 32px rgba(39,84,122,0.13);
  transform: translateY(-2px) scale(1.012);
  z-index: 1;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #F9FAFB;
  border-left: 5px solid #F8B053;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 1.5px 8px rgba(39,84,122,0.05);
  max-width: 600px;
  color: #2B2C32;
  transition: box-shadow .22s;
}
.testimonial-card p {
  color: #285070;
  font-size: 1.08rem;
  font-family: 'Georgia', serif;
  font-style: italic;
}
.testimonial-card span {
  color: #64676C;
  font-size: 0.99rem;
  font-family: 'Roboto', serif;
  font-weight: 500;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 4px 18px rgba(39,84,122,0.13);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 20px 0 16px 0;
  min-width: 170px;
}

/* ========================
   LISTS, UL, ICONS, ETC.
   ======================== */
ul {
  margin-bottom: 24px;
}
ul li {
  margin-bottom: 8px;
  padding-left: 1em;
  position: relative;
  font-family: 'Roboto', serif;
}
ul li:before {
  content: '•';
  position: absolute;
  left: 0;
  font-size: 1.25em;
  color: #F8B053;
  top: 0.1em;
  font-weight: bold;
}

/* ===========================
   TABLES (Preise)
   =========================== */
table th, table td {
  border: 1px solid #DFE6EB;
  background: #F6F8F9;
  color: #27547A;
  font-family: 'Georgia', serif;
  font-size: 1.01rem;
}
table tbody td {
  background: #fff;
  color: #21476A;
  font-family: 'Roboto', serif;
}

/* =============================================
   FOOTER & LEGAL NAV
   ============================================= */
footer {
  background: #21476A;
  color: #fff;
  width: 100%;
  font-size: 1rem;
  box-shadow: 0 -2px 8px rgba(39,84,122,0.08);
  margin-top: 50px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px 20px 28px 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  margin-bottom: 12px;
}
.footer-nav a {
  color: #fff;
  opacity: 0.88;
  font-size: 1rem;
  transition: color .2s, opacity .2s;
  font-family: 'Georgia', serif;
  border-bottom: 2px solid transparent;
}
.footer-nav a:hover, .footer-nav a:focus { opacity:1; color: #F8B053; border-bottom: 2px solid #F8B053; }
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  color: #cfd3d9;
  font-size: 0.98rem;
  text-align: center;
}
.footer-contact span:after {
  content: '';
  margin-left: 8px;
}
.footer-info {
  margin-top: 12px;
  color: #b0bbc9;
  font-size: 0.96rem;
  text-align: center;
}

/* ============================================
   COOKIE CONSENT BANNER & MODAL
   ============================================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fff;
  border-top: 2px solid #21476A;
  box-shadow: 0 -7px 28px rgba(39,84,122,0.09);
  z-index: 3000;
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 34px;
  opacity: 1;
  visibility: visible;
  transition: transform .36s cubic-bezier(0.55,0,0.1,1), opacity .22s;
}
.cookie-banner.hide {
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
}
.cookie-banner .cookie-text {
  color: #27547A;
  font-family: 'Georgia', serif;
  font-size: 1rem;
  flex: 2 1 360px;
  margin-right: 16px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner .cookie-btn {
  font-family: 'Georgia', serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 22px;
  padding: 7px 18px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.18s;
  background: #D6E7F2;
  color: #21476A;
  box-shadow: 0 1px 5px rgba(33,71,106,0.07);
}
.cookie-banner .cookie-btn.accept {
  background: #F8B053;
  color: #21476A;
}
.cookie-banner .cookie-btn.reject {
  background: #E4EBF2;
  color: #27547A;
}
.cookie-banner .cookie-btn.settings {
  background: #fff;
  color: #21476A;
  border: 1px solid #D6E7F2;
}
.cookie-banner .cookie-btn:hover,
.cookie-banner .cookie-btn:focus {
  filter: brightness(0.97);
  background: #21476A;
  color: #fff;
}
.cookie-banner .cookie-btn.accept:hover,
.cookie-banner .cookie-btn.accept:focus {
  background: #21476A;
  color: #fff;
}
.cookie-banner .cookie-btn.settings:hover,
.cookie-banner .cookie-btn.settings:focus {
  background: #D6E7F2;
  color: #21476A;
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  z-index: 3999;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(33,71,106,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity .34s, visibility .24s;
  pointer-events: auto;
}
.cookie-modal.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.cookie-modal .modal-content {
  background: #FFFEFC;
  border-radius: 18px;
  box-shadow: 0 5px 38px rgba(33,71,106,0.18);
  padding: 32px 32px 24px 32px;
  min-width: 330px;
  max-width: 450px;
  color: #21476A;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-family: 'Georgia', serif;
}
.cookie-modal .modal-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #21476A;
  font-weight: 700;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 19px;
  right: 23px;
  background: none;
  border: none;
  color: #AAA;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color .2s;
}
.cookie-modal .modal-close:hover, .cookie-modal .modal-close:focus {
  color: #F8B053;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category label {
  font-family: 'Roboto', serif;
  color: #21476A;
  font-size: 1rem;
  font-weight: 500;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: #27547A;
  width: 18px;
  height: 18px;
}
.cookie-modal .essential {
  font-style: italic;
  color: #607088;
  font-size: 0.95rem;
  margin-left: 5px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
.cookie-modal .btn-save {
  background: #F8B053;
  color: #21476A;
  font-family: 'Georgia', serif;
  padding: 6px 20px;
  border: none;
  border-radius: 20px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.16s, color 0.16s;
}
.cookie-modal .btn-save:hover, .cookie-modal .btn-save:focus {
  background: #21476A;
  color: #fff;
}
.cookie-modal .btn-cancel {
  background: #fff;
  color: #21476A;
  border: 1px solid #D6E7F2;
  border-radius: 20px;
  font-family: 'Georgia', serif;
  padding: 6px 18px;
  cursor: pointer;
  font-size: 1.03rem;
  transition: background .13s, color .13s;
}
.cookie-modal .btn-cancel:hover, .cookie-modal .btn-cancel:focus {
  background: #D6E7F2;
}

/* =====================================
   RESPONSIVE DESIGN – Mobile First
   ===================================== */
@media (max-width: 1100px) {
  .container { max-width: 96vw; }
}
@media (max-width: 900px) {
  .section, .container {
    padding-left: 12px; padding-right: 12px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.45rem; }
  .content-wrapper, .text-section { padding: 24px 8px; }
  .hero .content-wrapper { padding: 20px 0 26px 0; }
  .section { padding: 32px 10px; margin-bottom: 36px; }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 570px) {
  .testimonial-card { max-width: 100%; padding: 14px 8px 16px; }
  .content-wrapper, .text-section { border-radius: 12px; padding: 14px 5px; }
  .card { border-radius: 10px; padding: 12px 7px; }
  .footer-contact { font-size: 0.95rem; flex-direction: column; gap: 4px; }
  .footer-nav { gap: 15px; font-size: 0.96rem; }
  .footer-info { font-size: 0.92rem; }
  .cookie-banner { flex-direction: column; align-items: stretch; gap:12px; padding:13px 8px; font-size: 0.95rem; }
  .cookie-banner .cookie-actions { gap: 10px; justify-content:flex-start; }
  .cookie-banner .cookie-text { margin-right: 0; }
  .cookie-modal .modal-content { padding: 12px 8px 8px 8px; min-width:unset; max-width:98vw; }
}

/* ========================================
   ANIMATIONS & MICRO INTERACTIONS
   ======================================== */
.cta-btn,
.card,
.testimonial-card,
.cookie-banner .cookie-btn,
footer .footer-nav a,
.main-nav a {
  transition: background .18s, color .18s, box-shadow .18s, border-color .2s, transform .16s;
}
.card:active, .cta-btn:active {
  transform: scale(0.98);
}

/* Focus outline for accessibility */
a:focus, .cta-btn:focus, .cookie-banner .cookie-btn:focus, .modal-close:focus, .cookie-modal .btn-save:focus, .cookie-modal .btn-cancel:focus {
  outline: 2px solid #21476A;
  outline-offset: 2px;
  z-index: 20;
}

/* Hide visually but accessible (for cookie modal etc.) */
.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* ===========
   MISC
   =========== */
::-webkit-scrollbar { width: 10px; background: #F5F6F8; }
::-webkit-scrollbar-thumb { background: #D6E7F2; border-radius: 7px; }

/* Ensure spacing between all content sections */
section + section { margin-top: 30px; }
.content-wrapper + .content-wrapper { margin-top: 24px; }

/* Prevent overlapping and ensure card separation */
.card + .card, .testimonial-card + .testimonial-card { margin-top: 20px; }

/* Allow for cards with more visuals as needed (galerie, etc.) */
.card img { border-radius: 12px; box-shadow: 0 2px 10px rgba(33,71,106,0.10); }

/* END Elegant Classic Theme CSS */
