/* CSS RESET/BASE - Normalize and Reset */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; border: 0; font: inherit; vertical-align: baseline; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, table, th, td, tr, a, nav, section, main, footer, header, button, input, textarea, select { background: none; color: inherit; font-family: inherit; font-weight: inherit; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { background: none; border: none; cursor: pointer; }
:root {
  --color-primary: #185885;
  --color-secondary: #f2f7fb;
  --color-accent: #1c7c4d;
  --color-accent-bright: #33A16E;
  --color-white: #fff;
  --color-black: #222;
  --color-grey: #e3eaf1;
  --color-grey-mid: #5c7694;
  --border-radius: 18px;
  --shadow-card: 0 4px 24px rgba(24, 88, 133, 0.09);
  --shadow-btn: 0 2px 10px rgba(51, 161, 110, 0.12);
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  background: var(--color-secondary);
  color: var(--color-black);
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  margin-bottom: 16px;
  font-weight: 700;
  color: var(--color-primary);
  text-shadow: 0 2px 5px rgba(24,88,133,0.03);
}
h1 { font-size: 2.7rem; letter-spacing: -0.5px; line-height: 1.13; }
h2 { font-size: 2rem;    line-height: 1.22; }
h3 { font-size: 1.45rem; line-height: 1.3; }
h4, h5, h6 { font-size: 1.1rem; }
p, ul, ol { font-size: 1rem; color: var(--color-grey-mid); margin-bottom: 18px; }
a { color: var(--color-accent); transition: color 0.2s; }
a:hover, a:focus { color: var(--color-accent-bright); text-decoration: underline; }
strong { color: var(--color-primary); font-weight: 700; }

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 18px;
  max-width: 1200px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

/* Header & NAV */
header {
  width: 100%;
  background: var(--color-white);
  box-shadow: 0 8px 18px 0 rgba(24,88,133,0.07);
  position: sticky;
  top: 0;
  z-index: 1000;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  padding: 20px 18px;
}
header a img {
  height: 44px;
  width: auto;
  margin-right: 12px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-primary);
  font-size: 1.05rem;
  opacity: 0.89;
  padding: 7px 14px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-accent-bright);
  color: var(--color-white);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 36px;
  background: var(--color-accent-bright);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-btn);
  padding: 12px 32px;
  font-size: 1.12rem;
  transition: background .2s, box-shadow .25s, transform .13s;
  margin-left: 18px;
  border: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-accent);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 20px rgba(28, 124, 77, 0.18);
}

.mobile-menu-toggle {
  display: none;
  background: var(--color-accent);
  color: var(--color-white);
  width: 44px; height: 44px;
  border-radius: 10px;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  margin-left: 15px;
  box-shadow: 0 2px 12px rgba(36,128,94,0.09);
  transition: background .21s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--color-primary);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: var(--color-primary);
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  transform: translateX(-100%);
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: transform .4s cubic-bezier(.38,1.15,.38,1), opacity .45s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.2rem;
  color: var(--color-white);
  background: transparent;
  padding: 16px 26px 8px 4px;
  margin: 10px 10px 0 0;
  border-radius: 6px;
  transition: background .15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(255,255,255,0.13);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
  padding-left: 36px;
}
.mobile-nav a {
  font-size: 1.24rem;
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 700;
  transition: color .13s, text-decoration .12s;
  padding: 10px 2px;
  border-radius: 5px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-accent-bright);
  text-decoration: underline;
}

@media (max-width: 1080px) {
  header .container { flex-wrap: wrap; }
  .main-nav { flex-wrap: wrap; gap: 12px; }
}
@media (max-width: 820px) {
  .main-nav { gap: 6px; }
  .cta-btn { padding: 12px 18px; margin-left: 8px; font-size: 1rem; }
}
@media (max-width: 900px) {
  .main-nav { display:none; }
  .mobile-menu-toggle { display: flex; }
}
@media (max-width: 900px) {
  header .container { flex-direction: row; gap: 12px; padding: 12px 8px; }
  .cta-btn { margin-left: 4px; }
}

