/* =======================
   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,
u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F8FAFB;
  color: #213441;
  font-size: 16px;
  line-height: 1.65;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

ul, ol {
  list-style: none;
  padding: 0;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

/* =======================
   BRAND & PASTEL COLORS
   ======================= */
:root {
  --primary: #193346;
  --secondary: #F4F6F8;
  --accent: #D6A428;
  --pastel1: #d4e6f1;
  --pastel2: #fadcd9;
  --pastel3: #fff1de;
  --pastel4: #e2f6ed;
  --pastel5: #f3e0ff;
  --pastel6: #ffeff9;
  --text-main: #1E2331;
  --text-muted: #6B7C8C;
  --white: #fff;
  --shadow: 0 2px 12px 0 rgba(36, 48, 97, 0.13);
}

/* ======================
   TYPOGRAPHY
   ====================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}

h1 {
  font-size: 2.25rem;
  line-height: 1.15;
  margin-bottom: 22px;
}
@media (min-width: 600px) {
  h1 { font-size: 2.8rem; }
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
}
@media (min-width: 600px) {
  h2 { font-size: 2rem; }
}
h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

p, li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-main);
}
p {
  margin-bottom: 18px;
}
strong {
  font-weight: 700;
  color: var(--primary);
}
.text-section, .content-info {
  margin-bottom: 30px;
}

/* =======================
   CONTAINER & LAYOUTS
   ======================= */
.container {
  width: 100%;
  padding-left: 18px;
  padding-right: 18px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1100px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}

.card {
  position: relative;
  background: var(--pastel1);
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  padding: 32px 24px;
  min-width: 240px;
  flex: 1 1 290px;
  transition: box-shadow 0.24s, transform 0.18s;
}

.card:hover {
  box-shadow: 0 6px 24px 0 rgba(72, 105, 180, 0.15);
  transform: translateY(-4px) scale(1.02);
}

.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;
    gap: 18px;
    align-items: stretch;
  }
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 30px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--pastel4);
  padding: 28px 20px 24px 20px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  min-width: 220px;
  flex: 1 1 250px;
  margin-bottom: 20px;
  transition: box-shadow 0.23s;
}
.feature-item:hover {
  box-shadow: 0 4px 24px 0 rgba(45,167,180,0.09);
}
.feature-item img {
  width: 34px;
  height: 34px;
  margin-bottom: 9px;
  opacity: 0.88;
}

.trust-signals {
  margin-top: 10px;
  padding: 18px 16px;
  background: var(--pastel2);
  border-radius: 13px;
  box-shadow: 0 1px 8px 0 rgba(183, 107, 141, 0.05);
}
.trust-signals ul {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-start;
}
.trust-signals li {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
}

.service-list, .specialization-list, .team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-item, .specialization-item, .team-member {
  background: var(--pastel3);
  border-radius: 14px;
  padding: 24px 18px;
  min-width: 220px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.23s, transform 0.16s;
}
.service-item:hover, .specialization-item:hover, .team-member:hover {
  box-shadow: 0 3px 18px 0 rgba(145, 107, 183, 0.10);
  transform: scale(1.015) translateY(-2px);
}

@media (max-width: 900px) {
  .feature-grid,
  .service-list,
  .specialization-list,
  .team-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/* =======================
   BUTTONS & LINKS
   ======================= */
.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 34px;
  border-radius: 30px;
  background: linear-gradient(90deg, var(--pastel5) 0%, var(--pastel4) 100%);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  box-shadow: 0 3px 8px 0 rgba(33,52,70,0.08);
  border: 2px solid var(--accent);
  transition: background 0.22s, box-shadow 0.20s, border 0.20s, color 0.16s;
  margin-top: 18px;
  margin-bottom: 12px;
  cursor: pointer;
}
.button-primary:hover,
.button-primary:focus {
  background: var(--accent);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 5px 22px 0 rgba(104, 68, 0, 0.11);
}
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 30px;
  border-radius: 24px;
  background: var(--pastel1);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--pastel3);
  transition: background 0.18s, border 0.2s, color 0.12s;
}
.button-secondary:hover,
.button-secondary:focus {
  background: var(--pastel4);
  color: var(--accent);
  border-color: var(--accent);
}

@media (max-width: 600px) {
  .button-primary, .button-secondary {
    width: 100%;
    padding: 0 12px;
    font-size: 1rem;
  }
}

nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  padding: 8px 12px;
  border-radius: 16px;
  transition: background 0.18s, color 0.16s;
}
nav a:hover, nav a:focus {
  color: var(--accent);
  background: var(--pastel2);
}

/* =======================
   HEADER & NAVIGATION
   ======================= */
