/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  padding-top: var(--sp-12);
  padding-bottom: var(--sp-12);
  display: flex;
  align-items: center;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  align-items: center;
}

.hero__content {
  max-width: 560px;
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}

.hero__title {
  font-size: var(--fs-5);
  margin-bottom: var(--sp-5);
}

.hero__subtitle {
  font-size: var(--fs-2);
  color: var(--c-muted);
  margin-bottom: var(--sp-6);
  line-height: var(--lh-snug);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}

.hero__microcopy {
  font-size: 0.85rem;
  color: var(--c-muted);
}

.hero__visual {
  position: relative;
}

.hero__image {
  width: 100%;
  border-radius: var(--r-2);
  box-shadow: var(--sh-3);
  aspect-ratio: 4 / 3;
}
.profile__image {
  width: 100%;
  border-radius: var(--r-2);
  box-shadow: var(--sh-3);
  aspect-ratio: 1 / 1;
}

@media (max-width: 968px) {
  .hero {
    min-height: auto;
    padding-top: 0;
    padding-bottom: var(--sp-10);
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .hero__content {
    max-width: none;
    text-align: center;
  }

  .hero__pills {
    justify-content: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
    max-width: 480px;
    margin-inline: auto;
  }
}

/* ==========================================================================
   TRUST / TESTIMONIALS SECTION
   ========================================================================== */

.trust {
  background-color: var(--c-surface);
}

.trust__header {
  text-align: center;
  margin-bottom: var(--sp-8);
}

.trust__label {
  font-family: var(--ff-m);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-muted);
  margin-bottom: var(--sp-3);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

@media (max-width: 768px) {
  .trust__grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ANGEBOTE SECTION
   ========================================================================== */

.services__header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--sp-10);
}

.services__title {
  margin-bottom: var(--sp-4);
}

.services__subtitle {
  color: var(--c-muted);
  font-size: var(--fs-2);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

@media (max-width: 968px) {
  .services__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
}

/* ==========================================================================
   SOFTWARE BRIDGE SECTION
   ========================================================================== */

.software-bridge {
  background: var(--gradient-brand);
  color: white;
  max-width: var(--container-max);
  margin-inline: auto;
  border-radius: 16px;
}

.software-bridge h2,
.software-bridge h3 {
  color: white;
}

.software-bridge p {
  color: rgba(255, 255, 255, 0.9);
}

.software-bridge a:not(.btn) {
  color: white;
}

.software-bridge .btn--white {
  background: transparent;
  border-color: white;
  color: white;
}

.software-bridge__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  align-items: center;
}

.software-bridge__content {
  max-width: 480px;
}

.software-bridge__eyebrow {
  font-family: var(--ff-m);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--sp-4);
}

.software-bridge__title {
  margin-bottom: var(--sp-5);
}

.software-bridge__text {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--sp-6);
}

.software-bridge__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}

.software-bridge__card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-1);
  padding: var(--sp-5);
  transition: background-color var(--tr-fast);
}

.software-bridge__card:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.software-bridge__card-title {
  font-family: var(--ff-h);
  font-size: var(--fs-2);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--sp-2);
}

.software-bridge__card-text {
  font-size: 0.9rem;
  color: rgba(237, 239, 234, 0.7);
}

@media (max-width: 968px) {
  .software-bridge__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .software-bridge__content {
    max-width: none;
    text-align: center;
  }

  .software-bridge__cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-inline: auto;
  }
}

/* ==========================================================================
   PROJEKTE SECTION
   ========================================================================== */

.projects__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--sp-8);
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.projects__title {
  margin-bottom: var(--sp-2);
}

.projects__subtitle {
  color: var(--c-muted);
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.projects__grid .project-card:nth-child(-n+3) {
  grid-column: span 1;
}

@media (max-width: 968px) {
  .projects__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .projects__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .projects__grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PROZESS SECTION
   ========================================================================== */

.process {
  background-color: var(--c-surface);
}

.process__header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--sp-10);
}

.process__title {
  margin-bottom: var(--sp-4);
}

.process__subtitle {
  color: var(--c-muted);
  font-size: var(--fs-2);
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}

.process__connector {
  display: none;
}

@media (max-width: 968px) {
  .process__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .process__grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   QUALITÄTSVERSPRECHEN SECTION
   ========================================================================== */

.quality {
  background: var(--gradient-brand);
  color: white;
  max-width: var(--container-max);
  margin-inline: auto;
  border-radius: 16px;
}

.quality h2 {
  color: white;
}

.quality p {
  color: rgba(255, 255, 255, 0.9);
}

.quality__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  align-items: center;
}

.quality__content {
  max-width: 520px;
}

.quality__eyebrow {
  font-family: var(--ff-m);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--sp-4);
}

.quality__title {
  margin-bottom: var(--sp-5);
}

.quality__text {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--sp-6);
}

.quality__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quality__list li {
  position: relative;
  padding-left: var(--sp-6);
  margin-bottom: var(--sp-4);
  color: rgba(255, 255, 255, 0.9);
}

.quality__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 12px;
  height: 12px;
  background-color: white;
  border-radius: 50%;
}

/* Quality list on light backgrounds */
.quality__list--dark li {
  color: var(--c-text);
}

.quality__list--dark li::before {
  background-color: var(--c-secondary);
}

/* ==========================================================================
   STYLED LIST MARKERS (Check/X)
   ========================================================================== */

