/* ============================================
   PEGASUS CONSULT — 1:1 OnePress Theme Clone
   ============================================ */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@100;300;400;500;600;700;800;900&family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600;1,700&display=swap');

@font-face {
  font-family: "Eurostile";
  src: url('https://pegasus-consult.com/wp-content/uploads/2020/12/EUROSTILELTSTD.otf');
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #777;
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: #03c4eb; text-decoration: none; }
a:hover { color: #777; text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway", Helvetica, Arial, sans-serif;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; line-height: 1.2; }
h3 { font-size: 1.25rem; }

p { margin-bottom: 1em; }
ul { list-style: none; padding: 0; margin: 0; }

/* --- Container --- */
.container {
  position: relative;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

/* --- Clear --- */
.clear::after { content: ""; display: table; clear: both; }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  line-height: 75px;
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  z-index: 1000;
  transition: all .5s ease-out;
  box-shadow: 0 5px 10px 0 rgba(50,50,50,.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-branding {
  flex-shrink: 0;
}

.site-branding .custom-logo {
  height: 55px;
  width: auto;
}

/* Main Nav */
.onepress-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.onepress-menu > li {
  position: relative;
}

.onepress-menu > li > a {
  display: block;
  padding: 0 15px;
  font-family: "Raleway", Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: #333;
  text-decoration: none;
  line-height: 75px;
  transition: color .3s;
}

.onepress-menu > li > a:hover,
.onepress-menu > li.current-menu-item > a {
  color: #03c4eb;
  text-decoration: none;
}

/* Dropdown */
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border-top: 3px solid #03c4eb;
  box-shadow: 0 6px 12px rgba(0,0,0,.175);
  list-style: none;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s;
  z-index: 100;
}

.onepress-menu > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu li a {
  display: block;
  padding: 10px 20px;
  font-family: "Raleway", Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  line-height: 1.6;
  transition: all .3s;
}

.sub-menu li a:hover {
  color: #03c4eb;
  background: #f8f9f9;
  text-decoration: none;
}

/* Language Flags */
.lang-flag {
  width: 18px;
  height: 12px;
  vertical-align: middle;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  font-family: "Raleway", Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: #333;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 75px;
}

.nav-toggle span {
  display: inline-block;
  width: 20px;
  height: 2px;
  background: #333;
  vertical-align: middle;
  margin-left: 8px;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: #333;
  left: 0;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero-slideshow-wrapper {
  width: 100%;
  position: relative;
  background-color: #222;
  overflow: hidden;
  padding: 0;
}

.hero-slideshow-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.3);
  z-index: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 10% 0;
  text-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.hero__content h2 {
  font-family: "Raleway", Helvetica, Arial, sans-serif;
  font-size: 75px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.hero__content .hero-small-text {
  font-size: 22px;
  color: rgba(255,255,255,.9);
  margin-bottom: 30px;
  font-family: "Eurostile", "Century Gothic", "Futura", sans-serif;
  font-style: italic;
  font-weight: 100;
  letter-spacing: .4px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-family: "Raleway", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  transition: all .3s;
  margin: 5px;
}

.btn:hover { text-decoration: none; }

.btn-theme-primary {
  background: #03c4eb;
  color: #fff;
  border-color: #03c4eb;
}

.btn-theme-primary:hover {
  background: #02a8c9;
  color: #fff;
  border-color: #02a8c9;
}

.btn-secondary-outline {
  background: transparent;
  color: rgba(255,255,255,.9);
  border-color: rgba(255,255,255,.9);
}

.btn-secondary-outline:hover {
  background: #fff;
  color: #333;
}

/* ============================================
   SECTIONS
   ============================================ */
.section-padding {
  padding: 70px 0;
}

.section-meta {
  background-color: #f8f9f9;
}

.section-title-area {
  text-align: center;
  margin-bottom: 40px;
}

.section-subtitle {
  font-family: "Raleway", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: #aaa;
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: block;
  position: relative;
}

.section-subtitle::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: #333;
  margin: 15px auto 0;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  color: #333;
  margin-bottom: 15px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
}

.section-desc {
  font-size: 1.25rem;
  margin-top: 40px;
  color: #777;
  line-height: 1.8;
}

.section-desc p {
  margin-bottom: 1em;
}

/* --- Page Header (Subpages) --- */
.page-header-section {
  position: relative;
  background: #222;
  padding: 140px 0 60px;
  text-align: center;
  overflow: hidden;
}

.page-header-section .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-header-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.3);
  z-index: 1;
}

.page-header-section .container {
  position: relative;
  z-index: 2;
}

.page-header-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.page-header-section .section-subtitle {
  margin-bottom: 15px;
  color: rgba(255,255,255,.8);
}

.page-header-section .section-subtitle::after {
  background: rgba(255,255,255,.5);
}

.page-header-section p {
  max-width: 700px;
  margin: 15px auto 0;
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  text-shadow: 0 1px 4px rgba(0,0,0,.1);
}

/* Page-specific hero backgrounds */
.page-header-kompetenzen { background-image: url('../images/hero-kompetenzen.jpg'); background-size: cover; background-position: center; }
.page-header-branchen { background-image: url('../images/hero-branchen.jpg'); background-size: cover; background-position: center; }
.page-header-kontakt { background-image: url('../images/hero-kontakt.jpg'); background-size: cover; background-position: center; }

/* Team photos */
.team-card .team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 15px;
  display: block;
}

