/* ===================================================
   CSS RESET & BASE STYLES (Normalize + Reset)
   =================================================== */
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;
}
body {
  line-height: 1;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  background: #F7F7F7;
  color: #222;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
ol, ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}
input, textarea, select, button {
  font-family: inherit;
}

/* ===================================================
   VARIABLES: Brand / Monochrome Sophisticated Palette
   =================================================== */
:root {
  --primary: #25323A;
  --secondary: #8E6439;
  --accent: #EAE6DF;
  --white: #fff;
  --black: #181A1B;
  --gray-light: #F7F7F7;
  --gray: #BDBDBD;
  --gray-mid: #959595;
  --shadow: rgba(37,50,58,0.09);
  --shadow-dark: rgba(24,26,27,0.19);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Source Sans Pro', Arial, Helvetica, sans-serif;
}

/* ===================================================
   TYPOGRAPHY
   =================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}
h1 {
  font-size: 2.4rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.75rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  color: var(--black);
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, li, span, label {
  font-family: var(--font-body);
  font-size: 1.05rem;
  margin-bottom: 16px;
  line-height: 1.66;
}
strong {
  font-weight: 700;
}

/* Typography Responsive */
@media (max-width: 700px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.30rem; }
  h3 { font-size: 1.065rem; }
}

/* ===================================================
   GLOBAL CONTAINER & LAYOUT
   =================================================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 700px) {
  .section { padding: 28px 6px; margin-bottom: 32px; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: 13px;
  box-shadow: 0 2px 12px var(--shadow);
  padding: 28px 28px 22px 28px;
  min-width: 250px;
  color: var(--black);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 28px var(--shadow-dark);
  transform: translateY(-5px) scale(1.016);
}

/* Grid-like flex container, using flex only */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
@media (max-width: 900px) {
  .content-grid { flex-direction: column; gap: 20px; }
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 22px; }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding-bottom: 14px;
}
@media (max-width: 600px) {
  .feature-item { gap: 10px; }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--accent);
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px var(--shadow);
  flex-direction: column;
  min-width: 240px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card p {
  color: var(--black);
  font-size: 1.08rem;
  font-style: italic;
  font-family: var(--font-display);
  margin-bottom: 8px;
}
.testimonial-card span {
  color: var(--primary);
  font-size: 1rem;
  letter-spacing: 0.01em;
  font-weight: 600;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px var(--shadow-dark);
  transform: scale(1.01) translateY(-2px);
}

/* ===================================================
   HEADER & NAVIGATION
   =================================================== */
header {
  width: 100%;
  background: var(--white);
  box-shadow: 0 1px 12px var(--shadow);
  position: sticky;
  top: 0;
  z-index: 20;
  padding-top: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 16px;
}
header nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin-right: 24px;
}
header nav a {
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 7px 0;
  border-bottom: 2px solid transparent;
  transition: border 0.16s, color 0.13s;
  position: relative;
}
header nav a:hover,
header nav a:focus {
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
}
header img {
  height: 42px;
  width: auto;
}

.cta-primary {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0.7em 1.5em;
  background: var(--primary);
  color: var(--white);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.09rem;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px var(--shadow);
  outline: none;
  border: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.19s, transform 0.17s;
}
.cta-primary:hover, .cta-primary:focus {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 6px 14px var(--shadow-dark);
  transform: translateY(-2px) scale(1.03);
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .cta-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    font-size: 2.1rem;
    color: var(--primary);
    background: none;
    border: none;
    padding: 6px 11px;
    border-radius: 9px;
    transition: background 0.15s;
    z-index: 40;
    position: absolute;
    top: 18px;
    right: 32px;
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: var(--accent);
    color: var(--secondary);
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: var(--white);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.9,.03,.55,1), box-shadow 0.3s;
  z-index: 110;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 26px 22px 26px;
  box-shadow: 0 0 0px var(--shadow-dark);
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 8px 24px var(--shadow-dark);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  color: var(--primary);
  margin-bottom: 12px;
  background: none;
  border-radius: 8px;
  padding: 5px 9px;
  transition: background 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 1.13rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-light);
  transition: color 0.15s;
}
.mobile-nav a:active,
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  background: var(--gray-light);
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* Backdrop for mobile menu */
.mobile-menu-backdrop {
  content: '';
  display: none;
  position: fixed;
  inset: 0;
  z-index: 109;
  background: rgba(24,26,27,0.21);
  pointer-events: auto;
}
.mobile-menu.open ~ .mobile-menu-backdrop {
  display: block;
}

