/*======================================
Theme Name: Luka Designs Divi Child
Theme URI: https://divicake.com/
Description: Divi Child Theme for Luka Designs
Version: 1.0
Author: Luka svonja
Author URI: https://luka-designs.eu/
Template: Divi
======================================*/


/* You can add your own CSS styles here. Use !important to overwrite styles if needed. */

.et_pb_portfolio_module .et_pb_portfolio_image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.et_pb_portfolio_module .et_pb_portfolio_image::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
  pointer-events: none;
}

.et_pb_portfolio_module h2 {
  position: absolute;
  bottom: 16px;
  left: 20px;
  color: #fff !important;
  font-size: 18px;
  font-weight: 800;
  z-index: 2;
  text-transform: uppercase;
  margin: 0;
}

.et_pb_portfolio_module .post-meta,
.et_pb_portfolio_module .entry-title a {
  color: #fff !important;
}

.projekte-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1440px;
  margin: 0 auto;
}

@media (max-width: 980px) {
  .projekte-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .projekte-grid { grid-template-columns: 1fr; gap: 10px; }

  .projekt-overlay {
    padding: 10px;
  }
  .projekt-overlay h3 {
    font-size: 13px;
    margin-bottom: 2px;
  }
  .projekt-overlay p {
    font-size: 11px;
  }
  .projekt-logo {
    max-width: 65%;
    max-height: 40%;
  }
}

@media (max-width: 380px) {
  .projekte-grid { gap: 8px; }
}


@media (max-width: 980px) {
  .home-leistungen-grid {
    display: flex !important;
    grid-template-columns: unset !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px !important;
    margin: 16px 0 !important;
    padding: 4px 16px 12px 16px;
    scrollbar-width: none;
  }

  .home-leistungen-grid::-webkit-scrollbar {
    display: none;
  }

  .home-leistung-card {
    flex: 0 0 78% !important;
    scroll-snap-align: start;
  }

  .home-leistung-card .img-wrap {
    aspect-ratio: 4 / 3;
  }

  .home-leistung-card .card-content {
    padding: 32px 14px 16px 14px;
  }

  .home-leistung-card .card-content h3 {
    font-size: 14px;
    line-height: 1.3;
  }

  .home-leistung-card .card-content p {
    font-size: 12px;
    line-height: 1.4;
  }

  .home-leistung-card .icon-circle {
    width: 42px;
    height: 42px;
    left: 14px;
    bottom: -21px;
    font-size: 16px;
  }
  .home-leistung-card .icon-circle svg { width: 18px; height: 18px; }

  .home-leistung-card.cta {
    flex: 0 0 78% !important;
    padding: 22px 16px !important;
  }
  .home-leistung-card.cta h3 { font-size: 15px; margin-bottom: 10px; }
  .home-leistung-card.cta p { font-size: 12px; margin-bottom: 14px; }
  .home-leistung-card.cta a { font-size: 11.5px; padding: 10px 16px; }
}

@media (min-width: 641px) and (max-width: 980px) {
  .home-leistung-card,
  .home-leistung-card.cta {
    flex: 0 0 42% !important;
  }
}

@media (max-width: 380px) {
  .home-leistung-card,
  .home-leistung-card.cta {
    flex: 0 0 85% !important;
  }
}

  .home-leistung-card {
    flex-direction: row;
    align-items: stretch;
  }

  .home-leistung-card .img-wrap {
    width: 92px;
    aspect-ratio: unset;
    flex-shrink: 0;
  }

  .home-leistung-card .icon-circle {
    display: none;
  }

  .home-leistung-card .card-content {
    padding: 12px 12px 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .home-leistung-card .card-content h3 {
    font-size: 13px;
    line-height: 1.25;
    margin-bottom: 3px;
  }

  .home-leistung-card .card-content p {
    font-size: 11px;
    line-height: 1.3;
  }

  .home-leistung-card.cta {
    flex-direction: column;
    padding: 16px 14px !important;
  }
  .home-leistung-card.cta h3 { font-size: 13.5px; margin-bottom: 8px; }
  .home-leistung-card.cta p { font-size: 11px; margin-bottom: 10px; }
  .home-leistung-card.cta a { font-size: 10.5px; padding: 8px 14px; }


.projekt-card {
  display: block;
  text-decoration: none;
  border-radius: 10px !important;
  overflow: hidden !important;
}

.projekt-image {
  border-radius: 10px;
  overflow: hidden;
}

.projekt-image {
  position: relative;
  aspect-ratio: 5 / 3;
  overflow: hidden;
}

.projekt-image img.wp-post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.55);
  transition: filter 0.35s ease, transform 0.35s ease;
}

.projekt-card:hover .projekt-image img.wp-post-image {
  filter: brightness(0.75);
  transform: scale(1.04);
}

