/* =============================
   JusPartner Schwerin: SCANDINAVIAN_CLEAN CSS THEME
   For all pages, mobile menu, cookie banner
   Author: Senior CSS Developer & UI Designer
============================= */
/* =============================
   1. CSS RESET & NORMALIZE
============================= */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #22304B;
  background: #F6F7F9;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #22304B;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #22304B;
}
button, .btn-primary, .btn-link, .mobile-menu-toggle, .mobile-menu-close {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
ul, ol {
  list-style: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  color: #22304B;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 24px; }
h2 { font-size: 2rem; line-height: 1.3; margin-bottom: 20px; }
h3 { font-size: 1.25rem; line-height: 1.3; margin-bottom: 16px; }
h4 { font-size: 1.125rem; line-height: 1.3; margin-bottom: 12px; }
p, li {
  font-size: 1rem;
  color: #22304B;
  margin-bottom: 12px;
}
strong { font-weight: bold; }
small { font-size: 0.875rem; color: #5b5c5e; display: block; margin-top: 16px; }
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(34,48,75,0.04);
}
.container {
  width: 100%;
  max-width: 1110px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section, .text-section ul {
  margin-bottom: 24px;
}
.text-section ul {
  padding-left: 22px;
  margin: 0 0 12px 0;
  list-style: disc;
}
.text-section li {
  margin-bottom: 6px;
}
/* =============================
   2. HEADER & NAVIGATION
============================= */
header {
  background: #fff;
  border-bottom: 1px solid #E7E8EB;
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  padding-bottom: 15px;
}
header img {
  height: 38px;
  margin-right: 32px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-right: 24px;
}
.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #22304B;
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 0;
  position: relative;
  transition: color 0.18s;
}
.main-nav a:hover, .main-nav a:active {
  color: #D1B06B;
}
.btn-primary {
  background: #22304B;
  color: #fff;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 28px;
  font-size: 1rem;
  box-shadow: 0 1px 5px rgba(41,47,69,0.07);
  transition: background 0.18s, box-shadow 0.12s, transform 0.14s;
  border: none;
  display: inline-block;
  margin-left: 16px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #D1B06B;
  color: #22304B;
  box-shadow: 0 2px 14px 0 rgba(34, 48, 75, 0.12);
  transform: translateY(-2px) scale(1.03);
}
.btn-link {
  background: none;
  color: #D1B06B;
  font-weight: 600;
  font-size: 1rem;
  padding: 0;
  border: none;
  display: inline-block;
  position: relative;
  transition: color 0.18s;
}
.btn-link:after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: #D1B06B;
  margin-top: 2px;
  transition: width 0.18s;
}
.btn-link:hover, .btn-link:focus {
  color: #22304B;
}
.btn-link:hover:after, .btn-link:focus:after {
  width: 30%;
  background: #22304B;
}
.mobile-menu-toggle {
  display: none;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #E3E5EA;
  width: 40px;
  height: 40px;
  font-size: 2rem;
  justify-content: center;
  align-items: center;
  color: #22304B;
  margin-left: 22px;
  transition: background 0.22s, box-shadow 0.20s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F6F7F9;
  border-color: #D1B06B;
}
/* =============================
   3. MOBILE NAVIGATION / BURGER
============================= */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(34, 48, 75, 0.97);
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.7,0,.3,1);
  z-index: 5000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: #fff;
  background: transparent;
  border: none;
  margin: 20px 0 24px 22px;
  align-self: flex-start;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #D1B06B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-left: 34px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 14px 0;
  border-radius: 3px;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #D1B06B;
  background: rgba(255,255,255,0.08);
}
/* =============================
   4. HERO & SECTION LAYOUTS
============================= */
.hero {
  background: #F6F7F9;
  min-height: 340px;
  display: flex;
  align-items: center;
  padding: 0 0 32px 0;
}
.hero .container {
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1 {
  color: #22304B;
  font-size: 2.4rem;
  margin-bottom: 18px;
}
.hero p {
  font-size: 1.25rem;
  color: #42516B;
  margin-bottom: 22px;
}
.features {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(34,48,75,0.05);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 12px;
}
.feature-item {
  background: #F6F7F9;
  border-radius: 12px;
  padding: 28px 22px;
  box-shadow: 0 2px 8px 0 rgba(34,48,75,0.04);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 220px;
  min-width: 210px;
}
.feature-item img {
  width: 34px;
  height: 34px;
  margin-bottom: 7px;
}
.feature-item h3 {
  font-size: 1.12rem;
  color: #22304B;
  margin-bottom: 8px;
}
.feature-item p {
  font-size: 1rem;
  color: #42516B;
}
/* About page competencies matrix */
.competence-matrix {
  display: flex;
  flex-wrap: wrap;
  gap: 21px;
}
.competence-item {
  background: #fafbfc;
  border-radius: 12px;
  padding: 22px 18px;
  box-shadow: 0 2px 6px 0 rgba(41,47,69,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 200px;
  flex: 1 1 210px;
}
.competence-item img {
  width: 28px;
  height: 28px;
  margin-bottom: 6px;
}
.competence-item h3 {
  font-size: 1.08rem;
  color: #22304B;
}
.competence-item p {
  color: #42516B;
  font-size: 1rem;
}
/* Service categories */
.service-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 24px;
}
.service-category {
  background: #F6F7F9;
  border-radius: 11px;
  padding: 20px 18px;
  flex: 1 1 200px;
  min-width: 190px;
  box-shadow: 0 1px 4px 0 rgba(34,48,75,0.03);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-category h2 {
  font-size: 1.13rem;
  color: #22304B;
  margin-bottom: 8px;
}
.service-category p {
  color: #42516B;
}
/* Team members grid */
.team-member-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.team-member {
  background: #FAFBFC;
  border-radius: 11px;
  padding: 28px 22px 22px 22px;
  box-shadow: 0 2px 8px 0 rgba(41,47,69,0.04);
  min-width: 240px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.team-member h2 {
  font-size: 1.23rem;
  margin-bottom: 3px;
}
.team-member p {
  font-size: 1rem;
  color: #42516B;
  margin-bottom: 6px;
}
.team-bio {
  margin-top: 7px;
}
/* Cards & Card Containers */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(34,48,75,0.07);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.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;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(41,47,69,0.08);
  margin-bottom: 20px;
  flex-direction: column;
}
.testimonial-card p {
  color: #22304B;
  font-size: 1.12rem;
  margin-bottom: 6px;
}
.testimonial-card span {
  color: #22304B;
  font-size: 1rem;
  font-style: italic;
  opacity: 0.88;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #FAFBFC;
  border-radius: 10px;
  box-shadow: 0 1px 6px 0 rgba(34,48,75,0.04);
  padding: 24px 18px;
}
.faq-item h2 {
  font-size: 1.13rem;
}
.faq-item p {
  color: #42516B;
}
/* =============================
   5. CONTACT & MAP SECTIONS
============================= */
.contact-details {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-details img, .footer-contact img {
  width: 16px;
  height: 16px;
  margin-right: 9px;
  vertical-align: middle;
}
.map {
  margin-top: 16px;
}
/* =============================
   6. FOOTER
============================= */
footer {
  background: #F6F7F9;
  border-top: 1px solid #E3E5EA;
  padding: 40px 0 12px 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
footer img {
  height: 32px;
  margin-right: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #22304B;
  font-size: 0.99rem;
  transition: color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #D1B06B;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
footer small {
  text-align: center;
  margin-top: 28px;
  color: #7a7b80;
}
/* =============================
   7. COOKIE CONSENT BANNER & MODAL
============================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 1px solid #E3E5EA;
  box-shadow: 0 -2px 16px rgba(34,48,75,0.09);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px;
  z-index: 20000;
  gap: 16px;
  transition: transform 0.35s cubic-bezier(.7,0,.3,1);
  transform: translateY(0);
}
.cookie-banner h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: #22304B;
  font-family: 'Merriweather', serif;
  font-weight: 700;
}
.cookie-banner p {
  color: #22304B;
  font-size: 0.98rem;
}
.cookie-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}
.cookie-btn {
  background: #22304B;
  color: #fff;
  border-radius: 20px;
  padding: 8px 22px;
  font-size: 1rem;
  transition: background 0.18s, color 0.18s, box-shadow 0.14s;
  font-weight: 600;
  border: none;
  box-shadow: 0 1px 6px 0 rgba(41,47,69,0.06);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #D1B06B;
  color: #22304B;
}
.cookie-settings-btn {
  background: #F6F7F9;
  color: #22304B;
  border: 1px solid #D1B06B;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #fff6e5;
  color: #D1B06B;
  border-color: #22304B;
}
/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(34, 48, 75, 0.45);
  z-index: 30000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalFadeIn 0.28s;
}
@keyframes cookieModalFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 4px 30px rgba(34, 48, 75, 0.16);
  padding: 36px 28px 28px 28px;
  max-width: 400px;
  width: 95%;
  z-index: 40000;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookieCardFloatUp 0.32s;
}
@keyframes cookieCardFloatUp {
  0% { transform: translateY(40px) scale(0.98); opacity:0; }
  90% { transform: translateY(-6px) scale(1.01); opacity:1; }
  100% { transform: translateY(0) scale(1); }
}
.cookie-modal h4 {
  font-size: 1.29rem; margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  margin-bottom: 11px;
}
.cookie-toggle {
  appearance: none;
  width: 44px;
  height: 25px;
  background: #E3E5EA;
  border-radius: 15px;
  position: relative;
  outline: none;
  transition: background 0.16s;
}
.cookie-toggle:checked {
  background: #D1B06B;
}
.cookie-toggle::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 17px;
  height: 17px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.16s;
  box-shadow: 0 1px 3px rgba(41,47,69,0.12);
}
.cookie-toggle:checked::after {
  transform: translateX(18px);
}
.cookie-modal .cookie-actions {
  margin-top: 9px;
  justify-content: flex-end;
}
/* Essential (always enabled):*/
.cookie-locked {
  opacity: 0.75;
}
/* =============================
   8. THANK YOU & UTILITY SECTIONS
============================= */
.thank-you .text-section a {
  margin-top: 12px;
}
.amenities ul, .services-preview ul, .services .service-detail-list ul, .values ul {
  margin-bottom: 12px;
  padding-left: 20px;
  list-style: disc;
}
.amenities li, .services-preview li, .services .service-detail-list li, .values li {
  margin-bottom: 5px;
  font-size: 1rem;
}
/* =============================
   9. RESPONSIVE DESIGN
============================= */
@media (max-width: 1023px) {
  .container {
    max-width: 93vw;
    padding: 0 10px;
  }
  header .container {
    flex-wrap: wrap;
  }
  .content-wrapper {
    gap: 18px;
  }
  .feature-grid, .competence-matrix, .service-categories, .team-member-list {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .btn-primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2.0rem; }
  h2 { font-size: 1.3rem; }
  .section, .features, .about-preview, .services-preview, .contact-cta {
    padding: 28px 6px;
    margin-bottom: 40px;
  }
  .feature-grid, .competence-matrix, .service-categories, .team-member-list {
    flex-direction: column;
    gap: 16px;
  }
  .footer-nav {
    gap: 10px;
    flex-wrap: wrap;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .hero {
    min-height: 220px;
    padding-top: 18px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
    padding: 14px 8px 10px 8px;
  }
  .cookie-actions {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}
@media (max-width: 480px) {
  html {
    font-size: 15px;
  }
  h1 { font-size: 1.36rem; }
  h2 { font-size: 1.08rem; }
  h3 { font-size: 0.97rem; }
  header img, footer img {
    height: 28px;
  }
  .btn-primary, .cookie-btn {
    font-size: 0.95rem;
    padding: 9px 17px;
  }
  .section, .features, .about-preview, .services-preview, .contact-cta {
    margin-bottom: 24px;
    padding: 12px 2px 18px 2px;
    border-radius: 7px;
  }
  .testimonial-card, .card, .feature-item, .competence-item {
    padding: 15px 8px;
    border-radius: 9px;
  }
  .team-member {
    min-width: unset;
    padding: 13px 7px 10px 9px;
  }
}
/* ==========================
   10. ANIMATIONS & EFFECTS
========================== */
a, .btn-primary, .btn-link, .mobile-nav a, .main-nav a, .footer-nav a {
  transition: color 0.18s, background 0.18s, box-shadow 0.14s, border-color 0.16s, transform 0.14s;
}
.card, .testimonial-card, .feature-item, .team-member, .competence-item, .faq-item {
  transition: box-shadow 0.18s, transform 0.15s;
}
.card:hover, .testimonial-card:hover, .feature-item:hover, .team-member:hover, .competence-item:hover, .faq-item:hover {
  box-shadow: 0 4px 22px 0 rgba(211,176,107,0.12);
  transform: translateY(-4px) scale(1.01);
}
/* ==========================
   11. ACCENT & BRAND UTILITY
========================== */
::-webkit-selection, ::selection {
  background: #D1B06B;
  color: #22304B;
}
/* Utility classes */
.bg-accent { background: #F6F7F9; }
.bg-brand { background: #22304B; color: #fff; }
.text-accent { color: #D1B06B; }
.text-muted { color: #42516B; }
.rounded { border-radius: 12px; }
.shadow-sm { box-shadow: 0 1px 7px 0 rgba(34,48,75,0.09); }
/* ==========================
   12. FORM ELEMENTS (For Future Use)
========================== */
input, textarea, select {
  background: #fafbfc;
  border: 1px solid #E3E5EA;
  border-radius: 7px;
  padding: 12px 10px;
  font-size: 1rem;
  width: 100%;
  margin-bottom: 14px;
  color: #22304B;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: border-color 0.16s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #D1B06B;
  background: #fffbe8;
}
/* ==========================
   END SCANDINAVIAN_CLEAN THEME
========================== */