/* ===========================
   Arcadian Drive Akademie
   Luxury Premium Stylesheet
   ============================
   Author: Senior CSS Developer

   CRITICAL: 
   - Only Flexbox layouts (no grid/columns)
   - NO display:grid, column-*, etc.
   - Responsive, mobile-first
*/

/* ===========================
   1. CSS Reset & Normalize
*/
html {
  box-sizing: border-box;
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #f7f8fa;
  color: #112233;
  line-height: 1.6;
  font-size: 16px;
}
img {
  max-width: 100%;
  display: inline-block;
  vertical-align: middle;
  border: none;
}
a {
  color: #12325D;
  text-decoration: none;
  transition: color 0.15s;
}
a:focus {
  outline: 2px solid #C09A3A;
  outline-offset: 2px;
}
ul, ol {
  list-style: none;
  padding-left: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  background: none;
  border: none;
  color: inherit;
  outline: none;
  margin: 0;
  padding: 0;
}
input[type="submit"], button {
  cursor: pointer;
}

/* ===========================
   2. Typography
*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto:wght@400;500;700&display=swap');

h1, .hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  line-height: 1.12;
  margin-bottom: 16px;
  font-weight: 700;
  color: #12325D;
  letter-spacing: -1px;
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  margin-bottom: 16px;
  font-weight: 700;
  color: #12325D;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-weight: 600;
  color: #2c3d5b;
}
p, li, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
  color: #23272e;
}
.hero p, .section p, .section ul li {
  font-size: 1.125rem;
}
strong, b {
  font-weight: 700;
}

/* Luxury Accent */
.lux-gold, .cta-primary, .cta-secondary {
  color: #fff;
  background: #C09A3A;
  border-color: #C09A3A;
}

/* ===========================
   3. Core Layout & Containers
*/
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0; /* handle spacing between child blocks by their own class */
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

main {
  padding-top: 0;
  padding-bottom: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 28px 0 rgba(40,50,60,0.12);
  position: relative;
}

/* Hero Section */
.hero {
  background:
    linear-gradient(130deg, #F2F5F8 70%, #fcfaf7 100%);
  border-radius: 0 0 40px 40px;
  box-shadow: 0 4px 20px 0 rgba(192,154,58,0.07);
  margin-bottom: 48px;
  padding: 0;
}
.hero .container {
  align-items: center;
  flex-direction: column;
}
.hero .content-wrapper {
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  padding: 64px 0 32px 0;
}

/* ============================
   4. Header Navigation & Branding
*/
header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 110;
  background-color: #fff;
  box-shadow: 0 2px 12px 0 rgba(18,50,93,0.06);
  padding: 0;
}

header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  min-height: 80px;
  padding: 0 20px;
}
header img {
  height: 40px;
  margin-right: 32px;
  border-radius: 8px;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #12325D;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
  position: relative;
}
nav a:hover, nav a:focus {
  background: #faf8f2;
  color: #C09A3A;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #C09A3A;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 30px;
  border: none;
  border-radius: 28px;
  box-shadow: 0 4px 18px 0 rgba(192,154,58,0.10);
  cursor: pointer;
  margin-left: 12px;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
  text-decoration: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: #b28926;
  color: #fff;
  box-shadow: 0 6px 28px 0 rgba(192,154,58,0.18);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #C09A3A;
  margin-left: 18px;
  cursor: pointer;
  z-index: 1201;
  padding: 6px 14px;
  border-radius: 6px;
  transition: background 0.14s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #faf8f2;
}

@media (max-width: 992px) {
  header .container {
    gap: 12px;
    min-height: 64px;
    padding: 0 8px;
  }
  nav {
    gap: 14px;
  }
  .cta-primary {
    font-size: 0.96rem;
    padding: 10px 18px;
    margin-left: 6px;
  }
}

