/* ===== CSS RESET & NORMALIZE ===== */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, dl, dd {
  margin: 0;
}
ul, ol {
  list-style: none;
  padding: 0;
}
img {
  max-width: 100%;
  height: auto;
  border-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
button, input, textarea, select {
  font: inherit;
  border: none;
  background: none;
  appearance: none;
  outline: none;
  color: inherit;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #F4F1EE;
  color: #232320;
  line-height: 1.6;
  min-height: 100vh;
}

/* ===== BRAND COLORS & FONTS ===== */
:root {
  --color-primary: #264653;
  --color-secondary: #F4F1EE;
  --color-accent: #328273;
  --color-gold: #C9A65B;
  --color-black: #141414;
  --color-white: #ffffff;
  --color-grey: #7B858B;

  --font-display: 'Montserrat', 'Arial', sans-serif;
  --font-body: 'Roboto', 'Arial', sans-serif;

  --shadow-card: 0 4px 24px 0 rgba(38,70,83,0.09), 0 1.5px 6px 0 rgba(38,70,83,0.03);
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
}

/* ===== TYPOGRAPHY ===== */
h1, .h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.7rem;
  line-height: 1.16;
  color: var(--color-primary);
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.22;
  color: var(--color-black);
  margin-bottom: 18px;
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}
h4, .h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-black);
}
p, ul, ol {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-black);
  margin-bottom: 14px;
}
strong {
  font-weight: bold;
  color: var(--color-primary);
}

.text-section ul{
  padding-left: 20px;
  margin-bottom: 16px;
}
.text-section ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
}
.text-section ul li:before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--color-gold);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 7px;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 18px;
}
.steps-list li {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: 0 1px 4px rgba(38,70,83,0.05);
  padding: 11px 16px;
  margin-bottom: 0px;
}
.steps-list img {
  width: 28px;
  height: 28px;
  vertical-align: middle;
}

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}

.content-wrapper {
  width: 100%;
  margin-top: 0;
  margin-bottom: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  position: relative;
}
@media (max-width: 768px) {
  .section {
    padding: 26px 7px;
    margin-bottom: 34px;
  }
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: var(--color-white);
  box-shadow: 0 2px 18px 0 rgba(38,70,83,0.09);
  width: 100%;
  position: sticky;
  z-index: 1001;
  top: 0;
  display: flex;
  align-items: center;
  padding: 0 18px;
  min-height: 70px;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  height: 54px;
}
.logo img {
  height: 42px;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--color-primary);
  position: relative;
  padding: 4px 12px;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-gold);
  text-shadow: 0 1px 6px rgba(38,70,83,0.10);
}
.cta-btn.primary {
  background: var(--color-gold);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  padding: 11px 28px;
  border-radius: 28px;
  margin-left: 18px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(38,70,83,0.14);
  border: none;
  transition: background 0.22s, color .22s, box-shadow 0.22s;
  outline: none;
  position: relative;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: #b99651;
  color: #fff9ec;
  box-shadow: 0 4px 18px 0 rgba(38,70,83,0.18);
}
.cta-btn.secondary {
  background: var(--color-secondary);
  color: var(--color-primary);
  border: 1px solid var(--color-gold);
  padding: 10px 24px;
  border-radius: 27px;
  font-weight: 500;
  font-family: var(--font-display);
  font-size: 1rem;
  margin-top: 13px;
  transition: all 0.18s;
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: var(--color-gold);
  color: var(--color-white);
}
.cta-link {
  font-family: var(--font-display);
  color: var(--color-accent);
  font-weight: 600;
  margin-top: 9px;
  display: inline-block;
  position: relative;
  transition: color .18s;
}
.cta-link:after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 1px;
  background: var(--color-accent);
  margin-left: 8px;
  vertical-align: middle;
  transition: background 0.2s;
}
.cta-link:hover, .cta-link:focus {
  color: var(--color-gold);
}
.cta-link:hover:after, .cta-link:focus:after {
  background: var(--color-gold);
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 16px;
  }
  .cta-btn.primary {
    margin-left: 7px;
    padding: 11px 18px;
  }
}

