/* -----------------------------------------------------
   CSS Reset & Box Sizing
----------------------------------------------------- */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Lato', Arial, sans-serif;
  color: #222;
  background: #fff;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.65;
  font-size: 1rem;
}
img, svg {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #264653;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #F4A261;
  outline: none;
}
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
  box-shadow: none;
}
button {
  cursor: pointer;
  background: none;
}

/* -----------------------------------------------------
   Brand Typography
----------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: #264653;
  line-height: 1.2;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; margin-top: 0; }
h2 { font-size: 2rem; margin-top: 24px; }
h3 { font-size: 1.5rem; margin-top: 16px; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }
@media (max-width: 600px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }
}

p, li, table, th, td, span {
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 400;
  color: #222;
  font-size: 1rem;
  letter-spacing: 0;
  margin-bottom: 1em;
}
p:last-child,
li:last-child {
  margin-bottom: 0;
}

strong, b {
  font-weight: 700;
  color: #264653;
}

/* Headings white-contrast in hero */
.hero h1, .hero h2, .hero h3 {
  color: #264653;
}

/* -----------------------------------------------------
   Layout Containers, Spacing & Flex Patterns
----------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(38,70,83,0.06);
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 700px) {
  .content-wrapper {
    gap: 24px;
  }
  .section {
    padding: 56px 32px;
  }
}

/* Card & Grid Patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(38,70,83,.05);
  padding: 24px;
  min-width: 260px;
  flex: 1 1 260px;
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(38,70,83,0.07);
  padding: 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s;
  max-width: 540px;
}
.testimonial-card:hover {
  box-shadow: 0 5px 24px rgba(38,70,83,0.14);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px) {
  .card-container,
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    max-width: 100%;
  }
}

/* Prevent element overlapping */
.card, .testimonial-card, .section, .feature-item {
  margin-bottom: 24px;
}
.card:last-child, .testimonial-card:last-child, .feature-item:last-child {
  margin-bottom: 0;
}

/* -----------------------------------------------------
   Header, Navigation & Hero
----------------------------------------------------- */
header {
  padding: 0;
  border-bottom: 1px solid #F2F2F2;
  background: #fff;
  z-index: 30;
  position: sticky;
  top: 0;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding-top: 10px;
  padding-bottom: 10px;
}
header img {
  height: 36px;
  width: auto;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  align-items: center;
}
nav a {
  font-size: 1rem;
  color: #264653;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 8px 0;
  position: relative;
  transition: color 0.19s;
}
nav a::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: #F4A261;
  border-radius: 2px;
  transition: width 0.18s;
  margin-top: 3px;
}
nav a:hover::after, nav a:focus::after {
  width: 100%;
}
nav a:hover, nav a:focus {
  color: #F4A261;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: #264653;
  border-radius: 24px;
  min-width: 42px;
  padding: 11px 28px;
  box-shadow: 0 4px 20px rgba(38,70,83,0.08);
  border: none;
  transition: background 0.16s, box-shadow 0.16s;
  margin-left: 14px;
}
.cta-btn:hover, .cta-btn:focus {
  background: #F4A261;
  color: #fff;
  box-shadow: 0 8px 36px rgba(244,162,97,.18);
  outline: none;
}

.hero {
  background: #F9F8F6;
  padding-bottom: 34px;
  position: relative;
}
.hero .container {
  min-height: 200px;
}
.hero .content-wrapper {
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  gap: 18px;
  padding-top: 35px;
  padding-bottom: 30px;
}
.hero h1 {
  color: #264653;
  margin-bottom: 14px;
}
.hero p {
  font-size: 1.1rem;
  color: #222;
}
@media (max-width: 768px) {
  header .container, nav {
    flex-direction: column;
    gap: 10px;
  }
  nav {
    flex-wrap: wrap;
    gap: 14px;
  }
  .cta-btn {
    margin-left: 0;
    margin-top: 6px;
  }
  .hero .content-wrapper {
    padding-top: 22px;
    padding-bottom: 15px;
    text-align: left;
    gap: 10px;
  }
}

