/* ===========================================================
   Clear Voltage Akademie – Luxury Premium CSS (FLEXBOX ONLY)
   ===========================================================
   Brand Colors:
     --primary:#194D79 (Royal blue)
     --secondary:#F3F7FA (Soft light background)
     --accent: #FFB84C (Gold)
   Premium additions:
     --gold: #D3B06A
     --dark: #172234
  -----------------------------------------------------------
   FONT STACKS:
    Headings: 'Montserrat', Arial, sans-serif;
    Body: Arial, sans-serif;
   =========================================================== */

/* RESET & BASE ------------------------------------------------------ */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: var(--secondary, #F3F7FA);
  color: var(--dark, #172234);
  font-family: Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
:root {
  --primary: #194D79;
  --secondary: #F3F7FA;
  --accent: #FFB84C;
  --gold: #D3B06A;
  --dark: #172234;
  --danger: #ce2020;
  --success: #44a13a;
  --radius: 14px;
  --shadow: 0 4px 20px 0 rgba(25,77,121,0.07);
  --shadow-elev: 0 2px 12px 0 rgba(25,77,121,0.16);
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: var(--gold);
  outline: none;
}
ul, ol {
  margin-left: 1.4em;
  margin-bottom: 1em;
}
ul ul, ol ol {
  margin-bottom: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 16px 0;
  line-height: 1.1;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 1.7rem; margin-bottom: 16px; }
h3 { font-size: 1.2rem; margin-bottom: 12px; font-weight: 600; }

p, li {
  font-size: 1rem;
  color: var(--dark);
}
strong {
  color: var(--primary);
  font-weight: 700;
}
section {
  width: 100%;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* SPACING & FLEXBOX LAYOUTS ----------------------------------------- */
.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;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  min-width: 0;
  flex: 1 1 320px;
  transition: box-shadow 0.18s, transform 0.18s;
  border: 1.5px solid var(--gold);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Typography scale for luxury appearance */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
}

/* HEADER STYLES ---------------------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(25,77,121,0.04);
  padding: 0;
  position: relative;
  z-index: 100;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
header a img {
  height: 45px;
  width: auto;
}
.main-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-left: 30px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: .01em;
  color: var(--primary);
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.18s, color 0.18s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
}

.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border: none;
  padding: 12px 28px;
  border-radius: 999px;
  margin-left: auto;
  transition: box-shadow 0.15s, transform 0.15s, background 0.18s;
  box-shadow: 0 2px 8px 0 rgba(25,77,121,0.05);
  cursor: pointer;
  outline: none;
  letter-spacing: 0.04em;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, var(--accent), #e9c373 75%);
  transform: translateY(-2px) scale(1.028);
  box-shadow: 0 7px 20px -3px rgba(25,77,121,0.08);
  color: var(--primary);
}

/* MOBILE NAVIGATION ------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  margin-left: auto;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 88vw;
  max-width: 380px;
  height: 100vh;
  background: #fff;
  box-shadow: -3px 0 24px 0 rgba(25,77,121,.20);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(.85,.01,.4,.99);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 0 28px;
  gap: 10px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--primary);
  align-self: flex-end;
  margin-bottom: 12px;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.23rem;
  line-height: 1.4;
  color: var(--dark);
  font-weight: 600;
  padding: 10px 0 6px 0;
  border-bottom: 1px solid #e8e6e1;
  transition: color 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: var(--gold);
}
@media (max-width:1023px) {
  .main-nav { display: none; }
  .cta-btn { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width:1024px) {
  .mobile-menu { display: none !important; }
}

/* HERO & HEADINGS ---------------------------------------------------- */
.hero {
  background: linear-gradient(94deg,#fff 70%, #f8f5ef 100%);
  padding: 48px 0 36px 0;
  margin-bottom: 28px;
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.5rem;
  color: var(--primary);
  line-height: 1.1;
}
.hero p {
  color: var(--dark);
  margin-bottom: 18px;
  font-size: 1.1rem;
}
.hero .cta-btn {
  margin-top: 18px;
  margin-left: 0;
}

@media (max-width: 768px) {
  .hero {
    padding: 28px 0 12px 0;
    margin-bottom: 18px;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
}

/* FEATURES / CARDS / SERVICES ----------------------------------------- */
.features ul, .services ul {
  display: flex;
  flex-direction: column;
  gap: 22px;
  list-style: none;
}
.features ul li, .services ul li {
  background: #fff;
  border-radius: var(--radius);
  border: 1.5px solid var(--gold);
  padding: 20px 22px 18px 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: flex-start;
  min-width: 0;
  font-size: 1.07rem;
  line-height: 1.5;
  margin-bottom: 0;
  transition: box-shadow 0.17s, border-color 0.18s;
  position: relative;
}
.features ul li img {
  height: 38px;
  width: 38px;
  margin-right: 13px;
}
.features ul li:hover, .features ul li:focus-within {
  border-color: var(--accent);
  box-shadow: 0 6px 18px 0 rgba(25,77,121,0.09);
}

.services .text-section,
.features .text-section {
  margin-top: 15px;
}

/* ABOUT/INFO SECTION ------------------------------------------------- */
.about {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 48px;
  padding: 40px 0 38px 0;
  border-left: 6px solid var(--accent);
}
.about .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.about .text-section {
  margin-bottom: 16px;
}

/* TESTIMONIALS ------------------------------------------------------ */
.testimonials {
  padding: 24px 0 52px 0;
  background: linear-gradient(92deg,#fff 70%, #faf5ef 100%);
}
.testimonials .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  color: #222;
  border-left: 6px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-elev);
  padding: 28px 24px 18px 22px;
  transition: box-shadow 0.17s, border-color 0.15s;
  min-width: 0;
  margin-bottom: 18px;
  align-items: flex-start;
  flex-direction: column;
  font-size: 1.13rem;
}
.testimonial-card strong {
  color: var(--primary);
  font-size: 1.01em;
}
.testimonial-card span {
  color: var(--accent);
  font-size: 1.2em;
  margin-top: 3px;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border-color: var(--primary);
  box-shadow: 0 12px 30px -5px rgba(25,77,121,0.11);
}

@media (max-width: 768px) {
  .testimonial-card { font-size: 1rem; padding: 18px 12px 14px 13px; }
}

/* CTA --------------------------------------------------------------- */
.cta .container,
.cta .content-wrapper {
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}
.cta {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 14px 0 rgba(25,77,121,0.13);
  margin-top: 48px;
  margin-bottom: 60px;
  padding: 42px 0 39px 0;
}
.cta h2 {
  color: #fff;
}
.cta p {
  color: #fff;
}
.cta .cta-btn {
  margin-left: 0;
  margin-top: 24px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  color: var(--primary);
  box-shadow: 0 4px 16px 0 rgba(255,184,76,.13);
}
.cta .cta-btn:hover, .cta .cta-btn:focus {
  color: #fff;
  background: linear-gradient(70deg, var(--primary), var(--gold));
}

/* FOOTER ------------------------------------------------------------ */
footer {
  background: #171E2B;
  color: #fff;
  padding: 0;
  margin-top: 56px;
  font-size: 1.01rem;
}
footer section {
  padding: 38px 0 26px 0;
}
.footer-links {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 42px;
  justify-content: space-between;
}
.footer-links a img {
  height: 34px;
  width: auto;
  margin-bottom: 8px;
}
.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.96rem;
  font-weight: 500;
  transition: color 0.14s;
}
.footer-links nav a:hover, .footer-links nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.footer-contact span,
.footer-contact a {
  color: #fff;
  font-size: 1rem;
}
.footer-contact a:hover {
  color: var(--gold);
}

@media (max-width: 900px) {
  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* GENERAL TEXT SECTIONS --------------------------------------------- */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.text-section h3 {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.03rem;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .container { padding-left:10px; padding-right:10px; }
  .footer-links { gap: 8px; }
  .section { padding: 26px 7px; }
}

/* RESPONSIVE FLEXBOX for sections ---------------------------------- */
@media (max-width: 900px) {
  .content-grid,
  .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .footer-links { flex-direction: column; gap: 18px; }
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 22px; align-items: flex-start; }
}

/* CONTACT DETAILS --------------------------------------------------- */
.contact-details .content-wrapper {
  background: #FFF;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 24px 24px 22px;
  margin-bottom: 20px;
}
.contact-details h2 {
  color: var(--primary);
}

/* CARDS ------------------------------------------------------------- */
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 18px;
  border: 1.5px solid #efz7ee;
  margin-bottom: 18px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* MICRO-INTERACTIONS ----------------------------------------------- */
.card:hover, .card:focus-within {
  box-shadow: 0 8px 22px 0 rgba(25,77,121,0.13);
  border-color: var(--gold);
  transform: translateY(-2px) scale(1.012);
}
.features ul li:after, .services ul li:after, .testimonial-card:after, .card:after {
  content: '';
  display: none;
}

/* BUTTONS & FORMS --------------------------------------------------- */
button, .button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius:999px;
  background: var(--gold);
  color: var(--primary);
  padding: 11px 22px;
  transition: background .14s, color .14s, box-shadow .19s;
  cursor:pointer;
  outline: none;
  box-shadow: 0 1px 6px 0 rgba(211,176,106,0.16);
}
button:hover, button:focus,
.button:hover, .button:focus {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(25,77,121,0.18);
}

/* FORM FIELDS ------------------------------------------------------- */
input, textarea, select {
  border-radius: 6px;
  border: 1.5px solid #e5e7ea;
  font-size: 1rem;
  padding: 12px 13px;
  width: 100%;
  margin-bottom: 20px;
  background: #fff;
  transition: border-color .15s;
  font-family: inherit;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--gold);
  outline: none;
}

