/* =====================================================
   Amber Destiny Bürobedarf – Luxury Premium CSS
   For all HTML pages listed above
   Author: Senior CSS Developer
========================================================*/

/* RESET & BASELINE NORMALIZE */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #F7F7F7;
  color: #212529;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.5rem; }
a { color: #155288; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #FAA916; text-decoration: underline; }

:root {
  --primary: #155288;
  --secondary: #FAA916;
  --accent: #F7F7F7;
  --premium-gold: #bfa046;
  --rich-black: #141414;
  --card-bg: #fff;
  --testimonial-bg: #f0f2f4;
  --border-radius: 18px;
  --shadow-xs: 0 0.5px 1px rgba(34, 26, 18, 0.04);
  --shadow-sm: 0 2px 10px 0 rgba(34,26,18,0.07);
  --shadow-md: 0 4px 24px 0 rgba(34,26,18,0.11);
  --transition: 0.22s cubic-bezier(.4,0,.2,1);
}

/* 1. TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  color: var(--rich-black);
  letter-spacing: -0.5px;
}
h1 { font-size: 2.4rem; line-height: 1.125; margin-bottom: 20px; }
h2 { font-size: 1.75rem; line-height: 1.2; margin-bottom: 18px; }
h3 { font-size: 1.25rem; line-height: 1.25; margin-bottom: 14px; }
h4 { font-size: 1.12rem; margin-bottom: 8px; }

.subheadline {
  font-size: 1.165rem;
  font-weight: 400;
  color: var(--primary);
  margin-bottom: 24px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}

p, li, ul, ol, .content-wrapper > div, .content-wrapper > p {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #212529;
  font-size: 1rem;
  margin-bottom: 14px;
}
strong { font-weight: 600; color: var(--primary); }

hr {
  border: none;
  border-top: 1.5px solid #e0dec7;
  margin: 32px 0;
}

/* 2. CONTAINER */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 3. HEADER & NAVIGATION */
header {
  width: 100%;
  background: #fff;
  box-shadow: var(--shadow-xs);
  border-bottom: 2px solid var(--primary);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding-top: 8px;
  padding-bottom: 8px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
header nav a {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: var(--rich-black);
  padding: 4px 10px;
  border-radius: 8px;
  position: relative;
  transition: background var(--transition), color var(--transition);
}
header nav a:hover,
header nav a:focus {
  background: var(--accent);
  color: var(--primary);
}
header .cta.primary {
  margin-left: 22px;
}

/* Hamburger menu Btn */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.28rem;
  color: var(--primary);
  cursor: pointer;
  margin-left: 18px;
  line-height: 1;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--primary);
  color: #fff;
}

/* MOBILE NAV MODAL OVERLAY */
.mobile-menu {
  position: fixed;
  z-index: 1100;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(20,19,17, 0.94);
  box-shadow: 0 8px 32px 0 rgba(20,19,17, 0.20);
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.71,.07,.46,.97);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  margin: 26px 20px 7px 20px;
  font-size: 2.1rem;
  background: none;
  color: var(--secondary);
  border: none;
  cursor: pointer;
  align-self: flex-end;
  padding: 4px 16px;
  border-radius: 8px;
  transition: background var(--transition);
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--secondary);
  color: #fff;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 20px;
}
.mobile-nav a {
  font-family: 'Roboto Slab', serif;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  padding: 14px 0 12px 0;
  border-bottom: 1px solid rgba(250,245,215, 0.08);
  width: 100%;
  transition: color var(--transition), background var(--transition);
  border-radius: 2px;
}
.mobile-nav a:active, .mobile-nav a:focus {
  color: var(--secondary);
  background: rgba(250,169,22, 0.05);
}

@media (max-width: 1024px) {
  header .container {
    gap: 16px;
  }
  header nav {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  header nav, header .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ===================
   4. BUTTONS & CTA 
====================*/
.cta {
  display: inline-block;
  border-radius: 99px;
  background: var(--premium-gold);
  color: #212529;
  text-align: center;
  font-family: 'Roboto Slab', serif;
  font-weight: 600;
  padding: 12px 32px;
  font-size: 1.08rem;
  border: none;
  box-shadow: 0 1px 8px 0 rgba(34,26,18,0.045);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  cursor: pointer;
  letter-spacing: 0.01em;
  position: relative;
}
.cta.primary {
  background: var(--primary);
  color: #fff;
  border: 2.5px solid var(--premium-gold);
}
.cta:hover, .cta:focus {
  background: var(--secondary);
  color: var(--rich-black);
  box-shadow: 0 2px 16px 0 rgba(250,169,22, 0.23), var(--shadow-sm);
  outline: none;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--premium-gold);
  color: var(--primary);
  box-shadow: 0 2px 16px 0 rgba(21,82,136, 0.12), var(--shadow-md);
}

/* =====================
   5. SECTION SPACING & LAYOUTS
==============================*/
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
/* For home, single hero section - add visual luxury accent */
main > section:first-of-type {
  background: #fff8ec;
  border-bottom: 1.5px solid var(--secondary);
  box-shadow: 0 4px 54px 0 rgba(191,160,70,0.08);
  border-radius: 0 0 42px 42px;
}

/* Content Wrapper - centralizes layout in section */
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 0px;
  margin-bottom: 0px;
}

