/* CSS RESET & BASE STYLES */
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, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, main, nav, output, ruby, section, summary, time, mark, audio, video {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
html { scroll-behavior: smooth; }
body {
  background: #fff;
  color: #233B66;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:focus { outline: 2px solid #11A798; outline-offset: 2px; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}
ul, ol { padding-left: 22px; margin-bottom: 16px; }
strong, b { font-weight: 600; }
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #233B66;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }
h4 { font-size: 1.1rem; margin-bottom: 6px; }
p { margin-bottom: 14px; }

/* Container Layouts & Sections */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #F5F5F5;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(35,59,102,0.06);
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(35,59,102,0.05);
  border-radius: 14px;
  padding: 32px 20px;
  margin-bottom: 32px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(35,59,102,0.065);
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 250px;
  padding: 28px 18px 20px 18px;
  transition: transform .17s, box-shadow .17s;
}
.card:hover, .card:focus-within {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 4px 16px rgba(35,59,102,0.12);
}

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

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(35,59,102,0.07);
  margin-bottom: 20px;
  border-left: 5px solid #11A798;
  max-width: 520px;
}
.testimonial-card p {
  font-size: 1.1em;
  color: #233B66;
}
.testimonial-card div {
  color: #233B66;
  font-weight: 600;
  font-size: 0.98em;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  padding: 20px 18px;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(35,59,102,.06);
  margin-bottom: 16px;
}

/* Service List (for Dienstleistungen etc) */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.service-list > div {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(35,59,102,0.055);
  flex: 1 1 250px;
  min-width: 240px;
  padding: 28px 18px 20px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.19s, transform 0.19s;
}
.service-list > div:hover {
  box-shadow: 0 6px 24px rgba(35,59,102,0.12);
  transform: translateY(-4px) scale(1.015);
}
.service-list h3 {
  color: #11A798;
  margin-bottom: 10px;
  font-size: 1.2em;
}
.service-list div {
  font-weight: 500;
  margin-top: 16px;
  color: #233B66;
  background: #F5F5F5;
  border-radius: 8px;
  padding: 3px 10px;
  font-size: 1em;
}

/* HEADER */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(35,59,102,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
}
.logo img {
  height: 46px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  color: #233B66;
  opacity: 0.90;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1em;
  position: relative;
  padding: 6px 3px;
  border-radius: 4px;
  transition: color 0.14s, background 0.14s;
}
.main-nav a.active,
.main-nav a:hover {
  color: #11A798;
  background: #F5F5F5;
}

.btn {
  padding: 11px 28px;
  border-radius: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09em;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow .18s;
  box-shadow: 0 1px 1px rgba(35,59,102,0.05);
  margin-left: 16px;
  margin-right: 4px;
  display: inline-block;
  border: none;
}
.btn.btn-primary {
  background: #233B66;
  color: #fff;
  border: 1.5px solid #233B66;
}
.btn.btn-primary:hover, .btn.btn-primary:focus {
  background: #11A798;
  color: #fff;
  border-color: #11A798;
}
.btn.btn-secondary {
  background: #F5F5F5;
  color: #233B66;
  border: 1.5px solid #11A798;
}
.btn.btn-secondary:hover, .btn.btn-secondary:focus {
  background: #11A798;
  color: #fff;
}

header .mobile-menu-toggle {
  display: none;
  background: none;
  color: #233B66;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  margin-left: 16px;
  padding: 4px 12px;
  border-radius: 8px;
  transition: background 0.16s;
}
header .mobile-menu-toggle:hover,
header .mobile-menu-toggle:focus {
  background: #F5F5F5;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,59,102, 0.95);
  z-index: 200;
  transform: translateX(-104vw);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transition: transform 0.35s cubic-bezier(.46,.03,.52,.96);
  overflow-y: auto;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  margin: 22px 17px 8px 0;
  cursor: pointer;
  transition: color 0.18s, background 0.15s;
  border-radius: 6px;
  padding: 3px 15px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: #11A798; background: #233B66; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 16px;
  margin-top: 22px;
  align-items: flex-start;
  padding-left: 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25em;
  font-weight: 600;
  padding: 13px 0 13px 6px;
  border-radius: 8px;
  min-width: 110px;
  margin-bottom: 2px;
  transition: background 0.15s, color .14s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: #11A798;
  color: #fff;
}
@media (max-width:1023px) {
  .main-nav {
    display: none;
  }
  header .mobile-menu-toggle { display: block; }
}
@media (min-width:1024px) {
  .mobile-menu { display: none !important; }
  header .mobile-menu-toggle { display: none !important; }
}