/* COOKIE CONSENT BANNER + MODAL ------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: var(--dark);
  box-shadow: 0 -3px 30px 0 rgba(25,77,121,.13);
  padding: 22px 10px 22px 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 1rem;
  z-index: 1500;
  animation: cookie-fadein .55s cubic-bezier(.24,.64,0,1);
  border-top: 2.4px solid var(--gold);
}
.cookie-banner p {
  flex: 1 1 60%;
  margin: 0;
  color: var(--dark);
  font-size: 1rem;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-banner .accept-btn {
  background: var(--gold);
  color: var(--primary);
}
.cookie-banner .reject-btn {
  background: #fff;
  color: var(--danger);
  border: 1.5px solid var(--danger);
}
.cookie-banner .settings-btn {
  background: var(--secondary);
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--primary);
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-banner {flex-direction: column;gap:12px;align-items:stretch;padding: 17px 4px;}
  .cookie-banner-buttons {justify-content:flex-start;gap:8px;}
}

@keyframes cookie-fadein {
  0% { opacity:0; transform: translateY(50px); }
  100%{ opacity:1; transform: translateY(0); }
}

/* Cookie Settings Modal -------------------------------------------- */
.cookie-modal-overlay {
  position: fixed;
  inset:0;
  background: rgba(25,77,121,0.16);
  z-index: 1510;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookie-modal-fadein .22s cubic-bezier(.4,.24,.2,1);
}
@keyframes cookie-modal-fadein {
  0%{opacity:0;}
  100%{opacity:1;}
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(25,77,121,0.14);
  max-width: 420px;
  width: 92vw;
  padding: 34px 24px 26px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.cookie-modal h3 {
  color: var(--primary);
  margin-bottom: 11px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 20px;
}
.cookie-modal .cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #f7f7f9;
  border-radius: 9px;
  padding: 9px 12px;
}
.cookie-modal .cookie-category input[type="checkbox"] {
  accent-color: var(--primary);
  transform: scale(1.1);
}
.cookie-modal .cookie-category.essential label {
  font-weight: 600;
  color: var(--dark);
}
.cookie-modal .cookie-category.essential input {
  display: none;
}
.cookie-modal .modal-btns {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 14px;
  font-size: 1.8rem;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
}