/* ============================================
   AWARD SECTION
   ============================================ */
.award-block {
  overflow: hidden;
}

.award-block img {
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
  width: 250px;
}

.award-block::after {
  content: '';
  display: table;
  clear: both;
}

/* ============================================
   CONTENT / TEXT BLOCKS
   ============================================ */
.content-block {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.content-block p {
  color: #777;
  line-height: 1.8;
  font-size: 14px;
}

.content-block h1 {
  margin-top: 20px;
  margin-bottom: 15px;
}

.subheading-label {
  color: #03c4eb;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}

/* ============================================
   FEATURE CARDS (Kompetenzen etc.)
   ============================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.feature-card {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 3px;
  transition: all .3s;
}

.feature-card:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,.08);
  transform: translateY(-3px);
}

.feature-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.feature-card .card-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  background: #03c4eb;
  color: #fff;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 15px;
}

.feature-card ul {
  text-align: left;
  padding: 0;
  list-style: none;
}

.feature-card li {
  position: relative;
  padding-left: 18px;
  color: #777;
  font-size: 14px;
  line-height: 2;
}

.feature-card li::before {
  content: '\f105';
  font-family: 'FontAwesome', sans-serif;
  position: absolute;
  left: 0;
  color: #03c4eb;
}

/* Fallback for no FontAwesome */
.feature-card li::before {
  content: '\203A';
  font-family: inherit;
  font-weight: 700;
}

/* ============================================
   TEAM
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 30px;
}

.team-card {
  text-align: center;
  padding: 25px 15px;
}

.team-card .avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #03c4eb;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-family: "Raleway", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.team-card h4 {
  font-size: 15px;
  color: #333;
  margin-bottom: 5px;
}

.team-card .role {
  font-size: 13px;
  color: #999;
}

.team-card .company {
  font-size: 12px;
  color: #bbb;
}

/* ============================================
   PARTNER
   ============================================ */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.partner-card {
  padding: 25px;
  border: 1px solid #eee;
  border-radius: 3px;
  transition: all .3s;
}

.partner-card:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,.06);
}

.partner-card h4 {
  font-size: 15px;
  color: #333;
  margin-bottom: 5px;
}

.partner-card .desc {
  font-size: 13px;
  color: #999;
  margin-bottom: 8px;
}

.partner-card a {
  font-size: 13px;
}

/* ============================================
   VALUES
   ============================================ */
.values-list {
  max-width: 700px;
  margin: 0 auto;
}

.value-item {
  display: flex;
  align-items: center;
  padding: 18px 25px;
  border-bottom: 1px solid #eee;
  transition: all .3s;
}

.value-item:hover {
  background: #f8f9f9;
}

.value-item .number {
  font-family: "Raleway", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #03c4eb;
  min-width: 50px;
  text-align: center;
}

.value-item .text {
  font-size: 1.05rem;
  color: #333;
  font-weight: 500;
}

/* ============================================
   INDUSTRIES
   ============================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 10px;
}

.industry-item {
  padding: 12px 20px 12px 35px;
  position: relative;
  color: #555;
  font-size: 14px;
}

.industry-item::before {
  content: '\203A';
  position: absolute;
  left: 15px;
  color: #03c4eb;
  font-weight: 700;
  font-size: 18px;
}

/* ============================================
   DIGITAL OFFERS
   ============================================ */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.offer-card {
  padding: 25px;
  border: 1px solid #eee;
  border-radius: 3px;
  transition: all .3s;
}

.offer-card:hover {
  box-shadow: 0 5px 15px rgba(0,0,0,.06);
}

