/* =================== 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: border-box;
}

html {
  scroll-behavior: smooth;
  box-sizing: border-box;
}
body {
  line-height: 1.6;
  background: #F5F7FA;
  color: #232325;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
*, *::before, *::after {
  box-sizing: inherit;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
  border: 0;
}

/* =================== BRAND & LUXURY COLORS =================== */
:root {
  --color-primary: #335C81;
  --color-secondary: #FFFFFF;
  --color-bg: #F5F7FA;
  --color-neutral: #E2E2E4;
  --color-luxury-gold: #B88B30;
  --color-luxury-gold-light: #F6EAD4;
  --color-accent: #B15C00;
  --color-accent-focus: #A04700;
  --color-premium-dark: #232325;
  --color-premium-light: #FFF;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--color-premium-dark);
  letter-spacing: 0.03em;
}
h1 {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.15;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}
h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
}
h4, h5, h6 {
  font-weight: 500;
}
p, .text-section, .customer {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
p {
  font-size: 1.08rem;
  margin-bottom: 12px;
  color: #333;
}
ul, ol {
  margin-bottom: 18px;
  padding-left: 24px;
}
ul li, ol li {
  margin-bottom: 8px;
  font-size: 1rem;
}
.customer {
  font-size: 0.97rem;
  font-style: italic;
  color: var(--color-accent);
}

/* =================== CONTAINER AND SECTIONS =================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 22px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-secondary);
  border-radius: 24px;
  box-shadow: 0 2px 16px rgba(50, 50, 60, 0.07);
}

/* =================== HEADER & NAVIGATION =================== */
header {
  background: var(--color-premium-light);
  border-bottom: 3px solid var(--color-luxury-gold);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1001;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding-top: 16px;
  padding-bottom: 16px;
}
header img {
  height: 48px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--color-luxury-gold-light);
  color: var(--color-primary);
}
.main-nav .cta-btn {
  background: var(--color-luxury-gold);
  color: var(--color-premium-dark);
  font-weight: 700;
  border-radius: 12px;
  padding: 8px 22px;
  box-shadow: 0 2px 10px rgba(184, 139, 48, 0.12);
  border: none;
  outline: none;
  transition: background 0.22s, color 0.22s, box-shadow 0.2s;
  margin-left: 12px;
}
.main-nav .cta-btn:hover,
.main-nav .cta-btn:focus {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(177, 92, 0, 0.10);
}

.mobile-menu-toggle {
  font-size: 2rem;
  color: var(--color-primary);
  background: transparent;
  border: none;
  cursor: pointer;
  display: none;
  outline: none;
  margin-left: 18px;
}
@media (max-width: 1100px) {
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 10px;
  }
  header img {
    height: 38px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  header .container {
    padding: 7px 10px;
  }
}

/* ========== MOBILE MENU ========= */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(245,247,250,0.97);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.92,.02,.32,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
  height: 100vh;
  width: 100vw;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin-top: 24px;
  margin-right: 24px;
  font-size: 2.5rem;
  background: none;
  color: var(--color-primary);
  border: none;
  cursor: pointer;
  outline: none;
  z-index: 5003;
  transition: color 0.17s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin: 60px 0 0 34px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.16rem;
  color: var(--color-premium-dark);
  line-height: 1.7;
  border-radius: 8px;
  padding: 8px 10px;
  transition: background 0.21s, color 0.19s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-luxury-gold-light);
  color: var(--color-primary);
}
.mobile-nav .cta-btn {
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  padding: 10px 18px;
  margin-top: 14px;
}

/* Hide mobile menu on desktop */
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