/* UTILITIES & HIERARCHY --------------------------------------------- */
.fancy-gold {
  color: var(--gold);
  background: linear-gradient(90deg,#ffdea4 20%, var(--gold) 80%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.bg-accent {
  background: var(--accent);
  color: var(--primary);
}
.bg-gold {
  background: var(--gold);
  color: var(--primary);
}
.bg-primary {
  background: var(--primary);
  color: #fff;
}
.text-gold { color: var(--gold); }
.text-primary { color: var(--primary); }
.text-dark { color: var(--dark); }

/* LUXURY SHADOW, SPACING ------------------------------------------ */
.premium-shadow {
  box-shadow: 0 8px 32px 0 rgba(211,176,106,0.12), var(--shadow);
}

.premium-border {
  border: 2px solid var(--gold);
  border-radius: var(--radius);
}

/* GAP/SPACE UTILITIES --------------------------------------------- */
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-32 { margin-top: 32px !important; }
.mb-32 { margin-bottom:32px !important; }

/* Media Queries adjustments --------------------------------------- */
@media (max-width: 600px) {
  .footer-links,
  .features ul li, .services ul li, .card, .testimonial-card, .about .content-wrapper, .hero .content-wrapper {
    padding-left: 9px !important;
    padding-right: 9px !important;
  }
}

/* Hide outlines except on keyboard focus --------------------------- */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0.5px;
}

/* --------------------------------------------------------------- */
/* End of Clear Voltage Akademie Luxury Premium Theme              */
/* --------------------------------------------------------------- */