/* ========== MOBILE MENU ========== */
.mobile-menu-toggle {
  display: none;
  background: var(--color-gold);
  color: var(--color-white);
  font-size: 2.2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  margin-left: 14px;
  transition: background .18s, color .18s, box-shadow .22s;
  z-index: 1101;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #b99651;
  color: #fffbea;
}
@media (max-width: 950px) {
  .main-nav, .cta-btn.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(38,70,83,0.89);
  color: var(--color-white);
  z-index: 2000;
  transform: translateX(-100vw);
  transition: transform 0.31s cubic-bezier(.68,-0.55,.27,1.55);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-gold);
  font-size: 2.2rem;
  align-self: flex-end;
  cursor: pointer;
  margin-top: 26px;
  margin-right: 32px;
  transition: color .18s;
  outline: none;
  z-index: 2021;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 19px;
  padding: 40px 42px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.26rem;
  color: var(--color-white);
  padding: 15px 0;
  border-bottom: 1px solid rgba(201,166,91,0.17);
  width: 100%;
  font-weight: 500;
  transition: color .19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-gold);
}

@media (max-width: 500px) {
  .mobile-nav {
    padding: 25px 7vw;
  }
  .mobile-menu-close {
    font-size: 2rem;
    margin-right: 8vw;
    margin-top: 14px;
  }
}

/* ========== HERO SECTION ========== */
.hero-section {
  background: linear-gradient(104deg, #F9F7F4 62%, #fff7e2 100%);
  border-bottom: 2px solid #e5dbce;
  margin-bottom: 0;
  padding: 60px 0 40px 0;
}
.hero-section .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.hero-section .content-wrapper {
  max-width: 670px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-section h1 {
  color: var(--color-primary);
  font-size: 2.65rem;
  margin-bottom: 18px;
  line-height: 1.13;
}
.hero-section p {
  font-size: 1.16rem;
  color: var(--color-black);
  margin-bottom: 32px;
}
.hero-section .cta-btn {
  font-size: 1.17rem;
  min-width: 240px;
}
@media (max-width: 700px) {
  .hero-section {
    padding: 34px 0 24px 0;
  }
  .hero-section h1 {
    font-size: 1.7rem;
  }
  .hero-section p {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  .hero-section .cta-btn {
    min-width: 170px;
  }
}

/* ===== FEATURE GRID & CARDS ===== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 18px;
  margin-bottom: 0;
  justify-content: space-between;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 30px 23px 23px 23px;
  gap: 15px;
  min-width: 210px;
  flex: 1 0 230px;
  border: 1.5px solid #eee7db;
  transition: box-shadow 0.19s, border 0.18s;
  margin-bottom: 20px;
  position: relative;
}
.feature-item img {
  width: 45px;
  height: 45px;
  margin-bottom: 13px;
  filter: brightness(1.1) drop-shadow(0 2px 4px rgba(38,70,83,.11));
}
.feature-item h3, .feature-item h2 {
  margin-bottom: 4px;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.16rem;
}
.feature-item p {
  font-size: 0.97rem;
  color: var(--color-black);
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 7px 36px 0 rgba(38,70,83,0.17);
  border: 1.7px solid var(--color-gold);
}

@media (max-width: 900px) {
  .feature-grid {
    gap: 15px;
  }
  .feature-item {
    min-width: 165px;
    flex: 1 0 46%;
  }
}
@media (max-width: 600px) {
  .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .feature-item {
    min-width: 0;
    flex: 1 0 100%;
    padding: 21px 12px 13px 13px;
  }
}

/* ===== CARDS (Generic) ===== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  padding: 26px 18px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* ===== TEXT & IMAGE SECTIONS ===== */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

.text-section {
  margin-bottom: 24px;
}
.text-section > *:last-child {
  margin-bottom: 0;
}

/* ===== TESTIMONIALS ===== */
.testimonials-preview, .testimonial-card {
  background: none;
  border: none;
  box-shadow: none;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  border-left: 6px solid var(--color-gold);
  padding: 20px 26px 22px 24px;
  margin-bottom: 24px;
  transition: box-shadow .19s, border-color .16s;
  font-size: 1.08rem;
}
.testimonial-card p {
  color: var(--color-black);
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.4;
}
.testimonial-card strong {
  color: var(--color-primary);
}
.testimonial-card img {
  width: 21px;
  height: 21px;
  vertical-align: middle;
  margin-left: 3px;
  margin-right: 2px;
}
.testimonial-card div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: var(--color-primary);
  margin-top: 0;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 7px 32px 0 rgba(38,70,83,0.14);
  border-left: 6px solid #e7c97d;
}
@media (max-width: 700px) {
  .testimonial-card {
    padding: 14px 12px 15px 11px;
    font-size: 1rem;
  }
}

/* ===== PROJECTS (Galerie) ===== */
.project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 27px;
  margin-top: 17px;
  margin-bottom: 0;
}
.project-item {
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  border-radius: 15px;
  padding: 30px 20px 18px 20px;
  border-left: 5px solid var(--color-accent);
  flex: 1 0 335px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow .19s, border-color .17s;
}
.project-item h3 {
  color: var(--color-primary);
  margin-bottom: 10px;
}
.project-item ul li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
  margin-right: 7px;
}
.project-item:hover {
  box-shadow: 0 8px 32px 0 rgba(50,130,115,0.07);
  border-left: 5px solid var(--color-gold);
}
@media (max-width: 768px) {
  .project-list {
    flex-direction: column;
    gap: 16px;
  }
  .project-item {
    flex: 1 0 96%;
    padding: 16px 7px 11px 13px;
  }
}