/* LIST RESET FOR FEATURE & SERVICE ITEMS */
ul, ol { margin-bottom: 14px; }
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1em;
}
ul li img {
  display: inline-block;
  height: 22px;
  width: 22px;
  vertical-align: middle;
  margin-right: 7px;
  margin-bottom: 2px;
}

/* FOOTER */
footer {
  background: #fff;
  border-top: 1px solid #e9ecf2;
  box-shadow: 0 -1px 10px rgba(35,59,102,0.03);
  padding: 32px 0 18px 0;
  margin-top: 40px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 24px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #233B66;
  opacity: 0.8;
  font-size: 0.98em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: color 0.15s;
}
.footer-nav a:hover {
  color: #11A798;
}
footer img {
  height: 32px;
  margin-bottom: 10px;
}
footer div {
  color: #929fae;
  font-size: 0.95em;
}
@media (max-width: 768px) {
  .container, footer .container {
    padding: 0 10px;
    flex-direction: column;
    gap: 20px;
  }
  footer .footer-nav { gap: 10px; }
}

/* CTA Section Accent (if needed) */
.cta-accent {
  background: #11A798;
  color: #fff;
  border-radius: 22px;
  padding: 44px 24px;
  box-shadow: 0 6px 36px rgba(17,167,152,0.07);
}

/* Animations & Microinteractions */
.btn, .service-list > div, .card, .main-nav a, .testimonial-card, .feature-item, .card {
  transition: background 0.18s, color 0.18s, border-color .18s, box-shadow .18s, transform .18s;
}
section, .section {
  opacity: 0;
  transform: translateY(14px);
  animation: sectionFadeIn 0.8s cubic-bezier(.32,1.17,.75,1) forwards;
  animation-delay: .02s;
}
@keyframes sectionFadeIn {
  to {
    opacity: 1;
    transform: none;
  }
}

