    :root {
      --bg: #f6f2e8;
      --text: #2e2b26;
      --accent: #5b7b61;
      --layer-1: #ede0c8;
      --card-bg: #f6f2e8;
      --hover-accent: #3e5f58;
      --highlight: #c8945d;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      margin: 0;
      padding: 0;
      background-color: var(--bg);
      color: var(--text);
      text-align: left;
    }
 
    header {
      position: sticky;
      top: 0;
      background-color: var(--layer-1);
      padding: 1.2rem 2rem;
      font-size: 1.2rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 2px solid var(--accent);
      z-index: 999;
    }  

    .logo-container {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .logo-image {
      height: 4rem;
      width: auto;
    }

    .logo-text {
      font-size: 2.5rem;
      font-weight: 600;
      color: var(--accent);
      text-transform: uppercase;
    }

    .claim {
      font-style: italic;
      font-size: 1.2rem;
      color: var(--text);
      margin-top: 0.3rem;
    }

    nav {
      flex-grow: 1;
      font-size: 1.2rem;
      display: flex;
      justify-content: flex-end;
      margin-left: 2rem;
    }

    nav ul {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem 1rem;
      padding: 0;
      margin: 0;
      list-style: none;
    }

    nav ul li {
      flex: 0 1 auto;
    }

    nav a {
      color: var(--text);
      text-decoration: none;
      font-weight: 600;
      padding: 0.4rem 0.8rem;
      border-radius: 4px;
      transition: background 0.3s ease;
    }

    nav a:hover, nav a:focus {
      background-color: var(--hover-accent);
      color: white;
    }

    .hero {
      background-size: cover;
      background-position: center;
      text-align: center;
      color: var(--accent);
      padding: 1rem 1rem;
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      background: linear-gradient(to bottom right, #e5e5d4, #9dbf97);
      background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('bg.png');
      background-size: cover;
      background-position: center;
      min-height: 88vh;
    }

      .hero p {
      font-size: 1.2rem;
      margin-bottom: 2rem;
      text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
    }

    .hero h1,
    .hero p {
      background-color: var(--accent);
      display: inline-block;
      padding: 0.5rem 1rem;
      border-radius: 6px;
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
    }

    .ution-fadeslider {
      position: relative;
      overflow: hidden;
    }

    .ution-slides {
      overflow: hidden;
      width: 100%;
      height: 320px;
      position: relative;
    }

    .ution-slide {
      position: absolute;
      inset: 0;
      opacity: 0;
      transition: opacity 0.7s ease-in-out;
      z-index: 1;
      font-size: 2rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      text-align: center;
      padding: 4rem;
      padding-top: 0;
    }

    .ution-slide.active {
      opacity: 1;
      visibility: visible;
      position: relative;
      pointer-events: auto;
      z-index: 2;
    }

    .ution-inner {
      width: 60vw;
      max-width: 800px;
      min-height: 250px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      text-align: center;
    }

       .ution-inner h2 {
      font-size: clamp(2rem, 5vw, 3.25rem);
}

    /* Überschrift: beide Teile bleiben auf einer Zeile */
    .ution-heading {
      display: inline-flex;
      justify-content: center;
      align-items: flex-end;
      font-size: 4rem;
      line-height: 1;
      margin: 0 0 1rem;
      gap: 0.2rem;
      position: relative;
      height: 4.5rem;
      margin-left: 5%;
    }

    /* Präfix wächst nach links, Text rechtsbündig */
    .ution-prefix {
      text-align: right;
      white-space: nowrap;
      flex: 0 1 auto;
      /* darf schrumpfen/wachsen */
      margin-right: .25rem;
      right: 50%;
      /* endet an der Mittelachse */
      position: absolute;
    }

    /* Suffix „ution“ fix, immer gleiche Breite */
    .ution-fixed {
      flex: 0 0 6ch;
      /* konstante Breite ≈ Länge „ution“ */
      text-align: left;
      left: 50%;
      position: absolute;
      white-space: nowrap;
    }

    .ution-inner p {
      font-size: clamp(1rem, 4vw, 1.5rem);
      color: var(--card-bg);
      width: 85%;
      min-height: 100px;
    }

    .ution-nav button {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      font-size: 2rem;
      color: var(--accent);
      background: transparent;
      border: none;
      cursor: pointer;
      z-index: 10;
      padding: 3.5rem;
    }

    .ution-prev {
      left: 0rem;
    }

    .ution-next {
      right: 0rem;
    }

    .ution-dots {
      text-align: center;
      margin-top: 1rem;
    }

    .ution-dots button {
      background: var(--card-bg);
      border: none;
      width: 10px;
      height: 10px;
      margin: 0 5px;
      border-radius: 50%;
      display: inline-block;
      cursor: pointer;
    }

    .ution-dots button.active {
      background: var(--accent);
    }

    .arrow-container {
      width: 80%;
      max-width: 600px;
      margin: 0 auto .2rem;
      color: var(--accent);
    }

    .arrow-container svg {
      width: 100%;
      height: 1.5rem;
      pointer-events: none;
    }

    .slider-h2 {
    text-align: center;
    }

    .slider-container {
      position: relative;
      margin: 0 auto;
      width: 800px;
      max-width: 100%;
      aspect-ratio: 16 / 10;
      overflow: hidden;
      cursor: ew-resize;
      height: auto;
      padding-top: 62.5%; /* 10/16 * 100% */
    }

    .slider-container img {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      object-fit: cover;
      pointer-events: none;
    }

    .after-image {
      width: 0%;
      overflow: hidden;
      transition: width 0.05s ease;
    }

    @supports (clip-path: inset(0 0 0 0)) {
      .after-image {
        width: auto;
        clip-path: inset(0 100% 0 0);
        transition: clip-path 0.05s ease;
      }
    }

    .slider-bar {
      position: absolute;
      top: 0;
      bottom: 0;
      width: 4px;
      background: var(--card-bg);
      left: 0%;
      z-index: 2;
      transform: translateX(-50%);
    }

    .fallbeispiel-row {
  display: flex;
  flex-wrap: wrap;
  margin-block: 5rem;
  margin-top: 1rem;
  gap: 4rem;
  align-items: center;
}

.fallbeispiel-row.reverse {
  flex-direction: row-reverse;
}

.fallbeispiel-text,
.fallbeispiel-image {
  flex: 1 1 45%;
  min-width: 300px;
}


 #projekte .meta {
     font-size: 0.9rem;
     color: #777;
     margin-bottom: 0.5rem;
    }

.project-divider {
    border: none;
    border-top: 1px solid rgba(0,0,0,0.1);
    margin: 2.5rem 0;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

    .trollobil-section {
      padding: 4rem 1rem;
      background-color: var(--layer-1);
    }

    .trollobil-content {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      max-width: 1100px;
      margin: 0 auto;
      gap: 2rem;
    }

    .trollobil-image {
      flex: 1 1 300px;
      text-align: center;
      position: relative;
      margin-left: .5rem;
    }

    .trollobil-image img {
      max-width: 100%;
      height: auto;
      border-radius: 8px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    .trollobil-text {
      flex: 2 1 400px;
    }

    .trollobil-text h2 {
      margin-top: 0;
      color: var(--accent);
    }

    .trollobil-coming {
      margin-top: 1rem;
      font-style: italic;
      color: #666;
    }

    .ki-hinweis {
      position: absolute;
      bottom: 10px;
      right: 10px;
      background: rgba(0, 0, 0, 0.3);
      color: white;
      font-size: 0.75rem;
      padding: 0.3rem 0.6rem;
      border-radius: 4px;
      pointer-events: none;
    }

    .buttons {
      display: flex;
      justify-content: center;
      gap: 1.5rem;
      flex-wrap: wrap;
    }

    .buttons a {
      background-color: var(--accent);
      color: white;
      padding: 0.8rem 1.5rem;
      border-radius: 6px;
      cursor: pointer;
      text-decoration: none;
      font-weight: bold;
      transition: background 0.3s ease;
    }

    .buttons a:hover {
      background-color: var(--hover-accent);
    }
  
    .hero .buttons {
      display: flex;
      justify-content: center;
      gap: 4rem;
      margin-top: 4rem;
      margin-bottom: 4rem;
      flex-wrap: wrap;
    }

    .hero .buttons a {
      font-size: 1.1rem; 
    }

    main {
      max-width: 1000px;
      margin: auto;
      padding: 3rem 1rem;
    }

    section {
      padding: 2rem 2rem 2rem;
      margin-bottom: 2rem;
      border-radius: 12px;
      background-color: var(--layer-1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      scroll-margin-top: 6rem;
    }

    section:hover {
      transform: translateY(-4px);
      box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    }
 
    h1,
    h2 {
      color: var(--accent);
      text-transform: uppercase;
    }

    a {
      color: var(--accent);
    }

    footer {
      background-color: var(--layer-1);
      color: var(--text);
      text-align: center;
      padding: 1.5rem;
      font-size: 0.9rem;
      border-top: 2px solid var(--accent);
      margin-top: 60px;
    }

    footer a {
      color: var(--accent);
      text-decoration: none;
      font-weight: bold;
    }

    footer a:hover {
      text-decoration: underline;
    }

  .rechtliches{
    text-align: left;
    max-width: 65ch;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    }

    .rechtliches h1{
      font-size: 2rem;
    }

    #backToTop {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      background-color: var(--accent);
      color: #fff;
      border: none;
      border-radius: 50%;
      width: 3rem;
      height: 3rem;
      font-size: 1.5rem;
      font-weight: bold;
      cursor: pointer;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
      transition: background-color 0.3s ease, transform 0.3s ease;
      display: none;
      z-index: 1000;
    }

    #backToTop:hover {
      background-color: var(--hover-accent);
      transform: scale(1.1);
    }

    .burger {
      display: none;
      background: none;
      border: none;
      font-size: 2rem;
      color: var(--accent);
      cursor: pointer;
    }

    .modal {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background-color: rgba(0, 0, 0, 0.6);
    }

    .modal-content {
      background-color: #fff;
      margin: 10% auto;
      padding: 30px;
      border-radius: 5px;
      width: 90%;
      max-width: 700px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      position: relative;
    }

    .close {
      background-color: var(--accent);
      color: white;
      position: absolute;
      top: 10px;
      right: 20px;
      z-index: 1001;
      font-size: 1.2rem;
      font-weight: bold;
      cursor: pointer;
    }

    .close:hover {
      background-color: var(--hover-accent);
    }
   
    @media (max-width: 1200px) {
      .logo-text {
        font-size: 6rem;
      }

      .logo-image {
        height: 3.5rem;
      }

      .burger {
        display: block;
        font-size: 2rem;
        margin-top: 0.5rem;
        margin-left: auto;
        z-index: 1000;
      }

      nav {
        width: auto;
        right: 2rem;
        left: auto;
        position: absolute;
        top: 100%;
        background-color: var(--layer-1);
        display: none;
        flex-direction: column;
        text-align: center;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border: 1px solid var(--accent);
        border-radius: 6px;
        padding: 0.5rem 1rem;
      }

      nav.active {
        display: flex;
      }

      nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        padding: 1rem 0;
      }

      nav a {
        display: block;
        padding: 0.4rem 0;
        width: 100%;
        border-radius: 4px;
        background-color: transparent;
        text-align: center;
      }

      .logo-text {
        font-size: 1.8rem;
      }

      .claim {
        font-size: 1rem;

      }

      .logo-text-wrapper {
        display: flex;
        flex-direction: column;
      } 

      .ution-inner {
        width: 70vw;
      }

    }
      /* Handymodus */
      @media (max-width: 700px) {
        .logo-text {
          font-size: 1.5rem;
        }

        .logo-image {
          height: 48px;
        }

        .burger {
          font-size: 2rem;
          margin-top: 0.5rem;
        }

        nav a {
          padding: 0.6rem 1rem;
        }

        .ution-inner {
          width: 80vw;
        }
        
      }
    