/* ============================================================
   CSS RESET & NORMALIZATION (MOBILE-FIRST)
   ============================================================ */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  outline: none;
}
body {
  background: #F9F9F6;
  color: #1C375A;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
}
img, svg {
  max-width: 100%;
  display: block;
  vertical-align: middle;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
section, main, header, footer {
  width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #E8B14A;
  outline-offset: 2px;
}

/* ============================================================
   BRAND FONTS (Montserrat & Roboto) & TYPOGRAPHY
   ============================================================ */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #1C375A;
  line-height: 1.2;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; letter-spacing: -0.01em; }
h2 { font-size: 2rem; margin-bottom: 20px;}
h3 { font-size: 1.35rem; margin-bottom: 14px;}
h4 { font-size: 1.15rem;}

p, li, address {
  color: #2F435B;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
}
@media (max-width:600px){ h1{font-size:1.5rem;} h2{font-size:1.25rem;} }

/* Headline Gold Underline Decoration */
h1, h2 {
  position: relative;
}
h1:after, h2:after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: #E8B14A;
  border-radius: 2px;
  margin: 13px 0 0 0;
}

/* ============================================================
   LAYOUT AND CONTAINER
   ============================================================ */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
}
.content-wrapper {
  background: transparent;
  border-radius: 22px;
  padding: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 24px 0 rgba(30, 38, 54, 0.07);
}

@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .section {
    margin-bottom: 40px;
    padding: 28px 8px;
  }
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
header {
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(30,38,54,0.05);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
  padding-top: 8px;
  padding-bottom: 8px;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: #1C375A;
  padding: 8px 4px;
  transition: color 0.20s;
  position: relative;
}
nav a:hover, nav a.active {
  color: #E8B14A;
}
nav a img {
  margin-right: 10px;
  height: 38px;
}
.cta-primary {
  background: #1C375A;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  padding: 12px 32px;
  border-radius: 30px;
  border: none;
  box-shadow: 0 4px 18px 0 rgba(30, 38, 54, 0.08);
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .18s;
  margin-left: 16px;
  display: inline-block;
  border: 1.5px solid #E8B14A;
  position: relative;
  z-index: 1;
}
.cta-primary:hover, .cta-primary:focus {
  background: #E8B14A;
  color: #1C375A;
  box-shadow: 0 8px 30px 0 rgba(30,38,54,.14);
}

/* Mobile Menu Burger Icon */
.mobile-menu-toggle {
  background: #fff;
  border: 2px solid #E8B14A;
  border-radius: 50%;
  color: #E8B14A;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 130;
  position: absolute;
  right: 20px;
  top: 15px;
  box-shadow: 0 2px 10px rgba(30,38,54,0.09);
  cursor: pointer;
}

/* Mobile NAV (Overlay) */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  height: 100vh;
  width: 100vw;
  background: #fff;
  z-index: 9999;
  padding: 38px 24px 24px 32px;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.77,0,.18,1);
  box-shadow: 0 8px 50px 0 rgba(30,38,54,.24);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: #E8B14A;
  border: none;
  border-radius: 50%;
  color: #fff;
  width: 38px;
  height: 38px;
  font-size: 1.4rem;
  position: absolute;
  top: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10001;
  box-shadow: 0 4px 16px rgba(30,38,54,.10);
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #1C375A;
  color: #E8B14A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: #1C375A;
  padding: 12px 0;
  border-bottom: 1px solid #f2efea;
  letter-spacing: 0.04em;
  transition: color 0.18s;
}
.mobile-nav a:hover {
  color: #E8B14A;
}

