/* 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;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.5;
  font-family: 'Roboto', Arial, sans-serif;
  background: #F3F6FA;
  color: #1a2734;
  min-height: 100vh;
}
lol, ul { list-style: none; }
img {
  border: none;
  max-width: 100%;
  display: block;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #234B7A;
  letter-spacing: 0.5px;
}
a {
  color: #234B7A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #e03056;
  text-decoration: underline;
}

/* COLOR PALETTE + ENERGETIC VARIANTS ------- */
:root {
  --primary: #234B7A;
  --secondary: #6A889C;
  --accent: #F3F6FA;
  --vibrant-pink: #e03056;
  --vibrant-yellow: #ffe759;
  --vibrant-green: #29c678;
  --vibrant-blue: #3576ff;
  --vibrant-purple: #8f4aff;
  --neutral: #F3F6FA;
  --dark-text: #1a2734;
  --light-text: #fff;
  --card-bg: #fff;
  --border-radius: 16px;
  --shadow: 0 6px 20px rgba(35, 75, 122, 0.14);
}

/* LAYOUT CONTAINER CLASSES ------------------ */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* HEADER & NAVIGATION ----------------------- */
header {
  background: var(--neutral);
  border-bottom: 4px solid var(--primary);
  box-shadow: 0 2px 8px rgba(35, 75, 122, 0.06);
  position: sticky;
  top: 0;
  z-index: 99;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
.logo img {
  height: 48px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  color: var(--primary);
  position: relative;
  transition: color 0.2s;
}
.main-nav a:after {
  content: '';
  display: block;
  height: 3px;
  background: var(--vibrant-pink);
  width: 0;
  border-radius: 2px;
  transition: width 0.25s;
  margin-top: 4px;
}
.main-nav a:hover:after,
.main-nav a:focus:after {
  width: 100%;
}
.main-nav a:hover,
.main-nav a:focus {
  color: var(--vibrant-pink);
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(90deg, var(--vibrant-pink) 60%, var(--vibrant-yellow) 100%);
  color: var(--dark-text);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.6px;
  padding: 14px 36px;
  border: none;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 16px rgba(224,48,86,0.11);
  transition: background 0.25s, color 0.2s, transform 0.15s;
  cursor: pointer;
  margin-left: 12px;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, var(--vibrant-yellow) 40%, var(--vibrant-pink) 100%);
  color: var(--primary);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 28px rgba(224,48,86,0.24);
  text-decoration: none;
}
.cta-secondary {
  display: inline-flex;
  align-items: center;
  background: var(--vibrant-blue);
  color: var(--light-text);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.4px;
  padding: 12px 28px;
  border: none;
  border-radius: var(--border-radius);
  box-shadow: 0 1px 8px rgba(53,118,255,0.12);
  transition: background 0.22s, color 0.18s, transform 0.14s;
  cursor: pointer;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--vibrant-green);
  color: var(--dark-text);
  transform: translateY(-1px) scale(1.04);
}

.mobile-menu-toggle {
  display: none;
  background: var(--vibrant-pink);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  color: var(--light-text);
  font-size: 2rem;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
  box-shadow: 0 2px 8px rgba(224,48,86,0.13);
  transition: background 0.22s;
  cursor: pointer;
  z-index: 1201;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--vibrant-yellow);
}

/* MOBILE MENU ------------------------------- */
.mobile-menu {
  position: fixed;
  z-index: 1200;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 0 64px rgba(35, 75, 122, 0.26);
  transform: translateX(-102vw);
  transition: transform 0.44s cubic-bezier(.74, 0, .32, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 32px;
  padding: 0;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 28px 0 0;
  background: var(--vibrant-pink);
  color: #fff;
  border: none;
  font-size: 2.4rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(224,48,86,0.18);
  cursor: pointer;
  transition: background 0.22s;
}
.mobile-menu-close:focus {
  outline: 2px solid var(--vibrant-yellow);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  margin-top: 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--primary);
  padding: 16px 0;
  width: 100vw;
  text-align: center;
  transition: color 0.2s, background 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--vibrant-pink);
  background: var(--vibrant-yellow);
}

