/* =========================================================
   Silky Knowledge Akademie – Luxury Premium Style CSS
   ----------------------------------------------------
   - Responsive, mobile-first, flexbox-only layouts
   - Brand colors, fonts, gold accent, luxury design
   - Includes mobile burger nav and cookie consent banner
   ============================================================== */

/* CSS RESET & NORMALIZE */
html { box-sizing: border-box; }
*,*::before,*::after { box-sizing: inherit; margin: 0; padding: 0; }

body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #222;
  background: #F6F7EB;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: #05386B; text-decoration: none; transition: color .15s; }
a:hover, a:focus { color: #D4AF37; }
ul, ol { padding-left: 22px; margin-bottom: 16px; }
li { margin-bottom: 8px; }
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  letter-spacing: .02em;
  color: #05386B;
  margin-bottom: 18px;
  font-weight: 700;
}
h1 { font-size: 2.4rem; margin-bottom: 22px; }
h2 { font-size: 1.8rem; margin-bottom: 18px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }

strong { color: #05386B; font-weight: bold; }
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 24px rgba(5, 56, 107, 0.06);
}

/* ------ LUXURY GOLD ACCENT UTILITIES ------ */
.gold {
  color: #D4AF37;
}
.gold-bg {
  background: #fffbe7;
}

/* ------ GLOBAL FLEX CONTAINERS ------ */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(5,56,107, 0.07);
  padding: 28px;
  transition: box-shadow .23s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(211,175,55,0.11);
}

.features, .service-list, .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  list-style: none;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fffbe7;
  border-radius: 10px;
  border: 1px solid #f2e8c3;
  padding: 18px 16px;
  min-width: 220px;
}

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

/* ------ NAVIGATION & HEADER ------ */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 80px;
  background: #fff;
  border-bottom: 2px solid #eee6cf;
}
header .logo img { height: 50px; }

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  padding: 10px 0;
  color: #05386B;
  font-weight: 500;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  color: #D4AF37;
}
.main-nav a::after {
  content: "";
  display: block;
  height: 3px;
  width: 0;
  background: #D4AF37;
  transition: width .22s;
  border-radius: 2px;
  margin-top: 3px;
}
.main-nav a:hover::after, .main-nav a:focus::after {
  width: 80%;
}

.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  background: #D4AF37;
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 12px 32px;
  margin-left: 18px;
  box-shadow: 0 2px 12px rgba(211,175,55,0.08);
  letter-spacing: .04em;
  transition: background 0.22s, color 0.22s, box-shadow .22s;
  cursor: pointer;
  outline: none;
  display: inline-block;
  text-align: center;
  text-shadow: 0 1px 2px rgba(60,60,30,.02);
}
.cta-btn:hover, .cta-btn:focus {
  background: #b9982f;
  color: #fffbe7;
  box-shadow: 0 4px 22px rgba(211,175,55,0.14);
}

.mobile-menu-toggle {
  background: none;
  border: none;
  color: #05386B;
  font-size: 2.2rem;
  cursor: pointer;
  margin-left: 20px;
  display: none;
  z-index: 200;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background .16s, color .16s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #D4AF37;
  background: #f6f7eb;
}

/* ----- MOBILE NAVIGATION (overlay slide nav) ------ */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(5,56,107, 0.96);
  color: #fff;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform .34s cubic-bezier(.86,0,.07,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
  width: 100vw;
  height: 100vh;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  margin: 28px 30px 14px 0;
  cursor: pointer;
  z-index: 1001;
  transition: color .15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #D4AF37;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 44px 36px 24px 32px;
  gap: 17px;
}
.mobile-nav a {
  color: #fffbe7;
  font-size: 1.28rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 10px 0 9px 0;
  border-radius: 6px;
  width: 100%;
  text-align: left;
  display: block;
  transition: background .19s, color .17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #D4AF37;
  background: rgba(255,255,255,0.06);
}


