@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600&display=swap");

/* ========================================================================== */
/* GLOBAL BASIS */
/* ========================================================================== */
@font-face {
    font-family: "Poppins";
    src: url("assets/poppins-regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("assets/poppins-medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.45;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
    border-radius: 14px;
}

.container {
    padding: 0 2rem;
    margin: 0 auto;
}

.row {
    display: flex;
    gap: 16px;
}

.between {
    justify-content: space-between;
}

.center-v {
    align-items: center;
}

.stack>*+* {
    margin-top: 12px;
}

.center {
    text-align: center;
}

.left {
    text-align: left;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid #ddd;
}

.topbar .container {
    min-height: 74px;
}

.brand {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: #4f5656;
    text-decoration: none;
}

.brand img {
    width: 52px;
    border-radius: 0;
}

.brand span {
    font-size: 18px;
}

.nav a {
    color: #5a5f5f;
    text-decoration: none;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 4px;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid #c9d1ce;
    border-radius: 10px;
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: #2f3737;
    border-radius: 2px;
}

.call-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid #c9d1ce;
    border-radius: 999px;
    background: #fff;
    color: #0b7f43;
    align-items: center;
    justify-content: center;
}

.call-toggle svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #0b7f43;
    outline-offset: 2px;
}

/* ========================================================================== */
/* ALLES AUF EINEN BLICK */
/* ========================================================================== */
.section {
    padding: 30px 0 84px;
}

.section-dark {
    color: #fff;
    background-size: cover;
    background-position: center;
    margin-bottom: 60px;
    
}

.overview-heading {
    color: #004526;
    margin: 20px 0 -30px 30px;
}

.overview-section {
    position: relative;
    overflow: visible;
}

.overview-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    transform: translateY(50px);
    margin-bottom: -130px;
    position: relative;
    z-index: 3;
}

.overview-card {
    border-radius: 27px;
    padding: 24px;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.3);
    text-align: center;
    background: white;
}

.overview-icon {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin: 0 auto 14px;
}

.overview-card h3 {
    font-size: clamp(24px, 2vw, 34px);
    line-height: 1.2;
    display: block;
    margin: 0 0 14px;
    padding: 14px 18px;
    /*background: linear-gradient(90deg, #004526, #0b6a3f, #004526);
    color: #fff; */
    border-radius: 10px;
    color: black;
}


.overview-card p {
    margin: 0;
    font-size: clamp(16px, 1.15vw, 20px);
    line-height: 1.55;
    color: black;
}

#leistungen {
    padding-top: calc(30px + 56px);
    margin-bottom: -5rem;
    padding-bottom: 0;
}

#leistungen li::marker {
    font-size: 0.72em;
}

