/* RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #f5f7fa;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #243748;
  background: #f5f7fa;
  min-height: 100vh;
}
img {
  max-width: 100%;
  border-radius: 8px;
}
a {
  color: #243748;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #c2a558;
}
ul, ol {
  margin: 0 0 1.2em 1.2em;
  padding-left: 1.2em;
}
li {
  margin-bottom: 0.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #243748;
  letter-spacing: 0.01em;
  margin-bottom: 0.5em;
  font-weight: 700;
}
h1 {
  font-size: 2.3rem;
  line-height: 1.15;
  margin-bottom: 1rem;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
p {
  margin-bottom: 1em;
}
.table, table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.2em;
  margin-bottom: 1.2em;
  font-size: 1rem;
}
table th, table td {
  padding: 12px 16px;
  border: 1px solid #dae0e3;
  background: #fff;
}
thead th {
  background: #f5f7fa;
  color: #243748;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
}

/* LUXURY COLOR PALETTE */
:root {
  --primary: #243748;
  --secondary: #8CA3B2;
  --accent: #f5f7fa;
  --gold: #c2a558;
  --white: #fff;
  --black: #181c20;
  --error: #ef4444;
  --success: #128b50;
  --shadow: 0 4px 24px 0 rgba(36,55,72,0.12);
}

/* CONTAINERS & SECTIONS */
.container {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.text-section {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
}

/* BUTTONS */
.btn-primary, .btn-primary:visited {
  display: inline-block;
  background: var(--gold);
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 100px;
  padding: 14px 38px;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  margin-top: 12px;
  margin-bottom: 12px;
  box-shadow: 0 2px 12px rgba(194,165,88,0.14);
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
  text-align: center;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: #a88b37;
  color: var(--white);
  box-shadow: 0 6px 24px rgba(194,165,88,0.24);
}
.btn-secondary {
  display: inline-block;
  background: var(--primary);
  color: var(--gold);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  border: 1.5px solid var(--gold);
  border-radius: 100px;
  padding: 12px 34px;
  font-size: 1.05rem;
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 10px;
  background-clip: padding-box;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  outline: none;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--gold);
  color: var(--primary);
  border-color: var(--gold);
  box-shadow: 0 4px 14px rgba(36,55,72,0.11);
}

/* NAVBAR & HEADER */
header {
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(36,55,72,0.06);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 24px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.13s, color 0.13s;
}
header nav a:hover, header nav a:focus {
  background: var(--accent);
  color: var(--gold);
}
header nav a.btn-primary {
  padding: 8px 30px;
  margin-left: 16px;
}
header img {
  height: 42px;
  margin-right: 12px;
  vertical-align: middle;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  padding: 8px 14px;
  color: var(--primary);
  cursor: pointer;
  z-index: 52;
  border-radius: 8px;
  transition: background 0.12s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #ece5d8;
}
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0 0 0 0;
  background: rgba(36,55,72,0.93);
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.66,.01,.25,1);
  will-change: transform;
  flex-direction: column;
}
.mobile-menu.open {
  display: flex !important;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.3rem;
  color: var(--gold);
  align-self: flex-end;
  margin: 18px 22px 0 0;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 101;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff3c6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 40px 0 0 0;
  width: 100%;
  align-items: center;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 14px 42px;
  border-radius: 10px;
  text-align: center;
  background: transparent;
  transition: background 0.13s, color 0.13s, box-shadow 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #38312a;
  color: #fffcdc;
  box-shadow: 0 2px 16px rgba(194,165,88,0.07);
}

/* MAIN FLEX LAYOUTS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 300px;
  background: var(--white);
  border-radius: 15px;
  box-shadow: var(--shadow);
  padding: 28px 24px 26px 24px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 34px rgba(194,165,88,0.18);
  transform: translateY(-4px) scale(1.012);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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: var(--accent);
  border-left: 5px solid var(--gold);
  border-radius: 14px;
  color: #222;
  box-shadow: 0 2px 16px rgba(194,165,88,0.04);
  margin-bottom: 20px;
  transition: box-shadow 0.18s;
}
.testimonial-card p {
  color: #181c20;
  font-size: 1.09rem;
  font-style: italic;
  margin-bottom: 0;
  font-weight: 500;
}
.testimonial-card span {
  display: block;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* PROJECT SUMMARY GRID (for projekte.html) */
.project-summary-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  margin-bottom: 16px;
}
.project-summary-grid > div {
  flex: 1 1 270px;
  min-width: 250px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 26px 20px 18px 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s, transform 0.18s;
}
.project-summary-grid > div:hover {
  box-shadow: 0 6px 26px rgba(194,165,88,0.11);
  transform: translateY(-2px) scale(1.02);
}

