/*==================================================
  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,
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 and core border for all */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  line-height: 1.6;
  background: #F3F5F9;
  color: #232a33;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  font-size: 16px;
  letter-spacing: 0.02em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
a {
  color: #17A398;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}
a:hover, a:focus {
  color: #20446B;
}

ul, ol {
  margin-left: 1.6em;
  margin-bottom: 1em;
}

li {
  margin-bottom: 0.7em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 800;
  color: #20446B;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; line-height: 1.1; }
h2 { font-size: 2rem; line-height: 1.15; }
h3 { font-size: 1.35rem; line-height: 1.25; }
h4 { font-size: 1.125rem; }
.section h2, .content-wrapper h2 {
  position: relative;
  display: inline-block;
  padding-left: 12px;
  margin-bottom: 30px;
}
.section h2:before, .content-wrapper h2:before {
  content: '';
  display: block;
  position: absolute;
  left: 0; top: 12px; width: 4px; height: 60%;
  background: #17A398;
  border-radius: 2px;
}
p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #232a33;
}
strong {
  font-weight: 700;
  color: #20446B;
}

/*==================================================
  Brand Elements & Color Palette
==================================================*/
:root {
  --primary: #20446B;
  --secondary: #17A398;
  --accent: #FFFFFF;
  --background: #F3F5F9;
  --muted: #e7edf5;
  --danger: #C24C4C;
  --shadow: rgba(32, 68, 107, 0.10);
  --radius: 22px;
}

/* Artistic: Vibrant accents and creative patterns */
body {
  background-color: var(--background);
  background-image: linear-gradient(135deg, rgba(23,163,152,0.018) 15%, rgba(32,68,107,0.03) 65%, rgba(255,255,255,0.25) 100%);
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 6px 28px var(--shadow);
  position: relative;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 4px 18px var(--shadow);
  padding: 28px 22px;
  transition: box-shadow 0.18s, transform 0.18s;
  margin-bottom: 20px;
  min-width: 265px;
  flex: 1 1 265px;
  position: relative;
  border-left: 4px solid var(--secondary);
}
.card:hover {
  box-shadow: 0 8px 32px var(--shadow);
  transform: translateY(-6px) scale(1.03);
}

.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;
}

