/* 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; }
*, *:before, *:after { box-sizing: inherit; }
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section { display: block; }
body { line-height: 1.5; font-family: 'Open Sans', Arial, sans-serif; background: #F8FAFB; color: #174D59; }
img { max-width: 100%; display: block; border: 0; }
a { color: #174D59; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #EAB160; }
ul, ol { margin-left: 24px; }

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', serif;
  color: #174D59;
  margin-bottom: 16px;
  font-weight: 700;
}
h1 { font-size: 2.5rem; line-height: 1.2; }
h2 { font-size: 2rem; line-height: 1.25; }
h3 { font-size: 1.25rem; line-height: 1.3; }
h4, h5, h6 { font-size: 1.125rem; }
p, ul, ol, li, span, label { font-family: 'Open Sans', Arial, sans-serif; font-size: 1rem; color: #174D59; }
p { margin-bottom: 16px; }
strong { font-weight: 600; }

/* LAYOUT CONTAINER */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

.content-wrapper {
  max-width: 830px;
  margin: 0 auto 32px auto;
  padding: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(234, 177, 96, 0.07);
}

/* FLEXBOX PATTERNS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 3px 18px rgba(234, 177, 96, 0.10);
  padding: 24px;
  flex: 1 1 320px;
  min-width: 0;
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 6px 24px rgba(234, 177, 96, 0.19);
}
.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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #FFFDF9;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(234, 177, 96, 0.13);
  margin-bottom: 20px;
  flex: 1 1 250px;
  min-width: 0;
  transition: box-shadow 0.18s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 36px rgba(234, 177, 96, 0.23);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* FEATURE GRID */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}
.feature-grid > div {
  background: #FAF4EE;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(234,177,96,0.05);
  padding: 28px 22px;
  flex: 1 1 230px;
  min-width: 0;
  text-align: center;
  transition: box-shadow 0.18s;
}
.feature-grid > div:hover {
  box-shadow: 0 10px 32px rgba(234,177,96,0.14);
}
.feature-grid img {
  width: 48px; height: 48px; margin-bottom: 12px;
}

/* BUTTONS */
.btn-primary,
.mobile-menu-close,
.mobile-menu-toggle,
.cookie-consent-accept,
.cookie-consent-reject,
.cookie-consent-settings {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  font-family: 'Roboto Slab', serif;
  background: #EAB160;
  color: #174D59;
  font-size: 1rem;
  border: none;
  border-radius: 32px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(234,177,96,0.17);
  transition: background 0.2s, color 0.2s, box-shadow 0.18s;
  margin-top: 16px;
  margin-bottom: 8px;
}
.btn-primary:focus, .btn-primary:hover {
  background: #FFD899;
  color: #174D59;
  box-shadow: 0 6px 24px rgba(234,177,96,0.33);
  outline: none;
}

.mobile-menu-toggle {
  width: 44px;
  height: 44px;
  background: #EAB160;
  color: #174D59;
  font-size: 2rem;
  border-radius: 50%;
  border: none;
  box-shadow: 0 1px 6px rgba(234,177,96,0.19);
  transition: background 0.15s, color 0.15s;
  margin-left: 16px;
  display: none;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #FFD899;
}

.mobile-menu-close {
  width: 38px;
  height: 38px;
  align-self: flex-end;
  background: #FFF;
  border: 2px solid #EAB160;
  color: #174D59;
  font-size: 1.7rem;
  border-radius: 50%;
  margin: 12px 8px 16px 0;
}
.mobile-menu-close:hover {
  background: #FFE6BD;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #FFF;
  box-shadow: 0 1px 12px rgba(234,177,96,0.10);
  border-radius: 0 0 20px 20px;
  margin-bottom: 34px;
  position: relative;
  z-index: 20;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px 16px;
}
.logo img { width: 134px; max-height: 58px; }
.main-nav {
  display: flex;
  gap: 22px;
  margin-right: auto;
  margin-left: 26px;
}
.main-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  color: #174D59;
  padding: 8px 18px;
  border-radius: 18px;
  transition: background 0.14s, color 0.14s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #FFE6BD;
  color: #EAB160;
  outline: none;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(255,249,237,0.99);
  box-shadow: 0 5px 40px rgba(23, 77, 89, 0.16);
  z-index: 2000;
  transition: transform 0.32s cubic-bezier(.7,.2,.40,1);
  transform: translateX(-105%);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 0 24px 36px 36px;
  gap: 18px;
}
.mobile-nav a {
  font-family: 'Roboto Slab', serif;
  font-size: 1.2rem;
  color: #174D59;
  background: #FFE6BD;
  padding: 13px 0 13px 16px;
  border-radius: 18px;
  margin-bottom: 6px;
  transition: background 0.17s, color 0.17s;
  font-weight: 700;
}
.mobile-nav a:hover {
  background: #FFD899;
  color: #EAB160;
}