ul.feature-grid,
.content-wrapper.feature-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin: 12px 0 10px 0;
}
ul.feature-grid {
  list-style: none;
  padding: 0;
}
ul.feature-grid li,
.content-wrapper.feature-grid > div,
.content-wrapper.feature-grid > li {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  padding: 32px 20px 24px 20px;
  flex: 1 1 250px;
  min-width: 220px;
  max-width: 340px;
  transition: box-shadow var(--transition), border var(--transition), transform var(--transition);
  position: relative;
  border: 1.6px solid #ede7d8;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
ul.feature-grid li:hover,
.content-wrapper.feature-grid > div:hover {
  border-color: var(--premium-gold);
  box-shadow: 0 3px 30px 0 rgba(21, 82, 136, 0.10), var(--shadow-md);
  transform: translateY(-2px);
}
ul.feature-grid li img,
.content-wrapper.feature-grid > div img {
  width: 36px; height: 36px; margin-bottom: 6px;
}
ul.feature-grid li strong, .content-wrapper.feature-grid > div h3 {
  color: var(--primary);
  font-size: 1.10rem;
  font-family: 'Roboto Slab', serif;
}

/* Text-image section */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.text-section { max-width: 850px; }

/* Card Containers & Content Grid*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  padding: 30px 22px 28px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/********************
 TESTIMONIALS & BADGES
*********************/
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fffdf8;
  border-radius: 15px;
  box-shadow: 0 2px 12px 0 rgba(21,82,136,0.07);
  margin-bottom: 20px;
  border-left: 4px solid var(--premium-gold);
  color: #191919;
  font-size: 1.05rem;
  transition: box-shadow var(--transition);
}
.testimonial-card strong { display: block; color: var(--primary); font-size: 1rem; margin-left: 18px; }
.testimonial-card:hover { box-shadow: 0 3px 24px 0 rgba(191,160,70,0.18), var(--shadow-md); }

/* Feature item (services/usp) */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/*******************
  CARD, INFO & FAQ
********************/ 
.confirmation-message {
  background: var(--card-bg);
  box-shadow: var(--shadow-xs);
  border-radius: 13px;
  padding: 24px 18px;
  margin: 24px 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 1rem;
}
.confirmation-message img { width: 36px; height: 36px; margin-bottom: 2px; }

.faq-accordion h3 {
  cursor: pointer;
  background: #faf8f3;
  border-radius: 12px;
  padding: 12px 20px;
  margin-bottom: 2px;
  font-size: 1.12rem;
  font-weight: 700;
  color: #155288;
  transition: background var(--transition);
}
.faq-accordion h3:hover, .faq-accordion h3.active {
  background: #fbeabf;
}
.faq-accordion div {
  padding: 13px 20px 13px 32px;
  background: #fff;
  color: #222;
  border-radius: 0 0 10px 10px;
  display: none;
  font-size: 1.04rem;
}
.faq-accordion div.open { display: block; }

.hint {
  background: #fcfce8;
  color: #9d850e;
  border-left: 6px solid var(--premium-gold);
  border-radius: 11px;
  padding: 10px 12px;
  margin-top: 12px;
  font-size: 0.97rem;
}