/* SECTION SPACING & PATTERNS ---------------- */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  flex: 1 1 320px;
  transition: box-shadow 0.2s, transform 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 36px rgba(35, 75, 122, 0.21);
  transform: translateY(-3px) scale(1.02);
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  color: #111d2e;
  box-shadow: 0 4px 18px rgba(35,75,122,0.12);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  padding: 30px 24px 18px 24px;
  max-width: 650px;
  position: relative;
  border-left: 8px solid var(--vibrant-pink);
}
.testimonial-card p {
  font-size: 18px;
  font-style: italic;
  color: var(--primary);
  margin-bottom: 10px;
}
.testimonial-card span {
  font-size: 16px;
  font-weight: 700;
  color: var(--vibrant-blue);
}
.feature-item, .feature-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px rgba(35,75,122,0.08);
  padding: 28px 22px;
  min-width: 220px;
  max-width: 320px;
  transition: box-shadow 0.16s, transform 0.13s;
}
.feature-block:hover {
  box-shadow: 0 6px 30px rgba(224,48,86,0.09);
  transform: scale(1.04) rotate(-1deg);
}
.feature-block img {
  height: 44px;
  width: 44px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.service-list, .service-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-block, .service-teaser {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px rgba(106,136,156,0.09);
  padding: 26px 22px;
  min-width: 220px;
  max-width: 378px;
  margin-bottom: 20px;
  transition: box-shadow 0.13s, transform 0.13s;
}
.service-block:hover, .service-teaser:hover {
  box-shadow: 0 7px 32px rgba(35,75,122,0.13);
  transform: translateY(-2px) scale(1.03);
}
.project-overview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.project-item {
  background: #fff;
  border-left: 7px solid var(--vibrant-blue);
  border-radius: var(--border-radius);
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(35,75,122,0.10);
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 420px;
  flex: 1 1 320px;
  transition: box-shadow 0.16s, transform 0.10s;
}
.project-item:hover {
  box-shadow: 0 7px 42px rgba(35,75,122,0.17);
  transform: scale(1.02) rotate(1deg);
}
.project-highlights ul,
.team-expertise ul, .next-steps-info ul,
.legal-text ul, .legal-text ol {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 16px;
}

/* HERO SECTION ------------------------------ */
.hero {
  background: linear-gradient(100deg, var(--primary) 54%, var(--vibrant-pink) 95%);
  color: var(--light-text);
  padding: 70px 20px 60px 20px;
  margin-bottom: 60px;
  border-radius: 0 0 36px 36px;
  box-shadow: 0 8px 36px rgba(35, 75, 122, 0.13);
}
.hero .container { align-items: center; }
.hero .content-wrapper {
  gap: 28px;
  align-items: flex-start;
}
.hero h1 {
  font-size: 2.65rem;
  color: var(--vibrant-yellow);
  text-shadow: 0 3px 10px rgba(26,39,52,0.24);
  letter-spacing: 0.6px;
  line-height: 1.15;
  font-weight: 900;
}
.hero p {
  font-size: 1.2rem;
  color: var(--light-text);
  margin-bottom: 10px;
  max-width: 620px;
  letter-spacing: 0.2px;
}

/* SECTION HEADERS & TEXT TYPOGRAPHY --------- */
h1 {
  font-size: 2.2rem;
}
h2 {
  font-size: 1.7rem;
  color: var(--vibrant-pink);
}
h3 {
  font-size: 1.25rem;
  color: var(--primary);
}
h4, h5, h6 {
  font-size: 1rem;
}
p, li, ul, ol, span {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--dark-text);
  line-height: 1.65;
}
strong {
  color: var(--primary);
  font-weight: 700;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 14px;
}

.legal-text {
  color: var(--dark-text);
  background: #fff;
  border-radius: 12px;
  padding: 20px 20px 10px 20px;
  box-shadow: 0 1px 8px rgba(35,75,122,0.08);
  margin-bottom: 12px;
}
.legal-text h2, .legal-text h3 {
  color: var(--vibrant-blue);
  margin-bottom: 6px;
}