/* ===== FOOTER ===== */
footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 34px 0 16px 0;
  width: 100%;
  font-size: 0.99rem;
  box-shadow: 0 -2px 20px rgba(38,70,83,0.07);
  margin-top: 70px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-nav a {
  color: var(--color-white);
  opacity: .82;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  transition: opacity 0.18s, color .15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-gold);
  opacity: 1;
}
.footer-contact {
  text-align: center;
  font-size: 0.97rem;
  opacity: .93;
  line-height: 1.5;
}
@media (max-width: 670px) {
  .footer-nav {
    gap: 16px;
  }
  .footer-contact {
    font-size: 0.89rem;
  }
}

/* ===== BUTTONS & LINKS ===== */
button, .cta-btn, .cta-link {
  cursor: pointer;
  transition: all .17s;
}
button:focus-visible, a:focus-visible, .cta-btn:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

/* ===== LEGAL SECTIONS ===== */
.legal-section {
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  margin-bottom: 60px;
  padding: 44px 31px;
}
@media (max-width: 768px) {
  .legal-section {
    padding: 19px 7px;
    margin-bottom: 32px;
  }
}

/* ===== VISIT/CTA & MODALS ===== */
.cta-section, .consultation-cta, .contact-cta, .visit-cta {
  background: var(--color-secondary);
  border-radius: 15px;
  box-shadow: var(--shadow-card);
  padding: 40px 15px;
  margin-bottom: 54px;
  text-align: center;
}
@media (max-width: 700px) {
  .cta-section, .consultation-cta, .contact-cta, .visit-cta {
    padding: 17px 5px;
    margin-bottom: 32px;
    border-radius: 10px;
  }
}

/* ===== GENERAL RESPONSIVENESS ===== */
@media (max-width: 1024px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
}
@media (max-width: 600px) {
  .container {
    max-width: 100vw;
    padding: 0 2px;
  }
  body {
    font-size: 15px;
  }
}