/* Logo - centriran, vidljiv pre hovera */
.projekt-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 55%;
  max-height: 45%;
  object-fit: contain;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 2;
  opacity: 1;
}

.projekt-card:hover .projekt-logo {
  opacity: 0;
  transform: translate(-50%, -70%);
}

/* Overlay tekst - skriven pre hovera, dole */
.projekt-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.projekt-card:hover .projekt-overlay {
  opacity: 1;
  transform: translateY(0);
}

.projekt-overlay h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 -10px 0;
}

.projekt-overlay p {
  color: #ddd;
  font-size: 14px;
  margin: 0;
}

.projekte-filter {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  padding-bottom: 0;
  border-bottom: none;
}

.filter-btn {
  background: transparent;
  border: 1.5px solid #c9c3c3;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #444;
  cursor: pointer;
  padding: 11px 22px !important;
  transition: all 0.15s ease;
}

.filter-btn:hover {
  border-color: #a3312b;
  color: #a3312b;
}

.filter-btn.active {
  background: transparent;
  border-color: #a3312b;
  color: #a3312b;
}

@media (max-width: 700px) {
  .projekte-filter {
    gap: 10px;
    flex-wrap: wrap;
    overflow-x: visible;
    white-space: normal;
    padding-bottom: 0;
  }
}

.process-section {
  background: #F6F6F6;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 25px;
}

.process-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr;
  gap: 30px;
  align-items: start;
  max-width: 1440px;
  margin: 0 auto;
}

