/* ================================================================== */
/*       CSS RESET & BASE STYLES                                      */
/* ================================================================== */
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,
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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #FAF5EE;
  min-height: 100vh;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #19202A;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}
a {
  color: #A1864F;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #836D3A;
  text-decoration: underline;
}
ul, ol {
  margin-left: 24px;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

/* ================================================================== */
/*       BRAND COLORS & TYPOGRAPHY                                    */
/* ================================================================== */
:root {
  --primary: #19202A;
  --secondary: #A1864F;
  --secondary-light: #BDA676;
  --accent: #F6F6F6;
  --background: #FAF5EE;
  --content-bg: #FFF;
  --shadow: 0 2px 12px 0 rgba(161,134,79,0.07);
  --shadow-hover: 0 6px 32px 0 rgba(161,134,79,0.11);
  --radius-card: 22px;
  --radius-btn: 32px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  color: #19202A;
  margin-bottom: 14px;
  font-weight: 700;
  line-height: 1.13;
}
h1 { font-size: 2rem; margin-top: 0; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.17rem; }
@media (min-width: 500px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.9rem; }
  h3 { font-size: 1.33rem; }
}
h4, h5, h6 { font-size: 1rem; }
p, li, blockquote, input, button, label {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #393939;
}
strong, b {
  color: var(--primary);
}
em, i {
  color: var(--secondary);
  font-style: italic;
}
blockquote {
  background: #FFF8EE;
  border-left: 5px solid var(--secondary);
  padding: 16px 28px;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  color: var(--primary);
  border-radius: 12px;
  margin: 18px 0;
}

hr { border: none; border-top: 1px solid #EDE0C8; margin: 32px 0; }

/* ================================================================== */
/*        LAYOUT CONTAINERS & PADDING                                 */
/* ================================================================== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  padding: 0;
  margin: 0 auto;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--content-bg);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  width: 100%;
}

/* ================================================================== */
/*        HEADER & NAVIGATION                                         */
/* ================================================================== */
header {
  background: #FFF8EE;
  box-shadow: var(--shadow);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
  gap: 16px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
}
header nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
header nav a:hover,
header nav a:focus {
  background: #FFF5E2;
  color: var(--secondary);
}
.cta-btn {
  background: var(--secondary);
  color: #fff;
  font-family: 'Roboto', sans-serif;
  display: inline-block;
  padding: 11px 28px;
  border-radius: var(--radius-btn);
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.06em;
  box-shadow: 0 3px 11px #FCEECB59;
  transition: background 0.16s, box-shadow 0.18s, color 0.18s;
  border: none;
  cursor: pointer;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #836D3A;
  box-shadow: 0 7px 31px 0 #e3d1adbd;
  color: #fffbed;
}
.cta-link {
  color: var(--secondary);
  font-weight: 500;
  font-size: 1rem;
  padding: 7px 0;
  border-radius: 7px;
  transition: background 0.16s, color 0.16s;
}
.cta-link:hover, .cta-link:focus {
  background: #FFF4DC;
  color: #836D3A;
}

/* Hamburger mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  background: var(--secondary);
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1301;
  box-shadow: 0 2px 10px #e2b97035;
  transition: background 0.16s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #836D3A;
}
@media (max-width: 980px) {
  header nav, .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* MOBILE SLIDE-IN MENU */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(31, 30, 28, 0.87);
  z-index: 1200;
  display: flex;
  align-items: flex-start;
  transform: translateX(-105vw);
  transition: transform 0.34s cubic-bezier(.36,1.01,.32,1);
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  margin: 26px 0 0 26px;
  cursor: pointer;
  z-index: 1220;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  margin: 35px 0 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.27rem;
  padding: 12px 4px;
  border-radius: 9px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 600;
  transition: background 0.19s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #fff4dc;
  color: var(--primary);
}
@media (min-width: 981px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
}

/* ================================================================== */
/*        HERO, SECTIONS, CARDS, LAYOUTS                              */
/* ================================================================== */
.hero {
  padding: 48px 0 40px 0;
  background: var(--accent);
  border-radius: 0 0 26px 26px;
  box-shadow: 0 4px 21px #e7e1d266;
}
.hero .container, .gallery-hero .container, .contact-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1, .gallery-hero h1, .contact-hero h1 {
  font-size: 2.3rem;
  color: var(--primary);
  margin-bottom: 12px;
}
.hero p, .gallery-hero p, .contact-hero p {
  color: #444; font-size: 1.15rem; margin-bottom: 24px;
}