/* =================== SECTION, CARD & FLEX LAYOUTS =================== */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: flex-start;
  margin: 24px 0 18px 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  box-shadow: 0 3px 22px rgba(51, 92, 129, 0.09);
  background: var(--color-premium-light);
  padding: 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 7px 34px rgba(184, 139, 48, 0.13);
  transform: translateY(-2px) scale(1.015);
  z-index: 2;
}
.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;
  background: #FAF6F0;
  border: 1.5px solid var(--color-luxury-gold);
  border-radius: 18px;
  box-shadow: 0 1px 20px rgba(51,92,129,0.08);
  margin-bottom: 20px;
  max-width: 660px;
  color: #35332e;
}
.testimonial-card p {
  color: #232325;
  font-size: 1.13rem;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ========== Blog, Categories, and Feature Grids ========= */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  justify-content: flex-start;
  margin-bottom: 12px;
}
.feature-grid > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(51, 92, 129, 0.08);
  padding: 21px 18px 18px 18px;
  flex: 1 1 220px;
  min-width: 200px;
  max-width: 270px;
  border: 1px solid #F6EAD4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, border-color 0.16s;
}
.feature-grid > div img {
  height: 38px;
  margin-bottom: 12px;
}
.feature-grid > div:hover,
.feature-grid > div:focus-within {
  box-shadow: 0 4px 22px rgba(184, 139, 48, 0.13);
  border-color: var(--color-luxury-gold);
  z-index: 1;
}
.blog-post-list,
.case-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.blog-post-list .content-wrapper,
.case-list .content-wrapper {
  flex: 1 1 330px;
  min-width: 260px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(184, 139, 48, 0.07);
  padding: 22px 18px;
  border-left: 6px solid var(--color-luxury-gold);
  transition: box-shadow 0.18s;
}
.blog-post-list .content-wrapper:hover,
.case-list .content-wrapper:hover {
  box-shadow: 0 8px 22px rgba(177,92,0,0.10);
}
.categories-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 26px;
}
.category {
  display: inline-flex;
  align-items: center;
  background: var(--color-luxury-gold-light);
  color: var(--color-accent);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  border: 1px solid var(--color-luxury-gold);
  transition: background 0.21s, color 0.18s;
}
.category:hover,
.category:focus {
  background: var(--color-luxury-gold);
  color: var(--color-premium-light);
}

.contact-snippet {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  align-items: center;
}
.contact-snippet span {
  display: flex;
  gap: 7px;
  align-items: center;
  color: var(--color-premium-dark);
  font-size: 1.08rem;
  font-weight: 500;
}
.contact-snippet img {
  height: 22px;
}

/* ========== FAQ Accordion (preise.html) ============= */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 26px;
}
.faq-accordion h3 {
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 4px;
  cursor: pointer;
}
.faq-accordion p {
  margin-bottom: 0;
  margin-left: 12px;
  color: #433;
}

/* ========== TABLE STYLING (preise.html) ============= */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 14px rgba(184,139,48,0.10);
  overflow: hidden;
  font-size: 1.07rem;
  margin-bottom: 14px;
}
table th, table td {
  padding: 16px 10px;
  text-align: left;
}
table th {
  background: var(--color-luxury-gold-light);
  color: var(--color-primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
  border-bottom: 2px solid var(--color-luxury-gold);
}
table td {
  border-bottom: 1px solid #eee3c6;
}
table tbody tr:last-child td {
  border-bottom: none;
}

/* =================== BUTTONS & LINKS =================== */
.cta-btn,
.cta-link {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 48px;
  font-size: 1.09rem;
  box-shadow: 0 2px 18px rgba(177,92,0,0.08);
  background: var(--color-luxury-gold);
  color: var(--color-premium-dark);
  border: none;
  cursor: pointer;
  transition: background 0.22s, color 0.17s, box-shadow 0.19s;
  margin-top: 14px;
}
.cta-btn:hover,
.cta-btn:focus {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 24px rgba(177,92,0,0.16);
  text-decoration: none;
}
.cta-link {
  padding: 8px 0;
  background: none;
  color: var(--color-accent);
  font-size: 1rem;
  box-shadow: none;
  text-decoration: underline;
  border-radius: 0;
  transition: color 0.18s;
}
.cta-link:hover, .cta-link:focus {
  color: var(--color-luxury-gold);
  background: none;
  text-decoration: underline wavy;
}
button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 9px;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.17s, box-shadow 0.13s;
}

