/* 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;
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  min-height: 100vh;
  background: #F3F6F9;
  color: #253544;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #253544;
  text-decoration: none;
  transition: color 0.25s;
}
a:hover,
a:focus {
  color: #BFA95A;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
strong, b {
  font-weight: 700;
}

/* LUXURY PREMIUM PALETTE (with gold) */
:root {
  --brand-primary: #253544;
  --brand-secondary: #7EB6B4;
  --brand-accent: #F3F6F9;
  --gold: #BFA95A;
  --gold-light: #F3E8CF;
  --border-color: #E6E3DC;
  --card-bg: #fff;
  --shadow: 0 2px 16px rgba(31, 38, 135, 0.05);
  --radius: 18px;
  --transition: all 0.25s cubic-bezier(.72,.03,.33,.94);
}

/* TYPOGRAPHY HIERARCHY */
h1, .h1 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.14;
  color: var(--brand-primary);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
h2, .h2 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.16;
  margin-bottom: 20px;
  color: var(--brand-primary);
  letter-spacing: 0.01em;
}
h3, .h3 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--brand-primary);
  margin-bottom: 10px;
}
h4, .h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
}
p, ul, ol, li {
  font-size: 1rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #253544;
}
.section p, .section ul, .section ol {
  margin-bottom: 20px;
}
.section ul {
  list-style: disc inside;
}
.section ul li {
  margin-bottom: 10px;
}

/* CONTAINER */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* HEADER + NAV */
header {
  background: var(--card-bg);
  box-shadow: var(--shadow);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 99;
}
header .container {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header a img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin: 0 24px;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--brand-primary);
  transition: var(--transition);
  position: relative;
}
.main-nav a.active, .main-nav a:hover, .main-nav a:focus {
  color: var(--gold);
  background: var(--gold-light);
  box-shadow: 0 2px 6px rgba(191, 169, 90, 0.06);
  text-decoration: none;
}

/* PRIMARY CTA BUTTON */
.cta {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 8px;
  padding: 0.75em 2em;
  margin-left: 12px;
  border: none;
  text-align: center;
  cursor: pointer;
  background: var(--gold);
  color: #fff;
  box-shadow: 0 2px 8px rgba(191, 169, 90, 0.08);
  transition: var(--transition);
  letter-spacing: 0.03em;
  outline: none;
  border: 2px solid transparent;
  display: inline-block;
  position: relative;
}
.cta.primary {
  background: var(--gold);
  color: #fff;
  border: 2px solid var(--gold);
}
.cta:hover, .cta:focus {
  background: #fff;
  color: var(--gold);
  border: 2px solid var(--gold);
  box-shadow: 0 4px 14px rgba(191,169,90,0.16);
}

/* HAMBURGER / MOBILE MENU BUTTON */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 8px;
  font-size: 1.8rem;
  padding: 6px 18px;
  cursor: pointer;
  margin-left: 18px;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--gold);
}
/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(37,53,68,0.96);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 32px 36px 24px 20px;
  transform: translateX(-100vw);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.33s, transform 0.33s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: var(--gold);
  font-size: 2.5rem;
  align-self: flex-end;
  margin-bottom: 20px;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-left: 12px;
  margin-top: 16px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.17rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  padding: 12px 0 12px 6px;
  border-left: 4px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--gold);
  border-left: 4px solid var(--gold);
  background: rgba(191,169,90,0.07);
}

/* HERO SECTIONS */
.hero {
  margin-bottom: 60px;
  padding: 60px 0 34px 0;
  background: linear-gradient(94deg, #fff 60%, #F3E8CF 150%);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 36px rgba(191,169,90,0.03);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 12px;
}
.hero h1, .hero .h1 {
  font-size: 2.6rem;
  color: var(--brand-primary);
}
.hero p {
  margin-bottom: 22px;
  font-size: 1.2rem;
  color: var(--brand-secondary);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.hero .cta {
  margin-top: 16px;
}

/* SECTION SPACING */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* FEATURES FLEX PATTERNS */
.features, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 20px;
  margin-top: 0;
  align-items: stretch;
  justify-content: flex-start;
}
.feature-grid {
  width: 100%;
  margin-top: 20px;
}
.feature-grid li {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 28px 26px 24px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 216px;
  flex: 1 1 235px;
  position: relative;
  transition: box-shadow 0.22s, border-color 0.22s, transform 0.22s;
}
.feature-grid li img {
  height: 40px;
  width: 40px;
  margin-bottom: 10px;
  filter: drop-shadow(0 3px 12px rgba(191,169,90,0.11));
}
.feature-grid li h3 {
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 4px;
}
.feature-grid li:hover, .feature-grid li:focus-within {
  border-color: var(--gold);
  box-shadow: 0 6px 22px 0 rgba(191, 169, 90, 0.11);
  transform: translateY(-6px) scale(1.02);
  z-index: 2;
}

/* CARDS & CONTAINERS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  position: relative;
  gap: 15px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 20px 0 rgba(191,169,90,0.17);
}
.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;
}

/* TESTIMONIALS SECTION */
.testimonials {
  background: #fff8ee;
  border-radius: 0 0 var(--radius) var(--radius);
  margin-bottom: 60px;
  padding: 44px 0 34px 0;
  box-shadow: 0 2px 20px rgba(191,169,90,0.07), 0 1px 0 var(--gold-light) inset;
}
.testimonials .content-wrapper {
  align-items: flex-start;
  gap: 30px;
  flex-direction: column;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 30px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--gold-light);
  box-shadow: 0 1.5px 14px rgba(191,169,90,0.10);
  margin-bottom: 20px;
  max-width: 630px;
  transition: box-shadow 0.19s, border-color 0.13s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px 0 rgba(191,169,90,0.22);
  border-color: var(--gold);
}
.testimonial-card p {
  color: var(--brand-primary);
  font-size: 1.09rem;
  margin-bottom: 0;
}
.testimonial-meta {
  margin-top: 8px;
}
.testimonial-meta strong {
  display: block;
  font-size: 1rem;
  color: var(--brand-secondary);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
}
.testimonial-meta span {
  color: var(--gold);
  font-size: 1.18rem;
  margin-left: 6px;
}