/* ===================================================
   HERO SECTIONS & GLOBAL SECTION STYLING
   =================================================== */
.hero {
  background: var(--white);
  box-shadow: 0 2px 28px var(--shadow-dark);
  border-radius: 0 0 22px 22px;
  padding: 66px 0 36px 0;
  margin-bottom: 50px;
  min-height: 180px;
  width: 100%;
}
.hero .container {
  justify-content: center;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.7rem;
  margin-bottom: 14px;
}
.hero p {
  color: var(--gray-mid);
  font-family: var(--font-body);
  font-size: 1.25rem;
  max-width: 650px;
  margin-bottom: 16px;
}
@media (max-width: 700px) {
  .hero {
    padding: 36px 0 18px 0;
    margin-bottom: 28px;
  }
  .hero h1 {
    font-size: 1.45rem;
  }
  .hero p {
    font-size: 1.08rem;
  }
}

/* ===================================================
   LISTS, FEATURES, STEPS & ICONS
   =================================================== */
.content-wrapper ul, .content-wrapper ol {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  margin-bottom: 18px;
  padding-left: 0;
}
.content-wrapper ul li, .content-wrapper ol li {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--primary);
  background: var(--gray-light);
  border-radius: 9px;
  padding: 11px 19px 11px 14px;
  font-size: 1.03rem;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 5px var(--shadow);
  font-family: var(--font-body);
}
.content-wrapper ul li img, .content-wrapper ol li img {
  height: 29px;
  width: 29px;
  object-fit: contain;
  margin-right: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px var(--shadow);
}
.content-wrapper ol {
  counter-reset: steps;
}
.content-wrapper ol li {
  position: relative;
  padding-left: 36px;
}
.content-wrapper ol li:before {
  counter-increment: steps;
  content: counter(steps) '.';
  position: absolute;
  left: 8px;
  top: 12px;
  font-weight: 800;
  color: var(--secondary);
  font-size: 1.1rem;
  font-family: var(--font-display);
}
@media (max-width: 700px){
  .content-wrapper ul li, .content-wrapper ol li {
    font-size: 0.97rem;
    padding: 9px 11px 9px 10px;
    gap: 10px;
  }
  .content-wrapper ul, .content-wrapper ol {
    gap: 10px;
  }
}

/* ===================================================
   CTA BUTTONS & LINKS
   =================================================== */
.cta-primary,
button.cta-primary {
  min-width: 170px;
  min-height: 42px;
  margin-top: 4px;
}

a.cta-primary:focus-visible {
  outline: 2px dashed var(--secondary);
}

/* Inline secondary link style (for forms, cookie banner, etc.) */
.cta-secondary {
  padding: 0.5em 1em;
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.03rem;
  margin-left: 12px;
  transition: background 0.18s, color 0.15s, border 0.15s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--primary);
  color: #fff;
  border: 1.5px solid var(--primary);
}

/* ===================================================
   FORMS (if needed in footer/CTA/future)
   =================================================== */
input, textarea, select {
  background: #fff;
  color: var(--primary);
  border-radius: 8px;
  border: 1.5px solid var(--gray);
  font-size: 1.07rem;
  padding: 12px 14px;
  margin-bottom: 16px;
  outline: none;
  box-sizing: border-box;
  font-family: var(--font-body);
  transition: border 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
}
label {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 7px;
}

/* ===================================================
   CARDS & REUSABLE UI
   =================================================== */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}

/* Gallery or CardGrid style, flex-only */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
@media (max-width: 800px) {
  .card-grid{
    flex-direction: column;
    gap: 18px;
  }
}

/* ===================================================
   FOOTER
   =================================================== */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 38px 0 18px 0;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding: 0 20px;
}
footer a {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.01rem;
  margin-right: 20px;
  font-weight: 500;
  transition: color 0.13s;
}
footer a:hover, footer a:focus {
  color: var(--secondary);
  text-decoration: underline;
}
footer img {
  height: 36px;
  margin-bottom: 20px;
}
.footer-contact p {
  margin-bottom: 3px;
  font-size: .98rem;
  opacity: 0.82;
}
@media (max-width: 700px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 0 10px;
  }
  .footer-contact p {
    font-size: .93rem;
  }
}

/* ===================================================
   LOCATION MAP - Kontaktseite
   =================================================== */