.offer-card h4 {
  font-size: 15px;
  color: #333;
  margin-bottom: 5px;
}

.offer-card .meta {
  font-size: 13px;
  color: #03c4eb;
  font-weight: 600;
}

.offer-card .desc {
  font-size: 13px;
  color: #999;
  margin-top: 5px;
}

.platforms {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 25px;
}

.platform-tag {
  padding: 8px 20px;
  border: 1px solid #eee;
  border-radius: 3px;
  font-size: 14px;
  color: #555;
  font-weight: 500;
}

.advantages {
  max-width: 700px;
  margin: 40px auto 0;
}

.advantages h3 {
  text-align: center;
  margin-bottom: 20px;
}

.advantages li {
  padding: 5px 0 5px 20px;
  position: relative;
  color: #777;
}

.advantages li::before {
  content: '\203A';
  position: absolute;
  left: 0;
  color: #03c4eb;
  font-weight: 700;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info h3 {
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.contact-info .info-item {
  margin-bottom: 15px;
  color: #777;
}

.contact-info .info-label {
  font-family: "Raleway", sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #333;
  margin-bottom: 3px;
}

.contact-form label {
  display: block;
  font-family: "Raleway", sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #333;
  margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
  transition: border-color .3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #03c4eb;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form .btn {
  border: none;
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.3rem;
  margin: 30px 0 15px;
}

.legal-content h3 {
  font-size: 1.1rem;
  margin: 20px 0 10px;
}

.legal-content p {
  color: #777;
  line-height: 1.8;
}

/* ============================================
   FOOTER
   ============================================ */
.footer-widgets {
  background: #050505;
  padding: 50px 0 25px;
  text-align: center;
}

.footer-widgets .footer-menu {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
}

.footer-widgets .footer-menu a {
  font-size: 14px;
  color: #bbb;
  text-decoration: none;
}

.footer-widgets .footer-menu a:hover {
  color: #03c4eb;
  text-decoration: underline;
}

.site-info {
  text-align: center;
  padding: 35px 0;
  background: #222;
  color: #bbb;
  font-size: 14px;
  font-weight: 500;
}

.site-info a {
  color: #ddd;
}

.site-info a:hover {
  text-decoration: underline;
}

.back-to-top {
  display: inline-block;
  margin-bottom: 15px;
  font-size: 24px;
  color: #bbb;
}

.back-to-top:hover {
  color: #03c4eb;
  text-decoration: none;
}

/* ============================================
   STORIES
   ============================================ */
.stories-list {
  max-width: 800px;
  margin: 0 auto;
}

.story-card {
  margin-bottom: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid #eee;
}

.story-card:last-child {
  border-bottom: none;
}

.story-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.story-tag {
  display: inline-block;
  padding: 4px 12px;
  background: #03c4eb;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 2px;
}

.story-date {
  font-size: 13px;
  color: #999;
  line-height: 24px;
}

.story-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.story-intro {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 25px;
}

.story-content h3 {
  font-size: 1.1rem;
  color: #333;
  margin: 25px 0 10px;
}

.story-content p {
  color: #777;
  line-height: 1.7;
}

.story-results {
  list-style: none;
  padding: 0;
}

.story-results li {
  position: relative;
  padding: 8px 0 8px 25px;
  color: #555;
  line-height: 1.6;
}

.story-results li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #03c4eb;
  font-weight: 700;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
  .nav-toggle { display: block; }

  .onepress-menu {
    display: none;
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    overflow-y: auto;
    box-shadow: 0 5px 10px rgba(0,0,0,.1);
  }

  .onepress-menu.open { display: flex; }

  .onepress-menu > li > a {
    line-height: 2.5;
    padding: 0;
  }

  .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    padding-left: 20px;
    display: none;
  }

  .onepress-menu > li.dropdown-open > .sub-menu {
    display: block;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero__content h2 { font-size: 60px; letter-spacing: 3px; }
  .hero__content .hero-small-text { font-size: 18px; }

  .section-title { font-size: 30px; letter-spacing: 2px; }

  .feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero__content h2 { font-size: 35px; letter-spacing: 2px; }
  .hero__content .hero-small-text { font-size: 14px; }
  .section-padding { padding: 50px 0; }

  .page-header-section { padding: 100px 0 40px; }

  .team-grid { grid-template-columns: 1fr 1fr; }

  .award-block img {
    float: none;
    margin: 0 auto 20px;
  }
}
