/* ==================================================
   Glassy Oak Architektur – Professional Corporate CSS
   Responsive, Flexbox-based layout – No Grid/Columns
   Blue/Gray Palette, Minimal, Business Formal
   ================================================== */

/* ===== CSS Reset and 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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  line-height: 1.6;
  background-color: #F7F6F3;
  color: #233029;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  margin-left: 24px;
}

/* ===== Base Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #34423D;
  margin-bottom: 16px;
  font-weight: 700;
}
h1 {
  font-size: 2.4rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, li {
  font-size: 1rem;
  color: #233029;
}
strong {
  font-weight: 700;
  color: #34423D;
}
a {
  color: #34423D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #558072;
  text-decoration: underline;
}

/* ========== Brand Colors ========== */
:root {
  --primary: #34423D;
  --secondary: #D6C3A6;
  --accent: #F7F6F3;
  --gray: #E5E7EB;
  --light-gray: #F7F6F3;
  --contrast-dark: #233029;
  --brand-blue: #254952;
  --focus: #82AEB1;
}

/* ========== Layout Containers ========== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

/* ==================================================================
   HEADER & MAIN NAVIGATION
   ================================================================== */
header {
  background: #F7F6F3;
  border-bottom: 2px solid var(--gray);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 80px;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  height: 60px;
  margin-right: 32px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1 1 auto;
}
.main-nav a {
  padding: 8px 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  border-bottom: 2px solid var(--secondary);
  color: var(--brand-blue);
}
.button.button-primary {
  background: var(--primary);
  color: #FFF;
  border-radius: 5px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 28px;
  box-shadow: 0 2px 7px rgba(52,66,61,0.12);
  border: none;
  margin-left: 32px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.23s;
  outline: none;
  letter-spacing: 0.04em;
}
.button.button-primary:hover, .button.button-primary:focus {
  background: var(--focus);
  color: #F7F6F3;
  box-shadow: 0 4px 18px rgba(52,66,61,0.18);
}
.button.button-secondary {
  background: var(--secondary);
  color: var(--primary);
  border-radius: 5px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 12px 28px;
  border: none;
  cursor: pointer;
  transition: background 0.22s, color 0.18s;
}
.button.button-secondary:hover, .button.button-secondary:focus {
  background: var(--primary);
  color: #fff;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  z-index: 35;
  transition: color 0.18s;
  margin-left: 12px;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: var(--focus);
}

/* ===== Mobile Navigation Overlay ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36,51,51, 0.96);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.82, 0, 0.34, 1);
  z-index: 99;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  color: #fff;
  font-size: 2.5rem;
  background: none;
  border: none;
  padding: 16px 20px 8px 0;
  cursor: pointer;
  transition: color 0.17s;
  margin-left: auto;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin: 40px 32px 0 0;
  width: 230px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  width: 100%;
  transition: border 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
}

/* ========== HERO SECTION ========== */
.hero {
  background: var(--light-gray);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 54px 0 60px 0;
  margin-bottom: 0;
}
.hero .content-wrapper {
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.hero h1 {
  color: var(--primary);
  font-size: 2.35rem;
}
.hero p {
  color: #34423D;
  font-size: 1.1rem;
}
.hero .button.button-primary {
  margin-top: 20px;
}

/* ========= FLEXBOX CARD/GRID CONTAINERS ========= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--gray);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(36,66,61,.05);
  padding: 28px 20px;
  margin-bottom: 20px;
  position: relative;
  min-width: 270px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 7px 22px rgba(52,66,61,.12);
  transform: translateY(-2px) scale(1.01);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.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;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 9px rgba(52,66,61,.06);
  padding: 28px 20px;
  min-width: 250px;
  max-width: 330px;
  margin-bottom: 20px;
  border: 1px solid #E5E7EB;
  transition: box-shadow 0.15s, border 0.15s;
}
.feature-item img {
  max-height: 44px;
  margin-bottom: 14px;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 4px 20px rgba(52,66,61,0.15);
  border-color: var(--secondary);
}

/* Features Grids */
.feature-grid, .service-teaser-grid, .team-profile-grid, .skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-teaser {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(52,66,61,.07);
  padding: 28px 20px;
  margin-bottom: 20px;
  min-width: 230px;
  max-width: 320px;
  border: 1px solid #E5E7EB;
  transition: box-shadow 0.14s, border 0.14s;
}
.service-teaser:hover {
  box-shadow: 0 7px 22px rgba(52,66,61,.16);
  border-color: var(--secondary);
}

.team-profile {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  box-shadow: 0 1px 9px rgba(52,66,61,.06);
  padding: 24px 18px;
  min-width: 210px;
  max-width: 300px;
  margin-bottom: 20px;
  transition: box-shadow 0.15s, border 0.15s;
}
.team-profile:hover {
  box-shadow: 0 4px 20px rgba(52,66,61,0.10);
  border-color: var(--secondary);
}

.skill-item {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  box-shadow: 0 1px 8px rgba(52,66,61,.06);
  padding: 24px 16px;
  min-width: 180px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.15s, border 0.15s;
}
.skill-item img {
  max-height: 36px;
}
.skill-item:hover {
  box-shadow: 0 4px 18px rgba(52,66,61,0.13);
  border-color: var(--secondary);
}

/* ======= Testimonials ======= */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-left: 6px solid var(--secondary);
  border-radius: 7px;
  padding: 20px 26px;
  margin-bottom: 20px;
  box-shadow: 0 2px 13px rgba(52,66,61,.10);
  max-width: 700px;
  color: #233029;
  transition: box-shadow 0.18s, border-color 0.18s;
  font-size: 1.07rem;
}
.testimonial-card blockquote {
  font-style: italic;
  color: #233029;
  margin: 0;
}
.testimonial-card p {
  font-size: 1rem;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border-left: 6px solid var(--primary);
  box-shadow: 0 8px 26px rgba(52,66,61,0.16);
}

