/* ========================
   CSS RESET & BASE STYLES
   ======================== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #181C22; /* Deeper industrial background */
  color: #FCFAF6;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: #FFB945;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.5,.1,.32,1);
}
a:hover, a:focus {
  color: #fff;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  color: #FFB945;
  font-weight: 700;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.75rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.4rem; margin-bottom: 10px; color: #FCFAF6; font-weight: 600; }
h4, h5, h6 { color: #FCFAF6; font-weight: 500; }
p {
  margin-bottom: 14px;
}
strong { font-weight: bold; }

/* ==========
   CONTAINER
   ========== */
.container {
  width: 100%;
  max-width: 1120px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
}

/* ============
   HEADER + NAV
   ============ */
header {
  width: 100%;
  background: #22334A;
  border-bottom: 3px solid #2D3E53;
  box-shadow: 0 4px 18px rgba(28,34,43,0.15);
  position: relative;
  z-index: 11;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  gap: 22px;
}
header img[alt='Urban Glint Akademie'] {
  height: 45px;
  width: auto;
  filter: grayscale(65%) contrast(120%) brightness(105%);
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  color: #FCFAF6;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  letter-spacing: 0.02em;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border 0.22s cubic-bezier(.5,.1,.32,1), color 0.19s cubic-bezier(.5,.1,.32,1);
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #FFB945;
  border-bottom: 2px solid #FFB945;
}
.button.primary {
  background: linear-gradient(90deg, #FFB945 85%, #ad7c1a 100%);
  color: #181C22;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 11px 28px;
  cursor: pointer;
  font-size: 1.09rem;
  box-shadow: 0 2px 18px rgba(255,185,69,0.24), 0 1.5px 0 0 #c09948;
  margin-left: 10px;
  transition: background 0.18s, color 0.18s, transform 0.16s;
  letter-spacing: 0.06em;
  outline: none;
  display: inline-block;
  text-shadow: 0 1px 0 #fff2, 0 2px 12px #0002;
}
.button.primary:hover,
.button.primary:focus {
  background: #22334A;
  color: #FFB945;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 24px rgba(255,185,69,0.2), 0 1.5px 0 0 #c09948;
}

.mobile-menu-toggle {
  color: #FCFAF6;
  background: none;
  border: none;
  font-size: 2.2rem;
  padding: 3px 8px;
  border-radius: 6px;
  cursor: pointer;
  margin-left: 13px;
  line-height: 1;
  display: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #FFB945;
  background: #2D3E53;
}

/* ===========
   MOBILE MENU
   =========== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 85vw;
  max-width: 400px;
  height: 100vh;
  background: #181C22;
  z-index: 55;
  box-shadow: -6px 0 32px 0 rgba(34,51,74,0.45);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.64,.09,.35,1);
  padding: 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  color: #FFB945;
  background: none;
  border: none;
  align-self: flex-end;
  margin: 24px 22px 8px 0;
  cursor: pointer;
  border-radius: 6px;
  padding: 3px 8px;
  transition: background 0.19s, color 0.19s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: #22334A;
  color: #fff;
}
.mobile-nav {
  width: 100%;
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding-left: 32px;
  padding-right: 10px;
}
.mobile-nav a {
  color: #FCFAF6;
  font-size: 1.15rem;
  padding: 10px 0 10px 3px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: border 0.18s, color 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #FFB945;
  border-left: 3px solid #FFB945;
}

/* Overlay for mobile menu (optional for shade, but not covering content) */
.mobile-menu::before {
  content: "";
  display: none;
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 16px;
  }
}

@media (max-width: 920px) {
  header .container {
    gap: 14px;
  }
  .main-nav {
    gap: 8px;
  }
}

@media (max-width: 800px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 10px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .button.primary {
    margin-left: 3px;
    padding: 10px 18px;
    font-size: 1rem;
  }
}

@media (max-width: 560px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    padding: 7px 4px;
  }
  .button.primary, .mobile-menu-toggle {
    font-size: 1rem;
  }
  header img[alt='Urban Glint Akademie'] {
    height: 32px;
  }
  .mobile-menu {
    width: 100vw;
    max-width: 100vw;
  }
}


/* ========
   LAYOUT
   ======== */
main {
  width: 100%;
  margin: 0 auto 0 auto;
  min-height: 800px;
  display: flex;
  flex-direction: column;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

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

.text-section {
  max-width: 750px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 16px;
  margin-bottom: 10px;
  justify-content: flex-start;
}
.feature-grid li {
  background: #212C38;
  border-radius: 12px;
  box-shadow: 0 1.5px 9px 0 #0004, 0 0.5px 0 #1b232c;
  flex: 1 1 210px;
  min-width: 210px;
  max-width: 330px;
  padding: 26px 24px 18px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  margin-bottom: 20px;
  border-left: 5px solid #FFB945;
  transition: box-shadow 0.14s, border-color 0.17s;
}
.feature-grid li:hover, .feature-grid li:focus-within {
  box-shadow: 0 3px 19px 0 #ffb94552, 0 5px 24px 0 #1a1c24c4;
  border-left: 5px solid #FCFAF6;
}
.feature-grid img {
  height: 44px;
  width: 44px;
  margin-bottom: 7px;
  filter: grayscale(50%) brightness(1.23);
}
.feature-grid h3 {
  font-size: 1.09rem;
  letter-spacing: 0.02em;
  margin: 0 0 7px 0;
  color: #FFB945;
  font-weight: 700;
}
.feature-grid p {
  font-size: 1rem;
  color: #FCFAF6;
}

/* ===============
   TESTIMONIALS
   =============== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #FCFAF6;
  color: #181C22;
  border-radius: 15px;
  box-shadow: 0 2px 19px 0 #22334a52, 0 1.5px 0 #ffb94523;
  margin-bottom: 20px;
  padding: 20px 28px 22px 24px;
  border-left: 6px solid #22334A;
  position: relative;
  z-index: 1;
  min-width: 220px;
  max-width: 530px;
  transition: box-shadow 0.14s, border-color 0.17s;
}
.testimonial-card blockquote {
  font-size: 1.13rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #181C22;
  line-height: 1.48;
  margin: 0 0 6px 0;
  letter-spacing: 0.01em;
  position: relative;
  padding-left: 18px;
}
.testimonial-card blockquote:before {
  content: "\201C";
  font-size: 2.7rem;
  color: #FFB945;
  position: absolute;
  left: -6px;
  top: -6px;
}
.testimonial-card p {
  margin: 0;
  font-size: 1rem;
  color: #22334A;
}
.testimonial-card strong {
  color: #181C22;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 5px 32px 0 #ffb94531, 0 10px 30px 0 #22334a23;
  border-left: 6px solid #FFB945;
  outline: none;
}

/* ===============
    CARDS
   =============== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #212C38;
  margin-bottom: 20px;
  border-radius: 14px;
  box-shadow: 0 1.5px 10px 0 #22334a38, 0 1px 0 #181c2299;
  padding: 24px 18px 20px 18px;
  min-width: 210px;
  max-width: 340px;
  position: relative;
  transition: box-shadow 0.13s, border-color 0.17s;
}

/* ===============
   GENERAL SECTION
   =============== */
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Responsive: Text and Image Section */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

/* =============
   FOOTER
   ============= */
footer {
  width: 100%;
  background: #22334A;
  color: #FCFAF6;
  padding: 28px 0 12px 0;
  border-top: 3px solid #2D3E53;
  box-shadow: 0 -3px 34px #181C2240;
  margin-top: 80px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 38px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 20px;
}
.footer-nav, .text-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #FCFAF6;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  margin-bottom: 4px;
  transition: color 0.18s;
  letter-spacing: 0.01em;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FFB945;
}
footer .text-section p,
footer .text-section a {
  color: #FCFAF6;
  font-size: 0.98rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  margin-bottom: 3px;
}
footer .social-links {
  display: flex;
  gap: 18px;
  align-items: center;
}
footer .social-links img {
  height: 30px;
  width: 30px;
  filter: grayscale(40%) brightness(1.3);
  opacity: 0.93;
  transition: filter 0.2s, opacity 0.2s;
  cursor: pointer;
}
footer .social-links img:hover {
  filter: grayscale(0%) brightness(1.05) drop-shadow(0 2px 8px #FFB94533);
  opacity: 1;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    padding: 0 10px;
  }
}

/* ================
   FORMS & BUTTONS
   ================ */
input, textarea, select {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  border-radius: 6px;
  border: 1.5px solid #22334A;
  background: #212C38;
  color: #FCFAF6;
  padding: 10px 14px;
  margin-bottom: 12px;
  font-size: 1rem;
  outline: none;
  transition: border 0.18s, box-shadow 0.15s;
  width: 100%;
  max-width: 500px;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #FFB945;
  box-shadow: 0 0 7px #FFB94530;
}

.button, button, input[type="submit"] {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border-radius: 7px;
  font-size: 1.05rem;
  border: none;
  margin: 2px 0;
  padding: 11px 30px;
  background: #22334A;
  color: #FCFAF6;
  cursor: pointer;
  transition: background 0.21s, color 0.21s, transform 0.16s;
  box-shadow: 0 2.5px 13px 0 #181C2244;
  letter-spacing: 0.04em;
  outline: none;
}
.button.secondary, button.secondary {
  background: #212C38;
  color: #FFB945;
  border: 1px solid #FFB945;
  font-weight: 700;
  padding: 11px 20px;
}
.button.secondary:hover, button.secondary:hover,
.button.secondary:focus, button.secondary:focus {
  background: #FFB945;
  color: #181C22;
  border-color: #FFB945;
}

/* ====================
   COOKIE CONSENT BANNER
   ==================== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #22334A linear-gradient(90deg, #181C22 70%, #22334A 100%);
  color: #FCFAF6;
  padding: 24px 20px 22px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  box-shadow: 0 -12px 28px #1a232c33, 0 0.5px 0 #FFB94550;
  font-size: 1rem;
  border-radius: 18px 18px 0 0;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.32s, transform 0.35s;
}
.cookie-consent-banner.hide {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.cookie-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-left: auto;
}
.cookie-buttons .button,
.cookie-buttons button {
  min-width: 120px;
  font-size: 1rem;
  padding: 11px 20px;
  margin-left: 0;
}
.cookie-buttons .button.accept {
  background: #FFB945;
  color: #181C22;
  font-weight: 700;
  border: none;
  transition: background 0.19s, color 0.19s;
}
.cookie-buttons .button.accept:hover, .cookie-buttons .button.accept:focus {
  background: #FFD78A;
  color: #22334A;
}
.cookie-buttons .button.reject {
  background: #181C22;
  color: #FFB945;
  font-weight: 600;
  border: 1.5px solid #FFB945;
}
.cookie-buttons .button.reject:hover, .cookie-buttons .button.reject:focus {
  background: #22334A;
  color: #FFD78A;
}
.cookie-buttons .button.settings {
  background: none;
  color: #FCFAF6;
  border: 1.3px dashed #FCFAF6;
}
.cookie-buttons .button.settings:hover, .cookie-buttons .button.settings:focus {
  background: #212C38;
  color: #FFB945;
}

/* Cookie Modal (Preferences) */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10001;
  inset: 0;
  background: rgba(24,28,34,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.28s, visibility 0.28s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #FCFAF6;
  color: #181C22;
  max-width: 400px;
  width: 95vw;
  padding: 38px 30px 24px 30px;
  border-radius: 16px;
  box-shadow: 0 7px 48px #181c22cc, 0 0.5px 0 #22334A33;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: cookieModalIn 0.38s cubic-bezier(.62,-0.04,.41,1.32) both;
}
@keyframes cookieModalIn {
  0% { opacity: 0; transform: translateY(80px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  color: #22334A;
  font-size: 1.23rem;
  margin-bottom: 4px;
}
.cookie-modal .cookie-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-modal .cookie-option {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  font-size: 1.02rem;
}
.cookie-modal .cookie-option.essential {
  opacity: 0.75;
  pointer-events: none;
}
.cookie-modal .toggle-switch {
  width: 42px;
  height: 22px;
  background: #E5E3DF;
  border-radius: 12px;
  border: 1.5px solid #B7B7B7;
  position: relative;
  transition: background 0.12s, border 0.12s;
  display: inline-flex;
  align-items: center;
}
.cookie-modal .toggle-switch input {
  opacity: 0;
  width: 1px;
  height: 1px;
  position: absolute;
}
.cookie-modal .toggle-slider {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #22334A;
  position: absolute;
  left: 2px;
  top: 1.5px;
  transition: left 0.24s cubic-bezier(.7,.21,.2,1), background 0.12s;
}
.cookie-modal .toggle-switch input:checked + .toggle-slider {
  left: 22px;
  background: #FFB945;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  justify-content: flex-end;
}
.cookie-modal .modal-actions .button {
  min-width: 100px;
  font-size: 1rem;
  padding: 11px 19px;
}

/* ===============
   RESPONSIVE LAYOUT
   =============== */
@media (max-width: 1024px) {
  .feature-grid {
    gap: 18px;
  }
  .feature-grid li {
    min-width: 170px;
    max-width: 270px;
    padding: 20px 14px 15px 14px;
  }
  .testimonial-card { max-width: 460px; }
}
@media (max-width: 768px) {
  .section, section {
    padding: 24px 8px;
    margin-bottom: 32px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .feature-grid li {
    max-width: 98vw;
  }
  .testimonial-card {
    max-width: 98vw;
    padding: 18px 15px 17px 13px;
  }
  .container {
    padding-left: 9px;
    padding-right: 9px;
  }
}
@media (max-width: 480px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.22rem; }
  .feature-grid img { height: 30px; width: 30px; }
}

/* ===============
   VISUAL HIERARCHY
   =============== */
h1 { font-size: 2.33rem; letter-spacing: 0.01em; }
h2 { font-size: 1.6rem; margin-bottom: 12px; }
h3 { font-size: 1.08rem; }

/* ===============
   INDUSTRIAL VISUALS
   =============== */
body, section, .feature-grid li, .card {
  /* subtle metal texture via background (without image for performance) */
  background-blend-mode: multiply;
}

.feature-grid li:after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, #FFB945 0 10%, transparent 100%);
  opacity: 0.15;
  border-radius: 0 0 3px 3px;
}

.card {
  border-left: 4px solid #22334A;
  border-right: 1px solid #FFB94533;
}

/* =================
   ANIMATIONS/MICRO-INTERACTIONS
   ================= */
.button, .button.primary, .button.secondary, button {
  transition: background 0.17s, color 0.15s, border 0.17s, transform 0.16s, box-shadow 0.14s;
}
.button:active,
.button.primary:active,
.button.secondary:active,
button:active {
  transform: scale(0.97);
  box-shadow: 0 1.5px 5px 0 #181C2290;
}
.feature-grid li, .testimonial-card {
  transition: box-shadow 0.17s, border 0.18s;
}
.feature-grid li:hover, .testimonial-card:hover { cursor: pointer; }

/* ================
   TYPOGRAPHY SCALE
   ================ */
html {
  font-size: 16px;
}
@media (max-width: 480px) { html { font-size: 15px; } }
@media (max-width: 350px) { html { font-size: 14px; } }

/* ================
   MISC SPACING
   ================ */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.card-title {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #FFB945;
  font-size: 1.14rem;
  margin-bottom: 7px;
}
.card-description {
  color: #FCFAF6;
  font-size: 1rem;
}

/* ============================
   ENSURE ADEQUATE SPACING/GAPS
   ============================ */
section, .section {
  /* applied above: margin-bottom: 60px; padding: 40px 20px; */
}
.card-container {
  gap: 24px;
}
.card {
  margin-bottom: 20px; /* required spacing between cards */
}
.content-grid {
  gap: 20px;
}
.text-image-section {
  gap: 30px;
}
.testimonial-card {
  gap: 20px;
  padding: 20px;
}
.feature-item {
  gap: 15px;
}

/* ===============
   PRINT/COPY PASTING
   =============== */
@media print {
  body, section, .container {
    background: #fff !important;
    color: #000 !important;
  }
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay {
    display: none !important;
  }
}

/* ===================
   ACCESSIBILITY (FOCUS)
   =================== */
a:focus, button:focus, .button:focus, input:focus, textarea:focus, select:focus {
  outline: 2px solid #FFB945;
  outline-offset: 2px;
}

/* ===============
   UTILITY
   =============== */
.d-none { display: none !important; }

/* ===============
   BRAND FONTS
   =============== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&family=Open+Sans:wght@400;600;700&display=swap');
