/* -------------------------------------------------
   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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #fff;
  color: #181818;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  min-height: 100vh;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}

/* -------------------------------------------------
   BRAND VARIABLES (Fallbacks included)
---------------------------------------------------*/
:root {
  --color-primary: #181818;
  --color-secondary: #B89B5E;
  --color-accent: #F5F5F5;
  --color-border: #E2E2E2;
  --color-bg-section: #fff;
  --color-bg-alt: #fafafa;
  --color-dark: #191919;
  --color-light: #fff;
  --color-gray: #878787;
  --color-midgray: #c5c8d1;
  --shadow-xs: 0 2px 8px rgba(32,34,36,0.07);
  --shadow: 0 4px 24px rgba(28,30,45,0.11);
  --radius: 12px;
  --radius-sm: 6px;
  --font-display: 'Merriweather', serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

/* -------------------------------------------------
   TYPOGRAPHY (Monochrome Sophisticated)
---------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
  color: #181818;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}
h4 {
  font-size: 1.125rem;
}
p, ul, ol, address {
  font-size: 1rem;
  font-family: var(--font-body);
  margin-bottom: 18px;
}
ul {
  margin-left: 0;
  padding-left: 0;
}
ul li {
  margin-bottom: 12px;
  padding-left: 0.25em;
  position: relative;
}
ul li strong {
  font-weight: 700;
  color: var(--color-primary);
}
blockquote {
  font-family: var(--font-display);
  font-style: italic;
  color: #242424;
  background: var(--color-bg-alt);
  border-left: 4px solid var(--color-secondary);
  padding: 18px 24px 18px 24px;
  margin: 18px 0;
  border-radius: var(--radius-sm);
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; margin-bottom: 16px; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.125rem; }
  p, ul, ol, address { font-size: 0.975rem; }
}

/* -------------------------------------------------
   LAYOUT UTILITIES
---------------------------------------------------*/
.container {
  width: 100%;
  max-width: 1096px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-section);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
}

@media (max-width: 960px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .section {
    padding: 30px 10px;
    margin-bottom: 40px;
  }
}
@media (max-width: 600px) {
  .container {
    padding-left: 5px;
    padding-right: 5px;
  }
  .section {
    padding: 18px 0;
    margin-bottom: 32px;
    border-radius: var(--radius-sm);
  }
}

/* -------------------------------------------------
   NAVIGATION & HEADER
---------------------------------------------------*/
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-light);
  padding: 18px 24px;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
  z-index: 60;
  position: sticky;
  top: 0;
}
.logo img {
  height: 38px;
  width: auto;
  display: block;
}
nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
nav a {
  font-family: var(--font-body);
  font-weight: 500;
  color: #222;
  opacity: 0.94;
  letter-spacing: 0.01em;
  font-size: 1.05em;
  padding: 4px 2px;
  transition: color 0.2s, opacity 0.2s;
  position: relative;
}
nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: width 0.26s cubic-bezier(.4,.8,.6,1.2);
  position: absolute;
  left: 0;
  bottom: 0;
}
nav a:hover, nav a:focus {
  color: var(--color-primary);
  opacity: 1;
}
nav a:hover::after, nav a:focus::after {
  width: 100%;
}
nav a.active {
  color: var(--color-secondary);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-light);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1.125rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 10px 32px;
  margin-left: 24px;
  letter-spacing: 0.02em;
  box-shadow: 0 3px 16px rgba(24,24,24,0.06);
  transition: background 0.22s, color 0.22s, box-shadow 0.19s;
  display: inline-block;
  cursor: pointer;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-secondary);
  color: var(--color-dark);
  box-shadow: 0 6px 36px rgba(24,24,24,0.14);
}

@media (max-width: 1020px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 10px;
  }
  .btn-primary { margin-left: 0; margin-top: 14px; }
  nav { flex-wrap: wrap; gap: 14px; }
}
@media (max-width: 768px) {
  header nav {
    display: none;
  }
  .btn-primary {
    display: none;
  }
}