@media (max-width: 980px) {
  header .container nav, header .container a.cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 981px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* ============================================================
   FLEXBOX PATTERNS & GENERAL LAYOUT
   ============================================================ */
.card-container, .service-card-grid, .feature-grid, .blog-list,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card, .service-card, .feature-item, .blog-teaser {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 rgba(30,38,54,0.06);
  padding: 24px 22px 24px 22px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .service-card:hover, .feature-item:hover,.blog-teaser:hover {
  box-shadow: 0 8px 32px 0 rgba(232,177,74,.16);
  transform: translateY(-8px) scale(1.025);
  z-index: 5;
}

.content-grid {
  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; gap: 18px; }
}

.feature-grid {
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid rgba(28,55,90, 0.055);
  min-width: 240px;
  max-width: 320px;
  flex: 1 1 260px;
  box-shadow: 0 2px 8px 0 rgba(30,38,54,.04);
  transition: box-shadow .18s, border-color .18s;
}
.feature-item img {
  width: 33px;
  height: 33px;
  margin-bottom: 6px;
  filter: grayscale(30%) brightness(0.98);
}
.feature-item h3 {
  color: #1C375A;
  font-size: 1.17rem;
}
.feature-item p {
  color: #2F435B;
  font-size: 1rem;
}

/* Card Patterns */
.service-card-grid {
  gap: 24px;
  margin-top: 20px;
}
.service-card {
  flex: 1 1 252px;
  max-width: 320px;
  border: 1.5px solid rgba(28,55,90,0.035);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(30,38,54,0.04);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: border-color .18s, box-shadow 0.18s;
}
.service-card span {
  color: #E8B14A;
  font-size: 1.05rem;
  font-weight: 600;
}
@media (max-width: 900px) {
 .service-card-grid, .feature-grid, .card-container {
     justify-content: flex-start;
     gap: 18px;
 }
 .service-card, .feature-item, .card {
    min-width:100%; max-width:100%; flex:1 1 100%;
 }
}

/* Blog Card Pattern */
.blog-list {
  gap: 24px;
  margin: 18px 0 26px 0;
}
.blog-teaser {
  flex: 1 1 320px;
  min-width: 220px;
  max-width: 330px;
  border: 1px solid rgba(28,55,90,0.055);
  border-radius: 16px;
}
.blog-teaser h3 {
  font-size: 1.1rem;
  color: #1C375A;
}
.blog-teaser p {
  color: #2F435B;
}
.blog-teaser a {
  display: inline-block;
  margin-top: 9px;
  color: #E8B14A;
  font-weight: 500;
  border-bottom: 1.5px solid #E8B14A;
  transition: color 0.16s;
}
.blog-teaser a:hover {
  color: #1C375A;
  border-color: #1C375A;
}

.categories-filter {
  margin-top: 8px;
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
.categories-filter a {
  color: #1C375A;
  border-radius: 22px;
  background: #f8efe3;
  padding: 7px 22px;
  margin-right: 2px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  border: 1px solid #E8B14A;
  transition: color 0.18s, background 0.18s;
}
.categories-filter a:hover, .categories-filter a:focus {
  background: #E8B14A;
  color: #fff;
}

/* Text Section style */
.text-section {
  margin: 26px 0 10px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-section ul, .text-section ol {
  padding-left: 24px;
  margin-bottom: 8px;
  list-style: disc;
}
.text-section ul li, .text-section ol li {
  margin-bottom: 7px;
}

/* Service List Styles */
.service-list {
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.service-list li {
  border: 1.5px solid #E8B14A33;
  background: #fffdfa;
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 2px 8px 0 rgba(30,38,54,0.04);
  margin-bottom: 0;
}
.service-list h2 {
  font-size: 1.1rem;
  margin-bottom: 7px;
}
.service-list h2 span {
  color: #E8B14A;
  font-weight: 500;
  font-size: 1rem;
}
.service-list p {
  margin-bottom: 0;
}

/* Tipps & Routinen List */
.tip-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 16px;
}
.tip-list li{
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(28,55,90,0.06);
  padding: 18px 15px;
  box-shadow: 0 2px 8px 0 rgba(30,38,54,.04);
}
.tip-list h3{
  font-size: 1rem;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 28px 0 5px 0;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 26px;
  background: #F9F9F6;
  border: 1.5px solid #E8B14A33;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(30,38,54,0.045);
  min-width: 290px;
  max-width: 350px;
  flex: 1 1 290px;
  margin-bottom: 0;
  position: relative;
  color: #1C375A;
}
.testimonial-card p{
  color: #1C375A;
  font-size: 1.03rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  margin-bottom: 0;
  line-height: 1.48;
}
.testimonial-card span{
  font-size: .97rem;
  color: #887541;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  margin-top: 10px;
}

/* Hover effect */
.testimonial-card:hover {
  border-color: #E8B14A;
  box-shadow: 0 8px 30px 0 rgba(232,177,74,.10);
}

@media (max-width: 900px) {
  .testimonial-slider { gap:15px;}
  .testimonial-card { min-width:100%; max-width: 100%; flex: 1 1 100%; }
}

/* ************************************************************
   RESPONSIVE FLEX CONTAINER CHANGES
   ************************************************************ */
@media (max-width: 768px) {
  .card-container, .service-card-grid, .feature-grid, .content-grid,
  .testimonial-slider, .blog-list {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #1C375A;
  color: #fffdfa;
  padding: 0;
  width: 100%;
  border-top: 5px solid #E8B14A;
}
footer .container {
  padding: 0 14px;
  flex-direction: column;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-start;
  padding: 42px 0 24px 0;
}
.footer-nav, .footer-brand, .footer-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #fffdfa;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  opacity:0.88;
  transition: color 0.16s, opacity 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #E8B14A;
  opacity:1;
}
.footer-brand {
  align-items: flex-start;
  gap: 6px;
}
.footer-brand img {
  height: 37px;
  filter: brightness(1.15);
}
.footer-brand address {
  color: #fffdfa;
  font-style: normal;
  font-size: 0.98rem;
  opacity: 0.88;
}
.footer-social {
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
.footer-social a img {
  height: 28px;
  transition: filter 0.13s;
  filter: grayscale(70%) brightness(1.15);
}
.footer-social a:hover img {
  filter: brightness(1) drop-shadow(0 2px 6px #E8B14Aaa); /* gold glow */
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    text-align: left;
  }
  .footer-social {
    gap: 10px;
    margin-top: 6px;
  }
}

/* ============================================================
   FORM ELEMENTS (if any used on site)
   ============================================================ */
input,textarea,select,button {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 8px;
  border: 1.3px solid #E8B14A66;
  padding: 10px 18px;
  background: #fff;
  transition: border-color 0.16s;
  margin-bottom: 16px;
}
input:focus, textarea:focus, select:focus {
  border-color: #E8B14A;
}
button {
  cursor: pointer;
}

/* ============================================================
   COOKIE CONSENT BANNER & MODAL
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  background: #fffdfa;
  border-top: 2.8px solid #E8B14A;
  box-shadow: 0 -4px 22px rgba(30,38,54,0.11);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 32px 20px 24px;
  z-index: 99999;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  transition: transform .42s cubic-bezier(.68,-0.35,.48,1.34), opacity .32s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events:none;
  transform: translateY(120%);
}
.cookie-banner p {
  color: #1C375A;
  font-size: 1rem;
  margin: 0 12px 0 0;
  flex:1 1 350px;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-actions button {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 8px 23px;
  border-radius: 24px;
  border: 1.5px solid #E8B14A;
  margin-bottom: 0;
}
.cookie-accept {
  background: #E8B14A;
  color: #fff;
  font-weight: 600;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #1C375A;
  color: #E8B14A;
}
.cookie-reject {
  background: #fffdfa;
  color: #887541;
  font-weight: 500;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #f7ecd8;
}
.cookie-settings {
  background: #fffdfa;
  color: #1C375A;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #E8B14A;
  color: #fff;
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding:15px 10px 15px 8px;
    font-size: 0.96rem;
  }
  .cookie-actions{
    justify-content: flex-end;
    gap: 10px;
  }
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(28,55,90, 0.48);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .23s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fffdfa;
  padding: 36px 22px 24px 22px;
  border-radius: 14px;
  min-width: 316px;
  max-width: 97vw;
  box-shadow: 0 4px 44px 0 rgba(30,38,54,0.16);
  color: #1C375A;
  font-family: 'Roboto', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.cookie-modal-content h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.cookie-category {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-category input[type=checkbox] {
  accent-color: #E8B14A;
}
.cookie-category label {
  font-size: 1rem;
}
.essential-label {
  color: #888;
  font-weight: 500;
  font-size: .97rem;
}
.cookie-modal-actions{
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 11px;
  margin-bottom: 2px;
}
.cookie-modal-actions button {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 8px 18px;
  border-radius: 24px;
  border: 1.5px solid #E8B14A;
}
.cookie-modal-close {
  background: #E8B14A;
  color: #fff;
  border: 1.5px solid #E8B14A;
  margin-left: 0;
  margin-top: 12px;
}
.cookie-modal-close:hover,.cookie-modal-close:focus {
  background: #1C375A;
  color: #E8B14A;
}

@media (max-width:500px){
  .cookie-modal-content{min-width:95vw;}
}

/* ============================================================
   UTILITIES
   ============================================================ */
.mt-30 { margin-top: 30px!important; }
.mb-30 { margin-bottom: 30px!important; }
.mt-20 { margin-top: 20px!important; }
.mb-20 { margin-bottom: 20px!important; }
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.text-center { text-align: center!important; }

/* Spacings */
@media (max-width:600px){
  .section { padding: 20px 3px; margin-bottom:19px; }
  .container { padding: 0 3px; }
}

/* ============================================================
   MICRO-INTERACTIONS & TRANSITIONS
   ============================================================ */
.card, .service-card, .feature-item, .blog-teaser, .cta-primary, .categories-filter a,
.cookie-actions button, .cookie-modal-actions button, .mobile-menu-toggle, .mobile-menu-close {
  transition: box-shadow .17s, color .17s, background .18s, border-color .18s, transform .18s;
}

/* Subtle link underline on hover */
a:not(.cta-primary):hover, a:not(.cta-primary):focus {
  color: #E8B14A;
  text-decoration: underline;
}

/* Miscellaneous */
::selection {
  background: #E8B14A44;
}

/* Hide scrollbar for card containers (for luxury/minimal feel) */
.card-container::-webkit-scrollbar, .testimonial-slider::-webkit-scrollbar {display: none;}

/* Responsive scaling for main title wrapper */
@media (max-width:600px){
  .content-wrapper { padding: 0; }
  .testimonial-slider {padding: 0;}
}

/* End of CSS */