/* -----------------------------------------------------
   Features & Services Sections
----------------------------------------------------- */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 20px;
}
.features ul {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 28px;
  margin-top: 18px;
}
.features li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 7px rgba(38,70,83,0.07);
  padding: 18px 24px;
  min-width: 180px;
  font-size: 1.05rem;
  margin-bottom: 0;
}
.features img {
  width: 36px;
  height: 36px;
}
.service-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 7px rgba(38,70,83,0.065);
  padding: 20px 18px;
  margin-bottom: 20px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 220px;
  max-width: 350px;
  transition: box-shadow 0.17s;
}
.service-card:hover {
  box-shadow: 0 3px 18px rgba(244,162,97,0.15);
}
.service-card h3 {
  font-size: 1.20rem;
  margin-bottom: 6px;
}
.service-card span {
  color: #264653;
  background: #F4A26133;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  padding: 4px 12px;
  align-self: flex-start;
  margin-top: 12px;
}
@media (max-width: 900px) {
  .features ul,
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .service-card {
    max-width: 100%;
  }
}

/* -----------------------------------------------------
   Tables (Menü & Preise)
----------------------------------------------------- */
table {
  width: 100%;
  border-spacing: 0;
  border-collapse: separate;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(38,70,83,0.07);
  overflow: hidden;
  margin: 28px 0 0 0;
  font-size: 1rem;
}
thead tr {
  background: #F9F8F6;
  color: #264653;
}
th, td {
  padding: 14px 10px;
  border-bottom: 1px solid #EDEDED;
  text-align: left;
}
th:last-child, td:last-child {
  text-align: right;
}
tbody tr:last-child td {
  border-bottom: none;
}
@media (max-width: 600px) {
  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
    width: 100%;
  }
  tr {
    margin-bottom: 20px;
  }
  th,
  td {
    padding: 10px 6px;
    text-align: left !important;
  }
}