/* CTA & SPECIAL SECTIONS */
.cta-section, .cta {
  background: linear-gradient(91deg, #f5f7fa 80%, #f3e6c8 100%);
  padding: 38px 20px;
  border-radius: 20px;
  box-shadow: 0 4px 18px rgba(194,165,88,0.09);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}


/* FEATURES LIST WITH ICONS */
ul li img,
ul li svg {
  height: 26px;
  width: 26px;
  margin-right: 12px;
  vertical-align: middle;
  display: inline-block;
}
ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 1.06rem;
  font-weight: 500;
}

/* DETAILS + SUMMARY */
details {
  background: var(--accent);
  border-radius: 10px;
  padding: 13px 16px;
  margin-bottom: 14px;
  box-shadow: 0 1px 6px rgba(194,165,88,0.05);
  color: #283C50;
}
details[open] {
  box-shadow: 0 4px 18px rgba(194,165,88,0.07);
}
summary {
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--gold);
  outline: none;
  margin-bottom: 8px;
}
details > div {
  padding: 8px 0;
  font-size: 1rem;
}

/* FOOTER */
footer {
  background: var(--primary);
  color: var(--white);
  padding-top: 32px;
  padding-bottom: 20px;
  margin-top: 60px;
  border-radius: 28px 28px 0 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 12px;
}
.footer-nav a {
  color: var(--gold);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 7px;
  transition: background 0.1s, color 0.1s;
}
.footer-nav a:hover {
  background: rgba(194,165,88,0.22);
  color: #fdfada;
}
.brand-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 7px;
}
.brand-footer img {
  height: 44px;
  margin-bottom: 5px;
}
.brand-footer span {
  font-size: 1.03rem;
  color: var(--secondary);
  font-family: 'Roboto', Arial, sans-serif;
}
.brand-footer small {
  color: #e9d8b8;
  font-size: 0.96rem;
  margin-top: 8px;
  letter-spacing: 0.03em;
}

/* SPACING & FLEX LAYOUTS */
.section:not(:last-child) {
  margin-bottom: 60px;
}
.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;
}

/* TABLES (Comparison, etc.) */
table th, table td {
  border-radius: 0;
}
table tr:first-child th:first-child {
  border-top-left-radius: 8px;
}
table tr:first-child th:last-child {
  border-top-right-radius: 8px;
}
table tr:last-child td:first-child {
  border-bottom-left-radius: 8px;
}
table tr:last-child td:last-child {
  border-bottom-right-radius: 8px;
}

