/* 
  PETROVISION GMBH – STYLE.CSS
  Soft Pastel, Mobile-First, Flexbox-Only
  ------------------------------------------------------
  Brand Colors:
    Primary:   #203141 (Deep Blue)
    Secondary: #F5F7FA (Off White)
    Accent:    #EE9C27 (Pastel Orange)
  Pastel Palette:
    Pastel Blue:     #B5D0EA
    Pastel Lilac:    #D9D6FF
    Pastel Mint:     #C8E6DB
    Pastel Peach:    #FAE6CF
    Pastel Pink:     #F7CCE7
    Soft Shadow:     rgba(32, 49, 65, 0.06)
  Typography:
    Headings (display): 'Oswald', Arial, sans-serif;
    Body:             'Roboto', Arial, sans-serif;
*/

/* --- CSS RESET & NORMALIZE --- */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, img, input, button, nav, main, section, footer, header {
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
  border: none;
  background: none;
  outline: none;
}
ul, ol {
  list-style-position: inside;
}
img {
  max-width: 100%;
  display: block;
  vertical-align: middle;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  transition: box-shadow 0.2s, background 0.2s, color 0.2s;
}


/* --- CSS VARIABLES --- */
:root {
  --primary: #203141;
  --secondary: #F5F7FA;
  --accent: #EE9C27;
  --pastel-blue: #B5D0EA;
  --pastel-lilac: #D9D6FF;
  --pastel-mint: #C8E6DB;
  --pastel-peach: #FAE6CF;
  --pastel-pink: #F7CCE7;
  --white: #fff;
  --black: #203141;
  --shadow: 0 4px 24px rgba(32,49,65, 0.06);
  --border-radius: 18px;

  --font-display: 'Oswald', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--primary);
  background: linear-gradient(180deg, #FAE6CF 0%, #F5F7FA 100%);
  min-height: 100vh;
  letter-spacing: 0.01em;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 700;
}
h1 { font-size: 2.2rem; letter-spacing: 0.01em; margin-bottom: 20px; }
h2 { font-size: 1.6rem; letter-spacing: 0.01em; margin-bottom: 18px; }
h3 { font-size: 1.2rem; letter-spacing: 0.01em; margin-bottom: 10px; }
.subheadline {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--primary);
  opacity: 0.8;
  margin-bottom: 20px;
}
p { line-height: 1.6; margin-bottom: 18px; }
strong { color: var(--primary); }

@media (min-width: 768px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.3rem; }
  .subheadline { font-size: 1.25rem; }
}

/* --- HEADER --- */
header {
  width: 100%;
  background: var(--secondary);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 18px;
}
.logo img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 2px 7px #ECE3E3);
  transition: filter 0.2s;
}

/* --- MAIN NAVIGATION --- */
.main-nav {
  display: none;
}
.main-nav a {
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  margin: 0 9px;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.15s;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--pastel-blue);
  color: var(--primary);
}

@media (min-width: 1000px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    margin-left: 20px;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* --- CTA BUTTON --- */
.cta {
  display: inline-block;
  border-radius: 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 2px 14px rgba(32,49,65,0.07);
  padding: 13px 34px;
  margin: 0;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s, border 0.2s;
  text-align: center;
  letter-spacing: 0.02em;
}
.cta.primary {
  background: var(--accent);
  color: var(--primary);
  border: 2px solid transparent;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--pastel-peach);
  color: var(--primary);
  box-shadow: 0 4px 18px rgba(32,49,65,0.11);
}
.cta.secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--accent);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--pastel-peach);
  color: var(--primary);
}

/* --- MOBILE BURGER MENU --- */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  padding: 7px 17px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--primary);
  margin-left: 8px;
  transition: background 0.18s, box-shadow 0.2s, color 0.18s;
  z-index: 110;
  border: none;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: var(--pastel-peach);
  box-shadow: 0 2px 7px #E3B670;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: var(--pastel-blue);
  z-index: 1500;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.61,0.01,0.39,1.01);
  box-shadow: 0 2px 40px var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 28px 34px 0 28px;
  gap: 35px;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: none;
  border: none;
  color: var(--primary);
  position: absolute;
  top: 23px; right: 19px;
  z-index: 10;
  border-radius: 7px;
  padding: 5px;
  transition: background 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: var(--pastel-mint);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 17px;
  width: 100%;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.27rem;
  padding: 13px 2px 13px 3px;
  color: var(--primary);
  border-radius: 6px;
  transition: background 0.16s, color 0.15s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--pastel-peach);
  color: var(--accent);
}
@media (min-width: 1000px) {
  .mobile-menu {
    display: none;
  }
}