header {
  background: var(--white);
  box-shadow: 0 1px 13px 0 rgba(25, 51, 70, 0.06);
  position: sticky;
  top: 0;
  z-index: 30;
  padding-top: 8px;
  padding-bottom: 8px;
}
header .container {
  min-height: 74px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}
header img {
  height: 41px;
  width: auto;
  margin-right: 20px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
header .button-primary {
  margin: 0 0 0 18px;
}
.mobile-menu-toggle {
  display: none;
  background: var(--pastel4);
  border-radius: 100%;
  padding: 11px 15px;
  font-size: 2rem;
  color: var(--primary);
  border: 1.5px solid var(--pastel2);
  margin-left: 16px;
  transition: background 0.2s;
  z-index: 101;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--pastel2);
}

@media (max-width: 970px) {
  header nav, header .button-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MOBILE MENU (SLIDE OVERLAY) */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 81vw;
  max-width: 380px;
  height: 100vh;
  background: var(--white);
  z-index: 2000;
  box-shadow: -8px 0 32px 0 rgba(25,51,70,0.24);
  transform: translateX(105%);
  transition: transform 0.34s cubic-bezier(.64,.02,.35,.74);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px 22px 42px 22px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  margin-bottom: 37px;
  background: var(--pastel3);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  color: var(--primary);
  border: 1px solid var(--pastel1);
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--pastel2);
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.mobile-nav a {
  font-size: 1.13rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 0;
  border-radius: 22px;
  color: var(--primary);
  background: transparent;
  transition: background 0.17s, color 0.14s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--pastel1);
  color: var(--accent);
}
@media (max-width: 600px) {
  .mobile-menu {
    width: 100vw;
    max-width: none;
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* MOBILE MENU OVERLAY BACKDROP */
.mobile-menu-backdrop {
  content: '';
  position: fixed;
  z-index: 1999;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(25,51,70,0.23);
  pointer-events: auto;
}

/* ========================
   HERO & PAGE HEADERS
   ======================== */
.hero {
  display: flex;
  align-items: center;
  background: linear-gradient(120deg, var(--pastel1) 0%, var(--pastel5) 100%);
  min-height: 300px;
  border-radius: 28px;
  box-shadow: 0 5px 36px 0 rgba(42, 82, 121, 0.07);
  padding: 52px 0 44px 0;
  margin-bottom: 60px;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.2rem;
}
.hero p {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 24px;
  margin-top: 8px;
}
@media (max-width: 600px) {
  .hero {
    padding: 30px 0 30px 0;
    min-height: unset;
    border-radius: 12px;
  }
  .hero h1 {
    font-size: 1.23rem;
  }
}

/* =======================
   TESTIMONIALS
   ======================= */
.testimonials {
  background: var(--pastel5);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 40px 18px 38px 18px;
  margin-bottom: 60px;
}
.testimonials .content-wrapper {
  gap: 32px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 22px 22px 22px;
  background: var(--white);
  margin-bottom: 20px;
  border-radius: 14px;
  box-shadow: 0 1px 8px 0 rgba(54, 66, 97, 0.10);
  transition: box-shadow 0.18s, transform 0.16s;
  border-left: 4px solid var(--accent);
}
.testimonial-card:hover {
  box-shadow: 0 7px 24px 0 rgba(54, 66, 97, 0.13);
  transform: translateY(-3px) scale(1.01);
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-person {
  color: var(--text-main);
  font-size: 0.96rem;
  letter-spacing: 0.01em;
}

/* ========================
   ADDRESS & CONTACT BLOCKS
   ======================== */
.address-block, .contact-details-block {
  background: var(--pastel4);
  border-radius: 14px;
  padding: 18px 18px 16px 18px;
  margin-bottom: 20px;
  box-shadow: 0 1px 6px 0 rgba(41, 137, 123, 0.08);
}
.address-block p, .contact-details-block li {
  font-size: 1.05rem;
  color: var(--primary);
}
.contact-details-block ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-details-block img {
  width: 19px;
  height: 19px;
  margin-right: 7px;
  vertical-align: text-bottom;
  opacity: 0.8;
}

.map-placeholder {
  margin-top: 13px;
  padding: 14px 12px;
  border-radius: 10px;
  background: var(--pastel5);
  color: var(--text-muted);
  font-style: italic;
}

/* CTA SECTION */
.cta-section {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ========================
   FOOTER
   ======================== */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 32px 0 22px 0;
  margin-top: 60px;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -1px 26px 0 rgba(25, 51, 70, 0.09);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
footer nav a {
  color: var(--white);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 7px 13px;
  border-radius: 14px;
  transition: background 0.17s, color 0.14s;
}
footer nav a:hover, footer nav a:focus {
  background: var(--accent);
  color: var(--primary);
}
footer .contact-details {
  font-size: 0.98rem;
  color: #f8f8f8;
}
footer .brand-credit {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.97rem;
  margin-top: 9px;
  color: #ede7c4;
}
footer .brand-credit img {
  height: 28px;
  width: auto;
  background: var(--white);
  border-radius: 50%;
  padding: 4px;
}
@media (max-width: 700px) {
  footer .container {
    gap: 16px;
  }
  footer nav {
    flex-direction: column;
    gap: 9px;
  }
}

/* =====================
   COOKIES CONSENT BANNER
   ===================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2500;
  background: var(--white);
  box-shadow: 0 -2px 14px 0 rgba(25,51,70,0.14);
  border-radius: 21px 21px 0 0;
  padding: 20px 28px 18px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  opacity: 1;
  transform: translateY(0%);
  transition: opacity 0.28s, transform 0.33s cubic-bezier(.76,.03,.29,.89);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(130%);
}
.cookie-banner-content {
  color: var(--primary);
  font-size: 1.04rem;
  text-align: center;
}
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-banner .button-primary,
.cookie-banner .button-secondary {
  font-size: 1rem;
  min-width: 132px;
  padding: 0 11px;
}
@media (max-width: 540px) {
  .cookie-banner {
    padding: 16px 13px 12px 13px;
  }
  .cookie-banner .button-primary, .cookie-banner .button-secondary {
    min-width: 98px;
    font-size: 0.95rem;
  }
}

/* Cookie Modal Overlay */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(25, 51, 70, 0.19);
  z-index: 2501;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.28s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  visibility: hidden;
}

.cookie-modal {
  background: var(--white);
  border-radius: 21px;
  box-shadow: 0 9px 44px 0 rgba(28, 69, 66, 0.15);
  min-width: 340px;
  max-width: 95vw;
  padding: 36px 28px 26px 28px;
  position: relative;
  z-index: 2502;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-close {
  position: absolute;
  right: 17px;
  top: 13px;
  background: var(--pastel3);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.3rem;
  color: var(--primary);
  border: none;
}
.cookie-modal h2 {
  font-size: 1.27rem;
  margin-bottom: 10px;
  color: var(--primary);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--pastel1);
}
.cookie-category:last-child {
  border-bottom: none;
}
.cookie-category label {
  font-size: 1.05rem;
  color: var(--primary);
}
.cookie-toggle {
  width: 40px;
  height: 24px;
  border-radius: 12px;
  background: var(--pastel1);
  position: relative;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  transition: left 0.19s, background 0.15s;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  left: 19px;
  background: var(--primary);
}
.cookie-disabled {
  opacity: 0.5;
  pointer-events: none;
}
@media (max-width: 450px) {
  .cookie-modal {
    min-width: 80vw;
    padding: 13px 10px 16px 10px;
  }
}

/* =========================
   PAGE SPECIFIC PASTEL BGs
   ========================= */
.about, .datenschutz, .gdpr, .cookie-policy, .nutzungsbedingungen, .thank-you {
  background: var(--pastel6);
  border-radius: 18px;
}
.services, .specializations, .team, .contact, .location {
  background: var(--pastel1);
  border-radius: 20px;
}

/* =========================
   MEDIA QUERIES & FLEX ADJUSTS
   ========================= */
@media (max-width: 900px) {
  .container {
    max-width: 92vw;
  }
  .section, section {
    padding: 28px 6vw;
  }
}
@media (max-width: 600px) {
  .card-container, .content-grid, .feature-grid, .team-grid,
  .service-list, .specialization-list {
    flex-direction: column;
    gap: 15px;
  }
  .section, section {
    margin-bottom: 35px;
    padding: 19px 2vw;
    border-radius: 9px;
  }
  .feature-item, .service-item, .specialization-item, .team-member {
    padding: 15px 7px;
    border-radius: 7px;
  }
}

/* ===========================
   ANIMATIONS & MICROINTERACTIONS
   =========================== */
.button-primary, .button-secondary, .mobile-menu-toggle,
.mobile-menu-close, .cookie-banner, .cookie-modal {
  transition: box-shadow 0.18s, background 0.22s, color 0.16s, transform 0.20s;
}
.button-primary:active, .button-secondary:active, .mobile-menu-toggle:active,
.mobile-menu-close:active {
  transform: scale(0.98);
}

/* ================
   MISC UTILITIES
   ================ */
.mt-0 { margin-top: 0!important; }
.mb-0 { margin-bottom: 0!important; }
.mt-1 { margin-top: 8px!important; }
.mb-1 { margin-bottom: 8px!important; }
.mt-2 { margin-top: 16px!important; }
.mb-2 { margin-bottom: 16px!important; }
.text-center { text-align: center!important; }
.text-muted { color: var(--text-muted)!important; }
.rounded { border-radius: 20px!important; }

/* End of style.css */
