/* RESET & BASE ------------------------------------------ */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F7F7F7;
  color: #222;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #20466B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #EFA900;
}
ul, ol {
  padding-left: 1.3em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
  font-size: 1em;
}
strong {
  font-weight: 700;
}
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
}

/* TYPOGRAPHY ------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #20466B;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 16px;
  line-height: 1.2;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: #20466B;
}
.subheadline {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #555;
  font-size: 1.125rem;
  margin-bottom: 18px;
  font-weight: 400;
}
p {
  margin-bottom: 14px;
  color: #232427;
}

/* SECTION / SPACING ------------------------------------ */
.section, section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  background: none;
}
.content-wrapper {
  margin-bottom: 0;
  padding: 0;
  /* For inner layouts, not spacing here */
}
.text-section {
  max-width: 720px;
  padding: 0 12px;
  margin: 0 auto;
}
.hero {
  margin-top: 14px;
  margin-bottom: 24px;
  text-align: center;
}

@media (max-width: 768px) {
  .section, section {
    margin-bottom: 40px;
    padding: 24px 0 24px 0;
  }
  .container {
    padding: 0 10px;
  }
  .text-section {
    padding-left: 0;
    padding-right: 0;
  }
  h1 {
    font-size: 1.50rem;
  }
  h2 {
    font-size: 1.175rem;
  }
}

/* FLEXBOX LAYOUTS ------------------------------------- */
.feature-grid, .card-container, .testimonial-grid, .testimonial-slider, .client-logo-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > div, .testimonial-grid > div, .client-logo-list > img {
  flex: 1 1 200px;
  min-width: 220px;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .feature-grid, .card-container, .testimonial-grid, .testimonial-slider, .client-logo-list {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div, .testimonial-grid > div {
    min-width: 0;
  }
}
.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;
}
@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}
.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;
  }
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 28px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(32,70,107,0.05), 0 1px 2px rgba(32,70,107,0.04);
  border: 1.5px solid #ece5d2;
  min-width: 220px;
  max-width: 400px;
  position: relative;
}
.testimonial-card p {
  color: #232427;
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #20466B;
  font-size: .97em;
  font-weight: 600;
  margin-style: normal;
}
.testimonial-slider {
  gap: 24px;
  margin-top: 18px;
}
.testimonial-grid {
  gap: 24px;
  margin-top: 18px;
}

/* Visual Cards */
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(32,70,107,0.07),0 1px 2px rgba(32,70,107,0.04);
  border: 1.5px solid #ece5d2;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 20px;
}

/* Feature Item List */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 18px;
}

/* Buttons ---------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  border: none;
  border-radius: 36px;
  background: #20466B;
  color: #fff;
  box-shadow: 0 2px 16px rgba(32,70,107,0.08);
  cursor: pointer;
  transition: background 0.23s, color 0.18s, box-shadow 0.21s;
  margin-top: 12px;
  text-decoration: none;
  letter-spacing: 0.01em;
  outline: none;
  position: relative;
}
.btn-primary:after {
  content: '';
  position: absolute;
  left: 20px;
  bottom: 10px;
  width: 16px;
  height: 2px;
  background: #EFA900;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.28s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #EFA900;
  color: #20466B;
  box-shadow: 0 6px 32px rgba(32,70,107,0.15);
}
.btn-primary:hover:after, .btn-primary:focus:after {
  opacity: 0.24;
}

/* Header & Navigation ----------------------------- */
header {
  background: #fff;
  border-bottom: 1.5px solid #ece5d2;
  box-shadow: 0 2px 12px 0 rgba(32,70,107,0.05);
  z-index: 100;
  width: 100%;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 18px 15px 18px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #20466B;
  padding: 5px 0;
  margin-left: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  transition: color 0.2s, border-bottom 0.15s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: #EFA900;
  border-bottom: 2px solid #EFA900;
}
.main-nav .btn-primary {
  margin-left: 10px;
}
header img {
  height: 42px;
  width: auto;
  margin-right: 30px;
}

