/* =====================================================================
   PENTACLE ERFOLGSPARTNER - CREATIVE ARTISTIC STYLE CSS
   =====================================================================
   Brand Colors:
      --primary:   #205072;
      --secondary: #329D9C;
      --accent:    #F6F8FF;
   Fonts:
      --display:   'Montserrat', Arial, sans-serif;
      --body:      'Open Sans', Arial, sans-serif;
   Creative Artistic: vibrant, friendly, bold, welcoming, professional
   ===================================================================== */

/* === RESET & NORMALIZE === */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; margin:0; padding:0; }
html, body { height: 100%; }
body {
  font-size: 16px;
  background: #F6F8FF;
  color: #1b2430;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; border: 0; }
a { color: #205072; text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: #329D9C; text-decoration: underline; }
ul, ol { padding-left: 24px; margin-bottom: 16px; }
li { margin-bottom: 8px; }

/* === CSS VARIABLES === */
:root {
  --primary: #205072;
  --secondary: #329D9C;
  --accent: #F6F8FF;
  --vibrant1: #FF5E5B;
  --vibrant2: #FFB300;
  --vibrant3: #62D9A4;
  --dark: #232B2B;
  --text: #222933;
  --gray: #58616A;
  --border-radius: 16px;
  --shadow: 0 4px 24px 0 rgba(32,80,114,0.09), 0 1.5px 6px rgb(50,157,156,0.10);
  --shadow-small: 0 2px 8px rgba(50,157,156,0.06);
  --transition: 0.3s cubic-bezier(.5,.1,.2,1);
  --section-spacing: 60px;
  --card-gap: 24px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
h1 {
  font-size: 2.8rem;
  line-height: 1.13;
  margin-bottom: 24px;
  color: var(--vibrant1);
  text-shadow: 2px 2px 0px #FFE0E0;
}
h2 {
  font-size: 2rem;
  color: var(--primary);
  position: relative;
  margin-bottom: 16px;
  padding-left: 0.4em;
}
h2:before {
  content: '';
  display: inline-block;
  width: 10px; height: 30px;
  background: var(--secondary);
  border-radius: 4px;
  margin-right: 8px;
  vertical-align: middle;
}
h3 {
  font-size: 1.25rem;
  color: var(--vibrant2);
  font-weight: 800;
}
h4, h5, h6 {
  font-size: 1.05rem;
  color: var(--primary);
  font-weight: 600;
}
p, ul, ol, address {
  color: var(--gray);
  font-size: 1rem;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
strong, b { color: var(--primary); font-weight: 700; }

/* Artistic accent fonts */
.hero h1, .hero h2 {
  font-family: 'Montserrat', cursive, Arial, sans-serif;
  letter-spacing: 1.2px;
  background: linear-gradient(90deg, var(--vibrant1) 0%, var(--vibrant2) 100%);
  color: transparent;
  background-clip: text;-webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* === LAYOUT CONTAINERS === */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  z-index: 2;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: 0;
}

/* === SECTION SPACING & PATTERNS === */
section { margin-bottom: 60px; padding: 40px 20px; position: relative; }
.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;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  color: #232B2B;
  margin-bottom: 24px;
  min-width: 260px;
  max-width: 540px;
  border-left: 6px solid var(--vibrant1);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-small);
  padding: 24px 20px 18px 20px;
  min-width: 260px;
  flex: 1 1 260px;
  margin-bottom: 20px;
  position: relative;
  transition: transform .18s, box-shadow .18s;
  border: 2px solid transparent;
}
.feature-item img {
  height: 48px; width: 48px;
  margin-bottom: 8px;
}
.feature-item:hover,
.feature-item:focus {
  border-color: var(--secondary);
  transform: translateY(-3px) scale(1.03) rotate(-1deg);
  box-shadow: 0 8px 32px 0 rgba(50,157,156,0.16);
  z-index: 1;
}

/* Services & Cards */
.service-card {
  background: linear-gradient(85deg, var(--accent) 85%, var(--vibrant3) 163%);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 24px 20px 20px 28px;
  margin-bottom: 24px;
  min-width: 220px;
  font-size: 1.1rem;
  border-left: 6px solid var(--vibrant2);
  transition: box-shadow .15s, border-color .15s;
}
.service-card:hover { box-shadow: 0 6px 28px 0 rgba(32,80,114,0.17); border-left-color: var(--vibrant3); }

/* Team Section */
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 40px;
}
.team-profile {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-small);
  padding: 20px 24px;
  min-width: 210px;
  flex: 1 1 240px;
  margin-bottom: 20px;
}

