/* 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;
}
/* HTML5 display-role reset for older browsers */
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{
  display:block;
}
body{ line-height:1; }
ol,ul{ list-style:none; }
a{ text-decoration:none; color:inherit; }
img,svg{ max-width:100%; height:auto; display:block; }
button,input,textarea,select {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  box-sizing: border-box;
}
*, *::before, *::after { box-sizing: border-box; }

/* BRAND FONTS */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Lato:wght@400;700&display=swap');

:root {
  --color-primary: #38343b;
  --color-secondary: #e59e3b;
  --color-accent: #faf6f2;
  --color-bg: #fff;
  --color-border: #ececec;
  --color-shadow: rgba(56, 52, 59, 0.06);
  --color-shadow-hover: rgba(56, 52, 59, 0.12);
  --color-link: #38343b;
  --color-link-hover: #e59e3b;
  --focus-ring: 0 0 0 3px #faf6f2, 0 0 3px 4px #e59e3b;
}

body {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: var(--color-primary);
  background: var(--color-bg);
  min-height: 100vh;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--color-primary);
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.17;
}
h1 { font-size: 2.3rem; margin-bottom: 18px; }
h2 { font-size: 1.65rem; margin-bottom: 15px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4 { font-size: 1.1rem; }

p, li {
  color: var(--color-primary);
  font-size: 1rem;
  line-height: 1.7;
}
strong { font-weight: 700; }

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 18px;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* LAYOUT SECTION SPACING */
section {
  background: var(--color-bg);
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg);
}

/* FLEX CONTAINERS */
.card-container, .card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  background: var(--color-accent);
  box-shadow: 0 2px 12px var(--color-shadow);
  border-radius: 20px;
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  flex: 1 1 300px;
  min-width: 250px;
  transition: box-shadow 0.24s cubic-bezier(.25,.8,.25,1), transform 0.2s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 8px 32px var(--color-shadow-hover);
  transform: translateY(-2px) scale(1.01);
}

.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;
  margin-bottom: 40px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  padding: 20px 24px;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px var(--color-shadow);
  border: 1px solid var(--color-border);
  max-width: 540px;
  transition: box-shadow 0.2s;
}
.testimonial-card p {
  color: var(--color-primary);
  font-size: 1.05rem;
  margin: 0 0 6px 0;
}
.testimonial-card div {
  font-size: 1rem;
  color: #69666b;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 8px 24px var(--color-shadow-hover);
}

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

.cuisine-filters, .blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 10px 0 0 0;
}
.cuisine-filters span, .blog-tags span {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: 14px;
  font-size: 0.9rem;
  padding: 5px 13px;
  border: 1px solid var(--color-border);
  transition: background 0.2s, color 0.2s;
}
.cuisine-filters span:hover, .blog-tags span:hover {
  color: var(--color-secondary);
  cursor: pointer;
  background: #fff8ec;
}

.inclusion-list {
  margin-top: 15px;
  padding: 12px 14px;
  background: var(--color-accent);
  border-radius: 12px;
  box-shadow: 0 1px 4px var(--color-shadow);
  font-size: 1rem;
}

/* BUTTONS */
.cta-button {
  display: inline-flex;
  align-items: center;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  border-radius: 28px;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 14px 38px;
  margin-top: 8px;
  box-shadow: 0 2px 12px var(--color-shadow);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, transform 0.14s;
}
.cta-button:hover, .cta-button:focus {
  background: #d18d20;
  color: #fff;
  box-shadow: 0 6px 24px var(--color-shadow-hover);
  outline: none;
  transform: translateY(-1px) scale(1.025);
}

button,
.mobile-menu-toggle,
.mobile-menu-close {
  cursor: pointer;
}