/* Mobile Burger Menu ------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #20466B;
  cursor: pointer;
  width: 44px; height: 44px;
  margin-left: 20px;
  z-index: 330;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #EFA900;
}
/* Responsive Header Menu */
@media (max-width: 1020px) {
  .main-nav {
    gap: 14px;
  }
}
@media (max-width: 890px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}
@media (min-width: 891px) {
  .mobile-menu { display: none !important; }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(37,52,78,0.99);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-105vw);
  transition: transform 0.38s cubic-bezier(.68,-0.55,.27,1.55);
  box-shadow: 0 0 100px rgba(37,52,78,0.07);
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.15rem;
  color: #fff;
  margin: 21px 0 0 14px;
  align-self: flex-start;
  cursor: pointer;
  z-index: 980;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #EFA900;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: 100%;
  margin-top: 28px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  width: 100vw;
  padding: 16px 36px;
  border-bottom: 1px solid rgba(239,169,0,0.06);
  background: none;
  transition: background 0.16s, color 0.13s;
}
.mobile-nav a.btn-primary {
  color: #20466B;
  background: #EFA900;
  border-radius: 0;
  text-align: left;
  margin-top: 2px;
  padding-left: 45px;
  font-weight: 700;
  font-size: 1.1rem;
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #1b2c44;
  color: #EFA900;
}
.mobile-nav a.btn-primary:hover, .mobile-nav a.btn-primary:focus {
  background: #fff;
  color: #EFA900;
}

/* FOOTER ---------------------------------------------- */
footer {
  background: #fff;
  border-top: 1.5px solid #ece5d2;
  box-shadow: 0 -2px 12px 0 rgba(32,70,107,0.04);
  padding: 36px 0 24px 0;
  font-size: 1rem;
  margin-top: 44px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 14px;
}
footer a {
  color: #20466B;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s;
}
footer a:hover {
  color: #EFA900;
}
footer address {
  font-style: normal;
  color: #444;
  font-size: 0.97rem;
  line-height: 1.6;
}
.footer-logo {
  display: flex;
  align-items: center;
  margin-left: auto;
}
.footer-logo img {
  width: 57px;
  height: auto;
}
@media (max-width: 850px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-logo { margin-left: 0; }
}

/* CLIENT LOGOS LIST ----------------------------------- */
.client-logo-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  margin-top: 18px;
}
.client-logo-list img {
  max-width: 90px;
  min-width: 65px;
  opacity: 0.92;
  transition: opacity 0.2s, filter 0.3s;
}
.client-logo-list img:hover {
  opacity: 1;
  filter: drop-shadow(0 2px 12px rgba(32,70,107,0.13));
}

/* MAP EMBED (Kontakt) ------------------------------- */
.map-embed {
  width: 100%;
  max-width: 620px;
  min-height: 180px;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 18px;
  background: #fcfaf7;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 16px rgba(32,70,107,0.08);
}

/* UTILITY CLASSES ------------------------------------ */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-32 { margin-top: 32px !important; }
.mb-32 { margin-bottom: 32px !important; }

/* ICONS IN LISTS ------------------------------------- */
li img {
  height: 21px;
  width: 21px;
  margin-right: 10px;
  vertical-align: middle;
  position: relative;
  top: -1px;
  display: inline-block;
}
li a {
  color: #20466B;
  border-bottom: 1px dotted #EFA900;
  transition: color 0.2s, border-color 0.2s;
}
li a:hover {
  color: #EFA900;
  border-bottom: 1px solid #EFA900;
}

/* ACCENT GOLD & DECOR ------------------------------- */
h1, h2 {
  position: relative;
  padding-bottom: 8px;
}
h1:after, h2:after {
  content: '';
  display: block;
  margin-top: 8px;
  width: 52px;
  height: 3px;
  background: #EFA900;
  border-radius: 2px;
}
@media (max-width: 768px) {
  h1:after, h2:after { width: 32px; height: 2px; }
}

/* GOLDEN ICONS ----  */
.feature-grid img, .content-wrapper img {
  max-height: 44px;
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 7px rgba(239,169,0,0.11));
}

/* SHADOWS & MICROINTERACTIONS ------------------------- */
.card, .testimonial-card, .feature-grid > div {
  transition: box-shadow 0.24s, border-color 0.22s, transform 0.23s;
}
.card:hover, .testimonial-card:hover, .feature-grid > div:hover {
  box-shadow: 0 8px 34px rgba(32,70,107,0.16);
  border-color: #EFA900;
  transform: translateY(-3px) scale(1.02);
}

/* RESPONSIVE - Adaptive Cards ------------------------ */
@media (max-width: 600px) {
  .feature-grid > div, .testimonial-card, .card-content {
    padding: 14px 10px;
  }
}

/* LISTS WITH CHECKS OR TERMS ------------------------ */
li.term {
  padding-left: 25px;
  position: relative;
}
li.term:before {
  content: '\2714';
  color: #EFA900;
  position: absolute;
  left: 0;
  font-size: 1.04em;
  top: 2px;
}