/* Hero Section */
.hero {
  background: linear-gradient(110deg, var(--color-secondary) 65%, #e9f7f1 100%);
  padding: 48px 0 36px 0;
}
.hero .container { display: flex; flex-direction: column; align-items: flex-start; }
.hero .content-wrapper {
  align-items: flex-start;
  gap: 15px;
  max-width: 730px;
  margin-left: 0;
}
.hero h1 {
  font-size: 2.7rem;
  letter-spacing: -1px;
  line-height: 1.14;
  color: var(--color-accent);
}
.hero p {
  font-size: 1.13rem;
  margin-bottom: 8px;
}
.hero .cta-btn {
  margin-top: 3px;
  font-size: 1.08rem;
}

/* Feature Grid (custom for index) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 18px;
}
.feature-icon {
  background: var(--color-accent-bright);
  border-radius: 18px 6px 24px 18px;
  margin: 0 12px 0 0;
  padding: 14px 16px 10px 16px;
  box-shadow: 0 4px 16px rgba(51,161,110, 0.13);
  display: flex; align-items: center; justify-content: center;
  min-width: 54px;
  min-height: 54px;
}
.text-section {
  display: flex; flex-direction: column; gap: 8px; align-items: flex-start; margin-bottom: 16px;
  max-width: 350px;
}
.feature-grid .text-section h3 {
  font-size: 1.22rem;
  margin-bottom: 6px;
  color: var(--color-accent);
  font-family: var(--font-display);
}

/* Services and Cards */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 15px;
}
.service-card {
  flex: 1 1 260px;
  background: var(--color-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: 30px 24px 26px 24px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow .18s, transform .15s;
  min-width: 245px;
}
.service-card h2 {
  color: var(--color-primary);
  font-size: 1.18rem;
  margin-bottom: 7px;
}
.service-card p { font-size: 1.01rem; margin-bottom: 10px; }
.service-card .cta-btn {
  margin-top: auto;
  font-size: 1rem;
}
.service-card:hover, .service-card:focus-within {
  box-shadow: 0 12px 22px rgba(24,88,133,0.10);
  transform: translateY(-2px) scale(1.02);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  padding: 22px 20px;
  position: relative;
  min-width: 215px; max-width: 400px;
  flex: 1 1 220px;
  display: flex; flex-direction: column;
}

/* Tables (Preise) */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 14px;
  background: var(--color-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 3px 20px 0 rgba(24,88,133, 0.07);
}
table th, table td {
  padding: 18px 14px;
  text-align: left;
  font-size: 1rem;
  border-bottom: 1px solid #d2dde7;
}
table th {
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
}
table tr:last-child td {
  border-bottom: none;
}

/* FAQ block */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-list h3 {
  color: var(--color-accent);
  font-size: 1.19rem;
  margin-top: 7px;
  margin-bottom: 3px;
  font-family: var(--font-display);
}
.faq-list p {
  margin-bottom: 7px;
}

/* Contact Info block */
.contact-info {
  background: #ead4ff1a;
  border-radius: 14px;
  padding: 17px 19px;
  margin-bottom: 12px;
  font-size: 1rem;
  display: flex; flex-direction: column; gap: 5px;
  box-shadow: 0 2px 8px rgba(28,124,77,0.05);
}
.contact-info a {
  color: var(--color-accent);
  font-weight: 500;
}

/* Testimonials */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  background: var(--color-white);
  padding: 20px 28px;
  margin-bottom: 25px;
  border-radius: 18px 12px 22px 18px;
  box-shadow: 0 6px 26px rgba(24,88,133,0.12);
  border-left: 7px solid var(--color-primary);
  font-size: 1.08rem;
  position: relative;
  transition: box-shadow .17s;
  min-width: 220px;
  max-width: 650px;
}
.testimonial-card p {
  color: var(--color-black);
  font-size: 1.09rem;
  font-style: italic;
}
.testimonial-card span {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1rem;
  margin-top: -9px;
}
.testimonial-card span:last-child {
  color: #eda112;
  font-size: 1.15rem;
  letter-spacing: 1.8px;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 10px 38px rgba(24,88,133,0.18);
}

/* Legal Info Footer */
.legal-info span {
  font-size: 0.98rem;
  color: var(--color-grey-mid);
  opacity: 0.85;
}

/* Footer Section */
footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 38px 0 0 0;
}
footer .container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 50px;
  justify-content: space-between;
  width: 100%;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
footer nav a {
  color: var(--color-accent-bright);
  font-family: var(--font-display);
  font-size: 1.1rem;
  padding: 6px 0;
  border-radius: 7px;
  transition: background .14s, color .15s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-white);
  background: rgba(51,161,110,.13);
}
footer a img {
  height: 32px;
  margin-right: 8px;
}
footer .legal-info {
  margin-top: 14px;
  margin-left: 7px;
}

