/* CSS RESET & NORMALIZATION */
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;
}
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  background: #F1F3F4;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #181a25;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
  object-fit: contain;
}
a {
  color: #1976D2;
  text-decoration: none;
  transition: color 0.17s;
  cursor: pointer;
}
a:hover, a:focus {
  color: #FF2D55;
}

/* === BRAND COLORS & FONTS === */
:root {
  --primary: #1A237E;
  --primary-dark: #0d1546;
  --secondary: #F1F3F4;
  --accent: #1976D2;
  --accent-lighter: #49a3ff;
  --vibrant-a: #FF2D55;
  --vibrant-b: #FFD600;
  --vibrant-c: #00E676;
  --text-dark: #181a25;
  --text-light: #fff;
  --bg-light: #FFFFFF;
  --shadow: 0 2px 12px 0 rgba(18,42,66,0.08);
  --shadow-strong: 0 4px 24px 0 rgba(26,35,126,0.16);
  --radius: 18px;
  --radius-lg: 28px;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Helvetica, Arial, sans-serif;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(255,45,85,0.06);
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  font-weight: 700;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, ul, ol, blockquote {
  margin-bottom: 12px;
  color: var(--text-dark);
}
strong, b {
  font-weight: 700;
}

/* --- BUTTON & CTA --- */
.cta,
button,
input[type="submit"],
.mobile-menu-toggle,
.mobile-menu-close {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  border: none;
  outline: none;
  border-radius: var(--radius);
  padding: 14px 30px;
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background 0.17s, color 0.17s, box-shadow 0.17s, transform 0.13s;
}
.cta.primary,
button.primary,
input[type="submit"].primary {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: var(--text-light);
  letter-spacing: 0.045em;
  text-transform: uppercase;
  border: none;
  box-shadow: var(--shadow-strong);
}
.cta.primary:hover,
.cta.primary:focus,
button.primary:hover,
input[type="submit"].primary:hover {
  background: linear-gradient(90deg, var(--vibrant-a) 0, var(--accent-lighter) 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.055);
  box-shadow: 0 4px 32px 0 rgba(255,45,85,0.14);
}
.cta.secondary {
  background: var(--vibrant-b);
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cta.secondary:hover,
.cta.secondary:focus {
  background: var(--vibrant-c);
  color: var(--primary-dark);
  border-color: var(--vibrant-a);
}

/* TEXT & LINKS INSIDE BUTTONS */
.cta a,
.cta.primary a {
  color: inherit;
  text-decoration: none;
}
.cta:active {
  transform: scale(0.96);
}
button[disabled], .cta[disabled] {
  opacity: 0.48;
  cursor: not-allowed;
}

/* GENERAL CONTAINER LAYOUTS */
.container {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
  padding-left: 16px;
  padding-right: 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.text-section {
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}

/* === FLEXBOX SPACING PATTERNS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 26px;
  min-width: 260px;
  flex: 1 1 300px;
}
.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;
  margin-bottom: 20px;
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: #222;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  margin-bottom: 20px;
}

/* FEATURE GRID (INDEX) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
  justify-content: center;
}
.feature-grid > div {
  background: var(--bg-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  padding: 26px 20px 24px 20px;
  min-width: 250px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 0 20px 0;
  transition: box-shadow 0.18s, transform 0.18s;
}
.feature-grid > div:hover {
  box-shadow: 0 6px 32px 0 rgba(255,45,85,0.10);
  transform: translateY(-4px) scale(1.03);
}
.feature-grid img {
  width: 46px;
  height: 46px;
  margin-bottom: 8px;
}

/* SERVICE CARDS (DIENSTLEISTUNGEN) */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.service-cards > div {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 22px;
  min-width: 260px;
  max-width: 340px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.17s, transform 0.16s;
}
.service-cards > div:hover {
  box-shadow: 0 6px 32px 0 rgba(25,118,210,0.16);
  transform: translateY(-2px) scale(1.015);
}
.service-cards .price {
  margin-top: 16px;
  font-size: 1.15rem;
  color: var(--vibrant-a);
  font-weight: bold;
}

/* TABLES (PREISE) */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  margin-bottom: 24px;
}
table th, table td {
  padding: 18px 14px;
  text-align: left;
  border-bottom: 1px solid #e4e7ee;
  font-size: 1rem;
}
table thead tr {
  background: var(--accent);
  color: #fff;
  font-size: 1.12rem;
}
table tr:last-child td {
  border-bottom: none;
}

/* PRICE DETAILS & FAQ */
.price-details,
.content-wrapper ul,
.content-wrapper ol {
  background: var(--secondary);
  padding: 20px 18px;
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(25,118,210,0.05);
}
.price-details ul li {
  margin-bottom: 8px;
}

/* MAP PLACEHOLDER */
.map-placeholder {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 18px;
  display: flex;
  align-items: center;
  gap: 26px;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}
.map-placeholder img {
  width: 42px;
  height: 42px;
}

/* TESTIMONIAL CARDS */
.testimonial-card {
  background: #FFFCEA;
  box-shadow: 0 3px 16px 0 rgba(255,214,0,0.10);
  border-left: 6px solid var(--vibrant-b);
  color: #030f19;
  font-size: 1.19rem;
  font-style: italic;
  border-radius: var(--radius);
  margin-bottom: 20px;
  padding: 22px 18px 18px 30px;
  flex-direction: column;
  min-width: 220px;
  width: 100%;
  max-width: 550px;
  position: relative;
  z-index: 2;
}
.testimonial-card blockquote {
  margin: 0 0 8px 0;
  color: #1A237E;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}
.testimonial-card > div {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #222;
  font-size: .99rem;
  align-self: flex-end;
  font-style: normal;
  font-weight: 600;
}

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: var(--shadow-strong);
  padding: 0 0 0 0;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
header > a img {
  height: 52px;
  padding: 13px 0 11px 0;
  margin-left: 12px;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: 42px;
}
.main-nav a {
  color: var(--primary);
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  padding: 0 3px;
  position: relative;
  font-size: 1.13rem;
}
.main-nav a::after {
  content: '';
  display: block;
  width: 0%;
  height: 2.5px;
  background: linear-gradient(90deg, var(--vibrant-a), var(--accent));
  transition: width .23s;
}
.main-nav a:hover::after,
.main-nav a:focus::after {
  width: 100%;
}
header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: 0 12px;
  height: auto;
  min-height: 82px;
}
header .cta.primary {
  margin-left: auto;
  margin-right: 24px;
  font-size: 1rem;
  padding: 11px 18px;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu-toggle {
  display: none;
  background: var(--primary);
  color: #fff;
  font-size: 2rem;
  padding: 0 18px;
  height: 48px;
  width: 48px;
  border-radius: var(--radius);
  box-shadow: 0 2px 10px 0 rgba(25,118,210,0.08);
  margin-left: 8px;
  align-items: center;
  justify-content: center;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--vibrant-a);
  color: #fff;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26,35,126,0.98);
  z-index: 9999;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.87,0,.13,1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 26px;
  padding-left: 12px;
  padding-right: 12px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  font-size: 2.3rem;
  align-self: flex-end;
  margin-right: 12px;
  margin-bottom: 22px;
  padding: 0 8px;
  cursor: pointer;
  border: none;
  box-shadow: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.30rem;
  padding: 14px 10px;
  border-radius: var(--radius);
  background: none;
  transition: background 0.20s, color 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--vibrant-a);
  color: #fff;
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: #fff;
  padding: 38px 0 24px 0;
  margin-top: 70px;
  box-shadow: 0 -2px 16px 0 rgba(26,35,126,0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 18px;
}
.footer-nav a {
  color: var(--vibrant-b);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: bold;
  text-decoration: underline dotted var(--vibrant-a) 1.5px;
  transition: color 0.14s, text-decoration-color 0.14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--vibrant-a);
  text-decoration: underline solid var(--vibrant-a) 2px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.98rem;
  color: #fff;
  text-align: center;
}
.footer-contact a {
  color: #fff;
  text-decoration: underline;
  transition: color 0.14s;
}
.footer-contact a:hover, .footer-contact a:focus {
  color: var(--vibrant-b);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  z-index: 11000;
  bottom: 0;
  left: 0;
  width: 100vw;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: linear-gradient(90deg, var(--primary) 60%, var(--accent) 100%);
  color: #fff;
  padding: 18px 16px 22px 16px;
  box-shadow: 0 -2px 20px 0 rgba(26,35,126,0.17);
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  font-size: 1.04rem;
}
.cookie-banner-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 520px;
  margin-right: 38px;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: flex-end;
}
.cookie-btn, .cookie-banner .cta {
  background: var(--vibrant-b);
  color: var(--primary);
  border: none;
  border-radius: var(--radius);
  font-size: 1.1rem;
  padding: 11px 22px;
  font-weight: 700;
  margin: 0;
  min-width: 136px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: background 0.13s, color 0.13s, transform 0.13s;
}
.cookie-btn:hover, .cookie-btn:focus {  background: var(--vibrant-a); color: #fff; }
.cookie-btn.settings {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus { background: var(--accent); color: #fff; border-color: var(--accent); }

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(26,35,126,0.85);
  z-index: 11001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-box {
  background: #fff;
  color: var(--primary);
  border-radius: var(--radius-lg);
  padding: 38px 30px 28px 30px;
  min-width: 320px;
  min-height: 200px;
  max-width: 98vw;
  box-shadow: 0 6px 32px 0 rgba(25,118,210,0.21);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 10px; right: 14px; 
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--primary);
  cursor: pointer;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--vibrant-a);
}

/* === TYPOGRAPHY & SPACING === */
ul, ol {
  padding-left: 26px;
  margin-bottom: 18px;
}
ul li, ol li {
  margin-bottom: 10px;
  font-size: 1.02rem;
}
blockquote {
  border-left: 5px solid var(--accent);
  margin-left: 0;
  padding-left: 16px;
  color: var(--primary);
  background: #e6f0ff;
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1020px) {
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .main-nav {
    gap: 18px;
    margin-left: 18px;
  }
}
@media (max-width: 900px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.5rem; }
  .feature-grid, .service-cards {
    gap: 14px;
  }
  .section, section { padding: 28px 2vw; }
}
@media (max-width: 768px) {
  .container {
    padding: 0 2vw;
  }
  .main-nav,
  header .cta.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .feature-grid, .service-cards {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .feature-grid > div, .service-cards > div {
    min-width: unset;
    max-width: unset;
    width: 100%;
  }
  .footer-nav {
    gap: 11px;
    font-size: 0.96rem;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .map-placeholder { flex-direction: column; gap: 10px; }
}
@media (max-width: 610px) {
  html { font-size: 15px; }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.09rem; }
  .section, section {
    padding: 20px 1vw;
  }
  header > a img {
    height: 43px;
    padding: 8px 0 5px 0;
  }
  .cookie-banner, .cookie-banner-content, .cookie-banner-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    margin: 0;
    gap: 11px;
  }
  .cookie-banner-content { margin-right: 0; }
  .cookie-banner {
    padding: 14px 4px 14px 4px;
    font-size: .98rem;
  }
}

