/* --- CSS RESET & BASE --- */
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%;
  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: #F6F6F6;
  color: #21385A;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #256E5D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #ec9640;
  outline: none;
}
ul, ol {
  list-style: none;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  padding: 12px 12px;
  text-align: left;
}
th {
  background: #21385A;
  color: #fff;
  letter-spacing: 0.5px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
tr:nth-child(even) td {
  background: #f3f6fa;
}

/* --- BRAND & CREATIVE ARTISTIC COLORS --- */
:root {
  --color-primary: #21385A;
  --color-secondary: #256E5D;
  --color-accent: #F6F6F6;
  --color-highlight: #FFBE40;
  --color-cta: #ec9640;
  --color-card-bg: #fff;
  --color-card-shadow: rgba(33,56,90,0.08);
  --color-border: #eaeaea;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.5px;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  margin-top: 0;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
}
p, li {
  font-family: var(--font-body);
  font-size: 1.04rem;
  color: #233047;
}
p {
  margin-bottom: 16px;
}
ul, ol {
  margin-bottom: 18px;
}
.small {
  font-size: 0.93rem;
  color: #4e5775;
}
strong {
  color: var(--color-secondary);
  font-weight: bold;
}

/* CREATIVE ARTISTIC ELEMENTS */
h1, h2, h3 {
  position: relative;
}
h2:after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--color-highlight);
  border-radius: 2px;
  margin-top: 10px;
}

/* --- LAYOUT & SPACING --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: transparent;
}
.text-section {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FLEXBOX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--color-card-bg);
  border-radius: 16px;
  box-shadow: 0 4px 16px var(--color-card-shadow);
  transition: box-shadow 0.18s, transform 0.16s;
  position: relative;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card:hover {
  box-shadow: 0 7px 32px rgba(33,56,90,0.16);
  transform: translateY(-2px) scale(1.012);
}
.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;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 18px rgba(33,56,90,0.10);
  margin-bottom: 24px;
  border-left: 6px solid var(--color-secondary);
  color: var(--color-primary);
  font-size: 1.05em;
}
.testimonial-card p {
  color: #1d233b;
  margin-bottom: 0;
  flex: 1 1 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- MAIN NAVIGATION --- */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(33,56,90,0.08);
  z-index: 100;
  position: sticky;
  top: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0 14px 0;
  justify-content: flex-start;
}
.main-nav a {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.06em;
  padding: 7px 13px;
  border-radius: 7px;
  letter-spacing: 0.01em;
  transition: background 0.18s, color 0.15s;
  position: relative;
}
.main-nav a:not(.cta-btn):hover, .main-nav a:not(.cta-btn):focus {
  background: var(--color-secondary);
  color: #fff;
}
.main-nav .cta-btn {
  background: var(--color-cta);
  color: #fff !important;
  margin-left: 10px;
  padding: 9px 20px;
  border-radius: 30px;
  font-weight: 700;
  font-family: var(--font-display);
  box-shadow: 0 4px 14px rgba(236, 150, 64, 0.14);
  transition: background 0.19s, box-shadow 0.2s, outline 0.13s;
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: var(--color-highlight);
  box-shadow: 0 7px 22px rgba(255, 192, 80, 0.19);
  color: var(--color-primary);
}
.main-nav img {
  height: 42px;
  margin-right: 18px;
  display: inline-block;
}

/* --- MOBILE BURGER NAV --- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 18px;
  right: 32px;
  z-index: 120;
  padding: 10px 14px;
  background: transparent;
  border: none;
  font-size: 2.1em;
  color: var(--color-secondary);
  cursor: pointer;
  transition: color 0.17s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-highlight);
}
.mobile-menu {
  display: none;
}
.mobile-menu.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 150;
  background: #fff;
  box-shadow: 0 4px 30px rgba(33,56,90,0.22);
  transform: translateX(0);
  animation: mobileMenuSlideIn 0.36s cubic-bezier(.65,0,.65,1) forwards;
}
@keyframes mobileMenuSlideIn {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}
.mobile-menu .mobile-menu-close {
  margin: 18px 18px 0 auto;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--color-primary);
  cursor: pointer;
  transition: background 0.18s, color 0.16s;
  border-radius: 50%;
  padding: 3px 9px;
}
.mobile-menu .mobile-menu-close:hover,
.mobile-menu .mobile-menu-close:focus {
  background: var(--color-highlight);
  color: var(--color-secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
  padding: 40px 10px 0 10px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.32em;
  color: var(--color-secondary);
  font-weight: 600;
  transition: color 0.21s, background 0.14s;
  padding: 8px 14px;
  border-radius: 18px;
}
.mobile-nav a:active,
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-cta);
  color: #fff;
}

/* --- HERO & CTA BUTTON STYLES --- */
.cta-btn {
  display: inline-block;
  border: none;
  background: var(--color-cta);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.08em;
  font-weight: 700;
  padding: 13px 36px;
  border-radius: 30px;
  box-shadow: 0 5px 22px rgba(236, 150, 64, 0.12);
  cursor: pointer;
  transition: background 0.18s, color 0.13s, box-shadow 0.23s;
  margin-top: 14px;
  letter-spacing: 0.1px;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--color-highlight);
  color: var(--color-primary);
  box-shadow: 0 10px 36px rgba(255, 192, 80, 0.19);
  text-decoration: none;
}

