/* =======================
   PrismByte Finanzen CSS: Creative Artistic (mobile-first, flexbox-only)
   ======================= */
/* --- CSS Reset & Normalize (adapted) --- */
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; }
*, *:before, *:after { box-sizing: inherit; }
body { line-height: 1.5; background: #FAFAFA; color: #23272F; }

/* --- Brand Font Faces (Google Fonts assumed loaded or self-hosted) --- */
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #FAFAFA;
  color: #1E2E4A;
  font-size: 16px;
  position: relative;
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1E2E4A;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.18;
}
h1 { font-size: 2.35rem; margin-bottom: 16px; }
h2 { font-size: 1.75rem; margin-bottom: 14px; }
h3 { font-size: 1.18rem; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 8px; }

p, ul, ol {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  margin-bottom: 10px;
  color: #35445C;
}
strong {
  font-weight: bold;
  color: #1E2E4A;
}

/* --- Typography hierarchy for creative/artistic --- */
h1, h2, h3 {
  background: none;
  position: relative;
  text-shadow: 0 2px 10px rgba(88,160,188,0.04), 0 1.5px 0 #F2C94C;
}
h2::after {
  display: block;
  content: '';
  width: 55px; height: 5px;
  margin: 12px 0 4px 0;
  border-radius: 3px;
  background: #F2C94C;
}

/* =======================
   Layout Containers
   ======================= */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  /* Center children vertically for most cases */
}
.text-section {
  margin-bottom: 32px;
}

/* =======================
   Section, Flexbox Patterns
   ======================= */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 30px;
  box-shadow: 0 12px 28px rgba(88,160,188,0.10), 0 3px 6px rgba(242,201,76,0.06);
}

@media (max-width: 768px) {
  section {
    padding: 32px 8px;
    margin-bottom: 38px;
    border-radius: 18px;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 5px 18px rgba(88,160,188,0.11);
  padding: 28px;
  transition: box-shadow 0.23s, transform 0.19s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(30,46,74,0.16), 0 3px 10px rgba(242,201,76,0.07);
  transform: translateY(-2px) scale(1.017);
  z-index: 1;
}

.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;
}
@media (max-width:768px){
  .text-image-section{flex-direction:column;gap:20px;align-items:flex-start;}
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F7FBFC;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(30,46,74,0.09);
  border-left: 7px solid #58A0BC;
  transition: box-shadow 0.22s, border-color 0.2s;
}
.testimonial-card:hover {
  border-left-color: #F2C94C;
  box-shadow: 0 10px 20px rgba(30,46,74,0.14);
}
.testimonial-card blockquote {
  font-style: italic;
  font-size: 1.08rem;
  color: #1E2E4A;
  margin: 0;
}
.testimonial-author {
  margin-left: auto;
  font-size: 1rem;
  color: #58A0BC;
  font-family: 'Montserrat', Arial, sans-serif;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* =======================
   HEADER & NAVIGATION
   ======================= */
header {
  width: 100%;
  padding: 0;
  background: #fff;
  border-bottom: 2px solid #E5EEF1;
  box-shadow: 0 5px 14px rgba(88,160,188,0.05);
  z-index: 100;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}
.logo img {
  display: inline-block;
  height: 44px;
}
nav.main-nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
nav.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #35445C;
  text-decoration: none;
  padding: 7px 3px;
  border-radius: 5px;
  transition: background 0.19s, color 0.17s;
}
nav.main-nav a:hover {
  background: #F2C94C;
  color: #1E2E4A;
}

/* Primary Action Button (Top navigation) */
.btn.btn-primary {
  background: #58A0BC;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  border: none;
  border-radius: 30px;
  padding: 12px 30px;
  margin-left: 17px;
  box-shadow: 0 2px 8px rgba(88,160,188,0.12);
  cursor: pointer;
  transition: background 0.22s, color 0.18s, box-shadow 0.23s, transform 0.18s;
  text-shadow: 0 1px 3px rgba(30,46,74,0.06);
  position: relative;
  z-index: 1;
}
.btn.btn-primary:hover, .btn.btn-primary:focus {
  background: #1E2E4A;
  color: #F2C94C;
  box-shadow: 0 8px 26px rgba(30,46,74,0.13);
  outline: none;
  transform: translateY(-2px) scale(1.04);
}
.btn.btn-secondary {
  background: #F2C94C;
  color: #1E2E4A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 22px;
  padding: 11px 21px;
  margin: 10px 0 0 0;
  box-shadow: 0 1.5px 7px rgba(242,201,76,0.13);
  cursor: pointer;
  transition: background 0.2s, color 0.16s, box-shadow 0.18s;
}
.btn.btn-secondary:hover, .btn.btn-secondary:focus {
  background: #FFD600;
  color: #1E2E4A;
  box-shadow: 0 7px 15px rgba(30,46,74,0.11);
  outline: none;
}