/***********************
  FOOTER
***********************/
footer {
  background: var(--primary);
  color: #fff; 
  padding: 38px 0 18px 0;
  position: relative;
  z-index: 1;
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -2px 32px 0 rgba(21, 82, 136, 0.10);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px 28px;
  justify-content: space-between;
  font-size: 1rem;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: #bfa046;
  font-family: 'Roboto Slab', serif;
  font-weight: 500;
  font-size: 1rem;
}
footer nav a:hover, footer nav a:focus {
  text-decoration: underline;
  color: #fff;
}
footer .contact-details, footer .social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}
footer .contact-details p {
  color: #eee3b8;
  font-size: 0.96rem;
  margin-bottom: 0;
}
footer .social-links {
  gap: 10px;
  margin-left: 16px;
}
footer .social-links a img { width: 30px; height: 30px; border-radius: 7px; background: #fff; padding: 2px; transition: background 0.12s; }
footer .social-links a:hover img { background: var(--premium-gold); }

/****************************
  6. COOKIE CONSENT BANNER
*****************************/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1400;
  background: #fffdfa;
  border-top: 2.5px solid var(--premium-gold);
  box-shadow: 0 -6px 32px 0 rgba(191,160,70,0.13);
  padding: 20px 10px;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: cookieFadeIn 0.55s cubic-bezier(.42,0,.22,1);
}
@keyframes cookieFadeIn {
  0% { opacity: 0; transform: translateY(100%); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-msg {
  color: #2a2202;
  font-size: 1.06rem;
  max-width: 620px;
  text-align: center;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.cookie-banner button {
  border: none;
  border-radius: 99px;
  font-family: 'Roboto Slab', serif;
  font-size: 1rem;
  cursor: pointer;
  min-width: 130px;
  padding: 10px 30px;
  font-weight: 600;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.cookie-accept {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--premium-gold);
}
.cookie-accept:hover, .cookie-accept:focus {
  background: var(--premium-gold);
  color: var(--primary);
  box-shadow: 0 2px 20px 0 rgba(21,82,136,0.08);
}
.cookie-reject {
  background: #FAF6EC;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cookie-reject:hover, .cookie-reject:focus {
  background: var(--primary);
  color: #fff;
}
.cookie-settings {
  background: var(--premium-gold);
  color: var(--rich-black);
  border: 2px solid #ede7d8;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #fff;
  color: var(--premium-gold);
  border-color: var(--premium-gold);
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2000;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(21, 82, 136, 0.51);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-overlay.open { opacity: 1; pointer-events: all; }
.cookie-modal {
  background: #fffdfa;
  border-radius: 20px;
  border: 2.1px solid var(--premium-gold);
  max-width: 430px;
  width: 95vw;
  box-shadow: var(--shadow-md);
  padding: 34px 30px 27px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookieModalIn 0.44s cubic-bezier(.39,0,.22,1);
  position: relative;
}
@keyframes cookieModalIn {
  0% { opacity: 0; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1); }
}
.cookie-modal h3 {
  font-size: 1.22rem;
  margin-bottom: 10px; color: var(--primary);
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f7f1dd;
  border-radius: 12px;
  padding: 12px 18px;
  margin-bottom: 8px;
}
.cookie-modal label {
  font-size: 1.07rem;
  color: #1f1910;
  font-weight: 500;
}
.cookie-toggle {
  accent-color: var(--premium-gold);
  width: 20px; height: 20px;
}
.cookie-modal .cookie-btns {
  display: flex; gap: 13px; flex-wrap: wrap;
  justify-content: flex-end;
  padding-top: 12px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 3px 10px;
  border-radius: 8px;
}
.cookie-modal .close-modal:hover {
  background: #fce9b7;
  color: #976a04;
}

.content-wrapper img{
  max-width: 150px;
}

/****************************
  RESPONSIVE
*****************************/
@media (max-width: 992px) {
  .container { max-width: 100%; }
  section { padding: 32px 8px; }
  .content-wrapper.feature-grid > div,
  ul.feature-grid li {
    min-width: 170px;
    max-width: 98vw;
    padding-left: 13px; padding-right: 13px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  main > section:first-of-type { border-radius: 0 0 12px 12px; }
  section { margin-bottom: 40px; padding: 26px 3vw; }
  .content-wrapper { gap: 16px; }
  .content-wrapper.feature-grid,
  ul.feature-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .text-image-section { flex-direction: column; gap: 18px; }
  .content-grid { flex-direction: column; gap: 16px; }
  .card-container { flex-direction: column; gap: 15px; }
  .testimonial-card { flex-direction: column; align-items: flex-start; gap: 7px; }
  .card { padding: 18px 10px; }
  footer .container {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.12rem; }
  h3 { font-size: 1rem; }
  section { padding: 15px 2vw; }
  .cta, .cta.primary { padding: 9px 16px; font-size: 0.97rem; }
}
/* Hide cookie banner on modal open (optional, toggle via JS) */
.cookie-banner.hide { display: none !important; }

/***********************
  MICRO-INTERACTIONS & ANIMATIONS
***********************/
.cta, .cta.primary, .cookie-banner button, .mobile-menu-toggle, .mobile-menu-close {
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), border var(--transition);
}
.card, ul.feature-grid li, .feature-grid > div {
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.card:active, ul.feature-grid li:active, .feature-grid > div:active {
  transform: scale(0.97) translateY(2px);
  box-shadow: 0 0px 10px 0 rgba(250,169,22, 0.10);
}

/* Accessibility focus ring */
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 2.5px solid var(--secondary); outline-offset: 2px; z-index: 1; }

/***********************
   PRINT (optional)
***********************/
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display: none !important; }
  section, .container { box-shadow: none !important; border-radius: 0 !important; background: #fff !important; }
}

/*********************
  END OF CSS
**********************/
