/* Startseite – modernisiertes Layout */

.home #main { padding-top: 30px; }
.home #content { padding-bottom: 10px; }

.btn {
	display: inline-block;
	padding: 12px 22px;
	border-radius: 6px;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--rg-primary); color: #fff; border: 2px solid var(--rg-primary); }
.btn--primary:hover { background: #961225; border-color: #961225; color: #fff; }
.btn--light { background: #fff; color: var(--rg-primary); border: 2px solid #fff; white-space: nowrap; }
.btn--light:hover { background: transparent; color: #fff; }

/* Hero */
.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 340px;
	border-radius: 10px;
	overflow: hidden;
	background: #f2f1ef;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 16% 48%;
	margin: 0;
	display: block;
}
.hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.85) 55%, rgba(255,255,255,.95) 100%);
}
.hero__content {
	position: relative;
	margin-left: auto;
	width: 54%;
	padding: 40px 40px 40px 0;
}
.hero__eyebrow {
	margin: 0 0 8px;
	color: var(--rg-primary);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.hero__title {
	padding: 0 0 14px;
	font-size: 34px;
	line-height: 1.2;
	font-weight: 700;
	color: #222;
}
.hero__lead { margin: 0 0 24px; font-size: 17px; line-height: 1.6; color: #444; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Leistungen */
.home-section { margin-top: 50px; }
.section-head { text-align: center; margin-bottom: 26px; }
.section-head h2 {
	display: inline-block;
	padding-bottom: 10px;
	font-weight: 700;
	border-bottom: 3px solid var(--rg-primary);
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.service-card {
	display: flex;
	flex-direction: column;
	padding: 24px;
	background: #fff;
	border: 1px solid #ececec;
	border-top: 3px solid transparent;
	border-radius: 8px;
	color: #666;
	text-decoration: none;
	transition: box-shadow .2s, transform .2s, border-color .2s;
}
.service-card:hover,
.service-card:focus-visible {
	transform: translateY(-3px);
	border-top-color: var(--rg-primary);
	box-shadow: 0 12px 28px rgba(0, 0, 0, .09);
}
.service-card__img { display: block; margin-bottom: 14px; }
.service-card__img img { display: block; width: 152px; height: 70px; margin: 0; }
.service-card__title { padding: 0 0 8px; font-size: 21px; line-height: 1.3; font-weight: 700; color: #222; }
.service-card:hover .service-card__title { color: var(--rg-primary); }
.service-card__text { margin: 0 0 16px; font-size: 15px; line-height: 1.6; flex: 1; }
.service-card__more { font-size: 14px; font-weight: 700; color: var(--rg-primary); }

/* Call to Action */
.cta-band {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	margin-top: 50px;
	padding: 34px 40px;
	border-radius: 10px;
	background: linear-gradient(120deg, var(--rg-primary), #7d0f1f);
	color: #fff;
}
.cta-band h2 { padding: 0 0 8px; font-size: 24px; line-height: 1.3; font-weight: 700; color: #fff; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .9); line-height: 1.6; }

/* Kontaktleiste */
.contact-strip {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	margin-top: 22px;
}
.contact-strip__item {
	display: block;
	padding: 18px 22px;
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 8px;
	text-decoration: none;
	transition: border-color .2s;
}
.contact-strip__item:hover { border-color: var(--rg-primary); }
.contact-strip__label {
	display: block;
	font-size: 12px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #999;
}
.contact-strip__value { display: block; margin-top: 4px; font-size: 17px; font-weight: 700; color: #222; }

/* Tablet */
@media (max-width: 900px) {
	.service-grid { grid-template-columns: repeat(2, 1fr); }
	.hero__content { width: 62%; }
	.hero__title { font-size: 28px; }
}

/* Mobil */
@media (max-width: 640px) {
	.home #main { padding-top: 16px; }
	.hero { flex-direction: column; align-items: stretch; min-height: 0; }
	.hero__media { position: relative; height: 170px; }
	.hero__media::after { background: linear-gradient(180deg, rgba(255,255,255,0) 50%, rgba(242,241,239,1) 100%); }
	.hero__content { width: auto; padding: 8px 20px 26px; }
	.hero__title { font-size: 25px; }
	.hero__lead { font-size: 16px; }
	.service-grid,
	.contact-strip { grid-template-columns: 1fr; gap: 16px; }
	.home-section, .cta-band { margin-top: 36px; }
	.cta-band { flex-direction: column; align-items: flex-start; padding: 26px 22px; gap: 18px; }
}
