/* --- 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,
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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F7F6F2;
  color: #21516E;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #21516E;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #66A8B7;
  outline: none;
}
ul, ol {
  list-style: none;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* --- BRAND TYPOGRAPHY & COLORS --- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #21516E;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
h1 {font-size: 2.2rem; margin-bottom: 18px;}
h2 {font-size: 1.65rem; margin-bottom: 15px;}
h3 {font-size: 1.3rem; margin-bottom: 12px;}
h4 {font-size: 1.11rem; margin-bottom: 10px;}

p, ul li, ol li, address, blockquote {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 12px;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #21516E;
}
strong { color: #21516E; font-weight: bold; }

blockquote {
  border-left: 5px solid #66A8B7;
  padding-left: 18px;
  font-style: italic;
  background: #F7F6F2;
  margin-bottom: 1em;
}

/* --- LAYOUT STRUCTURE (FLEX ONLY) --- */

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px 0 rgba(33,81,110,0.06);
  position: relative;
}
@media (max-width: 950px) {
  .section { padding: 30px 8px; }
}
@media (max-width: 600px) {
  .section { padding: 18px 4px; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 20px;
  box-shadow: 0 3px 12px 0 rgba(102,168,183,0.13);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow .22s, transform .23s;
}
.card:hover {
  box-shadow: 0 5px 20px 0 rgba(33,81,110,0.18);
  transform: translateY(-3px) 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;
    align-items: flex-start;
    gap: 18px;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(33,81,110,0.11);
  border-radius: 20px;
  margin-bottom: 20px;
  min-width: 220px;
  color: #21516E;
}
.testimonial-card blockquote { color: #21516E; }
.testimonial-card strong { color: #21516E; }

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F7F6F2;
  border-radius: 13px;
  padding: 18px 20px;
}

/* --- BUTTONS --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: #21516E;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 18px;
  border-radius: 32px;
  padding: 12px 34px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 4px 22px 0 rgba(33,81,110,0.07);
  border: none;
  transition: background .2s, transform .2s, box-shadow .26s;
  cursor: pointer;
  margin-top: 12px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #66A8B7;
  color: #21516E;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 7px 28px 0 rgba(102, 168, 183, 0.15);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: #F7F6F2;
  color: #21516E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  border-radius: 28px;
  padding: 10px 28px;
  font-weight: 500;
  border: 1.5px solid #66A8B7;
  transition: background .2s, color .2s, border .2s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #66A8B7;
  color: #fff;
  border-color: #21516E;
}

/* --- HEADER/NAVIGATION --- */
header {
  background: #fff;
  box-shadow: 0 2px 14px 0 rgba(33,81,110,0.09);
  position: sticky;
  top: 0;
  z-index: 1001;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0 12px 0;
}
nav img {
  height: 36px;
  width: auto;
  margin-right: 12px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #21516E;
  padding: 8px 10px;
  border-radius: 16px;
  transition: background .15s, color .15s;
}
nav a.btn-primary {
  margin-left: 18px;
  font-size: 16px;
}
nav a:not(.btn-primary):hover, nav a:not(.btn-primary):focus {
  background: #F7F6F2;
  color: #66A8B7;
}

@media (max-width: 1120px) {
  nav { gap: 11px; }
}
@media (max-width: 800px) {
  nav { gap: 6px; }
  nav a.btn-primary { padding: 10px 13px; font-size: 15px; }
}
@media (max-width: 700px) {
  nav { display: none; }
}

header {
  position: relative;
}
.mobile-menu-toggle {
  display: none;
  background: #66A8B7;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 18px;
  right: 28px;
  z-index: 1030;
  box-shadow: 0 4px 16px 0 rgba(102,168,183,0.11);
  cursor: pointer;
  transition: background .2s;
}
.mobile-menu-toggle:hover {
  background: #21516E;
  color: #fff;
}

@media (max-width: 700px) {
  .mobile-menu-toggle { display: flex; }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #21516E;
  color: #fff;
  z-index: 1060;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.45,.85,.45,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 42px;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  box-shadow: 6px 0 32px 0 rgba(33,81,110,0.12);
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  border: none;
  font-size: 2.2rem;
  margin-left: 16px;
  margin-bottom: 24px;
  align-self: flex-start;
  cursor: pointer;
  transition: color .16s;
  z-index: 1110;
}
.mobile-menu-close:hover {
  color: #66A8B7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100vw;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: #fff;
  padding: 14px 26px;
  border-radius: 22px;
  width: 100vw;
  transition: background .2s, color .2s;
  text-align: left;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #66A8B7;
  color: #fff;
}

/* --- HERO --- */
.hero {
  background: linear-gradient(120deg, #f7e591 0%, #A1D4DF 100%);
  position: relative;
  margin-bottom: 60px;
  border-radius: 0 0 48px 0;
  box-shadow: 0 10px 40px 0 rgba(102,168,183,0.19);
}
.hero .container {
  padding: 55px 18px 46px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.3rem;
  margin-bottom: 22px;
  color: #21516E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 1.1px;
  text-shadow: 0 1px 8px rgba(247,246,242,0.15);
}
.hero p {
  font-size: 1.12rem;
  color: #21516E;
  margin-bottom: 20px;
  font-weight: 400;
}
.hero .btn-primary {
  margin-top: 18px;
}

@media (max-width: 800px) {
  .hero .container { padding: 36px 8px 21px 8px; }
  .hero h1 { font-size: 1.35rem; }
}

/* --- SERVICES LIST (on services.html) --- */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
  justify-content: flex-start;
}
.services-list > div {
  background: #fff;
  border-left: 9px solid #66A8B7;
  border-radius: 16px;
  box-shadow: 0 2px 13px 0 rgba(33,81,110,0.09);
  padding: 30px 28px 24px 24px;
  display: flex;
  flex-direction: column;
  min-width: 275px;
  flex: 1 1 360px;
  margin-bottom: 10px;
  transition: box-shadow .19s, border-color .18s, transform .18s;
}
.services-list > div:hover {
  border-left-color: #21516E;
  box-shadow: 0 7px 23px 0 rgba(102,168,183,0.18);
  transform: translateY(-2px);
}
.services-list h2 {
  font-size: 1.21rem;
  color: #21516E;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}
.price {
  color: #66A8B7;
  background: #F7F6F2;
  border-radius: 15px;
  padding: 2px 12px;
  font-size: 0.95em;
  font-family: 'Montserrat', Arial, sans-serif;
}

@media (max-width: 870px) {
  .services-list > div { flex: 1 1 260px; padding: 18px 10px 15px 14px; min-width: 200px; }
}
@media (max-width: 600px) {
  .services-list { flex-direction: column; gap: 19px; }
  .services-list > div { min-width: unset; }
}

/* --- CTA / PROMINENT CALL TO ACTION --- */
.cta {
  background: #21516E;
  color: #fff;
  border-radius: 36px;
  padding: 40px 0;
  margin-bottom: 60px;
  box-shadow: 0 4px 24px 0 rgba(66,143,150,0.18);
}
.cta h2, .cta p {
  color: #fff;
}
.cta .btn-primary {
  background: #fff;
  color: #21516E;
  border: 2px solid #66A8B7;
}
.cta .btn-primary:hover, .cta .btn-primary:focus {
  background: #66A8B7;
  color: #fff;
  border: 2px solid #fff;
}

/* --- FAQ SECTION --- */
.faq {
  background: #A1D4DF;
  border-radius: 20px;
  box-shadow: 0 3px 16px 0 rgba(66,143,150,0.11);
  margin-bottom: 60px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-list h3 {
  font-size: 1.08rem;
  color: #21516E;
  margin-bottom: 7px;
}
.faq-list p {
  margin-bottom: 0;
  color: #21516E;
}

/* --- CONTACT DETAILS --- */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-details address span {
  display: flex;
  align-items: center;
  font-size: 1rem;
  gap: 7px;
  color: #21516E;
}
.contact-details img {
  width: 18px; height: 18px;
}

.cta-section {
  margin-top: 12px;
  margin-bottom: 14px;
}

/* --- FOOTER --- */
footer {
  background: #21516E;
  color: #fff;
  padding: 38px 0 15px 0;
  margin-top: 60px;
}
footer .container { padding: 0 18px; }
footer .content-wrapper { flex-direction: row; gap: 32px; }
.footer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  flex: 1 1 270px;
  min-width: 220px;
}
.footer-info img {
  height: 45px;
  margin-bottom: 15px;
}
.footer-info address {
  font-size: 1em;
  color: #fff;
  font-style: normal;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 0;
}
.footer-info img[alt^="Telefon"], .footer-info img[alt^="E-mail"] {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  margin-bottom: -2px;
}
.footer-info a { color: #fff; text-decoration: underline; }
.footer-info a:hover { color: #66A8B7; }

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 6px;
  min-width: 120px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  text-decoration: underline;
  transition: color .17s;
}
.footer-nav a:hover, .footer-nav a:focus { color: #66A8B7; }

@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 24px;
  }
}

/* --- MISC ELEMENTS: LISTS, CARDS, BLOCKS --- */
ul, .content-wrapper ul {
  margin-left: 14px;
  margin-bottom: 13px;
  list-style-type: disc;
}
ul li {
  margin-bottom: 6px;
  padding-left: 2px;
}
ol {
  margin-left: 16px;
  margin-bottom: 13px;
  list-style-type:decimal;
}

/* --- SPACING & FLEX GAPS (MANDATORY) --- */
section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { gap: 24px; }
.card { margin-bottom: 20px; }
.content-grid { gap: 20px; }
.text-image-section { gap: 30px; }
.testimonial-card { gap: 20px; padding: 20px; }
.feature-item { gap: 15px; }

/* --- MICRO-INTERACTIONS & SHADOWS --- */
.card, .services-list > div, .feature-item, .testimonial-card {
  transition: box-shadow .23s, transform .2s;
}
.card:hover, .services-list > div:hover, .testimonial-card:hover {
  box-shadow: 0 7px 27px 0 rgba(102,168,183,0.18);
  transform: translateY(-2px) scale(1.015);
}

/* --- ARTISTIC/CREATIVE ACCENTS --- */
/* Decorative paint splash effects on CTA/hero corners */
.hero:before, .cta:before {
  content: '';
  display: block;
  position: absolute;
  top: -38px; left: -38px;
  width: 105px; height: 65px;
  background: #66A8B7;
  opacity: 0.19;
  filter: blur(7px);
  border-radius: 38% 62% 72% 28% / 30% 50% 50% 70%;
  z-index: 0;
  pointer-events: none;
}
.hero:after, .cta:after {
  content: '';
  display: block;
  position: absolute;
  bottom: -42px; right: -32px;
  width: 95px; height: 52px;
  background: #f7e591;
  opacity: .17;
  filter: blur(7px);
  border-radius: 60% 40% 60% 40% / 35% 65% 55% 45%;
  z-index: 0;
  pointer-events: none;
}

/* --- COOKIE CONSENT BANNER & MODAL --- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #fffbe8;
  color: #21516E;
  z-index: 1090;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  box-shadow: 0 -2px 22px 0 rgba(102,168,183,0.085);
  border-top: 3px solid #66A8B7;
  font-size: 1.05rem;
  gap: 24px;
  animation: slideUpBanner .6s cubic-bezier(.49,.91,.64,1.04);
}
.cookie-consent-text {
  flex: 1 1 340px;
  margin-right: 14px;
}
.cookie-consent-actions {
  display: flex;
  gap: 12px;
}
.cookie-consent-banner .btn-primary,
.cookie-consent-banner .btn-secondary {
  font-size: 15px;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 18px;
}
.cookie-consent-banner .btn-primary {
  background: #66A8B7;
  color: #fff;
  border: none;
}
.cookie-consent-banner .btn-primary:hover, .cookie-consent-banner .btn-primary:focus {
  background: #21516E;
  color: #fff;
}
.cookie-consent-banner .btn-secondary {
  background: #F7F6F2;
  border: 1.5px solid #21516E;
  color: #21516E;
}
.cookie-consent-banner .btn-secondary:hover, .cookie-consent-banner .btn-secondary:focus {
  background: #66A8B7;
  color: #fff;
}
@media (max-width: 750px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 8px;
    gap: 13px;
  }
  .cookie-consent-actions { width: 100%; }
}
@keyframes slideUpBanner {
  0% { transform: translateY(100%); opacity: 0; }
  70% { opacity: .85; }
  100% { transform: translateY(0); opacity: 1; }
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(33,81,110,0.38);
  z-index: 1191;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn .45s;
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #21516E;
  padding: 32px 21px;
  width: 92vw;
  max-width: 440px;
  border-radius: 24px;
  box-shadow: 0 7px 36px 0 rgba(33,81,110,0.18);
  position: relative;
  animation: fadeIn .58s;
}
.cookie-modal-title {
  font-size: 1.25rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 18px;
  font-weight: bold;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}
.cookie-category label {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-toggle {
  appearance: none;
  width: 38px; height: 22px;
  background: #F7F6F2;
  border: 1.5px solid #21516E;
  border-radius: 22px;
  outline: none;
  cursor: pointer;
  position: relative;
  transition: background .2s, border .2s;
}
.cookie-toggle:checked {
  background: #66A8B7;
  border: 1.5px solid #66A8B7;
}
.cookie-toggle:before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 2px; left: 3px;
  transition: transform .19s cubic-bezier(.54,.04,.43,.87);
  box-shadow: 0 2px 4px 0 rgba(33,81,110,0.13);
}
.cookie-toggle:checked:before {
  transform: translateX(14px);
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 17px;
  justify-content: flex-end;
}
.cookie-modal .btn-primary, .cookie-modal .btn-secondary {
  font-size: 15px;
  padding: 8px 18px;
  border-radius: 16px;
}
.cookie-modal-close {
  position: absolute;
  top: 13px; right: 18px;
  background: transparent;
  border: none;
  font-size: 1.33rem;
  color: #21516E;
  cursor: pointer;
  padding: 3px;
}
.cookie-modal-close:hover { color: #66A8B7; }

/* --- RESPONSIVE TYPOGRAPHY & MARGINS --- */
@media (max-width: 800px) {
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.12rem; }
  h3 { font-size: 1rem; }
  .section, section { padding: 20px 2px; margin-bottom: 35px; }
  .container { padding: 0 3vw; }
  .card-container, .content-grid { flex-direction: column; }
  .testimonial-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 500px) {
  .hero h1 { font-size: 1.11rem; }
  .cta { padding: 15px 0; margin-bottom: 25px; }
}

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

/* --- UTILITY CLASSES --- */
.rounded { border-radius: 19px !important; }
.shadow { box-shadow: 0 6px 15px 0 rgba(102,168,183,0.17) !important; }
.text-center { text-align: center; }
.text-accent { color: #66A8B7 !important; }
.bg-accent { background: #66A8B7 !important; color: #fff !important; }

/* --- ACCESSIBILITY --- */
:focus-visible {
  outline: 3px solid #A1D4DF;
  outline-offset: 4px;
}

/* --- PRINT STYLES --- */
@media print {
  header, .mobile-menu, .cookie-consent-banner, footer { display: none !important; }
  body, .container, section { background: #fff !important; color: #000 !important; }
}