/* --- Mobile Burger --- */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: none;
  color: #58A0BC;
  border: none;
  cursor: pointer;
  margin-left: 12px;
  z-index: 120;
  transition: color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: #F2C94C;
}

/* Hide main nav and show burger on mobile */
@media (max-width: 900px){
  nav.main-nav { display:none; }
  .mobile-menu-toggle { display:inline-flex; }
  .btn.btn-primary { margin-left: 0; }
}
@media (min-width: 901px){
  .mobile-menu-toggle { display:none; }
}

/* --- Mobile Menu Overlay --- */
.mobile-menu {
  position: fixed;
  z-index: 210;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30,46,74,0.95);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.42s cubic-bezier(.44,.14,.33,1.03);
  overflow-y: auto;
  box-shadow: 0 10px 60px rgba(30,46,74,0.27);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  padding: 20px 25px 16px 12px;
  cursor: pointer;
  align-self: flex-end;
  transition: color 0.18s;
  z-index: 220;
}
.mobile-menu-close:hover { color: #F2C94C; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 26px 36px;
  width: 100%;
}
.mobile-nav a {
  color: #F2C94C;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.32rem;
  text-decoration: none;
  padding: 12px 5px;
  border-radius: 6px;
  transition: background 0.18s,color 0.17s;
  font-weight: 600;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #35445C;
  color: #fff;
  outline: none;
}