@media (max-width: 980px) {
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-intro { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .process-grid { grid-template-columns: 1fr; }
}

.process-intro .eyebrow {
  display: block;
  color: #820000;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.process-intro h2 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
  color: #1c1c1c;
}

.process-section {
  background: linear-gradient(180deg, #f8f7f7 0%, #efecec 100%);
}

.process-step {
  background: #fff;
  border-radius: 16px;
  padding: 34px 24px 28px 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border: 1px solid #ebe6e6;
  position: relative;
  margin-top: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(130,0,0,0.14);
  border-color: #820000;
}

.process-step .step-number {
  position: absolute;
  top: -16px;
  left: 22px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #820000;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(130,0,0,0.35);
  margin-bottom: 0;
}

.process-step .step-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f7e9e9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #820000;
  margin-bottom: 18px;
}

.process-step .step-icon svg {
  width: 26px;
  height: 26px;
}

.process-step h3 {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin: 0 0 10px 0;
  color: #1c1c1c;
}

.process-step p {
  font-size: 14.5px;
  line-height: 1.5;
  color: #6b6b6b;
  margin: 0;
}

/* intro se lepo izdvaja od kartica */
.process-intro {
  padding-top: 14px;
}

/* CTA Banner - full width */
.cta-banner {
  background: #820000;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 40px;
}

.cta-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-text h2 {
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 8px 0;
}

.cta-text p {
  color: #f0d9d9;
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

.cta-btn {
  background: #fff;
  color: #820000;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 0.3px;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.cta-btn:hover {
  background: #f2e6e6;
}

@media (max-width: 640px) {
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-btn { width: 100%; text-align: center; }
}


:root {
    --maroon: #820000;
    --maroon-dark: #650000;
    --maroon-light: #f7e9e9;
    --border: #d8d2d2;
    --text: #1c1c1c;
    --muted: #8a8383;
    --bg: #f6f6f6;
    --card-bg: #ffffff;
  }

  /* This .wrapper is the standalone form card — drop it into the right
     column of a two-column layout (text left / form right). It has its
     own max-width + shadow so it reads as a distinct card. Remove the
     max-width if your column already constrains the width. */
  .wrapper {
    max-width: 720px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    padding: 44px;
    /* Enables @container queries below, so the form adapts to its own
       column width on the page — not the full browser viewport. This
       matters because it will sit in a right-hand column next to text,
       which is narrower than the screen even on desktop. */
    container-type: inline-size;
    container-name: reqform;
  }

  @container reqform (max-width: 560px) {
    .wrapper { padding: 30px 24px; }
  }

  @container reqform (max-width: 400px) {
    .wrapper { padding: 22px 16px; border-radius: 14px; }
  }

  /* Stepper */
  .stepper {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .step-item {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .step-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    background: #b9b3b3;
    color: #fff;
    flex-shrink: 0;
    transition: background 0.2s;
  }

  .step-circle.active,
  .step-circle.done {
    background: var(--maroon);
  }

  .step-label {
    font-weight: 700;
    color: var(--muted);
    font-size: 15px;
    white-space: nowrap;
  }

  .step-label.active,
  .step-label.done {
    color: var(--maroon);
  }

  .step-line {
    flex: 1;
    height: 2px;
    background: var(--border);
    min-width: 24px;
    margin: 0 4px;
  }

  .step-line.done {
    background: var(--maroon);
  }

  @container reqform (max-width: 480px) {
    .step-label { display: none; }
    .step-item { gap: 0; }
    .stepper { justify-content: space-between; }
    .step-line { min-width: 12px; }
  }

  /* Panels */
  .panel { display: none; }
  .panel.active { display: block; animation: fade .25s ease; }

  @keyframes fade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
  }

  h2 {
    font-size: 22px;
    margin: 0 0 6px 0;
  }

  .subtext {
    color: var(--muted);
    font-size: 14.5px;
    margin: 0 0 24px 0;
  }

  label.field-label {
    display: block;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 10px;
  }

  /* Service cards */
  .service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 28px;
  }

  @container reqform (max-width: 560px) {
    .service-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  }

  @container reqform (max-width: 340px) {
    .service-grid { gap: 8px; }
    .service-card { padding: 16px 8px; }
    .service-card .card-title { font-size: 13px; }
    .service-card .icon-circle { width: 42px; height: 42px; font-size: 18px; margin-bottom: 10px; }
  }

  .service-card {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 22px 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s ease;
    background: #fff;
    user-select: none;
  }

  .service-card:hover {
    border-color: var(--maroon);
  }

  .service-card.selected {
    background: var(--maroon);
    border-color: var(--maroon);
    color: #fff;
  }

  .service-card .icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px auto;
    font-size: 22px;
    color: var(--maroon);
  }

  .service-card.selected .icon-circle {
    border-color: #fff;
    color: #fff;
  }

  .service-card .card-title {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.3;
  }

  .service-card .check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 18px;
    height: 18px;
    border: 1.5px solid #cfc9c9;
    border-radius: 4px;
    background: #fff;
  }

  .service-card.selected .check {
    background: #fff;
    border-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .service-card.selected .check::after {
    content: "✕";
    color: var(--maroon);
    font-size: 11px;
    font-weight: 700;
  }

  /* Inputs */
  select, input[type="text"], input[type="email"], input[type="tel"], input[type="date"], textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text);
    background: #fff;
    outline: none;
    transition: border-color 0.15s;
  }

  select:focus, input:focus, textarea:focus {
    border-color: var(--maroon);
  }

  textarea {
    resize: vertical;
    min-height: 130px;
  }

  .field-block { margin-bottom: 26px; }

  .char-count {
    text-align: right;
    font-size: 12.5px;
    color: var(--muted);
    margin-top: 6px;
  }

  .two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 26px;
  }

  @container reqform (max-width: 480px) {
    .two-col { grid-template-columns: 1fr; }
  }

  /* Budget pills */
  .budget-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 26px;
  }

  @container reqform (max-width: 560px) {
    .budget-grid { grid-template-columns: repeat(2, 1fr); }
  }

  @container reqform (max-width: 340px) {
    .budget-pill { padding: 12px 6px; font-size: 13px; }
  }

  .budget-pill {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px 8px;
    text-align: center;
    font-weight: 700;
    font-size: 14.5px;
    cursor: pointer;
    color: var(--text);
    background: #fff;
    transition: all 0.15s;
  }

  .budget-pill:hover {
    border-color: var(--maroon);
    color: var(--maroon);
  }

  .budget-pill.selected {
    background: var(--maroon);
    border-color: var(--maroon);
    color: #fff;
  }

  /* Radios */
  .radio-row {
    display: flex;
    gap: 32px;
    margin-bottom: 30px;
    flex-wrap: wrap;
  }

  .radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
  }

  .radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--maroon);
    cursor: pointer;
  }

  /* Buttons */
  .btn-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 36px;
    gap: 12px;
  }

  @container reqform (max-width: 420px) {
    .btn-row { flex-direction: column-reverse; align-items: stretch; }
    .btn { width: 100%; text-align: center; padding: 14px 20px; }
  }

  .btn {
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14.5px;
    letter-spacing: 0.3px;
    cursor: pointer;
    border: 1.5px solid var(--maroon);
    transition: all 0.15s;
    font-family: inherit;
  }

  .btn-primary {
    background: var(--maroon);
    color: #fff;
  }

  .btn-primary:hover { background: var(--maroon-dark); }

  .btn-secondary {
    background: #fff;
    color: var(--maroon);
  }

  .btn-secondary:hover { background: var(--maroon-light); }

  .btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
  }

  .spacer { flex: 1; }

  /* Summary */
  .summary-box {
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    margin: 30px 0 24px 0;
  }

  .summary-header {
    background: #f4f2f2;
    padding: 16px 22px;
    font-weight: 700;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
  }

  .summary-body {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    padding: 22px;
  }

  @container reqform (max-width: 560px) {
    .summary-body { grid-template-columns: 1fr; gap: 20px; }
  }

  .summary-col {
    padding: 0 20px;
    border-left: 1px solid var(--border);
  }

  .summary-col:first-child { border-left: none; padding-left: 0; }

  @container reqform (max-width: 560px) {
    .summary-col { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 16px; }
    .summary-col:first-child { border-top: none; padding-top: 0; }
  }

  .summary-col h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
  }

  .summary-col p, .summary-col ul {
    margin: 0 0 16px 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
  }

  .summary-col ul { padding-left: 0; list-style: none; }
  .summary-col li { margin-bottom: 2px; }

  .consent-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text);
    margin-bottom: 30px;
  }

  .consent-row input[type="checkbox"] {
    margin-top: 3px;
    width: 17px;
    height: 17px;
    accent-color: var(--maroon);
    flex-shrink: 0;
  }

  .consent-row a { color: var(--maroon); text-decoration: underline; }

  .success-screen {
    text-align: center;
    padding: 40px 10px;
  }

  .success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--maroon);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px auto;
  }