/* --- FEATURE GRIDS --- */
.feature-grid, .services-grid, .awards-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
  justify-content: flex-start;
}
.feature-grid > div, .services-grid > div, .awards-list > div {
  background: var(--color-card-bg);
  border-radius: 14px;
  box-shadow: 0 2px 12px var(--color-card-shadow);
  flex: 1 1 215px;
  min-width: 215px;
  max-width: 360px;
  padding: 24px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, transform 0.12s;
  margin-bottom: 20px;
  position: relative;
  border-left: 5px solid var(--color-highlight);
}
.feature-grid > div:hover, .services-grid > div:hover, .awards-list > div:hover {
  box-shadow: 0 9px 30px rgba(33, 56, 90, 0.16);
  transform: translateY(-3px) scale(1.028);
}
.feature-grid img, .services-grid img, .awards-list img {
  height: 48px;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 2px #d0cbcb) brightness(1.08);
}
.awards-list strong {
  font-size: 1.08em;
  color: var(--color-secondary);
  margin-bottom: 5px;
}

/* --- FOOTER --- */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 38px 0 16px 0;
  font-family: var(--font-body);
  margin-top: 80px;
  box-shadow: 0 -4px 32px rgba(33,56,90,0.10);
}
.footer-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.03em;
  margin-top: 6px;
  padding: 8px 12px 7px 12px;
  border-radius: 6px;
  transition: background 0.15s, color 0.16s;
}
.footer-nav a:focus,
.footer-nav a:hover {
  background: var(--color-cta);
  color: var(--color-primary);
}
.footer-contact {
  font-size: 1em;
  color: #dbe4f4;
  text-align: center;
  margin-bottom: 13px;
}
.footer-meta {
  font-size: 0.99em;
  color: #dbe4f4;
  text-align: center;
  margin-top: 9px;
  letter-spacing: 0.2px;
}

/* --- TABLES (Preise) --- */
table {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(33,56,90,0.08);
  overflow: hidden;
  font-family: var(--font-body);
  margin-bottom: 24px;
}
th, td {
  font-size: 1.03em;
}

/* --- FORMS (if present) --- */
input, select, textarea {
  font-family: var(--font-body);
  font-size: 1em;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #b9c2de;
  margin-bottom: 16px;
  background: #fafdff;
  transition: border 0.16s;
}
input:focus, select:focus, textarea:focus {
  border: 1.5px solid var(--color-secondary);
  outline: 2px solid var(--color-highlight);
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fffde8;
  color: var(--color-primary);
  box-shadow: 0 -2px 24px rgba(33,56,90,0.14);
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  justify-content: center;
  padding: 22px 11px 18px 11px;
  z-index: 4000;
  font-size: 1.07em;
  animation: cookieBannerIn 0.53s cubic-bezier(.45,0,.45,1) forwards;
}
@keyframes cookieBannerIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner span {
  flex: 1 1 auto;
  margin-right: 12px;
}
.cookie-banner .cookie-btn {
  background: var(--color-cta);
  color: #fff;
  border: none;
  border-radius: 25px;
  font-family: var(--font-display);
  font-size: 1em;
  font-weight: 700;
  margin: 0 4px;
  padding: 10px 24px;
  cursor: pointer;
  transition: background 0.15s, color 0.13s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--color-highlight);
  color: var(--color-primary);
}
.cookie-banner .cookie-btn.cookie-settings {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-banner .cookie-btn.cookie-settings:hover, .cookie-banner .cookie-btn.cookie-settings:focus {
  background: #28b698;
  color: #fff;
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  display: none;
}
.cookie-modal.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5000;
  background: rgba(25, 35, 48, 0.35);
  align-items: center;
  justify-content: center;
  animation: cookieModalIn 0.34s cubic-bezier(.35,0,.45,1) forwards;
}
@keyframes cookieModalIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px 18px 22px 22px;
  box-shadow: 0 8px 38px rgba(33,56,90,0.17);
  padding: 40px 32px 32px 32px;
  min-width: 300px;
  max-width: 95vw;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: cookieModalContentIn 0.42s cubic-bezier(.35,0,.60,1) forwards;
}
@keyframes cookieModalContentIn {
  from { transform: scale(0.92) translateY(40px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal-content h2 {
  font-size: 1.32rem;
  margin-bottom: 8px;
  color: var(--color-primary);
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.04em;
  margin-bottom: 8px;
  font-family: var(--font-body);
}
.cookie-modal-content input[type='checkbox'] {
  accent-color: var(--color-secondary);
}
.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.6em;
  color: var(--color-secondary);
  position: absolute;
  top: 16px;
  right: 19px;
  cursor: pointer;
  border-radius: 50%;
  padding: 6px 9px;
  transition: background 0.14s;
  z-index: 30;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--color-accent);
}
.cookie-preference-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 22px;
  justify-content: flex-end;
}
.cookie-preference-actions .cookie-btn {
  font-size: 1em;
  padding: 8px 18px;
}

