@media (max-width: 768px) {
  #root {
    overflow-x: hidden;
  }

  #root * {
    min-width: 0;
  }

  #root h1,
  #root h2,
  #root h3,
  #root h4 {
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
    text-wrap: balance;
  }

  #root nav {
    padding-top: 0.48rem !important;
    padding-bottom: 0.48rem !important;
  }

  #root nav > div {
    padding-left: 0.8rem !important;
    padding-right: 0.8rem !important;
  }

  #root nav img[alt="Landschaftsbau Demeter Logo"] {
    height: 3.5rem !important;
    width: auto;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
  }

  #root main > div > section[class*="min-h-[400px]"][class*="h-[50vh]"] {
    min-height: 240px !important;
    height: 34svh !important;
    padding-top: 5.25rem !important;
  }

  #root
    main
    > div
    > section[class*="min-h-[400px]"][class*="h-[50vh]"]
    > .relative.z-20 {
    width: 100%;
    max-width: 34rem;
    margin: 0 auto;
    padding-left: 0.55rem;
    padding-right: 0.55rem;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  #root
    main
    > div
    > section[class*="min-h-[400px]"][class*="h-[50vh]"]
    h1 {
    font-size: clamp(1.9rem, 8.3vw, 2.6rem) !important;
    line-height: 1.08 !important;
    margin-bottom: 0.3rem !important;
  }

  #root
    main
    > div
    > section[class*="min-h-[400px]"][class*="h-[50vh]"]
    p {
    font-size: 0.96rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.55rem !important;
  }

  #root main > div > section[class*="h-screen"] {
    min-height: 92svh;
    height: auto;
    padding: 6rem 0.9rem 2.2rem !important;
  }

  #root main > div > section[class*="h-screen"] > .relative.z-20 {
    width: 100%;
    max-width: 35rem;
    margin: 0 auto;
    padding: 0.95rem 0.9rem 1.05rem;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.34)
    );
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 1.05rem;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }

  #root main > div > section[class*="h-screen"] h1 {
    font-size: 0.76rem !important;
    letter-spacing: 0.08em !important;
    line-height: 1.2;
    margin-bottom: 0.62rem !important;
    padding: 0.42rem 0.82rem !important;
  }

  #root main > div > section[class*="h-screen"] h2 {
    font-size: clamp(1.95rem, 10.2vw, 2.75rem) !important;
    line-height: 1.03 !important;
    margin-bottom: 0.8rem !important;
  }

  #root main > div > section[class*="h-screen"] p {
    font-size: 1rem !important;
    line-height: 1.42 !important;
    max-width: 27ch !important;
    margin: 0 auto 0.92rem !important;
    text-wrap: pretty;
  }

  #root main > div > section[class*="h-screen"] button {
    width: 100%;
    max-width: 18rem;
    padding: 0.85rem 1.05rem !important;
    font-size: 0.77rem !important;
  }

  #root main svg[class*="w-[calc(100%+1.3px)]"][class*="h-[60px]"] {
    height: 28px !important;
  }

  #root footer svg[class*="w-[calc(100%+1.3px)]"][class*="h-[40px]"] {
    height: 16px !important;
  }

  #root main section[class^="py-24"],
  #root main section[class*=" py-24"] {
    padding-top: 3.45rem !important;
    padding-bottom: 3.45rem !important;
  }

  #root main section[class^="pt-32"],
  #root main section[class*=" pt-32"] {
    padding-top: 4.25rem !important;
  }

  #root main section[class^="pb-20"],
  #root main section[class*=" pb-20"] {
    padding-bottom: 3rem !important;
  }

  #root main .max-w-7xl,
  #root main .max-w-5xl,
  #root main .max-w-4xl {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  #root main [class*="rounded-[3rem]"] {
    border-radius: 1.3rem !important;
  }

  #root main [class*="rounded-[2rem]"] {
    border-radius: 1.05rem !important;
  }

  #root main .shadow-2xl {
    box-shadow: 0 16px 34px rgba(17, 17, 17, 0.14) !important;
  }

  #root main [class*="grid-cols-1"][class*="md:grid-cols-2"][class*="lg:grid-cols-3"] {
    gap: 0.95rem !important;
  }

  #root
    main
    [class*="grid-cols-1"][class*="md:grid-cols-2"][class*="lg:grid-cols-3"]
    > div[class*="cursor-pointer"] {
    padding: 1.05rem !important;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  #root
    main
    [class*="grid-cols-1"][class*="md:grid-cols-2"][class*="lg:grid-cols-3"]
    > div[class*="cursor-pointer"]
    p {
    font-size: 0.9rem !important;
    line-height: 1.45 !important;
    margin-bottom: 0.8rem !important;
  }

  #root main [class*="bg-white p-8"][class*="rounded-[3rem]"] {
    padding: 1.12rem !important;
  }

  #root main [class*="bg-white p-8"][class*="rounded-[3rem]"] p,
  #root main [class*="bg-white p-8"][class*="rounded-[3rem]"] li {
    line-height: 1.5 !important;
    text-align: left !important;
  }

  #root main [class*="bg-[#1a1a1a]"][class*="text-white"][class*="p-12"] {
    padding: 1.05rem !important;
  }

  #root main [class*="lg:w-2/3"][class*="p-12"][class*="bg-white"] {
    padding: 1.05rem !important;
  }

  #root main [class*="bg-white mb-12"][class*="rounded-[3rem]"] {
    border-radius: 1.2rem !important;
  }

  #root main form label {
    font-size: 0.72rem !important;
  }

  #root main form input,
  #root main form textarea {
    padding: 0.8rem 0.95rem !important;
    font-size: 16px !important;
  }

  #root footer {
    padding-top: 3.3rem !important;
    padding-bottom: 1.2rem !important;
  }

  #root footer > div:first-child svg path {
    fill: #539933 !important;
  }

  #root footer > div[class*="max-w-7xl"] {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-top: 1.5rem !important;
  }

  #root footer .grid[class*="grid-cols-1"] {
    gap: 0.85rem !important;
    margin-bottom: 1.05rem !important;
  }

  #root footer .grid[class*="grid-cols-1"] > div {
    text-align: left !important;
    align-items: flex-start !important;
    background: #202020;
    border: 1px solid #2f2f2f;
    border-radius: 0.95rem;
    padding: 0.85rem 0.85rem 0.9rem !important;
  }

  #root footer .grid[class*="grid-cols-1"] > div h4 {
    margin-bottom: 0.55rem !important;
  }

  #root footer .grid[class*="grid-cols-1"] > div ul {
    width: 100%;
  }

  #root footer .grid[class*="grid-cols-1"] > div ul li {
    justify-content: flex-start !important;
    align-items: flex-start !important;
    text-align: left !important;
    margin-bottom: 0.2rem;
  }

  #root footer li[class*="flex"][class*="gap-3"] {
    flex-direction: row !important;
    align-items: flex-start !important;
  }

  #root footer li[class*="flex"][class*="gap-3"] svg {
    margin-top: 0.15rem;
    flex-shrink: 0;
  }

  #root footer .text-center[class*="md:text-left"] {
    text-align: left !important;
  }

  #root footer button[class*="mx-auto"] {
    margin-left: 0 !important;
    margin-right: 0 !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  #root footer img[alt="Landschaftsbau Demeter"] {
    height: 3.95rem !important;
    margin-bottom: 0.72rem !important;
  }

  #root footer img[alt="Evodruck"] {
    height: 1.4rem !important;
  }

  #root footer .border-t[class*="border-gray-800"] {
    padding-top: 0.9rem !important;
    gap: 0.55rem !important;
    align-items: flex-start !important;
  }

  #root footer .border-t[class*="border-gray-800"] > div:last-child {
    width: 100%;
    justify-content: center !important;
    gap: 0.6rem !important;
    padding: 0.48rem 0.7rem !important;
  }
}
