/* ===============================
   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,
main, 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 {
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #F2F2F2;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #204050;
  min-height: 100vh;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
}
*, *::before, *::after {
  box-sizing: border-box;
}

/* ===============================
   TYPOGRAPHY & COLORS
================================== */
:root {
  --primary: #204050;
  --secondary: #DFA972;
  --accent: #F2F2F2;
  --on-secondary: #204050;
  --on-primary: #fff;
  --on-accent: #204050;
  --shadow: 0 2px 12px rgba(32,64,80,0.07);
  --radius: 16px;
  --radius-small: 8px;
}

body {
  font-size: 16px;
  background: var(--accent);
  color: var(--primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.16;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.25rem;
}
h4 {
  font-size: 1.1rem;
}

p, li {
  font-size: 1rem;
  color: var(--primary);
}
strong {
  font-weight: 700;
}

/* Geometric, angular font accents for headlines */
h1, h2, h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: none;
}

@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  h3 {
    font-size: 1.1rem;
  }
}

/* ===============================
   LAYOUT CONTAINERS & SECTIONS
================================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  margin: 0 auto;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: var(--radius);
}

@media (max-width: 768px) {
  .section {
    padding: 32px 8px;
    margin-bottom: 32px;
  }
  .content-wrapper {
    gap: 16px;
  }
}

/* ===============================
   HEADER & NAVIGATION
================================== */
header {
  width: 100%;
  background: var(--primary);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 70;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding: 16px 20px;
  background: var(--primary);
}
.main-nav img {
  height: 42px;
  margin-right: 24px;
  flex-shrink: 0;
}
.main-nav a {
  color: var(--on-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 16px;
  border-radius: var(--radius-small);
  transition: background 0.2s;
}
.main-nav a.btn-primary {
  background: var(--secondary);
  color: var(--on-secondary);
  font-weight: bold;
  border-radius: 32px;
  box-shadow: 0 2px 6px rgba(32,64,80,0.12);
  margin-left: 12px;
  transition: background 0.2s, box-shadow 0.2s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: rgba(255,255,255,0.10);
}
.main-nav a.btn-primary:hover,
.main-nav a.btn-primary:focus {
  background: #b98030;
  color: var(--on-primary);
  box-shadow: 0 3px 18px rgba(32,64,80,0.21);
}

/* ===============================
   MOBILE NAVIGATION
================================== */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 20px;
  top: 18px;
  background: var(--secondary);
  color: var(--on-secondary);
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  box-shadow: var(--shadow);
  cursor: pointer;
  z-index: 120;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--secondary);
}
@media (max-width: 1020px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: var(--primary);
  transform: translateX(100vw);
  transition: transform 0.35s cubic-bezier(0.7,0.1,0.5,1);
  z-index: 9999;
  box-shadow: -2px 0 32px rgba(32,64,80,0.12);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 18px 8px 0;
  background: var(--secondary);
  color: var(--on-secondary);
  border: none;
  font-size: 2.2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:focus {
  outline: 2px solid var(--secondary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  padding: 36px 36px 16px 36px;
}
.mobile-nav a {
  color: var(--on-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 10px 0;
  width: 100%;
  border-radius: var(--radius-small);
  transition: background 0.17s;
  display: block;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: rgba(255,255,255,0.10);
}

/* ===============================
   GENERAL BUTTONS
================================== */
.btn-primary, .btn-secondary {
  display: inline-block;
  border-radius: 24px;
  padding: 12px 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  text-align: center;
  text-decoration: none;
  margin-top: 20px;
  box-shadow: var(--shadow);
  border: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  cursor: pointer;
}
.btn-primary {
  background: var(--secondary);
  color: var(--on-secondary);
}
.btn-secondary {
  background: var(--primary);
  color: var(--on-primary);
  border: 2px solid var(--secondary);
}
.btn-primary:hover, .btn-secondary:hover,
.btn-primary:focus, .btn-secondary:focus {
  filter: brightness(1.085);
  box-shadow: 0 5px 18px rgba(32,64,80,0.17);
  outline: none;
}
.btn-primary:active, .btn-secondary:active {
  filter: brightness(0.96);
}

/* ===============================
   FLEXBOX LAYOUTS - STYLE CRITICAL
================================== */
.feature-grid, .steps-list, .values-list, .benefit-list, .blog-topics-list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 32px;
  margin: 32px 0 0 0;
}
@media (max-width: 900px) {
  .feature-grid,
  .steps-list,
  .values-list,
  .benefit-list,
  .blog-topics-list {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .feature-grid, .steps-list, .values-list, .benefit-list, .blog-topics-list {
    flex-direction: column;
    gap: 18px;
  }
}
.feature-grid li,
.steps-list li,
.values-list li,
.benefit-list li,
.blog-topics-list li {
  flex: 1 1 210px;
  min-width: 210px;
  background: #fff;
  border: 2px solid var(--secondary);
  border-radius: var(--radius);
  padding: 24px 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow 0.19s, transform 0.19s;
  margin-bottom: 20px;
  position: relative;
}
.feature-grid li:hover,
.steps-list li:hover,
.values-list li:hover,
.benefit-list li:hover,
.blog-topics-list li:hover {
  box-shadow: 0 8px 32px rgba(32,64,80,0.13);
  transform: translateY(-4px) scale(1.03);
}
.feature-grid img,
.values-list img,
.benefit-list img,
.blog-topics-list img,
.steps-list img {
  height: 46px;
  width: 46px;
  margin-bottom: 6px;
  filter: drop-shadow(0 2px 8px rgba(32,64,80,0.10));
}

/* Service/offer lists */
.service-list, .reportage-list, .kurs-list, .gallery-list, .step-list, .beratungstypen-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 28px;
  margin-bottom: 20px;
}
.service-list li,
.reportage-list li,
.kurs-list li,
.gallery-list li,
.step-list li,
.beratungstypen-list li {
  background: #fff;
  border: 2px solid var(--secondary);
  border-radius: var(--radius);
  padding: 22px 18px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

/* Utilities */
.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;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border: 2px solid var(--secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 2px solid var(--primary);
  color: var(--primary);
  box-shadow: 0 2px 14px rgba(32,64,80,0.10);
  border-radius: var(--radius);
  margin-bottom: 20px;
  padding: 20px;
  position: relative;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.testimonial-card p {
  color: #2a3d4f;
  font-size: 1.12rem;
  font-style: italic;
}
.testimonial-card span {
  color: var(--secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  align-self: flex-end;
}
/* Ensured contrast for testimonials/reviews */

/* ===============================
   TEXT SECTIONS (CONTACT, ETC.)
================================== */
.text-section {
  background: #fff;
  border: 2px solid var(--secondary);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.text-section img {
  height: 1.2em;
  width: auto;
  filter: grayscale(10%) drop-shadow(0 1px 3px rgba(32,64,80,0.11));
  margin-right: 9px;
  vertical-align: middle;
}
.text-section a {
  color: var(--primary);
  border-bottom: 1px dotted var(--secondary);
  transition: color 0.15s;
}
.text-section a:hover {
  color: var(--secondary);
}

/* ===============================
   FOOTER
================================== */
footer {
  margin-top: 48px;
  background: var(--primary);
  padding: 36px 0 18px 0;
  color: var(--on-primary);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 16px;
}
.footer-nav a {
  color: var(--secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.15s;
}
.footer-nav a:hover { color: #fff; }
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.footer-contact img {
  height: 40px;
  margin-bottom: 12px;
}
.footer-contact p {
  color: #d8e5ed;
  font-size: 1rem;
  line-height: 1.5;
}
.brand-motto {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--secondary);
  font-size: 1.1rem;
  margin-top: 12px;
  letter-spacing: 0.04em;
}

/* ===============================
   COOKIE CONSENT BANNER & MODAL
================================== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(130%);
  width: calc(100vw - 24px);
  max-width: 600px;
  background: #fff;
  box-shadow: 0 -2px 20px rgba(32,64,80,0.16);
  border: 2px solid var(--secondary);
  border-radius: 32px 32px 0 0;
  padding: 32px 24px 18px 24px;
  z-index: 10050;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.22s cubic-bezier(0.77,0.02,0.57,1.01);
  opacity: 0;
  pointer-events: none;
}
#cookie-banner.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: all;
}
#cookie-banner p {
  color: var(--primary);
  margin-bottom: 4px;
}
.cookie-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-btn {
  background: var(--secondary);
  color: var(--on-secondary);
  border: none;
  border-radius: var(--radius);
  padding: 10px 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  margin-top: 0;
  transition: background 0.13s;
}
.cookie-btn.cookie-reject {
  background: #b5c7cf;
  color: var(--primary);
}
.cookie-btn.cookie-settings {
  background: var(--primary);
  color: var(--on-primary);
  border: 2px solid var(--secondary);
}
.cookie-btn:hover,
.cookie-btn:focus {
  filter: brightness(1.10);
}

.cookies-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 96vw;
  max-width: 420px;
  min-width: 280px;
  background: #fff;
  border-radius: var(--radius);
  border: 2px solid var(--secondary);
  box-shadow: 0 4px 36px rgba(32,64,80,0.18);
  transform: translate(-50%, -58%) scale(0.98);
  z-index: 20010;
  padding: 32px 20px 24px 20px;
  display: none;
  flex-direction: column;
  gap: 18px;
  animation: cookies-modal-in 0.23s .03s cubic-bezier(.7,0,.6,1) backwards;
}
.cookies-modal.active {
  display: flex;
  animation: cookies-modal-in 0.32s .03s cubic-bezier(.7,0,.6,1);
}
@keyframes cookies-modal-in {
  from { opacity:0; transform:translate(-50%, -66%) scale(0.94); }
  to   { opacity:1; transform:translate(-50%, -58%) scale(1); }
}
.cookies-modal h3 {
  margin-bottom: 0;
  font-size: 1.2rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}
.cookie-toggle {
  appearance: none;
  width: 38px;
  height: 22px;
  background: #dbe2e7;
  border-radius: 22px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.19s;
}
.cookie-toggle:checked {
  background: var(--secondary);
}
.cookie-toggle:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 4px rgba(32,64,80,0.07);
  transition: transform 0.19s;
}
.cookie-toggle:checked:before {
  transform: translateX(16px);
}

.cookies-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.cookiemodal-close {
  position: absolute;
  top: 18px;
  right: 16px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--secondary);
  cursor: pointer;
  z-index: 1;
}

@media (max-width: 700px) {
  #cookie-banner {
    padding: 18px 7px;
    font-size: 0.95rem;
    max-width: 98vw;
  }
  .cookies-modal { padding: 18px 6px; }
}

/* ===============================
   MICRO-INTERACTIONS & EFFECTS
================================== */
.card,
.feature-grid li,
.service-list li,
.steps-list li,
.values-list li,
.benefit-list li,
.blog-topics-list li,
.text-section,
.testimonial-card {
  transition: box-shadow 0.19s, transform 0.17s;
}
.card:hover,
.feature-grid li:hover,
.service-list li:hover,
.steps-list li:hover,
.values-list li:hover,
.benefit-list li:hover,
.blog-topics-list li:hover,
.text-section:hover {
  box-shadow: 0 8px 32px rgba(32,64,80,0.13);
  transform: translateY(-3px) scale(1.018);
}
button:active, .btn-primary:active, .btn-secondary:active {
  transform: scale(0.97);
}

/* ===============================
   RESPONSIVE SPACING & LAYOUT
================================== */
@media (max-width: 600px) {
  .container {
    padding: 0 4px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 8px;
  }
}

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

::selection {
  background: var(--secondary);
  color: var(--on-secondary);
}

/****************** END ***********/