.leistungen-list {
  max-width: 1440px;
  margin: 0 auto;
  padding: 50px 0px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.leistung-row {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.07);
  display: grid;
  grid-template-columns: 400px 1fr 130px;
  overflow: hidden;
}

.leistung-image {
  position: relative;
  min-height: 300px;
}

.leistung-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.leistung-content {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.leistung-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #820000;
  color: #820000;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.leistung-icon svg {
  width: 20px;
  height: 20px;
}

.leistung-content h3 {
  font-size: 21px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 10px 0;
  color: #1c1c1c;
}

.leistung-content > p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #555;
  margin: 0 0 16px 0;
  max-width: 640px;
}

.leistung-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 32px;
  padding: 0;
  margin: 0;
  list-style: none !important;
  list-style-type: none !important;
  max-width: 640px;
}

.leistung-features li {
  font-size: 14px;
  color: #333;
  position: relative;
  padding-left: 16px;
  list-style: none !important;
  list-style-type: none !important;
}

.leistung-features li::marker {
  content: "";
}

.leistung-features li::before {
  content: "•";
  color: #820000;
  position: absolute;
  left: 0;
  font-weight: 800;
}

.leistung-number {
  border-left: 1px solid #e2dede;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 20px 10px;
}

.leistung-number .num {
  font-size: 34px;
  font-weight: 800;
  color: #820000;
  line-height: 1;
}

.leistung-number .label {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #820000;
  text-align: center;
}

@media (max-width: 980px) {
  .leistung-row {
    grid-template-columns: 1fr;
  }

  .leistung-number {
    order: 1;
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    border-left: none;
    border-top: none;
    border-bottom: 1px solid #e2dede;
    padding: 14px 20px;
  }

  .leistung-number .num { font-size: 22px; }
  .leistung-number .label { font-size: 11px; }

  .leistung-image {
    order: 2;
    min-height: 200px;
  }

  .leistung-content {
    order: 3;
    padding: 20px 20px 22px 20px;
  }

  .leistung-content > p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
  }

  .leistung-features {
    display: none;
    grid-template-columns: 1fr 1fr;
  }

  .leistung-row.expanded .leistung-content > p {
    -webkit-line-clamp: unset;
    overflow: visible;
  }

  .leistung-row.expanded .leistung-features {
    display: grid;
  }

  .leistung-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    background: none;
    border: none;
    color: #820000;
    font-weight: 700;
    font-size: 14px;
    padding: 0;
    cursor: pointer;
  }

  .leistung-toggle::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid #820000;
    border-bottom: 2px solid #820000;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
  }

  .leistung-row.expanded .leistung-toggle::after {
    transform: rotate(-135deg);
    margin-bottom: 2px;
  }
}

@media (min-width: 981px) {
  .leistung-toggle { display: none; }
}


/* ---------- DESKTOP (Standard) ---------- */
h1, .h1 {
  font-size: 56px !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  letter-spacing: -0.5px !important;
}

h2, .h2 {
  font-size: 40px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: -0.3px !important;
}

h3, .h3 {
  font-size: 22px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
}

h4, .h4 {
  font-size: 20px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
}

h5, .h5 {
  font-size: 18px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}

