/* =====================================================
   Flicker FranchiseMarkt - Style.css
   Geometric Structured Design System
   Brand Colors: #173A5E, #F5F7FA, #FDB813
======================================================= */

/* 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, 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%; vertical-align: baseline; box-sizing: border-box;
}
html { box-sizing: border-box; }
body { line-height: 1; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img, svg { max-width: 100%; height: auto; display: inline-block; border: 0; }
button, input, textarea, select { font: inherit; outline: none; border: none; background: none; }
button { cursor: pointer; }

/* VARIABLES ------------------- */
:root {
  --color-primary: #173A5E;
  --color-primary-rgb: 23,58,94;
  --color-accent: #FDB813;
  --color-secondary: #F5F7FA;
  --color-bg: #fff;
  --color-text: #173A5E;
  --color-text-light: #444A58;
  --color-grey: #DFE3E8;
  --color-shadow: rgba(23,58,94,0.06);
  --radius-card: 16px;
  --radius-btn: 8px;

  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

/* GEOMETRIC STRUCTURED - TYPOGRAPHY ------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
h2 { font-size: 2rem; text-transform: uppercase; letter-spacing: 0.03em;}
h3 { font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.025em;}
h4 { font-size: 1.1rem; letter-spacing: 0.02em;}
p, li, address {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-light);
  margin-bottom: 10px;
  font-weight: 400;
  line-height: 1.65;
}
strong { font-weight: 700; color: var(--color-primary); }
small { color: #808080; letter-spacing: 0.01em; font-size: 0.92rem; }

/* ALL BUTTONS & CTA ----------------------- */
.cta,
button,
.mobile-menu-toggle,
.mobile-menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-btn);
  padding: 14px 28px;
  margin: 0 4px;
  background: var(--color-accent);
  color: #173A5E;
  box-shadow: 0 2px 8px 0 var(--color-shadow);
  border: none;
  transition: background 0.18s, box-shadow 0.2s, color 0.18s, transform 0.11s;
  min-width: 120px;
  text-align: center;
  text-transform: uppercase;
  outline: none;
}
.cta.primary { background: var(--color-accent); color: #173A5E; }
.cta.primary:hover,
.cta.primary:focus {
  background: #ffcb41;
  color: var(--color-primary);
  transform: scale(1.03) skewY(-2deg);
}
.cta.secondary {
  background: var(--color-primary);
  color: #fff;
}
.cta.secondary:hover,
.cta.secondary:focus {
  background: #235182;
  color: #fff;
  transform: scale(1.03) skewY(2deg);
}
button, .mobile-menu-toggle, .mobile-menu-close {
  min-width: 42px;
  min-height: 42px;
  padding: 10px 12px;
  font-size: 1.25rem;
  border-radius: 8px;
  background: var(--color-secondary);
  color: var(--color-primary);
}
button:hover, .mobile-menu-toggle:hover, .mobile-menu-close:hover {
  background: var(--color-accent);
  color: #173A5E;
  box-shadow: 0 4px 20px 0 var(--color-shadow);
  transform: scale(1.04) skewX(-5deg);
}

/* LAYOUT WRAPPERS --------------------------------- */
body {
  background-color: var(--color-secondary);
  font-family: var(--font-body);
  color: var(--color-text-light);
  overflow-x: hidden;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg);
  border-radius: 24px;
  box-shadow: 0 5px 32px 0 var(--color-shadow);
  transition: box-shadow 0.2s;
}