/* CTA SECTIONS */
.cta-newsletter, .cta {
  margin-bottom: 10px;
  background: var(--brand-secondary);
  border-radius: var(--radius);
  box-shadow: 0 10px 36px rgba(126,182,180,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-newsletter .content-wrapper, .cta .content-wrapper {
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.cta-newsletter .cta, .cta .cta {
  min-width: 210px;
  margin: 0;
  font-size: 1.15rem;
}

/* ABOUT / POLICY / FOOTER STYLES */
.text-section {
  margin-bottom: 24px;
  padding: 0 0 8px 0;
}
.text-section ul li, .text-section ol li {
  margin-bottom: 10px;
}

footer {
  background: var(--brand-primary);
  color: #fff;
  padding: 35px 0 0 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 1rem;
  margin-bottom: 7px;
}
.footer-nav a {
  color: #fff;
  padding: 0 6px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  opacity: 0.82;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--gold);
  text-decoration: underline;
  opacity: 1;
}
.company-info {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 0.99rem;
  color: #E2DFD8;
  opacity: 0.95;
  margin-bottom: 7px;
  line-height: 1.6;
  display: flex;
  flex-wrap: wrap;
  gap: 9px 12px;
  align-items: center;
}
.company-info a {
  color: var(--gold);
  text-decoration: underline;
}
.social-icons {
  margin-top: 10px;
  display: flex;
  gap: 12px;
  align-items: center;
  opacity: 0.96;
}
.social-icons img {
  height: 28px;
  width: 28px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--gold-light);
  padding: 4px;
  transition: border-color 0.14s;
}
.social-icons img:hover {
  border-color: var(--gold);
}

/* SERVICE & SOLUTIONS */
.services-list ul {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.services-list ul li {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 22px 26px 24px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  transition: box-shadow 0.22s, border-color 0.22s;
}
.services-list ul li:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 18px rgba(191,169,90,0.17);
}
.services-list ul li h3 {
  color: var(--gold);
  font-size: 1.12rem;
  margin-bottom: 7px;
}
.services-list ul li .price {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--brand-secondary);
  font-size: 1rem;
  font-weight: 500;
  margin-top: 3px;
}

/* FEATURE ITEM FLEX PATTERN */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* BLOG LIST */
.blog-list ul {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 24px;
}
.blog-list ul li {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 20px 22px 20px;
  margin-bottom: 6px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: box-shadow 0.22s, border-color 0.21s;
  position: relative;
}
.blog-list ul li:hover {
  border-color: var(--gold);
  box-shadow: 0 2px 15px rgba(191,169,90,0.14);
}
.category-filter {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 1.02rem;
}
.category-filter ul {
  display: flex;
  gap: 12px;
}
.category-filter ul li {
  background: var(--gold-light);
  padding: 4px 15px;
  border-radius: 8px;
  color: var(--brand-primary);
  font-weight: 500;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  transition: background 0.17s;
  cursor: pointer;
}
.category-filter ul li:hover {
  background: var(--gold);
  color: #fff;
}

/* FORM HINT AND CONTACT */
.form-hint {
  color: var(--brand-secondary);
  margin-top: 15px;
  background: var(--accent);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 16px 20px;
}
.contact-details .text-section ul li {
  margin-bottom: 9px;
}