.text-section {
  margin-bottom: 20px;
}

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

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  background: #f8fafb;
  box-shadow: 0 2px 12px var(--shadow);
  border-left: 4px solid var(--primary);
  max-width: 570px;
  color: #15405A;
}
.testimonial-card p {
  font-size: 1.15rem;
  color: #20446B;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 13px;
  font-style: italic;
}
.testimonial-card .stars {
  font-size: 1.3rem;
  margin-bottom: 2px;
  letter-spacing: 2px;
  color: #FFD600;
  align-self: flex-start;
}
.testimonial-card span {
  font-style: normal;
  font-size: 1rem;
  color: #17A398;
  align-self: flex-end;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Tables (for Preis page) */
table {
  width: 100%;
  background: #F4F9FB;
  border-radius: var(--radius);
  border-collapse: collapse;
  margin-bottom: 32px;
  font-size: 1.05rem;
}
th, td {
  padding: 16px 12px;
  border-bottom: 1.5px dashed #e7edf5;
  text-align: left;
}
th {
  background: #20446B;
  color: #fff;
  letter-spacing: 0.03em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
}
tr:last-child td {
  border-bottom: none;
}

/*==================================================
  Navigation/Header
==================================================*/
header {
  width: 100%;
  background: linear-gradient(90deg, #eef6fa 30%, #f8fafb 70%, #fff 100%);
  box-shadow: 0 2px 8px var(--shadow);
  z-index: 20;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 22px;
}
header nav {
  display: flex;
  gap: 19px;
  font-family: 'Montserrat', Arial, sans-serif;
}
header nav a {
  color: #20446B;
  font-size: 1.03rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 9px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a.active {
  background: #17A398;
  color: #fff;
}
.cta-button {
  background: linear-gradient(90deg, #17A398 60%, #20446B 100%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  padding: 13px 32px;
  margin-left: 12px;
  border: none;
  border-radius: 999px;
  box-shadow: 0 4px 14px var(--shadow);
  letter-spacing: 0.03em;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.18s, color 0.19s;
}
.cta-button:hover, .cta-button:focus {
  background: #20446B;
  color: #ffd600;
  box-shadow: 0 7px 24px var(--shadow);
  outline: none;
}

/*==================================================
  Footer
==================================================*/
footer {
  margin-top: 60px;
  background: linear-gradient(90deg, #20446B 15%, #17A398 99%);
  color: #fff;
}
footer .container {
  padding: 40px 22px 24px 22px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: row
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
footer nav a {
  color: #ffeee0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  transition: color 0.16s;
  margin-bottom: 1px;
}
footer nav a:hover { color: #ffd600; }
.footer-contact h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: #FFD600;
}
.footer-contact p {
  color: #f6ecd1;
  font-size: 0.98rem;
  margin-bottom: 4px;
  line-height: 1.55;
}
.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
}
.footer-social a {
  background: #fff;
  border-radius: 50%;
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px var(--shadow);
  margin-right: 2px;
  transition: background 0.17s, box-shadow 0.18s;
}
.footer-social a:hover {
  background: #FFD600;
  box-shadow: 0 5px 16px var(--shadow);
}
.newsletter-signup {
  margin-top: 2px;
  color: #ffd600;
  font-size: 1.08rem;
  font-weight: 700;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.newsletter-signup a {
  color: #fff;
  text-decoration: underline;
  transition: color 0.17s;
}
.newsletter-signup a:hover {
  color: #FFD600;
}

.newsletter-signup p{
	 color: #fff;
}

/*==================================================
  Artistic Decorative
==================================================*/
.section:after {
  content: '';
  display: block;
  position: absolute;
  right: -30px; top: -36px;
  width: 78px; height: 78px;
  background: radial-gradient(ellipse at center, #17A398 24%, transparent 70%);
  opacity: 0.08;
  z-index: 0;
}
section .content-wrapper {
  position: relative;
  z-index: 1;
}

/* Decorative underline for artistic effect */
h1, h2 {
  position: relative;
  z-index: 1;
}
h1:after, h2:after {
  content: '';
  display: block;
  width: 58px;
  height: 4px;
  background: #17A398;
  border-radius: 2px;
  margin-top: 8px;
  margin-left: 2px;
}

/* Decorative wavy border for focus area */
.cta-button {
  outline: 0;
  /* Will add a wavy shadow on hover for artistic effect */
  box-shadow: 0 0px 0px rgba(33,68,107,0.15);
}
.cta-button:focus {
  box-shadow: 0 0 0 4px #17A39844;
}


/*==================================================
  Responsive typography
==================================================*/
@media (max-width: 1280px) {
  .container { max-width: 98vw; }
}
@media (max-width: 1000px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .footer .content-wrapper { gap: 16px; }
}
@media (max-width: 768px) {
  .container { padding: 0 8px; }
  .section { padding: 26px 8px; }
  .content-wrapper {
    gap: 16px;
    padding: 0;
  }
  .footer .container { padding: 28px 8px 18px 8px; }
  .footer .content-wrapper {
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.11rem; }
  p { font-size: 0.98rem; }
}

/*==================================================
  Mobile Navigation (Burger Menu)
==================================================*/
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: #fff;
  border: none;
  font-size: 2.3rem;
  border-radius: 14px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-left: auto;
  margin-right: 0;
  z-index: 103;
  box-shadow: 0 2px 11px var(--shadow);
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.17s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #20446B;
  outline: none;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(145deg, #20446B 93%, #17A398 100%);
  transition: transform 0.25s cubic-bezier(.86,0,.07,1);
  transform: translateX(-100vw);
  z-index: 1100;
  padding: 26px 32px 30px 24px;
  box-shadow: 0 14px 42px var(--shadow);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.1rem;
  align-self: flex-end;
  margin-bottom: 26px;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  margin-top: 10px;
}
.mobile-nav a {
  color: #fff;
  padding: 12px 0;
  font-size: 1.38rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 6px;
  transition: background 0.13s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: #FFD600;
  color: #20446B;
}

@media (max-width: 991px) {
  header .container nav {
    display: none;
  }
  .cta-button {
    padding: 11px 20px;
    margin-left: 0px;
    font-size: 1rem;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 768px) {
  header .container{
    flex-direction: row;
    gap: 10px;
    padding: 10px 2px;
  }
}

/*==================================================
  Layout: Flex Only
==================================================*/
/* Flex-based patterns already applied above to all required classes */

/* Responsive: text-image-section vertical on mobile */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    max-width: 100%;
  }
}

/* Ensuring content doesn't overlap or touch on mobile */
@media (max-width: 521px) {
  .section { padding: 14px 3px; }
  .container { padding: 0 2px; }
}

/*==================================================
  Buttons, Inputs, Micro-interactions
==================================================*/
button, .cta-button, input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
}
button:focus, .cta-button:focus, input[type="submit"]:focus {
  outline: 2px solid #FFD600;
  outline-offset: 2px;
}
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 9px;
  padding: 11px 13px;
  border: 1.6px solid #e7edf5;
  background: #f9fcfe;
  font-size: 1rem;
  margin-bottom: 16px;
  transition: border-color 0.16s;
  width: 100%;
  max-width: 500px;
}
input:focus, textarea:focus, select:focus {
  border-color: #17A398;
  outline: none;
}

/* Hover effects for artistically styled links */
a {
  position: relative;
  transition: color 0.17s;
}
a:after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%;
  height: 2px;
  background: #17A398;
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.16s;
}
a:hover:after { opacity: 1; }

/* List bullets with creative color dots */
ul {
  list-style: none;
  padding-left: 0;
}
ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 0.85em;
}
ul li:before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 12px; height: 12px;
  background: #17A398;
  border-radius: 50%;
  opacity: 0.32;
}
/* Interior lists (like advantages, services) more prominent dot */
.section ul li:before {
  background: linear-gradient(135deg, #FFD600 35%, #17A398 100%);
  width: 14px; height: 14px;
  opacity: 0.77;
  left: 0; top: 3px;
}

ol {
  list-style: decimal inside;
  margin-left: 0.5em;
  font-size: 1.06rem;
  padding-left: 0.3em;
}

/*==================================================
  Cookie Consent Banner
==================================================*/
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 9990;
  background: linear-gradient(90deg, #20446B 86%, #17A398 100%);
  color: #fff;
  box-shadow: 0 -4px 22px var(--shadow);
  padding: 21px 18px 16px 28px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  font-size: 1.08rem;
  Animation: slideUpCookie 0.46s cubic-bezier(.52,.01,.16,1.12);
}
@keyframes slideUpCookie {
  from { transform: translateY(160px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  margin-bottom: 0;
  color: #fff;
  flex: 1 1 180px;
}
.cookie-consent-banner .cookie-btn {
  background: #FFD600;
  color: #20446B;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.97rem;
  font-weight: 800;
  border: none;
  border-radius: 12px;
  padding: 9px 22px;
  margin-right: 12px;
  margin-bottom: 2px;
  cursor: pointer;
  box-shadow: 0 2px 9px var(--shadow);
  transition: background 0.16s, color 0.15s;
}
.cookie-consent-banner .cookie-btn:active,
.cookie-consent-banner .cookie-btn:focus {
  background: #17A398;
  color: #FFF;
  outline: none;
}
.cookie-consent-banner .cookie-btn.reject {
  background: #fbf3e8;
  color: #C24C4C;
  border: 1.5px solid #C24C4C;
}
.cookie-consent-banner .cookie-btn.settings {
  background: #17A398;
  color: #fff;
}
@media (max-width: 730px) {
  .cookie-consent-banner {
    padding: 11px 4px 12px 7px;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    font-size: 0.99rem;
  }
}

/* Cookie Modal Overlay */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 10001;
  left: 0; right: 0;
  top: 0; bottom: 0;
  background: rgba(32,68,107, 0.84);
  justify-content: center;
  align-items: center;
  animation: fadeInModal 0.45s cubic-bezier(.34,0,.46,1.23);
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: var(--accent);
  color: #20446B;
  border-radius: 27px;
  box-shadow: 0 7px 46px var(--shadow);
  padding: 36px 29px 28px 32px;
  min-width: 320px; max-width: 97vw;
  min-height: 180px;
  font-family: 'Roboto', Arial, sans-serif;
  animation: modalIn 0.38s cubic-bezier(.71,-0.02,.36,1.23);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
@keyframes modalIn {
  from { transform: translateY(110px) scale(0.92); opacity: 0.3; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.33rem;
  margin-bottom: 4px;
  color: #17A398;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal-category {
  margin-bottom: 18px;
}
.cookie-modal-category label {
  font-size: 1.07rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  color: #20446B;
  margin-right: 8px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #17A398;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  vertical-align: middle;
  border-radius: 4px;
}
.cookie-modal .cookie-btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 24px;
}
.cookie-modal .cookie-btn {
  background: #17A398;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 9px 20px;
  cursor: pointer;
  box-shadow: 0 2px 9px var(--shadow);
  transition: background 0.16s, color 0.14s;
}
.cookie-modal .cookie-btn.reject {
  background: #fbf3e8;
  color: #C24C4C;
  border: 1.5px solid #C24C4C;
}
.cookie-modal .cookie-btn:focus{
  outline: 2px solid #FFD600;
  outline-offset: 1px;
}
.cookie-modal .close {
  position: absolute;
  top: 19px; right: 21px;
  background: none;
  border: none;
  font-size: 1.67rem;
  color: #17A398;
  cursor: pointer;
  font-family: inherit;
}

@media (max-width: 480px) {
  .cookie-modal {
    min-width: 210px;
    padding: 21px 7px 17px 11px;
  }
}

/*==================================================
  Misc
==================================================*/
.location-map {
  display: flex;
  gap: 11px;
  align-items: center;
}
.location-map img {
  width: 36px;
  height: 36px;
  margin-right: 3px;
}

/* Accessibility - Reduce motion on request */
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    transition: none !important;
    animation: none !important;
  }
}

/* Animations */
.card, .section, .testimonial-card {
  transition: box-shadow 0.2s, transform 0.17s;
}
.card:hover {
  box-shadow: 0 16px 40px var(--shadow);
  transform: translateY(-9px) scale(1.037);
}

/* Ensure no content overlapping and consistent spacing */
.section + .section, .section + section, .content-wrapper + .content-wrapper {
  margin-top: 32px;
}
.card + .card { margin-left: 0; }

/* Remove unwanted scrollbars */
body {
  overflow-x: hidden;
}

/* END OF CSS */