/* ========================================================================== */
/* SERVICE RUND UM HAUS UND GARTEN */
/* ========================================================================== */
.hero {
    color: #fff;
    min-height: 75vh;
    display: grid;
    align-items: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background-image: var(--bg);
    background-size: cover;
    background-position: center;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-grid {
    position: relative;
    z-index: 2;
    padding-right: 35vw;
}

.glass-card {
  border-radius: 28px;
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(25px) saturate(150%);
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow:
    inset 0 0 0 1px #ffffff08,
    inset 1.8px 3px 1px -2.5px #ffffff40,
    inset -2px -2px 2px -2px #fff3,
    inset -3px -8px 1px -7px #ffffff26,
    inset -0.3px -1px 4px #0000001f,
    inset -1.5px 2.5px 3px -2px #0000002e,
    inset 0 3px 6px -2px #0000002e,
    inset 2px -6.5px 3px -4px #00000017,
    0 1px 6px #00000014,
    0 6px 18px #0000000f,
    inset 0 4px 31.2px -3px #2841597a;
}

.hero-card {
    max-width: 760px;
    padding: 30px;
    border-radius: 27px;
    background: linear-gradient(
        90deg,
        rgba(0, 24, 13, 0.9),
        rgba(0, 79, 43, 0.9),
        rgba(0, 24, 13, 0.9)
    );
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.hero-card h1 {
    font-weight: 600;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    text-shadow: 0 0px 30px rgba(174, 195, 234, 0.1);
}
.hero-card h2 {
    font-size: 2rem;
}

h1,
h2,
h3 {
    margin: 0;
    font-weight: 500;
}

h2 {
    font-size: 2rem;
    line-height: 1.25;
    margin-bottom: 22px;
}

h3 {
    font-size: clamp(34px, 3vw, 58px);
    line-height: 1.3;
    text-align: center;
    margin: 30px 0 28px;
}

p,
ul {
    margin: 0;
    font-size: clamp(20px, 1.45vw, 40px);
    color: black;
}

ul {
    padding-left: 32px;
}

li {
    margin: 2px 0;
    font-family: "Quicksand", "Poppins", sans-serif;
    font-weight: 500;
}


/* ========================================================================== */
/* Mower Section */
/* ========================================================================== */

#lawnmower-section {
    position: relative;
    z-index: 0;
    height: 30vh;
    padding: 0 24px;
    margin: 0 0 26px;
}

.lawnmower-sticky {
    position: sticky;
    top: 96px;
    height: min(340px, 52vh);
    overflow: hidden;
}

.lawnmower-lane {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 72px;
    height: 86px;
}

.lawnmower-vehicle {
    position: absolute;
    left: 12px;
    bottom: 18px;
    width: clamp(180px, 28vw, 360px);
    will-change: transform;
    transition: transform 0.05s linear;
}

.lawnmower-vehicle video {
    position: relative;
    z-index: -1;
    display: block;
    width: 100%;
}



/* ========================================================================== */
/* UNSERE LEISTUNGEN IM DETAIL */
/* ========================================================================== */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.leistungen-pairs {
    display: grid;
    gap: 44px;
}

.leistungen-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    width: calc(100vw - 56px);
    margin-left: calc(50% - 50vw + 28px);
    padding: 30px 34px 22px;
}

.leistungen-pair.glass-card {
    --card-bg: rgba(255, 255, 255, 0.62);
    --card-border: rgba(255, 255, 255, 0.48);
}

.leistungen-heading {
    margin: 0 0 26px;
    padding: 100px;
    text-align: center;
    color: #f3f8f3;
    background: linear-gradient(
        90deg,
        rgb(0, 22, 12),
        rgba(0, 84, 47, 1),
        rgb(0, 110, 62),
        rgba(0, 84, 47, 1),
        rgb(0, 22, 12)
    );
    font-size: 2.3rem;
}

.detail-heading {
    padding: 100px;
    margin-bottom: 26px;
    font-size: 2.3rem;
}

.leistungen-heading,
.detail-heading,
.expertise-heading {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.section-detail-leistungen {
    padding-top: 40px;
}

.section-detail-leistungen .content {
    text-align: left;
}

.section-detail-leistungen ul {
    font-size: clamp(17px, 1.2vw, 32px);
}

.detail-image-left .media {
    order: 1;
}

.detail-image-left .content {
    order: 2;
    text-align: left;
}

.detail-image-right .content {
    order: 1;
    text-align: left;
}

.detail-image-right .media {
    order: 2;
}

.detail-image-left .detail-heading {
    text-align: center;
}

.detail-image-right .detail-heading {
    text-align: center;
}

.detail-image-left .content ul {
    list-style: disc;
    padding-left: 1.3em;
    padding-right: 0;
}

.section-detail-leistungen li::marker {
    font-size: 0.72em;
}

.section-detail-leistungen .media img {
    width: min(700px, 90%);
    height: 500px;
    margin-top: -100px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 20px 28px rgba(0, 0, 0, 0.3);
}


.media img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.parkplatz-overlap {
    width: min(700px, 90%);
    height: 400px;
    margin-top: -100px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 4;  
    box-shadow: 0 20px 28px rgba(0, 0, 0, 0.3);
}

.garten-match-size {
    width: min(700px, 90%);
    height: 350px;
    margin-top: -40px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 20px 28px rgba(0, 0, 0, 0.3);
}

.leistungen-pair-right-image .leistungen-list {
    list-style: disc;
    padding-left: 32px;
    text-align: left;
}

/* ========================================================================== */
/* GARTEN- UND LANDSCHAFTSBAU */
/* ========================================================================== */
.expertise-section {
    position: relative;
    z-index: 1;
    padding-top: 0;
    padding-bottom: 96px;
}

.expertise-top {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 84px 0 138px;
    background: linear-gradient(
        90deg,
        rgb(0, 22, 12),
        rgba(0, 84, 47, 1),
        rgb(0, 110, 62),
        rgba(0, 84, 47, 1),
        rgb(0, 22, 12)
    );
}

.expertise-heading {
    font-size: 2.3rem;
    font-weight: 600;
    padding: 10px 100px;
    text-align: center;
    color: #f3f8f3;
}

.expertise-cards {
    margin-top: -110px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    padding: 0 7rem;
}

.expertise-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 16px 16px 18px;
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.18);

}