/* === HERO SECTION === */
.hero {
  padding: 64px 0 48px 0;
  margin-bottom: 24px;
  background: linear-gradient(120deg,#F6F8FF 65%,rgba(50,157,156,0.06));
  display: flex;
  align-items: center;
}
.hero .content-wrapper { align-items: flex-start; gap: 14px; }
.hero h1 {
  font-size: 2.7rem;
  margin-bottom: 12px;
  color: var(--vibrant1);
  letter-spacing: 1.2px;
  background: linear-gradient(90deg, var(--vibrant1) 30%, var(--primary) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  font-family: 'Montserrat', cursive, Arial, sans-serif;
}
.hero p { font-size: 1.18rem; color: var(--gray); }

/* === HEADER & NAVIGATION === */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 18px 0 rgba(32,80,114,0.04);
  position: sticky;
  top: 0;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  gap: 16px;
}
.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--primary);
  padding: 8px 8px 6px 8px;
  border-radius: 8px;
  transition: background .18s, color .18s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--accent);
  color: var(--vibrant1);
  text-decoration: none;
}

/* CTA Button */
.cta-btn, .cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  border-radius: 28px;
  color: #fff !important;
  background: linear-gradient(90deg, var(--vibrant1) 10%, var(--secondary) 90%);
  border: none;
  margin-top: 10px;
  margin-bottom: 10px;
  box-shadow: 0 2px 9px 0 rgba(50,157,156,0.13);
  cursor: pointer;
  transition: transform 0.14s, box-shadow 0.22s;
}
.cta-btn:hover, .cta-btn:focus, .cta-link:hover {
  background: linear-gradient(90deg,var(--secondary) 10%, var(--vibrant1) 90%);
  color: #fff;
  transform: translateY(-1.5px) scale(1.05);
  box-shadow: 0 2px 18px 0 rgba(50,157,156,0.17);
  text-decoration: none;
}
.cta-link {
  background: none;
  color: var(--vibrant2) !important;
  font-size: 1.02rem;
  font-weight: 700;
  text-decoration: underline;
  padding: 0;
  margin-left: 0;
}
.cta-link:hover { color: var(--vibrant1) !important; background: none; }

/* === FOOTER === */
footer {
  background: #205072;
  color: #fff;
  padding: 42px 0 20px 0;
  box-shadow: 0 -2px 12px 0 rgba(32,80,114,0.13);
  margin-top: 80px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  justify-content: flex-start;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 2px;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: color .16s;
}
.footer-nav a:hover { color: var(--vibrant2); text-decoration: underline; }
footer address {
  font-style: normal;
  color: #e1f0fa;
  font-size: 0.96rem;
  line-height: 1.6;
  margin-top: 10px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer address img {
  height: 14px; width: 14px; vertical-align: bottom; margin-right: 4px;
  display: inline-block;
}
footer address a { color: var(--vibrant3); }

/* === CARDS & FLEXBOX === */
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* === SPECIAL/HELPER CLASSES === */
.text-section {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-small);
  padding: 24px 20px;
  margin-bottom: 20px;
  color: var(--gray);
}
.text-section h3 {
  color: var(--secondary);
  margin-bottom: 8px;
  font-size: 1.08rem;
}
.text-section a { color: var(--primary); text-decoration: underline; }

/* === TESTIMONIALS === */
.testimonial-card {
  font-size: 1.06rem;
  background: #fff;
  color: #222933;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border-left: 6px solid var(--vibrant1);
  padding: 20px 30px 18px 16px;
  margin-bottom: 20px;
  transition: box-shadow .18s, border-color .13s;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 8px 32px 0 rgba(50,157,156,0.16);
  border-left-color: var(--vibrant2);
  cursor: pointer;
}
.testimonial-card strong { color: var(--primary); font-weight: 700; }
.testimonial-card span { color: var(--dark); display: block; font-size: 0.97rem; margin-top: 6px; }

/* === LISTS AND OL === */
ul, ol {
  margin-top: 7px;
  margin-bottom: 18px;
}
ul li, ol li { margin-bottom: 10px; }

