/* =========================================================
   IT-Forma – visuelle Verfeinerung
   Ruhigere Navigation, einheitliche Preise, weniger Template-Optik
   ========================================================= */

:root {
  --header-height: 84px;
  --price-color: #1d1d1f;
  --price-muted: #6e6e73;
  --nav-border: rgba(255, 255, 255, 0.10);
}

/* Navigation: bewusst reduziert statt großer Pillenleiste */
.site-header {
  background: rgba(13, 13, 15, 0.97);
  border-bottom-color: var(--nav-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(calc(100% - 40px), 1280px);
  gap: 28px;
}

.brand {
  min-width: 150px;
}

.brand img {
  width: 132px;
  height: auto;
  filter: none;
}

.nav-links {
  position: relative;
  gap: 6px;
  margin-inline: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.nav-links > a,
.nav-dropdown-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 11px;
  border: 0;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 520;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-links > a:hover,
.nav-links > a.active,
.nav-dropdown:hover > .nav-dropdown-toggle,
.nav-dropdown:focus-within > .nav-dropdown-toggle,
.nav-dropdown.active > .nav-dropdown-toggle {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.nav-links > a.active::after,
.nav-dropdown.active > .nav-dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: #2997ff;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  list-style: none;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-chevron {
  width: 7px;
  height: 7px;
  margin: -4px 0 0 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.nav-dropdown[open] .nav-chevron,
.nav-dropdown:hover .nav-chevron {
  margin-top: 3px;
  transform: rotate(225deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 30;
  width: 330px;
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown[open] .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-dropdown-menu a {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 11px 12px;
  border-radius: 10px;
  color: #1d1d1f;
  background: transparent;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  color: #1d1d1f;
  background: #f3f3f5;
}

.nav-dropdown-menu a span,
.nav-dropdown-menu a small {
  display: block;
}

.nav-dropdown-menu a span {
  margin-bottom: 3px;
  font-size: 0.93rem;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.nav-dropdown-menu a small {
  color: #77777c;
  font-size: 0.78rem;
  font-weight: 450;
  line-height: 1.35;
}

.nav-actions {
  min-width: auto;
}

.site-header .nav-cta {
  min-height: 42px;
  padding-inline: 18px;
  border-radius: 10px;
  box-shadow: none;
}

.site-header .nav-cta.active {
  background: #ffffff;
  color: #111111;
}

.mobile-contact-link {
  display: none !important;
}

/* Preise: dieselbe Farbe, Gewichtung und Zahlenwirkung */
.package-price-tag {
  display: block;
  margin: 4px 0 22px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--price-muted);
  background: transparent;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0;
}

.package-price-tag strong {
  display: block;
  margin-top: 4px;
  color: var(--price-color);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.offer-price,
.offer-card.featured .offer-price {
  color: var(--price-color);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.offer-card.featured {
  color: #1d1d1f;
  background: #ffffff;
  border-color: rgba(0, 113, 227, 0.24);
  box-shadow: 0 16px 42px rgba(0, 113, 227, 0.10);
}

.offer-card.featured h3 {
  color: #1d1d1f;
}

.offer-card.featured p {
  color: #5f5f64;
}

.offer-card.featured .btn-light {
  color: #ffffff;
  background: #0071e3;
}

.package-price {
  margin: 6px 0 26px;
  padding: 18px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  background: transparent;
}

.package-price strong,
.price-box .price-main,
.price-main {
  color: var(--price-color);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.package-price span,
.price-box .price-note,
.price-note {
  color: var(--price-muted);
}

.price-board-value,
.catalog-price {
  color: var(--price-color);
  font-weight: 700;
  letter-spacing: -0.025em;
}

/* Die zusätzliche Preisliste bleibt hell, damit Beträge nicht die Farbe wechseln. */
.price-catalog {
  background: #f5f5f7;
  color: #1d1d1f;
}

.price-catalog-head .section-eyebrow {
  color: #0071e3;
}

.price-catalog-head h2,
.catalog-item h3 {
  color: #1d1d1f;
}

.price-catalog-head p,
.catalog-item p {
  color: #626267;
}

.catalog-item {
  border-color: rgba(0, 0, 0, 0.07);
  border-radius: 18px;
  background: #ffffff;
}

/* Weniger runde Kacheln und weniger visuelle "Generator"-Optik */
.price-board {
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.09);
}

.price-board-row {
  border-radius: 14px;
}

.package-card,
.offer-card {
  border-radius: 20px;
}

.package-label {
  margin-bottom: 16px;
  padding: 0;
  border-radius: 0;
  color: #6e6e73;
  background: transparent;
  font-size: 0.74rem;
  letter-spacing: 0.07em;
}

@media (max-width: 1180px) {
  .nav-shell {
    gap: 16px;
  }

  .brand {
    min-width: auto;
  }

  .brand img {
    width: 116px;
  }

  .nav-links {
    top: var(--header-height);
    gap: 2px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;
    background: rgba(13, 13, 15, 0.99);
  }

  .nav-links > a,
  .nav-dropdown-toggle {
    width: 100%;
    min-height: 46px;
    justify-content: space-between;
    padding-inline: 14px;
  }

  .nav-links > a.active::after,
  .nav-dropdown.active > .nav-dropdown-toggle::after {
    display: none;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-menu,
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    position: static;
    width: 100%;
    margin-top: 4px;
    padding: 6px;
    border-color: rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.055);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-dropdown:not([open]) .nav-dropdown-menu {
    display: none;
  }

  .nav-dropdown-menu a,
  .nav-dropdown-menu a:hover,
  .nav-dropdown-menu a.active {
    color: #ffffff;
    background: transparent;
  }

  .nav-dropdown-menu a:hover,
  .nav-dropdown-menu a.active {
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-dropdown-menu a small {
    color: rgba(255, 255, 255, 0.56);
  }

  .mobile-contact-link {
    display: flex !important;
    margin-top: 6px;
    color: #ffffff !important;
    background: #0071e3 !important;
  }
}

@media (max-width: 720px) {
  .nav-shell {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand img {
    width: 108px;
    height: auto;
  }

  .price-board-value,
  .catalog-price {
    text-align: left;
  }
}


/* =========================================================
   IT-Forma – Feinschliff 2
   Bessere Lesbarkeit, ruhigere Navigation, einheitliche Marker
   ========================================================= */

:root {
  --chip-bg: #f3f4f6;
  --chip-border: rgba(0, 0, 0, 0.08);
  --chip-text: #3a3a3c;
}

/* Navigation dezenter und hochwertiger */
@media (min-width: 1181px) {
  .nav-links > a,
  .nav-dropdown-toggle {
    min-height: 40px;
    padding-inline: 10px;
    border-radius: 0;
  }

  .nav-links > a:hover,
  .nav-links > a.active,
  .nav-dropdown:hover > .nav-dropdown-toggle,
  .nav-dropdown:focus-within > .nav-dropdown-toggle,
  .nav-dropdown.active > .nav-dropdown-toggle {
    background: transparent;
  }
}

.nav-dropdown-menu {
  width: 310px;
  padding: 8px;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
}

.site-header .nav-cta {
  border-radius: 8px;
}

/* Kleine Kategorien im Hero besser sichtbar */
.proof-pill,
.tag {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 14px;
  color: var(--chip-text);
  background: var(--chip-bg);
  border-color: var(--chip-border);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Kicker / Abschnittsbezeichnungen: dezenter, aber bewusster */
.eyebrow,
.section-eyebrow,
.price-label,
.package-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #4f6f96;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.eyebrow::before,
.section-eyebrow::before,
.price-label::before,
.package-label::before {
  content: "";
  width: 26px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.55;
}

.package-label {
  margin-bottom: 14px;
  font-size: 0.74rem;
}

/* Mehr Kontrast in dunklen Kacheln */
.section-dark .card {
  background: #131416;
}

.section-dark .card p,
.section-dark .card li {
  color: rgba(255, 255, 255, 0.82);
}

.section-dark .card .check-list li::before {
  border-color: #8ab4ff;
}

/* Nummerierungen überall ruhiger und konsistenter */
.process-card::before,
.ai-card .num,
.flow-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  box-shadow: none;
}

.process-card::before,
.ai-card .num {
  color: #0071e3;
  background: #f3f7fb;
  border: 1px solid rgba(0, 113, 227, 0.14);
  margin-bottom: 18px;
}

.flow-row {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.flow-row span {
  color: #0f457d;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* KI-Seite: weniger generische Kartenoptik */
.ai-panel,
.ai-card,
.example-card,
.offer-card {
  border-radius: 22px;
}

.ai-panel {
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
}

.example-card,
.offer-card {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

/* Buttons auf der KI-Seite klarer sichtbar */
.ai-hero .btn-secondary {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.20);
}

.ai-hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.offer-card.featured .btn-light {
  color: #ffffff;
  background: #0071e3;
  border-color: #0071e3;
}

.offer-card.featured .btn-light:hover {
  background: #0062c4;
  border-color: #0062c4;
}

/* Preis-Hinweis-Chips nie als weiße Blob-Pillen */
.price-badge {
  min-height: 28px;
  padding-inline: 11px;
  border-radius: 12px;
}

@media (max-width: 720px) {
  .proof-pill,
  .tag {
    min-height: 32px;
    padding-inline: 12px;
    font-size: 0.8rem;
  }

  .eyebrow,
  .section-eyebrow,
  .price-label,
  .package-label {
    gap: 8px;
  }

  .eyebrow::before,
  .section-eyebrow::before,
  .price-label::before,
  .package-label::before {
    width: 20px;
  }
}


/* =========================================================
   IT-Forma – Feinschliff 3
   Mobile Navigation, CTA-System, dunkle Bereiche, App-/Shop-Visuals
   ========================================================= */

body.nav-open {
  overflow: hidden;
}

/* CTA-System vereinheitlichen */
.btn,
.site-header .nav-cta,
.mobile-contact-link {
  border-radius: 10px;
}

.btn-primary {
  box-shadow: none;
}

.btn-secondary {
  color: #1d1d1f;
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.10);
}

.btn-secondary:hover {
  background: #f5f5f7;
}

/* Mobile Navigation stabiler */
@media (max-width: 1180px) {
  .nav-links {
    max-height: calc(100dvh - var(--header-height) - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
  }

  .nav-dropdown-menu {
    margin-top: 2px;
  }

  .mobile-toggle {
    position: relative;
    z-index: 40;
  }
}

/* Home: Proof-Chips SEO-freundlich und besser lesbar */
.hero-proof .proof-pill:nth-child(1)::after {
  content: '';
}

/* Dunkle Seiten ruhiger und weniger künstlich */
.ai-hero {
  background:
    radial-gradient(circle at 82% 16%, rgba(0, 113, 227, 0.18), transparent 32%),
    linear-gradient(180deg, #080a0d 0%, #13171c 100%);
}

.ai-hero .eyebrow,
.ai-examples .section-eyebrow {
  color: #a7c9f1 !important;
}

.seo-hero {
  background:
    radial-gradient(circle at 78% 18%, rgba(38, 111, 66, 0.16), transparent 32%),
    radial-gradient(circle at 18% 10%, rgba(0, 113, 227, 0.14), transparent 26%),
    linear-gradient(180deg, #08090c 0%, #14181c 100%);
}

.seo-hero .eyebrow {
  color: #b7dbc0;
}

.app-hero {
  background:
    radial-gradient(circle at 80% 16%, rgba(0, 113, 227, 0.18), transparent 30%),
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.05), transparent 25%),
    linear-gradient(180deg, #06080b 0%, #11141a 100%);
}

.app-hero .eyebrow {
  color: #a7c9f1;
}

/* App-Visual hochwertiger und aufgeräumter */
.app-visual {
  min-height: 540px;
}

.phone-stack {
  height: 540px;
}

.phone {
  width: 220px;
  min-height: 470px;
  padding: 10px;
  border-radius: 36px;
}

.phone-screen {
  min-height: 448px;
  border-radius: 28px;
}

.phone-one {
  left: 34px;
  right: auto;
  top: 64px;
  opacity: 0.86;
}

.phone-two {
  left: 50%;
  right: auto;
  top: 10px;
  transform: translateX(-50%);
}

.phone-three {
  right: 34px;
  top: 72px;
  opacity: 0.86;
}

.app-main-card {
  background:
    radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.80), transparent 24%),
    linear-gradient(135deg, #dfe8f2 0%, #eef2f7 100%) !important;
}

.app-floating-note {
  min-width: 154px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.20);
}

.app-note-one {
  left: -4px;
  top: 116px;
}

.app-note-two {
  right: -6px;
  bottom: 112px;
}

/* Webshop-Visual verfeinern */
.shop-device {
  max-width: 720px;
  margin-inline: auto;
  min-height: 480px;
  border-radius: 30px;
}

.shop-device-main {
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
}

.shop-product-hero {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  background:
    radial-gradient(circle at 68% 20%, rgba(255, 255, 255, 0.78), transparent 22%),
    linear-gradient(135deg, #e7f1ea 0%, #dde8e1 100%);
}

.shop-product-hero::before {
  content: '';
  position: absolute;
  inset: 18% 18% 18% 18%;
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff 0%, #f3f3f5 100%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.shop-buy-button {
  width: 136px;
  height: 40px;
  border-radius: 999px;
  background: #0071e3;
}

.shop-floating-card {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.13);
}

/* Referenzen noch glaubwürdiger lesbar */
.project-feature .check-list strong {
  color: #1d1d1f;
}

.project-feature .btn-row {
  margin-top: 8px;
}

/* Mobile: Visuals sofort sichtbar und sauber skaliert */
@media (max-width: 1100px) {
  .phone {
    width: 210px;
  }

  .phone-one {
    left: 8px;
  }

  .phone-three {
    right: 8px;
  }
}

@media (max-width: 720px) {
  .app-visual,
  .shop-hero-visual {
    order: -1;
    margin-bottom: 6px;
  }

  .app-visual {
    min-height: auto;
  }

  .phone {
    width: min(100%, 300px);
    min-height: 470px;
  }

  .phone-screen {
    min-height: 446px;
  }

  .screen-content {
    padding: 20px 16px 18px;
  }

  .shop-device {
    min-height: auto;
    border-radius: 26px;
  }

  .shop-product-hero {
    min-height: 230px;
  }
}


/* =========================================================
   IT-Forma – Feinschliff 4
   Weniger Pillen / stabilere Mobile Navigation
   ========================================================= */

/* 1) Mobile Navigation als vollwertiges Overlay */
@media (max-width: 1180px) {
  .site-header {
    z-index: 120;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    width: 100%;
    max-height: 100dvh;
    margin: 0;
    padding: calc(var(--header-height) + 16px) 18px 24px;
    border: 0;
    border-radius: 0;
    background: rgba(10, 10, 12, 0.985);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  body.nav-open .nav-links {
    display: flex;
  }

  .nav-links > a,
  .nav-dropdown-toggle,
  .mobile-contact-link {
    min-height: 50px;
    border-radius: 12px;
    justify-content: space-between;
    padding-inline: 16px;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-menu,
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    margin-top: 6px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
  }

  .mobile-toggle {
    position: relative;
    z-index: 130;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
  }

  body.nav-open {
    overflow: hidden;
  }
}

/* 2) Alle Bubble-/Pill-Tags in ruhige Meta-Zeilen verwandeln */
.hero-proof,
.website-hero-pills,
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
}

.proof-pill,
.website-pill,
.project-tag,
.tag,
.app-label,
.shop-system-label,
.website-type-label,
.package-label,
.price-board-pill,
.refs-preview-badge,
.price-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: auto;
  padding: 0 0 0 14px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-transform: none;
}

.proof-pill::before,
.website-pill::before,
.project-tag::before,
.tag::before,
.app-label::before,
.shop-system-label::before,
.website-type-label::before,
.package-label::before,
.price-board-pill::before,
.refs-preview-badge::before,
.price-badge::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.72;
}

.proof-pill,
.website-pill,
.project-tag,
.tag {
  color: #4b5563 !important;
}

.app-label,
.website-type-label,
.package-label,
.price-board-pill,
.price-badge {
  color: #0f5fb5 !important;
}

.shop-system-label {
  color: #1f7a3b !important;
}

.refs-preview-badge {
  color: #0f5fb5 !important;
}

.project-feature:nth-child(even) .project-tag {
  color: rgba(255, 255, 255, 0.88) !important;
}

.project-feature:nth-child(even) .project-tag::before {
  background: currentColor;
  opacity: 0.84;
}

/* leicht andere Abstände in Karten */
.app-label,
.shop-system-label,
.website-type-label,
.package-label {
  margin-bottom: 16px;
}

/* Preisnavigator-Randlabel zurücknehmen */
.price-board-pill {
  font-size: 0.8rem;
}

/* Referenz-Tags stärker vom Inhalt trennen */
.project-tags {
  margin: 22px 0 24px;
}

/* 3) SEO Intent-Tags ebenfalls weniger künstlich */
.intent-tags {
  gap: 10px;
}

.intent-tags span {
  position: relative;
  padding: 0 0 0 14px !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #4b5563 !important;
  font-size: 0.9rem;
  font-weight: 600;
}

.intent-tags span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #34c759;
}

/* 4) Auf dunklen Bereichen bessere Tag-Kontraste */
.section-dark .proof-pill,
.ai-examples .section-eyebrow,
.ai-hero .proof-pill,
.seo-hero .proof-pill,
.software-dark .proof-pill {
  color: rgba(255, 255, 255, 0.86) !important;
}

@media (max-width: 720px) {
  .hero-proof,
  .website-hero-pills,
  .project-tags {
    gap: 12px 16px;
  }

  .proof-pill,
  .website-pill,
  .project-tag,
  .tag,
  .app-label,
  .shop-system-label,
  .website-type-label,
  .package-label,
  .price-board-pill,
  .refs-preview-badge,
  .price-badge,
  .intent-tags span {
    font-size: 0.8rem;
  }
}


/* =========================================================
   IT-Forma – Feinschliff 5
   Mobile Navigation vereinfacht / App-Visual neu ausbalanciert
   ========================================================= */

/* Mobile Navigation: keine verschachtelte Interaktion mehr */
@media (max-width: 1180px) {
  .nav-links {
    z-index: 125;
    align-items: stretch;
    gap: 8px;
  }

  .nav-dropdown {
    display: grid;
    gap: 6px;
  }

  .nav-dropdown-toggle {
    pointer-events: none;
    min-height: 30px !important;
    padding: 4px 2px 2px !important;
    justify-content: flex-start !important;
    color: rgba(255, 255, 255, 0.48) !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase;
    background: transparent !important;
  }

  .nav-chevron {
    display: none !important;
  }

  .nav-dropdown-menu,
  .nav-dropdown:not([open]) .nav-dropdown-menu,
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    display: grid !important;
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-dropdown-menu a {
    min-height: 46px;
    border-radius: 12px;
    padding: 12px 14px;
    background: rgba(255,255,255,0.035);
  }

  .nav-dropdown-menu a small {
    display: block;
    margin-top: 3px;
  }
}

/* App-Illustration sauberer und ähnlicher auf Desktop/Mobile */
.app-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
}

.phone-stack {
  width: min(100%, 560px);
  height: 520px;
}

.phone {
  width: 216px;
  min-height: 450px;
  padding: 10px;
  border-radius: 36px;
  background: linear-gradient(180deg, #111317 0%, #07080a 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
}

.phone-screen {
  min-height: 428px;
  border-radius: 28px;
}

.phone-one,
.phone-three {
  width: 198px;
  min-height: 410px;
  opacity: 0.78;
}

.phone-one {
  left: 22px;
  right: auto;
  top: 72px;
  transform: rotate(-8deg);
}

.phone-two {
  left: 50%;
  right: auto;
  top: 18px;
  transform: translateX(-50%);
  z-index: 2;
}

.phone-three {
  right: 22px;
  top: 76px;
  transform: rotate(8deg);
}

.phone-one .phone-notch,
.phone-three .phone-notch {
  width: 70px;
  height: 20px;
  opacity: 0.95;
}

.phone-two .phone-screen {
  background: #f4f5f7;
}

.phone-two .app-main-card {
  height: 138px;
  margin: 22px 0 16px;
  background: radial-gradient(circle at 74% 18%, rgba(255,255,255,.75), transparent 22%), linear-gradient(135deg, #e3eaf3 0%, #edf1f5 100%) !important;
}

.phone-two .app-list-item:last-child {
  background: #0071e3;
  border-color: #0071e3;
}

.phone-one .app-main-card,
.phone-three .app-main-card {
  height: 126px;
  background: linear-gradient(135deg, #e6ebf0 0%, #eef2f5 100%) !important;
}

.phone-one .app-list-item,
.phone-three .app-list-item {
  height: 44px;
}

.app-floating-note {
  min-width: 136px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.16);
}

.app-floating-note span {
  margin-bottom: 6px;
  font-size: 0.78rem;
}

.app-floating-note strong {
  font-size: 0.98rem;
}

.app-note-one {
  left: 0;
  top: 124px;
}

.app-note-two {
  right: 0;
  bottom: 124px;
}

/* Allgemein etwas mehr grafische Konsistenz */
.visual-panel,
.hero-card,
.shop-browser,
.website-map-window,
.audit-dashboard,
.project-visual-body {
  box-shadow: 0 18px 46px rgba(0,0,0,0.08);
}

@media (max-width: 720px) {
  .app-visual {
    min-height: auto;
    margin-top: 12px;
  }

  .phone-stack {
    width: min(100%, 360px);
    height: 420px;
  }

  .phone {
    width: 176px;
    min-height: 360px;
    border-radius: 30px;
    padding: 8px;
  }

  .phone-screen {
    min-height: 340px;
    border-radius: 24px;
  }

  .phone-one,
  .phone-three {
    width: 154px;
    min-height: 312px;
    top: 74px;
    opacity: 0.62;
  }

  .phone-one {
    left: 0;
  }

  .phone-two {
    top: 10px;
  }

  .phone-three {
    right: 0;
  }

  .phone-notch {
    width: 64px;
    height: 18px;
    margin-top: 9px;
  }

  .screen-content {
    padding: 18px 14px 14px;
  }

  .app-card-line {
    height: 9px;
    margin-bottom: 10px;
  }

  .phone-two .app-main-card,
  .phone-one .app-main-card,
  .phone-three .app-main-card {
    height: 96px;
    border-radius: 20px;
    margin: 18px 0 14px;
  }

  .app-list-card {
    gap: 8px;
    margin-top: 14px;
  }

  .phone-one .app-list-item,
  .phone-three .app-list-item,
  .phone-two .app-list-item {
    height: 32px;
    border-radius: 12px;
  }

  .app-floating-note {
    min-width: 0;
    padding: 10px 12px;
    border-radius: 14px;
  }

  .app-floating-note span {
    font-size: 0.7rem;
    margin-bottom: 4px;
  }

  .app-floating-note strong {
    font-size: 0.88rem;
  }

  .app-note-one {
    left: 4px;
    top: 108px;
  }

  .app-note-two {
    right: 4px;
    bottom: 84px;
  }
}


/* =========================================================
   IT-Forma – Feinschliff 6
   Alte mobile Navigation wiederhergestellt; Desktop unverändert
   ========================================================= */

.mobile-nav-panel {
  display: none;
}

@media (max-width: 1180px) {
  /* Desktop-Menü auf mobilen Geräten vollständig ausblenden. */
  .nav-links,
  body.nav-open .nav-links {
    display: none !important;
  }

  /* Einfaches mobiles Menü wie in der früheren Version. */
  .mobile-nav-panel {
    position: fixed;
    z-index: 115;
    top: var(--header-height);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    max-height: calc(100dvh - var(--header-height) - 16px);
    margin: 0;
    padding: 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 24px;
    background: rgba(18, 18, 20, 0.985);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  }

  .mobile-nav-panel.is-open,
  body.nav-open .mobile-nav-panel {
    display: flex;
  }

  .mobile-nav-panel a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.76);
    background: transparent;
    font-size: 0.98rem;
    font-weight: 520;
    letter-spacing: -0.012em;
  }

  .mobile-nav-panel a:hover,
  .mobile-nav-panel a.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.13);
  }

  .mobile-toggle {
    position: relative;
    z-index: 125;
  }

  /* Die alte Navigation sperrte den Seiten-Scroll nicht. */
  body.nav-open {
    overflow: auto !important;
  }
}

@media (max-width: 420px) {
  .mobile-nav-panel {
    left: 11px;
    right: 11px;
    padding: 12px;
    border-radius: 20px;
  }

  .mobile-nav-panel a {
    min-height: 42px;
    font-size: 0.93rem;
  }
}


/* Referenzen – bessere Lesbarkeit auf dunklen Projektkarten */
.project-feature:nth-child(even) .check-list strong {
  color: #ffffff;
}

.project-feature:nth-child(even) .check-list li {
  color: rgba(255, 255, 255, 0.82);
}