/* ===========================
   5. Mobile Navigation
*/
.mobile-menu {
  position: fixed;
  display: flex;
  flex-direction: column;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 4px 48px 0 rgba(18,50,93,0.22);
  z-index: 1200;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(.77,0,.18,1);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #C09A3A;
  align-self: flex-end;
  margin: 24px 16px 0 0;
  cursor: pointer;
  transition: color 0.16s;
  padding: 4px 8px;
  border-radius: 6px;
  z-index: 1202;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #faf8f2;
  color: #896800;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  margin: 44px 0 0 28px;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  color: #12325D;
  padding: 18px 0 18px 2px;
  margin-bottom: 8px;
  font-weight: 500;
  border-radius: 5px;
  width: 80vw;
  max-width: 330px;
  transition: color 0.18s, background 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #C09A3A;
  background: #fcf6e3;
}

@media (max-width: 992px) {
  nav {
    display: none;
  }
  .cta-primary {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (min-width: 993px) {
  .mobile-menu-toggle,
  .mobile-menu {
    display: none !important;
  }
}

/* ===========================
   6. Core Flex Utility Classes
*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(18,50,93,0.09);
  padding: 30px 22px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 220px;
  min-width: 240px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 8px 30px 0 rgba(18,50,93,0.18);
  transform: translateY(-3px) scale(1.015);
}
.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: #f5f7fa;
  margin-bottom: 24px;
  padding: 20px 28px 20px 22px;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(18,50,93,0.08);
  border-left: 5px solid #C09A3A;
  font-size: 1.1rem;
}
.testimonial-meta {
  font-size: 1rem;
  color: #837042;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

.section:not(.hero) .content-wrapper ul,
.section:not(.hero) ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section:not(.hero) li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.1rem;
}
/* Icon style in li */
.section ul li img, .section li img {
  height: 32px;
  width: 32px;
  flex-shrink: 0;
  margin-right: 4px;
}

/* ===========================
   7. Buttons & CTA
*/
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #C09A3A;
  border: 2px solid #C09A3A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 28px;
  padding: 12px 28px;
  margin-top: 8px;
  transition: all 0.18s;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #C09A3A;
  color: #fff;
  box-shadow: 0 4px 13px 0 rgba(192,154,58,0.18);
}

/* ===========================
   8. Footer
*/
footer {
  background: #222c39;
  color: #f5f5f7;
  padding: 36px 0 0 0;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 36px;
  justify-content: space-between;
  border-top: 1px solid #e7e9ee;
  padding: 36px 20px;
}
footer a {
  color: #C09A3A;
  font-weight: 500;
  font-size: 1rem;
  margin-right: 18px;
}
footer a:hover, footer a:focus {
  text-decoration: underline;
  color: #ffe29b;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 1rem;
  color: #f5f7fa;
  font-family: 'Roboto', Arial, sans-serif;
}
.footer-contact a {
  color: #C09A3A;
  text-decoration: underline;
}

/* ===========================
   9. Cookie Consent Banner & Modal
*/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2200;
  background: #fff9ec;
  color: #231e10;
  border-top: 2px solid #C09A3A;
  box-shadow: 0 -2px 20px 0 rgba(192,154,58,0.06);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  gap: 18px;
  width: 100vw;
  max-width: 100vw;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  animation: cookiebannerfadein 0.6s cubic-bezier(.77,0,.18,1);
}
@keyframes cookiebannerfadein {
  0% { opacity: 0; transform: translateY(64px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner__text {
  flex: 1 1 0;
  margin-right: 16px;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  background: #C09A3A;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 24px;
  padding: 8px 22px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  margin-left: 0;
  transition: background 0.18s, color 0.11s;
  box-shadow: 0 2px 10px 0 rgba(192,154,58,0.09);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #b28926;
}
.cookie-btn.secondary {
  background: #fff;
  border: 2px solid #C09A3A;
  color: #C09A3A;
  font-weight: 600;
}
.cookie-btn.secondary:hover, .cookie-btn.secondary:focus {
  background: #fcf6e3;
  color: #7a651c;
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  background: rgba(24,26,29,0.45);
  z-index: 2300;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.28s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal__dialog {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 16px 48px 0 rgba(40,40,52,0.24);
  max-width: 400px;
  width: 90vw;
  padding: 40px 34px 30px 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: cookiemodalfadein 0.45s cubic-bezier(.77,0,.18,1);
}
@keyframes cookiemodalfadein {
  from { opacity: 0; transform: translateY(32px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal__close {
  position: absolute;
  top: 18px;
  right: 16px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #C09A3A;
  cursor: pointer;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cookie-category-label {
  font-size: 1.03rem;
  font-weight: 500;
  color: #112233;
}
.cookie-toggle-switch {
  width: 44px;
  height: 20px;
  background: #C09A3A;
  border-radius: 15px;
  position: relative;
  transition: background 0.16s;
}
.cookie-toggle-switch[aria-checked='false'] {
  background: #e7e1cd;
}
.cookie-toggle-slider {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 16px;
  background: #fff;
  border-radius: 12px;
  transition: left 0.18s;
}
.cookie-toggle-switch[aria-checked='true'] .cookie-toggle-slider {
  left: 24px;
}
.cookie-toggle-switch[aria-checked='false'] .cookie-toggle-slider {
  left: 2px;
}
.cookie-category.essential {
  opacity: 0.8;
}
.cookie-category.essential .cookie-toggle-switch {
  background: #dbbc71;
  cursor: not-allowed;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 15px 10px;
    font-size: 0.97rem;
  }
  .cookie-banner__actions {
    gap: 9px;
  }
  .cookie-modal__dialog {
    padding: 22px 8px 20px 12px;
    width: 98vw;
    max-width: 98vw;
  }
}

/* ===========================
   10. Utility Classes, Animations
*/
.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hide {
  display: none !important;
}
.round-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #C09A3A;
  color: #fff;
  border-radius: 50%;
  width: 32px; height: 32px;
  font-size: 1.1em;
  font-weight: bold;
  margin-right: 7px;
}
.text-gold {
  color: #C09A3A !important;
}
.bg-gold {
  background: #C09A3A !important;
  color: #fff !important;
}
.shadow-gold {
  box-shadow: 0 6px 28px 0 rgba(192,154,58,0.18);
}

/* ===========================
   11. Responsive Adjustments
*/
@media (max-width: 1024px) {
  .container {
    padding: 0 10px;
  }
  .section {
    padding: 28px 2vw;
    margin-bottom: 38px;
  }
  .hero .content-wrapper {
    padding: 40px 0 20px 0;
  }
}
@media (max-width: 768px) {
  h1, .hero h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .container {
    max-width: 98vw;
    padding: 0 4vw;
  }
  .section {
    padding: 18px 1vw;
    margin-bottom: 24px;
  }
  .hero .content-wrapper {
    gap: 19px;
    padding: 22px 0 16px 0;
  }
  .content-grid {
    flex-direction: column;
    gap: 15px;
  }
  .card-container {
    flex-direction: column;
    gap: 13px;
  }
  .testimonial-card {
    padding: 14px 9px 12px 10px;
  }
  .footer-contact {
    font-size: 0.97rem;
    gap: 4px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
}
@media (max-width: 600px) {
  .section {
    margin-bottom: 20px;
  }
  .testimonial-card {
    font-size: 1rem;
  }
}

/* ===========================
   12. Spacing Consistency
*/
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* ===========================
   13. Micro-Interactions & Transitions
*/
a, button, .cta-primary, .cta-secondary, .cookie-btn {
  transition: background 0.18s, color 0.17s, border 0.15s, box-shadow 0.18s, transform 0.18s;
}
.card, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover, .testimonial-card:hover,
.card:focus, .testimonial-card:focus {
  box-shadow: 0 8px 24px 0 rgba(192,154,58,0.12), 0 1.5px 6px 0 rgba(18,50,93,0.09);
  transform: translateY(-2px) scale(1.012);
}

/* ===========================
   14. Accessibility Tweaks
*/
a:focus, button:focus, .cta-primary:focus, .cta-secondary:focus, .cookie-btn:focus {
  outline: 2px solid #C09A3A;
  outline-offset: 1.5px;
  z-index: 6;
}

/* ===========================
   END OF STYLESHEET
*/
