:root {
      --bulma-body-background-color: #f9f7f4; 
      --bulma-body-color: #4a4a4a;
      --accent-color: #342d26;
      --muted-color: #8c847c; 
      --card-radius: 32px;
      --content-max-width: 850px; 
      --text-indent: 1.5rem; 
  }

  html { scroll-behavior: smooth; }

  body {
      font-family: 'Inter', -apple-system, sans-serif;
      color: var(--bulma-body-color);
      line-height: 1.6;
  }

  .custom-container {
      max-width: var(--content-max-width);
      margin: 0 auto;
      padding: 0 1.5rem;
  }
  
  .logo {
      color: var(--accent-color) !important;
      font-weight: 700;
      letter-spacing: 0.02em;
      font-size: 1.5rem;
      text-decoration: none;
  }

  .nav-link {
      color: var(--muted-color);
      text-decoration: none;
      font-size: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      font-weight: 500;
      transition: color 0.3s ease;
  }

  .nav-link:hover, .nav-link.is-active { color: var(--accent-color); }

  .text-link {
      color: var(--muted-color);
      text-decoration: none;
      transition: color 0.3s ease;
  }

  .text-link:hover { color: var(--accent-color); }


  .page-content h4 {
      font-size: 1.5rem;
      padding-top: 1.5rem;
  }
  
  .page-content h3 {
      font-size: 2.5rem;
      padding-top: 2.0rem;
      font-weight: bold;
  }
  
  .page-content p {
      padding: 0.5rem 0;
  }
  
  .work-link { 
      display: block; 
      position: relative; 
      text-decoration: none; 
  }

  .work-image-container {
      aspect-ratio: 1 / 1;
      overflow: hidden;
      border-radius: var(--card-radius);
      background-color: #ebeae6;
      box-shadow: 0 10px 40px rgba(0,0,0,0.04);
  }
  
  .is-hero .work-image-container { aspect-ratio: 16 / 9; }

  .work-image-container img { 
      width: 100%; 
      height: 100%; 
      object-fit: cover; 
      display: block; 
      transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  .work-link:hover .work-image-container img { 
      transform: scale(1.06); 
  }

  .image-button {
      position: absolute;
      bottom: 18px;
      right: 18px;
      background-color: rgba(255, 255, 255, 0.96);
      color: var(--accent-color);
      padding: 8px 14px;
      border-radius: 40px;
      font-weight: 600;
      font-size: 0.72rem;
      box-shadow: 0 4px 15px rgba(0,0,0,0.08);
      transition: all 0.3s ease;
      pointer-events: none;
      display: flex;
      align-items: center;
      gap: 10px;
      z-index: 10;
  }

  .work-link:hover .image-button {
      background-color: #ffffff;
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  }

  .image-button svg { transition: transform 0.3s ease; width: 22px; }
  .work-link:hover .image-button svg { transform: translateX(4px); }

  .work-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0 var(--text-indent);
  }

  .card-label-left { 
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 0.7rem; 
      text-transform: uppercase; 
      letter-spacing: 0.12em; 
      font-weight: 700; 
      color: var(--accent-color); 
  }

  .sold-tag {
      border: 1px solid var(--accent-color);
      border-radius: 20px;
      padding: 2px 8px;
      font-size: 0.6rem;
      letter-spacing: 0.05em;
      text-transform: uppercase; 
      text-align: center;
  }

  .card-meta-right { font-size: 0.8rem; color: var(--muted-color); }

  .back-to-top-arrow {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: var(--muted-color);
      transition: all 0.3s ease;
      text-decoration: none;
  }

  .back-to-top-arrow:hover { color: var(--accent-color); transform: translateY(-5px); }
  .back-to-top-arrow svg { transform: rotate(-90deg); width: 24px; height: auto; }

  .footer-divider {
      border: 0;
      border-top: 1px solid var(--muted-color);
      opacity: 0.25;
      margin: 0; 
      width: 100%;
  }

  .footer {
      background-color: transparent;
      color: var(--muted-color);
      opacity: 0.7;
  }

  .hero-display-area {
      background-color: #f2efe9;
      border-radius: var(--card-radius);
      padding: 5rem 2rem;
      display: flex;
      justify-content: center;
      align-items: center;
      margin-bottom: 4rem;
      max-height: 50%;
  }

  .detail-hero-img {
      max-width: 85%;
      height: auto;
      border-radius: 2px;
      box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  }

  .info-content-area {
      padding: 0 var(--text-indent);
      margin-bottom: 2rem;
  }

  .meta-label {
      font-size: 0.75rem;
      color: var(--muted-color);
      text-transform: uppercase;
      letter-spacing: 0.12em;
      display: block;
      margin-bottom: 0.35rem;
      font-weight: 600;
  }

  .action-button {
      display: inline-block;
      background-color: var(--accent-color);
      color: #ffffff;
      padding: 0.8rem 2rem;
      border-radius: 40px;
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.3s ease;
      margin-top: 1.5rem;
  }

  .action-button:hover {
      background-color: #000000;
      color: #ffffff;
      transform: translateY(-2px);
  }

  .detail-grid-img {
      width: 100%;
      aspect-ratio: 1/1;
      object-fit: cover;
      border-radius: 2px;
      display: block;
  }

  .back-arrow {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: var(--muted-color);
      transition: all 0.3s ease;
      text-decoration: none;
  }

  .back-arrow:hover { 
      color: var(--accent-color); 
      transform: translateX(-5px); 
  }

  .back-arrow svg { 
      transform: rotate(180deg); 
      width: 24px; 
      height: auto; 
  }

  .content-align-top {
      align-items: flex-start;
  }

  .lead-text {
      font-size: 1.4rem;
      color: var(--accent-color);
      margin-bottom: 2.5rem;
      line-height: 1.4;
      font-weight: 600;
  }
  
  .cv-list {
      list-style: none !important;
      margin-left: 0 !important;
      margin-top: 1rem;
  }

  .cv-list li {
      margin-bottom: 0.75rem;
      font-size: 0.9rem;
      display: flex;
      gap: 1rem;
  }

  .cv-year {
      font-weight: 700;
      color: var(--accent-color);
      min-width: 45px;
  }

  .inline-image {
      width: 100%;
      aspect-ratio: 1/1;
      object-fit: cover;
      border-radius: var(--card-radius);
      margin-bottom: 1rem;
      display: block;
  }
  
  /* featherlight */
  
  .featherlight-previous, .featherlight-next {
      display: none!important;
  }

  
  .featherlight-content {
      animation: fadeIn 0.6s cubic-bezier(0.22, 1, 0.36, 1);
      transition: opacity 2s;
  }

  @keyframes fadeIn {
      0% {
          opacity: 0;
      }
      100% {
          opacity: 1;
      }
  }

  .featherlight {
      animation: fadeIn 2s cubic-bezier(0.22, 1, 0.36, 1);
  }
  
  .featherlight-image {
      opacity: 0; 
      animation: fadeIn 0s ease-out forwards;
  }

  .featherlight-content {
      background: transparent;
      transition: none !important;
  }
  
  @keyframes siteReveal {
      0% {
          opacity: 0;
          transform: translateY(15px);
      }
      100% {
          opacity: 1;
          transform: translateY(0);
      }
  }
  
  main {
      animation: siteReveal 1.5s cubic-bezier(0.22, 1, 0.36, 1);
  }
  
  .quote-area {
      padding: 2rem 2rem;
      margin: 4rem 0;
      text-align: center;
  }
  .quote-area p {
      color: #e2dfd7!important;
  }
  
  .newsletter-area {
      background-color: #e2dfd7;
      border-radius: var(--card-radius);
      padding: 4rem 4rem;
      margin: 4rem 0;
      text-align: center;
  }

  .newsletter-form {
      max-width: 500px;
      margin: 2.0rem auto 0;
      display: flex;
      flex-direction: column;
      align-items: center;
  }

  .newsletter-input {
      width: 100%;
      background: transparent;
      border: none;
      border-bottom: 1.5px solid #000000;
      padding: 10px 0;
      font-size: 1.1rem;
      color: #000000;
      outline: none;
      margin-bottom: 2rem;
      text-align: center;
      transition: border-color 0.3s ease;
  }

  .newsletter-input::placeholder {
      color: rgba(0,0,0,0.5);
      text-transform: uppercase;
      font-size: .9rem;
      letter-spacing: 0.1em;
  }
  
  @media screen and (max-width: 768px) {
      .custom-container {
          padding: 0;
      }
      .hero-display-area {
          padding: 2.5rem 1rem;
      }
      ..detail-hero-img {
          max-width: 100%;
      }
      .newsletter-area, .header-area  {
          padding: 2rem 2rem;
          margin: 0;
      }
  }
  
  .detail-img {
      transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  }
  
  .detail-img:hover {
      transform: translateY(-15px);
      transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  }

  /* Detail Navigation */
  
  .detail-navigation {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 0.5rem;
  }

  .nav-item {
      text-decoration: none;
      color: #a0a0a0; /* Etwas helleres Grau als Basis */
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 15px 30px; /* Die unsichtbare Hitbox */
      transition: color 0.4s ease;
  }

  .nav-icon {
      transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-prev .nav-icon {
      transform: scaleX(-1);
  }

  .nav-item:hover {
      color: #000000;
  }

  .nav-prev:hover .nav-icon {
      transform: scaleX(-1) translateX(8px); 
  }

  .nav-next:hover .nav-icon {
      transform: translateX(8px);
  }

  .overview-content {
      display: flex;
      align-items: center;
  }


  .nav-overview span {
      text-transform: uppercase;
      font-size: 0.7rem;
      letter-spacing: 0.2em;
      font-weight: 600;
      margin-left: 12px;
  }

  /* Mobile Anpassung */
  @media screen and (max-width: 768px) {
      .nav-item {
          padding: 20px 20px;
      }
  }