/* =======================
   Feature Grids, Lists, Cards
   ======================= */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 18px;
}
@media (max-width: 850px) {
  .feature-grid { flex-direction: column; gap: 20px; align-items: stretch; }
}
.feature {
  flex: 1 1 240px;
  min-width: 180px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #F7FBFC;
  border-radius: 13px;
  box-shadow: 0 3.5px 12px rgba(30,46,74,0.06);
  padding: 26px 18px 20px 18px;
  position: relative;
  transition: box-shadow 0.19s, background 0.18s, transform 0.14s;
  margin-bottom: 10px;
  border-left: 5px solid #58A0BC;
}
.feature:hover {
  background: #fafdff;
  box-shadow: 0 12px 24px rgba(30,46,74,0.12);
  border-left: 5px solid #F2C94C;
  transform: translateY(-3px) scale(1.014);
}
.feature img {
  height: 45px;
  width: 45px;
  margin-bottom: 15px;
  filter: drop-shadow(0 2px 8px rgba(88,160,188,0.14));
}
.feature h3 {
  color: #58A0BC;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  margin-bottom: 10px;
}
.feature p {
  color: #35445C;
  margin-bottom: 0;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-bottom: 20px;
  padding-left: 0;
}
.service-list li {
  background: #F7FBFC;
  border-radius: 13px;
  box-shadow: 0 2px 13px rgba(88,160,188,0.09);
  padding: 19px 15px 19px 21px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.service-list li strong {
  color: #1E2E4A;
  font-size: 1.14rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 2px;
}
.service-price {
  position: absolute;
  right: 22px;
  top: 23px;
  font-weight: bold;
  color: #F2C94C;
  background: #23272F;
  border-radius: 11px;
  padding: 4px 13px;
  font-size: 1.00rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(242,201,76,0.09);
}

/* Blog/List & Quick contact boxes */
.blog-list, .quick-contact-boxes {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  margin-top: 12px;
}
.blog-list li {
  flex: 1 1 300px;
  min-width: 190px;
  background: #F7FBFC;
  border-radius: 12px;
  padding: 23px 21px;
  margin-bottom:20px;
  box-shadow: 0 1.5px 7px rgba(88,160,188,0.13);
}
.quick-contact-boxes > div {
  background: #FFF;
  border-radius: 13px;
  box-shadow: 0 2.5px 11px rgba(88,160,188,0.13);
  padding: 16px 11px 16px 18px;
  flex: 1 1 130px;
  min-width: 110px;
  margin-bottom: 18px;
  font-size: 1rem;
  color: #1E2E4A;
  font-family: 'Montserrat', Arial, sans-serif;
}

.map-embed {
  margin-top: 24px;
  font-size: 1rem;
  background: #F7FBFC;
  border-radius: 10px;
  padding: 18px;
  color: #35445C;
  box-shadow: 0 2px 8px rgba(88,160,188,0.07);
}

@media (max-width: 850px) {
  .blog-list, .quick-contact-boxes {
    flex-direction: column;
    gap: 10px;
  }
}

/* =======================
   Footer
   ======================= */
footer {
  background: #1E2E4A;
  color: #fff;
  padding: 36px 0 22px 0;
  border-top: 7px solid #F2C94C;
  width: 100%;
}
footer .container {
  display: flex;
  flex-direction: column;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-grid > div, .footer-nav, .footer-links {
  min-width: 160px;
  margin-bottom: 10px;
}
.footer-nav, .footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a, .footer-links a {
  color: #F2C94C;
  text-decoration: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  opacity: 0.95;
  transition: color 0.18s, opacity 0.16s;
}
.footer-nav a:hover, .footer-links a:hover {
  color: #fff;
  opacity:1;
}
.footer-contact {
  color: #F2C94C;
  font-size: 0.99rem;
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.45;
}
.footer-contact a {
  color: #fff;text-decoration:underline;
  transition:color 0.17s;
}
.footer-contact a:hover{color:#F2C94C;}
footer img {
  height: 40px;
  margin-bottom:14px;
}

@media (max-width: 900px) {
  .footer-grid { flex-direction: column; gap: 18px; }
}

/* =======================
   Cookie Consent Banner
   ======================= */
.cookie-banner {
  position: fixed;
  z-index: 2900;
  left: 0; right: 0; bottom: 0;
  background: #23272F;
  color: #fff;
  border-top: 5px solid #F2C94C;
  box-shadow: 0 -6px 32px rgba(30,46,74,0.11);
  padding: 24px 20px 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  animation: cookieBannerIn 0.9s cubic-bezier(.5,.13,.25,1);
}
@keyframes cookieBannerIn {
  from { transform: translateY(110%); opacity:0; } 
  to { transform: translateY(0); opacity:1; }
}
.cookie-banner strong { color: #F2C94C; }
.cookie-banner .cookie-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 2px;
}
.cookie-banner button {
  border: none;
  outline: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 20px;
  margin-right: 6px;
  background: #1E2E4A;
  color: #F2C94C;
  padding: 11px 21px;
  cursor: pointer;
  transition: background 0.20s, color 0.16s, box-shadow 0.16s;
  box-shadow: 0 2px 11px rgba(88,160,188,0.11);
}
.cookie-banner button.accept { background: #58A0BC; color: #fff; }
.cookie-banner button.accept:hover { background: #F2C94C; color: #1E2E4A; }
.cookie-banner button.reject { background: #F2C94C; color: #1E2E4A; }
.cookie-banner button.reject:hover { background: #FFD600; }
.cookie-banner button.settings { background: #fff; color: #1E2E4A; }
.cookie-banner button.settings:hover { background: #E5EEF1; }

@media (max-width:575px){
  .cookie-banner {padding: 14px 7px 12px 10px; gap: 13px;}
  .cookie-banner .cookie-btn-group {gap:11px;}
}

/* --- Cookie Modal --- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2950;
  top:0; left:0;width:100vw; height:100vh;
  background: rgba(30,46,74,0.60);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;   
}
.cookie-modal {
  background: #fff;
  color: #23272F;
  border-radius: 22px;
  max-width: 430px;
  padding: 38px 28px 28px;
  box-shadow: 0 18px 65px rgba(88,160,188,0.19);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: cookieModalIn 0.55s cubic-bezier(.44,.14,.33,1.07);
}
@keyframes cookieModalIn {
  from { transform: scale(0.82); opacity:0; }
  to { transform: scale(1); opacity:1; }
}
.cookie-modal h3 {
  margin-top:0;margin-bottom:18px;font-family:'Montserrat',Arial,sans-serif;font-size:1.33rem;color:#1E2E4A;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 7px;
}
.cookie-category label {
  font-size: 1rem;
  font-family:'Montserrat',Arial,sans-serif;
  color: #1E2E4A;
}
.cookie-modal input[type='checkbox'] {
  accent-color: #58A0BC;
  width: 22px;
  height: 22px;
}
.cookie-modal .essential { opacity: 0.55; pointer-events:none; }
.cookie-modal .modal-btn-group {
  display: flex; gap: 18px; margin-top: 14px;
}
.cookie-modal .close {
  position: absolute; right: 17px; top: 14px;
  font-size: 1.8rem; background: none; border: none; color:#F2C94C; cursor:pointer; }
.cookie-modal .close:hover {color: #1E2E4A;}

@media (max-width:520px){
  .cookie-modal { max-width: 98vw; padding: 18px 8px 16px; }
  .cookie-modal h3 { font-size: 1.11rem; }
}

/* =======================
   Micro-interactions & Artistic Detail
   ======================= */
a {
  color: #58A0BC;
  text-decoration: underline;
  transition: color 0.16s, text-decoration 0.14s;
}
a:hover, a:focus {
  color: #F2C94C;
  text-decoration: underline wavy #F2C94C 2px;
  outline: none;
}

/* Artistic underline for vibrant sections */
h1, h2 {
  position: relative;
}
h1::before, h2::before {
  content: '';
  display: block;
  position: absolute;
  left: -7px; top: 75%;
  width: 40px; height: 10px;
  border-radius: 5px;
  background: #58A0BC;
  opacity: 0.23;
  z-index: 0;
  pointer-events: none;
}
@media (max-width:700px){
  h1::before,h2::before{display:none;}
}

/* =======================
   Responsive: General
   ======================= */
@media (max-width: 1080px){
  .container { max-width: 96vw; }
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media(max-width:600px){.section, section{padding:24px 5px;}}

/* =======================
   Utilities & Spacing
   ======================= */
.mt-2 { margin-top: 20px!important; }
.mb-2 { margin-bottom: 20px!important; }
.mb-3 { margin-bottom: 32px!important; }
.mb-4 { margin-bottom: 48px!important; }
.mt-4 { margin-top: 48px!important; }
.gap-2 { gap: 20px!important; }
.gap-3 { gap: 30px!important; }
.text-center { text-align: center; }

/* =======================
   Accessibility: Focus visible
   ======================= */
:focus-visible {
  outline: 3px solid #F2C94C !important;
  outline-offset: 2px;
}

/* =======================
   Artistic Elements / Extras
   ======================= */
section, .feature, .testimonial-card, .card, .blog-list li,
.quick-contact-boxes>div {
  position: relative;
}
/* Abstract creative accents (dots/spray) for Artistic Touch */
section::after, .feature::after, .testimonial-card::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 7px; right: 13px;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: rgba(242,201,76,0.19);
  box-shadow:
    6px 2px 0 0 rgba(88,160,188,0.13),
    -2px 8px 0 0 rgba(88,160,188,0.11);
  z-index:0;
  pointer-events:none;
}
@media(max-width:600px){section::after, .feature::after, .testimonial-card::after{display:none;}}

/* =======================
   Animations/Microinteractions
   ======================= */
.btn, .btn.btn-primary, .btn.btn-secondary,
.feature, .card, .service-list li, .blog-list li, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.19s, color 0.13s, border 0.14s;
}

/* =======================
   Misc
   ======================= */
::-webkit-scrollbar { width: 10px; background: #E5EEF1; }
::-webkit-scrollbar-thumb { background: #58A0BC; border-radius: 7px; }
@media (max-width:768px){::-webkit-scrollbar{height:6px;}}

/* Hide redundant browser UI overscroll highlight */
body { overscroll-behavior: contain; }

/* Remove Webkit tap highlight color for buttons/links */
button, a { -webkit-tap-highlight-color: rgba(242,201,76,0.21); }

/* =======================
   End PrismByte Finanzen CSS
   ======================= */