/* FOOTER ------------------------------------ */
footer {
  background: var(--primary);
  color: var(--light-text);
  padding: 40px 0 0 0;
  margin-top: 60px;
}
footer .container {
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: center;
  margin-bottom: 10px;
}
.footer-nav a {
  color: var(--vibrant-yellow);
  font-size: 15px;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.2px;
  transition: color 0.19s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--vibrant-pink);
}
.contact-footer {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
  color: var(--light-text);
}
.contact-footer img {
  vertical-align: middle;
  margin-right: 8px;
  height: 21px;
}
.contact-footer span {
  font-size: 15px;
  color: #fff;
}
.copyright {
  text-align: center;
  font-size: 14px;
  color: var(--secondary);
  margin-top: 22px;
  padding-bottom: 24px;
}

/* TEAM & PROJECT STRUCTURES ----------------- */
.team-member-profiles {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 32px;
}
.team-member {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 1px 8px rgba(35,75,122,0.09);
  padding: 26px 20px;
  flex: 1 1 250px;
  min-width: 220px;
  max-width: 340px;
  margin-bottom: 20px;
  transition: box-shadow 0.12s, transform 0.1s;
}
.team-member:hover {
  box-shadow: 0 8px 24px rgba(106,136,156,0.16);
  transform: scale(1.03) rotate(-0.5deg);
}
.team-expertise {
  margin-top: 12px;
}

/* CONTACT PAGE ------------------------------ */
.contact-details, .address-map {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px rgba(106,136,156,0.08);
  padding: 20px 18px;
  margin-bottom: 22px;
}
.address-map img {
  display: inline;
  vertical-align: middle;
  height: 30px;
  margin-right: 9px;
}

/********************
    RESPONSIVE DESIGN
*********************/
@media (max-width: 1024px) {
  .feature-grid,
  .service-list, .service-preview-list,
  .team-member-profiles,
  .card-container,
  .project-overview-list {
    gap: 16px;
  }
  .container {
    gap: 14px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    gap: 18px;
  }
  .container {
    max-width: 98vw;
  }
}

@media (max-width: 768px) {
  /* NAVIGATION */
  header .container { flex-direction: row; gap: 8px; }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .cta-primary {
    padding: 11px 20px;
    font-size: 16px;
    margin-left: 2px;
  }
  .hero {
    padding: 48px 8px 38px 8px;
    border-radius: 0 0 18px 18px;
  }
  .team-member-profiles,
  .feature-grid,
  .service-list, .service-preview-list,
  .card-container,
  .project-overview-list,
  .footer-nav, .contact-footer,
  .content-grid {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }
  .testimonial-card, .feature-block, .service-block, .project-item, .team-member {
    max-width: 100%;
    min-width: 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  section, .section {
    padding: 24px 6px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.38rem; }
  h2 { font-size: 1.08rem; }
  section, .section {
    padding: 14px 2px;
    margin-bottom: 40px;
  }
  .container { padding: 0 4px; }
  .copyright {font-size:12px; padding-bottom:12px; margin-top:12px;}
}

/**********
   CTABANNER
***********/
.cta-banner {
  background: linear-gradient(95deg, var(--vibrant-yellow) 65%, var(--vibrant-pink) 97%);
  color: var(--primary);
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(255,231,89,0.15);
}
.cta-banner .content-wrapper{
  align-items: center;
  text-align: center;
  gap: 20px;
}
.cta-banner h2 { color: var(--primary); }
.cta-banner p { color: #67303d; font-size:1.05rem; }

/****************
    FORM ELEMENTS
*****************/
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  padding: 12px 16px;
  border: 1.5px solid var(--secondary);
  border-radius: 8px;
  margin-top: 8px;
  margin-bottom: 18px;
  width: 100%;
  background: var(--neutral);
  transition: border 0.2s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--primary);
  outline: none;
}
button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}

