/* 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: #F8FBFF;
  color: #144D81;
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
input, button, textarea, select {
  font: inherit;
}
a {
  color: #1D7874;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #144D81;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.5em;
}

/* BRAND FONTS */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #144D81;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 3px 16px rgba(29, 120, 116, 0.13);
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  line-height: 1.2;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  line-height: 1.25;
}

p, ul, ol, li, .content-wrapper, table, blockquote, cite, .text-section, .values-list {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #12324C;
}

strong {
  color: #1D7874;
  font-weight: 700;
}

/* LAYOUT CONTAINERS & FLEXBOX */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  margin: 0 auto;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 7px 36px rgba(20,77,129,0.10), 0 1.5px 2px rgba(29,120,116,0.08);
  position: relative;
}

/* CARD & FLEX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  flex: 1 1 260px;
  margin-bottom: 20px;
  padding: 24px 20px 22px 20px;
  background: #F8FBFF;
  border-radius: 20px;
  box-shadow: 0 4px 22px rgba(20,77,129,0.07);
  transition: transform 0.19s, box-shadow 0.21s;
  position: relative;
  z-index: 1;
}
.card:hover {
  transform: translateY(-5px) scale(1.015);
  box-shadow: 0 10px 35px rgba(29,120,116,0.13), 0 2px 10px rgba(29,120,116,0.065);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 24px;
}

.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: 20px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(20,77,129,0.06);
  border-left: 5px solid #1D7874;
  transition: box-shadow 0.18s, border-color 0.18s;
  max-width: 630px;
}
.testimonial-card:hover {
  background: #EAF7F6;
  border-color: #144D81;
  box-shadow: 0 6px 24px rgba(20,77,129,0.09);
}
.testimonial-card blockquote {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.22rem;
  color: #144D81;
  font-style: italic;
  margin-bottom: 8px;
  quotes: '\201C''\201D''\2018''\2019';
  line-height: 1.4;
}
.testimonial-card cite {
  font-size: 1rem;
  color: #1D7874;
  font-style: normal;
}

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

/* FEATURES GRID (CREATIVE ARTISTIC TOUCH) */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 16px;
  justify-content: center;
}
.feature, .service-card {
  flex: 1 1 225px;
  background: #F3F9FE;
  border-radius: 18px;
  box-shadow: 0 3px 13px rgba(29,120,116,0.0502);
  padding: 24px 18px 20px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, background 0.17s, border 0.17s;
  border: 2.5px dashed rgba(20,77,129,0.12);
  position: relative;
  z-index: 1;
}
.feature img {
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
}
.feature:hover, .service-card:hover {
  background: #E3F1F0;
  box-shadow: 0 6px 27px rgba(29,120,116,0.12);
  border-color: #1D7874;
}

/* SERVICE CARD (for Leistungen) */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.service-card strong {
  display: block;
  color: #144D81;
  margin-top: 8px;
}

/* VALUES-LIST (About page) */
.values-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.values-list li::before {
  content: '★';
  color: #1D7874;
  font-size: 1.05em;
  margin-right: 7px;
  vertical-align: middle;
}

/* TABLES (Preise) */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 28px;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F8FBFF;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(29,120,116,0.033);
}
.pricing-table thead th {
  background: #1D7874;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 14px 9px;
}
.pricing-table tbody tr:nth-child(even) {
  background: #EAF7F6;
}
.pricing-table tbody td {
  padding: 13px 9px;
  color: #144D81;
  font-size: 1rem;
}

/* BUTTONS, CTA */
.cta {
  display: inline-flex;
  align-items: center;
  background: #1D7874;
  color: #fff;
  border-radius: 24px;
  padding: 13px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(20,77,129,0.08);
  margin-top: 8px;
  margin-bottom: 8px;
  transition: background 0.17s, box-shadow 0.17s, color 0.17s, transform 0.17s;
  text-decoration: none;
  position: relative;
  z-index: 1;
}
.cta.primary {
  background: #144D81;
  color: #fff;
}
.cta:hover, .cta:focus {
  background: #15938F;
  color: #fff;
  box-shadow: 0 6px 26px rgba(30,120,116,0.14);
  transform: translateY(-2px) scale(1.04);
}

/* HEADER, NAVIGATION & BRAND */
header {
  width: 100%;
  background: #144D81;
  color: #fff;
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  padding: 0 0;
  gap: 18px;
  position: relative;
}
.logo img {
  height: 46px;
  width: auto;
  mix-blend-mode: luminosity;
  margin: 0 16px 0 0;
}

