/* Koblenz Classic Cars – Scandinavian Clean Style v1.0 */

/* ===== CSS RESET & BASE TYPOGRAPHY ===== */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #222B35;
  background: #FAFAF8;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #222B35;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #A1824D;
}
ul, ol {
  padding-left: 1.4em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 8px;
}

/* ===== BRAND FONTS ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.15;
  color: #222B35;
  font-weight: 700;
  letter-spacing: .01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
p, .text-section p {
  font-size: 1rem;
  margin-bottom: 1.2em;
}
strong {
  font-weight: 700;
}


/* ====== LAYOUT CONTAINERS ====== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(34,43,53,.03);
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ======= FLEXBOX STRUCTURES ======= */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FAFAF8;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(34,43,53,0.05);
  padding: 28px 22px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 330px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-item img {
  width: 36px;
  height: 36px;
}
.feature-item:hover, .feature-item:focus {
  box-shadow: 0 6px 20px rgba(161,130,77,.09);
  transform: translateY(-3px) scale(1.025);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF;
  margin-bottom: 20px;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(34,43,53,0.06);
  position: relative;
  padding: 28px 22px;
  flex: 1 1 250px;
  min-width: 220px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 24px rgba(34,43,53,0.10);
  transform: translateY(-5px) scale(1.03);
}

.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;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  background: #F0EAE3;
  color: #222B35;
  padding: 20px 28px;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(34,43,53,.07);
  margin-bottom: 24px;
  max-width: 540px;
  font-size: 1.03rem;
  border-left: 5px solid #A1824D;
}
.testimonial-card span {
  font-size: .97rem;
  color: #A1824D;
  font-style: italic;
  font-weight: 500;
}

/* ===== CTA BUTTONS ===== */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #A1824D;
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .025em;
  border: none;
  outline: none;
  border-radius: 30px;
  box-shadow: 0 2px 8px rgba(161,130,77,0.1);
  padding: 13px 38px;
  margin-top: 14px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform .2s;
  text-shadow: 0 1px 1px rgba(34,43,53,0.08);
}
.cta-primary:hover, .cta-primary:focus {
  background: #8d6e36;
  box-shadow: 0 6px 18px rgba(161,130,77,0.22);
  transform: translateY(-2px) scale(1.025);
  color: #fff;
}

/* ===== HEADER ===== */
header {
  width: 100%;
  background: #FFF;
  box-shadow: 0 2px 16px rgba(34,43,53,0.04);
  position: relative;
  z-index: 110;
}
.header-top {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 12px 0 12px 0;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 64px;
}
.header-top img {
  height: 46px;
  width: auto;
  margin-right: 8px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
}
.main-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #222B35;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
  font-weight: 500;
  border-radius: 0;
}
.main-nav a:hover, .main-nav a:focus, .main-nav a[aria-current="page"] {
  color: #A1824D;
  border-color: #A1824D;
}

/* HIDE mobile menu toggle button by default (shown on mobile) */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #A1824D;
  padding: 8px 18px 8px 8px;
  display: none;
  cursor: pointer;
  line-height: 1;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #A1824D;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(34,43,53,0.14);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.55,.1,.29,1.13);
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  background: #fff;
  border: none;
  font-size: 2.2rem;
  color: #A1824D;
  margin: 22px 28px 0 0;
  align-self: flex-end;
  cursor: pointer;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(34,43,53,.07);
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F0EAE3;
  outline: 2px solid #A1824D;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 40px 38px 0 38px;
  background: #FFF;
  width: 80vw;
  max-width: 340px;
  height: 100vh;
  align-items: flex-start;
  box-shadow: -4px 0 24px rgba(161,130,77,0.07);
  border-radius: 0 0 0 32px;
}
.mobile-nav a {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.14rem;
  color: #222B35;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  padding: 7px 0;
  border-radius: 0;
  transition: color .2s, border-color .2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #A1824D;
  border-bottom: 2px solid #A1824D;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #FFF;
  box-shadow: 0 -2px 20px rgba(161,130,77,0.07);
  border-top: 3px solid #A1824D;
  z-index: 11111;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 18px;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.35s cubic-bezier(.44,.41,.37,1.13), opacity 0.35s;
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
}
.cookie-consent-text {
  color: #222B35;
  font-size: 1rem;
  line-height: 1.55;
  margin-right: 12px;
  flex: 1 1 280px;
}
.cookie-consent-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 11px 23px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  letter-spacing: .012em;
  cursor: pointer;
  outline: none;
  transition: background .2s, color .2s;
}
.cookie-btn.accept {
  background: #A1824D;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #8d6e36;
  color: #fff;
}
.cookie-btn.reject {
  background: #F0EAE3;
  color: #222B35;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #e4d9c9;
  color: #222B35;
}
.cookie-btn.settings {
  background: #fff;
  color: #A1824D;
  border: 1.5px solid #A1824D;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #F0EAE3;
  color: #8d6e36;
  border-color: #8d6e36;
}

