/*
 * Wenzel Verkaufsprojekte
 * Frontend v0.2
 */

/* ==========================================
   BASIS
   ========================================== */

.wvp-project {
  --wvp-black: #181818;
  --wvp-dark: #242424;
  --wvp-text: #333333;
  --wvp-muted: #717171;
  --wvp-light: #f6f6f4;
  --wvp-border: #e4e4e1;
  --wvp-white: #ffffff;

  width: 100%;
  background: var(--wvp-white);
  color: var(--wvp-text);
  overflow: hidden;
}

.wvp-project *,
.wvp-project *::before,
.wvp-project *::after {
  box-sizing: border-box;
}

.wvp-container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.wvp-content-container {
  width: min(1050px, calc(100% - 48px));
  margin: 0 auto;
}

/* ==========================================
   TYPOGRAFIE
   ========================================== */

.wvp-eyebrow,
.wvp-section-label {
  display: block;
  margin-bottom: 18px;

  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;

  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.wvp-project h1,
.wvp-project h2,
.wvp-project h3 {
  color: var(--wvp-black);
}

.wvp-project h1 {
  margin: 0;

  font-size: clamp(42px, 6vw, 82px);
  line-height: 1.02;
  font-weight: 500;

  letter-spacing: -0.035em;
}

.wvp-project h2 {
  margin-top: 0;

  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  font-weight: 500;

  letter-spacing: -0.025em;
}

/* ==========================================
   HERO
   ========================================== */

.wvp-hero {
  position: relative;
  display: flex;
  align-items: flex-end;

  min-height: 64vh;

  background: var(--wvp-light);
}

.wvp-hero-has-image {
  min-height: min(780px, 78vh);
  color: white;
}

.wvp-hero-image {
  position: absolute;
  inset: 0;
}

.wvp-hero-has-image h1 {
  max-width: 950px;
  color: #ffffff !important;
}

.wvp-hero-has-image .wvp-eyebrow {
  color: rgba(255, 255, 255, 0.85) !important;
}

.wvp-hero-has-image .wvp-hero-intro {
  color: rgba(255, 255, 255, 0.9) !important;
}

.wvp-hero-image img {
  width: 100%;
  height: 100%;

  display: block;
  object-fit: cover;
}

.wvp-hero-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.1) 15%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.72) 100%
  );
}

.wvp-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 110px 0 120px;
}

.wvp-hero-has-image h1 {
  max-width: 950px;
  color: white;
}

.wvp-hero-has-image .wvp-eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.wvp-hero-no-image .wvp-hero-content {
  padding-top: 150px;
}

.wvp-hero-intro {
  max-width: 700px;
  margin-top: 28px;

  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
}

.wvp-hero-has-image .wvp-hero-intro {
  color: rgba(255, 255, 255, 0.9);
}

/* ==========================================
   CONTENT
   ========================================== */

.wvp-main-content {
  padding: 100px 0 120px;
}

.wvp-content {
  font-size: 18px;
  line-height: 1.75;
}

.wvp-content > *:first-child {
  margin-top: 0;
}

.wvp-content p {
  margin-bottom: 1.5em;
}

.wvp-content h2 {
  margin-top: 72px;
  margin-bottom: 28px;
}

.wvp-content h3 {
  margin-top: 48px;
  margin-bottom: 20px;

  font-size: 27px;
  line-height: 1.25;
}

.wvp-content img {
  max-width: 100%;
  height: auto;
}

.wvp-content figure {
  margin-top: 48px;
  margin-bottom: 48px;
}

.wvp-content .wp-block-gallery {
  margin-top: 48px;
  margin-bottom: 48px;
}

.wvp-content a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.wvp-content > p,
.wvp-content > h2,
.wvp-content > h3,
.wvp-content > ul,
.wvp-content > ol {
  max-width: 760px;
}

/* ==========================================
   PLACEHOLDER
   ========================================== */

.wvp-placeholder-content {
  padding: 55px;

  background: var(--wvp-light);
  border: 1px solid var(--wvp-border);
}

.wvp-placeholder-content h2 {
  margin: 0 0 24px;
}

/* ==========================================
   BUTTONS
   ========================================== */

.wvp-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;

  margin-top: 42px;
}

