  * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  @font-face {
    font-family: "Sohne-Buch";
    src: url("assets/fonts/Sohne-Buch.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: "PPMori-SemiBold";
    src: url("assets/fonts/PPMori-SemiBold.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }

  body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    letter-spacing: -0.01em;
    background: #f5f3ed;
  }

  h1 {
    /*font-family: "PPMori-SemiBold";*/
  }

  li {
    margin-inline-start: 1.5em;
    margin-block-end: 0.1em;
  }

  #canvas-container {
    z-index: -20;
  }

  /* Info Icon */
  .info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 1.5px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    line-height: 1;
    padding-bottom: 0px;
    padding-top: 1px;
    flex-shrink: 0;
  }

  .info-icon:hover {
    background-color: rgba(0, 0, 0, 0.9);
    border-color: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
  }

  /* Modal */
  .modal-overlay {
    position: fixed;
    inset: 0;
    /*background-color: rgba(0, 0, 0, 0.4);*/
    background: linear-gradient(135deg, rgba(255,255,255,0.1265) 25%, rgba(255,255,255,0.075) 100%);
    backdrop-filter: blur(68px);
    -webkit-backdrop-filter: blur(68px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
  }

  .modal-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .modal-content {
    background: white;
    border-radius: 16px;
    padding: 32px;
    max-width: 480px;
    max-height: 80vh;
    overflow: scroll;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform: scale(0.95) translateY(10px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
  }

  .modal-backdrop {
    position: fixed;
    inset: 0;
    filter: url(#topos);
    opacity: 0.6;
    background:  hsl(10deg 30% 95%);
    z-index: 1000;
  }

  .modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
  }
  /* Feature items in modal */
  .feature-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .feature-item:last-child {
    border-bottom: none;
  }

  .feature-dot {
    width: 4px;
    height: 4px;
    background: currentColor;
    border-radius: 50%;
    opacity: 0.6;
  }

  /* Smooth scroll */
  html {
    scroll-behavior: smooth;
  }

  /* Hero image animation */
  .hero-image {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .hero-image:hover {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    box-shadow: -4px 4px #F56900, -8px 8px #D5C3AD;
  }

  /* Button hover effects */
  .btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .btn-primary:hover {
    /*transform: translateY(-1px);*/
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  }

  .btn-primary:active {
    transform: translateY(0);
  }

  /* Input focus */
  input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
  }

  /* Gradient text */
  .gradient-text {
    /*background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);*/
    background: linear-gradient(90deg,#F56900 8%,#F55600, #F55600, #F55600);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  /* Hero visual section */
  .hero-visual {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 24px;
    overflow: hidden;
  }

  /* <CHANGE> Improved word rotator with fixed height to prevent layout shifts */
  .word-rotator {
    display: inline-block;
    position: relative;
    vertical-align: baseline;
    /* Fixed height prevents layout shifts */
    height: 1.2em;
    line-height: 1.2;
  }

  .word-rotator-inner {
    position: relative;
    display: inline-block;
    height: 100%;
    white-space: nowrap;
  }

  .rotating-word {
    display: inline-block;
    white-space: nowrap;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    will-change: opacity;
  }

  .rotating-word.active {
    opacity: 1;
    position: relative;
  }

  .realistic-marker-highlight{
    position:relative;
  }

  .realistic-marker-highlight:before{
    content:"";
    border-bottom: 6px solid rgba(244, 222, 200, 0);
    width:100%;
    height:1em;
    position:absolute;
    z-index:-1;
    filter:url(#marker-shape);
    left:-0.055em;
    top:0.1em;
    padding:0 0.25em;
  }

  /* Fixed width container to prevent horizontal shifts */
  .word-spacer {
    visibility: hidden;
    display: inline-block;
    white-space: nowrap;
    position: absolute;
  }

  /* <CHANGE> Mobile menu styles */
  .mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 320px;
    background: white;
    z-index: 50;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
  }

  .mobile-menu.active {
    transform: translateX(0);
  }

  .mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(68px);
    -webkit-backdrop-filter: blur(68px);
    z-index: 49;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Hamburger icon animation */
  .hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: all 0.3s ease;
    transform-origin: center;
  }

  .hamburger-line:not(:last-child) {
    margin-bottom: 4px;
  }

  .hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