/* ===== COOKIE MODAL POPUP ===== */
.cookie-modal-overlay {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(34,43,53,0.14);
  z-index: 11112;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 375px;
  width: 95vw;
  padding: 36px 28px 25px 28px;
  box-shadow: 0 12px 44px rgba(34,43,53,0.17);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookie-popup .45s cubic-bezier(.55,.06,.29,1.02);
}
@keyframes cookie-popup {
  from { transform: translateY(60px) scale(.95); opacity: 0 }
  to { transform: translateY(0) scale(1); opacity: 1 }
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  color: #A1824D;
  font-size: 2rem;
  cursor: pointer;
  padding: 4px;
}
.cookie-modal h3 {
  font-size: 1.2rem;
  color: #222B35;
  font-family: 'Playfair Display', Georgia, serif;
  margin-bottom: 10px;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.cookie-modal-category label {
  font-size: 1rem;
  color: #222B35;
  cursor: pointer;
}
.cookie-modal-category input[type="checkbox"] {
  width: 19px;
  height: 19px;
  accent-color: #A1824D;
}
.cookie-modal-category.essential label {
  color: #A1824D;
}
.cookie-modal-category.essential input[type="checkbox"] {
  accent-color: #A1824D;
}
.cookie-modal .cookie-note {
  font-size: .96rem;
  color: #858278;
  margin-bottom: 10px;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 8px;
}

/* ===== MAIN CONTENT & SECTIONS ===== */
main {
  width: 100%;
  margin-top: 0;
  margin-bottom: 60px;
}
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 20px;
}
/* Utility for vertical content layout */
.secondary-contact ul {
  margin-top: 14px;
  margin-bottom: 8px;
  padding-left: 1.2em;
}

/* ===== FOOTER ===== */
footer {
  background: #F0EAE3;
  padding: 32px 0 22px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-top: 2px solid #e8e1d4;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.footer-nav a {
  color: #222B35;
  font-size: .99rem;
  padding: 7px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #A1824D;
  border-bottom: 2px solid #A1824D;
}
.footer-info {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  font-size: .98rem;
  color: #858278;
}

/* ===== ICONS IN LISTS ===== */
.text-section ul li, .content-wrapper ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.text-section ul li img {
  width: 21px;
  height: 21px;
  min-width: 21px;
  filter: grayscale(.3) brightness(0.7);
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 1100px) {
  .container {
    max-width: 95vw;
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (max-width: 900px) {
  .feature-grid {
    gap: 18px;
  }
  .card-container {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.65rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  h3 {
    font-size: 1.1rem;
  }
  .header-top {
    flex-direction: row;
    gap: 10px;
    min-height: 58px;
    padding: 7px 0 7px 0;
  }
  .main-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
    margin-left: auto;
  }
  .cta-primary {
    padding: 11px 22px;
    font-size: 0.99rem;
  }
  .feature-grid, .card-container {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }
  .content-grid {
    flex-direction: column;
    gap: 17px;
  }
  .section, section {
    padding: 26px 8px;
    margin-bottom: 40px;
    border-radius: 14px;
  }
  .footer-info {
    flex-direction: column;
    gap: 3px;
    font-size: .95rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .testimonial-card {
    padding: 16px 14px;
    margin-bottom: 14px;
  }
  .footer-nav {
    gap: 13px;
    font-size: .94rem;
  }
  .cookie-consent-banner {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    padding: 12px 8px;
  }
  .cookie-modal {
    padding: 22px 7vw 16px 7vw;
  }
}
@media (max-width: 540px) {
  html {
    font-size: 15px;
  }
  h1 {
    font-size: 1.19rem;
  }
  .header-top img {
    height: 33px;
  }
}

/* ===== MICRO-INTERACTIONS & TRANSITIONS ===== */
button, .cta-primary, .cookie-btn, a {
  transition: background .2s, box-shadow .2s, color .2s, border-color .2s, transform .2s;
}

/* ===== GENERAL UTILITIES ===== */
::-webkit-scrollbar {
  width: 10px;
  background: #F0EAE3;
}
::-webkit-scrollbar-thumb {
  background: #e9e0d1;
  border-radius: 14px;
}

/* ===== ACCESSIBILITY (FOCUS) ===== */
:focus-visible {
  outline: 2px solid #A1824D;
  outline-offset: 1.5px;
}

/* Hide outline on mouse, show on keyboard only */
*:focus:not(:focus-visible) {
  outline: none;
}

/* ====== PRINT STYLE ====== */
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay { display: none !important; }
  section, .container {
    background: #fff !important;
    box-shadow: none !important;
    color: #222B35 !important;
  }
}