.expertise-card img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 12px;
}

.expertise-card h3 {
    margin: 0 0 8px;
    text-align: center;
    color: #111;
    font-size: clamp(24px, 1.7vw, 34px);
    line-height: 1.2;
}

.expertise-card p {
    margin: 0;
    color: #383e3e;
    font-size: clamp(16px, 1.05vw, 20px);
    line-height: 1.45;
    text-align: center;
}

.reverse-on-desktop .content {
    order: 2;
}

.reverse-on-desktop .media {
    order: 1;
}

/* ========================================================================== */
/* EIN BLICK IN UNSER PORTFOLIO */
/* ========================================================================== */
.section-light-alt {
    background: #fafafa;
}

.portfolio-marquee {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0;
    overflow: hidden;
    padding-bottom: 50px;
}

.portfolio-track {
    display: flex;
    width: max-content;
    animation: portfolio-scroll 110s linear infinite;
    will-change: transform;
}

.portfolio-group {
    display: flex;
    gap: 14px;
    padding-right: 14px;
}

.portfolio-group img {
    width: clamp(220px, 24vw, 360px);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    flex: 0 0 auto;
    box-shadow: 0 20px 18px rgba(0, 0, 0, 0.5);
}

@keyframes portfolio-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}

/* ========================================================================== */
/* EDIT PROFILE */
/* ========================================================================== */
.btn-outline,
.btn-solid {
    border-radius: 10px;
    padding: 10px 16px;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    cursor: pointer;
    line-height: 1.2;
}

.btn-outline {
    border: 1px solid #b8bfc1;
    background: #f7f7f7;
    color: #3f4747;
}

.btn-outline:hover {
    background: #efefef;
}

.btn-solid {
    border: 1px solid #c9133b;
    background: #c9133b;
    color: #fff;
}

.btn-solid:hover {
    filter: brightness(0.95);
}

.profile-dialog {
    border: 0;
    padding: 0;
    background: transparent;
    max-width: min(425px, calc(100% - 24px));
    width: 100%;
}

.profile-dialog::backdrop {
    background: rgba(0, 0, 0, 0.45);
}

.profile-form {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid #d5dbdd;
    background: #f7f7f7;
    color: #4f5656;
    transform-origin: center center;
}

.dialog-close {
    position: absolute;
    right: 12px;
    top: 10px;
    border: 0;
    background: transparent;
    font-size: 26px;
    line-height: 1;
    color: #6a7171;
    cursor: pointer;
}

.profile-form-header h3 {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.2;
}

.profile-form-header p {
    margin: 0;
    font-size: 16px;
}

.profile-form-fields {
    display: grid;
    gap: 8px;
}

.profile-form-fields label {
    font-size: 15px;
    color: #495151;
}

.profile-form-fields input {
    width: 100%;
    border: 1px solid #c8d0d2;
    border-radius: 8px;
    padding: 10px 12px;
    background: #fff;
    color: #2f3737;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
}

.profile-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 4px;
}


/* ============================================================
                          Footer
   ============================================================ */
footer {
  padding: 3.5rem 0 2.5rem;
  color: #111;
  background: #fff;
}

.wrapper {
  width: min(1300px, 92%);
  margin: 0 auto;
}

.grid-2 {
  display: grid;
  align-items: start;
  gap: 2.5rem;
}

