/* ===== FIERY BROOK ZUKUNFTSLABOR STYLE.CSS ===== */
/* --- CSS RESET + NORMALIZE --- */
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 {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background: #F8F9FB;
  color: #1B2735;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.18s;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: transparent;
}
strong {
  font-weight: 700;
}

/* --- ROOT COLORS & UTILS --- */
:root {
  --color-primary: #1B2735;
  --color-secondary: #4BA3F2;
  --color-accent: #F9A825;
  --color-bg: #F8F9FB;
  --color-card: #fff;
  --color-error: #E23C3C;
  --shadow-main: 0 2px 12px rgba(27,39,53,0.09);
  --shadow-hero: 0 4px 32px rgba(75,163,242,0.18);
  --shadow-card: 0 1.5px 8px rgba(0,0,0,0.07);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, .cta-primary {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--color-primary);
}
h1 {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1.13;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}
@media (min-width: 600px) {
  h1 {font-size: 2.7rem;}
  h2 {font-size: 2rem;}
  h3 {font-size: 1.22rem;}
}
.subheadline {
  color: var(--color-secondary);
  font-size: 1rem;
  margin-bottom: 24px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
p, ul, li, label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

/* --- LAYOUT CONTAINER --- */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section {
  max-width: 720px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* --- HEADER & NAVIGATION --- */
header {
  background: var(--color-card);
  box-shadow: var(--shadow-main);
  position: sticky;
  z-index: 99;
  top: 0;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  min-height: 76px;
  gap: 0;
}
.logo img {
  height: 40px;
  min-width: 110px;
  margin-right: 18px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  color: var(--color-primary);
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.15s, color 0.15s;
  line-height: 1.35;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--color-secondary);
  color: #fff;
}
.main-nav .cta-primary {
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: bold;
  box-shadow: 0 2px 24px rgba(249,168,37, 0.13);
  transition: background 0.18s, color 0.18s;
  margin-left: 6px;
}
.main-nav .cta-primary:hover,
.main-nav .cta-primary:focus {
  background: var(--color-secondary);
  color: #fff;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--color-accent);
  background: transparent;
  border: none;
  z-index: 101;
  cursor: pointer;
  width: 44px;
  height: 44px;
  margin-left: 14px;
  transition: color 0.18s, background 0.18s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  color: #fff;
  background: var(--color-secondary);
  border-radius: var(--radius-sm);
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  z-index: 999;
  background: rgba(27, 39, 53, 0.96);
  box-shadow: 0 6px 50px rgba(75, 163, 242, 0.16);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 20px 24px 24px 24px;
  transform: translateX(-100vw);
  pointer-events: none;
  opacity: 0;
  transition: transform 0.35s cubic-bezier(.88,-0.13,.16,1.08), opacity 0.2s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: var(--radius-lg);
  font-size: 2.1rem;
  padding: 2px 14px;
  align-self: flex-end;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  margin-bottom: 32px;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--color-secondary);
  color: #fff;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 6px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  transition: background 0.17s, color 0.17s;
  margin-bottom: 2px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* Main nav responsive: hide on mobile */
@media (max-width: 988px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 989px) {
  .mobile-menu-toggle,
  .mobile-menu {
    display: none;
  }
}

/* --- HERO SECTION --- */
.hero {
  background: var(--color-secondary);
  color: #fff;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-hero);
  padding: 48px 0 44px 0;
  margin-bottom: 52px;
  position: relative;
}
.hero .container {
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1,
.hero h2,
.hero .subheadline {
  color: #fff;
}
.hero p.subheadline {
  color: var(--color-accent);
}

/* --- SECTION STYLES --- */
.features,
.team-section,
.services-overview,
.cta-final,
.cta-block,
.legal-block,
.contact-intro,
.location {
  margin-bottom: 60px;
  padding: 40px 0;
}
@media (max-width: 768px) {
  .features, .team-section, .cta-final, .cta-block, .legal-block,
  .contact-intro, .location, .services-overview {
    padding: 30px 0;
    margin-bottom: 40px;
  }
}

/* --- CTA BUTTONS --- */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.08rem;
  padding: 14px 38px;
  background: var(--color-accent);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 20px rgba(75,163,242,0.13),0 2px 8px rgba(249,168,37,0.07);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.22s, transform 0.18s;
  margin-top: 14px;
  margin-bottom: 2px;
  border: none;
}
.cta-primary:hover,
.cta-primary:focus {
  background: var(--color-secondary);
  color: #fff;
  transform: translateY(-1.5px) scale(1.015);
  box-shadow: 0 6px 22px rgba(75,163,242,0.14), 0 1.5px 10px rgba(249,168,37,0.16);
}

/* --- FEATURE GRID --- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 0;
  margin: 0;
  align-items: flex-start;
}
.feature-grid li {
  background: var(--color-card);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-md);
  font-size: 1rem;
  color: var(--color-primary);
  padding: 24px 20px 18px 20px;
  min-width: 210px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  flex: 1 1 240px;
  transition: box-shadow 0.18s, transform 0.14s;
  position: relative;
  border: 2.5px solid transparent;
}
.feature-grid li:hover {
  box-shadow: 0 4px 32px rgba(75,163,242,0.16), 0 0.5px 2.5px rgba(249,168,37,0.09);
  border-color: var(--color-accent);
  transform: translateY(-3px) scale(1.025);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 6px;
  margin-right: 8px;
}
.feature-grid strong {
  color: var(--color-secondary);
  font-weight: 800;
  font-size: 1.09rem;
  letter-spacing: -0.005em;
}

/* --- SERVICES OVERVIEW --- */
.services-overview ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.services-overview li {
  padding: 14px 0 10px 0;
  font-size: 1.07rem;
  color: var(--color-primary);
  background: none;
}

/* --- TESTIMONIAL CARDS --- */
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  color: #222;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px 0 rgba(75, 163, 242, 0.10);
  border: 2px solid var(--color-secondary);
  padding: 28px 28px 20px;
  min-width: 260px;
  max-width: 375px;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.16s, border-color 0.14s;
  font-size: 1.03rem;
}
.testimonial-card blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--color-primary);
  quotes: "\201C" "\201D" "\2018" "\2019";
}
.testimonial-card p {
  color: var(--color-secondary);
  font-size: 1.02rem;
  font-weight: 800;
}
.testimonial-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 8px 36px 0 rgba(75, 163, 242, 0.17), 0 0px 1px rgba(249,168,37,0.04);
  transform: translateY(-2px) scale(1.015);
}

