/* --- 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,table,caption,tbody,tfoot,thead,tr,th,td,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; }
body { line-height: 1.5; min-height: 100vh; background: #F4F6F8; }
article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section {
  display: block;
}
ol,ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; font-size: 100%; border: none; background: none; outline: none; }

/*--- Font imports ---*/
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900|Open+Sans:400,600,700&display=swap');

/* --- Brand Variables (fallbacks) --- */
:root {
  --primary: #19427A;
  --secondary: #4E977C;
  --accent: #F4F6F8;
  --danger: #e95470;
  --brand-gradient: #19427A;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
  --radius-xl: 32px;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius: 8px;
  --shadow-md: 0 6px 32px rgba(25,66,122,0.12);
  --shadow-sm: 0 2px 8px rgba(25,66,122,0.07);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: #232e47;
  background: var(--accent);
  overflow-x: hidden;
}

/* --- Container & Wrappers --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

/* --- Section Spacing --- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  position: relative;
  background: none;
}
section:last-child {
  margin-bottom: 0;
}

/* --- Headings Typography --- */
h1, .h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.6rem;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 8px;
  line-height: 1.2;
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.24rem;
  color: var(--primary);
  margin-bottom: 6px;
}
.subheadline {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: #232e47;
  margin-bottom: 18px;
  font-weight: 600;
}

@media (max-width: 768px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.4rem; }
  h3, .h3 { font-size: 1.08rem; }
}

/* --- Layout Flex Patterns --- */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
  transition: transform 0.20s cubic-bezier(.67,.67,.35,1), box-shadow 0.20s;
  flex: 1 1 290px;
  min-width: 250px;
}
.card:hover {
  transform: translateY(-6px) scale(1.02) rotate(-0.5deg);
  box-shadow: 0 20px 36px rgba(25,66,122,0.12), 0 1.5px 7px #4E977C11;
}
.card-content { display: flex; flex-direction: column; justify-content: center; }
.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;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 28px 30px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  max-width: 480px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- Navigation Styles --- */
header {
  background: #fff;
  box-shadow: 0 2px 16px rgba(25,66,122,0.08);
  padding: 0;
  width: 100%;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--primary);
  font-size: 1.03rem;
  padding: 6px 10px;
  border-radius: var(--radius-md);
  position: relative;
  transition: color 0.15s, background 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--secondary);
  color: #fff;
}
.cta-primary {
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  padding: 11px 28px;
  border-radius: 30px 10px 30px 10px;
  transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
  box-shadow: 0 3px 10px rgba(25,66,122,0.12);
  letter-spacing: 0.01em;
  display: inline-block;
  margin-left: 15px;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--secondary);
  color: #fff;
  transform: scale(1.04) rotate(-1.2deg);
  box-shadow: 0 12px 24px rgba(78,151,124,0.13);
}

/* --- Mobile Navigation --- */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: #fff;
  font-size: 2.1rem;
  padding: 4px 18px 4px 10px;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  z-index: 52;
  margin-left: 10px;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 100;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.62,.05,.33,1.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 28px;
  padding-left: 20px;
  padding-right: 20px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 2.2rem;
  font-weight: bold;
  align-self: flex-end;
  margin-bottom: 18px;
  cursor: pointer;
  padding: 6px 10px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary);
  border-radius: var(--radius-md);
  padding: 11px 10px;
  transition: background 0.16s, color 0.16s;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: var(--secondary);
  color: #fff;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 868px) {
  .main-nav, .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* --- HERO Styles --- */
section .content-wrapper > h1, section .content-wrapper > .subheadline, section .content-wrapper > .cta-primary {
  align-self: flex-start;
}
section .content-wrapper > .cta-primary {
  margin-top: 8px;
}

/* --- Feature & Service Grids --- */
.feature-grid, .service-cards, .service-grid, .team-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 10px;
}
.feature-grid > div, .service-cards > div, .service-grid > div, .team-profiles > div {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 28px 20px 24px 20px;
  min-width: 225px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, transform 0.16s;
}
.feature-grid > div img {
  height: 46px;
  width: 46px;
  margin-bottom: 8px;
}
.feature-grid > div:hover, .service-cards > div:hover, .service-grid > div:hover {
  box-shadow: 0 16px 39px rgba(25,66,122,0.17);
  transform: translateY(-5px) scale(1.03) rotate(-1.5deg);
}

/* --- Service Cards Price Emphasis --- */
.service-cards strong, .service-grid strong {
  background: var(--secondary);
  color: #fff;
  font-weight: 800;
  padding: 3px 17px;
  border-radius: 22px;
  display: inline-block;
  font-size: 1rem;
  margin-top: 8px;
  letter-spacing: 0.02em;
}

.highlighted-package {
  background: #fff8e7;
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 16px rgba(247,173,47,0.15);
  padding: 30px 20px;
  margin-top: 18px;
}
.highlighted-package h3 {
  color: #d4921e;
  font-family: var(--font-display);
  font-size: 1.21rem;
}

