/* ===================================================================
   NEATSKYLINE BÜCHERWELT – SCANDINAVIAN CLEAN CSS
   =================================================================== */
/* ======= RESET & BASE TYPOGRAPHY ======= */
html {
  box-sizing: border-box;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #FFFFFF;
  color: #1D253B;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: #FFFFFF;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #1D253B;
  line-height: 1.6;
  letter-spacing: 0.01em;
  font-size: 1rem;
  font-variant-ligatures: common-ligatures;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  margin: 0 0 16px 0;
  color: #1D253B;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.25rem; line-height: 1.1; margin-bottom: 20px; }
h2 { font-size: 1.5rem; line-height: 1.25; margin-bottom: 16px; }
h3 { font-size: 1.125rem; line-height: 1.35; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 18px 0; }
a {
  color: #7E4B1D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:active {
  color: #D48436;
}
ul, ol { margin: 0 0 18px 30px; padding: 0; }
ul li, ol li { margin: 0 0 10px 0; }
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border-style: none;
}
button, .cta-button {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}

/* ======= COLORS & VARIABLES ======= */
:root {
  --color-primary: #1D253B;
  --color-secondary: #F4E8D6;
  --color-bg: #FFFFFF;
  --color-accent: #D48436;
  --color-accent-dark: #7E4B1D;
  --color-light: #FBF9F6;
  --color-muted: #b3b7bc;
  --color-shadow: rgba(30,40,50,0.07);
}