/* --- ICONS AND ILLUS --- */
.text-section img, .content-wrapper img {
  margin-right: 10px;
  margin-bottom: -4px;
  height: 30px;
  width: auto;
  vertical-align: middle;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1160px) {
  .container {
    max-width: 97vw;
    padding: 0 10px;
  }
  .content-wrapper {
    gap: 16px;
  }
}
@media (max-width: 980px) {
  .feature-grid > div, .services-grid > div {
    flex: 1 1 100%;
    min-width: 170px;
    max-width: 100%;
  }
  .feature-grid, .services-grid {
    gap: 18px;
  }
}
@media (max-width: 860px) {
  .main-nav {
    gap: 7px;
    font-size: 0.99em;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2.03rem; }
  h2 { font-size: 1.28rem; }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .section,
  section {
    padding: 26px 6px 32px 6px;
    margin-bottom: 36px;
  }
  .container {
    max-width: 100vw;
    padding: 0 3vw;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 17px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .testimonials {
    gap: 18px;
  }
  .feature-grid, .services-grid, .awards-list {
    flex-direction: column;
    gap: 16px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 11px;
  }
  .footer-contact { font-size: 0.96em; }
}
@media (max-width: 530px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.01rem; }
  .cta-btn { padding: 11px 16px; font-size: 0.98em; }
  .feature-grid > div, .services-grid > div, .awards-list > div { padding: 15px 7px; }
  .footer-meta, .footer-contact { font-size: 0.91em; }
  .cookie-modal-content { padding: 17px 2vw 17px 2vw; }
}

/* --- MICRO-INTERACTIONS/ANIMATIONS --- */
.cta-btn, .main-nav a, .card, .cookie-btn {
  transition-property: background, color, box-shadow, transform;
  transition-duration: 0.18s;
}
.card, .testimonial-card, .feature-grid > div, .services-grid > div {
  will-change: transform, box-shadow;
}

/* --- GENERAL UTILITIES & OVERRIDES --- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 14px !important; }
.mb-2 { margin-bottom: 14px !important; }
.mb-3 { margin-bottom: 24px !important; }
.gap-0 { gap: 0 !important; }

/* --- SPACING: BETWEEN CARDS & SECTIONS --- */
.card + .card {
  margin-left: 0;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 21px;
}

/* --- NO OVERLAP: ENSURE SPACING --- */
.card, .testimonial-card, .feature-grid > div, .services-grid > div, .awards-list > div {
  margin-bottom: 20px;
}

/* --- COLORS: ACCESSIBILITY --- */
.testimonial-card, .testimonial-card p, .testimonial-card span {
  color: #212832;
  background: #fff;
}
.testimonial-card strong { color: var(--color-secondary); }

/* --- FOCUS VISIBLE FOR ACCESSIBILITY --- */
a:focus, button:focus, .cta-btn:focus, input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--color-highlight);
  outline-offset: 2px;
}

/* --- PRINT, UNWANTED ELEMENTS --- */
@media print {
  header, .main-nav, .mobile-menu-toggle, .mobile-menu, .cta-btn, .cookie-banner, .cookie-modal { display: none !important; }
  footer { color: #222; background: #fff; }
}