/* Projects/Services/Values Lists */
ul.project-list, ul.blog-categories, ul.post-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0 0 0;
}
ul.project-list li, ul.blog-categories li, ul.post-list li {
  font-size: 1rem;
}

/* ========== USP-Bullets/Vorteile ========= */
.usps ul, .brand-values ul, .about-philosophy ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 12px;
  list-style: none;
}
.usps ul li, .brand-values ul li, .about-philosophy ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 1.07rem;
}
.usps ul li img, .brand-values ul li img, .about-philosophy ul li img {
  height: 22px;
  width: 22px;
  margin-right: 7px;
}

/* ========== TIMELINE (About) ========== */
.timeline ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 1rem;
}
.timeline ul li {
  padding-left: 14px;
  position: relative;
}
.timeline ul li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
  position: absolute;
  left: 0;
  top: 11px;
}

/* ========== LOCATION MAP & INFO (Contact) ========= */
.location-map {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 10px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-info p img {
  height: 20px;
  vertical-align: middle;
  margin-right: 7px;
}

/* ========== BLOG STYLES =========== */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}
.post-list h3 a{
  color: var(--brand-blue);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
}
.post-list h3 a:hover{
  color: var(--secondary);
}

.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 7px;
}
.blog-categories li {
  background: #EDF0EE;
  color: var(--primary);
  border-radius: 14px;
  padding: 4px 16px;
  font-family: 'Montserrat', Arial;
  font-size: 0.98rem;
}

/* ========== FORMATTING LEGAL TEXT PAGES ========== */
.legal-content {
  background: #FFF;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(36,66,61,.05);
  padding: 36px 24px;
  margin: 48px 0;
}
.legal-content h1 {
  font-size: 1.9rem;
  margin-bottom: 16px;
}
.legal-content h2 {
  font-size: 1.28rem;
}

/* ========== GENERAL SECTION SPACING (mandatory) ========= */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ========== FOOTER ========== */
footer {
  background: #233029;
  color: #fff;
  margin-top: 42px;
  padding: 48px 0 12px 0;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}
.footer-logo img {
  height: 44px;
  margin-bottom: 8px;
}
.footer-nav, .footer-legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 4px;
}
.footer-nav a, .footer-legal-nav a {
  color: #fff;
  opacity: 0.92;
  font-family: 'Montserrat', Arial;
  font-size: 0.98rem;
  padding: 3px 0;
  border-bottom: 1.5px solid transparent;
  transition: border 0.2s, color 0.2s;
}
.footer-nav a:hover, .footer-legal-nav a:hover {
  color: var(--secondary);
  border-bottom: 1.5px solid var(--secondary);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
  text-align: center;
  margin-bottom: 8px;
}
.footer-contact p img {
  height: 18px;
  vertical-align: middle;
  margin-right: 7px;
}
.footer-contact p{
  color: #fff;
}
.footer-social {
  display: flex;
  gap: 18px;
  margin-bottom: 10px;
}
.footer-social a img {
  height: 28px;
  width: 28px;
  filter: brightness(2);
  opacity: 0.72;
  transition: filter 0.14s, opacity 0.14s;
}
.footer-social a:hover img {
  filter: brightness(2) drop-shadow(0 0 8px var(--secondary));
  opacity: 1;
}
.footer-copy {
  font-size: 0.97rem;
  opacity: 0.7;
  letter-spacing: 0.01em;
  text-align: center;
  margin-bottom: 0;
}

/* ========== CTA FINAL & BUTTON SPACING ========== */
.cta-final, .cta-services {
  background: var(--secondary);
  border-radius: 10px;
  color: var(--primary);
  text-align: center;
  box-shadow: 0 2px 18px rgba(52,66,61,0.09);
  padding: 48px 22px 36px 22px;
  margin-bottom: 60px;
}
.cta-final h2, .cta-services h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 12px;
}
.cta-final p, .cta-services p {
  color: var(--primary);
  margin-bottom: 24px;
  font-size: 1.1rem;
}
.cta-final .button, .cta-services .button {
  margin-top: 12px;
}

