/* ==========================================================
   HERITAGE MOTORWORKS
   story.CSS
   VERSION 2
==========================================================*/

/

/

/

/

/

/

/

/

/

.hm-story-service{

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;

    min-height:64px;

    padding:10px 14px;

    text-decoration:none;

    color:#fff;

    border:1px solid rgba(255,255,255,.12);

    border-radius:14px;

    background:rgba(0,0,0,.22);

    backdrop-filter:blur(8px);

    transition:all .25s ease;

}

.hm-story-service:hover{

    border-color:#18A891;

    background:rgba(0,0,0,.34);

    transform:translateY(-3px);

}

.hm-story-service span{

    display:block;

    margin-bottom:2px;

    font-size:14px;

    font-weight:700;

    letter-spacing:1px;

}
.hm-story-service:hover span {
    color: #18A891;
}

.hm-story-service small{

    display:block;

    font-size:11px;

    line-height:1.3;

    color:rgba(255,255,255,.72);

}

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

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

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

.hm-story-hero__bg img{
    position:absolute;
    inset:0;

    display:block;

    width:100%;
    height:100%;

    object-fit:cover;
    object-position:70% center;

    opacity:0;
    visibility:hidden;

    z-index:1;

    transition:
        opacity .9s ease,
        visibility .9s ease;
}

.hm-story-hero__bg img.is-active{
    opacity:1;
    visibility:visible;
    z-index:2;
}

@media (prefers-reduced-motion: reduce){

    .hm-story-hero__bg img{
        transition:none;
    }

}

.hm-story-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-story-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-story-hero__content{
    width:min(760px,100%);
    color:#fff;
}

.hm-story-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-story-hero__subtitle::before{
    content:"";
    width:28px;
    height:1px;
    flex:0 0 28px;
    background:#18A891;
}

.hm-story-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-story-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-story-hero{
        min-height:600px;
    }

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

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

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

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

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

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

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

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

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

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

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

    .hm-story-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-story-hero__bg img{
        object-position:60% center;
    }
}

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

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

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



/* ==========================================================
   STORY – INTRO
========================================================== */

.hm-story-intro {
    width: 100%;
    padding: 110px 20px;
}

.hm-story-intro__container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.hm-story-intro__header {
    max-width: 900px;
    margin: 0 auto 70px;
    text-align: center;
}

.hm-story-intro__eyebrow {
    display: block;

    margin-bottom: 12px;

    color: #18A891;

    font-size: 15px;
    font-weight: 600;
    letter-spacing: 3px;
    line-height: 1.4;

    text-transform: uppercase;
}

.hm-story-intro__header h1 {
    margin: 0;

    color: #111111;

    font-size: 36px;
    font-weight: 600;
    line-height: 1.15;
}

.hm-story-intro__lead {
    max-width: 760px;

    margin: 24px auto 0;

    color: #555555;

    font-size: 18px;
    line-height: 1.65;
}

/* ----------------------------------------------------------
   Persönlicher Einstieg
---------------------------------------------------------- */

.hm-story-intro__personal {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.hm-story-intro__text {
    max-width: 560px;
}

.hm-story-intro__text h2 {
    margin: 0 0 20px;

    color: #111111;

    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
}

.hm-story-intro__text p {
    margin: 0;

    color: #444444;

    font-size: 16px;
    line-height: 1.75;
}

.hm-story-intro__image {
    width: 100%;

    overflow: hidden;

    border-radius: 16px;
}

.hm-story-intro__image img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 4 / 3;

    object-fit: cover;
}

/* ==========================================================
   STORY – DIE ANFÄNGE
========================================================== */

.hm-story-history {
	width: 100%;
	padding: 120px 20px;
	background: #f7f7f7;
}

.hm-story-history__container {
	max-width: 1200px;
	margin: 0 auto;
}

/* ----------------------------------------------------------
   Überschrift
---------------------------------------------------------- */

.hm-story-history__heading {
	max-width: 850px;
	margin: 0 auto 55px;
	text-align: center;
}