.location-map {
  background: var(--accent);
  color: var(--primary);
  border-radius: 9px;
  padding: 13px 15px;
  margin-top: 10px;
  margin-bottom: 18px;
  font-size: 1.01rem;
  box-shadow: 0 1.5px 6px var(--shadow);
}
.location-map strong {
  color: var(--secondary);
  font-weight: 700;
}

/* ===================================================
   COOKIE CONSENT BANNER
   =================================================== */
#cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: var(--primary);
  color: var(--white);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px;
  box-shadow: 0 -2px 22px var(--shadow-dark);
  min-height: 75px;
  gap: 20px;
  animation: slideInCookie 0.62s cubic-bezier(.8,.2,.42,1);
}
@media (max-width: 600px) {
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 10px;
    gap: 14px;
  }
}
#cookie-banner p {
  color: var(--white);
  font-size: 1.03rem;
  max-width: 600px;
  margin-bottom: 0;
}
#cookie-banner .cookie-btn-group {
  display: flex;
  gap: 13px;
}
.cookie-btn {
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.01rem;
  padding: 0.47em 1.3em;
  border: none;
  outline: none;
  margin-right: 4px;
  transition: background 0.18s, color 0.18s, box-shadow 0.16s;
  box-shadow: 0 1px 4px var(--shadow);
}
.cookie-btn.accept {
  background: var(--secondary);
  color: var(--white);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--accent);
  color: var(--primary);
}
.cookie-btn.reject {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--primary);
  color: #fff;
}
.cookie-btn.settings {
  background: #fff;
  color: var(--secondary);
  border: 1.5px solid var(--secondary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--accent);
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
@keyframes slideInCookie {
  0% { transform: translateY(110%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Cookie Settings Modal */
#cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(24,26,27,0.53);
  animation: fadeSlideIn 0.4s cubic-bezier(.84,.09,.43,1);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
#cookie-modal.open {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
}
@keyframes fadeSlideIn {
  0% { opacity: 0; transform: translateY(42px); }
  100% { opacity: 1; transform: none; }
}
.cookie-modal-dialog {
  background: var(--white);
  color: var(--black);
  border-radius: 17px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 4px 38px var(--shadow-dark);
  padding: 35px 30px 18px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-dialog h2 {
  color: var(--primary);
  margin-bottom: 10px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 18px;
  font-size: 1.6rem;
  color: var(--gray-mid);
  background: none;
  border: none;
  border-radius: 8px;
  padding: 2px 7px;
  transition: background 0.15s;
  z-index: 5;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--accent);
}
.cookie-settings-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 9px;
}
.cookie-settings-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 20px;
  border-radius: 13px;
  background: var(--gray);
  position: relative;
  outline: none;
  cursor: pointer;
  margin-right: 2px;
  transition: background 0.16s;
}
.cookie-toggle:checked {
  background: var(--secondary);
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.21s cubic-bezier(.7,.01,.17,1);
}
.cookie-toggle:checked:before {
  transform: translateX(16px);
}
.cookie-settings-label {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0;
}
.cookie-always {
  color: var(--gray-mid);
  font-size: 0.94rem;
  margin-left: 10px;
}

/* ===================================================
   ACCESSIBILITY & MISC
   =================================================== */
:focus {
  outline: 2px dashed var(--secondary);
  outline-offset: 2px;
}

hr {
  border: none;
  border-top: 1px solid var(--gray);
  margin: 20px 0;
}
::-webkit-selection, ::selection {
  background: var(--secondary);
  color: var(--white);
}

/* ===================================================
   OVERRIDES FOR MONOCHROME SOPHISTICATED
   =================================================== */
body {
  background: #F7F7F7;
  color: var(--black);
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 680px) {
  section { padding: 22px 6px; margin-bottom: 30px; }
}

/* Visual hierarchy for h1/h2 (dramatic contrast) */
h1, h2 {
  text-shadow: 0 2px 0 rgba(37,50,58,0.05);
}
h2 {
  border-left: 5px solid var(--secondary);
  padding-left: 14px;
}

/* Blockquote for testimonials (if used) */
blockquote {
  border-left: 4px solid var(--secondary);
  margin: 0 0 20px 0;
  padding-left: 16px;
  color: var(--primary);
  font-style: italic;
  background: var(--accent);
}

/* ==============================================
   ENSURE NO GRID/COLUMNS USED: (lint check)
   ============================================== */
/* No display: grid, grid-*, columns, column-*, break-inside, etc. used. */
