/* 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;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #FFFBEF;
  color: #283B42;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
a:focus-visible {
  outline: 2px solid #D9B310;
  outline-offset: 3px;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 10px 12px;
  text-align: left;
}
th {
  background: #F5F5F5;
  font-weight: 600;
}
tr:nth-child(even){
  background: #FAF3DD;
}

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

html {
  font-size: 16px;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #FFFBEF;
  color: #283B42;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #283B42;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem;   margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 14px; font-weight: 600; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 10px; }
p, ul, li, dl, dd, dt{
  font-size: 1rem;
  color: #454545;
  margin-bottom: 10px;
}
strong { font-weight: 700; }
em, cite { color: #D9920A; }
blockquote {
  background: #FFF6DC;
  padding: 20px 28px;
  border-left: 5px solid #D9B310;
  margin: 28px 0;
  font-size: 1.12rem;
  font-style: italic;
  border-radius: 16px;
}

/* CONTAINERS & SECTIONS */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFFDF7;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(217, 179, 16, 0.06), 0 1.5px 6px rgba(40, 59, 66, 0.05);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 4px 16px rgba(217, 179, 16, 0.17), 0 7px 28px rgba(40, 59, 66, 0.11);
  transform: translateY(-4px) scale(1.0125);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 20px;
  background: #FFFDF7;
  border-radius: 22px;
  box-shadow: 0 2px 12px rgba(40, 59, 66, 0.11), 0 1.5px 6px rgba(217, 179, 16, 0.09);
  margin-bottom: 20px;
  max-width: 500px;
  min-width: 230px;
  color: #283B42;
}
.testimonial-card p {
  color: #283B42;
  font-size: 1.08rem;
  text-align: center;
  margin-bottom: 10px;
}
.testimonial-card strong {
  color: #D9920A;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* BLOG TEASER LIST */
.blog-teaser-list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.blog-teaser-list .text-section {
  flex: 1 1 270px;
  background: #FFF6DC;
  border-radius: 18px;
  padding: 18px 18px 12px 18px;
  box-shadow: 0 1.5px 7px rgba(217,179,16, 0.07);
  min-width: 240px;
}

/* HEADER & NAV */
header {
  background: #FFFDF7;
  border-bottom: 1.5px solid #F5F5F5;
  box-shadow: 0 1.5px 6px rgba(217, 179, 16, 0.05);
  padding: 0 0 0.5rem 0;
  margin-bottom: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px 10px 18px;
}
header nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #283B42;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 1.06rem;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: #D9B31010;
  color: #D9920A;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #D9B310;
  color: #283B42;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 18px;
  padding: 12px 28px;
  margin-left: 12px;
  box-shadow: 0 1.5px 7px rgba(217, 179, 16, 0.13);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.btn-primary:hover, .btn-primary:focus {
  background: #283B42;
  color: #FFD65A;
  box-shadow: 0 4px 12px rgba(40,59,66,0.17), 0 7px 28px rgba(217,179,16, 0.09);
  transform: translateY(-2px) scale(1.025);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFF6DC;
  color: #283B42;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  border: 1.5px solid #D9B310;
  border-radius: 14px;
  padding: 10px 22px;
  margin-top: 13px;
  box-shadow: 0 1.5px 6px rgba(217,179,16, 0.07);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.15s, transform 0.15s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #D9B310;
  color: #FFFDF7;
  border-color: #D9B310;
  box-shadow: 0 4px 12px rgba(217, 179, 16, 0.16);
  transform: translateY(-1px) scale(1.019);
}

/* BURGER MENU */
.mobile-menu-toggle {
  display: none;
  background: #FFF6DC;
  color: #D9B310;
  border: none;
  font-size: 2.1rem;
  padding: 9px 17px;
  border-radius: 15px;
  transition: background 0.19s, color 0.2s, transform 0.19s,
              box-shadow 0.17s;
  box-shadow: 0 1.5px 6px rgba(217,179,16, 0.11);
  cursor: pointer;
  z-index: 400;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #D9B310;
  color: #283B42;
  transform: scale(1.09);
  box-shadow: 0 3px 12px rgba(40, 59, 66, 0.18);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #FFFDF7;
  box-shadow: 0 8px 40px 5px rgba(40, 59, 66, 0.15);
  z-index: 1001;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 20px 25px 40px 25px;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.74,.25,.32,1.16);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: #FFF6DC;
  color: #D9B310;
  font-size: 2.2rem;
  border: none;
  border-radius: 14px;
  padding: 7px 17px;
  align-self: flex-end;
  margin-bottom: 28px;
  box-shadow: 0 1.5px 7px rgba(217,179,16, 0.10);
  cursor: pointer;
  transition: background 0.18s, color 0.16s, transform 0.19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #D9B310;
  color: #283B42;
  transform: scale(1.09) rotate(6deg);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.32rem;
  font-weight: 600;
  color: #283B42;
  padding: 13px 6px 13px 0;
  border-radius: 12px;
  transition: background 0.18s, color 0.17s, padding 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFF6DC;
  color: #D9920A;
  padding-left: 12px;
}