/* =================== FOOTER =================== */
footer {
  width: 100%;
  background: var(--color-premium-dark);
  color: var(--color-premium-light);
  padding: 38px 0 18px 0;
  border-top: 3px solid var(--color-luxury-gold);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 14px;
}
.footer-nav a {
  color: var(--color-luxury-gold);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 7px;
  padding: 6px 11px;
  transition: background 0.17s, color 0.13s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: var(--color-luxury-gold-light);
  color: var(--color-accent);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  font-size: 0.97rem;
}
.footer-contact a {
  color: var(--color-luxury-gold);
  text-decoration: underline dotted;
}
footer span {
  font-size: 0.98rem;
  color: #D1B97F;
  margin-top: 16px;
}

/* =================== COOKIE CONSENT BANNER =================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #29292b;
  color: #fff;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 24px 12px 24px 12px;
  z-index: 4200;
  box-shadow: 0 -2px 18px rgba(51,92,129,0.13);
  transition: transform 0.32s cubic-bezier(.92,.02,.32,1), opacity 0.18s;
  transform: translateY(0);
}
.cookie-banner.closed {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120px);
}
.cookie-banner .cookie-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 900px;
  align-items: flex-start;
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-banner button {
  padding: 8px 22px;
  font-size: 1rem;
  border-radius: 8px;
  background: var(--color-luxury-gold);
  color: var(--color-premium-dark);
  box-shadow: 0 1px 8px rgba(184,139,48,0.10);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  transition: background 0.18s, color 0.16s;
  border: none;
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: var(--color-accent-focus);
  color: #fff;
}
.cookie-banner .cookie-settings-btn {
  background: none;
  color: var(--color-luxury-gold);
  border: 1.5px solid var(--color-luxury-gold);
  box-shadow: none;
}
.cookie-banner .cookie-settings-btn:hover,
.cookie-banner .cookie-settings-btn:focus {
  background: var(--color-luxury-gold-light);
  color: var(--color-accent);
}

/* ===== Cookie Preferences Modal ===== */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(51, 44, 19, 0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5000;
  transition: opacity 0.28s;
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal.closed {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal .modal-dialog {
  background: #fff;
  border-radius: 17px;
  max-width: 478px;
  width: 92vw;
  padding: 34px 36px 28px 36px;
  box-shadow: 0 8px 56px rgba(184,139,48,0.18);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  align-items: stretch;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
.cookie-modal .modal-close-btn {
  position: absolute;
  top: 20px;
  right: 22px;
  background: none;
  color: var(--color-primary);
  font-size: 2rem;
  border: none;
  cursor: pointer;
  z-index: 2;
}
.cookie-modal .modal-close-btn:hover {
  color: var(--color-accent);
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 1.07rem;
}
.cookie-category .toggle {
  width: 40px;
  height: 24px;
  border-radius: 24px;
  background: #efefee;
  position: relative;
  cursor: pointer;
  margin-left: 8px;
}
.cookie-category .toggle input {
  display: none;
}
.cookie-category .slider {
  position: absolute;
  top: 2px; left: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--color-luxury-gold);
  transition: left 0.14s, background 0.17s;
}
.cookie-category .toggle input:checked + .slider {
  background: var(--color-accent);
  left: 18px;
}
.cookie-category.essential .toggle {
  background: #d6b771;
  pointer-events: none;
}

.cookie-modal .modal-btns {
  margin-top: 20px;
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}
.cookie-modal button {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 1rem;
}

/* =================== RESPONSIVE LAYOUTS =================== */
@media (max-width: 1080px) {
  .feature-grid > div, .blog-post-list .content-wrapper, .case-list .content-wrapper {
    min-width: 190px;
    max-width: 320px;
  }
}
@media (max-width: 900px) {
  .container {
    padding: 0 6vw;
  }
  .feature-grid {
    gap: 16px;
  }
  .feature-grid > div {
    min-width: 160px;
    max-width: 290px;
    padding: 18px 12px 14px 12px;
  }
}
@media (max-width: 700px) {
  .footer-contact {
    font-size: 0.93rem;
  }
}
@media (max-width: 650px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.45rem;
  }
  .section {
    padding: 24px 6px;
    margin-bottom: 28px;
  }
  .container {
    padding: 0 2vw;
  }
  .content-wrapper {
    margin: 12px 0 10px 0;
  }
  .feature-grid {
    gap: 10px;
  }
  .card, .feature-grid > div, .testimonial-card, .blog-post-list .content-wrapper, .case-list .content-wrapper {
    padding: 12px 6px;
  }
  .contact-snippet {
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  .feature-grid,
  .blog-post-list,
  .case-list,
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    max-width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .blog-post-list .content-wrapper, .case-list .content-wrapper {
    min-width: 0;
    max-width: 100%;
  }
}

/* =================== SCROLLBAR =================== */
::-webkit-scrollbar {
  width: 10px;
  background: #faf9f6;
}
::-webkit-scrollbar-thumb {
  background: #e4c987;
  border-radius: 10px;
}

/* =================== ANIMATIONS =================== */
.cta-btn, .cta-link, .main-nav a, .mobile-nav a, .feature-grid > div, .category, .footer-nav a {
  transition: background 0.18s, color 0.16s, box-shadow 0.18s, border-color 0.14s, transform 0.2s;
}
.card, .testimonial-card, .feature-grid > div, .categories-grid .category {
  will-change: box-shadow, transform;
}
.blog-post-list .content-wrapper,
.case-list .content-wrapper {
  transition: box-shadow 0.18s, transform 0.16s;
}

/* =================== LUXURY / PREMIUM ACCENTS =================== */
.section {
  border: 1.5px solid var(--color-luxury-gold-light);
}
h1, h2 {
  border-left: 6px solid var(--color-luxury-gold);
  padding-left: 18px;
  color: var(--color-primary);
  background: linear-gradient(90deg, var(--color-luxury-gold-light), transparent 62%);
  border-radius: 8px 0 0 8px;
}
h3 {
  color: var(--color-accent);
}

/* Decorative underline accents for h2 */
h2::after {
  content: "";
  display: block;
  width: 58px;
  height: 4px;
  margin-top: 10px;
  background: var(--color-luxury-gold);
  border-radius: 2px;
}

/* FORMS (if extended) */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 8px;
  border: 1px solid #eee3c6;
  background: #fff;
  font-size: 1.08rem;
  padding: 12px 11px;
  margin-bottom: 14px;
  width: 100%;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.16s, box-shadow 0.11s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-luxury-gold);
  box-shadow: 0 1px 4px rgba(184,139,48,0.15);
}

/* =================== HIGH CONTRAST FOR TESTIMONIALS =================== */
.testimonial-card {
  background: #fffefa;
  border: 1.5px solid var(--color-luxury-gold);
  color: #232325;
}
.testimonial-card p,
.testimonial-card .customer {
  color: #232325 !important;
  background: none;
}

/* =================== SPECIFIC UTILITIES & OVERRIDES =================== */
.text-section {
  font-size: 1.06rem;
  color: #403826;
}
.text-section ul {
  list-style: disc;
  padding-left: 28px;
}
.text-section h2 {
  margin-top: 24px;
}

ol {
  list-style: decimal inside;
}

/* TOOLTIPS, BADGES, ETC. (If required in future) */
.badge, .label {
  background: var(--color-luxury-gold-light);
  color: var(--color-accent);
  font-size: 0.93em;
  border-radius: 7px;
  padding: 3px 11px;
}

/* =================== MISC: PRINT & ACCESSIBILITY =================== */
@media print {
  header, footer, .cookie-banner, .cookie-modal { display: none !important; }
  body { color: #333 !important; background: #fff !important; }
}

/* =================== END OF CSS =================== */