/* Cookie Banner */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 19px 8px 16px 8px;
  z-index: 9999;
  box-shadow: 0 -2px 16px rgba(24,88,133,0.19);
  transition: transform .45s cubic-bezier(.65,1.56,.53,1), opacity .4s;
  opacity: 1;
  transform: translateY(0);
}
#cookie-banner.hide {
  opacity: 0; pointer-events: none;
  transform: translateY(100%);
}
#cookie-banner .cookie-banner-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  max-width: 850px;
}
#cookie-banner p {
  color: var(--color-white);
  margin-bottom: 0;
  font-size: 1rem;
}
#cookie-banner .cookie-btn {
  margin-left: 11px;
  padding: 10px 22px;
  border-radius: 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  background: var(--color-accent);
  color: var(--color-white);
  margin-right: 3px;
  box-shadow: 0 2px 8px rgba(51,161,110,0.09);
  transition: background .19s;
}
#cookie-banner .cookie-btn.settings {
  background: var(--color-white);
  color: var(--color-accent-bright);
}
#cookie-banner .cookie-btn:hover, #cookie-banner .cookie-btn:focus {
  background: var(--color-accent-bright);
  color: var(--color-white);
}

/* Cookie Modal */
#cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 20000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(28, 56, 84, 0.47);
  align-items: center;
  justify-content: center;
}
#cookie-modal-overlay.open {
  display: flex;
}
#cookie-modal {
  background: var(--color-white);
  color: var(--color-black);
  border-radius: 24px;
  box-shadow: 0 16px 60px rgba(24,88,133,0.25);
  max-width: 400px;
  width: 96vw;
  padding: 36px 30px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  animation: popdown .28s ease-in;
}
@keyframes popdown {
  from { transform: translateY(-30px) scale(.98); opacity: 0;} 
  to { transform: none; opacity: 1;}
}
#cookie-modal h2 {
  color: var(--color-accent);
  font-size: 1.3rem;
  margin-bottom: 5px;
}
.cookie-category {
  display: flex; flex-direction: row; align-items: center; gap: 14px;
  margin-bottom: 10px;
}
.cookie-category label { font-weight: 500; }
.cookie-category input[type=checkbox]:disabled { opacity: 0.4; }
#cookie-modal-actions {
  display: flex; flex-direction: row; gap: 14px; margin-top: 10px;
}
#cookie-modal .cookie-btn {
  padding: 9px 19px;
  border-radius: 19px;
  background: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  border: none;
  transition: background .13s;
}
#cookie-modal .cookie-btn.settings { background: var(--color-secondary); color: var(--color-accent-bright); }
#cookie-modal .cookie-btn:hover, #cookie-modal .cookie-btn:focus { background: var(--color-accent-bright); color: var(--color-white); }