/* -----------------------------------------------------
   Footer
----------------------------------------------------- */
footer {
  border-top: 1px solid #F2F2F2;
  background: #F9F8F6;
  margin-top: 40px;
  font-size: 0.97rem;
}
footer .container {
  padding-top: 32px;
  padding-bottom: 32px;
}
footer .content-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px 38px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
footer a {
  color: #264653;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.17s;
}
footer a:hover, footer a:focus {
  color: #F4A261;
}
footer img {
  height: 40px;
  width: auto;
}
footer p {
  color: #888;
  margin-top: 12px;
  margin-bottom: 0;
}
@media (max-width: 800px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* -----------------------------------------------------
   Testimonial Cards
----------------------------------------------------- */
.testimonial-card {
  border-left: 5px solid #F4A261;
  color: #222;
  background: #fff;
  font-size: 1.08rem;
}
.testimonial-card p {
  margin-bottom: 8px;
  color: #222;
}
.testimonial-card span {
  font-size: 1rem;
  color: #264653;
  letter-spacing: 0.01em;
}

/* -----------------------------------------------------
   Map Snippet Box (Kontakt)
----------------------------------------------------- */
.map-snippet {
  background: #F9F8F6;
  border-radius: 9px;
  padding: 20px;
  margin-top: 18px;
  margin-bottom: 10px;
  color: #222;
  font-size: 1rem;
  box-shadow: 0 0.5px 4px rgba(38,70,83,0.06);
}

/* -----------------------------------------------------
   Buttons & Interactions
----------------------------------------------------- */
button, .cta-btn, [type='button'], [type='submit'] {
  transition: background 0.15s, color 0.14s, box-shadow 0.19s;
}
button:active, .cta-btn:active {
  opacity: 0.94;
}
::-webkit-input-placeholder { color: #aaa; }
::-moz-placeholder { color: #aaa; }
:-ms-input-placeholder { color: #aaa; }
::placeholder { color: #aaa; }

/* -----------------------------------------------------
   Responsive Utilities
----------------------------------------------------- */
@media (max-width: 600px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 36px;
  }
  .hero, .hero .container { padding-bottom: 8px; }
  .footer .container { padding: 18px 5px; }
}

/* -----------------------------------------------------
   Mobile Menu (Hamburger)
----------------------------------------------------- */
.mobile-menu-toggle {
  display: inline-flex;
  position: fixed;
  top: 18px;
  right: 24px;
  z-index: 61;
  background: #fff;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  border: 1px solid #F2F2F2;
  box-shadow: 0 2px 8px rgba(38,70,83,0.07);
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #264653;
  transition: background 0.18s, color 0.18s;
  cursor: pointer;
  outline: none;
  visibility: hidden;
  opacity: 0;
}
@media (max-width: 900px) {
  .mobile-menu-toggle {
    visibility: visible;
    opacity: 1;
  }
  header nav,
  header .cta-btn {
    display: none !important;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 70;
  background: rgba(38,70,83,0.94);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.33s cubic-bezier(.77,.07,.47,1.11);
  overflow-y: auto;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: transparent;
  color: #fff;
  font-size: 2rem;
  margin: 20px 24px 22px 0;
  align-self: flex-end;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.16s, color 0.16s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: rgba(244,162,97,0.22);
  color: #E9C46A;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  width: 100%;
  padding: 38px 32px 48px 32px;
  background: transparent;
}
.mobile-nav a {
  color: #FFF;
  font-size: 1.35rem;
  width: 100%;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  padding: 14px 4px;
  border-radius: 10px;
  letter-spacing: 0.04em;
  transition: background 0.15s, color 0.15s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: rgba(244,162,97,0.16);
  color: #E9C46A;
  outline: none;
}
@media (min-width: 900px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* -----------------------------------------------------
   Cookie Consent Banner & Modal
----------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -2px 18px rgba(38,70,83,0.09);
  border-top: 1px solid #EDEDED;
  z-index: 210;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  gap: 20px;
  font-size: 1.04rem;
  animation: bannerSlideIn 0.54s cubic-bezier(.7,-0.38,.57,1.38);
}
@keyframes bannerSlideIn {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner-text {
  color: #222;
  flex: 1 1 60%;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Lato', Arial, sans-serif;
  border: none;
  font-size: 1rem;
  border-radius: 20px;
  padding: 9px 22px;
  margin: 0;
  font-weight: 700;
  box-shadow: 0 1px 6px rgba(164,164,164,0.07);
  background: #F4A261;
  color: #fff;
  transition: background 0.16s, color 0.13s;
}
.cookie-btn.secondary {
  background: #fff;
  color: #264653;
  border: 1px solid #E9C46A;
}
.cookie-btn.settings {
  background: #E9C46A;
  color: #264653;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #264653;
  color: #fff;
  outline: none;
}
.cookie-btn.secondary:hover {
  background: #F9F8F6;
  color: #264653;
}
.cookie-btn.settings:hover {
  background: #F4A261;
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 8px;
    gap: 14px;
  }
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 220;
  background: rgba(38,70,83,0.66);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalIn 0.33s cubic-bezier(.7,-0.38,.57,1.38);
}
@keyframes modalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  max-width: 96vw;
  width: 390px;
  padding: 36px 22px 28px 22px;
  box-shadow: 0 8px 42px rgba(38,70,83,0.14);
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  color: #222;
  font-size: 1.4rem;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.13s, color 0.13s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: rgba(244,162,97,0.18);
  color: #F4A261;
}
.cookie-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: #264653;
  margin-bottom: 9px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  margin-bottom: 11px;
}
.cookie-category label {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  color: #222;
  font-weight: 600;
}
.cookie-toggle {
  width: 40px;
  height: 22px;
  border-radius: 12px;
  background: #EDEDED;
  position: relative;
  cursor: pointer;
  transition: background 0.15s;
  margin-right: 8px;
}
.cookie-toggle input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle .slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.16s cubic-bezier(.6,.19,1,.74), background 0.13s;
  box-shadow: 0 1px 4px rgba(38,70,83,0.06);
}
.cookie-toggle input[type="checkbox"]:checked + .slider {
  left: 20px;
  background: #F4A261;
}
.cookie-toggle input[type="checkbox"]:disabled + .slider {
  background: #bdbdbd;
  cursor: not-allowed;
}
.cookie-category .desc {
  font-size: 0.93rem;
  color: #555;
  margin-left: 10px;
}
.cookie-modal-actions {
  width: 100%;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 16px;
}
@media (max-width: 400px) {
  .cookie-modal-content {
    width: 97vw;
    padding: 18px 3vw 18px 3vw;
  }
}

/* -----------------------------------------------------
   Misc Utility Classes
----------------------------------------------------- */
.text-section {
  margin-bottom: 18px;
  font-size: 1.06rem;
}
.text-section a {
  color: #264653;
  font-weight: 600;
  border-bottom: 1px solid #F4A26144;
  padding-bottom: 2px;
  transition: border-bottom 0.13s, color 0.13s;
}
.text-section a:hover { color: #F4A261; border-bottom: 1px solid #F4A261; }

/* Hide elements visually, but keep accessible */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* -----------------------------------------------------
   Scrollbar Styling
----------------------------------------------------- */
body, .mobile-menu, .cookie-modal {
  scrollbar-width: thin;
  scrollbar-color: #E9C46A #F9F8F6;
}
body::-webkit-scrollbar, .mobile-menu::-webkit-scrollbar, .cookie-modal::-webkit-scrollbar {
  width: 8px;
  background: #F9F8F6;
}
body::-webkit-scrollbar-thumb,
.mobile-menu::-webkit-scrollbar-thumb,
.cookie-modal::-webkit-scrollbar-thumb {
  background: #E9C46A;
  border-radius: 8px;
}

/* -----------------------------------------------------
   Form Elements (minimal forms)
----------------------------------------------------- */
input,
textarea,
select {
  background: #F9F8F6;
  color: #264653;
  border-radius: 8px;
  border: 1px solid #EDEDED;
  padding: 10px 13px;
  font-size: 1rem;
  margin-bottom: 14px;
  transition: border 0.13s;
}
input:focus,
textarea:focus,
select:focus {
  border: 1.5px solid #F4A261;
  outline: none;
}

/* -----------------------------------------------------
   Animations
----------------------------------------------------- */
.card, .service-card, .testimonial-card, .section {
  transition: box-shadow 0.21s, transform 0.21s;
}
.card:hover, .service-card:hover, .testimonial-card:hover {
  box-shadow: 0 5px 28px rgba(233,196,106,0.13);
  transform: translateY(-2px) scale(1.015);
}

a, button, .cta-btn, .cookie-btn {
  transition: background 0.18s, color 0.18s, box-shadow 0.19s, border 0.16s;
}

/* -----------------------------------------------------
   Accessibility & Focus States
----------------------------------------------------- */
a:focus, button:focus, input:focus, .cta-btn:focus, .cookie-btn:focus {
  outline: 2px solid #F4A261;
  outline-offset: 2px;
}

/* -----------------------------------------------------
   Minimal color supplement for backgrounds and accents
----------------------------------------------------- */
.bg-primary { background: #264653; color: #fff; }
.bg-secondary { background: #F4A261; color: #fff; }
.bg-accent { background: #E9C46A; color: #264653; }
.text-primary { color: #264653 !important; }
.text-secondary { color: #F4A261 !important; }
.text-accent { color: #E9C46A !important; }

/* -----------------------------------------------------
   Hide duplicated content for print
----------------------------------------------------- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal {
    display: none !important;
  }
  .section, .container {
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  body { color: #111 !important; background: #fff !important; }
}