/* === OL TIMELINES === */
ol {
  counter-reset: pent-timeline;
  padding-left: 30px;
}
ol li {
  position: relative;
  margin-bottom: 18px;
  padding-left: 8px;
  font-size: 1rem;
}
ol li:before {
  counter-increment: pent-timeline;
  content: counter(pent-timeline);
  display: inline-block;
  margin-right: 12px;
  background: var(--secondary);
  color: #fff;
  border-radius: 50%;
  width: 24px; height: 24px;
  text-align: center;
  line-height: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.09rem;
}

/* === MOBILE BURGER MENU === */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  color: #fff;
  font-size: 2rem;
  padding: 4px 18px 2px 18px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-left: 14px;
  box-shadow: 0 2px 8px rgba(50,157,156,0.10);
  transition: background .18s, color .16s, transform .19s;
  z-index: 103;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--vibrant1);
  color: #fff;
  outline: 2px dashed var(--vibrant2);
}
@media (min-width: 1025px) {
  .mobile-menu-toggle { display: none; }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(32,80,114,0.83);
  transform: translateX(-105vw);
  transition: transform 0.35s var(--transition);
  z-index: 102;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 24px;
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--primary);
  font-size: 2.1rem;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  position: absolute;
  top: 18px;
  right: 22px;
  cursor: pointer;
  box-shadow: 0 2px 18px rgba(32,80,114,0.05);
  transition: background .14s, color .14s;
  z-index: 106;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: var(--secondary);
  color: #fff;
}
.mobile-menu .mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 60px;
  padding: 0 24px;
  width: 100%;
}
.mobile-menu .mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-weight: 600;
  font-size: 1.23rem;
  padding: 14px 8px 12px 8px;
  border-radius: 9px;
  transition: background .18s, color .19s, box-shadow .21s;
  outline: none;
}
.mobile-menu .mobile-nav a:focus, .mobile-menu .mobile-nav a:hover {
  background: var(--vibrant2);
  color: #fff;
  box-shadow: 0 2px 11px rgba(255, 179, 0, 0.09);
  text-decoration: none;
}

/* Hide main nav on mobile, burger only visible */
@media (max-width: 1024px) {
  .main-nav { display: none; }
}

@media (max-width: 1024px) {
  .footer-nav { flex-direction: column; align-items: flex-start; gap: 2px; }
  footer .container { flex-direction: column; gap: 24px; }
}