/* === VIBRANT ENERGETIC MICRO-ANIMATIONS === */
.cta.primary, .service-cards > div, .feature-grid > div, .card {
  transition: box-shadow 0.18s, transform 0.17s;
}
.cta.primary:active {
  transform: scale(0.97);
}
.card:hover, .feature-grid > div:hover, .service-cards > div:hover {
  box-shadow: 0 7px 34px 0 rgba(255,45,85,0.18), 0 2px 6px 0 rgba(25,118,210,0.09);
  transform: translateY(-2px) scale(1.025);
}

/* === LIST HIERARCHY === */
.section ul, .section ol {
  background: transparent;
  padding: 0 0 0 22px;
  border-radius: 0;
  margin-bottom: 14px;
  box-shadow: none;
}
.section ul li::marker, .section ol li::marker {
  color: var(--accent);
}

/* === MISC (ACCESSIBILITY, ETC) === */
::-webkit-input-placeholder { color: #b8bfc9; }
:-ms-input-placeholder { color: #b8bfc9; }
::placeholder { color: #b8bfc9; }

/* --- UTILITIES --- */
.hide { display: none !important; }
.flex-row { display: flex; flex-direction: row; }
.flex-col { display: flex; flex-direction: column; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }
.mb-20 { margin-bottom: 20px !important; }

/* --- END OF STYLE --- */