/* FEATURES GRID, FLEXBOX LAYOUTS  */
.feature-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 34px 0 0 0;
  justify-content: space-between;
}
.feature-item {
  background: #f9f3e7;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 26px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  max-width: 300px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, transform 0.2s;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px) scale(1.015);
}
.feature-item img {
  width: 38px; height: 38px; border-radius: 50%; background: #fff; box-shadow: 0 0 7px #e5d6b2ab; padding: 5px;
}
.feature-item h3 {
  font-size: 1.18rem;
  font-family: 'Playfair Display', serif;
  color: var(--secondary);
  margin-bottom: 3px;
  margin-top: 0;
}
.feature-item p {
  color: #272727;
  font-size: 1rem;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  position: relative;
  margin-bottom: 20px;
  border-radius: var(--radius-card);
  background: #FFF;
  box-shadow: var(--shadow);
  padding: 25px 22px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .card:focus-within {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px) scale(1.012);
}
.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: 14px;
}

@media (max-width: 980px) {
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
}
@media (max-width: 768px) {
  .text-image-section, .feature-grid, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* ================================================================== */
/*        TESTIMONIALS & MICRO CARDS                                  */
/* ================================================================== */
.testimonials {
  background: #fff7ea;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 38px 0 38px 0;
  margin-bottom: 60px;
}
.testimonials h2 {
  color: var(--primary);
  margin-bottom: 28px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px 30px 20px 30px;
  margin-bottom: 20px;
  background: #FFF;
  border-radius: 18px;
  box-shadow: var(--shadow);
  min-width: 230px;
  max-width: 500px;
  transition: box-shadow 0.16s, transform 0.17s;
  font-size: 1.04rem;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: var(--shadow-hover);
  transform: scale(1.021);
}
.testimonial-card blockquote {
  color: #222;
  background: transparent;
  font-size: 1.12rem;
  border-left: 4px solid var(--secondary);
  padding: 10px 0 10px 18px;
  margin-bottom: 4px;
  border-radius: 0;
}
.testimonial-info {
  color: var(--secondary);
  font-size: 0.98rem;
  font-style: italic;
  letter-spacing: 0.03em;
}

/* ================================================================== */
/*        FOOTER                                                      */
/* ================================================================== */
footer {
  background: #FFF8EE;
  margin-top: 48px;
  box-shadow: 0 -1px 12px 0 #F4E8D251;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  padding-top: 31px;
  padding-bottom: 17px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-left: 32px;
}
footer nav a {
  color: var(--secondary);
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 6px;
  padding: 6px 0 6px 4px;
  transition: background 0.13s;
}
footer nav a:hover, footer nav a:focus {
  background: #F8EDD7;
  color: var(--primary);
}
.footer-contact {
  font-size: 0.99rem;
  color: #7c693b;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 0;
}
.footer-contact a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 3px;
}
.footer-contact a:hover {
  color: var(--secondary);
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  footer nav {
    margin-left: 0;
    margin-bottom: 10px;
  }
}

/* ================================================================== */
/*        COOKIE CONSENT BANNER & MODAL                               */
/* ================================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2000;
  background: #FFF8EE;
  color: #865B27;
  padding: 26px 8px 24px 8px;
  box-shadow: 0 -7px 32px #a1864f2a;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  width: 100%;
  transition: transform 0.34s cubic-bezier(.36,1.01,.32,1), opacity 0.22s;
}
.cookie-banner.hide {
  opacity: 0; pointer-events: none; transform: translateY(112%);
}
.cookie-banner .cookie-banner-text {
  flex: 1 1 0;
  font-size: 1rem;
  color: #7E6732;
  line-height: 1.5;
}
.cookie-banner .cookie-banner-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  background: var(--secondary);
  border: none;
  padding: 10px 22px;
  border-radius: 24px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 10px #fadca366;
  margin-left: 0;
  transition: background 0.14s, color 0.18s;
}
.cookie-banner button.cookie-reject {
  background: #ECE2CE;
  color: var(--secondary);
}
.cookie-banner button.cookie-settings {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--secondary);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: #836D3A;
  color: #FFF;
}
.cookie-banner button.cookie-reject:hover, .cookie-banner button.cookie-reject:focus {
  background: #dbcfb3;
  color: #836D3A;
}
.cookie-banner button.cookie-settings:hover, .cookie-banner button.cookie-settings:focus {
  background: #FFF8EE;
  color: var(--secondary);
}

/* Cookie Preferences Modal */
#cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 2100;
  align-items: center;
  justify-content: center;
  background: rgba(31, 30, 28, 0.69);
  transition: opacity 0.19s;
}
#cookie-modal.open {
  display: flex;
}
.cookie-modal-content {
  background: #FFF;
  border-radius: 22px;
  padding: 40px 28px 32px 28px;
  max-width: 360px;
  width: 94vw;
  box-shadow: 0 7px 30px #a1864f35;
  position: relative;
  font-size: 1rem;
  color: #613e09;
}
.cookie-modal-content h2 {
  font-size: 1.28rem;
  margin-bottom: 17px;
}
#cookie-modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 1.55rem;
  cursor: pointer;
  z-index: 3;
}
.cookie-modal-category {
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid #F2E5CD;
}
.cookie-modal-category h3 {
  font-size: 1.04rem; margin-bottom: 3px;
}
.cookie-modal-category label {
  display: flex; align-items: center; gap: 9px;
  font-size: 0.99rem;
}
.cookie-category-toggle {
  width: 36px; height: 19px;
  border-radius: 19px;
  background: #ECE2CE;
  position: relative;
  transition: background 0.13s;
  cursor: pointer;
  border: none;
}
.cookie-category-toggle[aria-checked="true"] {
  background: var(--secondary);
}
.cookie-category-toggle .toggle-knob {
  position: absolute;
  left: 2px; top: 2px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 6px #e2b97029;
  transition: transform 0.15s;
}
.cookie-category-toggle[aria-checked="true"] .toggle-knob {
  transform: translateX(16px);
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  font-size: 1rem;
  border-radius: 18px;
  padding: 9px 23px;
  font-weight: 600;
  border: none;
}
.cookie-modal-actions .cookie-save {
  background: var(--secondary);
  color: #FFF;
}
.cookie-modal-actions .cookie-cancel {
  background: #EEE0C7;
  color: var(--secondary);
}
.cookie-modal-actions .cookie-save:hover, .cookie-modal-actions .cookie-save:focus {
  background: #836D3A;
}
.cookie-modal-actions .cookie-cancel:hover, .cookie-modal-actions .cookie-cancel:focus {
  background: #f6e9d0;
  color: #836D3A;
}