/* --- HERO & SECTION STYLES --- */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.hero {
  background: linear-gradient(90deg, var(--pastel-peach) 60%, var(--pastel-blue) 100%);
  border-radius: 0 0 33px 33px;
  box-shadow: 0 6px 32px var(--shadow);
  padding-top: 55px;
  padding-bottom: 60px;
}
@media (min-width: 768px) {
  .hero {
    padding-top: 85px;
    padding-bottom: 88px;
  }
}
section:not(.hero) {
  background: var(--white);
  border-radius: var(--border-radius);
  margin-bottom: 32px;
  box-shadow: 0 4px 18px var(--shadow);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

/* --- FEATURES --- */
.features {
  background: var(--pastel-peach);
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 220px;
  min-width: 210px;
  max-width: 320px;
  background: var(--pastel-mint);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px var(--shadow);
  padding: 31px 25px 20px 25px;
  transition: transform 0.16s, box-shadow 0.16s;
  margin-bottom: 20px;
}
.feature-item:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 5px 24px rgba(32,49,65,0.11);
}
.feature-item img {
  width: 48px;
  height: 48px;
}

/* --- CARD LAYOUTS --- */
.card-container,
.card-grid, .case-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .case-item {
  margin-bottom: 20px;
  position: relative;
  background: var(--pastel-blue);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px var(--shadow);
  padding: 24px 24px 18px 24px;
  flex: 1 1 270px;
  min-width: 260px;
  max-width: 400px;
  transition: box-shadow 0.18s, transform 0.13s;
}
.card:hover, .case-item:hover {
  box-shadow: 0 8px 34px rgba(32,49,65,0.13);
  transform: translateY(-2px) scale(1.017);
}

/* --- CONTENT GRID --- */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 24px;
  }
}

/* --- CTA SECTION --- */
section.cta {
  background: linear-gradient(90deg, var(--pastel-mint) 60%, var(--pastel-lilac) 100%);
  text-align: center;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 24px var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}
section.cta h2 {
  width: 100%;
  text-align: center;
}

/* --- TESTIMONIALS --- */
.testimonials {
  background: var(--pastel-blue);
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: 0 1px 11px var(--shadow);
  background: var(--white);
  margin-bottom: 20px;
  color: var(--primary); /* Critical readable text! */
  min-width: 210px;
  max-width: 540px;
  font-size: 1.1rem;
  border-left: 6px solid var(--accent);
  transition: box-shadow 0.16s, background 0.16s;
}
.testimonial-card:hover {
  background: var(--pastel-peach);
  box-shadow: 0 2px 21px rgba(238,156,39, 0.09);
}
.testimonial-card span {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--primary);
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  opacity: 0.84;
}

/* --- FOOTER --- */
footer {
  width: 100%;
  background: var(--secondary);
  box-shadow: 0 -1px 18px var(--shadow);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  margin-top: 40px;
  padding-top: 28px;
  padding-bottom: 20px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
}
.footer-logo img {
  height: 33px;
  filter: drop-shadow(0 1px 5px #F9D7B9);
}
.footer-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--primary);
  font-size: 1rem;
  font-family: var(--font-body);
  opacity: 0.8;
  padding: 6px 14px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: var(--pastel-lilac);
  color: var(--accent);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.99rem;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--primary);
  opacity: 0.85;
}
.footer-contact img {
  height: 18px;
  width: 18px;
  margin-right: 4px;
  opacity: 0.7;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 19px;
  }
}

/* --- PAGE-SPECIFIC STYLES --- */
.about-preview, .about, .about-preview .cta {
  background: var(--pastel-pink);
}
.services-preview, .services, .process, .services-preview .cta {
  background: var(--pastel-lilac);
}
.industries-preview, .solutions, .case-list, .case-item {
  background: var(--pastel-mint);
}
.kpis {
  background: var(--pastel-peach);
}
.benefits {
  background: var(--pastel-blue);
}
.company-culture {
  background: var(--pastel-pink);
}
.legal {
  background: var(--secondary);
}
.contact {
  background: var(--pastel-peach);
}
.confirmation {
  background: var(--pastel-blue);
  text-align: center;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 24px var(--shadow);
}
.text-section {
  padding: 16px 0;
}

/* --- LINK and MICRO-INTERACTIONS --- */
a {
  color: var(--primary);
  transition: color 0.16s;
}
a:focus {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* --- SUPPORTIVE LAYOUTS --- */
ul, ol {
  margin-left: 0;
  margin-bottom: 18px;
  padding-left: 0;
  color: var(--primary);
  font-size: 1rem;
  line-height: 1.65;
}
ul li, ol li {
  margin-bottom: 8px;
}

/* --- SPACING/PATTERNS --- */
.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; }

