.p-contact-hero {
    margin-top: 50px;
}

.p-kontakt-hero-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.p-kontakt-hero-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

.p-kontakt-hero-links a {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: var(--black);
}

.p-kontakt-hero-links a .p-kontakt-svg-box {
    position: relative;
    top: 3px;
    width: 20px;
    height: 20px;
}

.p-kontakt-svg-box svg {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 100%;
}

.p-kontakt-hero-link-texts {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.p-kontakt-hero-link-texts span {
    display: block;
}

.p-contact-underlined {
    text-decoration: underline;
}

.p-kontakt-map {
    width: 100%;
    position: relative;
}

.p-contact-form-and-map {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 50px;

}

.p-kontakt-map img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: cover;
}

.p-map-content {
    position: absolute;
    top: 35%;
    right: 36%;
}



.map-dot {
    position: relative;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--orange);
}

.map-dot::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--orange);
    opacity: 0.5;
    animation: infiniteScale 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes infiniteScale {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.8);
    }

    100% {
        transform: scale(1);
    }
}

.p-map-link {
    background-color: var(--white);
    transition: all var(--timing-function);
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 30px;
    right: 10px;
    padding: 10px 20px;
    color: var(--black);
    display: inline-block;

    width: 230px;
}

.p-map-link a {
    color: var(--black);
}

.p-map-link span {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.p-kontakt-map:hover .p-map-link {
    opacity: 1;
    pointer-events: auto;
}

.row-line p .wpcf7-form-control-wrap {
    width: 100%;
    display: block;
    position: relative;
}

.row-line p .wpcf7-form-control-wrap span {
    position: absolute;
    width: 100% !important;
}

.wpcf7-response-output {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    margin-top: 20px !important;
    color: var(--black) !important;
}

.row-line br {
    display: none;
}

.row-line-textarea label {
    position: absolute;
    top: -10000px;
}

.row-line-textarea br {
    display: none;
}

.row-line p {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
}

.row-line label {
    position: absolute;
    top: -10000px;
}

.row-line input {
    border: none;
    background: none;
    border-bottom: 1px solid var(--gray-border);
    color: var(--black);
    padding: 5px 10px;
    width: 100%;
}

.row-line input::placeholder {
    color: rgba(30, 30, 30, 0.8);
}

.row-line select {
    background: none;
    border: none;
    position: relative;
    background-color: #fff;
    width: 100%;
    border-bottom: 1px solid var(--gray-border);
    padding: 5px 10px;
}

.row-line input:focus,
.row-line select:focus,
.row-line-textarea textarea:focus,
.row-line input:focus-within,
.row-line select:focus-within,
.row-line-textarea textarea:focus-within {
    outline: none !important;
    border-bottom: 1px solid var(--orange);
}


.row-line select option {
    background: var(--tint-bg);
    color: var(--black);
}

.row-line-textarea {
    margin-bottom: 30px;
}

.row-line-textarea textarea {
    background: none;
    border: none;
    border-bottom: 1px solid var(--gray-border);
    color: var(--black);
    width: 100%;
    padding: 5px 10px;
    height: fit-content;
}

.row-line-textarea textarea::placeholder {
    color: rgba(30, 30, 30, 0.8);
}

.p-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--white);
}

@media only screen and (min-width:992px) {
    .p-contact-hero {
        margin-top: 100px;
    }

    .p-kontakt-hero-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .p-kontakt-hero-texts {
        width: 35%;
    }

    .p-kontakt-hero-links {
        width: 50%;
        gap: 100px;
        padding-top: 30px;
    }

    .p-contact-form-and-map {
        margin-top: 100px;
        flex-direction: row;
        gap: 100px;

    }

    .p-map-link {
        width: 250px;
    }

    .p-map-content {
        top: 28%;
        right: 38%;
    }

    .p-contact-form {
        gap: 40px;
        width: calc(45% - 50px);
    }

    .p-kontakt-map {
        width: calc(55% - 50px);
        height: 425px;
    }

    .p-kontakt-map img {
        height: 100%;
        object-fit: cover;
    }

    .row-line p {
        flex-direction: row;
        gap: 40px;
        margin-bottom: 40px;
    }

    .row-line p span {
        display: block;
        width: calc(50% - 20px);
    }

    .row-line-textarea {
        margin-bottom: 50px;
    }

    .p-kontakt-hero-links a .p-kontakt-svg-box {
        width: 24px;
        height: 24px;
    }
}

@media only screen and (min-width:992px) and (max-width:1199px) {
    .p-kontakt-hero-texts {
        width: 35%;
    }

    .p-kontakt-hero-links {
        width: 55%;
        gap: 50px;
    }

    .p-contact-form-and-map {
        gap: 50px;
    }

    .p-contact-form {
        width: calc(50% - 25px);
    }

    .p-kontakt-map {
        width: calc(50% - 25px);
    }

    .p-map-content {
        right: 27%;
    }
}

@media only screen and (min-width:1200px) and (max-width:1399px) {
    .p-kontakt-hero-texts {
        width: 35%;
    }

    .p-kontakt-hero-links {
        width: 55%;
        gap: 30px;
    }

    .p-contact-form-and-map {
        gap: 50px;
    }

    .p-contact-form {
        width: calc(50% - 25px);
    }

    .p-kontakt-map {
        width: calc(50% - 25px);
    }

    .p-map-content {
        right: 30%;
    }
}

@media only screen and (min-width:1400px) and (max-width:1599px) {
    .p-kontakt-hero-texts {
        width: 35%;
    }

    .p-kontakt-hero-links {
        width: 55%;
        gap: 50px;
    }

    .p-contact-form-and-map {
        gap: 60px;
    }

    .p-contact-form {
        width: calc(50% - 30px);
    }

    .p-kontakt-map {
        width: calc(50% - 30px);
    }

    .p-map-content {
        right: 30%;
    }
}

@media only screen and (min-width:1600px) and (max-width:1799px) {
    .p-contact-form-and-map {
        gap: 80px;
    }

    .p-contact-form {
        width: calc(50% - 40px);
    }

    .p-kontakt-map {
        width: calc(50% - 40px);
    }

    .p-map-content {
        right: 35%;
    }

    .p-kontakt-hero-texts {
        width: 35%;
    }

    .p-kontakt-hero-links {

        gap: 75px;
    }
}

@media only screen and (hover:hover) and (min-width:992px) {
    .p-kontakt-hero-links a:hover .p-contact-underlined, .p-kontakt-hero-links a:hover p {
        color: var(--orange);
    }

    .p-kontakt-hero-links a .p-contact-underlined, .p-kontakt-hero-links a p {
        transition: color var(--timing-function);
    }
}