/* --- Team & Quotes --- */
.team-profiles > div {
  min-width: 200px;
  flex: 1 1 260px;
}
.team-quotes {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}
.team-quotes blockquote {
  background: var(--accent);
  border-left: 6px solid var(--secondary);
  border-radius: var(--radius);
  padding: 14px 20px;
  font-style: italic;
  font-size: 1rem;
  color: var(--primary);
}

/* --- Contact Mini --- */
.contact-mini {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 18px 20px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.contact-mini a.cta-primary {
  margin-left: 0;
  margin-top: 8px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.address-map {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  background: #fff;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* --- Legal Text Styling ---*/
.legal-text {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 26px 20px;
  font-size: 1.025rem;
  color: #222f43;
}
.legal-text h3 { margin-top: 1.25em; color: var(--primary); font-size: 1.11rem; }
.legal-text ul { margin-top: 7px; margin-bottom: 12px; list-style: inside disc; padding-left: 20px; }
.legal-text ul li { margin-bottom: 7px; }

/*--- Table Styles (Vergleich) ---*/
table {
  width: 100%;
  margin: 16px 0 24px 0;
  border-collapse: collapse;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
thead {
  background: var(--primary);
  color: #fff;
}
th, td {
  padding: 14px 10px;
  text-align: left;
  font-size: 1rem;
  border-bottom: 1px solid #f0f1f2;
}
th { font-family: var(--font-display); font-weight: 700; }
tr:last-child td { border-bottom: none; }

/* --- List Styles --- */
ul, .content-wrapper ul, .legal-text ul, section ul {
  list-style: disc inside;
  margin: 0 0 0 8px;
  padding: 0 0 0 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1.01rem;
}
li strong { color: var(--primary); font-weight: 700; }

/*--- Accordion FAQ ---*/
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-accordion > div {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 14px 18px 16px 18px;
  cursor: pointer;
  transition: box-shadow 0.17s, background 0.16s;
}
.faq-accordion > div:hover {
  box-shadow: 0 8px 28px rgba(25,66,122,0.13);
  background: #F4F6F8;
}
.faq-accordion h3 {
  margin-bottom: 6px!important;
  color: var(--secondary);
  font-size: 1.09rem;
}
.faq-accordion p { margin-bottom: 0; }

/* --- Testimonials --- */
.testimonial-card {
  background: #fff;
  color: #202836;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 20px rgba(25,66,122,0.08);
  font-size: 1.05rem;
  font-style: normal;
  border-left: 8px solid var(--secondary);
  min-width: 240px;
}
.testimonial-card strong {
  font-family: var(--font-display);
  color: var(--primary);
}
.testimonial-card div {
  font-size: 1.02rem;
  margin-top: 6px;
  color: #2b323d;
}
.testimonial-card p {
  color: #263655;
  font-size: 1.08rem;
}

/* --- Footer Styles --- */
footer {
  background: var(--primary);
  color: #fff;
  padding: 38px 0 18px 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 168px;
}
.footer-menu a {
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.13s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--secondary);
  text-decoration: underline;
}
.brand-info {
  display: flex;
  gap: 11px;
  align-items: center;
  font-size: 1.03rem;
  font-family: var(--font-display);
  font-weight: 700;
}
.brand-info img {
  height: 32px;
  width: 32px;
}
.social-links {
  display: flex;
  gap: 18px;
  align-items: center;
}
.social-links a img {
  height: 28px;
  width: 28px;
  transition: transform 0.17s;
}
.social-links a:hover img { transform: scale(1.13) rotate(-6deg); }

/* --- Cookie Consent Banner --- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 900;
  background: #fff;
  border-top: 3px solid var(--primary);
  box-shadow: 0 -4px 24px rgba(25,66,122,0.09);
  padding: 30px 20px 28px 20px;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  justify-content: center;
  font-size: 1.01rem;
  transition: transform 0.38s cubic-bezier(.62,.04,.27,1);
}
.cookie-consent-banner.closed {
  transform: translateY(120%);
}
.cookie-consent-banner .cookie-msg {
  font-weight: 600;
  color: var(--primary);
  font-family: var(--font-body);
  max-width: 460px;
}
.cookie-buttons {
  display: flex;
  gap: 13px;
}
.cookie-buttons .btn {
  padding: 10px 23px;
  border-radius: 19px;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.17s, color 0.16s;
  background: #f6fafc;
  color: var(--primary);
  border: none;
  outline: none;
}
.cookie-buttons .btn.accept {
  background: var(--secondary);
  color: #fff;
}
.cookie-buttons .btn.reject {
  background: var(--danger);
  color: #fff;
}
.cookie-buttons .btn.settings {
  background: #dddff7;
  color: var(--primary);
}
.cookie-buttons .btn:hover, .cookie-buttons .btn:focus {
  background: var(--primary);
  color: #fff;
}

/* -- Cookie Modal Styles -- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1100;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(25,66,122,0.23);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.29s;
}
.cookie-modal-overlay.closed {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 39px rgba(25,66,122,0.18);
  padding: 38px 32px 32px 32px;
  min-width: 320px;
  max-width: 97vw;
  width: 420px;
  display: flex;
  flex-direction: column;
  gap: 21px;
  position: relative;
}
.cookie-modal h2 { color: var(--primary); font-family: var(--font-display); font-size: 1.22rem; margin-bottom: 7px; }
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #ecf0f3;
  font-size: 1.03rem;
}
.cookie-modal .cookie-category:last-child { border-bottom: none; }
.cookie-modal .category-label { font-weight: 600; color: var(--secondary); }
.cookie-modal .toggle {
  width: 44px;
  height: 24px;
  border-radius: 14px;
  background: #dfebfa;
  position: relative;
  cursor: pointer;
  transition: background 0.18s;
  margin-left: 14px;
}
.cookie-modal .toggle.enabled { background: var(--secondary); }
.cookie-modal .toggle .knob {
  height: 20px; width: 20px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px; left: 2px;
  transition: left 0.19s;
  box-shadow: 0 1.5px 6px #19427A22;
}
.cookie-modal .toggle.enabled .knob { left: 22px; }
.cookie-modal .toggle.disabled { opacity: 0.6; pointer-events: none; }
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--primary);
  font-weight: 900;
  cursor: pointer;
}
.cookie-modal .cookie-buttons { justify-content: flex-end; }
.cookie-modal .cookie-description { font-size: 0.99rem; color: #3d4c68; margin-bottom: 11px; }

/* --- Micro-Interactions --- */
a, button, .card, .feature-grid > div, .service-cards > div,
.service-grid > div, .highlighted-package, .faq-accordion > div,
.cta-primary, .cookie-buttons .btn, .mobile-nav a {
  transition: transform 0.13s cubic-bezier(.68,.22,.2,.92), box-shadow 0.17s, background 0.19s, color 0.19s;
}
.card:hover, .faq-accordion > div:hover, .service-cards > div:hover, .feature-grid > div:hover {
  transform: translateY(-4px) scale(1.016); box-shadow: 0 15px 40px rgba(25,66,122,0.14);
}

/* --- Links --- */
a { color: var(--secondary); transition: color 0.14s; }
a:hover, a:focus { color: var(--primary); text-decoration: underline; }

/* --- Responsive Design --- */
@media (max-width: 990px) {
  .container {
    max-width: 94vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .feature-grid, .service-cards, .service-grid, .team-profiles, .footer-menu {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding-left: 8px;
    padding-right: 8px;
  }
  .feature-grid, .service-cards, .service-grid, .team-profiles {
    flex-direction: column;
    align-items: stretch;
  }
  .footer-menu { gap: 7px; }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  section, .section {
    padding: 32px 7px;
  }
  .highlighted-package {
    padding: 19px 11px;
    margin-top: 8px;
  }
  .card {
    min-width: 0;
    padding: 16px 11px;
  }
  .testimonial-card {
    padding: 20px 12px;
    max-width: 100%;
  }
  .mobile-menu {
    padding-top: 12px;
    padding-left: 9px;
    padding-right: 11px;
  }
}
@media (max-width: 600px) {
  .footer-menu, .brand-info, .social-links {
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding-bottom: 28px;
  }
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 20px 8px 17px 8px;
  }
  .cookie-modal {
    width: 96vw;
    min-width: 0;
    padding: 22px 8px 15px 8px;
  }
}

/* --- ARTISTIC EFFECTS --- */
section {
  position: relative;
  /* Artistic paint dabs */
}
section:nth-child(odd)::after {
  content: '';
  position: absolute;
  top: -22px;
  right: -30px;
  width: 80px;
  height: 40px;
  background: var(--secondary);
  opacity: 0.17;
  border-radius: 60px 60px 20px 50px;
  pointer-events: none;
  z-index: 0;
}
section:nth-child(even)::before {
  content: '';
  position: absolute;
  bottom: -17px;
  left: -24px;
  width: 58px;
  height: 33px;
  background: var(--primary);
  opacity: 0.15;
  border-radius: 99px 16px 99px 40px;
  pointer-events: none;
  z-index: 0;
}

.card::after, .highlighted-package::before {
  content: '';
  position: absolute;
  right: 18px;
  bottom: 12px;
  width: 28px;
  height: 12px;
  background: var(--secondary);
  opacity: 0.13;
  border-radius: 21px 12px 18px 10px;
  pointer-events: none;
  z-index: 0;
}
.feature-grid > div::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 8px;
  width: 14px;
  height: 14px;
  background: var(--primary);
  opacity: 0.13;
  border-radius: 50%;
  z-index: 0;
}

/* --- Artistic Font for Display (brand) --- */
.brand-info span {
  font-family: 'Montserrat', cursive, sans-serif;
  font-weight: 900;
  letter-spacing: 0.05em;
  font-size: 1.08rem;
  color: #fff;
}

/* --- Accessibility: Focus Styles --- */
:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1.5px;
}