/* -------------------------------------------------
   MOBILE NAVIGATION
---------------------------------------------------*/
.mobile-menu-toggle {
  display: flex;
  background: var(--color-primary);
  color: var(--color-light);
  border-radius: var(--radius-sm);
  border: none;
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 101;
  box-shadow: 0 2px 12px rgba(35,35,43,0.11);
  transition: background 0.2s, color 0.2s, box-shadow 0.19s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}
@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1200;
  background: rgba(24,24,24,0.81);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.5,1.8,.5,1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--color-light);
  color: var(--color-primary);
  font-size: 2.2rem;
  border: none;
  border-radius: var(--radius-sm);
  margin: 18px 18px 0 0;
  align-self: flex-start;
  box-shadow: 0 2px 12px rgba(35,35,43,0.09);
  transition: background 0.18s, color 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-secondary);
  color: var(--color-light);
}
.mobile-nav {
  background: var(--color-light);
  border-radius: 0 0 0 var(--radius);
  min-width: 255px;
  min-height: 100vh;
  padding: 48px 36px 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: -4px 0 32px rgba(24,24,24,0.09);
}
.mobile-nav a {
  color: var(--color-primary);
  font-size: 1.1rem;
  font-family: var(--font-body);
  font-weight: 600;
  padding: 14px 2px;
  border-radius: var(--radius-sm);
  transition: background 0.185s, color 0.16s;
  margin-bottom: 2px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}
@media (max-width: 480px) {
  .mobile-nav {
    padding: 32px 16px 24px 12px;
    min-width: 80vw;
  }
}

/* -------------------------------------------------
   MAIN SECTIONS & FLEX CONTAINERS
---------------------------------------------------*/
.feature-grid, .person-grid, .monument-grid, .project-snippets {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 6px;
}
.feature-grid .feature, .person-grid > div, .monument-grid > div, .project-snippets > div {
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xs);
  padding: 22px 20px;
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.18s, transform 0.2s;
  margin-bottom: 20px;
}
.feature-grid .feature:hover,
.person-grid > div:hover,
.monument-grid > div:hover,
.project-snippets > div:hover {
  box-shadow: 0 6px 36px rgba(24,24,24,0.12);
  transform: translateY(-2px) scale(1.02);
}
.feature-grid .feature img {
  margin-bottom: 10px;
  width: 48px; height: 48px;
  object-fit: contain;
  filter: grayscale(0.1) contrast(1.1);
}
.project-snippets { gap: 16px; }
.project-snippets > div { margin-bottom: 8px; }

@media (max-width: 900px) {
  .feature-grid, .person-grid, .monument-grid, .project-snippets {
    gap: 14px;
  }
  .feature-grid .feature,
  .person-grid > div, .monument-grid > div {
    min-width: 44%;
    max-width: 99%;
    padding: 16px 12px;
  }
}
@media (max-width: 600px) {
  .feature-grid, .person-grid, .monument-grid, .project-snippets {
    flex-direction: column;
    gap: 12px;
  }
  .feature-grid .feature, .person-grid > div, .monument-grid > div, .project-snippets > div {
    width: 100%;
    min-width: unset; max-width: unset;
    padding: 10px 6px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xs);
  padding: 24px 18px;
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f9f9f9;
  color: #191919;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: 0 1px 10px rgba(32,34,36,0.05);
  transition: box-shadow 0.16s, border 0.13s;
}
.testimonial-card:hover {
  box-shadow: 0 4px 26px rgba(32,32,32,0.12);
  border: 1px solid var(--color-secondary);
}
.testimonial-card blockquote {
  color: #191919;
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 12px 0 0;
  background: transparent;
  border-left: 3px solid var(--color-secondary);
  padding: 0 0 0 14px;
}
.testimonial-info span {
  font-size: 0.99rem;
  color: #4a4a4a;
  font-family: var(--font-body);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.team-list li {
  margin-bottom: 12px;
  padding-left: 0;
}

.history-timeline p {
  margin-bottom: 12px;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-primary);
}

