/* --------------------------------------------------
   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: inherit;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: #FFF8F1;
  color: #3D281C;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 8px;
}
a {
  color: #ca7c00;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFD600;
  outline: none;
}
strong {
  font-weight: 700;
}

/* --------------------------------------------------
   COLOR VARIABLES & BRAND
-------------------------------------------------- */
:root {
  --color-primary: #1E1E24;
  --color-secondary: #FFD600;
  --color-accent: #FFFFFF;
  --color-bg-page: #FFF8F1;
  --color-bg-section: #FFF3E1;
  --color-bg-card: #FFFFFF;
  --color-text: #3D281C;
  --color-link: #885100;
  --color-link-hover: #ca7c00;
  --shadow-soft: 0 4px 20px 0 rgba(210, 112, 0, 0.08);
  --radius-lg: 22px;
  --radius-sm: 12px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
  --transition-main: all 0.18s cubic-bezier(.91,.44,.53,1.03);
}

/* --------------------------------------------------
   TYPOGRAPHY
-------------------------------------------------- */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 18px;
  line-height: 1.15;
  letter-spacing: -1px;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 14px;
  line-height: 1.17;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.33rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}
h4, .h4 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary);
}
.subtitle {
  font-family: var(--font-display);
  color: #b45f06;
  font-size: 1.33rem;
  margin-bottom: 26px;
  font-weight: 500;
}
p, .text-section p {
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--color-text);
}
.text-section {
  margin-bottom: 20px;
}
.text-section h3 {
  margin-bottom: 12px;
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 2rem;}
  h2, .h2 { font-size: 1.3rem;}
}

/* Typography scale helpers */
.fs-16 { font-size: 1rem; }
.fs-18 { font-size: 1.125rem; }
.fs-24 { font-size: 1.5rem; }
.fs-32 { font-size: 2rem; }
.fs-48 { font-size: 3rem; }

/* --------------------------------------------------
   BUTTONS
-------------------------------------------------- */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 8px 0 rgba(210,112,0,.09);
  transition: var(--transition-main);
  cursor: pointer;
  font-size: 1.08rem;
  padding: 13px 32px;
  margin-top: 12px;
  margin-bottom: 12px;
}
.btn-primary {
  background: var(--color-secondary);
  color: #5f3b00;
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover, .btn-primary:focus {
  background: #ffea73;
  color: #2B1D08;
  transform: translateY(-2px) scale(1.04);
}
.btn-secondary {
  background: var(--color-primary);
  color: var(--color-accent);
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #232327;
  color: #FFD600;
  transform: translateY(-2px) scale(1.04);
}

/* Hamburger button */
.mobile-menu-toggle {
  background: var(--color-secondary);
  color: #5f3b00;
  border-radius: 50%;
  border: none;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  line-height: 0.95;
  margin-left: 18px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px 0 rgba(210,112,0,0.11);
  display: none;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  outline: 2px solid #ca7c00;
}
@media (max-width: 992px) {
  .mobile-menu-toggle {
    display: inline-flex;
  }
}

/* --------------------------------------------------
   HEADER & NAV
-------------------------------------------------- */
header {
  background: var(--color-bg-section);
  box-shadow: 0 4px 14px -3px rgba(94,18,0,0.08);
  padding: 0;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 16px;
  max-width: 1200px;
  margin: 0 auto;
}
header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
header nav a {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-primary);
  font-size: 1rem;
  padding: 3px 10px;
  border-radius: 10px;
  transition: background .16s, color .17s;
}
header nav a:hover, header nav a:focus {
  background: var(--color-secondary);
  color: #a87917;
}
header .btn-primary {
  margin-left: 22px;
  margin-bottom: 0;
  margin-top: 0;
}
@media (max-width: 992px) {
  header nav {
    display: none;
  }
  header .btn-primary {
    display: none;
  }
}

