

/* ==========================================================
   RENT HERO
   Standard Heritage Motorworks Hero Layout
========================================================== */

.hm-rent-hero{
    position:relative;
    min-height:680px;
    overflow:hidden;
    background:#171a21;
    color:#fff;
}

.hm-rent-hero__bg{
    position:absolute;
    inset:0;
    z-index:1;
}

.hm-rent-hero__bg img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:70% center;
}

.hm-rent-hero__overlay{
    position:absolute;
    inset:0;
    z-index:2;
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.82) 0%,
            rgba(0,0,0,.62) 32%,
            rgba(0,0,0,.30) 58%,
            rgba(0,0,0,.08) 80%,
            rgba(0,0,0,0) 100%
        );
}

.hm-rent-hero__inner{
    position:relative;
    z-index:3;
    width:min(1280px,calc(100% - 96px));
    min-height:680px;
    margin:0 auto;
    padding:140px 0 64px;
    box-sizing:border-box;
    display:flex;
    align-items:flex-end;
}

.hm-rent-hero__content{
    width:min(760px,100%);
    color:#fff;
}

.hm-rent-hero__subtitle{
    display:inline-flex;
    align-items:center;
    gap:11px;
    margin:0 0 14px;
    color:#18A891;
    font-size:10px;
    font-weight:700;
    letter-spacing:.18em;
    line-height:1;
    text-transform:uppercase;
}

.hm-rent-hero__subtitle::before{
    content:"";
    width:28px;
    height:1px;
    flex:0 0 28px;
    background:#18A891;
}

.hm-rent-hero__content h1{
    max-width:760px;
    margin:0;
    color:#fff;
    font-size:clamp(48px,5.4vw,76px);
    font-weight:600;
    letter-spacing:-.055em;
    line-height:.94;
}

.hm-rent-hero__content p{
    max-width:650px;
    margin:22px 0 0;
    color:rgba(255,255,255,.78);
    font-size:15px;
    line-height:1.7;
}

/* Tablet */
@media (min-width:768px) and (max-width:1024px){

    .hm-rent-hero{
        min-height:600px;
    }

    .hm-rent-hero__inner{
        width:calc(100% - 64px);
        min-height:600px;
        padding-top:110px;
        padding-bottom:48px;
    }

    .hm-rent-hero__content{
        width:min(680px,100%);
    }

    .hm-rent-hero__content h1{
        max-width:680px;
        font-size:clamp(42px,5.8vw,60px);
        line-height:.94;
        letter-spacing:-.05em;
    }

    .hm-rent-hero__content p{
        max-width:600px;
        margin-top:20px;
        font-size:14px;
        line-height:1.65;
    }
}

/* Mobile */
@media (max-width:767px){

    .hm-rent-hero{
        min-height:450px;
    }

    .hm-rent-hero__inner{
        width:calc(100% - 28px);
        min-height:450px;
        padding-top:110px;
        padding-bottom:28px;
    }

    .hm-rent-hero__content{
        width:100%;
        max-width:100%;
    }

    .hm-rent-hero__subtitle{
        gap:8px;
        margin-bottom:11px;
        font-size:8px;
        letter-spacing:.16em;
    }

    .hm-rent-hero__subtitle::before{
        width:22px;
        flex-basis:22px;
    }

    .hm-rent-hero__content h1{
        max-width:100%;
        margin:0;
        font-size:clamp(29px,8.2vw,39px);
        line-height:.95;
        letter-spacing:-.05em;
    }

    .hm-rent-hero__content p{
        display:block;
        max-width:100%;
        margin:18px 0 0;
        color:rgba(255,255,255,.78);
        font-size:13px;
        line-height:1.6;
    }

    .hm-rent-hero__bg img{
        object-position:60% center;
    }
}

/* Small phones */
@media (max-width:420px){

    .hm-rent-hero{
        min-height:416px;
    }

    .hm-rent-hero__inner{
        min-height:416px;
    }
}



/* ==========================================================
   RENT INTRO
========================================================== */

.hm-rent-intro {

	width: 100%;

	padding: 110px 20px;

	background: #ffffff;
}

.hm-rent-intro__container {

	max-width: 1100px;

	margin: 0 auto;
}

/* ----------------------------------------------------------
   Intro Header
---------------------------------------------------------- */

.hm-rent-intro__header {

	max-width: 850px;

	margin: 0 auto 65px;

	text-align: center;
}

.hm-rent-intro__eyebrow,
.hm-rent-occasions__eyebrow,
.hm-rent-cars__eyebrow,
.hm-rent-contact__eyebrow {

	display: block;

	margin-bottom: 12px;

	color: #18A891;

	font-size: 15px;

	font-weight: 600;

	line-height: 1.4;

	letter-spacing: 3px;

	text-transform: uppercase;
}