/* -------------------------------------------------
   ADDRESS & CONTACT
---------------------------------------------------*/
address {
  font-style: normal;
  background: var(--color-bg-alt);
  padding: 18px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}
address img { vertical-align: middle; margin-right: 8px; margin-bottom:-2px; }

/* -------------------------------------------------
   FOOTER
---------------------------------------------------*/
footer {
  background: #191919;
  color: #e9e9ea;
  padding: 44px 0 0 0;
  font-family: var(--font-body);
  margin-top: 60px;
  box-shadow: 0 -2px 14px rgba(32,34,36,0.12);
  position: relative;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 19px;
  justify-content: center;
  margin-bottom: 30px;
}
.footer-menu a {
  color: #e9e9ea;
  opacity: 0.85;
  font-size: 1.01rem;
  font-family: var(--font-body);
  transition: color 0.18s, opacity 0.19s;
  padding: 4px 2px;
  border-radius: var(--radius-sm);
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--color-secondary);
  opacity: 1;
  background: rgba(246,233,206,0.05);
}
.brand-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.brand-info img {
  height: 42px;
  width: auto;
  margin-bottom: 9px;
}
.brand-info p {
  color: #e9e9ea;
  text-align: center;
  font-size: 1rem;
  margin-bottom: 0;
  line-height: 1.6;
}
.brand-info img[alt*="Telefon"], .brand-info img[alt*="E-Mail"] {
  height: 17px;
  width: 17px;
  vertical-align: middle;
  margin-right: 4px;
  margin-bottom:-3px;
}
.legal {
  background: #111;
  padding: 12px 0;
  border-top: 1px solid #232323;
  text-align: center;
  color: #b5b5b5;
}
.legal small {
  font-size: 0.89rem;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
}
@media (max-width: 600px) {
  .footer-menu { gap: 11px; font-size: 0.98rem; }
  .brand-info p { font-size: 0.96rem; }
}

