/* ==================================================================
   EDU IT Meister – style.css (Industrial Modern)
   ===================================================================
   Color palette (brand):
    - Primary: #204762 (steel/dark blue)
    - Secondary: #60A3D9 (urban blue)
    - Accent: #F5F8FA (light/white)
    - Industrial Darks: #23282f, #16171a
    - Metallic Accents: #aab6c2
   Fonts:
    - Display: 'Montserrat', 'Arial Black', Arial, sans-serif (for headings)
    - Body: 'Roboto', 'DIN', 'Arial', sans-serif (for body)
   ===================================================================*/

/* ===== CSS RESET & BASE ========================================= */
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section { display: block; }
body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }
img, svg { max-width: 100%; height: auto; display: block; }

:root {
  --color-primary: #204762;
  --color-secondary: #60A3D9;
  --color-accent: #F5F8FA;
  --color-dark: #23282f;
  --color-dark-bg: #16171a;
  --color-metal: #aab6c2;
  --color-light: #F5F8FA;
  --color-link: #60A3D9;
  --font-display: 'Montserrat', 'Arial Black', Arial, sans-serif;
  --font-body: 'Roboto', 'DIN', 'Arial', sans-serif;
}

html {
  scroll-behavior: smooth;
  background: var(--color-dark-bg);
}
body {
  font-family: var(--font-body);
  background: var(--color-dark-bg);
  color: var(--color-accent);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
}

/* ===== LAYOUT CONTAINER & SPACING ============================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

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

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

@media (min-width: 768px) {
  .content-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 32px;
  }
}

.text-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

/* ===== TYPOGRAPHY ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  margin: 0 0 10px 0;
  letter-spacing: 0.01em;
  font-weight: 700;
  color: var(--color-accent);
}
h1 { font-size: 2.5rem; line-height: 1.15; }
h2 { font-size: 2rem; line-height: 1.2; color: var(--color-secondary); }
h3 { font-size: 1.4rem; line-height: 1.2; color: var(--color-metal); }
h4, h5, h6 { font-size: 1.15rem; color: var(--color-accent); }
p, ul, li { color: var(--color-accent); font-size: 1rem; }
strong, b { color: var(--color-metal); font-weight: 700; }
a { color: var(--color-link); text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: var(--color-accent); text-decoration: underline; }

/* ===== BUTTONS =============================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 1.15rem;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 6px;
  background: linear-gradient(90deg,var(--color-secondary) 60%, var(--color-metal) 100%);
  color: var(--color-dark-bg);
  border: none;
  box-shadow: 0 2px 10px rgba(40,60,90,0.20), 0 1.5px 0px 0px #222 inset;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.22s, color 0.22s, box-shadow 0.2s;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg,var(--color-metal) 60%, var(--color-secondary) 100%);
  color: var(--color-accent);
  box-shadow: 0 4px 16px rgba(60,110,170,0.20);
  outline: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  border-radius: 5px;
  background: var(--color-accent);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  transition: background 0.19s, color 0.19s;
  border: 1.5px solid var(--color-metal);
  cursor: pointer;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--color-metal);
  color: var(--color-dark-bg);
}

.btn-tertiary {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  border-radius: 5px;
  background: var(--color-dark);
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 700;
  border: 1px solid var(--color-metal);
  transition: background .16s, color .16s;
  cursor: pointer;
}
.btn-tertiary:hover, .btn-tertiary:focus {
  background: var(--color-secondary);
  color: var(--color-dark-bg);
}

/* ===== HEADER/NAVIGATION ===================================== */
header {
  background: var(--color-dark);
  border-bottom: 3px solid var(--color-metal);
  position: sticky; 
  top:0; 
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 24px;
}
.logo img { height: 48px; width: auto; filter: brightness(.93) drop-shadow(0 3px 6px #10151c20); }
.main-nav {
  display: none;
}
@media (min-width: 980px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
  }
  .mobile-menu-toggle {
    display: none;
  }
}
.main-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 4px 0;
  transition: color .17s;
  border-bottom: 2.5px solid transparent;
  margin-right: 0; /* override browser default */
}
.main-nav a:not(.btn-primary):hover, .main-nav a:not(.btn-primary):focus {
  color: var(--color-secondary);
  border-bottom: 2.5px solid var(--color-secondary);
}
.main-nav .btn-primary {
  margin-left: 22px;
  font-size: 1rem;
}

