/* =======================
   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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
  height: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #181b1e;
  color: #e6eef2;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #379c75;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #217353;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}

/* ===============
   FONTS
   =============== */
@import url('https://fonts.googleapis.com/css?family=Merriweather:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 900;
  color: #e6eef2;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #fff;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
h4, h5, h6 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
p, .text-section p, .feature-item p {
  color: #d0dbe2;
  font-size: 1rem;
  margin-bottom: 16px;
}
strong, b {
  color: #fff;
  font-weight: 700;
}

/* ====== PRIMARY CONTAINER ====== */
.container {
  max-width: 1140px;
  padding: 0 20px;
  margin: 0 auto;
  width: 100%;
}
.content-wrapper {
  width: 100%;
}
.text-section {
  padding: 0 0;
}

/* ============ HEADER & NAV ============ */
header {
  width: 100%;
  background: #161a1d;
  border-bottom: 2px solid #292e33;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  position: relative;
}
header a img {
  height: 42px;
  width: auto;
  display: block;
  margin-right: 12px;
}
header nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav a {
  color: #e6eef2;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1rem;
  letter-spacing: 0.02em;
  font-weight: 700;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s, border-color 0.2s;
}
header nav a:hover, header nav a:focus {
  color: #379c75;
  border-bottom: 2px solid #379c75;
}
.primary-cta {
  background: linear-gradient(92deg, #217353 0%, #379c75 100%);
  color: #fff !important;
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 900;
  font-size: 1.1rem;
  padding: 11px 28px;
  border-radius: 28px;
  box-shadow: 0 2px 12px rgba(19, 78, 111, 0.20);
  border: none;
  cursor: pointer;
  transition: box-shadow 0.2s, background 0.2s, transform 0.12s;
  text-align: center;
  margin-left: 16px;
  display: inline-block;
}
.primary-cta:hover,
.primary-cta:focus {
  background: linear-gradient(92deg, #379c75 0%, #217353 100%);
  box-shadow: 0 6px 24px 0 rgba(33, 115, 83,0.19);
  transform: translateY(-2px) scale(1.03);
}

/* ===== Mobile Burger ===== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  margin-left: auto;
  padding: 10px 18px 10px 18px;
  border-radius: 6px;
  transition: background 0.2s;
  z-index: 201;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #292e33;
}

/* ====== MOBILE NAV MENU ====== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24, 27, 30, 0.98);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.36s cubic-bezier(0.6, 0.05, 0.28, 0.91);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  padding: 14px 24px 5px 8px;
  margin: 0 .5rem;
  align-self: flex-end;
  cursor: pointer;
  z-index: 10001;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #379c75;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: flex-start;
  padding: 36px 30px;
  margin-top: 40px;
}
.mobile-nav a {
  font-size: 1.3rem;
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  color: #e6eef2;
  padding: 10px 4px;
  width: 100%;
  border-radius: 5px;
  transition: background 0.17s, color 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #292e33;
  color: #379c75;
}

@media (max-width: 980px) {
  header .container {
    flex-wrap: wrap;
    gap: 10px;
  }
  header nav {
    flex-wrap: wrap;
  }
}
@media (max-width: 900px) {
  header nav,
  .primary-cta {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ============ MAIN LAYOUT SECTION & FLEX PATTERNS ============= */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #292e33;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(33, 44, 53, 0.14);
  padding: 26px 20px 20px 20px;
  color: #e6eef2;
  min-width: 280px;
  max-width: 365px;
  flex: 1 1 300px;
  transition: box-shadow 0.17s, transform 0.13s;
  border: 1.5px solid #134e6f;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(33, 44, 53, 0.19);
  transform: translateY(-4px) scale(1.02);
}

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

.testimonials-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #e6eef2;
  color: #161a1d;
  border-radius: 14px;
  min-width: 320px;
  max-width: 420px;
  flex: 1 1 320px;
  box-shadow: 0 2px 12px rgba(33, 44, 53,0.14);
  position: relative;
  margin-bottom: 20px;
  border-left: 5px solid #134e6f;
}
.testimonial-card p {
  color: #222;
  font-size: 1.1rem;
}
.testimonial-card span {
  color: #217353;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #22252a;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(33, 44, 53, 0.11);
  padding: 26px 20px 22px 20px;
  min-width: 230px;
  flex: 1 1 220px;
  transition: box-shadow 0.19s, transform 0.13s;
  border: 1.5px solid #29475a;
}
.feature-item:hover {
  box-shadow: 0 7px 18px rgba(33,44,53,0.17);
  transform: translateY(-3px) scale(1.015);
}
.feature-item img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  background: #134e6f15;
  border-radius: 6px;
  padding: 5px;
  margin-bottom: 8px;
}
.price {
  font-size: 1.23rem;
  font-weight: 900;
  margin-top: 10px;
  color: #379c75;
  font-family: 'Merriweather', Georgia, serif;
}