/* ANIMATIONS */
.btn-primary, .btn-secondary, .card, .testimonial-card, .mobile-menu, .mobile-nav a, .mobile-menu-close, .mobile-menu-toggle {
  transition: all 0.19s cubic-bezier(.55,.21,.47,.88);
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 103;
  background: var(--white);
  border-top: 3px solid var(--gold);
  box-shadow: 0 -6px 32px rgba(36,55,72,0.15);
  padding: 26px 22px 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.01rem;
  letter-spacing: 0.01em;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.25s cubic-bezier(.66,.01,.25,1), opacity 0.16s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-banner .btn-accept {
  background: var(--gold);
  color: var(--primary);
  border-radius: 100px;
  border: none;
  padding: 9px 25px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 2px 6px rgba(194,165,88,0.08);
  transition: color 0.14s, background 0.14s;
}
.cookie-banner .btn-accept:hover, .cookie-banner .btn-accept:focus {
  background: #a88b37;
  color: var(--white);
}
.cookie-banner .btn-reject {
  background: var(--primary);
  color: var(--gold);
  border-radius: 100px;
  border: 1px solid var(--gold);
  padding: 9px 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.14s, background 0.14s;
}
.cookie-banner .btn-reject:hover, .cookie-banner .btn-reject:focus {
  background: #263d55;
  color: #ffe08a;
}
.cookie-banner .btn-settings {
  background: transparent;
  color: var(--primary);
  border-radius: 100px;
  border: 1px solid #dae0e3;
  padding: 9px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.13s, background 0.13s, border 0.1s;
}
.cookie-banner .btn-settings:hover, .cookie-banner .btn-settings:focus {
  background: #f8edcd;
  color: var(--gold);
  border: 1px solid var(--gold);
}

/* COOKIE MODAL */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(36,55,72,0.89);
  z-index: 104;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.21s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: var(--white);
  border-radius: 21px;
  box-shadow: 0 10px 44px rgba(194,165,88,0.16);
  max-width: 390px;
  padding: 34px 28px 18px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  min-width: 250px;
}
.cookie-modal h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 17px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: var(--gold);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid #ece5d8;
}
.cookie-modal .cookie-category label {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 500;
}
.cookie-modal .cookie-switch {
  width: 44px;
  height: 24px;
  position: relative;
  display: inline-block;
}
.cookie-modal .cookie-switch input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-modal .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #dae0e3;
  border-radius: 100px;
  transition: background 0.16s;
}
.cookie-modal .cookie-switch input:checked + .slider {
  background: var(--gold);
}
.cookie-modal .slider:before {
  position: absolute;
  content: '';
  height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(36,55,72,0.12);
  transition: transform 0.16s;
}
.cookie-modal .cookie-switch input:checked + .slider:before {
  transform: translateX(20px);
}
.cookie-modal .cookie-category.essential label {
  color: var(--secondary);
}
.cookie-modal .cookie-category.essential .slider {
  background: #d7cea9;
}
.cookie-modal .cookie-category.essential .slider:before {
  background: var(--gold);
}
.cookie-modal .cookie-category.essential .cookie-switch input:checked + .slider {
  background: #d7cea9;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding-top: 10px;
}
.cookie-modal .cookie-actions .btn-accept,
.cookie-modal .cookie-actions .btn-reject {
  padding: 8px 22px;
  font-size: 1rem;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1050px) {
  .container {
    max-width: 98vw;
  }
  .project-summary-grid {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .section {
    padding: 32px 8px;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .content-wrapper {
    gap: 20px;
  }
  .project-summary-grid > div {
    padding: 19px 12px 12px 12px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  h1 {
    font-size: 2rem;
  }
  .container {
    padding-left: 6px;
    padding-right: 6px;
  }
  .section {
    padding: 28px 2vw;
    border-radius: 12px;
    margin-bottom: 44px;
  }
  .content-wrapper, .card-container, .content-grid, .footer-nav, .project-summary-grid {
    flex-direction: column;
    align-items: stretch !important;
    gap: 16px;
  }
  .project-summary-grid > div {
    min-width: 180px;
    width: 100%;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-nav {
    gap: 12px;
    flex-wrap: wrap;
  }
  .brand-footer{
    gap: 4px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 9px;
    padding: 13px;
    align-items: flex-start;
  }
  .feature-item {
    gap: 9px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .cta-section {
    padding: 22px 2vw;
    border-radius: 13px;
  }
  .cookie-banner {
    flex-direction: column;
    padding: 17px 8px 14px 8px;
    font-size: 0.99rem;
    align-items: flex-start;
    gap: 10px;
  }
  .cookie-banner .cookie-btns {
    flex-direction: row;
    gap: 7px;
  }
  .cookie-modal {
    min-width: 0;
    width: 90vw;
    max-width: 96vw;
    padding: 18px 9px 12px 19px;
  }
}
@media (max-width: 540px) {
  h1 {font-size: 1.45rem;}
  h2 {font-size: 1.15rem;}
  h3 {font-size: 1rem;}
  .section, .cta-section, .card, .testimonial-card {
    padding-left: 2vw;
    padding-right: 2vw;
  }
  .btn-primary, .btn-secondary, .cookie-banner .btn-accept, .cookie-banner .btn-reject, .cookie-banner .btn-settings {
    font-size: 0.99rem;
    padding: 8px 13px;
  }
  footer {
    border-radius: 16px 16px 0 0;
    padding-top: 22px;
    padding-bottom: 10px;
  }
  .brand-footer img {
    height: 30px;
  }
}

/* LUXURY PREMIUM DETAILS */
.section, .card, .testimonial-card, .cta-section, .project-summary-grid > div {
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(36,55,72,0.11);
}
.section, .card, .testimonial-card, .cta-section {
  border: 1px solid #efe7ce;
}
.card:before, .testimonial-card:before {
  content: '';
  display: none; /* Can be enabled for extra gold accent dotted top border */
}
h1, h2, h3 {
  color: var(--primary);
  text-shadow: 0px 1.5px 0 #f5f1e8;
}
.btn-primary, .btn-secondary {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.btn-primary {
  box-shadow: 0 2px 18px 2px rgba(194,165,88,.10);
  border: 2px solid transparent;
}
.btn-primary:focus {
  border: 2px solid var(--primary);
}

/* FOCUS RINGS FOR ACCESSIBILITY */
:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.header nav a:active, .footer-nav a:active, .mobile-nav a:active {
  color: #a88b37;
}

/* HIDE SCROLL ON MOBILE MENU OPEN */
body.menu-open {
  overflow: hidden;
}

/* MISC UTILITIES */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
}

/* END OF LUXURY PREMIUM CSS */