/* ===== KARTEN-PLACEHOLDER ===== */
.karte-placeholder {
  background: #F4EFD4;
  border: 1px solid #e6dbbd;
  border-radius: 13px;
  padding: 16px 13px;
  margin-bottom: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.karte-placeholder img {
  width: 27px;
  height: 27px;
}

/* ===== TRANSITIONS FOR CARDS ===== */
.card, .feature-item, .testimonial-card, .project-item {
  transition: box-shadow .24s, border .19s;
}

/* ====== COOKIE CONSENT BANNER ====== */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0; width: 100vw;
  background: var(--color-white);
  color: var(--color-black);
  box-shadow: 0 -4px 20px rgba(38,70,83,0.09);
  padding: 24px 16px 22px 16px;
  z-index: 3000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  justify-content: center;
  font-size: 0.98rem;
  animation: cookieFadeIn .45s cubic-bezier(.23,1.15,.72,1) 1;
}
@media (max-width: 650px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 17px 6px;
    font-size: 0.95rem;
  }
}
@keyframes cookieFadeIn {
  from { opacity: 0; transform: translateY(70px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-btn {
  font-family: var(--font-display);
  padding: 9px 22px;
  font-size: 1rem;
  margin-right: 11px;
  border-radius: 23px;
  margin-bottom: 0;
  margin-top: 0;
  box-shadow: 0 2px 8px rgba(201,166,91,0.09);
  border: none;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow .18s;
}
.cookie-banner .accept {
  background: var(--color-gold);
  color: var(--color-white);
  font-weight: 600;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #b99651;
}
.cookie-banner .reject {
  background: #e5e1dc;
  color: #856d2a;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #dad3be;
  color: #7a6322;
}
.cookie-banner .settings {
  background: var(--color-white);
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--color-gold);
  color: var(--color-white);
}

/* ===== COOKIE SETTINGS MODAL ===== */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(38,70,83,0.65);
  z-index: 3010;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.29s;
}
.cookie-modal {
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: 0 6px 36px rgba(38,70,83,0.16);
  max-width: 430px;
  width: 91vw;
  padding: 34px 33px 28px 33px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: modalSlideIn .44s cubic-bezier(.57,1.31,.58,1.07) 1;
}
@media (max-width:600px) {
  .cookie-modal {
    padding: 15px 7px 14px 8px;
    border-radius: 13px;
    max-width: 97vw;
  }
}
@keyframes modalSlideIn {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.22rem;
  margin-bottom: 8px;
  color: var(--color-primary);
  font-family: var(--font-display);
}
.cookie-categories {
  margin: 16px 0 21px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-gold);
  width: 21px;
  height: 21px;
  cursor: pointer;
}
.cookie-category .cookie-essential {
  color: #6a6827;
  font-weight: bold;
  font-size: 0.98rem;
}
.cookie-modal .cookie-btn {
  margin-top: 11px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 14px;
  right: 26px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--color-gold);
  cursor: pointer;
  z-index: 2;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: var(--color-primary);
}

/* ===== MISC ===== */
::-webkit-scrollbar {
  width: 8px;
  background: #edece9;
}
::-webkit-scrollbar-thumb {
  background: #d1c2a6;
  border-radius: 8px;
}

/* ===== UTILITY FLEX CLASSES ===== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
}
.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;
}

/* ===== FOCUS INDICATION ===== */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
  z-index: 22;
}

/* ===== MICROS & INTERACTION ===== */
.card, .feature-item, .testimonial-card, .project-item {
  will-change: box-shadow, border-color;
}

/* ===== KEY VISUAL GOLD ACCENTS ===== */
.feature-item::after,
.cta-btn.primary::after,
.hero-section .cta-btn::after,
.card::after {
  /* Decorative gold lines or dots; not essential visually for accessibility. */
  content: '';
  display: none;
}

/* ===== END OF STYLE.CSS ===== */