/* HEADER + NAV */
header {
  background: var(--color-bg);
  box-shadow: 0 3px 24px -10px var(--color-shadow);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1001;
}
header .container {
  max-width: 1100px;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 0 18px;
  height: 78px;
}
header nav {
  display: flex;
  gap: 18px;
  font-size: 1rem;
  align-items: center;
}
header nav a {
  color: var(--color-primary);
  padding: 7px 16px;
  border-radius: 20px;
  transition: background 0.15s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: var(--color-accent);
  color: var(--color-secondary);
}
/* HIGHLIGHT ACTIVE NAV, e.g. via body class (optional) */
header nav a.active {
  color: var(--color-secondary);
  font-weight: 700;
}

.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--color-primary);
  background: transparent;
  border: none;
  padding: 8px 10px;
  border-radius: 50%;
  transition: background 0.16s;
}
.mobile-menu-toggle:focus {
  outline: none;
  background: var(--color-accent);
}

.logo {
  height: 38px;
  width: auto;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1111;
  background: rgba(56,52,59,0.86);
  backdrop-filter: blur(1.5px);
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.47,1.64,.41,.8);
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.mobile-menu.open { /* toggled open by JS */
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.15rem;
  color: #fff;
  background: transparent;
  padding: 18px 16px 0 24px;
  align-self: flex-end;
  border: none;
  transition: color 0.18s;
}
.mobile-menu-close:hover { color: var(--color-secondary); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 34px 0 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  padding: 10px 0;
  width: 180px;
  display: block;
  border-radius: 6px;
  transition: color 0.22s, background 0.14s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--color-secondary);
  background: rgba(242,222,187,0.10);
}

/* MAIN SPACING */
main {
  padding: 32px 0 16px 0;
  background: var(--color-bg);
}

/* LISTS */
ul,ol {
  margin-left: 1.2em;
  margin-bottom: 12px;
  padding-left: 0.9em;
}
ul li, ol li {
  margin-bottom: 8px;
  list-style: disc inside;
}

/* FOOTER */
footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  margin-top: 60px;
  font-size: 0.98rem;
}
footer .container {
  flex-direction: column;
  gap: 16px;
  padding: 36px 16px;
  max-width: 950px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}
footer nav a {
  color: var(--color-primary);
  padding: 5px 10px;
  border-radius: 12px;
  transition: background 0.13s, color 0.18s;
  font-size: 0.98rem;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-secondary);
  background: var(--color-accent);
}
.contact-footer {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.contact-footer img {
  width: 60px;
  height: auto;
}
.contact-footer div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: flex-start;
  font-size: 0.99rem;
  color: #7a757e;
}
.contact-footer strong {
  color: var(--color-primary);
  font-weight: 700;
}
.contact-footer a {
  color: var(--color-primary);
}
.contact-footer a:hover { text-decoration: underline; }

/* ICONS */
.content-wrapper img[alt^="Adresse"],
.content-wrapper img[alt^="Telefon"],
.content-wrapper img[alt^="E-Mail"],
.content-wrapper img[alt^="Öffnungszeiten"] {
  display: inline-block;
  vertical-align: middle;
  margin-right: 9px;
  width: 20px !important;
  height: 20px !important;
}

/* FOCUS STATES */
a:focus, button:focus, .cta-button:focus {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* MICROACTIONS & HOVER */
a, button, .cta-button, .cuisine-filters span, .blog-tags span {
  transition: color 0.21s, background 0.21s, box-shadow 0.24s, transform 0.19s;
}

/* COOKIE CONSENT BANNER */
#cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -4px 32px var(--color-shadow);
  border-top: 1px solid var(--color-border);
  padding: 22px 20px 24px 20px;
  z-index: 2025;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  font-size: 1rem;
  animation: cookieFadeIn 0.8s ease;
}
#cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 8px;
}
#cookie-banner button {
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  border-radius: 18px;
  font-size: 1rem;
  padding: 9px 23px;
  font-weight: 700;
  margin-right: 2px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 1px 4px var(--color-shadow);
}
#cookie-banner .accept {
  background: var(--color-secondary);
  color: #fff;
}
#cookie-banner .accept:hover,
#cookie-banner .accept:focus {
  background: #c57f16;
  color: #fff;
}
#cookie-banner .reject {
  background: #ececec;
  color: var(--color-primary);
}
#cookie-banner .reject:hover,
#cookie-banner .reject:focus {
  background: #e7e7e7;
}
#cookie-banner .settings {
  background: var(--color-accent);
  color: var(--color-primary);
}
#cookie-banner .settings:hover,
#cookie-banner .settings:focus{
  background: #fff8ef;
}
@keyframes cookieFadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* COOKIE MODAL */
#cookie-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(56,52,59,0.24);
  z-index: 2050;
  justify-content: center;
  align-items: center;
}
#cookie-modal-overlay.open {
  display: flex;
}
#cookie-modal {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 10px 44px 0 rgba(56,52,59,0.16);
  padding: 34px 32px 28px 32px;
  max-width: 400px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  gap: 28px;
  animation: cookieModalIn .35s cubic-bezier(.42,1.81,.27,.96);
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: scale(0.92);
  } to { opacity: 1; transform: scale(1);} }