.wvp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 52px;
  padding: 14px 28px;

  border: 1px solid transparent;

  font-size: 15px;
  font-weight: 500;
  line-height: 1;

  text-decoration: none !important;

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.wvp-button:hover {
  transform: translateY(-2px);
}

.wvp-button-primary {
  background: var(--wvp-black);
  color: white !important;
}

.wvp-button-primary:hover {
  background: #000000;
}

.wvp-button-secondary {
  background: transparent;
  color: var(--wvp-black) !important;
  border-color: var(--wvp-black);
}

.wvp-button-secondary:hover {
  background: var(--wvp-black);
  color: white !important;
}

.wvp-button-light {
  background: white;
  color: var(--wvp-black) !important;
}

.wvp-button-light:hover {
  background: var(--wvp-light);
}

/* ==========================================
   STATUSSEITEN
   ========================================== */

.wvp-status-page {
  min-height: 72vh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 120px 24px;

  background: var(--wvp-light);
}

.wvp-status-inner {
  width: min(850px, 100%);
  margin: 0 auto;

  text-align: center;
}

.wvp-status-badge {
  display: table;

  margin: 0 auto 32px;
  padding: 9px 15px;

  background: white;
  border: 1px solid var(--wvp-border);

  font-size: 12px;
  font-weight: 600;
  line-height: 1;

  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.wvp-status-badge-sold {
  background: var(--wvp-black);
  color: white;
  border-color: var(--wvp-black);
}

.wvp-status-title {
  margin-bottom: 32px !important;
}

.wvp-status-lead {
  max-width: 670px;
  margin: 35px auto 16px;

  color: var(--wvp-black);

  font-size: clamp(21px, 2.5vw, 29px);
  line-height: 1.4;
}

.wvp-status-text {
  max-width: 650px;
  margin: 0 auto;

  color: var(--wvp-muted);

  font-size: 17px;
  line-height: 1.75;
}

.wvp-brandline {
  margin-top: 75px;

  color: var(--wvp-muted);

  font-size: 12px;
  font-weight: 600;

  text-transform: uppercase;
  letter-spacing: 0.17em;
}

/* ==========================================
   KONTAKT
   ========================================== */

.wvp-contact {
  padding: 90px 0;

  background: var(--wvp-black);
  color: white;
}

.wvp-contact-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;

  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: 80px;
}

.wvp-contact .wvp-section-label {
  color: rgba(255, 255, 255, 0.55);
}

.wvp-contact h2 {
  margin-bottom: 20px;
  color: #ffffff !important;
}

.wvp-contact .wvp-section-label {
  color: rgba(255, 255, 255, 0.65) !important;
}

.wvp-contact p {
  color: rgba(255, 255, 255, 0.78) !important;
}

.wvp-contact .wvp-phone {
  color: #ffffff !important;
}

.wvp-contact p {
  max-width: 600px;
  margin: 0;

  color: rgba(255, 255, 255, 0.7);

  font-size: 18px;
  line-height: 1.65;
}

.wvp-contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.wvp-phone {
  color: white !important;

  font-size: 16px;
  text-decoration: none !important;
}

/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 900px) {
  .wvp-hero {
    min-height: 560px;
  }

  .wvp-contact-inner {
    grid-template-columns: 1fr;
    gap: 45px;
  }
}

@media (max-width: 600px) {
  .wvp-container,
  .wvp-content-container,
  .wvp-contact-inner {
    width: min(100% - 32px, 1180px);
  }

  .wvp-hero {
    min-height: 500px;
  }

  .wvp-hero-has-image {
    min-height: 620px;
  }

  .wvp-hero-content {
    padding: 60px 0;
  }

  .wvp-hero-no-image .wvp-hero-content {
    padding-top: 110px;
  }

  .wvp-project h1 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .wvp-main-content {
    padding: 70px 0 80px;
  }

  .wvp-content {
    font-size: 17px;
  }

  .wvp-content h2 {
    margin-top: 55px;
  }

  .wvp-placeholder-content {
    padding: 32px 25px;
  }

  .wvp-status-page {
    min-height: 70vh;
    padding: 85px 20px;
  }

  .wvp-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .wvp-button {
    width: 100%;
  }

  .wvp-contact {
    padding: 65px 0;
  }
}