h6, .h6 {
  font-size: 15px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

body, p {
  font-size: 17px !important;
  line-height: 1.65 !important;
  font-weight: 400 !important;
}

.text-sm, small {
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.text-xs {
  font-size: 12.5px !important;
  line-height: 1.4 !important;
}

/* Buttons / CTAs */
.et_pb_button, button, .btn {
  font-size: 14.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
}

/* ---------- TABLET (max-width: 980px) ---------- */
@media (max-width: 980px) {
  h1, .h1 {
    font-size: 42px !important;
    line-height: 1.18 !important;
  }
  h2, .h2 {
    font-size: 32px !important;
    line-height: 1.22 !important;
  }
  h3, .h3 {
    font-size: 24px !important;
    line-height: 1.28 !important;
  }
  h4, .h4 {
    font-size: 20px !important;
    line-height: 1.32 !important;
  }
  h5, .h5 {
    font-size: 17px !important;
  }
  h6, .h6 {
    font-size: 14.5px !important;
  }
  body, p {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }
  .text-sm, small {
    font-size: 13.5px !important;
  }
  .et_pb_button, button, .btn {
    font-size: 14px !important;
  }
}

/* ---------- HANDY (max-width: 640px) ---------- */
@media (max-width: 640px) {
  h1, .h1 {
    font-size: 32px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.2px !important;
  }
  h2, .h2 {
    font-size: 26px !important;
    line-height: 1.25 !important;
  }
  h3, .h3 {
    font-size: 21px !important;
    line-height: 1.3 !important;
  }
  h4, .h4 {
    font-size: 18px !important;
    line-height: 1.35 !important;
  }
  h5, .h5 {
    font-size: 16px !important;
  }
  h6, .h6 {
    font-size: 14px !important;
  }
  body, p {
    font-size: 15.5px !important;
    line-height: 1.55 !important;
  }
  .text-sm, small {
    font-size: 13px !important;
  }
  .text-xs {
    font-size: 12px !important;
  }
  .et_pb_button, button, .btn {
    font-size: 13.5px !important;
    padding: 2px 10px !important;
  }
}


.projekt-card {
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  transform: translateY(0) scale(1);
}

.projekt-card.pm-hide {
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
}

.projekt-card.pm-enter {
  opacity: 0;
  transform: translateY(20px) scale(0.96);
}

/* ===== Mobile Menu ===== */

.pm-mobile-menu-wrap {
  position: relative;
}

/* Burger button */
.pm-burger {
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 0;
  z-index: 10000;
  position: relative;
}

.pm-burger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #1c1c1c;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1),
              opacity 0.25s ease,
              background 0.3s ease;
}

.pm-burger.open span {
  background: #fff;
}

.pm-burger.open span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}
.pm-burger.open span:nth-child(2) {
  opacity: 0;
}
.pm-burger.open span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* Fullscreen overlay */
.pm-mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #820000;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  box-sizing: border-box;

  opacity: 0;
  visibility: hidden;
  clip-path: circle(4% at calc(100% - 44px) 40px);
  transition: clip-path 0.55s cubic-bezier(0.65, 0, 0.35, 1),
              opacity 0.3s ease,
              visibility 0s linear 0.55s;
}

.pm-mobile-overlay.open {
  opacity: 1;
  visibility: visible;
  clip-path: circle(150% at calc(100% - 44px) 40px);
  transition: clip-path 0.55s cubic-bezier(0.65, 0, 0.35, 1),
              opacity 0.3s ease,
              visibility 0s linear 0s;
}

.pm-mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
}

.pm-nav-link {
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-decoration: none;
  padding: 10px 0;

  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  transition-delay: calc(var(--i) * 0.07s);
}

.pm-mobile-overlay.open .pm-nav-link {
  opacity: 1;
  transform: translateY(0);
}

.pm-nav-link:hover {
  color: #f2d9d9;
}

.pm-mobile-cta {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  transition-delay: calc(var(--i) * 0.07s);
}

.pm-mobile-overlay.open .pm-mobile-cta {
  opacity: 1;
  transform: translateY(0);
}