.hm-rent-intro__header h2,
.hm-rent-occasions__header h2,
.hm-rent-cars__header h2,
.hm-rent-contact h2 {

	margin: 0;

	color: #111111;

	font-size: 36px;

	font-weight: 600;

	line-height: 1.15;
}

.hm-rent-intro__header > p {

	max-width: 720px;

	margin: 24px auto 0;

	color: #555555;

	font-size: 17px;

	line-height: 1.7;
}

/* ==========================================================
   INTRO – TWO COLUMNS
========================================================== */

.hm-rent-intro__columns {

	display: grid;

	grid-template-columns: repeat(2, minmax(0, 1fr));

	gap: 70px;

	padding-top: 10px;
}

.hm-rent-intro__text {

	max-width: 500px;
}

.hm-rent-intro__text h3 {

	margin: 0 0 18px;

	color: #111111;

	font-size: 22px;

	font-weight: 600;

	line-height: 1.25;
}

.hm-rent-intro__text p {

	margin: 0 0 18px;

	color: #666666;

	font-size: 15px;

	line-height: 1.75;
}

.hm-rent-intro__text p:last-child {

	margin-bottom: 0;
}

/* ==========================================================
   EINSATZBEREICHE
========================================================== */

.hm-rent-occasions {

	margin-top: 110px;

	padding-top: 70px;

	border-top: 1px solid #e2e2e2;
}

.hm-rent-occasions__header {

	max-width: 850px;

	margin: 0 auto 55px;

	text-align: center;
}

.hm-rent-occasions__grid {

	display: grid;

	grid-template-columns: repeat(4, minmax(0, 1fr));

	border-top: 1px solid #dddddd;

	border-left: 1px solid #dddddd;
}

.hm-rent-occasion {

	min-height: 250px;

	padding: 30px 25px;

	border-right: 1px solid #dddddd;

	border-bottom: 1px solid #dddddd;
}

.hm-rent-occasion__number {

	display: block;

	margin-bottom: 28px;

	color: #18A891;

	font-size: 26px;

	font-weight: 600;

	line-height: 1;
}

.hm-rent-occasion h3 {

	margin: 0 0 14px;

	color: #111111;

	font-size: 20px;

	font-weight: 600;

	line-height: 1.25;
}

.hm-rent-occasion p {

	margin: 0;

	color: #666666;

	font-size: 14px;

	line-height: 1.7;
}

/* ==========================================================
   RENT CARS
========================================================== */

.hm-rent-cars {

	width: 100%;

	padding: 115px 20px;

	background: #f7f7f7;
}

.hm-rent-cars__container {

	max-width: 1100px;

	margin: 0 auto;
}

.hm-rent-cars__header {

	max-width: 850px;

	margin: 0 auto 70px;

	text-align: center;
}

.hm-rent-cars__header p {

	max-width: 700px;

	margin: 24px auto 0;

	color: #555555;

	font-size: 17px;

	line-height: 1.7;
}

/* ----------------------------------------------------------
   Cars
---------------------------------------------------------- */

.hm-rent-cars__list {

	display: flex;

	flex-direction: column;

	gap: 90px;
}

.hm-rent-car {

	display: grid;

	grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);

	align-items: center;

	gap: 70px;
}

.hm-rent-car--reverse {

	grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
}

.hm-rent-car--reverse .hm-rent-car__image {

	order: 2;
}

.hm-rent-car--reverse .hm-rent-car__content {

	order: 1;
}

/* ----------------------------------------------------------
   Image
---------------------------------------------------------- */

.hm-rent-car__image {

	overflow: hidden;
}

.hm-rent-car__image img {

	display: block;

	width: 100%;

	height: auto;

	aspect-ratio: 3 / 2;

	object-fit: cover;
}

/* ----------------------------------------------------------
   Content
---------------------------------------------------------- */

.hm-rent-car__number {

	display: block;

	margin-bottom: 22px;

	color: #18A891;

	font-size: 30px;

	font-weight: 600;

	line-height: 1;
}

.hm-rent-car__label {

	display: block;

	margin-bottom: 10px;

	color: #777777;

	font-size: 12px;

	font-weight: 600;

	letter-spacing: 2px;
}

.hm-rent-car__content h3 {

	margin: 0 0 22px;

	color: #111111;

	font-size: 34px;

	font-weight: 600;

	line-height: 1.15;
}

.hm-rent-car__content h3 span {

	color: #18A891;

	font-size: 20px;

	font-weight: 500;
}

.hm-rent-car__content p {

	margin: 0 0 18px;

	color: #666666;

	font-size: 15px;

	line-height: 1.75;
}

.hm-rent-car__content p:last-child {

	margin-bottom: 0;
}

/* ==========================================================
   RENT CONTACT
========================================================== */

.hm-rent-contact {

	width: 100%;

	padding: 100px 20px;

	background: #ffffff;
}

