/* EmberCrypt Leipzig – Elegant Classic Style – style.css */
/* 1. 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, 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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background-color: #F5F0EA;
  color: #1E2746;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
img, video {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #1E2746;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #8DA859;
  text-decoration: underline;
  outline: none;
}
ul, ol {
  padding-left: 1.4em;
  margin-bottom: 16px;
}
li:not(:last-child) { margin-bottom: 8px; }
button {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
}
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 24px;
}
th, td {
  padding: 14px 12px;
  border-bottom: 1px solid #e4e1da;
  text-align: left;
  font-size: 16px;
}
th {
  background: #EFEAE0;
  font-weight: 700;
}
/* 2. TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  color: #1E2746;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
  line-height: 1.22;
}
h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 24px; }
h2 { font-size: 2rem; font-weight: 600; margin-bottom: 20px; }
h3 { font-size: 1.38rem; font-weight: 600; margin-bottom: 14px; }
h4 { font-size: 1.12rem; font-weight: 500; }
p, .subheadline, .footer-contact, .testimonial-name {
  font-family: 'Open Sans', 'Segoe UI', Arial, sans-serif;
  color: #232330;
  font-size: 1rem;
}
.subheadline {
  font-size: 1.28rem;
  color: #8DA859;
  font-style: italic;
  margin-bottom: 20px;
}
strong {
  font-weight: 700;
}
/* 3. LAYOUT CONTAINERS & SPACING PATTERNS */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 2px 24px 0 rgba(30,39,70,0.05);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  border: 1px solid #ece8dd;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(30,39,70,0.06);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 320px;
  min-width: 270px;
  transition: box-shadow 0.22s;
}
.card:hover {
  box-shadow: 0 4px 24px 0 rgba(141,168,89,0.19);
  z-index: 2;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #F5F0EA;
  border-radius: 13px;
  border: 1px solid #e4e1da;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px 0 rgba(30,39,70,0.04);
  color: #232330;
  max-width: 520px;
}
.testimonial-card p { color: #232330; font-size: 1.06rem; }
.testimonial-name { font-style: italic; color: #8DA859; }
.testimonial-stars {
  display: flex;
  align-items: center;
  gap: 4px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  font-size: 1.09rem;
  margin-bottom: 20px;
}
.service-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eee9d8;
  box-shadow: 0 2px 14px 0 rgba(30,39,70,0.05);
  padding: 28px 22px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 310px;
  min-width: 250px;
  transition: box-shadow 0.22s;
}
.service-card:hover { box-shadow: 0 4px 24px 0 rgba(141,168,89,0.18); z-index: 2; }
.hero {
  background: #fff;
  border-radius: 21px;
  box-shadow: 0 4px 40px 0 rgba(30,39,70,0.09);
  margin-bottom: 60px;
  padding: 54px 0 52px 0;
}
.hero h1 {
  color: #1E2746;
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.hero .subheadline {
  font-size: 1.4rem;
  color: #8DA859;
}
.cta {
  background: #1E2746;
  border-radius: 16px;
  color: #fff;
  text-align: left;
  margin-bottom: 60px;
  padding: 34px 20px;
}
.cta h2, .cta p { color: #fff; }
.cta .cta-btn {
  background: #8DA859;
  color: #fff;
  border: none;
}
.text-section a { color: #1E2746; text-decoration: underline; }
.text-section a:hover { color: #8DA859; }
/* 4. HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #ece8dd;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 1px 8px 0 rgba(30,39,70,0.03);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 0;
}
header img {
  height: 48px;
  width: auto;
  margin-right: 24px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 26px;
  align-items: center;
}
header nav a {
  font-size: 1rem;
  font-weight: 500;
  color: #1E2746;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.16s;
}
header nav a:hover, header nav a:focus {
  color: #8DA859;
  text-decoration: underline;
}
.cta-btn {
  background: #1E2746;
  color: #fff;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 1.04rem;
  font-family: 'Georgia', serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: none;
  box-shadow: 0 3px 14px 0 rgba(30,39,70,0.10);
  transition: background 0.19s, color 0.19s, box-shadow 0.18s, transform 0.14s;
  margin-left: 22px;
  outline: none;
  display: inline-block;
}
.cta-btn:hover, .cta-btn:focus {
  background: #8DA859;
  color: #fff;
  box-shadow: 0 6px 22px 0 rgba(141,168,89,0.16);
  transform: translateY(-2px) scale(1.02);
}
/* 5. FOOTER */
footer {
  background: #F5F0EA;
  border-top: 1px solid #ece8dd;
  padding: 36px 0 16px 0;
}
footer .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
footer nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 26px;
}
footer nav a { color: #1E2746; font-size: 1rem; transition: color 0.18s;}
footer nav a:hover { color: #8DA859; }
.footer-contact {
  font-size: 1rem;
  color: #232330;
  margin-top: 8px;
}
.footer-logo img {
  height: 38px;
  width: auto;
  margin-top: 10px;
}
/* 6. FORMS & DETAILS */
details {
  background: #fff;
  border: 1px solid #ece8dd;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 14px 18px 10px 18px;
  transition: box-shadow 0.14s;
}
details[open] {
  box-shadow: 0 3px 12px 0 rgba(141,168,89,0.13);
}
details summary {
  font-weight: 600;
  font-size: 1.08rem;
  cursor: pointer;
  color: #1E2746;
  margin-bottom: 10px;
}
details summary:focus {
  outline: 2px solid #8DA859;
  border-radius: 4px;
}
details div { color: #232330; font-size: 1rem; }
/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: none;
  background: #8DA859;
  color: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 1.6rem;
  position: fixed;
  top: 16px;
  right: 20px;
  z-index: 300;
  border: none;
  box-shadow: 0 2px 10px 0 rgba(30,39,70,0.11);
  transition: background 0.13s, transform 0.15s;
}
.mobile-menu-toggle:active { background: #1E2746; }
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  z-index: 500;
  box-shadow: 0 6px 32px 0 rgba(30,39,70,0.20);
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(0.8,0,0.3,1);
  will-change: transform;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #1E2746;
  background: none;
  padding: 14px 14px;
  align-self: flex-end;
  margin: 14px 14px 0 0;
  border: none;
  cursor: pointer;
  transition: color 0.18s;
  border-radius: 7px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #fff;
  background: #8DA859;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 38px 0 0 28px;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-weight: 500;
  color: #1E2746;
  padding: 10px 0;
  border-bottom: 1px solid #ece8dd;
  width: 90%;
  transition: color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #8DA859;
}
/* 7. COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 1000;
  width: 98%;
  max-width: 480px;
  background: #fff;
  border: 1.5px solid #8DA859;
  border-radius: 13px 13px 0 0;
  box-shadow: 0 -6px 30px rgba(30,39,70,0.09);
  padding: 18px 22px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  font-size: 1rem;
  color: #1E2746;
  animation: fadeInUp 0.45s;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translate(-50%,40px); }
  to   { opacity: 1; transform: translate(-50%,0); }
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-banner button {
  font-size: 1.03rem;
  font-family: 'Georgia', serif;
  padding: 8px 20px;
  border-radius: 6px;
  border: none;
  transition: background 0.18s, color 0.18s;
}
.cookie-banner .accept {
  background: #8DA859;
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #1E2746;
  color: #fff;
}
.cookie-banner .reject {
  background: #fff;
  color: #1E2746;
  border: 1.2px solid #1E2746;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #f6f6f6;
  color: #8DA859;
}
.cookie-banner .settings {
  background: #EFEAE0;
  color: #8DA859;
  border: 1.2px solid #8DA859;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #8DA859;
  color: #fff;
}
/* Cookie Modal */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 2010;
  left: 0;
  top: 0;
  background: rgba(30,39,70,0.18);
  width: 100vw;
  height: 100vh;
  align-items: center;
  justify-content: center;
}
.cookie-modal.open {
  display: flex;
  animation: fadeIn 0.4s;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 52px 0 rgba(30,39,70,0.19);
  padding: 38px 28px 34px 28px;
  width: 96%;
  max-width: 430px;
  display: flex;
  flex-direction: column;
  gap: 23px;
  position: relative;
  color: #1E2746;
  animation: slideDown 0.35s;
}
@keyframes slideDown {
  from { transform: translateY(-60px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-modal-content h3 {
  font-size: 1.29rem;
  font-family: 'Georgia', serif;
}
.cookie-modal-content .modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  font-size: 1.44rem;
  background: none;
  border: none;
  color: #8DA859;
  cursor: pointer;
  padding: 2px 7px;
  border-radius: 6px;
  transition: background 0.16s;
}
.cookie-modal-content .modal-close:hover, .cookie-modal-content .modal-close:focus {
  background: #f3f7ed;
  color: #1E2746;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #F5F0EA;
  border-radius: 7px;
  padding: 15px 16px;
  margin-bottom: 8px;
  font-size: 1.06rem;
}
.cookie-category label {
  font-weight: 600;
  color: #1E2746;
}
.cookie-category input[type="checkbox"] {
  width: 19px;
  height: 19px;
  accent-color: #8DA859;
}
.cookie-category.essential label::after {
  content: " (immer aktiviert)";
  color: #8DA859;
  font-size: 0.97rem;
  margin-left: 10px;
  font-style: italic;
}
.cookie-category.essential input[type="checkbox"] {
  display: none;
}
.cookie-modal .modal-btns {
  display: flex;
  flex-direction: row;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 12px;
}
.cookie-modal .modal-btns button {
  font-family: 'Georgia', serif;
  padding: 9px 18px;
  font-size: 1.02rem;
  border-radius: 6px;
  border: none;
  transition: background 0.18s, color 0.18s;
}
.cookie-modal .save {
  background: #8DA859;
  color: #fff;
}
.cookie-modal .save:hover { background: #1E2746; color: #fff; }
.cookie-modal .cancel {
  background: #fff;
  color: #1E2746;
  border: 1.2px solid #1E2746;
}
.cookie-modal .cancel:hover { background: #EFEAE0; color: #8DA859; }
/* 8. UTILITY STYLES & RESPONSIVE SPACING */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.gap-1 { gap: 8px !important; }
.gap-2 { gap: 16px !important; }
/* 9. RESPONSIVE DESIGN – MOBILE FIRST */
@media (max-width: 1100px) {
  .container { max-width: 100vw; }
  .hero { padding: 36px 0 34px; }
}
@media (max-width: 900px) {
  .container { max-width: 99vw; }
  .card, .service-card { min-width: 210px; }
  .card-container, .content-grid { flex-direction: column; gap: 18px; }
}
@media (max-width: 768px) {
  .hero {
    padding: 24px 0;
    margin-bottom: 36px;
  }
  header .container { flex-direction: column; align-items: flex-start; gap: 10px; padding: 10px 12px;}
  header nav { display: none; }
  .cta-btn { margin-left: 0; margin-top: 12px; }
  .mobile-menu-toggle { display: block; }
  .section { padding: 26px 7px; margin-bottom: 32px; }
  .cta { padding: 18px 8px 22px; border-radius: 9px; }
  .footer-logo img { height: 28px; }
  .service-card, .card { padding: 18px 10px; min-width: 160px; }
  .content-wrapper { gap: 12px; }
  .content-grid { flex-direction: column; gap: 14px; }
  .testimonial-card { padding: 13px; margin-bottom: 12px; }
  .text-image-section { flex-direction: column; gap: 19px; }
}
@media (max-width: 500px) {
  h1 { font-size: 1.60rem; }
  h2 { font-size: 1.21rem; }
  .section, .cta { padding: 15px 3px; }
  .container { padding: 0 6px; }
  table th, table td { padding: 7px 3px; font-size: 0.98rem; }
}
/* === END === */