.pm-mobile-cta-btn {
  display: inline-block;
  background: #fff;
  color: #820000;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.3px;
  padding: 16px 34px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.pm-mobile-cta-btn:active {
  transform: scale(0.97);
}

@media (min-width: 981px) {
  .pm-mobile-menu-wrap { display: none; }
}


/* ==========================================================================
   PROJECT TEMPLATE STYLES (Galerije, Reels, Stories, 16:9 Videi & Lightbox)
   ========================================================================== */

/* ============================================
   1. PROJEKT GALERIJA (GRID & HOVER)
   ============================================ */

div.et_pb_code_inner div.pg-wrapper {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.pg-row {
    display: grid !important;
    gap: 8px !important;
}

.pg-cols-3 {
    grid-template-columns: repeat(3, 1fr) !important;
}

.pg-cols-4 {
    grid-template-columns: repeat(4, 1fr) !important;
}

.pg-item {
    overflow: hidden;
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    transition: box-shadow 0.4s ease, transform 0.4s ease !important;
    will-change: box-shadow;
	border-radius: 4px !important;
}

.pg-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.4s ease !important;
}

/* Hover efekti na slikama */
.pg-item:hover img {
    transform: scale(1.04) !important;
}

.pg-item:hover {
    box-shadow: 0px 0px 20px 2px rgba(136, 0, 0, 0.5) !important;
}

/* Kursor prstić na slikama za lightbox */
.pg-lightbox-trigger {
    cursor: pointer;
}

/* ============================================
   2. GALERIJA LIGHTBOX (POP-UP SLIKA)
   ============================================ */

.pg-lightbox {
    position: fixed;
    z-index: 9999999; /* Izand navigacije i ostalih elemenata */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
}

.pg-lightbox-content {
    max-width: 85%;
    max-height: 85vh;
    object-fit: contain;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    border-radius: 4px;
    animation: zoomIn 0.3s ease;
}

/* Dugme za zatvaranje (X) */
.pg-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.pg-lightbox-close:hover {
    color: #bbb;
}

/* Strelice levo / desno */
.pg-lightbox-arrow {
    position: absolute;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    padding: 20px;
    cursor: pointer;
    transition: 0.2s;
    top: 50%;
    transform: translateY(-50%);
}

.pg-lightbox-arrow:hover {
    color: #bbb;
}

.pg-arrow-left { left: 20px; }
.pg-arrow-right { right: 20px; }

/* Animacija pojavljivanja */
@keyframes zoomIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ============================================
   3. PROJEKT REELS (VERTIKALNI VIDEI 9:16)
   ============================================ */

.pr-wrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.pr-item {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border: 1px solid #5A5A5A;
    border-radius: 4px;
    cursor: pointer;
    transition: box-shadow 0.4s ease;
}

.pr-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.pr-item.playing video {
    pointer-events: auto;
}

/* Play button */
.pr-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.pr-play-btn svg {
    width: 18px;
    height: 18px;
    fill: #fff;
    margin-left: 3px;
}

.pr-item.playing .pr-play-btn {
    opacity: 0;
}

/* Title overlay */
.pr-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 12px !important;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    color: #fff;
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 !important;
    z-index: 2;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.pr-item.playing .pr-title {
    opacity: 0;
}

/* ============================================
   4. PROJEKT STORIES (MOCKUP ZASLONA TELEFONA)
   ============================================ */

.ps-wrapper {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.ps-item {
    flex: 1;
    min-width: 160px;
    max-width: 220px;
}

.ps-phone {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 9 / 19.5;
}

.ps-screen {
    width: 100%;
    height: 100%;
}

.ps-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================
   5. PROJEKT VIDEI (HORIZONTALNI VIDEI 16:9)
   ============================================ */

.pv-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.pv-item {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid #5A5A5A;
    border-radius: 4px;
    cursor: pointer;
}

.pv-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.pv-item.playing video {
    pointer-events: auto;
}

/* Play button */
.pv-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.pv-play-btn svg {
    width: 22px;
    height: 22px;
    fill: #fff;
    margin-left: 4px;
}

.pv-item.playing .pv-play-btn {
    opacity: 0;
    pointer-events: none;
}

/* Title overlay */
.pv-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 12px !important;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    color: #fff;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 !important;
    z-index: 2;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.pv-item.playing .pv-title {
    opacity: 0;
}

/* ============================================
   6. RESPONSIVE / MOBILE ADAPTACIJE (<= 768px)
   ============================================ */

@media (max-width: 768px) {
    /* Galerija pretvaranje u 2 kolone */
    div.et_pb_code_inner div.pg-wrapper {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    div.et_pb_code_inner .pg-row {
        display: contents !important;
    }

    /* Lightbox prilagođavanje */
    .pg-lightbox-content {
        max-width: 95%;
    }
    .pg-lightbox-arrow {
        font-size: 35px;
        padding: 10px;
    }
    .pg-arrow-left { left: 5px; }
    .pg-arrow-right { right: 5px; }

    /* Reels pretvaranje u 2 kolone */
    .pr-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 16:9 Videi pretvaranje u 1 kolonu */
    .pv-wrapper {
        grid-template-columns: 1fr;
    }
}



/* ===== Projekt Detail: Statistiken ===== */
/* ===== Projekt Detail: Statistiken ===== */
.pm-stats-box {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.07);
  display: flex;
  align-items: stretch;
  padding: 48px 40px;
  max-width: 1440px;
  width: 100%;
  box-sizing: border-box;
  margin: 40px auto;
}

.pm-stat-item {
  flex: 1;
  text-align: center;
  padding: 0 32px;
}

.pm-stat-zahl {
  font-size: 52px;
  font-weight: 800;
  color: #820000;
  line-height: 1;
  margin-bottom: 14px;
}

.pm-stat-label {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #1c1c1c;
  margin-bottom: 12px;
}

.pm-stat-beschreibung {
  font-size: 14.5px !important;
  color: #6b6b6b;
  line-height: 1.5 !important;
  font-weight: 400 !important;
  margin: 0 !important;
}

.pm-stats-divider {
  width: 1px;
  background: #e2dede;
  flex-shrink: 0;
}

@media (max-width: 780px) {
  .pm-stats-box {
    flex-direction: column;
    gap: 28px;
    padding: 32px 24px;
  }
  .pm-stats-divider {
    width: 100%;
    height: 1px;
  }
  .pm-stat-zahl { font-size: 38px; }
}

/* ===== Projekt Detail: Partner Logos ===== */
.pm-partner-section {
  max-width: 900px; /* Smanjeno sa 1440px da nema praznine sa strana */
  width: 100%;
  box-sizing: border-box;
  margin: 40px auto;
}

.pm-partner-eyebrow {
  display: block;
  color: #820000;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.pm-partner-logos {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 16px 0; /* Smanjen vertikalni prazan prostor */
  box-sizing: border-box;
}

.pm-partner-logo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px; /* Smanjen unutrašnji prostor do linija */
}

/* Logotipi popunjavaju širinu kolone umesto da budu sitni */
.pm-partner-logo img {
  height: 110px;
  width: 100%;  
  max-width: 200px; /* Popunjava prostor do linija */
  display: block;
  object-fit: contain;
}

/* Vertikalna linija - zbijenija uz logotipe */
.pm-partner-divider {
  width: 1.5px;
  height: 65px;
  background: #d8d2d2;
  flex-shrink: 0;
}

/* Horizontalna linija */
.pm-partner-row-divider {
  height: 1.5px;
  background: #d8d2d2;
  width: 100%;
  margin: 0;
}

/* Tekst u poslednjem polju */
.pm-partner-extra {
  flex: 1;
  color: #820000;
  font-weight: 800 !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding-left: 20px;
  text-align: left;
}

/* Mobile */
@media (max-width: 640px) {
  /* Sakriva sve horizonalne linije/border-e i hr tagove u partner sekciji */
  .pm-partner-section hr,
  .pm-partner-logos hr,
  .pm-partner-divider {
    display: none !important;
    border: none !important;
  }

  /* Ako su linije bile border na samim logotipima ili wrap-u */
  .pm-partner-logos > * {
    border: none !important;
    border-bottom: none !important;
    border-top: none !important;
  }

  .pm-partner-logos {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 24px 16px !important;
  }

  .pm-partner-logo img,
  .pm-partner-logos img {
    max-width: 130px !important;
    height: auto !important;
    object-fit: contain !important;
  }
}

/* ===== Projekt Detail: Statistiken KOMPAKT (2x2, za uske kolone) ===== */
.pm-stats-box-kompakt {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.07);
  padding: 64px 30px;
  width: 100%;
  box-sizing: border-box;

  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
  row-gap: 28px;
}