#cookie-modal h2 {
  margin: 0 0 12px 0;
  font-size: 1.2rem;
  color: var(--color-primary);
}
#cookie-modal ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 0 18px 0;
}
#cookie-modal li {
  display: flex;
  align-items: center; gap: 10px;
  font-size: 1rem;
}
.cookie-switch {
  width: 38px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  background: #ececec;
  border-radius: 14px;
  position: relative;
  margin-left: 7px;
}
.cookie-switch input[type="checkbox"] {
  opacity: 0;
  width: 100%; height: 100%;
  position: absolute;
  left: 0; top: 0;
  cursor: pointer;
  margin: 0; padding: 0;
}
.cookie-switch .slider {
  content: '';
  width: 16px; height: 16px;
  background: var(--color-secondary);
  border-radius: 50%;
  position: absolute; left: 3px; top: 3px;
  transition: left 0.19s, background 0.18s;
}
.cookie-switch input[type="checkbox"]:checked + .slider {
  left: 19px;
  background: var(--color-primary);
}
.cookie-switch.disabled {
  opacity: 0.45;
  pointer-events: none;
}
#cookie-modal .actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-top: 10px;
}
#cookie-modal button, #cookie-modal .close-btn {
  padding: 10px 24px;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 700;
  background: var(--color-accent);
  color: var(--color-primary);
  border: none;
  cursor: pointer;
  margin-top: 0;
  transition: background 0.18s, color 0.13s;
}
#cookie-modal .close-btn { background: #ececec; font-weight: 400; }
#cookie-modal button.accept {
  background: var(--color-secondary);
  color: #fff;
}
#cookie-modal button.accept:hover {
  background: #d18d20;
}
#cookie-modal .close-btn:hover {
  background: #e7e7e7;
}

/* RESPONSIVE - MOBILE FIRST */
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  header .container { max-width: 97vw; }
  footer .container { max-width: 97vw; }
}

@media (max-width: 768px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.25rem; }
  main { padding: 16px 0 8px 0; }

  .section {
    margin-bottom: 38px;
    padding: 26px 7px;
  }
  .card, .testimonial-card {
    padding: 18px 13px;
    min-width: 0;
    max-width: 100%;
  }
  .card-container, .card-grid, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .content-wrapper {
    gap: 13px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  header .container {
    flex-direction: row;
    gap: 10px;
    height: 64px;
    padding: 0 7px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
  }
  .contact-footer {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 500px) {
  .container {
    padding: 0 6px;
  }
  .card, .testimonial-card {
    font-size: 0.99rem;
    padding: 12px 6px;
  }
  .contact-footer img {
    width: 40px;
  }
  #cookie-modal {
    padding: 14px 5vw 14px 5vw;
    border-radius: 10px;
  }
}

/* Hide scrollbars on mobile modal overlay */
#cookie-modal-overlay {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
#cookie-modal-overlay::-webkit-scrollbar {
  display: none;
}

/* ACCESSIBILITY - REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