.hm-rent-contact__container {

	max-width: 800px;

	margin: 0 auto;

	text-align: center;
}

.hm-rent-contact p {

	max-width: 650px;

	margin: 22px auto 0;

	color: #555555;

	font-size: 17px;

	line-height: 1.7;
}

/* ----------------------------------------------------------
   Button
---------------------------------------------------------- */

.hm-rent-contact__button {

	display: inline-flex;

	align-items: center;
	justify-content: center;

	margin-top: 32px;

	min-width: 190px;

	padding: 13px 26px;

	border: 1px solid #18A891;

	border-radius: 30px;

	background: #18A891;

	color: #ffffff;

	font-size: 12px;

	font-weight: 600;

	line-height: 1;

	letter-spacing: 1.5px;

	text-decoration: none;

	transition:
		background-color .25s ease,
		border-color .25s ease,
		color .25s ease;
}

.hm-rent-contact__button:hover {

	background: #111111;

	border-color: #111111;

	color: #ffffff;
}

/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1000px) {

	.hm-rent-occasions__grid {

		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hm-rent-car,
	.hm-rent-car--reverse {

		grid-template-columns: 1fr;

		gap: 40px;
	}

	.hm-rent-car--reverse .hm-rent-car__image,
	.hm-rent-car--reverse .hm-rent-car__content {

		order: initial;
	}

}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 768px) {

	/* ------------------------------------------------------
	   Intro
	------------------------------------------------------ */

	.hm-rent-intro {

		padding: 75px 15px;
	}

	.hm-rent-intro__header {

		margin-bottom: 40px;
	}

	.hm-rent-intro__eyebrow,
	.hm-rent-occasions__eyebrow,
	.hm-rent-cars__eyebrow,
	.hm-rent-contact__eyebrow {

		margin-bottom: 10px;

		font-size: 12px;

		letter-spacing: 3px;
	}

	.hm-rent-intro__header h2,
	.hm-rent-occasions__header h2,
	.hm-rent-cars__header h2,
	.hm-rent-contact h2 {

		font-size: 30px;

		line-height: 1.15;
	}

	.hm-rent-intro__header > p {

		margin-top: 18px;

		font-size: 15px;

		line-height: 1.7;
	}

	.hm-rent-intro__columns {

		grid-template-columns: 1fr;

		gap: 40px;

		padding-top: 0;
	}

	.hm-rent-intro__text {

		max-width: none;
	}

	.hm-rent-intro__text h3 {

		font-size: 21px;

		margin-bottom: 14px;
	}

	.hm-rent-intro__text p {

		font-size: 15px;

		line-height: 1.7;
	}

	/* ------------------------------------------------------
	   Einsatzbereiche
	------------------------------------------------------ */

	.hm-rent-occasions {

		margin-top: 75px;

		padding-top: 50px;
	}

	.hm-rent-occasions__header {

		margin-bottom: 40px;
	}

	.hm-rent-occasions__grid {

		grid-template-columns: 1fr;
	}

	.hm-rent-occasion {

		min-height: auto;

		padding: 28px 24px;
	}

	.hm-rent-occasion__number {

		margin-bottom: 20px;

		font-size: 25px;
	}

	.hm-rent-occasion h3 {

		font-size: 21px;
	}

	.hm-rent-occasion p {

		font-size: 15px;

		line-height: 1.7;
	}

	/* ------------------------------------------------------
	   Fahrzeuge
	------------------------------------------------------ */

	.hm-rent-cars {

		padding: 75px 15px;
	}

	.hm-rent-cars__header {

		margin-bottom: 45px;
	}

	.hm-rent-cars__header p {

		margin-top: 18px;

		font-size: 15px;

		line-height: 1.7;
	}

	.hm-rent-cars__list {

		gap: 60px;
	}

	.hm-rent-car,
	.hm-rent-car--reverse {

		display: flex;

		flex-direction: column;

		gap: 28px;
	}

	.hm-rent-car__image {

		width: 100%;
	}

	.hm-rent-car__content {

		width: 100%;
	}

	.hm-rent-car__number {

		margin-bottom: 16px;

		font-size: 26px;
	}

	.hm-rent-car__content h3 {

		margin-bottom: 18px;

		font-size: 30px;
	}

	.hm-rent-car__content h3 span {

		font-size: 18px;
	}

	.hm-rent-car__content p {

		font-size: 15px;

		line-height: 1.7;
	}

	/* ------------------------------------------------------
	   Kontakt
	------------------------------------------------------ */

	.hm-rent-contact {

		padding: 75px 15px;
	}

	.hm-rent-contact p {

		margin-top: 18px;

		font-size: 15px;

		line-height: 1.7;
	}

	.hm-rent-contact__button {

		width: 100%;

		margin-top: 28px;
	}

}