/* ------ HERO & CTA SECTION ------ */
.hero {
  background: linear-gradient(120deg, #F6F7EB 80%, #fffbe7 100%);
  box-shadow: 0 4px 44px rgba(211,175,55,0.09);
  padding-top: 58px;
  padding-bottom: 56px;
  display: flex;
  align-items: center;
  margin-bottom: 48px;
  border-radius: 0 0 24px 24px;
  border-bottom: 3px solid #f2e8c3;
}
.hero h1 {
  font-size: 2.8rem;
  color: #05386B;
  margin-bottom: 20px;
  line-height: 1.19;
  text-shadow: 0 2px 4px rgba(211,175,55,0.09);
}
.hero p {
  font-size: 1.31rem;
  color: #379683;
  font-weight: 500;
}

.cta-section {
  background: #05386B;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 2px 24px rgba(5,56,107, 0.08);
  margin-bottom: 60px;
  color: #fff;
}
.cta-section h2 {
  color: #fff;
  margin-bottom: 22px;
}
.cta-section .cta-btn {
  background: #D4AF37;
  color: #222;
  font-size: 1.08rem;
  margin: 0 auto;
  display: inline-block;
  font-weight: 700;
  letter-spacing: .035em;
}
.cta-section .cta-btn:hover { color: #fff; background: #ad8f27; }

/* ------ FEATURE GRID (Index) ------ */
.feature-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 18px;
  list-style: none;
}

.feature-grid li, .service-list li {
  background: #fffbe7;
  border-radius: 14px;
  border: 1px solid #f2e8c3;
  box-shadow: 0 2px 11px rgba(211,175,55,0.02);
  padding: 22px 18px 18px 18px;
  min-width: 230px;
  flex: 1 1 210px;
  font-size: 1rem;
  color: #05386B;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  transition: box-shadow .18s, border .16s;
  margin-bottom: 10px;
}
.feature-grid li:hover, .service-list li:hover {
  box-shadow: 0 2px 18px rgba(211,175,55,0.11);
  border: 1px solid #D4AF37;
}
.feature-grid img, .service-list img {
  width: 46px; height: 46px; margin-bottom: 6px;
}


/* ------ TESTIMONIALS ------ */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  margin-bottom: 20px;
  border-radius: 12px;
  border-left: 5px solid #D4AF37;
  box-shadow: 0 1px 12px rgba(211,175,55,0.06);
}
.testimonial-card p {
  color: #222;
  font-size: 1.08rem;
  margin-bottom: 0;
}
.testimonial-card div {
  color: #379683;
  font-weight: 500;
  font-size: 0.98rem;
  margin-left: 15px;
}
.testimonial-card:hover {
  box-shadow: 0 6px 22px rgba(211,175,55,0.13);
  border-left-color: #ad8f27;
}

/* ------ ABOUT/PORTFOLIO TEXT SECTION ------ */
.text-section {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 2px 16px rgba(56,107,5,0.04);
  padding: 32px 36px 32px 36px;
}
.text-section ul, .text-section ol {
  margin-top: 8px;
  margin-bottom: 18px;
}
.text-section li {
  color: #05386B;
}

/* ------ FOOTER ------ */
footer {
  background: #05386B;
  color: #fff;
  padding: 44px 0 14px 0;
  margin-top: 60px;
}
footer .container { max-width: 1200px; }
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}
footer nav {
  min-width: 170px;
}
footer img {
  margin-bottom: 12px;
}
footer a {
  color: #fffbe7;
  font-size: 1rem;
  transition: color .13s;
}
footer a:hover, footer a:focus {
  color: #D4AF37;
}
footer h3 {
  color: #D4AF37;
  font-size: 1.05rem;
  margin-bottom: 13px;
  font-weight: 700;
  margin-top: 6px;
}
footer p {
  color: #fffbe7;
  margin-bottom: 12px;
  font-size: 0.98rem;
}


/* ------ SPACING & FLEX LAYOUT PATTERNS ------ */
.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;
}

/* ------ FORM STYLES ------ */
input, textarea, select {
  font-family: inherit;
  padding: 10px 13px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #C7C7C7;
  background: #f6f7eb;
  margin-bottom: 12px;
  width: 100%;
  transition: border .18s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border: 1.5px solid #D4AF37;
}

button, input[type="submit"] {
  font-family: inherit;
  cursor: pointer;
  transition: background .18s, color .18s;
}


/* ------ COOKIES / GDPR BANNER ------ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fffbe7;
  color: #222;
  z-index: 12000;
  box-shadow: 0 -2px 24px rgba(211,175,55,0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 24px 18px 18px 18px;
}
.cookie-banner .cookie-text {
  flex: 2 1 200px;
  font-size: 1.02rem;
  color: #05386B;
}
.cookie-banner .cookie-actions {
  flex: 1 1 180px;
  display: flex;
  gap: 16px;
  min-width: 180px;
  justify-content: flex-end;
}
.cookie-btn {
  background: #D4AF37;
  color: #fff;
  border: none;
  border-radius: 15px;
  padding: 8px 18px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: background .18s, color .18s, box-shadow .19s;
  box-shadow: 0 1px 7px rgba(211,175,55,0.04);
}
.cookie-btn.settings {
  background: #05386B;
  color: #fffbe7;
  border: 1px solid #D4AF37;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #b9982f;
  color: #fffbe7;
}

/* Cookie Preferences Modal */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(5,56,107,0.4);
  z-index: 13000;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
}
.cookie-modal.open {
  display: flex;
  animation: fadeIn .21s;
}
.cookie-modal .modal-content {
  background: #fffbe7;
  color: #05386B;
  border-radius: 14px;
  max-width: 368px;
  width: 96%;
  padding: 36px 28px 28px 28px;
  box-shadow: 0 4px 28px rgba(211,175,55,0.14);
  animation: slideDown .36s cubic-bezier(.5,.8,.33,1);
  display: flex;
  flex-direction: column;
  gap: 17px;
  border: 1.6px solid #D4AF37;
}
.cookie-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 9px;
}
.cookie-modal .close-modal {
  background: none;
  border: none;
  font-size: 2rem;
  color: #D4AF37;
  cursor: pointer;
  font-weight: 700;
  transition: color .15s;
  border-radius: 6px;
}
.cookie-modal .close-modal:hover { color: #b9982f; }

.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 0;
}
.cookie-categories label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.02rem;
  font-family: 'Open Sans', Arial, sans-serif;
}
.cookie-categories input[type="checkbox"] {
  accent-color: #D4AF37;
  width: 18px; height: 18px;
}
.cookie-categories .essential {
  color: #6c6652;
}
.cookie-categories .essential input[type="checkbox"] {
  display: none;
}