/* ========== PRICE BADGES ========== */
.price {
  font-size: 1rem;
  background: var(--secondary);
  color: #233029;
  border-radius: 8px;
  padding: 3px 12px;
  margin-left: 14px;
  font-weight: 500;
  font-family: 'Montserrat', Arial;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #233029;
  box-shadow: 0 -3px 18px 0 rgba(52,66,61,.18);
  border-top: 2px solid var(--secondary);
  z-index: 9999;
  padding: 22px 10px 22px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transition: transform 0.28s cubic-bezier(.79,.21,.38,1.02);
  font-size: 1rem;
}
.cookie-banner.hide {
  transform: translateY(140%);
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}
.cookie-banner .button,
.cookie-banner button {
  border-radius: 6px;
  border: none;
  padding: 10px 22px;
  margin: 0;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.cookie-banner .accept {
  background: var(--primary);
  color: #fff;
}
.cookie-banner .accept:hover {
  background: var(--focus);
}
.cookie-banner .reject {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-banner .reject:hover {
  background: var(--primary);
  color: #fff;
}
.cookie-banner .settings {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--secondary);
}
.cookie-banner .settings:hover {
  background: var(--secondary);
}

/* ------ Cookie Modal ------ */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36,51,51, 0.84);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.25s;
}
.cookie-modal {
  background: #fff;
  padding: 36px 26px 26px 26px;
  border-radius: 16px;
  max-width: 420px;
  width: 95vw;
  box-shadow: 0 3px 32px rgba(52,66,61,0.17);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h2 {
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 1.4rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-category label {
  font-size: 1rem;
  color: var(--primary);
}
.cookie-category input[type='checkbox'] {
  accent-color: var(--primary);
  width: 20px;
  height: 20px;
}
.cookie-category .essential {
  color: #888d89;
  font-size: 0.93rem;
}
.cookie-modal .button,
.cookie-modal button {
  border-radius: 6px;
  border: none;
  padding: 10px 22px;
  margin: 0 6px 0 0;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  cursor: pointer;
  background: var(--primary);
  color: #fff;
  transition: background 0.19s;
}
.cookie-modal .button.secondary {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-modal .button.secondary:hover {
  background: var(--primary);
  color: #fff;
}

/* Modal close btn */
.cookie-modal .close {
  background: none;
  color: var(--primary);
  border: none;
  font-size: 2rem;
  padding: 8px 0 6px 0;
  margin-left: auto;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal .close:hover {
  color: var(--secondary);
}

/* =============================
   Responsive Breakpoints
   ============================= */

@media (max-width: 1120px) {
  .container {
    max-width: 960px;
  }
  .main-nav {
    gap: 18px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding-left: 14px;
    padding-right: 14px;
  }
  .feature-grid, .service-teaser-grid, .team-profile-grid, .skills-grid {
    gap: 16px;
  }
}
@media (max-width: 840px) {
  .main-nav {
    display: none;
  }
  .button.button-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.35rem;
  }
  .section, section {
    margin-bottom: 36px;
    padding: 30px 6px;
  }
  .feature-grid, .service-teaser-grid, .team-profile-grid, .skills-grid {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    padding: 18px 12px;
    font-size: 0.99rem;
  }
  .cta-final, .cta-services {
    padding: 30px 7px;
  }
  .content-wrapper {
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .location-map {
    flex-direction: column;
    gap: 10px;
  }
  footer .container {
    gap: 12px;
  }
}
@media (max-width: 520px) {
  html {
    font-size: 14px;
  }
  .container {
    padding: 0 3vw;
  }
  .hero, .section, section {
    padding: 18px 0;
  }
  .footer-logo img {
    height: 34px;
  }
  .cookie-modal {
    padding: 16px 6px 13px 6px;
    max-width: 98vw;
  }
}

/* ===== Scrollbar and Accessibility ===== */
body::-webkit-scrollbar {
  width: 10px;
  background: #f3f3ef;
}
body::-webkit-scrollbar-thumb {
  background: #D6C3A6;
  border-radius: 4px;
}

:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* ========== Animations & Transitions =========== */
.button, a.button, .testimonial-card, .feature-item, .card {
  transition: box-shadow 0.16s, border 0.16s, transform 0.16s, color 0.19s;
}
.mobile-menu, .cookie-banner {
  will-change: transform;
}

/* Utility: Prevent Images Overflow */
img {
  max-width: 100%;
  height: auto;
}

/* Utility: Prevent Section Overlap */
section + section, .section + .section {
  margin-top: 24px;
}

/* END OF CSS */