/* FORMS (if any) ------------------------------------- */
input, select, textarea {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 16px;
  outline: none;
  background: #fff;
  color: #232427;
  transition: border 0.16s;
}
input:focus, textarea:focus {
  border-color: #EFA900;
}

/* COOKIE BANNER ------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fffbe7;
  color: #232427;
  box-shadow: 0 -2px 16px rgba(32,70,107,0.12);
  border-top: 1.5px solid #EFA900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 34px;
  z-index: 1200;
  font-size: 1rem;
  transition: transform 0.33s cubic-bezier(.67,-0.2,.3,1.4);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner .cookie-message {
  flex: 1;
  min-width: 0;
  margin-right: 28px;
}
.cookie-banner .cookie-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-btn {
  padding: 8px 28px;
  font-size: 1rem;
  border-radius: 38px;
  border: 1.5px solid #EFA900;
  background: #fff;
  color: #20466B;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, border 0.15s;
  outline: none;
  margin-left: 0;
  margin-right: 0;
}
.cookie-btn.accept {
  background: #EFA900;
  color: #20466B;
  border-color: #EFA900;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #20466B;
  color: #fff;
  border-color: #20466B;
}
.cookie-btn.reject {
  background: #fff;
  color: #20466B;
  border-color: #EFA900;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #eee8d8;
  color: #a37b09;
  border-color: #D5B21C;
}
.cookie-btn.settings {
  background: transparent;
  border-color: #EFA900;
  color: #EFA900;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #EFA900; color: #fff; border-color: #EFA900;}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 10px;
    font-size: .98rem;
  }
  .cookie-banner .cookie-actions { gap: 7px; }
  .cookie-banner .cookie-message { margin-right: 0; }
}

/* COOKIE MODAL ------------------------------------------ */
.cookie-modal-overlay {
  position: fixed; top:0; left:0;
  width: 100vw; height: 100vh;
  background: rgba(32,70,107,0.65);
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModalBg 0.34s cubic-bezier(.47,1.6,.55,.62);
}
@keyframes fadeInModalBg {
  0% {opacity: 0;}
  100% {opacity: 1;}
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 41px rgba(32,70,107,0.16);
  padding: 36px 32px 34px 32px;
  min-width: 300px;
  max-width: 98vw;
  min-height: 0;
  color: #20466B;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: fadeInModal 0.25s cubic-bezier(.63,-0.42,.21,1.41);
}
@keyframes fadeInModal {
  0% {transform: translateY(60px) scale(0.98); opacity: 0;}
  100% {transform: translateY(0) scale(1); opacity: 1;}
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #20466B;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.cookie-modal .cookie-toggle {
  width: 34px;
  height: 20px;
  position: relative;
  border-radius: 17px;
  background: #ece5d2;
  margin-left: 10px;
  cursor: pointer;
  transition: background 0.22s;
}
.cookie-modal .cookie-toggle[data-checked="true"] {
  background: #EFA900;
}
.cookie-modal .cookie-toggle:after {
  content: '';
  position: absolute;
  top: 2.5px; left: 3px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(32,70,107,0.08);
  transition: left 0.22s;
}
.cookie-modal .cookie-toggle[data-checked="true"]:after {
  left: 15px;
  background: #20466B;
}
.cookie-modal .cookie-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  width: 100%;
}
.cookie-modal .cookie-note {
  font-size: .95em;
  color: #555;
  margin-top: 12px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 8px; right: 14px;
  background: none;
  border: none;
  font-size: 1.55rem;
  color: #20466B;
  cursor: pointer;
}
@media (max-width: 540px) {
  .cookie-modal {
    padding: 16px 10px 17px 10px;
  }
  .cookie-modal .cookie-actions {
    gap: 7px;
  }
  .cookie-modal h3 {
    font-size: 1.1rem;
  }
}

/* MISC / ADDITIONAL ------------------------------------ */
::-webkit-scrollbar { width: 11px; background: #f3f0e9; }
::-webkit-scrollbar-thumb { background: #c7c1b4; border-radius: 11px; }
::-webkit-scrollbar-thumb:hover { background: #EFA900; }

::selection {
  background: #EFA900;
  color: #fff;
}

/* ACCENT & FOCUS RING ---------------------------------- */
a:focus, button:focus, .btn-primary:focus, .cookie-btn:focus, input:focus, textarea:focus {
  outline: 3px solid #EFA900 !important;
  outline-offset: 3px !important;
  box-shadow: 0 1px 8px #FFEAA5;
}

/* ACCESSIBILITY - Hide elements (helper class) ---------- */
.sr-only {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/**** END LUXURY-PREMIUM UI CSS ****/