/* -------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
---------------------------------------------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #242424;
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
  padding: 26px 20px 18px 20px;
  box-shadow: 0 -4px 34px rgba(30,30,35,0.17);
  z-index: 1500;
  animation: banner-in 0.32s cubic-bezier(.4,1.6,.62,1) 1;
}
@keyframes banner-in {
  0% { opacity: 0; transform: translateY(60px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  color: #fff;
  margin-bottom: 0;
  font-size: 0.99rem;
  font-family: var(--font-body);
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-left: 18px;
}
.cookie-banner button {
  border-radius: var(--radius-sm);
  border: none;
  padding: 9px 18px;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.18s, color 0.2s, box-shadow 0.17s;
  cursor: pointer;
}
.cookie-banner .accept {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--color-light);
  color: var(--color-secondary);
  box-shadow: 0 4px 18px rgba(186,155,94,0.14);
}
.cookie-banner .reject {
  background: #232323;
  color: #e9e9ea;
  border: 1px solid #474747;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #121212;
  color: var(--color-secondary);
}
.cookie-banner .settings {
  background: transparent;
  color: var(--color-secondary);
  border: 1px solid var(--color-secondary);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--color-secondary);
  color: var(--color-primary);
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 8px 12px 8px;
  }
  .cookie-banner .cookie-btns { margin-left: 0; }
}

.cookie-modal-backdrop {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  width: 100vw; height: 100vh;
  z-index: 1600;
  background: rgba(0,0,0,0.71);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-in 0.33s cubic-bezier(.4,1.3,.62,1) 1;
}
@keyframes modal-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #181818;
  border-radius: var(--radius);
  padding: 38px 34px 24px 34px;
  max-width: 92vw;
  width: 410px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: modal-window-in 0.31s cubic-bezier(.4,1.6,.62,1) 1;
}
@keyframes modal-window-in {
  0% { opacity: 0; transform: translateY(70px) scale(0.93); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.4rem;
  margin-bottom: 7px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin-bottom: 9px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  margin-bottom: 13px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--color-secondary);
  width: 18px;height: 18px;
  border-radius: 3px;
  margin-right: 8px;
}
.cookie-modal .always-enabled {
  color: #727272;
  margin-left: 8px;
  font-size: 0.99rem;
  font-style: italic;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 8px;
}
.cookie-modal button {
  border-radius: var(--radius-sm);
  border: none;
  padding: 9px 16px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.18s, color 0.2s, box-shadow 0.17s;
  cursor: pointer;
}
.cookie-modal .accept {
  background: var(--color-secondary);
  color: var(--color-primary);
}
.cookie-modal .accept:hover {
  background: var(--color-primary);
  color: var(--color-secondary);
}
.cookie-modal .close {
  background: #fff;
  color: var(--color-primary);
  border: 1px solid #d7d7d7;
}
.cookie-modal .close:hover {
  background: var(--color-bg-alt);
  color: var(--color-secondary);
  border: 1px solid var(--color-secondary);
}
.cookie-modal-close-x {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 1.7rem;
  background: none;
  border: none;
  color: var(--color-gray);
  cursor: pointer;
  transition: color 0.16s;
}
.cookie-modal-close-x:hover {
  color: var(--color-secondary);
}

@media (max-width: 540px) {
  .cookie-modal { width: 98vw; padding: 18px 3vw 16px 3vw; }
}


/* -------------------------------------------------
   GENERAL FORM ELEMENTS (for completeness)
---------------------------------------------------*/
input, select, textarea {
  font-family: var(--font-body);
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 1rem;
  outline: none;
  transition: border 0.16s, box-shadow 0.19s;
  margin-bottom: 18px;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 1px 8px rgba(184,155,94,0.13);
}


/* -------------------------------------------------
   MICRO-INTERACTIONS
---------------------------------------------------*/
a, .btn-primary, button {
  transition: color 0.16s, background 0.16s, box-shadow 0.16s, border 0.16s, transform 0.16s;
}
a:active, .btn-primary:active, button:active {
  transform: translateY(2px) scale(0.98);
}

/* -------------------------------------------------
   SCROLLBAR (subtle, for modern browsers)
---------------------------------------------------*/
::-webkit-scrollbar {
  width: 8px; background: #f7f7f7;
}
::-webkit-scrollbar-thumb {
  background: #bfc3c6; border-radius: 8px;
}

/* -------------------------------------------------
   ACCESSIBILITY
---------------------------------------------------*/
:focus {
  outline: 2px dotted var(--color-secondary);
  outline-offset: 2px;
}


/* -------------------------------------------------
   MISC.
---------------------------------------------------*/
/* Spacing helpers */
.mb-20 { margin-bottom: 20px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-40 { margin-top: 40px !important; }
.gap-20 { gap: 20px !important; }

/* Hide visually but keep for Assistive Tech (for banner etc.) */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Section bg alternation */
main > section:nth-child(even) .container > .content-wrapper {
  background: #FAFAFA;
  border-radius: var(--radius);
  box-shadow: 0 2px 18px rgba(210,210,220,0.07);
  padding: 16px 12px 10px 16px;
}

/* Ensure no content overlap (add bottom margin everywhere) */
section, .section, .card, .feature, .testimonial-card, .person-grid > div, .monument-grid > div, .project-snippets > div {
  margin-bottom: 20px !important;
}

/* Prevent absolute pos in content cards (only for decorative non-content) */

/* Z-INDEX stack for overlays/menus/etc. */
header { z-index: 60; }
.mobile-menu { z-index: 1200; }
.cookie-banner { z-index: 1500; }
.cookie-modal-backdrop { z-index: 1600; }

/* END OF CSS */