/* --------------------------------------------------
   MOBILE MENU
-------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,248,241, 0.97);
  z-index: 1500;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.61,.21,.36,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  visibility: hidden;
}
.mobile-menu.active {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu-close {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--color-secondary);
  color: #5f3b00;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  z-index: 1510;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(210,112,0,0.11);
  transition: background 0.21s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FDE36B;
  outline: 2px solid #ca7c00;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 90px 24px 32px 24px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.19rem;
  font-weight: 600;
  padding: 14px 14px 14px 0;
  color: var(--color-primary);
  border-radius: 10px;
  width: 100%;
  transition: background 0.14s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: #a87917;
}
@media (min-width: 993px) {
  .mobile-menu { display: none;}
}

/* --------------------------------------------------
   LAYOUT CONTAINERS
-------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 36px 28px 32px 28px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .content-wrapper {
    padding: 20px 8px 18px 8px;
  }
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-section);
  border-radius: var(--radius-lg);
}
@media (max-width:768px) {
  .section {
    padding: 24px 5px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 28px 20px;
  flex: 1 1 320px;
  transition: box-shadow 0.13s, transform 0.13s;
}
.card:hover {
  box-shadow: 0 6px 24px 0 rgba(240,167,33,0.22);
  transform: translateY(-2px) scale(1.01);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
@media (max-width: 960px) {
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}
.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;
    gap: 16px;
  }
}

/* Feature grid (used on homepage index) */
.feature_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  list-style: none;
  margin: 0 0 8px 0;
  padding: 0;
}
.feature_grid li {
  display: flex;
  flex: 1 1 150px;
  background: #fff;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 9px rgba(232,180,37,0.08);
  align-items: center;
  gap: 13px;
  min-width: 130px;
  font-size: 1.03rem;
  color: #684a18;
  font-weight: 500;
  margin-bottom: 0;
}
.feature_grid img {
  height: 36px;
  width: 36px;
  margin-right: 9px;
}
@media (max-width: 768px) {
  .feature_grid { flex-direction: column; gap: 12px;}
  .feature_grid li { min-width: 0; width: 100%;}
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --------------------------------------------------
   TESTIMONIALS
-------------------------------------------------- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fffbe7;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 9px 0 rgba(199,141,0,0.09);
  margin-bottom: 24px;
  font-family: var(--font-body);
  color: #3D281C;
}
.testimonial-card p {
  margin-bottom: 0;
  font-style: italic;
  color: #614100;
  font-size: 1.08rem;
  flex: 1 1 0%;
}
.testimonial-card strong {
  color: #ad6000;
  font-weight: 700;
  font-size: 1rem;
  margin-left: 14px;
}
@media (max-width: 578px) {
  .testimonial-card { flex-direction: column; gap: 8px; padding: 12px;}
  .testimonial-card strong { margin-left: 0;}
}