.pm-stat-item-kompakt {
  text-align: center;
  padding: 0 12px;
  position: relative;
}

.pm-stat-item-kompakt:nth-child(odd)::after {
  content: "";
  position: absolute;
  top: 10%;
  right: 0;
  height: 80%;
  width: 1px;
  background: #e2dede;
}

.pm-stat-zahl-kompakt {
  font-size: 62px;
  font-weight: 800;
  color: #820000;
  line-height: 1;
  margin-bottom: 10px;
}

.pm-stat-label-kompakt {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #1c1c1c;
  margin-bottom: 8px;
}

.pm-stat-beschreibung-kompakt {
  font-size: 13px !important;
  color: #6b6b6b;
  line-height: 1.4 !important;
  font-weight: 400 !important;
  margin: 0 !important;
}

@media (max-width: 480px) {
  .pm-stats-box-kompakt {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    row-gap: 24px;
  }
  .pm-stat-item-kompakt:nth-child(odd)::after {
    display: none;
  }
  .pm-stat-zahl-kompakt { font-size: 32px; }
}


/* ===== Projekt Detail: Testimonial ===== */
.pm-testimonial-box {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: 1fr 280px; /* Leva strana fleksibilna, desna slika 280px */
  max-width: 800px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden; /* Seče sliku po radijusu kartice */
}

/* Navodnik ide na vrh leve kolone */
.pm-testimonial-quote-mark {
  grid-column: 1;
  font-size: 64px;
  font-weight: 800;
  color: #820000;
  line-height: 0.6;
  font-family: Georgia, serif;
  margin: 40px 0 0 40px;
}

/* Tekst ide ispod navodnika u istoj levoj koloni */
.pm-testimonial-content {
  grid-column: 1;
  padding: 16px 36px 40px 40px; /* Gornji padding smanjen jer je quote iznad */
}