.cookie-modal .save-btn {
  background: #D4AF37;
  color: #fff;
  border: none;
  border-radius: 15px;
  padding: 10px 24px;
  font-size: 1.04rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  align-self: flex-end;
  margin-top: 14px;
  transition: background .16s;
}
.cookie-modal .save-btn:hover, .cookie-modal .save-btn:focus {
  background: #ad8f27;
}

@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes slideDown {
  from { transform: translateY(-22px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ------ MEDIA QUERIES: RESPONSIVE ------ */
@media (max-width: 1200px) {
  .container { max-width: 96vw; }
}
@media (max-width: 980px) {
  .content-wrapper, .footer .content-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .footer .content-wrapper {
    gap: 24px;
  }
}
@media (max-width: 860px) {
  .feature-grid, .service-list {
    flex-direction: column;
    gap: 18px;
  }
  header { flex-wrap: wrap; height: auto; padding: 0 14px; }
}
@media (max-width: 760px) {
  .hero h1 { font-size: 2rem; }
  .cta-section, section, .section {
    padding: 24px 6vw;
  }
  .card, .text-section {
    padding: 18px 10px;
    border-radius: 12px;
  }
  .testimonial-card { flex-direction: column; align-items: flex-start; gap: 11px; }
  .feature-item { min-width: 170px; }
  .footer .content-wrapper { flex-direction: column; gap: 22px; }
}
@media (max-width: 666px) {
  .main-nav, .cta-btn { display: none; }
  .mobile-menu-toggle { display: block; }
  header { height: 64px; }
  .hero { padding-top: 30px; padding-bottom: 30px; border-radius: 0 0 14px 14px; }
  .feature-grid li, .service-list li { min-width: unset; flex-basis: 90vw; }
  .container { padding-left: 0; padding-right: 0; max-width: 100vw; }
}
@media (max-width: 560px) {
  .text-image-section { flex-direction: column; gap: 20px; }
  .content-grid { flex-direction: column; gap: 14px; }
  section, .section, .cta-section { padding: 18px 3vw; }
  .cookie-banner { flex-direction: column; gap: 8px; align-items: flex-start; }
  .cookie-banner .cookie-actions { width: 100%; justify-content: flex-start; }
}
@media (max-width: 415px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.08rem; }
  .footer .content-wrapper { gap: 15px; }
  .cta-btn, .cookie-btn, .cookie-modal .save-btn {
    padding: 10px 14px;
    font-size: 0.95rem;
  }
}

/* ------ MICRO-INTERACTIONS ------ */
.card, .testimonial-card, .feature-grid li, .service-list li, .cta-btn, .cookie-btn, .cookie-modal .save-btn {
  transition: box-shadow .18s, border .14s, background .20s, color .18s, transform .15s;
}
.card:hover, .testimonial-card:hover, .feature-grid li:hover, .service-list li:hover {
  transform: translateY(-3px) scale(1.011);
  z-index: 2;
}

/* ------ ACCESSIBLE FOCUS ------ */
a:focus, button:focus, .cta-btn:focus, input:focus, .cookie-btn:focus, .cookie-modal .save-btn:focus {
  outline: 2px solid #D4AF37;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #fffbe7, 0 0 0 5px #D4AF37;
  border-radius: 8px;
}

/* ------ CUSTOM SCROLLBAR ------ */
::-webkit-scrollbar { width: 10px; background: #f6f7eb; }
::-webkit-scrollbar-thumb {
  background: #e0c36b;
  border-radius: 8px;
}

/* ------ SELECTION COLOR ------ */
::selection { background: #D4AF37; color: #fff; }

/* ------ LUXURY TYPO HIERARCHY ------ */
body, p, li { font-size: 1rem; letter-spacing: .01em; color: #2B2824; line-height: 1.7; }
h1 { font-size: 2.3rem; color: #05386B; }
h2 { font-size: 1.4rem; color: #05386B; font-weight: 700; margin-bottom: 16px; }
h3 { font-size: 1.12rem; color: #D4AF37; font-weight: 600; }

/* ------ UNMISTAKABLE PREMIUM LUXURY: REFINED SHADOWS AND DETAILS ------ */
.card, .feature-grid li, .service-list li {
  box-shadow: 0 2px 14px rgba(211,175,55,0.08);
  border: 1.2px solid #f5ead1;
}
.card:hover, .feature-grid li:hover, .service-list li:hover {
  box-shadow: 0 8px 32px rgba(211,175,55,0.13);
  border-color: #D4AF37;
}

/* ------ MODALS, OVERLAYS, MISC ------ */
[aria-modal="true"] { outline: none !important; }

/* END OF CSS */