/* FOOTER */
footer {
  background: #FFFDF7;
  border-top: 1.5px solid #E6E6E1;
  text-align: center;
  padding: 30px 0 16px 0;
}
footer nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-bottom: 13px;
}
footer nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #8A8377;
  font-size: 1rem;
  padding: 5px 8px;
  border-radius: 7px;
  transition: color 0.17s, background 0.18s;
}
footer nav a:hover, footer nav a:focus {
  background: #FFF6DC;
  color: #D9B310;
}
.footer-info {
  color: #939393;
  font-size: 0.99rem;
  padding-top: 2px;
  letter-spacing: 0.009em;
}

/* ICONS INSIDE UL */
ul li img {
  vertical-align: middle;
  height: 1.4em;
  margin-right: 7px;
  margin-bottom: 2px;
}

/* DL/TABLE STYLE */
dt {
  font-weight: 600;
  color: #283B42;
  margin-top: 10px;
}
dd {
  margin-left: 18px;
  color: #454545;
  font-size: 1rem;
  margin-bottom: 7px;
}
table {
  background: #FFFDF7;
  border-radius: 15px;
  box-shadow: 0 1.5px 6px rgba(217, 179, 16, 0.05);
  overflow: hidden;
}
th, td {
  border-bottom: 1px solid #E6E6E1;
}
th:last-child, td:last-child {
  border-right: none;
}
tr:last-child td {
  border-bottom: none;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #FFFBEF;
  color: #283B42;
  box-shadow: 0 -6px 32px rgba(40,59,66, 0.14);
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
  z-index: 8000;
  padding: 24px 10px 14px 10px;
  font-size: 1.04rem;
  border-top-left-radius: 19px;
  border-top-right-radius: 19px;
  transition: transform 0.28s cubic-bezier(.5,1.5,.5,1), opacity 0.20s;
}
.cookie-banner.hide {
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 16px;
  margin-top: 9px;
  flex-wrap: wrap;
}
.cookie-btn {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #D9B310;
  border: none;
  color: #283B42;
  font-size: 1rem;
  border-radius: 12px;
  padding: 10px 20px;
  margin-bottom: 5px;
  cursor: pointer;
  box-shadow: 0 1.5px 7px rgba(217,179,16, 0.12);
  transition: background 0.17s, color 0.16s, transform 0.18s;
}
.cookie-btn.settings {
  background: #FFF6DC;
  border: 1.2px solid #D9B310;
  color: #283B42;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #283B42;
  color: #FFD65A;
  transform: scale(1.06);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #D9B310;
  color: #FFFDF7;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -65%) scale(1);
  z-index: 8050;
  background: #FFFDF7;
  border-radius: 22px;
  box-shadow: 0 7px 44px rgba(40, 59, 66, 0.33);
  width: 95vw;
  max-width: 420px;
  padding: 34px 26px 30px 26px;
  display: none;
  flex-direction: column;
  gap: 22px;
  font-size: 1.1rem;
}
.cookie-modal.open {
  display: flex;
  animation: pop-in-cookie 0.28s cubic-bezier(.36,1.54,.61,1.02);
}
@keyframes pop-in-cookie {
  from { opacity: 0; transform: translate(-50%, -100%) scale(0.95); }
  to   { opacity: 1; transform: translate(-50%, -65%) scale(1); }
}
.cookie-modal h3 {
  font-size: 1.28rem;
  color: #283B42;
  margin-bottom: 14px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
  padding: 8px 0;
  border-bottom: 1px solid #E6E6E1;
}
.cookie-modal .category-label {
  font-weight: 600;
}
.cookie-switch {
  appearance: none;
  width: 40px; height: 24px;
  background: #FFF6DC;
  border-radius: 14px;
  position: relative;
  outline: none;
  border: 1.2px solid #D9B310;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-switch:checked {
  background: #D9B310;
}
.cookie-switch:before {
  content: '';
  display: block;
  position: absolute;
  left: 3.2px; top: 3px;
  width: 18px; height: 18px;
  background: #FFFDF7;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(40,59,66,0.13);
  transition: left 0.22s cubic-bezier(.45,1.44,.56,1.05);
}
.cookie-switch:checked:before {
  left: 18px;
}
.cookie-modal .category-label span[aria-label='immer aktiviert'] {
  color: #BBB17F;
  font-size: 0.97rem;
  font-weight: 400;
  margin-left: 9px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 17px;
  align-items: center;
  margin-top: 13px;
  justify-content: flex-end;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1180px) {
  .container {
    max-width: 100vw;
  }
}
@media (max-width: 900px) {
  h1 { font-size: 2.1rem; }
  .container { padding: 0 8px; }
}
@media (max-width: 810px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.28rem; }
  header .container { flex-wrap: wrap; gap: 6px; }
}
@media (max-width: 768px) {
  .container { max-width: 100vw; padding: 0 7px; }
  .content-wrapper, .text-image-section, .content-grid {
    flex-direction: column;
    gap: 17px;
  }
  .card-container, .blog-teaser-list {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    max-width: 97vw;
    font-size: 0.98rem;
  }
  header nav, .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 500px) {
  .container { padding: 0 3px; }
  h1 { font-size: 1.17rem; }
  h2, .btn-primary, .btn-secondary { font-size: 1rem; }
  .section { padding: 24px 3px; }
  .card { padding: 15px 10px; border-radius: 13px; }
  .testimonial-card { padding: 13px; border-radius: 13px; }
}