/* Quick facts and contact info styling */
.quick_facts, .contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  list-style: none;
  margin-bottom: 14px;
  padding: 0;
}
.quick_facts li, .contact-info li {
  background: #fffbe7;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  color: #a07d09;
  font-weight: 500;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 5px;
}
.quick_facts strong { color: #ca7c00; }

/* contact-details in kontakt */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 14px 0 16px 0;
}
.contact-details span {
  font-size: 1.02rem;
  color: #876532;
  display: flex;
  align-items: center;
  gap: 9px;
}
@media(max-width: 600px) {
  .contact-details { gap: 7px; }
  .contact-details span { font-size: 0.99rem; }
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */
footer {
  background: var(--color-primary);
  color: #FFD600;
  padding: 32px 0 18px 0;
  margin-top: 40px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand img {
  width: 70px;
  height: auto;
  margin-bottom: 18px;
  filter: drop-shadow(0 2px 8px rgba(255,214,0,0.09));
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer nav a {
  color: #FFD600;
  opacity: 0.88;
  font-size: 1rem;
  transition: color 0.18s, opacity 0.15s;
  font-family: var(--font-display);
}
footer nav a:hover {
  color: #fffbe7;
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: .97rem;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact img {
  width: 17px;
  height: 17px;
}
@media (max-width: 768px) {
  footer .container { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-brand img { margin-bottom: 10px; }
}

/* --------------------------------------------------
   COOKIE CONSENT BANNER
-------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2000;
  background: #fffbe3;
  color: #2D1E06;
  box-shadow: 0 -2px 12px rgba(212,148,12,0.10);
  padding: 18px 36px 18px 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  transition: transform 0.25s cubic-bezier(.71,.26,.32,1.12);
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner .cookie-text {
  flex: 1 1 0%;
  font-size: 1rem;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.cookie-btn {
  border-radius: var(--radius-sm);
  background: var(--color-secondary);
  color: #5f3b00;
  border: none;
  padding: 8px 22px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.15s;
  cursor: pointer;
  box-shadow: 0 1px 5px 0 rgba(210,112,0,.08);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #ffec86;
}
.cookie-btn.cookie-settings {
  background: #efe9ce;
  color: #b89325;
}
.cookie-btn.cookie-settings:hover {
  background: #ddd4a3;
}
@media(max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 15px 7px 16px 7px;
    font-size: 0.98rem;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  z-index: 3000;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(43,29,8,0.25);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.cookie-modal.show {
  display: flex;
  animation: fadeIn 0.14s linear;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal-dialog {
  background: #fffbe7;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 32px rgba(210, 112, 0, 0.14);
  padding: 40px 24px 28px 24px;
  min-width: 320px;
  max-width: 400px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-modal-header {
  font-family: var(--font-display);
  color: #9f6d00;
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.02rem;
  margin-bottom: 10px;
}
.cookie-toggle {
  width: 42px;
  height: 24px;
  display: inline-block;
  border-radius: 20px;
  background: #FDE27B;
  position: relative;
  cursor: pointer;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle .slider {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #FFD600;
  transition: left 0.18s, background 0.17s;
}
.cookie-toggle input:checked + .slider {
  left: 21px;
  background: #f5ca00;
}
.cookie-category .cookie-status {
  margin-left: auto;
  font-size: .97rem;
  color: #949494;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
@media(max-width: 460px) {
  .cookie-modal-dialog { padding: 17px 5px 18px 8px; font-size: .98rem;}
}

/* --------------------------------------------------
   RESPONSIVE & UTILITY
-------------------------------------------------- */
@media (max-width: 960px) {
  .container {
    max-width: 98%;
    padding: 0 6px;
  }
}
@media (max-width: 600px) {
  .content-wrapper { margin-bottom: 32px; padding: 14px 3px;}
  .section { margin-bottom: 36px;}
}

/* Spacing helpers */
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mt-16 { margin-top: 16px; }

/* Miscellaneous UI helpers */
.rounded-lg { border-radius: var(--radius-lg); }
.shadow-soft { box-shadow: var(--shadow-soft); }

/* --------------------------------------------------
   MICRO-INTERACTIONS & TRANSITIONS
-------------------------------------------------- */
input, button, select, textarea {
  font-family: inherit;
  outline: none;
  transition: box-shadow 0.13s, border 0.14s, background 0.11s;
}
input:focus, textarea:focus {
  box-shadow: 0 0 0 2px #FFD60044;
}

/* Card hover animation */
.card, .feature_grid li, .testimonial-card, .cookie-banner, .cookie-modal-dialog {
  transition: box-shadow 0.18s, background 0.2s, transform 0.17s;
}
.feature_grid li:hover {
  box-shadow: 0 6px 24px rgba(232,180,37,0.14);
  background: #fff6d1;
}
.testimonial-card:hover {
  box-shadow: 0 9px 26px 0 rgba(232,146,0,0.13);
  background: #fff7c9;
}

/* --------------------------------------------------
   FORMS (if contact form is present)
-------------------------------------------------- */
form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}
input[type=text], input[type=email], input[type=tel], textarea {
  padding: 13px 15px;
  border: 1px solid #FFEBB0;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  background: #fff;
  transition: border 0.16s, box-shadow 0.13s;
}
input[type=text]:focus, input[type=email]:focus, textarea:focus {
  border-color: #FFD600;
  box-shadow: 0 0 6px 0 #ffeeb0;
}
label {
  font-weight: 600;
  margin-bottom: 4px;
  color: #6c4700;
  font-size: .99rem;
}

/* --------------------------------------------------
   CUSTOM SCROLLBAR (for soft look)
-------------------------------------------------- */
::-webkit-scrollbar {
  width: 10px;
  background: #FDE27B;
}
::-webkit-scrollbar-thumb {
  background: #FFD600;
  border-radius: 8px;
}

/* --------------------------------------------------
   A11Y UTILITY
-------------------------------------------------- */
:focus-visible {
  outline: 2px dashed #FFD600;
  outline-offset: 2px;
}

/* --------------------------------------------------
   PRINT
-------------------------------------------------- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  .container { max-width: 100% !important; }
  body { background: #fff; }
}
