/*----------------------------------------------------
  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, caption, tbody, tfoot, thead, tr, th, td, section, 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%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  min-height: 100vh;
  background: #fff;
  color: #1D3557;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
ol, ul {
  list-style: none;
}
a {
  color: #1D3557;
  text-decoration: none;
  background: transparent;
  transition: color 0.17s;
}
a:hover, a:focus {
  color: #457B9D;
  outline: 0;
}
hr {
  border: none;
  border-top: 1px solid #e2e2e2;
  margin: 32px 0; 
}
button {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/*----------------------------------------------------
  BRAND TYPOGRAPHY & HEADINGS
----------------------------------------------------*/
h1, .h1 {
  font-family: 'Merriweather', serif;
  font-size: 2.5rem;
  color: #1D3557;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
h2, .h2 {
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  color: #1D3557;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
h3, .h3 {
  font-size: 1.3rem;
  font-family: 'Merriweather', serif;
  color: #1D3557;
  font-weight: 500;
  margin-bottom: 8px;
}
h4, .h4 {
  font-size: 1.125rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #457B9D;
  font-weight: 400;
  margin-bottom: 6px;
}
p {
  margin-bottom: 16px;
  color: #222e3a;
}
strong, b {
  font-weight: 700;
}
em, i {
  font-style: italic;
}

/*----------------------------------------------------
  LAYOUT CONTAINERS & SPACING
----------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1150px;
  padding-left: 24px;
  padding-right: 24px;
  margin-left: auto;
  margin-right: auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(29,53,87,0.04);
}
@media (max-width: 900px) {
  .container { padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 38px;
    padding: 24px 6px;
    border-radius: 10px;
  }
  .content-wrapper { gap: 16px; }
}

/*----------------------------------------------------
  HEADER & NAVIGATION (DESKTOP & MOBILE)
----------------------------------------------------*/
header {
  background: #fff;
  border-bottom: 1px solid #e6e9ef;
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 20px;
}
.logo img {
  height: 48px;
  width: auto;
  margin-right: 18px;
}
nav.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
nav.main-nav a {
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  color: #1D3557;
  padding: 8px 0;
  font-weight: 400;
  transition: color 0.16s;
  position: relative;
}
nav.main-nav a:hover::after, nav.main-nav a:focus::after {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  height: 2px;
  background: #A8DADC; /* brand secondary */
  border-radius: 1px;
}
nav.main-nav a:focus {
  outline: none;
}

.button.primary, a.button.primary {
  background: #1D3557;
  color: #fff;
  border-radius: 999px;
  padding: 11px 32px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  box-shadow: 0 1px 8px rgba(68,113,154,0.07);
  transition: background 0.15s, box-shadow 0.17s, color 0.13s;
  display: inline-block;
  margin-left: 18px;
  letter-spacing: 0.03em;
}
.button.primary:hover, .button.primary:focus, a.button.primary:hover, a.button.primary:focus {
  background: #223c5e;
  color: #fff;
  box-shadow: 0 2px 24px rgba(68,113,154,0.13);
}

.button.secondary, a.button.secondary {
  background: #A8DADC;
  color: #1D3557;
  border-radius: 999px;
  padding: 11px 32px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  box-shadow: 0 1px 8px rgba(168, 218, 220, 0.13);
  transition: background 0.16s, color 0.17s, box-shadow 0.13s;
  display: inline-block;
}
.button.secondary:hover, .button.secondary:focus, a.button.secondary:hover, a.button.secondary:focus {
  background: #74b3bb;
  color: #fff;
  box-shadow: 0 2px 24px rgba(168,218,220,0.20);
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #1D3557;
  background: none;
  border: none;
  padding: 8px 16px;
  margin-left: 14px;
  cursor: pointer;
}
@media (max-width: 1020px) {
  nav.main-nav {
    display: none;
  }
  .button.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/*----------------------------------------------------
  MOBILE NAVIGATION OVERLAY
----------------------------------------------------*/
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(29,53,87,0.98);
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(0.7,0,0.3,1);
  z-index: 400;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  color: #fff;
  background: none;
  border: none;
  padding: 22px 22px 10px 22px;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 21;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #A8DADC;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 52px auto 0 auto;
  align-items: stretch;
  width: 90%;
  max-width: 340px;
}
.mobile-nav a {
  color: #fff;
  background: none;
  font-size: 22px;
  letter-spacing: 0.01em;
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 500;
  padding: 18px;
  border-radius: 11px;
  transition: background 0.17s, color 0.13s;
  text-align: left;
  min-width: 160px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #A8DADC;
  color: #1D3557;
}

/*----------------------------------------------------
  HERO SECTION
----------------------------------------------------*/
.hero {
  background: #F1FAEE;
  min-height: 300px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 600px;
  margin: 0 auto;
  padding: 42px 0;
}
.hero h1 {
  font-size: 2.3rem;
  color: #1D3557;
}
.hero p {
  font-size: 1.14rem;
  color: #222e3a;
  margin-bottom: 24px;
}
@media (max-width: 768px){
  .hero {
    min-height: unset;
    margin-bottom: 30px;
    padding: 0;
  }
  .hero .content-wrapper { padding: 24px 0; }
}


/*----------------------------------------------------
  FEATURES GRID
----------------------------------------------------*/
.features {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 60px;
}
.features .content-wrapper {
  gap: 24px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature {
  flex: 1 1 270px;
  background: #F1FAEE;
  border-radius: 12px;
  padding: 32px 26px 28px 26px;
  box-shadow: 0 1px 5px rgba(29,53,87,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 240px;
  max-width: 320px;
  transition: box-shadow 0.18s;
  margin-bottom: 0;
}
.feature img {
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
}
.feature h3 {
  font-size: 1.15rem;
  color: #1D3557;
  margin: 0 0 5px 0;
}
.feature p {
  font-size: 15px;
  color: #425266;
  margin-bottom: 0;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 4px 18px rgba(29,53,87,0.13);
}
@media (max-width: 900px) {
  .feature-grid { gap: 14px; }
}
@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature { max-width: 100%; }
}

/*----------------------------------------------------
  CARD LAYOUTS, TEXT-IMAGE SECTIONS, ETC.
----------------------------------------------------*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(29,53,87,0.06);
  padding: 24px 22px;
  position: relative;
  margin-bottom: 20px;
  flex: 1 1 270px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: box-shadow 0.15s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 28px rgba(29,53,87,0.07);
}

.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;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 16px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

/*----------------------------------------------------
  SERVICES PREVIEW (on Homepage)
----------------------------------------------------*/
.services-preview {
  background: #fff;
  border-radius: 14px;
}
.services-preview h2 {
  margin-bottom: 12px;
}
.services-preview ul {
  margin-bottom: 23px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
}
.services-preview ul li {
  background: #F1FAEE;
  color: #1D3557;
  border-radius: 8px;
  padding: 6px 18px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
@media (max-width: 630px){
  .services-preview ul { flex-direction: column; gap: 10px; }
}


/*----------------------------------------------------
  TESTIMONIALS
----------------------------------------------------*/
.testimonials {
  margin-bottom: 60px;
}
.testimonials .testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F1FAEE;
  border-radius: 12px;
  box-shadow: 0 1px 9px rgba(29,53,87,0.05);
  padding: 20px;
  margin-bottom: 20px;
  max-width: 600px;
  width: 100%;
}
.testimonial-card p {
  font-size: 1.08rem;
  color: #1D3557;
  margin-bottom: 0;
  font-style: italic;
}
.testimonial-author {
  color: #457B9D;
  font-size: 15px;
  letter-spacing: 0.01em;
  font-weight: 500;
  margin-top: 0;
}
@media (max-width: 540px){
  .testimonial-card { padding: 14px; }
}

/*----------------------------------------------------
  CTA BLOCKS
----------------------------------------------------*/
.cta {
  background: #A8DADC;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(29,53,87,0.06);
  margin-bottom: 60px;
  display: flex;
  align-items: center;
}
.cta .content-wrapper {
  align-items: flex-start;
}
.cta h2 {
  color: #1D3557;
  margin-bottom: 18px;
}
.cta .button.primary {
  background: #1D3557;
  color: #fff;
}
@media (max-width: 700px) {
  .cta { padding: 0 3vw; }
}

/*----------------------------------------------------
  FAQ STYLES (for .faq-list)
----------------------------------------------------*/
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.faq-item {
  background: #F1FAEE;
  border-radius: 10px;
  box-shadow: 0 1px 5px rgba(29,53,87,0.06);
  padding: 18px 18px 12px 18px;
  flex: 1 1 310px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
  transition: box-shadow 0.16s;
}
.faq-item h3 {
  margin-bottom: 7px;
  color: #1D3557;
  font-size: 1.12rem;
}
.faq-item p {
  font-size: 15px;
  color: #425266;
  margin-bottom: 0;
}
.faq-item:hover, .faq-item:focus-within {
  box-shadow: 0 5px 15px rgba(29,53,87,0.08);
}
@media (max-width: 630px){
  .faq-list {
    flex-direction: column;
    gap: 12px;
  }
}

/*----------------------------------------------------
  TEAM PROFILE (on Anwälte)
----------------------------------------------------*/
.team-profile {
  background: #F1FAEE;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(29,53,87,0.05);
  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.team-profile h3 {
  color: #1D3557;
  font-size: 1.20rem;
}
.team-profile p {
  color: #222e3a;
  font-size: 15px;
  margin-bottom: 0;
}

/*----------------------------------------------------
  MAP PLACEHOLDER DESIGN
----------------------------------------------------*/
.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  border-radius: 10px;
  background: #F1FAEE;
  color: #1D3557;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 5px rgba(29,53,87,0.05);
  margin-top: 12px;
}

/*----------------------------------------------------
  FOOTER
----------------------------------------------------*/
footer {
  background: #F1FAEE;
  border-top: 1px solid #e4eaea;
  padding: 38px 0 12px 0;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 14px;
  justify-content: flex-start;
}
.footer-nav a {
  color: #1D3557;
  font-size: 15px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  padding: 4px 0;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #457B9D;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 4px;
  align-items: center;
  color: #1D3557;
  font-size: 15px;
}
.footer-contact img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 5px;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-copy {
  text-align: center;
  color: #425266;
  font-size: 14px;
  margin-top: 12px;
}
@media (max-width: 840px){
  .footer-contact { flex-direction: column; gap: 6px; align-items: flex-start; }
}

/*----------------------------------------------------
  GENERIC ELEMENT SPACING & LISTS
----------------------------------------------------*/
ul, ol {
  margin-bottom: 18px;
  margin-left: 18px;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 15px;
  color: #425266;
  line-height: 1.7;
}
ul li strong, ol li strong {
  color: #1D3557;
}
li img {
  vertical-align: middle;
  margin-right: 7px;
  width: 1.1em;
  height: 1.1em;
}

/*----------------------------------------------------
  FORM ELEMENT STYLES (if any used in future)
----------------------------------------------------*/
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #D1DFE6;
  padding: 10px 12px;
  margin-bottom: 10px;
  background: #fff;
  outline: none;
  transition: border-color 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #A8DADC;
}
label {
  font-weight: 500;
  color: #1D3557;
  font-size: 15px;
  margin-bottom: 5px;
  display: inline-block;
}

/*----------------------------------------------------
  COOKIE CONSENT BANNER & COOKIE SETTINGS MODAL
----------------------------------------------------*/
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #FFF;
  border-top: 1px solid #A8DADC;
  box-shadow: 0 -2px 16px rgba(29,53,87,0.08);
  padding: 18px 7vw 18px 7vw;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 32px;
  z-index: 2000;
  font-size: 15px;
  transition: transform 0.28s cubic-bezier(0.7,0,0.3,1);
  transform: translateY(0);
}
.cookie-consent-banner.hidden {
  transform: translateY(120%);
}
.cookie-consent-banner .banner-text {
  flex: 1 1 320px;
  color: #1D3557;
  font-size: 15px;
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-consent-banner .button {
  min-width: 115px;
  padding: 9px 17px;
  font-size: 15px;
}
.cookie-consent-banner .button.accept {
  background: #1D3557;
  color: #fff;
}
.cookie-consent-banner .button.reject {
  background: #fff;
  color: #1D3557;
  border: 1px solid #1D3557;
}
.cookie-consent-banner .button.settings {
  background: #A8DADC;
  color: #1D3557;
}
.cookie-consent-banner .button.reject:hover, .cookie-consent-banner .button.reject:focus {
  background: #eee;
}
.cookie-consent-banner .button.settings:hover, .cookie-consent-banner .button.settings:focus {
  background: #74b3bb;
  color: #fff;
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(29,53,87,0.56);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.32s cubic-bezier(0.7,0,0.3,1);
}
.cookie-modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 13px;
  min-width: 340px;
  max-width: 95vw;
  box-shadow: 0 8px 40px rgba(29,53,87,0.10);
  padding: 32px 32px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  max-width: 420px;
  font-size: 15px;
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: #1D3557;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.cookie-category label {
  font-size: 15px;
  color: #1D3557;
}
.cookie-category input[type="checkbox"] {
  accent-color: #A8DADC;
  width: 20px;
  height: 20px;
  border-radius: 6px;
}
.cookie-category .essential {
  font-weight: 500;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .btn-modal {
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 15px;
  background: #A8DADC;
  color: #1D3557;
  border: none;
  transition: background 0.13s, color 0.13s;
  font-weight: 500;
}
.cookie-modal .btn-modal.save {
  background: #1D3557;
  color: #fff;
}
.cookie-modal .btn-modal.save:hover,.cookie-modal .btn-modal.save:focus {
  background: #223c5e;
}
.cookie-modal .btn-modal.cancel:hover,
.cookie-modal .btn-modal.cancel:focus {
  background: #ededed;
  color: #1D3557;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 16px;
  right: 15px;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #1D3557;
  cursor: pointer;
}
.cookie-modal .modal-close:hover,.cookie-modal .modal-close:focus {
  color: #A8DADC;
}
@media (max-width: 520px) {
  .cookie-modal {
    min-width: unset;
    width: 95vw;
    padding: 20px 10px 18px 10px;
    font-size: 14px;
  }
}

/*----------------------------------------------------
  ANIMATIONS & MICRO-INTERACTIONS
----------------------------------------------------*/
.button, a.button {
  transition: background 0.17s, color 0.16s, box-shadow 0.2s, transform 0.10s;
}
.button:active, a.button:active {
  transform: scale(0.97);
}
.testimonial-card, .card, .cta, .feature, .faq-item, .team-profile {
  transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card:hover, .card:hover, .cta:hover, .feature:hover, .faq-item:hover, .team-profile:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 32px rgba(29,53,87,0.11);
}

/*----------------------------------------------------
  RESPONSIVE DESIGN
----------------------------------------------------*/
@media (max-width: 990px) {
  h1, .h1 { font-size: 2.02rem; }
  h2, .h2 { font-size: 1.55rem; }
}
@media (max-width: 730px) {
  h1, .h1 { font-size: 1.55rem; }
  h2, .h2 { font-size: 1.15rem; }
  h3, .h3 { font-size: 1.08rem; }
}
@media (max-width: 1020px) {
  header .container { flex-wrap: wrap; height: auto; min-height: 68px; }
  .logo img { height: 38px; }
}
@media (max-width: 530px) {
  .footer-contact img { width: 19px; height: 19px; }
  .footer-contact, .footer-nav { font-size: 14px; gap: 10px; }
}

/* END */