/*********************
    COOKIE CONSENT
**********************/
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: linear-gradient(90deg, var(--primary) 77%, var(--vibrant-pink) 100%);
  color: var(--vibrant-yellow);
  box-shadow: 0 -4px 16px rgba(35,75,122,0.14);
  z-index: 1400;
  padding: 24px 16px 18px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: transform 0.34s;
  font-size: 15px;
}
.cookie-banner.hide {
  transform: translateY(120%);
}
.cookie-banner__text {
  max-width: 630px;
  color: var(--vibrant-yellow);
  font-weight: 600;
}
.cookie-banner__actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.2s, color 0.14s;
  outline: none;
}
.cookie-banner .accept {
  background: var(--vibrant-green);
  color: var(--dark-text);
}
.cookie-banner .accept:hover {
  background: var(--vibrant-yellow);
  color: var(--primary);
}
.cookie-banner .reject {
  background: var(--vibrant-pink);
  color: #fff;
}
.cookie-banner .reject:hover {
  background: var(--primary);
  color: var(--vibrant-yellow);
}
.cookie-banner .settings {
  background: var(--neutral);
  color: var(--primary);
  border: 1.2px solid var(--secondary);
}
.cookie-banner .settings:hover {
  background: var(--primary);
  color: var(--vibrant-yellow);
}

/*******************
    COOKIE MODAL
*******************/
.cookie-modal-overlay {
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,75,122,0.57);
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.22s;
  animation: fadeIn 0.2s ease-in;
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity:1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 7px 44px rgba(35,75,122,0.19);
  padding: 38px 30px 30px 30px;
  width: 94vw;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  animation: modalUp .31s cubic-bezier(.45,1,.21,1.12);
}
@keyframes modalUp {from {transform:translateY(70px); opacity:0;} to {transform:translateY(0); opacity:1;}}
.cookie-modal h3 { color: var(--primary); font-size:1.4rem; margin-bottom:10px; }
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: var(--neutral);
  border-radius: 10px;
  margin-bottom: 11px;
  padding: 13px 15px;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--vibrant-green);
  width: 20px;
  height: 20px;
  margin-left: 18px;
}
.cookie-modal .save { background: var(--vibrant-green); color:var(--dark-text);}
.cookie-modal .save:hover{ background:var(--vibrant-yellow); color:var(--primary);}
.cookie-modal .close {
  background: var(--vibrant-pink);
  color: #fff;
  align-self: flex-end;
  font-size: 1.4rem;
  border-radius: 50%;
  border: none;
  width: 38px;
  height: 38px;
  cursor: pointer;
  margin-bottom: -12px;
}
.cookie-modal .close:hover { background: var(--primary);}

/*********************
 MICROS & ANIMATIONS
**********************/
.card, .feature-block, .service-block, .service-teaser, .team-member, .project-item {
  transition: box-shadow 0.16s, transform 0.14s;
  will-change: box-shadow, transform;
}
button, .cta-primary, .cta-secondary {
  transition: background 0.18s, color 0.14s, transform 0.12s;
}

/*********************
 THANK YOU PAGE STYLE
**********************/
.thank-you-message {
  color: var(--vibrant-green);
  font-weight: 700;
  font-size: 1.3em;
  margin-bottom: 14px;
}
.next-steps-info ul {
  margin-left: 4px;
  color: var(--primary);
  gap: 7px;
}

/*********************************************
   SCROLLBAR, SELECTION, VIBRANT HIGHLIGHTS
**********************************************/
::-webkit-scrollbar {
  width: 12px;
  background: var(--accent);
}
::-webkit-scrollbar-thumb {
  background: var(--vibrant-pink);
  border-radius: 8px;
}
::selection {
  background: var(--vibrant-yellow);
  color: var(--primary);
}

/*********************
   MISC HEADINGS
**********************/
h2, .section h2 {
  border-left: 7px solid var(--vibrant-pink);
  padding-left: 16px;
  font-size: 1.6rem;
  margin-bottom: 12px;
  background: linear-gradient(90deg, var(--vibrant-yellow) 0%, var(--accent) 100%);
  display: inline-block;
  border-radius: 6px;
}

/**********************
   ACCESSIBILITY & FOCUS
************************/
a, button, input, textarea, select {
  outline-color: var(--vibrant-yellow);
  outline-offset: 2px;
}

/******************
    UTILITY
*******************/
.hide { display: none !important; }
.visually-hidden { position:absolute; width:1px; height:1px; margin:-1px; border:0; padding:0; overflow:hidden; clip:rect(0 0 0 0); }

/***************************************************
  END - Paglis ProjektKonzept Vibrant Energetic Style
****************************************************/