/* --- CARD CONTAINER/CONTENT GRID --- */
.card-container,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card {
  background: var(--color-card);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  position: relative;
  padding: 18px 20px;
  transition: box-shadow 0.17s, transform 0.14s;
}
.card:hover {
  box-shadow: 0 2px 18px rgba(75,163,242,.13);
  transform: translateY(-2px) scale(1.011);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

/* --- CONTACT INFO --- */
.contact-info ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.07rem;
  color: var(--color-primary);
}
.contact-info img {
  width: 28px;
  height: 28px;
}
.contact-info a {
  color: var(--color-secondary);
  text-decoration: underline;
  font-weight: 600;
}
.contact-info a:hover,
.contact-info a:focus {
  color: var(--color-accent);
}

/* --- TEXT-IMAGE SECTION --- */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}

/* --- TEAM SECTION --- */
.team-section .text-section p {
  margin-bottom: 10px;
}

/* --- FOOTER --- */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 24px 0 12px 0;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 10px;
}
.footer-nav a {
  color: var(--color-accent);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.17s;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: #fff;
  background: var(--color-secondary);
}
.footer-info p {
  font-size: 0.97rem;
  opacity: 0.82;
}

/* --- LEGAL BLOCK --- */
.legal-block {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 16px rgba(27,39,53,0.07);
  padding: 36px 32px 32px 32px;
  margin: 32px 0 48px 0;
}
.legal-block h1 {
  color: var(--color-secondary);
}
.legal-block ul {
  margin-top: 20px;
  margin-left: 18px;
  padding-left: 0;
  list-style: inside disc;
  color: var(--color-primary);
  font-size: 1.04rem;
  line-height: 1.65;
}
.legal-block li {
  margin: 8px 0;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 1040px) {
  .container {
    max-width: 96vw;
  }
}
@media (max-width: 820px) {
  .feature-grid {
    gap: 18px;
  }
  .testimonial-card {
    min-width: 180px;
    max-width: 98vw;
    padding: 18px 14px 16px 14px;
  }
}
@media (max-width: 608px) {
  h1 { font-size: 1.42rem; }
  h2 { font-size: 1.14rem; }
  h3 { font-size: 1rem; }
  .hero { padding: 26px 0; }
  .feature-grid li {
    min-width: 98vw;
    padding: 16px 9vw 12px 9vw;
  }
  .feature-grid {
    gap: 13px;
  }
  .testimonial-card {
    padding: 12px 6vw 12px 6vw;
  }
  .section, .features, .team-section, .cta-final, .cta-block, .legal-block,
  .contact-intro, .location, .services-overview {
    padding: 18px 0;
    margin-bottom: 22px;
  }
}
@media (max-width: 480px) {
  .footer-nav {
    flex-direction: column;
    gap: 6px;
    align-items: center;
  }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1500;
  background: #fff;
  box-shadow: 0 -4px 40px 0 rgba(27,39,53,0.13), 0 -1px 4px 0 rgba(249,168,37,0.09);
  padding: 24px 10vw 18px 10vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 22px;
  justify-content: space-between;
  min-height: 60px;
  font-size: 1rem;
  transition: transform 0.36s cubic-bezier(.88,-0.13,.16,1.08), opacity 0.2s;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}