/* ================================================================== */
/*        RESPONSIVE BREAKPOINTS                                      */
/* ================================================================== */
@media (max-width: 1100px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 800px) {
  .container {
    max-width: 99vw;
    padding: 0 10px;
  }
  .section {
    padding: 30px 7px;
  }
  .feature-item, .card {
    padding: 18px 10px 13px 10px;
  }
}
@media (max-width: 540px) {
  header .container, .footer .container {
    padding: 0 2vw;
  }
  .hero, .gallery-hero, .contact-hero {
    padding: 31px 0 25px 0;
    border-radius: 0 0 17px 17px;
  }
  .feature-grid, .card-container, .content-grid {
    gap: 12px;
  }
  .feature-item,
  .testimonial-card {
    min-width: unset;
    max-width: 99vw;
    margin-bottom: 13px;
    padding: 14px 7px 12px 7px;
    border-radius: 14px;
  }
}

/* Consistent spacing for cards/sections */
section, .section {
  margin-bottom: 60px;
  padding-top: 0;
}
section:last-child, .section:last-child {
  margin-bottom: 0;
}
@media (max-width: 700px) {
  section, .section {
    margin-bottom: 38px;
    padding: 24px 0;
  }
}

/* Utility & Misc */
.hide { display: none !important; }
.show { display: flex !important; }

/* =============================================
   Accessibility Focus
   ============================================= */
a, button, .cta-btn, .cta-link, input:focus, textarea:focus {
  outline-color: var(--secondary) !important;
  outline-width: 2px !important;
  outline-offset: 2px;
}


/* ================================================================== */
/*        CUSTOM SCROLLBAR                                           */
/* ================================================================== */
::-webkit-scrollbar {
  width: 8px;
  background: #f6f3ed;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb {
  background: #e6d6b4;
  border-radius: 4px;
}

/* ================================================================== */
/*        MISCELLANEOUS COMPONENT CLASSES                            */
/* ================================================================== */
ol {
  padding-left: 26px;
  margin-bottom: 1rem;
}
li {
  margin-bottom: 7px;
}
section ul, section ol {
  margin-top: 6px;
  margin-bottom: 14px;
}
input, textarea {
  border: 1.5px solid #e0dabf;
  background: #fff8ef;
  border-radius: 10px;
  padding: 9px 13px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #262626;
  margin-bottom: 14px;
  box-shadow: 0 1px 5px #f2e3c359;
  transition: border 0.16s;
}
input:focus, textarea:focus {
  border: 1.8px solid var(--secondary);
}
label {
  font-size: 0.99rem;
  display: block;
  margin-bottom: 4px;
}

/* ================================================================== */
/*        ANIMATIONS                                                 */
/* ================================================================== */
@keyframes slideInFromLeft {
  0% { transform: translateX(-105vw); }
  100% { transform: translateX(0); }
}
@keyframes slideOutToLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-105vw); }
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes modalFadeOut {
  to { opacity: 0; }
  from { opacity: 1; }
}


/* End of ChronoPotsdam Luxusuhren Warm Friendly Flexbox CSS */
