/* =====================================================
   CUSTOM HEADER
===================================================== */

.custom-top-header {
    width: 100%;
    color: #fff;
    min-height: 160px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 50;
}

.custom-header-inner {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 20px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

/* =====================================================
   LOGO
===================================================== */

.header-logo img {
    width: auto;
    display: block;
}

/* =====================================================
   MITTLERER KONTAKTBEREICH
===================================================== */

.header-contact-area {
    display: flex;
    align-items: center;
    gap: 50px;
    flex: 1;
}

.header-contact-block {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-icon {
    color: #fff;
    flex-shrink: 0;
}

.header-text {
    line-height: 1.5;
}

.header-text a {
    color: #fff;
    text-decoration: none;
	text-align: left;
}

.header-text a:hover {
	color: red;
    opacity: 0.9;
}

/* =====================================================
   RECHTE SEITE
===================================================== */

.header-right-area {

    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 18px;
}

/* =====================================================
   SOCIAL ICONS
===================================================== */

.header-socials {
    display: flex;
    gap: 14px;
}

.header-socials a {
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.25s ease;
}

.header-socials a:hover {
    transform: scale(1.08);
}

/* =====================================================
   WIDERRUF BUTTON
===================================================== */

.header-widerruf a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    background: #fff;
    color: #000;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.25s ease;
    animation: widerrufPulse 4s infinite;
}

.header-widerruf a:hover {
    transform: scale(1.03);
}

@keyframes widerrufPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1);
    }
}

/* =====================================================
   SUCHE
===================================================== */

.header-search-button a {
    color: #fff;
    font-size: 25px;
    text-decoration: none;
    transition: opacity 0.25s ease;
}

.header-search-button a:hover {
    opacity: 0.7;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1200px) {
    .custom-header-inner {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .header-contact-area {
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-right-area {
        align-items: center;
    }
}

@media (max-width: 768px) {

    .custom-top-header {
		padding-top: 25px;
		padding-right: 0px;
		padding-bottom: 0;
		padding-left: 0px;
    }

    .custom-header-inner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 25px;
        text-align: center;
    }

    /* =========================================
       KONTAKTDATEN AUSBLENDEN
    ========================================= */

    .header-contact-area {
        display: none;
    }

    /* =========================================
       LOGO
    ========================================= */

    .header-logo {
        width: 70%;
        display: flex;
        justify-content: center;
    }

    .header-logo img {
        width: 100%;
        max-width: 320px;
        height: auto;
    }

    /* =========================================
       RECHTE SEITE
    ========================================= */

	.header-right-area {
		width: 100%;
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: center;
		gap: 18px;
		flex-wrap: wrap;
	}

    /* =========================================
       SOCIAL ICONS
    ========================================= */

    .header-socials {
        justify-content: center;
        gap: 14px;
    }
	
    .header-socials a {
        width: 38px !important;
        height: 38px !important;
    }	

    /* =========================================
       WIDERRUF BUTTON
    ========================================= */

	.header-widerruf {
		display: flex;
		align-items: center;
	}

	.header-widerruf a {
		height: 38px;
		padding: 0 20px;
		white-space: nowrap;
		justify-content: center;
	}

    /* =========================================
       SUCHE
    ========================================= */

	.header-search-button {
		display: flex;
		align-items: center;
	}

	.header-search-button a {
		width: 36px;
		height: 36px;
		border-radius: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 16px;
		background: rgba(255,255,255,0.08);
	}
}