.cookie-banner.hide {
  transform: translateY(120px);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-banner-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  padding: 9px 20px;
  border: none;
  cursor: pointer;
  transition: background 0.19s, color 0.19s, box-shadow 0.23s;
}
.cookie-btn.accept {
  background: var(--color-accent);
  color: var(--color-primary);
  box-shadow: 0 2px 6px rgba(249,168,37,.11);
}
.cookie-btn.accept:hover { background: var(--color-secondary); color: #fff; }
.cookie-btn.reject {
  background: #ECECEC;
  color: var(--color-primary);
}
.cookie-btn.reject:hover {
  background: var(--color-error);
  color: #fff;
}
.cookie-btn.settings {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-btn.settings:hover {
  background: var(--color-primary);
  color: var(--color-accent);
}

/* --- COOKIE SETTINGS MODAL --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1600;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(27,39,53,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 44px rgba(27,39,53,0.18), 0 1.5px 14px rgba(75,163,242,0.12);
  padding: 34px 32px 28px 32px;
  min-width: 260px;
  max-width: 420px;
  width: 90vw;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieModalIn 0.36s cubic-bezier(.88,-0.13,.16,1.08);
}
@keyframes cookieModalIn {
  from {transform: scale(0.96) translateY(60px); opacity: 0;}
  to   {transform: scale(1) translateY(0); opacity: 1;}
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  color: var(--color-error);
  background: #FCE4E4;
  border-radius: var(--radius-md);
  font-size: 1.8rem;
  padding: 2px 11px;
  cursor: pointer;
  border: none;
  transition: background 0.16s, color 0.18s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-modal h2 {
  color: var(--color-secondary);
  font-size: 1.32rem;
  margin-bottom: 7px;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 13px;
}
.cookie-modal-category {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 0 2px 0;
}
.cookie-modal-category label {
  font-size: 1.01rem;
  font-weight: 600;
}
.cookie-switch {
  position: relative;
  width: 38px;
  height: 20px;
  display: inline-block;
}
.cookie-switch input {
  opacity: 0; width: 0; height: 0;
}
.cookie-switch-slider {
  position: absolute;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background: #EEE;
  border-radius: 20px;
  transition: background 0.14s;
}
.cookie-switch input:checked + .cookie-switch-slider {
  background: var(--color-secondary);
}
.cookie-switch-slider:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2.3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(27,39,53,0.10);
  transition: transform 0.15s;
}
.cookie-switch input:checked + .cookie-switch-slider:before {
  transform: translateX(18px);
}

.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}
.cookie-modal-actions .cookie-btn {
  font-size: 1.02rem;
  min-width: 100px;
}

/* --- MICRO-INTERACTIONS + HOVERS --- */
a, button, .card, .card-content, .feature-grid li, .cta-primary, .cookie-btn, .main-nav a, .footer-nav a, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.16s, color 0.13s, box-shadow 0.14s, transform 0.13s;
}


/* --- SPACING ENFORCEMENT (for .card, .card-container, .content-grid, etc) --- */
.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; }
.section { margin-bottom: 60px; padding: 40px 20px; }

/* --- ACCESSIBILITY, FOCUS STATES, etc --- */
a:focus,
button:focus,
input:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 1.5px;
  z-index: 2;
}

/* --- OVERLAY/BARRIER FOR MODALS & MOBILE MENU --- */
.mobile-menu::before {
  content: '';
  display: none;
}
.cookie-modal-overlay {
  /* already handled above */
}

/* --- ANIMATION UTILITIES --- */
.fade-in {
  animation: fadeIn 0.48s cubic-bezier(.88,-0.13,.16,1.08);
}
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}

/* --- SCROLLBAR for style polish --- */
body, .mobile-menu, .cookie-modal {
  scrollbar-color: var(--color-accent) #EEE;
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 8px;
  background: #F0F4F9;
}
::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 10px;
}

/* === END === */