/* Process Timeline - Ablauf Seite */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 28px;
  list-style: none;
  padding: 0;
}
.process-timeline li {
  background: #21252b;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(33, 44, 53,0.11);
  padding: 22px 18px 18px 24px;
  border-left: 5px solid #379c75;
  font-size: 1.08rem;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 15px;
}
.process-timeline img {
  height: 38px;
  width: 38px;
  margin-right: 18px;
  flex-shrink: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: #21252b;
  border-radius: 8px;
  padding: 18px 14px 16px 18px;
  box-shadow: 0 1px 4px rgba(33, 44, 53,0.09);
  margin-bottom: 12px;
}
.faq-item h3 {
  font-size: 1.2rem;
  color: #217353;
}
.faq-item p {
  margin-bottom: 4px;
}

.address-block {
  background: #22252a;
  padding: 18px 16px;
  border-radius: 8px;
  margin-bottom: 14px;
  border-left: 4px solid #134e6f;
}

.expert-tips-section {
  background: #134e6f0A;
  border-left: 4px solid #217353;
  padding: 18px 16px 14px 20px;
  border-radius: 7px;
  margin: 24px 0 0 0;
}

.promise-to-clients {
  background: #134e6f18;
  border-left: 3px solid #134e6f;
  padding: 12px 16px;
  border-radius: 7px;
  font-weight: 700;
  margin: 22px 0 0 0;
}

/* ========== FOOTER ========== */
footer {
  background: #181b1e;
  border-top: 2px solid #292e33;
  padding: 38px 0 22px 0;
  color: #e6eef2;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  flex: 0 0 52px;
}
.footer-logo img {
  height: 46px;
}
footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
footer nav a {
  color: #e6eef2;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  border-bottom: 2px solid transparent;
  transition: border-color 0.18s, color 0.17s;
}
footer nav a:hover, footer nav a:focus {
  color: #379c75;
  border-bottom: 2px solid #379c75;
}
footer p {
  color: #b5c0c6;
  font-size: 0.97rem;
  margin-top: 16px;
  width: 100%;
  text-align: right;
}

/* ========== COOKIES BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #22252a;
  color: #e6eef2;
  font-size: 1rem;
  z-index: 99999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px 18px 24px;
  box-shadow: 0 -2px 18px rgba(0,0,0,0.18);
  box-sizing: border-box;
  transition: transform 0.39s cubic-bezier(0.6,0.05,0.28,0.91), opacity 0.19s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner p {
  margin-bottom: 0;
  font-size: 1rem;
  color: #e6eef2;
}
.cookie-banner .cookie-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-banner button {
  font-size: 1rem;
  border: none;
  border-radius: 20px;
  padding: 8px 22px;
  margin: 0 2px;
  cursor: pointer;
  background: #134e6f;
  color: #fff;
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  transition: background 0.18s, color 0.16s, transform 0.15s;
  box-shadow: 0 1px 6px rgba(19, 78, 111, 0.15);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #379c75;
  color: #fff;
  transform: translateY(-1px) scale(1.04);
}
.cookie-banner .cookie-settings {
  background: #292e33;
  color: #fff;
  border: 1.5px solid #379c75;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #217353;
}

/* ==== COOKIE MODAL ==== */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 100000;
  background: rgba(24,27,30,0.94);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.35s;
}
.cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: #e6eef2;
  color: #181b1e;
  border-radius: 14px;
  padding: 32px 28px 22px 28px;
  max-width: 430px;
  min-width: 260px;
  box-shadow: 0 24px 64px 0 rgba(33,44,53,0.19);
  position: relative;
  text-align: left;
  animation: modalIn 0.38s cubic-bezier(0.42,0,0.58,1);
}
.cookie-modal-content h2 {
  color: #134e6f;
  margin-top: 0;
}
.cookie-modal-content label {
  display: flex;
  align-items: center;
  font-size: 1.03rem;
  margin-bottom: 13px;
}
.cookie-modal-content input[type=checkbox] {
  accent-color: #217353;
  width: 18px;
  height: 18px;
  margin-right: 11px;
}
.cookie-modal-content .cookie-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 20px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #134e6f;
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-modal .cookie-modal-close:hover {
  color: #217353;
}
/* Cookie modal keyframes */
@keyframes modalIn {
  0% { transform: scale(0.82) translateY(45px); opacity:0; }
  90% { transform: scale(1.02) translateY(-5px); opacity:1; }
  100% { transform: scale(1) translateY(0); opacity:1; }
}
@keyframes fadeIn {
  0% { opacity:0; }
  100% { opacity:1; }
}