footer h2 {
  margin: 0 0 1rem 0;
  font-size: 2rem;
}

.small {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 3rem;
  align-items: start;
}

.small-col:last-child {
  justify-self: end;
  text-align: left;
}

.small-col p {
  margin: 0.2rem 0;
  font-size: 0.95rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #111;
  font-size: 0.9rem;
  color: #222;
}
footer a {
 text-decoration: underline;
}

/* ========================================================================== */
/* KONTAKTFORMULAR */
/* ========================================================================== */
.contact-form-section {
  padding-top: 0;
}

.colored-divider {
    width: 100vw;
    height: 30px;
    background: linear-gradient(
        90deg,
        rgb(0, 138, 78) 0%, 
        rgb(0, 110, 62) 35%,
        rgb(0, 60, 33) 50%,
        rgba(0, 84, 47, 1) 65%, 
        rgb(0, 138, 78) 100%
        );
    margin: 0 0 3rem 0;
}

.contact-form-heading {
  margin-bottom: 28px;
  text-align: center;
}

.contact-form-card {
  max-width: 1100px;
  margin: 0 auto;
  padding: 26px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  display: grid;
  gap: 16px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.contact-field span {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2f3737;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid #c8d0d2;
  border-radius: 12px;
  padding: 12px 14px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  color: #2f3737;
  background: #fff;
}

.contact-field textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form-card > button {
  font-family: inherit;
  font-size: 20px;
  background: rgb(0, 110, 62);
  color: white;
  padding: 0.7em 1em;
  padding-left: 0.9em;
  display: flex;
  align-items: center;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.2s;
  cursor: pointer;
  max-width: 220px;
  min-height: 44px;
}

.contact-form-card > button span {
  display: block;
  margin-left: 0.5em;
  transition: all 0.3s ease-in-out;
}

.contact-form-card > button svg {
  display: block;
  transform-origin: center center;
  transition: transform 0.3s ease-in-out;
}

.contact-form-card > button:hover .svg-wrapper {
  animation: fly-1 0.6s ease-in-out infinite alternate;
}

.contact-form-card > button:hover svg {
  transform: translateX(2em) rotate(45deg) scale(1.1);
}

.contact-form-card > button:hover span {
  transform: translateX(6em);
}

.contact-form-card > button:active {
  transform: scale(0.95);
}

.contact-form-card > button {
  justify-self: end;
}

@keyframes fly-1 {
  from {
    transform: translateY(0.1em);
  }

  to {
    transform: translateY(-0.1em);
  }
}


@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .small {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .small-col:last-child {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 2.5rem 0 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ========================================================================== */
/* RESPONSIVE */
/* ========================================================================== */
@media (max-width: 1024px) {
    .section {
        padding: 64px 0;
    }

    #leistungen {
        padding-top: calc(64px + 56px);
    }

    .split {
        gap: 34px;
    }

    h2 {
        font-size: clamp(30px, 3.6vw, 44px);
    }

    h3 {
        font-size: clamp(30px, 3.2vw, 42px);
    }

    p,
    ul {
        font-size: clamp(16px, 1.8vw, 21px);
    }
}

@media (max-width: 768px) {
    .container {
        width: min(1120px, calc(100% - 28px));
    }

    .topbar .container {
        position: relative;
        min-height: 64px;
    }

    .brand span {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 12px;
        right: 12px;
        z-index: 40;
        flex-direction: column;
        gap: 4px;
        padding: 10px;
        border: 1px solid #d8dede;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 12px 22px rgba(0, 0, 0, 0.15);
    }

    .nav.is-open {
        display: flex;
    }

    .nav a {
        min-height: 44px;
        padding: 10px 12px;
        border-radius: 8px;
    }

    .split,
    .leistungen-pair,
    .hausmeister-pro-row,
    .expertise-cards,
    .overview-cards,
    .grid-two {
        grid-template-columns: 1fr;
    }

    #lawnmower-section {
        height: 30vh;
        padding: 0 10px;
        margin: 0 0 10px;
    }

    .lawnmower-sticky {
        top: 78px;
        height: min(260px, 44vh);
        border-radius: 18px;
    }

    .lawnmower-lane {
        bottom: 52px;
        height: 64px;
    }

    .hausmeister-pro-row {
        padding: 12px;
        gap: 14px;
    }

    .hausmeister-pro-row-reverse .hausmeister-pro-content {
        order: 2;
    }

    .hausmeister-pro-row-reverse .hausmeister-pro-media {
        order: 1;
    }

    .overview-cards {
        transform: translateY(28px);
        margin-bottom: -28px;
    }

    .parkplatz-overlap {
        width: min(280px, 78%);
        margin-top: -40px;
    }

    .expertise-top {
        padding: 62px 0 92px;
    }

    .expertise-cards {
        margin-top: -48px;
        gap: 16px;
    }

    .garten-match-size {
        width: min(280px, 78%);
    }

    .leistungen-pair {
        width: calc(100vw - 32px);
        margin-left: calc(50% - 50vw + 16px);
        padding: 18px;
    }

    .detail-heading {
        padding: 52px 24px;
        margin-bottom: 22px;
        font-size: 2rem;
    }

    .section-detail-leistungen .media img {
        width: min(280px, 78%);
        height: auto;
        margin-top: -16px;
    }

    .detail-image-left .content {
        text-align: left;
    }

    .detail-image-right .content {
        text-align: left;
    }

    .detail-image-left .content ul {
        list-style: disc;
        padding-right: 0;
        padding-left: 24px;
    }

    .detail-image-right .content ul {
        list-style: disc;
        padding-right: 0;
        padding-left: 24px;
    }

    .leistungen-pair .media {
        order: 1;
    }

    .leistungen-pair .content {
        order: 2;
    }

    #leistungen {
        padding-top: calc(64px + 28px);
    }

    .portfolio-group img {
        width: clamp(180px, 72vw, 300px);
    }

    .reverse-on-desktop .content,
    .reverse-on-desktop .media {
        order: initial;
    }

    h3 {
        margin-top: 18px;
    }

    ul {
        padding-left: 24px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 44px 0 56px;
    }

    .container {
        width: calc(100% - 20px);
        padding: 0 10px;
    }

    .hero {
        min-height: 64vh;
    }

    .hero-grid {
        padding-right: 0;
    }

    .hero-card {
        padding: 18px;
    }

    .hero-card h1 {
        font-size: clamp(1.6rem, 8vw, 2rem);
    }

    .hero-card h2 {
        font-size: clamp(1.05rem, 5vw, 1.3rem);
    }

    .nav-toggle,
    .nav {
        display: none !important;
    }

    .call-toggle {
        display: inline-flex;
        min-width: 44px;
        min-height: 44px;
    }

    .overview-heading {
        margin: 0 0 8px;
    }

    .leistungen-heading,
    .detail-heading,
    .expertise-heading {
        width: 100vw;
        margin: 0 0 18px calc(50% - 50vw);
        padding: 24px 16px;
        font-size: clamp(1.35rem, 6.6vw, 1.8rem);
    }

    h1,
    h2,
    h3 {
        text-align: center;
    }

    p,
    li {
        text-align: left;
    }

    .overview-card h3,
    .overview-card p,
    .expertise-card h3,
    .expertise-card p {
        text-align: center;
    }

    ul,
    .detail-image-left .content ul,
    .detail-image-right .content ul {
        list-style-position: outside;
        padding-left: 24px;
        padding-right: 0;
        text-align: left;
    }

    #garden-heading {
        padding: 1rem 0;
    }

    .leistungen-pair {
        width: 100%;
        margin-left: 0;
        padding: 12px;
        gap: 12px;
    }

    .parkplatz-overlap,
    .garten-match-size,
    .section-detail-leistungen .media img {
        width: 100%;
        max-width: 100%;
        margin-top: 0;
        height: auto;
    }

    .portfolio-group img {
        width: clamp(160px, 68vw, 260px);
    }

    .contact-form-card {
        padding: 16px;
    }

    .contact-form-card > button {
        justify-self: stretch;
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 769px) {
    .detail-heading.desktop-align-right {
        text-align: right;
    }

    .detail-heading.desktop-align-left {
        text-align: left;
    }
}