/* ======= LAYOUT CONTAINERS ======= */
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-light);
  border-radius: 16px;
  box-shadow: 0 4px 18px var(--color-shadow);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 2px 10px var(--color-shadow);
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(30,40,50,0.10);
  transform: translateY(-4px) 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;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 3px 14px var(--color-shadow);
  margin-bottom: 20px;
  color: #1D253B;
  min-width: 0;
}
@media (max-width: 600px) {
  .testimonial-card { flex-direction: column; align-items: flex-start; }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ======= HEADER & NAVIGATION ======= */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  background: #FFFFFF;
  box-shadow: 0 2px 12px var(--color-shadow);
  position: sticky;
  top: 0;
  z-index: 50;
}
.logo {
  display: flex;
  align-items: center;
  height: 48px;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
nav a {
  color: var(--color-primary);
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 8px;
  transition: background 0.2s, color 0.18s;
  text-decoration: none;
  font-size: 1rem;
}
nav a:hover { 
  background: var(--color-secondary);
  color: var(--color-accent);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 2rem;
  padding: 5px 12px;
  border-radius: 6px;
  transition: background 0.2s;
  cursor: pointer;
  margin-left: 20px;
}
.mobile-menu-toggle:focus { outline: 2px solid var(--color-accent); }

/* ====== MOBILE MENU OVERLAY ====== */
.mobile-menu {
  position: fixed;
  z-index: 1300;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #F4E8D6ee;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.39, 0.58, 0.57, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 24px;
  box-shadow: 0 4px 44px rgba(25,29,40,0.16);
  /* hidden unless .show class added by JS */
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 2rem;
  align-self: flex-end;
  cursor: pointer;
  padding: 6px 12px;
  margin-bottom: 22px;
  transition: color 0.18s;
}
.mobile-menu-close:focus { outline: 2px solid var(--color-accent); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  margin-top: 16px;
}
.mobile-nav a {
  font-size: 1.18rem;
  padding: 14px 8px;
  border-radius: 9px;
  color: var(--color-primary);
  font-weight: 600;
  background: none;
  transition: background 0.15s, color 0.18s;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: var(--color-bg);
  color: var(--color-accent-dark);
}

@media (max-width: 1020px) {
  .container {
    max-width: 98vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  nav {
    gap: 9px;
  }
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ===== HERO, FEATURES, SERVICES, TESTIMONIALS ===== */
.hero {
  background: linear-gradient(85deg, #F4E8D6 40%, #FBF9F6 100%);
  padding: 60px 0 52px 0;
  margin-bottom: 40px;
  border-bottom-left-radius: 36px;
  border-bottom-right-radius: 36px;
  box-shadow: 0 10px 38px var(--color-shadow);
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 12px;
}
.hero h1 {
  font-size: 2.5rem;
  color: var(--color-accent-dark);
  margin-top: 0;
}
.hero h2 {
  font-size: 1.32rem;
  font-weight: 400;
  color: var(--color-primary);
  margin-bottom: 12px;
  margin-top: -8px;
}
.hero p {
  font-size: 1.08rem;
  color: var(--color-primary);
  margin-top: 0;
  margin-bottom: 24px;
}

.features {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-secondary);
  border-radius: 18px;
  box-shadow: 0 2px 10px var(--color-shadow);
}
.features h2 {
  margin-bottom: 18px;
}
.features ul, .features ol {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}
.features li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  background: #FFFFFF;
  padding: 13px 18px;
  border-radius: 10px;
  box-shadow: 0 1px 7px var(--color-shadow);
  margin-bottom: 0;
}
.features li img {
  flex-shrink: 0;
  height: 32px;
  width: 32px;
  margin-right: 4px;
}
.features ol {
  list-style: decimal inside;
  counter-reset: step;
}
.features ol li {
  background: #FBF9F6;
  box-shadow: none;
}

.services {
  background: #FFFFFF;
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 14px;
  box-shadow: 0 1px 8px var(--color-shadow);
}
.services h2 {
  margin-bottom: 16px;
}
.services ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 0 18px 0;
  padding: 0;
}
.services li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  font-size: 1rem;
  background: #F9F7F2;
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: 0 1px 5px var(--color-shadow);
}
.services h3 {
  margin: 0 0 6px 0;
  font-size: 1.1rem;
  color: var(--color-primary);
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.services h3 span {
  font-size: 0.93em;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
  color: var(--color-accent);
  margin-left: 10px;
}

.testimonials {
  background: #FBF9F6;
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 16px;
  box-shadow: 0 2px 10px var(--color-shadow);
}
.testimonials h2 {
  margin-bottom: 14px;
}

.testimonial-card {
  background: #FFFFFF;
  border-left: 5px solid var(--color-accent);
  margin-top: 18px;
  margin-bottom: 0;
  flex-direction: row;
  font-size: 1.09rem;
}
.testimonial-card p {
  color: #1D253B;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: var(--color-accent-dark);
  font-weight: 500;
  margin-left: 18px;
}

/* ====== CONTACT SECTION ====== */
.contact {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 1px 8px var(--color-shadow);
}
.contact h1, .contact h2 {
  color: var(--color-accent-dark);
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-details ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
}
.contact-details li img {
  flex-shrink: 0;
  height: 25px;
  width: 25px;
}
.map {
  margin-top: 22px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.map img {
  border-radius: 12px;
  box-shadow: 0 2px 7px var(--color-shadow);
  max-width: 380px;
}

.social-links {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
}
.social-links a img {
  height: 32px;
  width: 32px;
  filter: grayscale(0.12) brightness(0.95);
  transition: filter 0.15s;
}
.social-links a:hover img {
  filter: grayscale(0) brightness(0.82);
}

/* ======= CTA BUTTONS ======= */
.cta-button, .contact .cta-button, .services .cta-button {
  background: var(--color-accent);
  color: #FFF;
  border: none;
  border-radius: 999px;
  padding: 13px 32px;
  font-size: 1.13rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 7px var(--color-shadow);
  transition: background 0.18s, box-shadow 0.18s, transform 0.16s;
  margin: 12px 0 0 0;
  letter-spacing: 0.03em;
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: #7E4B1D;
  box-shadow: 0 4px 18px var(--color-shadow);
  color: #FFF;
  transform: translateY(-2px) scale(1.02);
}

/* ======= FOOTER ======= */
footer {
  background: var(--color-light);
  padding: 36px 0 20px 0;
  margin-top: 60px;
  box-shadow: 0 -2px 12px var(--color-shadow);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
}
.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 4px;
}
.footer-navigation a {
  color: var(--color-accent-dark);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.16s;
}
.footer-navigation a:hover {
  color: var(--color-accent);
}
.address {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1rem;
  color: var(--color-muted);
}
.address img {
  height: 20px;
  width: 20px;
}
.social-links {
  margin: 0 0 0 4px;
}
.copyright {
  color: #8D8171;
  font-size: 0.97rem;
  text-align: left;
  margin-top: 8px;
}

/* ====== LEGAL, ABOUT, CONFIRMATION SECTIONS ====== */
.legal, .about, .confirmation {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FAF7F2;
  border-radius: 13px;
  box-shadow: 0 1px 7px var(--color-shadow);
}
.legal h1, .about h1, .confirmation h1, .contact h1 {
  color: var(--color-primary);
}
.legal ul, .about ul {
  list-style: disc;
  margin: 0 0 14px 19px;
}
.legal li, .about li {
  margin-bottom: 10px;
}
.confirmation .cta-button {
  margin-top: 16px;
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 768px) {
  .hero, .section, .features, .services, .testimonials, .contact, .legal, .about, .confirmation {
    padding: 28px 7px;
    border-radius: 9px;
  }
  .container {
    max-width: 100vw;
    padding-left: 4px;
    padding-right: 4px;
  }
  .footer-navigation {
    gap: 10px;
    flex-wrap: wrap;
  }
  .features ul, .features ol, .services ul {
    gap: 11px;
  }
  .features li,
  .services li {
    padding: 10px 10px;
    font-size: 0.98rem;
    border-radius: 7px;
  }
  .map img {
    max-width: 95vw;
  }
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 13px 11px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  header, footer {
    padding-left: 4px;
    padding-right: 4px;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.67rem;
  }
  h2 {
    font-size: 1.10rem;
  }
  h3 {
    font-size: 0.99rem;
  }
  .cta-button {
    font-size: 0.97rem;
    padding: 10px 16px;
  }
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F4E8D6;
  color: var(--color-primary);
  box-shadow: 0 -2px 20px rgba(30,40,50,0.13);
  padding: 22px 17px 18px 17px;
  min-height: 72px;
  font-size: 1rem;
  transition: transform 0.38s cubic-bezier(0.32, 0.82, 0.56, 1);
}
.cookie-banner.hide {
  transform: translateY(100%);
  pointer-events: none;
  opacity: 0.5;
}
.cookie-banner__content {
  flex: 3 1 70%;
  margin-right: 16px;
  font-size: 0.96rem;
}
.cookie-banner__actions {
  flex: 1 0 200px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-banner button {
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  padding: 10px 21px;
  font-weight: 600;
  outline: none;
  margin: 0;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
}
.cookie-accept {
  background: var(--color-accent);
  color: #FFF;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: var(--color-accent-dark);
}
.cookie-reject {
  background: #EEE9E3;
  color: var(--color-primary);
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #E1D1BC;
}
.cookie-settings {
  background: #FEF8EE;
  color: var(--color-accent-dark);
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #F4E8D6;
  color: var(--color-accent);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.98rem;
    padding: 20px 5px 15px 5px;
  }
  .cookie-banner__actions {
    width: 100%;
    gap: 7px;
    justify-content: flex-start;
  }
}

/* ===== COOKIE PREFERENCES MODAL ===== */
.cookie-modal {
  position: fixed;
  z-index: 1600;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32, 32, 32, 0.43);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal__dialog {
  background: #FFF;
  color: var(--color-primary);
  border-radius: 14px;
  min-width: 330px;
  max-width: 96vw;
  box-shadow: 0 3px 27px rgba(30,40,50,0.19);
  padding: 34px 22px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  position: relative;
  animation: modal-in 0.42s cubic-bezier(.58,-0.52,.44,1.63);
}
@keyframes modal-in {
  0% { opacity: 0; transform: translateY(60px) scale(0.92); }
  98% { opacity: 1; transform: translateY(-10px) scale(1.03); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal__close {
  position: absolute;
  right: 14px; top: 10px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--color-accent-dark);
  cursor: pointer;
  padding: 0 8px;
  border-radius: 7px;
  line-height: 1;
  transition: color 0.15s;
}
.cookie-modal__close:hover, .cookie-modal__close:focus {
  color: var(--color-accent);
}
.cookie-modal__categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 0.99rem;
  font-weight: 500;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 20px; height: 20px;
  margin-left: 2px;
}
.cookie-category-essential {
  opacity: 0.7;
  font-style: italic;
  cursor: not-allowed;
}
.cookie-modal__actions {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.cookie-modal__actions button {
  cursor: pointer;
  padding: 8px 19px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
}
.cookie-modal__actions .cookie-accept {
  background: var(--color-accent);
  color: #FFF;
}
.cookie-modal__actions .cookie-reject {
  background: #EEE9E3;
  color: var(--color-primary);
}

/* ===== EXTRAS & MISCELLANEOUS ===== */
::-webkit-scrollbar {
  width: 12px; height: 12px;
  background: #EEE9E3;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb {
  background: #D2C8BB;
  border-radius: 9px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C7B399;
}

/* ===== HIDE OUTLINES BUT KEEP ACCESSIBILITY ===== */
:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

/* ===== PRINT FRIENDLY BASE ===== */
@media print {
  header, footer, .cookie-banner, .cookie-modal { display: none !important; }
  body { background: #FFF; color: #000; }
}

/* ===================================================================
   END NEATSKYLINE BÜCHERWELT SCANDINAVIAN CLEAN CSS
   =================================================================== */