/* === COOKIE CONSENT BANNER & MODAL === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  border-top: 3px solid var(--secondary);
  box-shadow: 0 -2px 16px rgba(32,80,114,0.09);
  z-index: 9000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 12px;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  animation: fadeInUp .5s;
}
@keyframes fadeInUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner .btn-group {
  display: flex;
  gap: 12px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: .98rem;
  font-weight: 600;
  border-radius: 19px;
  padding: 9px 24px;
  border: none;
  cursor: pointer;
  transition: background .14s, color .14s;
  margin-top: 0;
  margin-bottom: 0;
}
.cookie-banner .accept {
  background: var(--secondary);
  color: #fff;
}
.cookie-banner .accept:hover { background: var(--vibrant3); color: #205072; }
.cookie-banner .reject {
  background: #eee;
  color: var(--primary);
}
.cookie-banner .reject:hover { background: var(--vibrant1); color: #fff; }
.cookie-banner .settings {
  background: none;
  color: var(--vibrant2);
  border: 1.5px solid var(--vibrant2);
  padding: 8.5px 22px;
}
.cookie-banner .settings:hover { background: var(--vibrant2); color: #fff; }

.cookie-modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(32,80,114,0.63);
  z-index: 9100;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalIn .31s;
}
@keyframes cookieModalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 56px 0 rgba(32,80,114,0.23);
  width: 99%;
  max-width: 410px;
  padding: 32px 26px 28px 26px;
  z-index: 9200;
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.cookie-modal h3 {
  color: var(--primary);
  font-size: 1.19rem;
  margin-bottom: 7px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
}
.cookie-modal .category label {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
}
.cookie-modal .category input[type='checkbox'],
.cookie-modal .category input[type='radio'] {
  width: 18px; height: 18px;
  accent-color: var(--secondary);
}
.cookie-modal .modal-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 22px;
}
.cookie-modal .modal-buttons .close-modal {
  color: var(--primary);
  background: #eee;
  border-radius: 17px;
  border: none;
  font-weight: 600;
  padding: 8px 17px;
  cursor: pointer;
  transition: background .21s;
}
.cookie-modal .modal-buttons .save {
  color: #fff;
  background: var(--secondary);
  border-radius: 17px;
  border: none;
  font-weight: 600;
  padding: 8px 23px;
  cursor: pointer;
  transition: background .19s;
}
.cookie-modal .modal-buttons .save:hover { background: var(--vibrant2); color: #fff; }
.cookie-modal .modal-buttons .close-modal:hover { background: var(--vibrant3); color: #205072; }
.cookie-modal .desc {
  font-size: .99rem;
  color: var(--gray);
  margin-bottom: 4px;
  font-family: 'Open Sans', Arial, sans-serif;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1100px) {
  .container { max-width: 97vw; }
}
@media (max-width: 900px) {
  .container { padding: 0 10px; }
  section, .section { padding: 32px 4vw; }
}
@media (max-width: 700px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .hero { padding: 44px 0 34px 0; }
  .footer-nav { gap: 5px; }
  .feature-item, .service-card, .team-profile, .testimonial-card, .text-section
    { min-width: unset; width: 100%; }
  .feature-grid, .team-list, .card-container, .content-grid
    { flex-direction: column !important; gap: 18px; }
}
@media (max-width: 768px) {
  .container { padding: 0 6px; }
  .content-wrapper { padding: 0; gap: 12px; }
  section, .section { padding: 28px 4px; }
  .footer-nav { padding-bottom: 10px; }
  .hero .content-wrapper { align-items: flex-start; }
  .text-image-section { flex-direction: column !important; align-items: flex-start; gap: 16px; }
  .testimonial-card, .service-card, .feature-item { margin-bottom: 20px; }
}

/* === UNIQUE VISUAL ELEMENTS === */
/* Artistic Section Brush Underline */
section h2::after {
  content: '';
  display: block;
  width: 56px; height: 7px;
  margin-top: 6px;
  border-radius: 6px;
  background: var(--vibrant2);
  opacity: 0.5;
}
/* Random color brush accent */
section:nth-child(2n) h2::after { background: var(--vibrant1); opacity: 0.4; }
section:nth-child(3n) h2::after { background: var(--vibrant3); opacity: 0.34; }

/* Button Artistic Wobbles */
.cta-btn, .cta-link, .mobile-menu-toggle {
  transition: transform 0.14s cubic-bezier(.42,1.28,.63,1.09);
}
.cta-btn:active, .mobile-menu-toggle:active { transform: scale(.97) rotate(-2deg); }

/* Section Artistic Blobs (decorative) */
section .artistic-blob {
  content: '';
  position: absolute;
  width: 90px;
  height: 65px;
  border-radius: 50% 45% 45% 50% / 40% 50% 60% 45%;
  background: var(--vibrant3);
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
  left: -48px;
  top: -34px;
  filter: blur(1px);
  animation: blob-move 8s linear infinite alternate;
}
@keyframes blob-move {
  0% { transform: scale(1) translateY(0); }
  100% { transform: scale(1.09) translateY(13px); }
}

/* === FORMS, MAP, ETC. === */
input, textarea, select {
  font-size:1rem;
  padding: 9px 12px;
  border-radius: 7px;
  border: 1.7px solid #d6e2ea;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #fff;
  box-shadow: 0 1.5px 7px rgba(32,80,114,0.04);
  margin-bottom: 14px;
  transition: border-color 0.14s;
}
input:focus, textarea:focus, select:focus { border-color: var(--secondary); outline: none; }

button:focus, a:focus { outline: 2px dashed var(--primary); outline-offset: 2px; }

/* === PRINT & ACCESSIBILITY === */
@media print {
  * { background: none !important; color:#000 !important; }
  nav, header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay { display:none !important; }
}

/* === UTILITY CLASSES === */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

/* === HIDE STUFF === */
[hidden], .d-none { display: none !important; }

/* === CARD, FLEX, AND SPACING SAFE-BORDERS === */
.card, .service-card, .team-profile, .testimonial-card, .feature-item, .text-section {
  margin-bottom: 20px;
}

/* === ENSURE FLEX, NO GRID OR COLUMNS === */
/*
.content-grid, .feature-grid, .card-container, .team-list, .footer-nav, .main-nav, .footer .container, .text-image-section, .mobile-menu .mobile-nav
are all display:flex, flex-wrap:wrap, gap >= 20px, align-items as per requirement
*/

/* === END OF STYLE === */