/* PRIVACY AND POLICY */
.privacy-policy, .cookie-policy, .gdpr-info, .terms-of-use {
  background: #fff8ee;
  border-radius: var(--radius);
  padding: 40px 28px 34px 28px;
  margin-bottom: 60px;
  border: 1px solid var(--gold-light);
  box-shadow: 0 2px 16px rgba(191,169,90,0.06);
}
.privacy-policy .text-section,
.cookie-policy .text-section,
.gdpr-info .text-section,
.terms-of-use .text-section {
  color: var(--brand-primary);
}

/* HOW-IT-WORKS LISTS IN SOLUTIONS */
.how-it-works ol, .how-it-works ul {
  padding-left: 18px;
  margin-bottom: 13px;
}
.how-it-works li {
  margin-bottom: 11px;
}

/* RESPONSIVENESS - MOBILE FIRST */
@media (max-width: 1200px) {
  .container {
    max-width: 970px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 740px;
  }
}
@media (max-width: 830px) {
  .main-nav {
    gap: 7px;
  }
  .content-wrapper, .features, .feature-grid, .card-container {
    gap: 15px;
  }
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 2.1rem; }
  h2, .h2 { font-size: 1.5rem; }
  .main-nav, .cta.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    flex-direction: row;
    gap: 7px;
  }
  .feature-grid, .card-container, .services-list ul, .blog-list ul, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonials .content-wrapper {
    gap: 15px;
  }
  .testimonial-card {
    padding: 16px 10px;
    font-size: 0.97rem;
    max-width: 100%;
  }
  .cta, .cta-newsletter, section, .section {
    padding: 24px 10px;
    margin-bottom: 36px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 560px) {
  .container {
    max-width: 99vw;
    padding: 0 5px;
  }
  .section, section {
    padding: 10px 0;
    margin-bottom: 25px;
  }
}

/* COOKIE CONSENT BANNER & MODAL
----------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 9999;
  background: #fff2e2;
  color: var(--brand-primary);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 40px;
  padding: 30px 26px 26px 34px;
  box-shadow: 0 -2px 22px 0 rgba(191,169,90,0.18);
  border-top: 1.5px solid var(--gold);
  font-size: 1rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  transition: transform 0.38s;
}
.cookie-banner.hide {
  transform: translateY(140%);
  pointer-events: none;
  opacity: 0;
}
.cookie-banner__buttons {
  display: flex;
  gap: 18px;
}
.cookie-banner__button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 9px 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(191,169,90,0.09);
  border: 2px solid var(--gold-light);
  background: #fff;
  color: var(--gold);
  font-weight: 600;
  margin-right: 2px;
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}
.cookie-banner__button.accept {
  background: var(--gold);
  color: #fff;
  border: 2px solid var(--gold);
}
.cookie-banner__button.accept:hover, .cookie-banner__button.accept:focus {
  background: #fff;
  color: var(--gold);
  border-color: var(--gold);
}
.cookie-banner__button.reject {
  background: #fff;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.cookie-banner__button.reject:hover, .cookie-banner__button.reject:focus {
  background: var(--gold-light);
  color: var(--gold);
}
.cookie-banner__button.settings {
  background: #F3F6F9;
  color: var(--brand-primary);
  border: 2px solid var(--gold-light);
}
.cookie-banner__button.settings:hover, .cookie-banner__button.settings:focus {
  background: var(--gold-light);
  color: var(--gold);
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  background: rgba(37,53,68,0.79);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.29s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal__dialog {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 44px 0 rgba(191,169,90,0.11);
  max-width: 400px;
  width: 95vw;
  padding: 40px 26px 30px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.cookie-modal__title {
  font-size: 1.34rem;
  color: var(--gold);
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  margin-bottom: 6px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-category label {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1.06rem;
  cursor: pointer;
  color: var(--brand-primary);
}
.cookie-category input[type=checkbox] {
  accent-color: var(--gold);
  width: 19px;
  height: 19px;
  border-radius: 5px;
  margin-right: 3px;
}
.cookie-category.essential label::after {
  content: " (immer aktiviert)";
  color: var(--gold);
  font-size: 0.9rem;
  font-style: italic;
  margin-left: 2px;
}
.cookie-modal__actions {
  display: flex;
  gap: 11px;
  justify-content: flex-end;
}
.cookie-modal__close {
  position: absolute;
  right: 24px;
  top: 17px;
  background: transparent;
  color: var(--gold);
  border: none;
  font-size: 2rem;
  z-index: 2;
  cursor: pointer;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: var(--brand-secondary);
}

/* Transitions, Microinteractions */
a, .cta, .card, .testimonial-card, .feature-grid li, .services-list ul li, .blog-list ul li, .category-filter ul li, .cookie-banner__button {
  transition: var(--transition);
}
.card:focus-within, .testimonial-card:focus-within {
  box-shadow: 0 0 0 2.5px var(--gold-light), 0 8px 32px rgba(191,169,90,0.09);
}

/* Focus indicators for accessibility */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

/* Spacing and gap utilities */
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }
.gap-10 { gap: 10px; }

/* Hide visually only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
