/*
Theme Name: GVP Capital
Theme URI: https://gvp-capital.de/
Author: GVP Capital
Description: Individuelles, responsives WordPress-Theme für GVP Capital. Inhalte werden unter Design > GVP Inhalte gepflegt.
Version: 1.0.1
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: gvp-capital
*/

    :root {
      --ink: #101215;
      --coal: #1a1d21;
      --blue: #2785cf;
      --blue-dark: #1d5e91;
      --ice: #eaf3fa;
      --mist: #f2f3f4;
      --paper: #ffffff;
      --muted: #62676d;
      --line: #d9dde1;
      --max: 1220px;
      --header: 96px;
    }

    * { box-sizing: border-box; }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: 78px;
    }

    body {
      margin: 0;
      color: var(--ink);
      background: var(--paper);
      font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
      font-size: 16px;
      line-height: 1.55;
      -webkit-font-smoothing: antialiased;
    }

    body.menu-open { overflow: hidden; }
    img { display: block; max-width: 100%; }
    a { color: inherit; }

    .admin-bar .site-header { top: 32px; }

    .site-page {
      min-height: 70vh;
      padding: 150px 0 90px;
    }

    body:not(.home) .site-header {
      height: 78px;
      color: var(--ink);
      background: rgba(255, 255, 255, .97);
      box-shadow: 0 8px 30px rgba(16, 18, 21, .08);
    }

    body:not(.home) .site-header .brand img { filter: none; }

    .site-page .entry-content > *:first-child { margin-top: 0; }
    .site-page .entry-content a { color: var(--blue-dark); }

    @media (max-width: 782px) {
      .admin-bar .site-header { top: 46px; }
    }

    .skip-link {
      position: fixed;
      top: -80px;
      left: 18px;
      z-index: 3000;
      padding: 12px 18px;
      color: var(--paper);
      background: var(--ink);
      transition: top .2s ease;
    }

    .skip-link:focus { top: 14px; }

    .site-header {
      position: fixed;
      inset: 0 0 auto;
      z-index: 1200;
      height: var(--header);
      color: var(--paper);
      background: linear-gradient(180deg, rgba(8, 12, 18, .56), transparent);
      transition: height .25s ease, color .25s ease, background .25s ease, box-shadow .25s ease;
    }

    .site-header.scrolled {
      height: 78px;
      color: var(--ink);
      background: rgba(255, 255, 255, .97);
      box-shadow: 0 8px 30px rgba(16, 18, 21, .08);
    }

    .nav-shell,
    .shell {
      width: min(var(--max), calc(100% - 64px));
      margin: 0 auto;
    }

    .nav-shell {
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 48px;
    }

    .brand { flex: 0 0 auto; }
    .brand img {
      width: 236px;
      height: auto;
      object-fit: contain;
      object-position: left center;
      filter: brightness(0) invert(1);
      transition: filter .25s ease;
    }
    .site-header.scrolled .brand img { filter: none; }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
    }

    .nav-links a {
      position: relative;
      font-size: .76rem;
      font-weight: 700;
      letter-spacing: .12em;
      text-decoration: none;
      text-transform: uppercase;
    }

    .nav-links a::after {
      content: "";
      position: absolute;
      right: 100%;
      bottom: -9px;
      left: 0;
      height: 2px;
      background: var(--blue);
      transition: right .25s ease;
    }

    .nav-links a:hover::after,
    .nav-links a:focus-visible::after { right: 0; }

    .nav-contact {
      padding: 12px 17px;
      border: 1px solid currentColor;
    }
    .nav-contact::after { display: none; }

    .menu-toggle {
      display: none;
      width: 46px;
      height: 46px;
      padding: 0;
      border: 0;
      color: inherit;
      background: transparent;
      cursor: pointer;
    }

    .menu-toggle span,
    .menu-toggle::before,
    .menu-toggle::after {
      content: "";
      display: block;
      width: 26px;
      height: 2px;
      margin: 6px auto;
      background: currentColor;
      transition: transform .2s ease, opacity .2s ease;
    }

    .menu-toggle[aria-expanded="true"] span { opacity: 0; }
    .menu-toggle[aria-expanded="true"]::before { transform: translateY(8px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"]::after { transform: translateY(-8px) rotate(-45deg); }

    .hero {
      position: relative;
      min-height: 820px;
      height: 100svh;
      max-height: 980px;
      color: var(--paper);
      background: url("assets/mountain-hero.webp") center / cover no-repeat;
      overflow: hidden;
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(90deg, rgba(8, 12, 18, .82) 0%, rgba(8, 12, 18, .42) 48%, rgba(8, 12, 18, .08) 78%),
        linear-gradient(0deg, rgba(8, 12, 18, .7) 0%, transparent 52%);
    }

    .hero-content {
      position: relative;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 170px 0 86px;
    }

    .overline {
      margin: 0 0 25px;
      color: var(--blue);
      font-size: .78rem;
      font-weight: 800;
      letter-spacing: .18em;
      text-transform: uppercase;
    }

    .hero h1 {
      max-width: 980px;
      margin: 0;
      font-size: clamp(4rem, 7.4vw, 7.3rem);
      font-weight: 300;
      letter-spacing: -.055em;
      line-height: .93;
      text-transform: uppercase;
    }

    .hero-bottom {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      gap: 50px;
      margin-top: 42px;
      padding-top: 24px;
      border-top: 1px solid rgba(255, 255, 255, .5);
    }

    .hero-bottom p {
      max-width: 610px;
      margin: 0;
      color: rgba(255, 255, 255, .83);
      font-size: 1.12rem;
    }

    .text-link {
      display: inline-flex;
      align-items: center;
      gap: 18px;
      flex: 0 0 auto;
      color: var(--paper);
      font-size: .78rem;
      font-weight: 800;
      letter-spacing: .13em;
      text-decoration: none;
      text-transform: uppercase;
    }

    .text-link::after {
      content: "↓";
      display: grid;
      width: 44px;
      height: 44px;
      place-items: center;
      border: 1px solid rgba(255, 255, 255, .62);
      font-size: 1.05rem;
      transition: background .2s ease, color .2s ease;
    }

    .text-link:hover::after,
    .text-link:focus-visible::after { color: var(--ink); background: var(--paper); }

    .section { padding: clamp(90px, 10vw, 145px) 0; }

    .kicker {
      margin: 0 0 22px;
      color: var(--blue-dark);
      font-size: .76rem;
      font-weight: 800;
      letter-spacing: .17em;
      text-transform: uppercase;
    }

    .title {
      margin: 0;
      font-size: clamp(2.7rem, 5.2vw, 5.3rem);
      font-weight: 300;
      letter-spacing: -.05em;
      line-height: 1;
    }

    .intro-grid {
      display: grid;
      grid-template-columns: 1.25fr .75fr;
      gap: clamp(60px, 10vw, 145px);
      align-items: end;
    }

    .intro-grid .title { max-width: 790px; }

    .intro-copy {
      max-width: 500px;
      padding-bottom: 4px;
      color: var(--muted);
      font-size: 1.16rem;
      line-height: 1.7;
    }

    .intro-copy p { margin: 0; }
    .intro-copy strong { color: var(--ink); }

    .signature-line {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      margin-top: 86px;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }

    .signature-line span {
      padding: 24px 0;
      font-size: .8rem;
      font-weight: 800;
      letter-spacing: .13em;
      text-transform: uppercase;
    }

    .signature-line span + span {
      padding-left: 28px;
      border-left: 1px solid var(--line);
    }

    .focus-section { background: var(--mist); }

    .section-head {
      display: flex;
      justify-content: space-between;
      align-items: end;
      gap: 60px;
    }

    .section-note {
      max-width: 380px;
      margin: 0 0 7px;
      color: var(--muted);
      font-size: 1.02rem;
    }

    .investment-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 14px;
      margin-top: 66px;
    }

    .investment-block {
      min-height: 410px;
      display: flex;
      flex-direction: column;
      padding: 28px 28px 30px;
      background: var(--paper);
      border: 1px solid var(--line);
      border-top: 3px solid var(--blue);
    }

    .block-index {
      color: var(--muted);
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: .13em;
    }

    .investment-block h3 {
      margin: 28px 0 0;
      font-size: 1.35rem;
      font-weight: 450;
      letter-spacing: -.02em;
      line-height: 1.22;
    }

    .investment-list {
      margin: 34px 0 0;
      padding: 0;
      list-style: none;
    }

    .investment-list li {
      position: relative;
      padding: 12px 0 12px 17px;
      border-bottom: 1px solid var(--line);
      font-size: .96rem;
      line-height: 1.42;
    }

    .investment-list li:first-child { border-top: 1px solid var(--line); }

    .investment-list li::before {
      content: "";
      position: absolute;
      top: 1.12rem;
      left: 0;
      width: 7px;
      height: 2px;
      background: var(--blue);
    }

    .mountain-divider {
      position: relative;
      min-height: 720px;
      color: var(--paper);
      background: url("assets/mountain-divider.webp") center / cover no-repeat;
    }

    .mountain-divider::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(8, 12, 18, .78), rgba(8, 12, 18, .13) 72%), linear-gradient(0deg, rgba(8, 12, 18, .73), transparent 55%);
    }

    .mountain-inner {
      position: relative;
      min-height: 720px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 88px 0 66px;
    }

    .mountain-divider h2 {
      max-width: 900px;
      margin: 0;
      font-size: clamp(3.3rem, 6.5vw, 6.5rem);
      font-weight: 300;
      letter-spacing: -.055em;
      line-height: .96;
      text-transform: uppercase;
    }

    .promise-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      border-top: 1px solid rgba(255, 255, 255, .58);
    }

    .promise {
      padding: 23px 24px 0 0;
    }

    .promise + .promise {
      padding-left: 24px;
      border-left: 1px solid rgba(255, 255, 255, .38);
    }

    .promise strong {
      display: block;
      margin-bottom: 8px;
      font-size: 1.08rem;
      font-weight: 600;
    }

    .promise span { color: rgba(255, 255, 255, .78); }

    .track-section { background: var(--ice); }

    .track-grid {
      display: grid;
      grid-template-columns: .8fr 1.2fr;
      gap: clamp(65px, 10vw, 140px);
      align-items: start;
    }

    .experience-list {
      margin: 0;
      padding: 0;
      list-style: none;
      border-top: 1px solid rgba(29, 94, 145, .28);
    }

    .experience-list li {
      display: grid;
      grid-template-columns: 44px minmax(155px, .65fr) 1.35fr;
      gap: 24px;
      align-items: start;
      padding: 25px 0 27px;
      border-bottom: 1px solid rgba(29, 94, 145, .28);
    }

    .experience-index {
      color: var(--blue-dark);
      font-size: .72rem;
      font-weight: 800;
      letter-spacing: .13em;
    }

    .experience-list strong {
      font-size: 1.03rem;
      font-weight: 650;
      line-height: 1.4;
    }

    .experience-list p {
      margin: 0;
      color: var(--muted);
      line-height: 1.65;
    }

    .team-head {
      display: flex;
      justify-content: space-between;
      align-items: end;
      gap: 50px;
      margin-bottom: 78px;
    }

    .team-head .title { max-width: 840px; }

    .team-head > p {
      max-width: 450px;
      margin: 0 0 6px;
      color: var(--muted);
      font-size: 1.06rem;
    }

    .team-profiles {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 48px;
      align-items: start;
    }

    .team-profile {
      padding-top: 18px;
      border-top: 1px solid var(--ink);
    }

    .team-profile + .team-profile {
      padding-top: 18px;
      border-top: 1px solid var(--ink);
    }

    .profile-summary {
      display: grid;
      grid-template-columns: minmax(180px, .78fr) minmax(0, 1.22fr);
      gap: 28px;
      align-items: start;
    }

    .team-portrait {
      position: relative;
      aspect-ratio: 1 / 1;
      background: var(--mist);
      overflow: hidden;
    }

    .team-portrait img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center center;
      filter: grayscale(1) contrast(1.04);
    }

    .profile-identity { padding-top: 10px; }

    .profile-role {
      margin: 0 0 8px;
      color: var(--blue-dark);
      font-size: .73rem;
      font-weight: 800;
      letter-spacing: .15em;
      text-transform: uppercase;
    }

    .team-profile h3 {
      margin: 0;
      font-size: clamp(2.1rem, 3.1vw, 3.4rem);
      font-weight: 300;
      letter-spacing: -.045em;
      line-height: 1;
    }

    .profile-contact {
      margin-top: 22px;
    }

    .profile-contact a {
      width: fit-content;
      font-size: .9rem;
      font-weight: 650;
      overflow-wrap: anywhere;
      text-underline-offset: 4px;
      text-decoration-color: var(--blue);
    }

    .profile-details {
      margin-top: 24px;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }

    .profile-details summary {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      padding: 17px 0;
      color: var(--blue-dark);
      font-size: .76rem;
      font-weight: 800;
      letter-spacing: .14em;
      list-style: none;
      text-transform: uppercase;
      cursor: pointer;
    }

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

    .toggle-icon {
      position: relative;
      flex: 0 0 auto;
      width: 28px;
      height: 28px;
      border: 1px solid var(--blue-dark);
      border-radius: 50%;
    }

    .toggle-icon::before,
    .toggle-icon::after {
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      width: 12px;
      height: 1px;
      background: currentColor;
      transform: translate(-50%, -50%);
      transition: opacity .2s ease;
    }

    .toggle-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
    .profile-details[open] .toggle-icon::after { opacity: 0; }

    .profile-bio {
      margin: 0;
      padding: 10px 0 30px;
      color: var(--muted);
      font-size: .99rem;
      line-height: 1.68;
    }

    .profile-bio p { margin: 0; }
    .profile-bio p + p { margin-top: 18px; }

    .contact-section {
      position: relative;
      min-height: 720px;
      color: var(--paper);
      background: url("assets/mountain-contact.webp") center / cover no-repeat;
    }

    .contact-section::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(8, 12, 18, .79), rgba(8, 12, 18, .2) 66%), linear-gradient(0deg, rgba(8, 12, 18, .72), transparent 52%);
    }

    .contact-inner {
      position: relative;
      min-height: 720px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 90px 0 58px;
    }

    .contact-section h2 {
      max-width: 850px;
      margin: 0;
      font-size: clamp(3.4rem, 7vw, 7rem);
      font-weight: 300;
      letter-spacing: -.055em;
      line-height: .94;
      text-transform: uppercase;
    }

    .contact-bottom {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 70px;
      align-items: end;
      padding-top: 24px;
      border-top: 1px solid rgba(255, 255, 255, .55);
    }

    .contact-bottom p { max-width: 470px; margin: 0; color: rgba(255, 255, 255, .78); }

    .contact-links { display: grid; gap: 8px; }

    .contact-links a {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      padding: 11px 0;
      color: var(--paper);
      font-weight: 650;
      text-decoration: none;
      border-bottom: 1px solid rgba(255, 255, 255, .35);
    }

    .contact-links a span:last-child { font-weight: 400; }

    .site-footer {
      padding: 62px 0 28px;
      color: rgba(255, 255, 255, .65);
      background: var(--ink);
    }

    .footer-top {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      padding-bottom: 46px;
      border-bottom: 1px solid rgba(255, 255, 255, .16);
    }

    .footer-logo {
      width: min(220px, 100%);
      height: auto;
      object-fit: contain;
      object-position: left center;
      filter: brightness(0) invert(1);
    }
    .footer-address { justify-self: end; max-width: 360px; }
    .footer-address p { margin: 0 0 8px; }
    .footer-address a { color: var(--paper); text-underline-offset: 4px; }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      gap: 24px;
      padding-top: 24px;
      font-size: .8rem;
    }

    .legal-links { display: flex; gap: 22px; }

    .legal-link {
      padding: 0;
      border: 0;
      color: inherit;
      background: transparent;
      font: inherit;
      text-decoration: underline;
      text-underline-offset: 4px;
      cursor: pointer;
    }

    dialog {
      width: min(680px, calc(100% - 40px));
      max-height: calc(100vh - 60px);
      padding: 0;
      border: 0;
      color: var(--ink);
      background: var(--paper);
      box-shadow: 0 30px 90px rgba(0, 0, 0, .32);
    }

    dialog::backdrop { background: rgba(7, 10, 14, .77); backdrop-filter: blur(5px); }
    .dialog-inner { padding: 42px; }

    .dialog-top {
      display: flex;
      justify-content: space-between;
      align-items: start;
      gap: 30px;
      margin-bottom: 28px;
      padding-bottom: 22px;
      border-bottom: 1px solid var(--line);
    }

    .dialog-top h2 { margin: 0; font-size: 2rem; font-weight: 400; }

    .dialog-close {
      width: 42px;
      height: 42px;
      border: 1px solid var(--line);
      color: var(--ink);
      background: transparent;
      font-size: 1.5rem;
      cursor: pointer;
    }

    .dialog-inner h3 { margin: 26px 0 8px; font-size: 1rem; }
    .dialog-inner p { margin: 0 0 13px; color: var(--muted); }
    .dialog-inner a { color: var(--blue-dark); }

    .reveal {
      opacity: 0;
      transform: translateY(22px);
      transition: opacity .65s ease, transform .65s ease;
    }
    .reveal.visible { opacity: 1; transform: none; }

    :focus-visible { outline: 3px solid #6bb6ec; outline-offset: 4px; }

    @media (max-width: 1060px) {
      .investment-grid { grid-template-columns: repeat(2, 1fr); }
      .investment-block { min-height: 0; }
    }

    @media (max-width: 900px) {
      :root { --header: 80px; }
      .nav-shell, .shell { width: min(var(--max), calc(100% - 40px)); }
      .brand img { width: 205px; }
      .menu-toggle { display: block; }

      .nav-links {
        position: fixed;
        inset: var(--header) 0 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 36px 20px;
        color: var(--paper);
        background: var(--ink);
        transform: translateX(100%);
        visibility: hidden;
        transition: transform .25s ease, visibility .25s ease;
      }

      .nav-links.open { transform: translateX(0); visibility: visible; }
      .nav-links a { padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); font-size: .95rem; }
      .nav-contact { margin-top: 18px; text-align: center; }

      .hero { min-height: 740px; }
      .hero-content { padding: 145px 0 58px; }
      .hero-bottom { align-items: start; flex-direction: column; }
      .text-link { align-self: flex-end; }

      .intro-grid,
      .track-grid { grid-template-columns: 1fr; gap: 48px; }

      .section-head,
      .team-head { align-items: start; flex-direction: column; gap: 26px; }

      .mountain-divider,
      .mountain-inner,
      .contact-section,
      .contact-inner { min-height: 650px; }

      .promise-grid { grid-template-columns: repeat(2, 1fr); }
      .promise:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .38); margin-top: 22px; padding-top: 22px; }
      .promise:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, .38); margin-top: 22px; padding-top: 22px; }
      .team-profiles { grid-template-columns: 1fr; gap: 72px; }
      .profile-summary { grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr); }
      .contact-bottom { grid-template-columns: 1fr; gap: 36px; }
      .footer-top { grid-template-columns: 1fr; gap: 35px; }
      .footer-address { justify-self: start; }
    }

    @media (max-width: 620px) {
      .nav-shell, .shell { width: min(var(--max), calc(100% - 32px)); }
      .brand img { width: 185px; }
      .hero { min-height: 720px; }
      .hero h1 { font-size: clamp(1.45rem, 8.8vw, 3rem); }
      .hero-bottom p { font-size: 1rem; }
      .section { padding: 82px 0; }
      .title { font-size: clamp(2.65rem, 13vw, 4rem); }
      .signature-line { grid-template-columns: 1fr; }
      .signature-line span { padding: 18px 0; }
      .signature-line span + span { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
      .investment-grid { grid-template-columns: 1fr; }
      .investment-block { padding: 26px 24px 28px; }
      .mountain-divider h2, .contact-section h2 { font-size: clamp(3rem, 14vw, 4.6rem); }
      .promise-grid { grid-template-columns: 1fr; }
      .promise, .promise + .promise { margin: 0; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .38); border-left: 0; }
      .experience-list li { grid-template-columns: 34px 1fr; gap: 8px 16px; }
      .experience-list strong { grid-column: 2; }
      .experience-list p { grid-column: 2; }
      .profile-summary { grid-template-columns: 1fr; }
      .profile-identity { padding-top: 4px; }
      .contact-links a { align-items: start; flex-direction: column; gap: 3px; }
      .footer-bottom { flex-direction: column; }
      .dialog-inner { padding: 28px 23px; }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
      .reveal { opacity: 1; transform: none; }
    }