/* RESPONSIVE - MOBILE-FIRST */
@media (max-width: 900px) {
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.55rem; }
  .service-list { gap: 14px; }
}
@media (max-width: 768px) {
  .section { padding: 26px 7px; margin-bottom: 32px; }
  .text-section { padding: 20px 7px; }
  .service-list > div, .card { min-width: 90vw; }
  .content-grid, .card-container, .service-list {
    flex-direction: column;
    gap: 14px;
  }
  .container, footer .container { padding: 0 4px; }
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 500;
  width: 100vw;
  background: #fff;
  border-top: 2px solid #11A798;
  box-shadow: 0 -2px 22px rgba(35,59,102,0.06);
  padding: 18px 22px 18px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  justify-content: space-between;
  font-size: 1.07em;
  animation: banner-in 0.4s cubic-bezier(.36,.75,.5,.98);
}
@keyframes banner-in { 0% { transform: translateY(90px); opacity:0; } 100% { transform: none; opacity:1; } }
.cookie-banner p {
  color: #233B66;
  margin-bottom: 0;
  font-size: 1em;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cookie-banner button {
  padding: 7px 22px;
  border-radius: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  cursor: pointer;
  font-weight: 500;
  border: 1.5px solid #233B66;
  background: #F5F5F5;
  color: #233B66;
  transition: background 0.13s, color 0.13s, border-color 0.13s;
}
.cookie-banner button.accept {
  background: #11A798;
  color: #fff;
  border-color: #11A798;
}
.cookie-banner button.accept:hover,
.cookie-banner button.accept:focus {
  background: #233B66;
  color: #fff;
  border-color: #233B66;
}
.cookie-banner button.reject {
  background: #F5F5F5;
  color: #233B66;
  border-color: #233B66;
}
.cookie-banner button.reject:hover,
.cookie-banner button.reject:focus {
  background: #fff;
  color: #11A798;
  border-color: #11A798;
}
.cookie-banner button.settings {
  background: #fff;
  color: #233B66;
  border-color: #11A798;
}
.cookie-banner button.settings:hover,
.cookie-banner button.settings:focus {
  background: #F5F5F5;
  color: #11A798;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,59,102, 0.38);
  z-index: 501;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fade 0.27s cubic-bezier(.33,.66,.44,.97);
}
@keyframes modal-fade {
  0% { opacity: 0; } 100% { opacity: 1;}
}
.cookie-modal-content {
  background: #fff;
  border-radius: 21px;
  box-shadow: 0 7px 38px rgba(35,59,102,0.19);
  padding: 30px 30px 18px 30px;
  max-width: 430px;
  width: 98vw;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cookie-modal-content h2 {
  color: #233B66;
  font-size: 1.15em;
  margin-bottom: 8px;
}
.cookie-modal-content .cookie-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  width: 100%;
}
.cookie-modal-content .cookie-cat:last-of-type { border-bottom: none; }
.cookie-modal-content label {
  color: #233B66;
  font-size: 1em;
  font-weight: 500;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  border-radius: 12px;
  background: #F5F5F5;
  position: relative;
  margin-left: 12px;
  display: inline-block;
}
.cookie-toggle input {
  opacity: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  cursor: pointer;
}
.cookie-toggle .toggle-thumb {
  display: block;
  width: 18px; height: 18px;
  background: #d0e7e5;
  border-radius: 50%;
  position: absolute;
  left: 2px; top: 2px;
  transition: left 0.13s, background 0.15s;
}
.cookie-toggle input:checked + .toggle-thumb {
  left: 18px;
  background: #11A798;
}
.cookie-modal-content .close-modal {
  position: absolute;
  top: 16px; right: 20px;
  font-size: 1.7em;
  background: none;
  color: #233B66;
  border: none;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal-content .close-modal:hover,
.cookie-modal-content .close-modal:focus { color: #11A798; }
.cookie-modal-content .cookie-btns {
  margin-top: 18px;
  width: 100%;
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Misc Elements */
::-webkit-input-placeholder { color: #929fae; opacity: 0.8; }
::-moz-placeholder { color: #929fae; opacity: 0.8; }
:-ms-input-placeholder { color: #929fae; opacity: 0.8; }
::placeholder { color: #929fae; opacity: 0.8; }

hr {
  border: none;
  border-bottom: 1px solid #e8eaee;
  margin-bottom: 24px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}
th, td {
  border: 1px solid #e9ecf2;
  text-align: left;
  padding: 8px 10px;
  font-size: 1em;
}
th {
  background: #F5F5F5;
  color: #233B66;
}

/* FORM ELEMENTS (for future expansion) */
input[type="text"], input[type="email"], textarea {
  background-color: #fbfbfb;
  border: 1.3px solid #e8eaee;
  border-radius: 7px;
  padding: 12px 13px;
  font-size: 1em;
  width: 100%;
  box-shadow: 0 0px 2px rgba(35,59,102,.05);
  margin-bottom: 17px;
  transition: border-color 0.13s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: #11A798;
}

/* THANK YOU PAGE ICON (if needed) */
.thankyou-icon {
  background: #11A798;
  color: #fff;
  border-radius: 50%;
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.45em;
  margin-bottom: 24px;
}

/* ACCESSIBILITY: FOCUS OUTLINES */
a:focus, .btn:focus, button:focus, input:focus {
  outline: 2px solid #11A798;
  outline-offset: 2px;
  z-index: 10;
}

/* SCANDINAVIAN-CLEAN SPECIFICS: SHADOW, SPACE, NATURAL */
.card, .testimonial-card, .feature-item, .section, .service-list > div, .text-section {
  box-shadow: 0 2px 12px rgba(35,59,102,0.06);
  border-radius: 15px;
}


/* SPACING: Consistent application throughout */
.section, .card, .service-list > div, .testimonial-card, .feature-item, .content-wrapper, .text-section {
  margin-bottom: 20px;
}
.card-container, .service-list, .content-grid {
  gap: 24px;
}

/* Hide on desktop & show on mobile (helpers) */
.__mobile-only { display: none; }
.__desktop-only { display: block; }
@media (max-width: 1023px) {
  .__mobile-only { display: block; }
  .__desktop-only { display: none; }
}