.hm-story-history__heading .hm-story-section-label {
	display: block;

	margin-bottom: 12px;

	color: #18A891;

	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 3px;

	text-transform: uppercase;
}

.hm-story-history__heading h2 {
	margin: 0;

	color: #111111;

	font-size: 36px;
	font-weight: 600;
	line-height: 1.15;
}

/* ----------------------------------------------------------
   Bild
---------------------------------------------------------- */

.hm-story-history__image {
	width: 100%;
	max-width: 1050px;
	margin: 0 auto;

	overflow: hidden;
	border-radius: 18px;
}

.hm-story-history__image img {
	display: block;

	width: 100%;
	height: auto;

	aspect-ratio: 16 / 8;
	object-fit: cover;
}

/* ----------------------------------------------------------
   Text
---------------------------------------------------------- */

.hm-story-history__content {
	max-width: 760px;
	margin: 55px auto 0;
}

.hm-story-history__content p {
	margin: 0 0 22px;

	color: #444444;

	font-size: 17px;
	line-height: 1.75;
}

.hm-story-history__content p:first-child {
	color: #222222;

	font-size: 20px;
	font-weight: 500;
	line-height: 1.6;
}

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

@media (max-width: 768px) {

	.hm-story-history {
		padding: 75px 15px;
	}

	.hm-story-history__heading {
		margin-bottom: 26px;
	}

	.hm-story-history__heading .hm-story-section-label {
		margin-bottom: 10px;

		font-size: 12px;
		letter-spacing: 3px;
	}

	.hm-story-history__heading h2 {
		font-size: 30px;
		line-height: 1.15;
	}

	.hm-story-history__image {
		border-radius: 14px;
	}

	.hm-story-history__image img {
		aspect-ratio: 4 / 3;
	}

	.hm-story-history__content {
		margin-top: 35px;
	}

	.hm-story-history__content p {
		font-size: 15px;
		line-height: 1.7;
	}

	.hm-story-history__content p:first-child {
		font-size: 17px;
		line-height: 1.6;
	}

}

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

