/* ---------------------------------
   Zenith Digitalwissen CSS – Vintage Retro Flexbox
   Brand: Modern-vintage blend, high contrast, accessibility, responsive
-----------------------------------*/

/***** RESET & BASELINE *****/
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 {
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #F3ECDB;
  color: #2A2A2A;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #21507A;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E7B74A;
  outline: none;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.4em;
}

/***** VINTAGE RETRO PALETTE & TYPOGRAPHY *****/
:root {
  --primary: #21507A;
  --secondary: #1C2732;
  --accent: #E7B74A;
  --offwhite: #F3ECDB;
  --brown: #835C3B;
  --orange: #E3882A;
  --teal: #178582;
  --red: #E26A6A;
  --green: #71B37C;
  --border: #DAB88B;
  --shadow: 0 4px 14px rgba(70, 41, 10, 0.11);
  --shadow-pop: 0 6px 40px rgba(60,32,4,0.09);
}

@font-face {
  font-family: 'Montserrat';
  src: local('Montserrat'), url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
  font-display: swap;
}
@font-face {
  font-family: 'Roboto';
  src: local('Roboto'), url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
  font-display: swap;
}
h1,
h2,
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.035em;
  color: var(--primary);
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 24px;
  line-height: 1.15;
  text-shadow: 1px 2px 0px var(--accent), 0px 1px 6px #f1dca7;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--brown);
  line-height: 1.2;
  text-shadow: 1px 1px 0px #f9efcf;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  color: var(--secondary);
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
}
p, .text-section {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--secondary);
  font-size: 1.05rem;
  margin-bottom: 1.2em;
}
strong, b {
  color: var(--orange);
  font-weight: bold;
}