/* ===== MOBILE BURGER MENU ==================================== */
.mobile-menu-toggle {
  font-size: 2.1rem;
  color: var(--color-accent);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 120;
  transition: color .18s;
  padding: 6px 16px 9px 4px;
  border-radius: 4px;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover { color: var(--color-secondary); background: #10161e88; }

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100vh;
  background: var(--color-dark);
  color: var(--color-accent);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.68,-0.08,.51,1.01);
  box-shadow: -4px 0 32px 0 #10151c60;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-close {
  font-size: 1.8rem;
  color: var(--color-accent);
  background: none;
  border: none;
  align-self: flex-end;
  margin: 18px 18px 0 0;
  padding: 6px 10px;
  cursor: pointer;
  transition: color .14s, background .14s;
  border-radius: 4px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: var(--color-secondary); background: #111b24; }

.mobile-nav {
  flex:1 1 0%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 40px 36px 26px 36px;
}
.mobile-nav a {
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 10px 0;
  transition: color .18s;
  border-bottom: 2px solid transparent;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
}

@media (max-width: 979px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 980px) {
  .mobile-menu { display: none!important; }
}

/* ===== HERO SECTIONS ========================================= */
.hero {
  background: linear-gradient(124deg,#16171a 80%,#204762 100%);
  padding: 64px 0 48px 0;
  margin-bottom: 42px;
  border-bottom: 2.5px solid var(--color-metal);
}
.hero .text-section h1 { color: var(--color-secondary); font-size: 2.3rem; }
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

/* ===== FEATURE & CARD GRIDS (Flex only) ====================== */
.feature_grid, .service_cards, .service_list, .benefit_grid, .step_list, .faq_accordion {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature, .service, .benefit, .step, .faq {
  background: #22272c;
  border-radius: 11px;
  box-shadow: 0 2px 16px 0 #0e1014b8, 0 1px 1px 0 #15171da0 inset;
  padding: 32px 24px;
  margin-bottom: 20px;
  flex: 1 1 270px;
  min-width: 250px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow .18s, transform .15s;
  border: 1.5px solid #2d3138;
}
.feature:hover, .service:hover, .benefit:hover, .step:hover, .faq:hover {
  box-shadow: 0 8px 28px 0 #21242abb, 0 2.5px 0px 0px #406b7f44 inset;
  transform: translateY(-3px) scale(1.012);
}
.feature img, .service img, .benefit img, .step img, .contact-details img {
  width: 44px; height: 44px; object-fit: contain; margin-bottom: 12px; filter: grayscale(0.4) brightness(1.06) drop-shadow(0 0 9px #90a4b123);
}
.feature h3, .service h3, .benefit h3, .step h3 {
  color: var(--color-metal);
  font-size: 1.12rem;
}

/* ===== TESTIMONIALS SECTION CARDS ============================ */
.testimonials {
  background: var(--color-accent);
  border-top: 3.5px solid var(--color-metal);
  border-bottom: 3.5px solid var(--color-metal);
  margin-bottom: 60px;
  padding: 40px 0;
  color: var(--color-dark-bg);
}
.testimonials h2 { color: var(--color-primary); }
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 24px;
}
.testimonial-card {
  background: #fff;
  color: #23282f;
  border-radius: 11px;
  box-shadow: 0 4px 18px 0 #63778b22, 0 1.5px 0px 0px #d0e1ee70 inset;
  padding: 20px 30px;
  min-width: 270px;
  max-width: 380px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  border-left: 6px solid var(--color-secondary);
  transition: box-shadow 0.16s, transform 0.13s;
}
.testimonial-card p {
  color: #16171a;
  font-size: 1.08rem;
}
.testimonial-card span {
  color: var(--color-secondary);
  font-family: var(--font-display);
  font-size: 1.01rem;
}
.testimonial-card .rating {
  color: #fbbf24;
  font-size: 1.25rem;
  letter-spacing: 0.23em;
  font-family: var(--font-display);
}
.testimonial-card:hover {
  box-shadow: 0 7px 30px 0 #72a3d925, 0 1.5px 0px 0px #60A3D930 inset;
  transform: scale(1.018) translateY(-3px);
}

/* ===== CTA SECTION =========================================== */
.cta {
  background: var(--color-primary);
  border-radius: 14px;
  margin-bottom: 60px;
  margin-top: 48px;
  box-shadow: 0 8px 22px 0 #19354a49, 0 1px 1px 0 #506c9a24 inset;
  color: var(--color-accent);
  position: relative;
  z-index: 1;
}
.cta .text-section { align-items: flex-start; }
.cta h2 { color: var(--color-accent); }

/* ===== LEGAL/DATA/THANK YOU PAGES ============================ */
.legal, .thankyou {
  background: var(--color-dark);
  border-radius: 10px;
  margin-bottom: 60px;
  padding: 50px 24px;
  box-shadow: 0 3px 30px 0 #20354a30;
}
.legal h1, .thankyou h1 {
  color: var(--color-secondary);
  font-size: 2rem;
  margin-bottom: 24px;
}
.legal .text-section, .thankyou .text-section {
  color: var(--color-accent);
}

/* ===== CONTACT PAGE SECTION ================================== */
.contact .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
}
.contact-details {
  background: #22272c;
  border-radius: 10px;
  padding: 32px 24px;
  min-width: 220px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  box-shadow: 0 2px 13px 0 #101e2f24;
}
.contact-details a { color: var(--color-secondary); transition: color .15s; }
.contact-details a:hover { color: var(--color-accent); }
.map {
  background: #262d33;
  border-radius: 10px;
  padding: 28px 20px;
  flex: 1 1 210px;
  min-width: 200px;
  color: var(--color-accent);
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 1px 8px #10233b25;
}
.social-links {
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 110px;
}
.social-links h3 { font-size: 1rem; color: var(--color-metal); }
.social-links a img {
  width: 32px; height: 32px;
  margin-right: 10px;
  filter: grayscale(0.33) brightness(1.01) drop-shadow(0 2px 6px #60A3D966);
  transition: filter .13s;
}
.social-links a:hover img { filter: brightness(1.3) saturate(1.3); }

/* ===== FOOTER ================================================ */
footer {
  background: var(--color-dark);
  border-top: 3px solid var(--color-metal);
  padding: 35px 0 16px 0;
  color: var(--color-accent);
  margin-top: 44px;
  font-size: 0.98rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.logo-footer img { height: 40px; filter: grayscale(0.1) brightness(.98); margin-bottom: 8px; }
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 26px;
}
.footer-nav a {
  color: var(--color-metal);
  font-family: var(--font-display);
  font-size: 1rem;
  opacity: 0.95;
  transition: color .18s;
  border-bottom: 1.5px solid transparent;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-secondary);
  border-bottom: 1.5px solid var(--color-secondary);
}
.contact-footer { color: var(--color-accent); opacity: 0.88; }

/* ===== FAQ ACCORDION ========================================= */
.faq_accordion {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.faq {
  background: #23282f;
  border-radius: 8px;
  box-shadow: 0 2px 10px #10171d28;
  padding: 24px 20px;
  margin-bottom: 20px;
  flex: 1 1 310px;
  min-width: 200px;
  display: flex; flex-direction: column; gap: 15px;
  border-left: 4px solid var(--color-secondary);
  transition: box-shadow .15s, transform .12s;
}
.faq h3 { color: var(--color-metal); font-size: 1.1rem; }
.faq:hover { box-shadow: 0 6px 18px 0 #20476237; transform: scale(1.016) translateY(-2px); }

/* ===== FLEX LAYOUTS + GAP PATTERNS =========================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #23282f;
  border-radius: 9px;
  box-shadow: 0 2px 13px #23282f18;
}
.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;
}

/* ===== RESPONSIVE DESIGN ===================================== */
@media (max-width: 1199px) {
  .container { max-width: 980px; }
}
@media (max-width: 980px) {
  .container { max-width: 92vw; }
  .feature, .service, .benefit, .step, .faq {
    min-width: 170px;
    max-width: 100%;
  }
  .testimonials .content-wrapper { gap: 12px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero {
    padding: 38px 0 28px 0;
  }
  .section, .cta, .legal, .thankyou {
    padding: 25px 6vw;
    margin-bottom: 40px;
  }
  .feature_grid, .service_cards, .service_list, .benefit_grid, .step_list, .faq_accordion { flex-direction: column; gap: 13px; }
  .content-wrapper, .card-container, .content-grid { flex-direction: column; gap: 16px; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 16px; }
  .contact .content-wrapper { flex-direction: column; gap: 23px; }
  .cta { margin-bottom: 36px; margin-top: 24px; border-radius: 8px; }
  footer .container { gap: 11px; }
  .testimonial-card { padding: 18px 10px; max-width: 95vw; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.08rem; }
  .logo img { height: 36px; }
  .logo-footer img { height: 25px; }
  .feature, .service, .benefit, .step, .faq {
    padding: 12vw 5vw;
  }
}

/* ===== MICRO-INTERACTIONS & TRANSITIONS ====================== */
.feature, .service, .benefit, .step, .faq, .testimonial-card {
  transition: box-shadow .18s, transform .15s;
}
.feature:hover, .service:hover, .benefit:hover, .step:hover, .faq:hover, .testimonial-card:hover {
  box-shadow: 0 14px 42px #11284433, 0 1px 1px #aab6c218 inset;
  transform: translateY(-2.5px) scale(1.011);
  z-index: 2;
}
.btn-primary, .btn-secondary, .btn-tertiary {
  transition: background .22s, color .22s, box-shadow .2s, transform .13s;
}
.btn-primary:active, .btn-secondary:active, .btn-tertiary:active {
  transform: scale(0.973);
}

/* ===== COOKIE CONSENT BANNER ================================= */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #23282fe6;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 8vw;
  box-shadow: 0 -5px 30px 0 #111a35a5;
  gap: 30px;
  z-index: 2000;
  font-size: 1rem;
  animation: cookieSlideUp 0.48s cubic-bezier(.57,.16,.54,.97);
}
@keyframes cookieSlideUp {
  from { transform: translateY(100%); opacity:0; }
  to { transform: translateY(0); opacity:1; }
}
.cookie-banner .cookie-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-left: 20px;
}
.cookie-banner .btn-primary, .cookie-banner .btn-secondary, .cookie-banner .btn-tertiary {
  font-size: 1rem;
  min-width: 128px;
  padding: 10px 12px;
}
.cookie-banner p { margin-right: 26px; color: var(--color-accent); }

/* ===== COOKIE SETTINGS MODAL POPUP =========================== */
.cookie-modal-bg {
  display: none;
  position: fixed; z-index: 2100;
  left: 0; top: 0; right: 0; bottom: 0;
  background: #202735bb;
  align-items: center;
  justify-content: center;
}
.cookie-modal-bg.active { display: flex; }
.cookie-modal {
  background: var(--color-dark);
  color: var(--color-accent);
  border-radius: 12px;
  padding: 35px 28px 25px 28px;
  max-width: 480px;
  width: 98vw;
  box-shadow: 0 8px 32px 0 #161c2345;
  position: relative;
  animation: cookieModalPop .42s cubic-bezier(.41,1.1,.38,.98);
  display: flex; flex-direction: column;
  gap: 22px;
}
@keyframes cookieModalPop {
  from { transform: scale(0.87); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  color: var(--color-secondary);
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 17px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-category label {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-metal);
  cursor: pointer;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--color-secondary);
  width: 20px; height: 20px;
  margin-right: 5px;
}
.cookie-modal .btn-tertiary {
  align-self: flex-end;
  padding: 9px 16px;

}
.cookie-modal .btn-secondary { margin-right: 12px; }
.cookie-modal .btn-primary { min-width: 118px; }
.cookie-modal .close-popup {
  position: absolute;
  top: 10px; right: 12px;
  background: transparent;
  border: 0;
  color: var(--color-metal);
  font-size: 2.1rem;
  cursor: pointer;
  transition: color .15s;
}
.cookie-modal .close-popup:hover, .cookie-modal .close-popup:focus {
  color: var(--color-secondary);
}
.cookie-modal p, .cookie-modal ul { color: var(--color-accent); font-size: 1rem; }

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
    padding: 18px 6vw 23px 6vw;
    font-size: 0.96rem;
  }
  .cookie-banner .cookie-btn-group { margin-left: 0; gap: 8px; }
  .cookie-modal { padding: 24px 8vw 18px 8vw; }
}

/* ===== UTILITIES & OVERRIDES ============================= */
.hidden { display: none!important; }
.show-on-mobile { display: none;} 
@media (max-width:980px) { .show-on-mobile { display: block!important; } }

::-webkit-scrollbar {
  width: 9px;
  background: #23282f;
}
::-webkit-scrollbar-thumb {
  background: #454845; border-radius: 6px;
}
::-webkit-input-placeholder { color: #aab6c2cc; }
:-moz-placeholder { color: #aab6c2cc; }
::-moz-placeholder { color: #aab6c2cc; }
:-ms-input-placeholder { color: #aab6c2cc; }
input, textarea { font-family: var(--font-body); color: var(--color-accent); }

/* ENDE – style.css */