/* ========== GENERAL INTERACTIONS, SHADOWS, ETC. ========== */
button, [type=submit] {
  font-family: 'Merriweather', Georgia, serif;
  cursor: pointer;
  outline: none;
}
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 7px;
  border: 1.5px solid #29475a;
  background: #181b1e;
  color: #e6eef2;
  margin-bottom: 13px;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #379c75;
}
::placeholder {
  color: #b5c0c6;
  opacity: 1;
}

/* ========== RESPONSIVE LAYOUTS ========== */

@media (max-width:1200px) {
  .container {
    max-width: 97vw;
  }
}
@media (max-width:1040px) {
  .container {
    padding-left: 10px; padding-right: 10px;
  }
  .features-grid, .testimonials-wrapper {
    gap: 20px;
  }
}
@media (max-width: 900px) {
  .features-grid {
    flex-direction: column;
  }
  .feature-item {
    max-width: 100%;
    min-width: 0;
  }
  .testimonials-wrapper {
    flex-direction: column;
  }
  .testimonial-card, .card {
    max-width: 100%;
    min-width: 0;
  }
  .process-timeline li {
    gap: 12px;
    padding-left: 12px;
  }
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  footer p {
    text-align: left;
    width: 100%;
    margin-top: 12px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .container {
    padding: 0 8px;
  }
  section {
    padding: 28px 8px;
    margin-bottom: 38px;
  }
  .features-grid, .testimonials-wrapper, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item,
  .testimonial-card,
  .card,
  .address-block {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding-right: 12px;
    padding-left: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .expert-tips-section {
    margin: 17px 0 0 0;
    padding: 11px 10px 9px 10px;
  }
}
@media (max-width: 500px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 17px 7px 14px 7px;
  }
  .cookie-banner .cookie-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .cookie-modal-content {
    padding: 18px 8px 9px 10px;
    max-width: 96vw;
  }
}

/* ========== SPECIFIC UTILITIES ========== */
.mt-2 { margin-top: 18px; }
.mb-2 { margin-bottom: 18px; }
.mt-3 { margin-top: 32px; }
.mb-3 { margin-bottom: 32px; }

/* Hide visually but not for screen readers */
.sr-only {
  border: 0!important;
  clip: rect(1px,1px,1px,1px)!important;
  -webkit-clip-path: inset(50%)!important;
  clip-path: inset(50%)!important;
  height: 1px!important;
  margin: -1px!important;
  overflow: hidden!important;
  padding: 0!important;
  position: absolute!important;
  width: 1px!important;
  white-space: nowrap!important;
}

/* ===============
   INDUSTRIAL MODERN METALLIC ACCENTS
   =============== */
.feature-item, .card, .address-block, .expert-tips-section, .process-timeline li {
  border-left: 4px solid #134e6f;
  /* Metal accent */
  box-shadow: 0 3px 16px rgba(86,114,138,0.09);
}
.testimonial-card {
  border-left: 5px solid #217353;
  box-shadow: 0 4px 18px 0 rgba(33,44,53,0.085);
  background: #e6eef2;
}
@media (max-width:660px) {
  .testimonial-card { min-width: 0; }
}

/* ================
   MICRO-INTERACTIONS, ANIMATIONS
   ================ */
.primary-cta,
.feature-item,
.card,
.testimonial-card,
.process-timeline li  {
  transition: box-shadow 0.17s, transform 0.14s;
}
.primary-cta:active {
  transform: scale(0.97);
}

/* ===============
   ACCESSIBLE FOCUS VISIBLE
   =============== */
a:focus, button:focus, .primary-cta:focus, .mobile-menu-toggle:focus {
  outline: 2px solid #379c75;
  outline-offset: 2px;
}

/* =======================
   DARK SCROLLBAR STYLES
   ======================= */
body::-webkit-scrollbar {
  width: 9px;
  background: #161a1d;
}
body::-webkit-scrollbar-thumb {
  background: #134e6f;
  border-radius: 6px;
}

/* ===============
   PRINT STYLES
   =============== */
@media print {
  header, .primary-cta, .mobile-menu-toggle, .mobile-menu, .cookie-banner, .cookie-modal, footer {
    display: none !important;
  }
}