.content-wrapper {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section { max-width: 720px; margin: 0 auto; }

/* STRUCTURED FLEX GRIDS & CARDS ------------------- */
.feature-grid,
.team-wrapper,
.card-container,
.card-grid,
.opportunity-cards-wrapper,
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid > div,
.team-wrapper > div,
.card-grid > div,
.opportunity-card {
  flex: 1 1 280px;
  min-width: 220px;
  background: var(--color-secondary);
  border-radius: var(--radius-card);
  box-shadow: 0 2px 16px 0 var(--color-shadow);
  padding: 24px 20px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 15px;
  border: 2.2px solid #e6e7ed;
  transition: border 0.18s, box-shadow 0.18s;
}
.feature-grid > div:hover,
.card-grid > div:hover,
.opportunity-card:hover {
  border: 2.2px solid var(--color-accent);
  box-shadow: 0 6px 32px 0 rgba(253,184,19,0.14);
  transform: translateY(-4px) scale(1.028) skewY(-2deg);
  z-index: 2;
}

.card-container { /* For extensibility */ }
.card {
  background: var(--color-bg);
  border-radius: var(--radius-card);
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 1px 8px 0 var(--color-shadow);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.card-content { display: flex; flex-direction: column; justify-content: center; }

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* FEATURE, TESTIMONIAL & EXPERT -------------------- */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 24px 18px 24px;
  border-radius: 20px 20px 20px 0;
  background: #fff;
  box-shadow: 0 4px 25px -6px var(--color-shadow);
  margin-bottom: 20px;
  border-left: 5px solid var(--color-accent);
  min-width: 220px;
  max-width: 540px;
  color: var(--color-text);
}
.testimonial-card p {
  font-size: 1.07rem;
  color: var(--color-text);
  font-style: italic;
  margin-bottom: 6px;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #555d6a;
  font-style: normal;
  align-self: flex-end;
  letter-spacing: 0.04em;
}

.expert-bio {
  background: var(--color-secondary);
  border: 1.5px solid #e2e3e4;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 12px;
  box-shadow: 0 1px 8px 0 var(--color-shadow);
  font-family: var(--font-body);
  font-size: 1rem;
}

/* OPPORTUNITY CARDS -------------------- */
.opportunity-cards-wrapper { gap: 20px; margin-top: 24px; }
.opportunity-card {
  border-left: 4px solid var(--color-accent);
  transition: border 0.14s, box-shadow 0.14s, transform 0.15s;
}
.opportunity-card:hover {
  border-left: 8px solid var(--color-primary);
  box-shadow: 0 4px 18px 0 rgba(23,58,94,0.13);
  transform: scale(1.02) skewX(-1.5deg);
}

/* COMPANY CONTACT DETAILS & MAP --------- */
.company-contact-details {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.company-contact-details img { width: 28px; margin-right: 8px; vertical-align: middle; }
.company-contact-details address { font-style: normal; }
.google-map {
  display: flex;
  align-items: center;
  gap: 14px;
}
.google-map img { width: 44px; }

/* LISTS, UL/OL STYLES ------------------- */
ul, ol {
  margin: 15px 0 20px 24px;
  color: var(--color-text-light);
  font-size: 1rem;
  letter-spacing: 0.01em;
}
ul li,
ol li {
  margin-bottom: 6px;
  line-height: 1.6;
  position: relative;
}
ul li::before {
  content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 1px; background: var(--color-accent); margin-right: 10px; vertical-align: middle;
}
ol li::before { display:none; }
ol { counter-reset: geoordered; }
ol li { counter-increment: geoordered; }
ol li:before {
  content: counter(geoordered) '.';
  display: inline-block;
  color: var(--color-accent);
  font-weight: bold;
  width: 22px;
}

/* HEADER & NAVIGATION ------------------- */
header {
  width: 100%;
  background: var(--color-bg);
  box-shadow: 0 3px 22px -10px var(--color-shadow);
  z-index: 15;
  position: relative;
  margin-bottom: 16px;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 78px;
  padding-top: 8px;
  padding-bottom: 8px;
}
header img { max-height: 52px; margin-right: 26px; }
nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.04rem;
}
nav a {
  color: var(--color-primary);
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}
nav a:hover, nav a:focus {
  background: var(--color-accent);
  color: #173A5E;
}

/* Hide hamburger on desktop, show on mobile */
.mobile-menu-toggle {
  display: none;
  background: var(--color-primary);
  color: #fff;
  font-size: 2.1rem;
  border-radius: 8px;
  border: none;
  margin-left: 16px;
  padding: 7px 15px 7px 13px;
  position: relative;
  z-index: 60;
}

/* MOBILE NAVIGATION --------------------------------- */
.mobile-menu {
  display: none;
}
.mobile-menu.active {
  display: flex;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(23,58,94,0.94);
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  overflow-y: auto;
  animation: menuIn 0.30s cubic-bezier(.68,-0.12,.64,1.08) forwards;
  transform: translateX(0);
}
@keyframes menuIn { 0% { transform: translateX(100%); } 100% { transform: translateX(0);}}

.mobile-menu-close {
  margin: 24px 22px 12px 0;
  font-size: 2.2rem;
  color: #fff;
  background: transparent;
  border: none;
  align-self: flex-end;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  gap: 0;
}
.mobile-nav a {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.023em;
  padding: 20px 36px 16px 0;
  width: 100%;
  text-align: right;
  border-radius: 0 20px 20px 0;
  margin-bottom: 4px;
  transition: background 0.15s, color 0.14s;
  background: transparent;
  box-sizing: border-box;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* FOOTER -------------------------------------- */
footer {
  width: 100%;
  background: var(--color-secondary);
  padding: 40px 0 16px 0;
  box-shadow: 0 -1.5px 12px 0 var(--color-shadow);
  position: relative;
  margin-top: 40px;
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1.2px solid #e7e9ef;
  padding-bottom: 20px;
  margin-bottom: 16px;
}
.footer-contact {
  font-size: 0.97rem;
  color: #757c8a;
}
footer nav {
  gap: 10px;
}
footer nav a {
  font-family: var(--font-body);
  font-size: 0.98rem;
  letter-spacing: 0.012em;
  color: var(--color-primary);
  background: none;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 600;
}
footer nav a:hover, footer nav a:active {
  background: #e8eaf2;
  color: var(--color-accent);
}
footer small {
  display: block;
  text-align: center;
  padding-top: 12px;
  font-size: 0.93rem;
}

/* SPACING/UTILITY CLASSES --------------------------- */
.mt-32 { margin-top: 32px !important; }
.mb-32 { margin-bottom: 32px !important; }
.pt-32 { padding-top: 32px !important; }
.pb-32 { padding-bottom: 32px !important; }

/* MICRO-INTERACTIONS: HOVER + TRANSITIONS ---------- */
a, button, .cta, nav a, .feature-grid > div, .opportunity-card, .mobile-nav a {
  transition: background 0.17s, color 0.16s, transform 0.13s, box-shadow 0.20s;
}

/* GEOMETRIC DECORATIVE SHAPES Example (for effect) ----- */
.card::before, .testimonial-card::before {
  content: '';
  display: block;
  width: 32px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 2px;
  position: absolute;
  top: 18px;
  left: 24px;
  opacity: 0.09;
  pointer-events: none;
  z-index: 1;
}
.testimonial-card::before {
  top: 16px;
  left: 14px;
  width: 24px;
}

/* RESPONSIVE DESIGN - MOBILE FIRST ------------------- */
@media (max-width: 1020px) {
  .feature-grid, .team-wrapper, .card-grid, .opportunity-cards-wrapper, .footer-columns {
    gap: 16px;
  }
}
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  .feature-grid > div,
  .card-grid > div,
  .opportunity-card { min-width: 175px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .section { padding: 32px 10px; margin-bottom: 38px; }
  .footer-columns {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .feature-grid,
  .card-container,
  .card-grid,
  .team-wrapper,
  .opportunity-cards-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .content-wrapper { gap: 20px; }
  .container { padding: 0 7px; }
  .testimonial-card { max-width: 100%; }
  nav { gap: 8px; }
  .mobile-menu-toggle { display: inline-flex; }
  header nav, header .cta.primary { display: none !important; }
}
@media (max-width: 532px) {
  .container { max-width: 100vw; padding: 0 2vw; }
  h1 { font-size: 1.43rem; }
  h2 { font-size: 1.09rem; }
  .section { padding: 18px 1vw; }
  .card, .opportunity-card, .feature-grid > div { padding: 13px 7px; }
  .testimonial-card { padding: 12px 8px 10px 8px; }
}

/* FLEXBOX LAYOUT PATTERNS (MANDATORY CLASSES!) ---------- */
.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; }

/* COOKIE CONSENT BANNER =============================== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1111;
  background: var(--color-bg);
  box-shadow: 0 -3px 32px -10px var(--color-shadow);
  padding: 24px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border-radius: 24px 24px 0 0;
  border-top: 3.5px solid var(--color-accent);
  font-family: var(--font-body);
  animation: cookieIn 0.24s cubic-bezier(.68,-0.12,.64,1.08) forwards;
}
@keyframes cookieIn { 0% { transform: translateY(100%); opacity: 0.6; } 100% { transform: translateY(0); opacity: 1; } }
.cookie-consent-banner p {
  flex: 1 1 220px;
  color: var(--color-text-light);
  font-size: 1rem;
  margin: 0;
}
.cookie-consent-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-consent-actions button {
  font-size: 1rem;
  border-radius: var(--radius-btn);
  padding: 10px 18px;
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: bold;
  box-shadow: 0 2px 10px 0 var(--color-shadow);
  transition: background 0.15s, color 0.15s, transform 0.13s;
}
.cookie-consent-actions .accept {
  background: var(--color-accent);
  color: var(--color-primary);
}
.cookie-consent-actions .accept:hover { background: #ffd663; color: var(--color-primary); }
.cookie-consent-actions .reject {
  background: #e9eef6;
  color: #757c8a;
}
.cookie-consent-actions .reject:hover { background: #f7c8b8; color: var(--color-primary); }
.cookie-consent-actions .settings {
  background: #fff;
  color: var(--color-primary);
  border: 1.1px solid #e2e3e4;
}
.cookie-consent-actions .settings:hover { background: var(--color-secondary); color: var(--color-accent); }

/* COOKIE PREFERENCES MODAL ---------------------------- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left:0; right:0; bottom:0;
  width: 100vw; height: 100vh;
  background: rgba(23,58,94,0.55);
  z-index: 2222;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalOverlayIn .19s;
}
@keyframes modalOverlayIn { 0%{opacity:0;} 100%{opacity:1;}}
.cookie-modal {
  background: var(--color-bg);
  border-radius: 18px;
  box-shadow: 0 8px 40px 0 var(--color-shadow);
  max-width: 430px;
  width: 95vw;
  padding: 34px 30px 26px 30px;
  font-family: var(--font-body);
  font-size: 1.08rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  animation: modalIn .25s cubic-bezier(.68,-0.12,.64,1.08);
}
@keyframes modalIn { 0%{ transform:scale(0.89) translateY(25px); opacity: 0.4;} 100%{ transform:scale(1) translateY(0); opacity:1;}}
.cookie-modal h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  margin-bottom: 8px;
  color: var(--color-primary);
  text-transform: uppercase;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 10px;
}
.cookie-category label {
  font-weight: 600;
  color: var(--color-primary);
}
.cookie-category input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 22px;
  height: 22px;
  margin-left: 12px;
}
.cookie-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 10px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 14px; right: 14px;
  background: none;
  font-size: 1.45rem;
  color: var(--color-primary);
  border: none;
}

/* SCROLLBARS --------------------------------- */
body, .mobile-menu {
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent) #ededed;
}
body::-webkit-scrollbar { width: 10px; background: #f7f9fb; }
body::-webkit-scrollbar-thumb { background: #e2e5ee; border-radius: 8px; }
.mobile-menu::-webkit-scrollbar { width: 8px; background: #173A5E; }
.mobile-menu::-webkit-scrollbar-thumb { background: var(--color-accent); border-radius: 5px; }

/* FONT IMPORTS: Google Fonts for Montserrat / Open Sans */
@import url('https://fonts.googleapis.com/css?family=Montserrat:600,700,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');