/***** CONTAINER & SECTIONS *****/
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff5e6;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
/***** FLEX UTILS *****/
.card-container,
.card-grid,
.feature-grid,
.team-grid,
.service-list,
.course-list,
.testimonial-list,
.faq-list,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.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;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fffae3;
  border: 2px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  min-width: 250px;
  max-width: 330px;
}
/***** CARDS & LISTS (Services, FAQ, Team) *****/
.service-card, .team-card, .faq-item {
  background: #fff0d0;
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 22px 20px 18px 20px;
  box-shadow: var(--shadow);
  min-width: 250px;
  max-width: 340px;
  margin-bottom: 20px;
  font-size: 1.05rem;
  transition: transform 0.18s, box-shadow 0.18s;
  position: relative;
}
.service-card:hover,
.team-card:hover,
.faq-item:hover {
  transform: translateY(-6px) scale(1.022);
  box-shadow: 0 8px 46px rgba(70, 41, 10, 0.16);
  z-index: 2;
}
.price {
  display: block;
  color: var(--orange);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 18px;
}
/***** FEATURES & TRUST ICONS *****/
.feature-grid > div {
  background: #fdf7ed;
  border: 1.5px solid #dec29f;
  border-radius: 11px;
  padding: 16px 15px 15px 15px;
  box-shadow: 0 2px 7px rgba(180,107,20,0.11);
  flex: 1 1 210px;
  min-width: 190px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.trust-icons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  margin-bottom: 10px;
}
/***** TESTIMONIALS *****/
.testimonial-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
}
.testimonial-card p {
  font-size: 1.11rem;
  color: #1E2338;
  font-family: 'Roboto',Arial,sans-serif;
}
.testimonial-card .user {
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--brown);
}
.testimonial-card .stars {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  color: #FFA000;
  letter-spacing: 2px;
  margin-top: 6px;
}
/***** CTA BUTTONS *****/
.cta-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 14px 34px;
  border-radius: 34px;
  border: none;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 3px 14px rgba(232,183,74,0.14);
  margin-top: 10px;
  margin-bottom: 10px;
  transition: background 0.16s, color 0.14s, box-shadow 0.19s, transform 0.15s;
  cursor: pointer;
  outline: none;
  position: relative;
  z-index: 1;
}
.cta-primary:focus,
.cta-primary:hover {
  background: #fffbe5;
  color: var(--primary);
  box-shadow: 0 7px 28px rgba(232,183,74,0.21);
  transform: translateY(-2px) scale(1.02);
}
/***** MAIN NAVIGATION *****/
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 20px 14px 20px;
  background: #f8efd8;
  border-bottom: 2px solid #e7d5a2;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.08rem;
  position: relative;
  z-index: 11;
}
.main-nav > a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  border-radius: 17px;
  padding: 8px 15px;
  transition: background 0.13s, color 0.16s;
}
.main-nav > a:hover,
.main-nav > a:focus {
  background: var(--accent);
  color: var(--secondary);
  outline: none;
}
.main-nav > a.cta-primary {
  margin-left: auto;
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 3px 18px rgba(33,80,122,0.13);
}
.main-nav > a.cta-primary:hover,
.main-nav > a.cta-primary:focus {
  background: var(--accent);
  color: var(--primary);
}
/***** MOBILE NAVIGATION *****/
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  color: var(--secondary);
  border: none;
  font-size: 2.12rem;
  border-radius: 20px;
  padding: 0 19px 3px 17px;
  cursor: pointer;
  line-height: 1;
  margin-left: 14px;
  box-shadow: 0 1.2px 11px rgba(232,183,74,0.12);
  z-index: 35;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: #fff9ed;
  box-shadow: 0 0 70px rgba(33,80,122,0.12);
  z-index: 100;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-108vw);
  transition: opacity 0.333s, transform 0.37s cubic-bezier(.67,-0.07,.16,1.10);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 28px 34px 14px 0;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  z-index: 101;
  transition: color 0.12s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: var(--orange);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  margin: 0 0 0 34px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  padding: 9px 0;
  border-radius: 11px;
  transition: background 0.14s, color 0.14s;
  min-width: 190px;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--accent);
  color: var(--secondary);
}
/***** COOKIE BANNER & MODAL *****/
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) translateY(62px);
  background: #fff6da;
  color: #1C2732;
  border: 2px solid var(--border);
  border-radius: 17px 17px 0 0;
  box-shadow: 0 -7px 30px rgba(180,107,20,0.10);
  padding: 18px 22px 18px 22px;
  z-index: 90;
  min-width: 270px;
  max-width: 94vw;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 1.08rem;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.39s,
              opacity 0.29s;
}
.cookie-banner.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner button {
  margin-left: 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  border: 2px solid var(--border);
  background: #fbe7ca;
  color: var(--secondary);
  padding: 8px 17px;
  cursor: pointer;
  box-shadow: 0 1.5px 8px rgba(33,80,122,0.08);
  transition: background 0.14s, box-shadow 0.17s;
}
.cookie-banner button:focus,
.cookie-banner button:hover {
  background: var(--accent);
  color: var(--primary);
  outline: none;
}
/***** COOKIE MODAL DIALOG *****/
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(32,32,20,0.25);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.27s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fffbe8;
  border-radius: 16px;
  padding: 32px 26px 22px 26px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 8px 54px rgba(180,107,20,0.17);
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 2px solid var(--border);
  position: relative;
}
.cookie-modal-content h3 {
  margin: 0 0 6px 0;
  font-size: 1.28rem;
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal-close {
  position: absolute;
  right: 18px; top: 16px;
  background: none;
  color: var(--primary);
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 20;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { color: var(--orange); }
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 17px;
}
.cookie-option-category {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cookie-toggle {
  width: 38px;
  height: 21px;
  border-radius: 13px;
  background: #ebdfcb;
  border: 1.4px solid #d6c8a1;
  position: relative;
  cursor: pointer;
  margin-left: 8px;
  transition: background 0.22s;
}
.cookie-toggle[aria-checked="true"] {
  background: var(--green);
}
.cookie-toggle-thumb {
  position: absolute;
  left: 2px; top: 2px;
  width: 18px; height: 17px;
  border-radius: 9px;
  background: #fff;
  transition: left 0.23s;
}
.cookie-toggle[aria-checked="true"] .cookie-toggle-thumb {
  left: 18px;
}
.cookie-modal-buttons {
  display: flex;
  gap: 16px;
  margin-top: 14px;
}
.cookie-modal-buttons button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border-radius: 7px;
  padding: 10px 18px;
  background: var(--accent);
  color: var(--secondary);
  border: 1.5px solid var(--border);
  font-weight: bold;
  cursor: pointer;
  transition: background 0.13s, color 0.14s;
}
.cookie-modal-buttons button:focus, .cookie-modal-buttons button:hover {
  background: #fff3c4;
  color: var(--primary);
}
/***** FOOTER *****/
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
  background: #f8efd8;
  border-top: 2px solid #e7d5a2;
  padding: 44px 20px 14px 20px;
  margin-top: 80px;
}
.footer-nav {
  display: flex;
  gap: 19px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 8px;
  padding: 6px 8px;
  transition: background 0.14s, color 0.12s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--accent);
  color: var(--secondary);
}
.social-links {
  display: flex;
  gap: 13px;
  margin: 7px 0;
  align-items: center;
}
.copyright {
  width: 100%;
  margin-top: 19px;
  color: #875f36;
  font-size: 0.99rem;
  font-family: 'Roboto', Arial, sans-serif;
}
/***** UTILITIES & COMPONENTS *****/
.text-section {
  margin-bottom: 16px;
}
.card + .card,
.team-card + .team-card,
.faq-item + .faq-item,
.service-card + .service-card {
  margin-left: 0px;
  margin-top: 0px;
}
/***** RESPONSIVE DESIGN *****/
@media (max-width: 992px) {
  .container { padding: 0 11px; }
  .footer-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 34px 12px 10px 12px;
  }
}
@media (max-width: 768px) {
  .section { padding: 27px 6px; margin-bottom: 34px; }
  .content-wrapper { gap: 16px; }
  h1 { font-size: 1.32rem; }
  h2 { font-size: 1.08rem; }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 11px; right: 17px;
  }
  .card-container,
  .card-grid,
  .feature-grid,
  .team-grid,
  .service-list,
  .course-list,
  .testimonial-list,
  .faq-list,
  .content-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .testimonial-list {
    gap: 12px;
  }
  .footer-nav, .social-links {
    flex-direction: column;
    gap: 8px;
  }
  .footer-wrapper {
    padding: 22px 5px 7px 5px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .cookie-banner { min-width: 190px; padding: 10px 6px; font-size: 0.98rem; }
  .cookie-modal-content { min-width: 0; max-width: 98vw; padding: 11vw 5vw 5vw 5vw; }
}
@media (max-width: 410px) {
  .section { padding: 9px 0; }
  .testimonial-card,
  .service-card, .team-card, .faq-item {
    min-width: unset;
    max-width: 95vw;
    padding: 10px 8px 10px 8px;
  }
}
/***** FOCUS STATES & ACCESSIBILITY *****/
*:focus {
  outline: 2.5px dashed var(--teal);
  outline-offset: 2px;
}
/***** MISCELLANEOUS VINTAGE STYLES *****/
.section {
  border: 3.5px double #dfc898;
  background-image: repeating-linear-gradient(135deg, #fdf7ed 0 24px, #eddec4 24px 48px);
  background-blend-mode: lighten;
}
.card, .testimonial-card, .service-card, .team-card, .faq-item {
  background-image: repeating-linear-gradient(120deg, #fff8ea 0 36px, #faecd5 36px 72px);
  background-blend-mode: lighten;
}
.testimonial-card {
  border-style: dashed;
}
/***** List-Bullets: Vintage Discs *****/
ul {
  list-style-type: disc;
  color: var(--brown);
  font-size: 1em;
}
ol {
  list-style-type: decimal-leading-zero;
  color: var(--orange);
  font-size: 1em;
}
/***** DECORATIVE PATTERNS *****/
body {
  background-image: repeating-linear-gradient(45deg,#f2eede 0 2px,transparent 2px 30px), repeating-linear-gradient(-45deg,#f7ead1 0 2px,transparent 2px 30px);
  background-size: 64px 64px;
}
/***** Contact Card Layout *****/
.contact-info {
  display: flex;
  flex-direction: row;
  gap: 32px;
  margin-top: 12px;
  margin-bottom: 16px;
}
.contact-info .text-section {
  font-size: 1.11rem;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .contact-info {
    flex-direction: column;
    gap: 7px;
  }
}
/***** FAQ Card Styling *****/
.faq-list {
  margin-bottom: 18px;
}
.faq-item b {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.025em;
}
/***** Animations *****/
@keyframes pop-in {
  from { transform: translateY(38px) scale(0.94); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.section, .card, .testimonial-card, .service-card, .team-card, .faq-item, .container {
  animation: pop-in 0.46s cubic-bezier(.61,1.6,.6,1) 1;
}

/***** Loader (optional) *****/
.loader {
  display: none;
  margin: 32px auto;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 7px dotted var(--brown);
  border-top: 7px solid var(--accent);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { 100% { transform: rotate(360deg); } }