.pm-testimonial-text {
  font-size: 16px !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
  color: #1a1a1a;
  margin: 0 0 24px 0 !important;
}

.pm-testimonial-name {
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  color: #820000;
  margin: 0 !important;
	padding-bottom: 0px !important;
}

.pm-testimonial-position {
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  color: #333333;
  margin: 4px 0 0 0 !important;
}

/* Slika ide u desnu kolonu i proteže se od vrha do dna */
.pm-testimonial-bild {
  grid-column: 2;
  grid-row: 1 / span 2; /* Zauzima visinu i navodnika i teksta */
  height: 100%;
}

.pm-testimonial-bild img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobile */
@media (max-width: 600px) {
	
.pm-testimonial-box {
  grid-template-columns: 1fr 1fr; /* Leva strana fleksibilna, desna slika 280px */
}
  .pm-testimonial-content {
    padding: 20px 15px 20px 20px !important;
  }
  
  .pm-testimonial-text {
    font-size: 13px !important;
    margin-bottom: 16px !important;
  }

  .pm-testimonial-quote-mark {
    margin-bottom: 8px !important;
	margin-left: 20px !important;
  }

  .pm-testimonial-name {
    font-size: 14px !important;
  }

  .pm-testimonial-position {
    font-size: 11px !important;
  }
}

/* ===== Projekt Detail: Leistungen Grid ===== */
.pm-leistungen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1440px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
}

.pm-leistung-card {
  background: #ffffff !important;
  border-radius: 16px !important;
  border: 1px solid rgba(130, 0, 0, 0.12) !important;
  box-shadow: 0 4px 20px rgba(130, 0, 0, 0.05) !important;
  padding: 32px 24px !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.pm-leistung-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 12px 30px rgba(130, 0, 0, 0.12) !important;
  border-color: rgba(130, 0, 0, 0.2) !important;
}


.pm-leistung-icon {
  width: 84px;
  height: 84px;
  color: #820000;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.pm-leistung-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.8;
}

.pm-leistung-card h4 {
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin: 0 0 18px 0 !important;
  color: #1c1c1c;
  text-align: center;
}

.pm-leistung-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pm-leistung-card li {
  font-size: 14.5px;
  color: #555;
  padding-left: 16px;
  position: relative;
  margin-bottom: 10px;
  line-height: 1.4;
}

.pm-partner-extra {
  color: #820000;
  font-weight: 800 !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.pm-leistung-card li::before {
  content: "•";
  color: #820000;
  position: absolute;
  left: 0;
  font-weight: 800;
}

@media (max-width: 980px) {
  .pm-leistungen-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .pm-leistungen-grid { grid-template-columns: 1fr; gap: 16px; }
}


.pm-weitere-projekte {
  max-width: 1440px;
  width: 100%;
  box-sizing: border-box;
  margin: 60px auto;
}

.pm-weitere-eyebrow {
  display: block;
  color: #820000;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pm-weitere-titel {
  font-size: 32px !important;
  font-weight: 800 !important;
  color: #1c1c1c;
  margin: 0 0 28px 0 !important;
}

.pm-weitere-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pm-weitere-cta {
  text-align: center;
  margin-top: 32px;
}

.pm-weitere-btn {
  display: inline-block;
  border: 1.5px solid #820000;
  color: #820000;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.3px;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pm-weitere-btn:hover {
  background: #820000;
  color: #fff;
}

@media (max-width: 980px) {
  .pm-weitere-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .pm-weitere-grid { grid-template-columns: 1fr; gap: 14px; }
  .pm-weitere-titel { font-size: 24px !important; }
}

.pm-ueber-projekt {
  max-width: 1440px;
  width: 100%;
  box-sizing: border-box;
  margin: 0px auto;
}

.pm-ueber-columns {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.pm-ueber-col {
  flex: 1;
  min-width: 0;
}

.pm-ueber-col p {
  font-size: 21px !important;
  line-height: 1.65 !important;
  font-weight: 400 !important;
  color: #333;
  margin: 0 0 16px 0 !important;
}

@media (max-width: 980px) {
  .pm-ueber-columns {
    flex-wrap: wrap;
    gap: 24px;
  }
  .pm-ueber-col {
    flex: 1 1 45%;
  }
}

@media (max-width: 640px) {
  .pm-ueber-columns {
    flex-direction: column;
  }
  .pm-ueber-col {
    flex: 1 1 100%;
  }
}








#menu-main-menu li.current-menu-item > a,
#menu-main-menu li.current_page_item > a {
  position: relative !important;
}

#menu-main-menu li.current-menu-item > a::after,
#menu-main-menu li.current_page_item > a::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 65% !important;
  bottom: -6px !important;
  height: 2px !important;
  width: auto !important;
  background: #820000 !important;
  transform: none !important;
}