/* Layout: mandatory patterns */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* Artistic/Creative style unique elements */
:root {
  --art-bg1: #FFEDB4;
  --art-bg2: #B6E1FF;
  --art-bg3: #eca1ff;
}
@media (min-width: 1025px) {
  .hero {
    background: linear-gradient(108deg, var(--color-secondary) 68%, #b8ffe7 100%);
  }
  .feature-grid::after {
    content: '';
    width: 120px; height: 120px;
    background: var(--art-bg2);
    opacity: 0.20;
    border-radius: 50%;
    position: absolute;
    right: 5vw; top: 90px;
    z-index: 0;
    pointer-events: none;
  }
}
.hero .content-wrapper::before {
  content: '';
  display: block;
  width: 50px; height: 9px;
  background: linear-gradient(90deg, var(--art-bg1) 70%, var(--art-bg3) 100%);
  border-radius: 8px 18px 18px 8px;
  margin-bottom: 18px;
}
.text-section, .content-wrapper > ul {
  background: var(--art-bg1);
  border-radius: 14px;
  padding: 10px 20px 10px 10px;
  margin-bottom: 10px;
  position: relative;
  box-shadow: 0 3px 7px rgba(255,237,180,0.10);
}
.content-wrapper > ul li {
  margin-bottom: 14px;
  color: var(--color-black);
  font-size: 1.05rem;
  line-height: 1.65;
  position: relative;
  padding-left: 24px;
}
.content-wrapper > ul li::before {
  content: '⦿';
  color: var(--color-accent-bright);
  font-size: 1.08em;
  position: absolute;
  left: 0;
  top: 2px;
}

/* Artistic section highlight blocks */
.hero, .feature-grid, .service-list, .faq-list, .testimonial-card, .text-section, .content-wrapper > ul {
  position: relative;
  z-index: 1;
}
/* Artistic blobs & floating shapes - only decorative, not content, absolute allowed */
.hero::after {
  content: '';
  background: radial-gradient(circle at 78% 61%, var(--art-bg2) 0%, rgba(255,255,255,0) 70%);
  width: 240px; height: 180px;
  position: absolute;
  top: 0; right: 0;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}
.section::before {
  content: '';
  display: block;
  width: 110px; height: 33px;
  background: linear-gradient(90deg, var(--art-bg3) 0%, var(--art-bg2) 100%);
  border-radius: 28px 14px 44px 14px;
  opacity: 0.15;
  margin-bottom: 18px;
}

/* Responsive - Mobile First */
@media (max-width: 1280px) {
  .container { max-width: 1000px; }
}
@media (max-width: 1024px) {
  .container { max-width: 92vw; }
  .feature-grid, .service-list, .card-container, .content-grid { gap: 10px; }
}
@media (max-width: 850px) {
  .footer .content-wrapper { flex-direction: column; gap: 30px; align-items: flex-start; }
  .footer nav { gap: 8px; }
  footer { padding: 28px 0 0 0; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .container { max-width: 97vw; padding: 0 8px; }
  .hero { padding: 32px 0 18px 0; }
  .hero .content-wrapper { max-width: 98vw; }
  .feature-grid, .service-list, .card-container, .content-grid { flex-direction: column; gap: 14px; }
  .feature-icon { margin-bottom: 10px; }
  .testimonial-card { padding: 16px 11px; }
  .section { padding: 33px 8px; margin-bottom: 38px; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer .content-wrapper { flex-direction: column; gap: 18px; align-items: flex-start; }
}
@media (max-width: 600px) {
  .container { max-width: 100vw; padding: 0 1vw; }
  h1 { font-size: 1.22rem; }
  h2 { font-size: 1.08rem; }
  .section { padding: 16px 2px; }
  .testimonial-card { min-width: 0; }
  .service-card { min-width: 0; }
}

/* Buttons/inlines and effects */
button, .cta-btn, .cookie-btn {
  transition: background .15s, color .15s, box-shadow .18s, transform .11s;
}
button:active, .cta-btn:active, .cookie-btn:active {
  transform: scale(0.98);
}

/* Micro-interactions */
input[type='checkbox']:focus-visible, button:focus-visible, .cta-btn:focus-visible {
  outline: 2.5px solid var(--color-accent-bright);
  outline-offset: 2px;
}

/* Animate card, testimonial and service cards hover */
.card:hover, .service-card:hover, .testimonial-card:hover {
  box-shadow: 0 16px 34px rgba(28,124,77,0.13);
  cursor: pointer;
}

/* Modern artistic heading highlight */
h1, h2, h3 { position: relative; }
h2::before {
  content: '';
  display: inline-block;
  width: 33px; height: 7px;
  background: linear-gradient(90deg, var(--art-bg1) 60%, var(--art-bg3));
  border-radius: 9px;
  margin-bottom: 13px;
  margin-right: 11px;
  vertical-align: middle;
}

/* Utility classes for spacing/layout (used as needed) */
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }
.p-2 { padding: 16px; }
.p-3 { padding: 24px; }

/* Hide elements utility */
.hide { display: none !important; }

/* Custom artistic font feature for headline artistic feel */
h1,h2 { letter-spacing: -0.5px; }

/* Accessibility & focus for links */
a:focus-visible { outline: 2px solid var(--color-accent-bright); outline-offset: 3px; }

/* Animation for slide in/out (used for mobile menu, cookie banner, modal) */
.slide-in-left { animation: slideInLeft 0.35s cubic-bezier(.26,1.2,.33,.99); }
@keyframes slideInLeft { from { transform: translateX(-100%); opacity: 0;} to { transform: none; opacity: 1;}}
.slide-out-left { animation: slideOutLeft 0.32s cubic-bezier(.38,1.25,.38,1) forwards; }
@keyframes slideOutLeft { from { transform: none; opacity: 1;} to { transform: translateX(-100%); opacity: 0;}}

/* Simple fade in/out */
.fade-in { animation: fadeIn 0.28s ease-in; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.fade-out { animation: fadeOut 0.22s ease-in forwards; }
@keyframes fadeOut { to { opacity: 0; pointer-events: none; } }