/* ANIMATIONS & MICRO-INTERACTIONS */
section,.section,.card,.testimonial-card,.text-section,.blog-teaser-list .text-section {
  transition: box-shadow 0.2s, background 0.22s, transform 0.19s;
}
.card:active {
  transform: scale(0.98);
  box-shadow: 0 1.5px 7px rgba(40,59,66,0.13);
}
.btn-primary:active, .btn-secondary:active, .cookie-btn:active {
  transform: scale(0.97);
}

/* FORM STYLES (for contact, gdpr, etc. if added) */
input, textarea, select {
  border: 1.5px solid #EEE6CA;
  background: #FFFDF7;
  border-radius: 11px;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: border 0.16s, box-shadow 0.15s;
  box-shadow: 0 1.5px 5px rgba(217, 179, 16, 0.07);
  margin-bottom: 14px;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #D9B310;
  box-shadow: 0 2px 12px rgba(40,59,66, 0.13);
}

/* ACCESSIBILITY & UTILITIES */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Focus visible for all buttons */
button:focus-visible, .cookie-btn:focus-visible {
  outline: 2px solid #D9B310;
  outline-offset: 3px;
}

/* Spacing helpers */
.mt-32 { margin-top: 32px !important; }
.mb-32 { margin-bottom: 32px !important; }
.pt-24 { padding-top: 24px !important; }
.pb-24 { padding-bottom: 24px !important; }