.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #EAF7F6;
  padding: 9px 14px;
  border-radius: 8px;
  transition: background 0.16s, color 0.14s;
  text-shadow: 0 1px 3px rgba(29,120,116,0.10);
}
.main-nav a:hover,
.main-nav a:focus {
  background: #1D7874;
  color: #fff;
}

/* MOBILE MENU STYLES */
.mobile-menu-toggle {
  display: inline-block;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #fff;
  cursor: pointer;
  margin-left: 10px;
  z-index: 101;
  transition: color 0.13s, transform 0.13s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #1D7874;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #144D81;
  color: #fff;
  z-index: 2000;
  transform: translateX(105%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transition: transform 0.31s cubic-bezier(0.80,0,0.15,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
  box-shadow: -6px 0 32px rgba(20,77,129,0.22);
}
.mobile-menu-close {
  font-size: 2.38rem;
  color: #fff;
  background: none;
  border: none;
  margin: 20px 24px 24px 0;
  align-self: flex-end;
  cursor: pointer;
  z-index: 2010;
  transition: color 0.13s;
}
.mobile-menu-close:hover {
  color: #EAF7F6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: center;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  color: #fff;
  padding: 15px 0;
  text-align: center;
  width: 100%;
  border-radius: 6px;
  transition: background 0.18s, color 0.09s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #1D7874;
  color: #fff;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 10px;
  }
}
@media (max-width: 810px) {
  .main-nav {
    gap: 4px;
  }
  .logo img {
    height: 41px;
  }
}
@media (max-width: 940px) {
  .footer-content {
    flex-direction: column;
    gap: 28px !important;
    align-items: flex-start !important;
  }
}

/* Hide main nav and CTA button on mobile, show burger */
@media (max-width: 768px) {
  .main-nav,
  .cta.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* HERO/SECTION COLORS (ARTISTIC/BRIGHT ACCENTS) */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 28px;
  background: #fff;
}
section:nth-child(odd) {
  background: #F8FBFF;
}

/* SERVICE LIST, CTAs, ETC */
.service-list {
  margin: 18px 0 22px 0;
  padding: 0 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-list li strong {
  color: #1D7874;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* FOOTER */
footer section {
  background: #144D81 !important;
  color: #fff;
  margin-bottom: 0;
  border-radius: 0;
  padding-bottom: 0;
  box-shadow: none;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
}
.footer-content {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1200px;
  padding: 30px 8px 7px 4px;
}
.footer-brand img {
  width: 90px;
  margin-bottom: 12px;
}
.footer-brand p, .footer-brand small {
  color: #EAF7F6;
  font-size: 1.02rem;
  margin-bottom: 2px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer-links a {
  color: #A9D9D1;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 2px;
}
.footer-links a:hover {
  color: #fff;
}
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .footer-brand img {
    width: 70px;
  }
}

/* TEXT-SECTION & GENERAL TYPOGRAPHY */
.text-section {
  margin-bottom: 18px;
  font-size: 1.04rem;
  line-height: 1.65;
}

/* MODERN ARTISTIC EFFECTS */
section, .card, .feature, .service-card, .testimonial-card {
  box-shadow: 0 3px 13px rgba(29,120,116,0.05);
}
.section::before, .section::after {
  content: '';
  display: block;
  position: absolute;
  z-index: 0;
  width: 63px;
  height: 63px;
  border-radius: 32px;
  opacity: 0.11;
  filter: blur(1px);
}
.section::before {
  top: 18px;
  left: -33px;
  background: #1D7874;
}
.section::after {
  top: auto;
  bottom: 18px;
  right: -38px;
  background: #144D81;
}

/* Hide artistic blobs on mobile for cleanliness */
@media (max-width: 520px) {
  .section::before, .section::after { display: none; }
}

/* VISUAL ACCENTS */
hr {
  border: none;
  height: 2px;
  background: #1D7874;
  opacity: 0.18;
  border-radius: 99px;
  margin: 26px 0;
}

/* RESPONSIVE LAYOUTS */
@media (max-width: 1024px) {
  .container {
    padding: 0 11px;
  }
}
@media (max-width: 820px) {
  .container {
    padding: 0 7px;
  }
}
@media (max-width: 768px) {
  .content-wrapper {
    max-width: 97vw;
    gap: 18px;
  }
  section {
    padding: 30px 8px;
    border-radius: 18px;
  }
  .hero {
    padding: 28px 5px;
  }
  .features-grid, .services-list, .card-container {
    flex-direction: column;
    gap: 17px;
  }
  .feature, .service-card, .card, .testimonial-card {
    min-width: 0;
    width: 100%;
    margin-bottom: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .main-nav { display: none !important; }
  h1 { font-size: 1.56rem; }
  h2 { font-size: 1.16rem; }
  h3 { font-size: 1rem; }
  .logo img { height: 32px; }
  .container { max-width: 100vw; padding: 0 4px; }
}

/* SPACING AND CONSISTENCY */
section:not(:last-child) {
  margin-bottom: 60px;
}
.card + .card, .feature + .feature, .service-card + .service-card, .testimonial-card + .testimonial-card {
  margin-left: 0;
}

/* TRANSITIONS & MICRO-INTERACTIONS */
button, a, .card, .service-card, .feature, .testimonial-card, .mobile-menu, .mobile-menu-toggle, .cta {
  transition: all 0.18s cubic-bezier(0.66,0,0.38,1);
}

/* ACCESSIBILITY FOCUS STATES */
a:focus, button:focus, .cta:focus {
  outline: 2.5px dashed #15938F;
  outline-offset: 2px;
  background: #EAF7F6;
  color: #144D81;
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #1D7874;
  color: #fff;
  padding: 22px 18px 20px 18px;
  border-top-left-radius: 19px;
  border-top-right-radius: 19px;
  box-shadow: 0 -6px 26px rgba(20,77,129,0.13);
  z-index: 2300;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 0.31s cubic-bezier(0.77,0,0.18,1), transform 0.37s cubic-bezier(0.55,0,0.38,1);
}
.cookie-consent-banner.shown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-consent-banner .cookie-message {
  flex: 1 1 300px;
  font-size: 1rem;
  color: #fff;
  margin-right: 10px;
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-consent-banner button {
  padding: 8px 17px;
  border-radius: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  margin: 0 0 0 2px;
  transition: background 0.11s, color 0.13s, box-shadow 0.11s;
  font-weight: 600;
}
.cookie-consent-banner button.accept {
  background: #144D81;
  color: #fff;
  box-shadow: 0 2px 7px rgba(29,120,116,0.09);
}
.cookie-consent-banner button.reject {
  background: #EEF3FA;
  color: #144D81;
  border: 1px solid #bae6e3;
}
.cookie-consent-banner button.settings {
  background: #fff;
  color: #1D7874;
  box-shadow: 0 1px 7px rgba(20,77,129,0.06);
}
.cookie-consent-banner button:hover {
  filter: brightness(1.09) saturate(1.13);
  box-shadow: 0 3px 18px rgba(20,77,129,0.13);
}

@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 17px;
  }
  .cookie-consent-banner .cookie-buttons {
    flex-direction: column;
    gap: 8px;
  }
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(29,120,116,0.26);
  z-index: 2400;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s cubic-bezier(0.7,0,0.21,1);
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: #144D81;
  border-radius: 22px;
  box-shadow: 0 10px 36px rgba(29,120,116,0.19);
  max-width: 480px;
  width: 92vw;
  padding: 34px 23px 24px 23px;
  z-index: 2450;
  display: flex;
  flex-direction: column;
  gap: 23px;
  position: relative;
}
.cookie-modal h2 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1rem;
  padding: 7px 0;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #1D7874;
  width: 20px;
  height: 20px;
}
.cookie-modal .modal-buttons {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 5px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #1D7874;
  cursor: pointer;
  z-index: 2480;
}
.cookie-modal .close-modal:hover {
  color: #144D81;
}

/* Essential cookies always enabled */
.cookie-modal .essential input[type="checkbox"] {
  pointer-events: none;
  filter: grayscale(1);
}

/* ANIMATIONS */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(26px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes slideInRight {
  0% { opacity: 0; transform: translateX(40px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes bounceHover {
  0%{ transform: scale(1); }
  55%{ transform: scale(1.06); }
  100%{ transform: scale(1.02); }
}
.card:hover, .feature:hover, .service-card:hover {
  animation: bounceHover 0.28s;
}

/* --- END: Comprehensive CSS for Nova Glanz --- */