.list-styled {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-styled li {
  position: relative;
  padding-left: var(--sp-7);
  margin-bottom: var(--sp-3);
  line-height: 1.5;
}

.list-styled li::before {
  position: absolute;
  left: 0;
  top: 0.15em;
  font-weight: var(--fw-bold);
  font-size: 1rem;
  line-height: 1;
}

/* Check marker */
.list-styled--check li::before {
  content: "✓";
  color: var(--c-secondary);
}

/* X marker */
.list-styled--x li::before {
  content: "✕";
  color: #c44;
}

.quality__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.quality__icon {
  width: 100%;
  max-width: 400px;
  opacity: 0.4;
}

@media (max-width: 968px) {
  .quality__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .quality__content {
    max-width: none;
    text-align: center;
  }

  .quality__list {
    text-align: left;
    max-width: 400px;
    margin-inline: auto;
  }

  .quality__visual {
    display: none;
  }
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.faq__header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--sp-10);
}

.faq__title {
  margin-bottom: var(--sp-4);
}

.faq__subtitle {
  color: var(--c-muted);
  font-size: var(--fs-2);
}

.faq__grid {
  max-width: 800px;
  margin-inline: auto;
}

/* ==========================================================================
   CLOSING CTA SECTION
   ========================================================================== */

.cta-section {
  background-color: var(--c-surface);
}

.cta-section__inner {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
}

.cta-section__title {
  margin-bottom: var(--sp-5);
}

.cta-section__text {
  font-size: var(--fs-2);
  color: var(--c-muted);
  margin-bottom: var(--sp-6);
}

.cta-section__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}

.cta-section__contact {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-6);
  color: var(--c-muted);
  font-size: 0.95rem;
}

.cta-section__contact a {
  color: var(--c-forest);
}

.cta-section__microcopy {
  margin-top: var(--sp-4);
  font-size: 0.85rem;
  color: var(--c-muted);
}

/* ==========================================================================
   TECH DEEP DIVE SECTION (KI-Agenten)
   ========================================================================== */

.tech-deepdive {
  background: var(--c-text);
  color: var(--c-bg);
}

.tech-deepdive__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: start;
}

.tech-deepdive__eyebrow {
  font-family: var(--ff-m);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-secondary);
  margin-bottom: var(--sp-3);
}

.tech-deepdive__title {
  font-size: var(--fs-4);
  color: var(--c-bg);
  margin-bottom: var(--sp-3);
}

.tech-deepdive__subtitle {
  font-family: var(--ff-m);
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--sp-5);
}

.tech-deepdive__text {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--sp-4);
  line-height: var(--lh-relaxed);
}

.tech-deepdive__text strong {
  color: var(--c-bg);
}

.tech-deepdive__text code {
  font-family: var(--ff-m);
  background: rgba(56, 178, 172, 0.2);
  color: var(--c-secondary);
  padding: 2px 6px;
  border-radius: 4px;
}

.tech-deepdive__box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-2);
  overflow: hidden;
}

.tech-deepdive__box-header {
  background: rgba(56, 178, 172, 0.15);
  padding: var(--sp-4) var(--sp-5);
  font-family: var(--ff-m);
  font-size: var(--fs-2);
  color: var(--c-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-deepdive__box-header code {
  background: var(--c-secondary);
  color: var(--c-text);
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: var(--sp-2);
}

.tech-deepdive__box-content {
  padding: var(--sp-5);
}

.tech-deepdive__box-content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--sp-4);
}

.tech-deepdive__box-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-4) 0;
}

.tech-deepdive__box-content li {
  padding: var(--sp-2) 0;
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-deepdive__box-content li:last-child {
  border-bottom: none;
}

.tech-deepdive__box-content code {
  font-family: var(--ff-m);
  background: rgba(56, 178, 172, 0.2);
  color: var(--c-secondary);
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: var(--sp-2);
}

.tech-deepdive__box-footer {
  font-family: var(--ff-m);
  font-size: 0.85rem;
  color: var(--c-secondary);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .tech-deepdive__inner {
    grid-template-columns: 1fr;
  }
}

/* Tech Stack Visual */
.tech-stack-visual {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
}

.tech-stack-item {
  background: var(--c-soft-teal);
  border: 1px solid var(--c-secondary);
  border-radius: var(--r-1);
  padding: var(--sp-3) var(--sp-4);
}

.tech-stack-item code {
  font-family: var(--ff-m);
  font-size: 0.9rem;
  color: var(--c-secondary);
}

/* Card Icon Wrapper */
.card__icon-wrapper {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-soft-teal);
  border-radius: var(--r-1);
}

/* ==========================================================================
   COMPARISON TABLE (Open Source KI)
   ========================================================================== */

.comparison-table {
  border: 1px solid var(--c-border);
  border-radius: var(--r-2);
  overflow: hidden;
  max-width: 900px;
  margin-inline: auto;
}

.comparison-table__header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--c-surface);
  font-weight: var(--fw-semibold);
  border-bottom: 2px solid var(--c-border);
}

.comparison-table__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--c-border);
}

.comparison-table__row:last-child {
  border-bottom: none;
}

.comparison-table__col {
  padding: var(--sp-4) var(--sp-5);
  font-size: 0.95rem;
}

.comparison-table__col--label {
  background: var(--c-surface);
  font-weight: var(--fw-medium);
  color: var(--c-text);
}

.comparison-table__col--highlight {
  background: var(--c-soft-teal);
  color: var(--c-text);
}

.comparison-table__header .comparison-table__col--highlight {
  background: var(--c-secondary);
  color: white;
}

@media (max-width: 768px) {
  .comparison-table__header,
  .comparison-table__row {
    grid-template-columns: 1fr;
  }
  
  .comparison-table__col {
    padding: var(--sp-3) var(--sp-4);
  }
  
  .comparison-table__col--label {
    font-weight: var(--fw-semibold);
    border-bottom: 1px solid var(--c-border);
  }
  
  .comparison-table__header .comparison-table__col:first-child {
    display: none;
  }
}