/* HERO SECTION */
main > section:first-of-type {
  background: #FFFCF7;
  border-radius: 28px;
  box-shadow: 0 6px 36px rgba(234,177,96,0.13);
  margin-top: 20px;
  margin-bottom: 54px;
  padding-top: 52px;
  padding-bottom: 60px;
}

/* USP LISTS, FAQS, TEXT-SECTION */
.usp-list, .contact-details-list {
  margin-left: 0;
  margin-bottom: 0;
  list-style: none;
  padding-left: 0;
}
.usp-list li, .contact-details-list li {
  background: #FFFDF7;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(234,177,96,0.05);
  padding: 11px 16px 11px 38px;
  margin-bottom: 13px;
  position: relative;
  font-size: 1.06rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.contact-details-list li img {
  width: 22px;
  vertical-align: middle;
  margin-right: 11px;
  margin-left: -30px;
  position: absolute;
  left: 7px;
  top: 12px;
}

.text-section {
  margin-top: 14px;
  margin-bottom: 24px;
  font-size: 1.08rem;
}
.text-section h3 { margin-top: 18px; margin-bottom: 5px; font-size: 1.18rem; color: #EAB160; }

.faq-section > div {
  margin-bottom: 18px;
  background: #FFFDF7;
  border-radius: 13px;
  box-shadow: 0 1px 8px rgba(234,177,96,0.10);
  padding: 12px 16px;
}
.faq-section strong { color: #174D59; display: block; margin-bottom: 4px; }

.timeline {
  margin-top: 20px;
}
.timeline ul {
  padding-left: 20px;
}
.timeline li { margin-bottom: 6px; position: relative; }

/* TESTIMONIALS */
.testimonial-author {
  font-size: 1rem;
  color: #174D59;
  font-style: italic;
  margin-left: 12px;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #5A3212;
  font-family: 'Roboto Slab', serif;
  margin-right: 21px;
}

/* FOOTER */
footer {
  width: 100%;
  background: #FFF;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -1px 12px rgba(234,177,96,0.11);
  margin-top: 72px;
  padding-top: 30px;
  color: #174D59;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 0 24px 0;
}
.footer-logo img { width: 76px; margin-bottom: 14px; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-nav a {
  color: #174D59;
  font-size: 1rem;
  margin-bottom: 0;
  transition: color 0.16s;
}
.footer-nav a:hover { color: #EAB160; }
.company-info, .legal-notice {
  font-size: 0.97rem;
  color: #666F7A;
  margin-bottom: 7px;
}
.legal-notice p {
  font-size: 0.92rem;
  color: #B69B78;
  margin-top: 13px;
}

/* COOKIE CONSENT BANNER + MODAL */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #FFFDF9;
  box-shadow: 0 -3px 20px rgba(234,177,96,0.17);
  padding: 28px 18px 22px 18px;
  gap: 16px;
  z-index: 4000;
  border-radius: 20px 20px 0 0;
  animation: cookieBannerSlideIn 0.41s cubic-bezier(.77,.27,.67,1.09);
}
@keyframes cookieBannerSlideIn {
  from { transform: translateY(100%); opacity: 0.47; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  color: #174D59;
  font-size: 1rem;
}
.cookie-consent-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 5px;
}
.cookie-consent-accept, .cookie-consent-reject, .cookie-consent-settings {
  padding: 11px 22px;
  font-size: 1rem;
  border-radius: 20px;
  font-weight: 600;
  border: none;
  background: #EAB160;
  color: #174D59;
  margin-right: 4px;
  transition: background 0.15s;
}
.cookie-consent-accept:hover, .cookie-consent-reject:hover, .cookie-consent-settings:hover {
  background: #FFD899;
}

.cookie-settings-modal {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(23,77,89,0.24);
  z-index: 5000;
  justify-content: center;
  align-items: center;
  animation: modalFadeIn 0.25s;
}
@keyframes modalFadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-settings-modal.open {
  display: flex;
}
.cookie-settings-modal .cookie-modal-content {
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 10px 44px rgba(23,77,89,0.22);
  max-width: 350px;
  min-width: 0;
  width: 95%;
  padding: 36px 22px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal-content h2 {
  font-size: 1.20rem;
  color: #EAB160;
  margin-bottom: 12px;
}
.cookie-modal-content .close-modal {
  position: absolute;
  top: 10px; right: 17px;
  background: none;
  border: none;
  color: #174D59;
  font-size: 1.7rem;
  border-radius: 50%;
  cursor: pointer;
  width: 34px; height: 34px;
}
.cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 7px;
  gap: 10px;
}
.cookie-category label {
  font-size: 1rem;
  color: #174D59;
  font-weight: 600;
}
.cookie-toggle {
  appearance: none;
  width: 41px;
  height: 22px;
  background: #e5e5e5;
  border-radius: 11px;
  position: relative;
  outline: none;
  margin-right: 7px;
  cursor: pointer;
  transition: background 0.21s;
}
.cookie-toggle:checked {
  background: #EAB160;
}
.cookie-toggle:before {
  content: "";
  position: absolute;
  width: 19px;
  height: 19px;
  left: 2px; top: 1.5px;
  border-radius: 50%;
  background: #FFF;
  box-shadow: 0 1px 3px rgba(234,177,96,0.10);
  transition: left 0.19s;
}
.cookie-toggle:checked:before {
  left: 20px;
}
.cookie-category[data-essential] .cookie-toggle {
  background: #FFD899 !important;
  pointer-events: none;
  opacity: 0.75;
}
.cookie-category[data-essential] label:after {
  content: "(Immer aktiv)";
  font-size: 0.95em;
  color: #A5957A;
  font-weight: 500;
  margin-left: 7px;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 12px;
}

/* Z-INDEX -- NAV, BANNER, MODALS */
header { z-index: 20; }
.mobile-menu { z-index: 2000; }
.cookie-consent-banner { z-index: 4000; }
.cookie-settings-modal { z-index: 5000; }

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .container { max-width: 94vw; }
  .footer-wrapper { flex-direction: column; align-items: flex-start; gap: 22px; }
  .main-nav { gap: 13px; }
}
@media (max-width: 900px) {
  .feature-grid { flex-direction: column; gap: 22px; }
  .content-grid { flex-direction: column; gap: 18px; }
  .footer-wrapper { flex-direction: column; gap: 14px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.08rem; }
  header .container { flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
  .section {
    margin-bottom: 32px;
    padding: 22px 5px 28px 5px;
    border-radius: 14px;
  }
  .card-container {
    gap: 14px;
    flex-direction: column;
  }
  .feature-grid {
    flex-direction: column;
    gap: 14px;
  }
  .testimonial-card, .card {
    flex-direction: column;
    gap: 11px;
    padding: 14px 13px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  footer { padding-top: 14px; }
  .footer-nav { flex-direction: row; flex-wrap: wrap; gap: 14px; }
  .footer-logo img { margin-bottom: 8px; }
  .company-info, .legal-notice { font-size: 0.875rem; }
}
@media (max-width: 520px) {
  .container { padding: 0 4px; }
  main > section:first-of-type {
    padding-top: 21px;
    padding-bottom: 27px;
    border-radius: 14px;
    margin-bottom: 18px;
  }
  .btn-primary,
  .cookie-consent-accept,
  .cookie-consent-reject,
  .cookie-consent-settings {
    width: 100%;
    box-sizing: border-box;
    margin-top: 10px;
    font-size: 0.97rem;
  }
}

/* ANIMATIONS & MICRO-INTERACTIONS */
.btn-primary,
.cookie-consent-accept,
.cookie-consent-reject,
.cookie-consent-settings {
  transition: background 0.22s, box-shadow 0.22s, color 0.18s;
}
.card, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.18s;
}
.card:hover, .testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(234,177,96,0.19);
}

/* CUSTOM SCROLLBAR for warm feeling */
body {
  scrollbar-color: #EAB160 #FFFDF9;
  scrollbar-width: auto;
}
body::-webkit-scrollbar {
  width: 11px;
  background: #FFFDF9;
  border-radius: 12px;
}
body::-webkit-scrollbar-thumb {
  background: #EAB160;
  border-radius: 10px;
}

/* SPECIAL CLASSES (for lists, nav, etc) */
ul li, ol li {
  margin-bottom: 0.4em;
}
nav ul, nav ol { padding-left: 0; margin-left: 0; }

/* Focus styles for accessibility */
a:focus,
.btn-primary:focus,
.mobile-menu-toggle:focus,
.mobile-menu-close:focus,
.cookie-consent-accept:focus,
.cookie-consent-reject:focus,
.cookie-consent-settings:focus {
  outline: 2px solid #EAB160;
  outline-offset: 2px;
}

/* Hide visually (for modals) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