@media (max-width: 768px) {

    .hm-story-intro {
        padding: 70px 15px;
    }

    .hm-story-intro__header {
        margin-bottom: 45px;
    }

    .hm-story-intro__eyebrow {
        font-size: 12px;
        letter-spacing: 3px;
    }

    .hm-story-intro__header h1 {
        font-size: 30px;
        line-height: 1.15;
    }

    .hm-story-intro__lead {
        margin-top: 18px;

        font-size: 16px;
        line-height: 1.6;
    }

    .hm-story-intro__personal {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .hm-story-intro__text {
        max-width: none;
    }

    .hm-story-intro__text h2 {
        font-size: 27px;
    }

    .hm-story-intro__text p {
        font-size: 15px;
        line-height: 1.7;
    }

    .hm-story-intro__image {
        border-radius: 14px;
    }

}

/* ==========================================================
   STORY – HERITAGE MOTORWORKS
========================================================== */

.hm-story-brand {

	width: 100%;

	padding: 120px 20px;

	background: #111111;
}

.hm-story-brand__container {

	max-width: 1000px;

	margin: 0 auto;

	text-align: center;
}

/* ----------------------------------------------------------
   Eyebrow
---------------------------------------------------------- */

.hm-story-brand__eyebrow {

	display: block;

	margin-bottom: 12px;

	color: #18A891;

	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;

	letter-spacing: 3px;

	text-transform: uppercase;
}

/* ----------------------------------------------------------
   Überschrift
---------------------------------------------------------- */

.hm-story-brand__heading h2 {

	margin: 0;

	color: #ffffff;

	font-size: 36px;
	font-weight: 600;
	line-height: 1.15;
}

/* ----------------------------------------------------------
   Text
---------------------------------------------------------- */

.hm-story-brand__content {

	max-width: 760px;

	margin: 38px auto 0;
}

.hm-story-brand__content p {

	margin: 0 0 22px;

	color: rgba(255, 255, 255, .78);

	font-size: 17px;
	line-height: 1.75;
}

.hm-story-brand__content p:last-child {

	margin-bottom: 0;
}

.hm-story-brand__content strong {

	color: #ffffff;

	font-weight: 600;
}

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

@media (max-width: 768px) {

	.hm-story-brand {

		padding: 75px 15px;
	}

	.hm-story-brand__eyebrow {

		margin-bottom: 10px;

		font-size: 12px;
		letter-spacing: 3px;
	}

	.hm-story-brand__heading h2 {

		font-size: 30px;
		line-height: 1.15;
	}

	.hm-story-brand__content {

		margin-top: 28px;
	}

	.hm-story-brand__content p {

		font-size: 15px;
		line-height: 1.7;
	}

}

/* ==========================================================
   STORY – PROJEKTE
========================================================== */

.hm-story-projects {

	width: 100%;

	padding: 120px 20px;

	background: #ffffff;
}

.hm-story-projects__container {

	max-width: 1200px;

	margin: 0 auto;
}

/* ----------------------------------------------------------
   Überschrift
---------------------------------------------------------- */

.hm-story-projects__heading {

	max-width: 850px;

	margin: 0 auto 55px;

	text-align: center;
}

.hm-story-projects__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-story-projects__heading h2 {

	margin: 0;

	color: #111111;

	font-size: 36px;
	font-weight: 600;
	line-height: 1.15;
}

.hm-story-projects__heading p {

	max-width: 720px;

	margin: 24px auto 0;

	color: #555555;

	font-size: 17px;
	line-height: 1.7;
}

/* ----------------------------------------------------------
   Projektkarten
---------------------------------------------------------- */

.hm-story-projects__grid {

	display: grid;

	grid-template-columns: repeat(3, 1fr);

	gap: 28px;
}

.hm-story-project {

	min-width: 0;
}

/* ----------------------------------------------------------
   Bild
---------------------------------------------------------- */

.hm-story-project__image {

	width: 100%;

	overflow: hidden;

	border-radius: 16px;
}

.hm-story-project__image img {

	display: block;

	width: 100%;
	height: auto;

	aspect-ratio: 4 / 3;

	object-fit: cover;

	transition: transform .4s ease;
}

.hm-story-project:hover .hm-story-project__image img {

	transform: scale(1.025);
}

/* ----------------------------------------------------------
   Inhalt
---------------------------------------------------------- */

.hm-story-project__content {

	padding: 22px 4px 0;
}

.hm-story-project__year {

	display: block;

	margin-bottom: 7px;

	color: #18A891;

	font-size: 12px;
	font-weight: 600;

	letter-spacing: 2px;

	text-transform: uppercase;
}

.hm-story-project__content h3 {

	margin: 0 0 10px;

	color: #111111;

	font-size: 22px;
	font-weight: 600;

	line-height: 1.2;
}

.hm-story-project__content p {

	margin: 0;

	color: #555555;

	font-size: 15px;

	line-height: 1.65;
}

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

@media (max-width: 768px) {

	.hm-story-projects {

		padding: 75px 15px;
	}

	.hm-story-projects__heading {

		margin-bottom: 35px;
	}

	.hm-story-projects__eyebrow {

		margin-bottom: 10px;

		font-size: 12px;

		letter-spacing: 3px;
	}

	.hm-story-projects__heading h2 {

		font-size: 30px;

		line-height: 1.15;
	}

	.hm-story-projects__heading p {

		margin-top: 18px;

		font-size: 15px;

		line-height: 1.7;
	}

	.hm-story-projects__grid {

		grid-template-columns: 1fr;

		gap: 42px;
	}

	.hm-story-project__image {

		border-radius: 14px;
	}

	.hm-story-project__content {

		padding-top: 18px;
	}

	.hm-story-project__content h3 {

		font-size: 21px;
	}

	.hm-story-project__content p {

		font-size: 15px;

		line-height: 1.7;
	}

	.hm-story-project:hover .hm-story-project__image img {

		transform: none;
	}

}

/* ==========================================================
   STORY – HEUTE
========================================================== */

.hm-story-today {

	width: 100%;

	padding: 120px 20px;

	background: #f7f7f7;
}

.hm-story-today__container {

	max-width: 1100px;

	margin: 0 auto;
}

/* ----------------------------------------------------------
   Überschrift
---------------------------------------------------------- */

.hm-story-today__heading {

	max-width: 850px;

	margin: 0 auto 65px;

	text-align: center;
}

.hm-story-today__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-story-today__heading h2 {

	margin: 0;

	color: #111111;

	font-size: 36px;
	font-weight: 600;
	line-height: 1.15;
}

.hm-story-today__heading > p {

	max-width: 720px;

	margin: 24px auto 0;

	color: #555555;

	font-size: 17px;
	line-height: 1.7;
}

/* ----------------------------------------------------------
   Bereiche
---------------------------------------------------------- */

.hm-story-today__grid {

	display: grid;

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

	background: #ffffff;

	border-top: 1px solid #e5e5e5;
	border-left: 1px solid #e5e5e5;
}

.hm-story-today__item {

	position: relative;

	min-height: 235px;

	padding: 42px 45px;

	background: #ffffff;

	border-right: 1px solid #e5e5e5;
	border-bottom: 1px solid #e5e5e5;

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

.hm-story-today__item:hover {

	background: #fafafa;

}

/* ----------------------------------------------------------
   Nummer
---------------------------------------------------------- */

.hm-story-today__number {

	display: block;

	margin-bottom: 24px;

	color: #18A891;

	font-size: 30px;
	font-weight: 600;

	line-height: 1;

	letter-spacing: 1px;
}

/* ----------------------------------------------------------
   Überschrift
---------------------------------------------------------- */

.hm-story-today__item h3 {

	margin: 0 0 14px;

	color: #111111;

	font-size: 23px;
	font-weight: 600;

	line-height: 1.2;
}

/* ----------------------------------------------------------
   Beschreibung
---------------------------------------------------------- */

.hm-story-today__item p {

	max-width: 470px;

	margin: 0;

	color: #666666;

	font-size: 15px;

	line-height: 1.7;
}

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

@media (max-width: 768px) {

	.hm-story-today {

		padding: 75px 15px;
	}

	.hm-story-today__heading {

		margin-bottom: 38px;
	}

	.hm-story-today__eyebrow {

		margin-bottom: 10px;

		font-size: 12px;
		letter-spacing: 3px;
	}

	.hm-story-today__heading h2 {

		font-size: 30px;
		line-height: 1.15;
	}

	.hm-story-today__heading > p {

		margin-top: 18px;

		font-size: 15px;
		line-height: 1.7;
	}

	.hm-story-today__grid {

		grid-template-columns: 1fr;
	}

.hm-story-today__item {

	min-height: auto;

	padding: 32px 25px;
}

.hm-story-today__number {

	margin-bottom: 18px;

	font-size: 26px;
}

.hm-story-today__item h3 {

	font-size: 21px;

	margin-bottom: 12px;
}

.hm-story-today__item p {

	font-size: 15px;

	line-height: 1.7;
}

}

/* ==========================================================
   STORY – PHILOSOPHIE
========================================================== */

.hm-story-philosophy {

	width: 100%;

	padding: 125px 20px;

	background: #111111;
}

.hm-story-philosophy__container {

	max-width: 900px;

	margin: 0 auto;

	text-align: center;
}

/* ----------------------------------------------------------
   Überschrift
---------------------------------------------------------- */

.hm-story-philosophy__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-story-philosophy__heading h2 {

	margin: 0;

	color: #ffffff;

	font-size: 36px;
	font-weight: 600;
	line-height: 1.15;
}

/* ----------------------------------------------------------
   Text
---------------------------------------------------------- */

.hm-story-philosophy__content {

	max-width: 720px;

	margin: 32px auto 0;
}

.hm-story-philosophy__content p {

	margin: 0 0 22px;

	color: rgba(255, 255, 255, .76);

	font-size: 17px;
	line-height: 1.75;
}

.hm-story-philosophy__content p:last-child {

	margin-bottom: 0;
}

/* ----------------------------------------------------------
   Statement
---------------------------------------------------------- */

.hm-story-philosophy__statement {

	margin-top: 65px;

	color: #ffffff;

	font-size: 30px;
	font-weight: 600;

	line-height: 1.2;

	letter-spacing: -.3px;
}

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

@media (max-width: 768px) {

	.hm-story-philosophy {

		padding: 80px 15px;
	}

	.hm-story-philosophy__eyebrow {

		margin-bottom: 10px;

		font-size: 12px;

		letter-spacing: 3px;
	}

	.hm-story-philosophy__heading h2 {

		font-size: 30px;

		line-height: 1.15;
	}

	.hm-story-philosophy__content {

		margin-top: 25px;
	}

	.hm-story-philosophy__content p {

		font-size: 15px;

		line-height: 1.7;
	}

	.hm-story-philosophy__statement {

		margin-top: 48px;

		font-size: 25px;

		line-height: 1.25;
	}

}

/* ==========================================================
   STORY – CTA
========================================================== */

.hm-story-cta {

	width: 100%;

	padding: 100px 20px;

	background: #ffffff;
}

.hm-story-cta__container {

	max-width: 800px;

	margin: 0 auto;

	text-align: center;
}

/* ----------------------------------------------------------
   Eyebrow
---------------------------------------------------------- */

.hm-story-cta__eyebrow {

	display: block;

	margin-bottom: 12px;

	color: #18A891;

	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;

	letter-spacing: 3px;

	text-transform: uppercase;
}

/* ----------------------------------------------------------
   Überschrift
---------------------------------------------------------- */

.hm-story-cta h2 {

	margin: 0;

	color: #111111;

	font-size: 36px;
	font-weight: 600;

	line-height: 1.15;
}

/* ----------------------------------------------------------
   Text
---------------------------------------------------------- */

.hm-story-cta p {

	max-width: 650px;

	margin: 22px auto 0;

	color: #555555;

	font-size: 17px;

	line-height: 1.7;
}

/* ----------------------------------------------------------
   Buttons
---------------------------------------------------------- */

.hm-story-cta__buttons {

	display: flex;

	justify-content: center;

	gap: 12px;

	margin-top: 32px;
}

.hm-story-cta__button {

	display: inline-flex;

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

	min-width: 170px;

	padding: 13px 25px;

	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,
		color .25s ease,
		border-color .25s ease;
}

.hm-story-cta__button:hover {

	background: #111111;

	border-color: #111111;

	color: #ffffff;
}

.hm-story-cta__button--outline {

	background: transparent;

	color: #18A891;
}

.hm-story-cta__button--outline:hover {

	background: #18A891;

	border-color: #18A891;

	color: #ffffff;
}

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

@media (max-width: 768px) {

	.hm-story-cta {

		padding: 75px 15px;
	}

	.hm-story-cta__eyebrow {

		margin-bottom: 10px;

		font-size: 12px;

		letter-spacing: 3px;
	}

	.hm-story-cta h2 {

		font-size: 30px;

		line-height: 1.15;
	}

	.hm-story-cta p {

		margin-top: 18px;

		font-size: 15px;

		line-height: 1.7;
	}

	.hm-story-cta__buttons {

		flex-direction: column;

		align-items: stretch;

		gap: 10px;

		margin-top: 28px;
	}

	.hm-story-cta__button {

		width: 100%;
	}

}

/* ==========================================================
/* ==========================================================
/* ==========================================================
/* ==========================================================
   START MOBILE. 
   MOBILE HERO
========================================================== */

@media(max-width:768px){

.hm-story-service{

    padding:14px 18px;

}

}

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

@media (max-width:768px){

.hm-btn{

    min-width:0;

    width:auto;

    padding:10px 16px;

    font-size:13px;

    white-space:nowrap;

}

/* Ende MOBILE HERO */

}

/* ==========================================================
  SERVICES – MOBILE
========================================================== */

@media (max-width: 768px){

    .hm-story-services{
        margin-top:80px;
    }

    .hm-story-services > .hm-intro__subtitle{
        margin-bottom:14px;
        font-size:12px;
        letter-spacing:3px;
    }

    .hm-story-services > h2{
        margin-bottom:35px;
        padding:0 15px;
        font-size:30px;
        line-height:1.15;
    }

    .hm-story-services__grid{
        grid-template-columns:1fr;
        gap:16px;
    }

    .hm-story-services__card{
        min-height:220px;
        padding:24px;
        border-radius:16px;
    }

    .hm-story-services__content h3{
        margin-bottom:6px;
        font-size:20px;
    }

    .hm-story-services__content p{
        font-size:14px;
        line-height:1.4;
        max-width:85%;
    }

    /*
     * Auf Touch-Geräten kein Hover-Verhalten erzwingen.
     * Die Überschrift bleibt weiß.
     */
    .hm-story-services__card:hover{
        transform:none;
    }

    .hm-story-services__card:hover .hm-story-services__content h3{
        color:#fff;
    }

}

/* ==========================================================
   STORY – SHOP MASTERLAYOUT
   Bild- und Modulraster an das Shop-Masterlayout angleichen
========================================================== */

/* ----------------------------------------------------------
   Bildsprache
---------------------------------------------------------- */

.hm-story-hero__bg,
.hm-story-intro__image,
.hm-story-history__image,
.hm-story-project__image {
    overflow: hidden;
    border-radius: 4px;
}

.hm-story-hero__bg img,
.hm-story-intro__image img,
.hm-story-history__image img,
.hm-story-project__image img {
    border-radius: 0;
}

/* ----------------------------------------------------------
   Intro – kompakteres Shop-Raster
---------------------------------------------------------- */

.hm-story-intro__personal {
    gap: 12px;
}

.hm-story-intro__image {
    width: 100%;
}

/* ----------------------------------------------------------
   Historie – gleiche Modulbreite wie Shop
---------------------------------------------------------- */

.hm-story-history__image {
    width: 100%;
    max-width: 1200px;
}

/* ----------------------------------------------------------
   Projekte – drei gleich große Module
---------------------------------------------------------- */

.hm-story-projects__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
}

.hm-story-project {
    min-width: 0;
}

.hm-story-project__image {
    width: 100%;
    height: auto;
}

.hm-story-project__image img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.hm-story-project__content {
    padding: 18px 4px 0;
}

/* ----------------------------------------------------------
   Mobile – einspaltig wie im Shop
---------------------------------------------------------- */

@media (max-width: 768px) {

    .hm-story-hero__bg,
    .hm-story-intro__image,
    .hm-story-history__image,
    .hm-story-project__image {
        border-radius: 4px;
    }

    .hm-story-projects__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hm-story-project__image img {
        aspect-ratio: 4 / 3;
    }

    .hm-story-project__content {
        padding-top: 18px;
    }

}
/* ==========================================================
   STORY – SHOP MASTER RADIUS
   Finale, komponentenspezifische Vorgabe
========================================================== */

.hm-story-hero__bg,
.hm-story-hero__bg img,
.hm-story-intro__image,
.hm-story-intro__image img,
.hm-story-history__image,
.hm-story-history__image img,
.hm-story-project__image,
.hm-story-project__image img {
    border-radius: 4px;
}

@media (max-width: 768px) {

    .hm-story-hero__bg,
    .hm-story-hero__bg img,
    .hm-story-intro__image,
    .hm-story-intro__image img,
    .hm-story-history__image,
    .hm-story-history__image img,
    .hm-story-project__image,
    .hm-story-project__image img {
        border-radius: 4px;
    }

}