/* --- RESPONSIVENESS --- */
@media (max-width: 1020px) {
  .card-grid, .feature-grid, .content-grid, .case-list, .card-container {
    flex-direction: column;
    gap: 20px;
  }
  .feature-item, .card, .case-item, .testimonial-card {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .section, section {
    padding: 24px 7px;
    margin-bottom: 36px;
    border-radius: 12px;
  }
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.09rem; }
  h3 { font-size: 1rem; }
  .cta, .cta.primary, .cta.secondary {
    font-size: 1rem;
    padding: 13px 15vw;
    min-width: 137px;
    width: auto;
  }
  .hero {
    padding-top: 32px;
    padding-bottom: 36px;
    border-radius: 0 0 16px 16px;
  }
}

/* --- TRANSITIONS/ANIMATION --- */
.cta, .feature-item, .card, .case-item, .testimonial-card, .main-nav a, .footer-nav a, .mobile-nav a {
  transition: box-shadow 0.18s, background 0.19s, color 0.13s, transform 0.14s;
}

/* --- FOCUS STATEs FOR ACCESSIBILITY --- */
.cta:focus, .cta.primary:focus, .cta.secondary:focus,
.main-nav a:focus, .footer-nav a:focus, .mobile-nav a:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #EE9C2766;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 1700;
  background: var(--pastel-peach);
  box-shadow: 0 -3px 25px var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 8vw 20px 7vw;
  transition: transform 0.5s, opacity 0.37s;
  opacity: 1;
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner p {
  margin: 0;
  font-size: 0.97rem;
  color: var(--primary);
  max-width: 420px;
}
.cookie-consent-actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  font-family: var(--font-display);
  font-size: 1rem;
  border-radius: 20px;
  padding: 8px 22px;
  color: var(--primary);
  background: var(--accent);
  border: none;
  margin: 0;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--pastel-peach);
  color: var(--accent);
  box-shadow: 0 2px 10px #EFBE7A66;
}
.cookie-btn.reject {
  background: var(--pastel-lilac);
  color: var(--primary);
  border: 1px solid var(--accent);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--accent);
  color: var(--primary);
}
.cookie-btn.settings {
  background: var(--pastel-mint);
  color: var(--primary);
  border: 1px solid var(--accent);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--accent);
  color: var(--primary);
}
@media (max-width: 700px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 18px 14px 18px 14px;
    gap: 13px;
  }
  .cookie-consent-actions {
    justify-content: flex-start;
    gap: 10px;
  }
}

/* --- COOKIE CONSENT MODAL --- */
.cookie-modal-overlay {
  position:fixed; top:0;left:0;width:100vw;height:100vh;
  background:rgba(32,49,65,0.21);
  backdrop-filter: blur(1.3px);
  z-index:2001;
  display:flex;align-items:center;justify-content:center;
  opacity:1;transition: opacity 0.35s;
  pointer-events:auto;
}
.cookie-modal-overlay.hide {
  opacity:0;
  pointer-events:none;
}
.cookie-modal {
  background:var(--secondary);
  padding:35px 32px 25px 32px;
  border-radius:22px;
  min-width:320px;
  max-width:95vw;
  box-shadow:0 4px 32px rgba(32,49,65,0.14);
  display:flex;flex-direction:column;
  gap:22px;align-items:flex-start;
  position:relative;
  color:var(--primary);
}
.cookie-modal h3 { font-size:1.35rem; margin-bottom:4px; }
.cookie-modal p { font-size:0.98rem; margin-bottom:7px; }
.cookie-modal-list {
  display:flex;
  flex-direction:column;
  gap:20px;
  width:100%;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1.06rem;
  width: 100%;
}
.cookie-category input[type="checkbox"],
.cookie-category input[type="radio"] {
  accent-color: var(--accent);
  width: 20px;
  height: 20px;
}
.cookie-modal-actions {
  display:flex;
  gap:13px;
  align-items:center;
  margin-top:10px;
}
.cookie-modal-close {
  position:absolute;top:10px;right:15px;
  font-size:1.7rem;
  background: none;
  border: none;
  color: var(--primary);
  border-radius:7px;
  transition: background 0.13s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background:var(--pastel-peach);
}
@media (max-width: 600px) {
  .cookie-modal { padding:19px 9px 19px 13px; }
  .cookie-modal h3 { font-size:1.01rem; }
}

/* --- UTILITY --- */
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.hide { display: none !important; }

/* --- END OF STYLE --- */
