/*
Theme Name: Habener Reisen
Theme URI: https://habener-reisen.de/
Author: OpenAI Codex
Description: Custom WordPress theme inspired by the existing Habener Reisen website.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: habener-reisen
*/

:root {
	--hr-bg: #cccccc;
	--hr-surface: #e8e8e8;
	--hr-surface-strong: #f7f4ed;
	--hr-ink: #565656;
	--hr-muted: #7a7a7a;
	--hr-brand: #9b0aae;
	--hr-brand-dark: #6f087d;
	--hr-brand-soft: #c86ed6;
	--hr-brand-fade: #f1dcf4;
	--hr-accent: #a89a6a;
	--hr-border: #d0d0d0;
	--hr-shadow: 0 16px 36px rgba(80, 80, 80, 0.15);
	--hr-radius: 24px;
	--hr-max: 820px;
	--hr-heading: "Trebuchet MS", Tahoma, sans-serif;
	--hr-body: Verdana, Tahoma, Arial, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--hr-body);
	color: var(--hr-ink);
	background: var(--hr-bg);
	line-height: 1.6;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	display: block;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.hr-site-header {
	position: relative;
	background: linear-gradient(180deg, #dbdbdf 0%, #cbcad2 100%);
	padding-top: 1rem;
}

.hr-shell,
.hr-section {
	width: min(calc(100% - 2rem), var(--hr-max));
	margin: 0 auto;
}

.hr-header-photo-wrap {
	padding: 1rem 1rem 0;
	background: #ffffff;
	border-radius: 22px 22px 0 0;
	border: 1px solid rgba(111, 8, 125, 0.12);
	border-bottom: 0;
}

.hr-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.3rem 1.2rem 0.9rem;
	background: linear-gradient(180deg, rgba(248, 246, 250, 0.96) 0%, rgba(225, 223, 230, 0.96) 100%);
	border-radius: 0 0 22px 22px;
	border: 1px solid rgba(111, 8, 125, 0.12);
	border-bottom: 0;
	border-top: 0;
}

.hr-branding {
	display: flex;
	flex-direction: column;
}

.hr-branding strong {
	font-family: var(--hr-heading);
	font-size: clamp(1.9rem, 3vw, 2.4rem);
	letter-spacing: -0.03em;
	color: #66626a;
}

.hr-branding span {
	color: #84788c;
	font-size: 0.92rem;
}

.hr-nav-toggle {
	display: none;
	border: 1px solid rgba(111, 8, 125, 0.18);
	background: rgba(255, 255, 255, 0.92);
	border-radius: 999px;
	padding: 0.75rem 1rem;
	font: inherit;
	color: var(--hr-brand-dark);
}

.hr-nav {
	display: flex;
	gap: 0.55rem;
	flex-wrap: wrap;
	align-items: center;
	width: 100%;
	padding: 0.2rem 1.2rem 1rem;
	background: transparent;
}

.hr-nav a {
	padding: 0.78rem 1rem;
	border-radius: 999px;
	color: #fff;
	text-transform: uppercase;
	font: bold 11px/1.2 var(--hr-heading);
	letter-spacing: 0.08em;
	background: linear-gradient(180deg, var(--hr-brand) 0%, var(--hr-brand-dark) 100%);
	box-shadow: 0 10px 20px rgba(111, 8, 125, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.28);
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.hr-nav a:hover,
.hr-nav a:focus {
	background: linear-gradient(180deg, #b81dce 0%, var(--hr-brand) 100%);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 14px 28px rgba(111, 8, 125, 0.24);
}

.hr-header-photo {
	height: 231px;
	background-position: center;
	background-size: cover;
	border: 0;
	box-shadow: inset 0 0 0 1px rgba(111, 8, 125, 0.08);
}

.hr-hero {
	padding: 1.4rem 0 2rem;
}

.hr-highlight {
	padding: 0 0 2rem;
}

.hr-hero-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.2rem;
	align-items: stretch;
}

.hr-panel {
	background: var(--hr-surface);
	border: 1px solid var(--hr-border);
	border-radius: 18px;
	box-shadow: var(--hr-shadow);
}

.hr-hero-copy {
	padding: 1.4rem;
}

.hr-eyebrow {
	display: inline-flex;
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	background: var(--hr-brand-fade);
	color: var(--hr-brand-dark);
	font-size: 0.9rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.hr-hero h1,
.hr-section-title h2,
.hr-cta h2,
.hr-offers h2 {
	font-family: var(--hr-heading);
	line-height: 1.1;
	margin: 0;
	color: var(--hr-brand-dark);
}

.hr-hero h1 {
	font-size: clamp(2rem, 4vw, 3rem);
	margin-top: 1rem;
}

.hr-hero p {
	font-size: 1.08rem;
	color: var(--hr-muted);
	max-width: 62ch;
}

.hr-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 1.75rem;
}

.hr-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.95rem 1.35rem;
	border-radius: 999px;
	border: 1px solid transparent;
	font-weight: 700;
}

.hr-button-primary {
	background: linear-gradient(180deg, var(--hr-brand) 0%, var(--hr-brand-dark) 100%);
	color: #fff;
	box-shadow: 0 12px 24px rgba(111, 8, 125, 0.18);
}

.hr-button-secondary {
	border-color: rgba(111, 8, 125, 0.14);
	background: #f7f2f8;
	color: var(--hr-brand-dark);
}

.hr-hero-card {
	padding: 1.5rem;
	display: grid;
	grid-template-rows: auto 1fr auto;
	background:
		linear-gradient(180deg, #fbf7fc 0%, #efe1f2 100%);
	color: var(--hr-ink);
}

.hr-hero-card h2 {
	font-family: var(--hr-heading);
	font-size: 2rem;
	margin: 0 0 0.75rem;
}

.hr-badges,
.hr-meta-list {
	display: grid;
	gap: 0.85rem;
}

.hr-badge,
.hr-meta-list li {
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(111, 8, 125, 0.1);
	border-radius: 18px;
	padding: 0.9rem 1rem;
}

.hr-meta-list {
	list-style: none;
	padding: 0;
	margin: 1rem 0 0;
}

.hr-phone-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 700;
	color: var(--hr-brand-dark);
}

.hr-phone-icon {
	display: inline-grid;
	place-items: center;
	width: 1.8rem;
	height: 1.8rem;
	border-radius: 999px;
	background: var(--hr-brand);
	color: #fff;
	font-size: 0.9rem;
}

.hr-services,
.hr-info,
.hr-offers,
.hr-contact {
	padding: 0 0 2rem;
}

.hr-section-title {
	margin-bottom: 1rem;
	max-width: 700px;
}

.hr-section-title p {
	color: var(--hr-muted);
	margin: 0.75rem 0 0;
}

.hr-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.hr-card,
.hr-offer-card,
.hr-contact-card {
	padding: 1.5rem;
}

.hr-card-link {
	display: block;
	height: 100%;
	color: inherit;
}

.hr-offer-card {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.hr-card-image,
.hr-offer-image {
	width: calc(100% + 3rem);
	max-width: none;
	margin: -1.5rem -1.5rem 1.1rem;
	height: 220px;
	object-fit: cover;
	border-radius: 0;
	border-bottom: 1px solid var(--hr-border);
}

.hr-offer-image {
	height: 180px;
}

.hr-card h3,
.hr-contact-card h3 {
	font-family: var(--hr-heading);
	margin: 0 0 0.75rem;
	color: var(--hr-brand-dark);
}

.hr-offer-card h3 {
	font-family: var(--hr-heading);
	margin: 0 0 0.75rem;
	color: var(--hr-brand-dark);
}

.hr-card p,
.hr-offer-card p,
.hr-contact-card p {
	margin: 0;
	color: var(--hr-muted);
}

.hr-card-icon {
	width: 3rem;
	height: 3rem;
	border-radius: 18px;
	display: grid;
	place-items: center;
	margin-bottom: 1rem;
	background: rgba(155, 10, 174, 0.12);
	color: var(--hr-brand-dark);
	font-size: 1.35rem;
	font-weight: 700;
}

.hr-image-card {
	overflow: hidden;
}

.hr-info-grid,
.hr-contact-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}

.hr-cta {
	padding: clamp(1.5rem, 3vw, 2.25rem);
	background: linear-gradient(180deg, #fbf7fc 0%, #f0e5f2 100%);
}

.hr-cta p {
	color: var(--hr-muted);
	max-width: 60ch;
}

.hr-offer-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.35rem;
}

.hr-offer-date {
	display: inline-flex;
	font-size: 0.9rem;
	color: #fff;
	background: #983167;
	border-radius: 6px;
	padding: 0.3rem 5px;
	margin-bottom: 1rem;
}

.hr-price {
	display: inline-flex;
	margin-top: 1rem;
	font-weight: 700;
	color: var(--hr-brand-dark);
}

.hr-offer-card .hr-actions {
	margin-top: auto;
	padding-top: 1rem;
}

.hr-contact-card strong {
	display: block;
	margin-top: 1rem;
	color: var(--hr-ink);
}

.hr-site-footer {
	padding: 1rem 0 2rem;
	color: var(--hr-muted);
}

.hr-footer-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 1.2rem;
	background: linear-gradient(180deg, #e7e3ea 0%, #d9d6df 100%);
	border-radius: 18px;
	border: 1px solid rgba(111, 8, 125, 0.1);
}

.hr-footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.hr-page-main {
	padding: 1.2rem 0 2rem;
}

.hr-page-hero {
	padding-bottom: 1rem;
}

.hr-page-hero-card,
.hr-page-block {
	padding: 1.4rem;
}

.hr-page-kicker {
	color: #886d8f;
	text-transform: uppercase;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
}

.hr-page-layout,
.hr-contact-layout {
	display: grid;
	gap: 1rem;
}

.hr-banner-image,
.hr-story-media img,
.hr-gallery-grid img {
	width: 100%;
	display: block;
}

.hr-banner-image {
	margin-bottom: 1rem;
}

.hr-page-copy h2,
.hr-story-copy h2 {
	color: var(--hr-brand-dark);
	font-family: var(--hr-heading);
	margin: 0 0 0.5rem;
}

.hr-story {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 1rem;
	margin-top: 1rem;
	align-items: start;
}

.hr-story-media img,
.hr-gallery-grid img {
	padding: 5px;
	background: #fafafa;
	border: 1px solid #dcdcdc;
}

.hr-gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.hr-gallery-grid-vehicles {
	margin-top: 1rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hr-note {
	margin-top: 1rem;
	padding: 1rem;
	background: #f7f0f8;
	border: 1px solid rgba(111, 8, 125, 0.12);
}

.hr-checklist {
	margin: 1rem 0 0;
	padding-left: 1.2rem;
	list-style: disc;
}

.hr-checklist li {
	margin: 0.45rem 0;
}

.hr-map {
	width: 100%;
	min-height: 320px;
	border: 0;
}

.hr-spec-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.75rem;
	margin: 1rem 0;
}

.hr-spec-grid div {
	padding: 0.9rem;
	background: #f7f0f8;
	border: 1px solid rgba(111, 8, 125, 0.12);
}

.hr-spec-grid strong,
.hr-spec-grid span {
	display: block;
}

.hr-contact-form-wrap {
	max-width: 100%;
}

.hr-contact-form-panel {
	margin-top: 2rem;
}

.hr-legal-stack {
	display: grid;
	gap: 1.5rem;
}

.hr-legal-section h2 {
	margin: 0 0 0.9rem;
	font-family: var(--hr-heading);
	color: var(--hr-brand-dark);
}

.hr-legal-section p,
.hr-legal-section li {
	color: var(--hr-ink);
}

.hr-legal-section ul {
	margin: 0 0 1rem 1.2rem;
	padding: 0;
}

.hr-legal-card,
.hr-legal-table-wrap {
	padding: 1rem 1.1rem;
	border-radius: 16px;
	background: #f7f0f8;
	border: 1px solid rgba(111, 8, 125, 0.12);
}

.hr-legal-table {
	width: 100%;
	border-collapse: collapse;
}

.hr-legal-table th,
.hr-legal-table td {
	padding: 0.8rem 0.65rem;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid rgba(111, 8, 125, 0.1);
}

.hr-legal-table th {
	width: 34%;
	color: var(--hr-brand-dark);
	font-family: var(--hr-heading);
}

.hr-legal-table tr:last-child th,
.hr-legal-table tr:last-child td {
	border-bottom: 0;
}

.hr-contact-form label {
	display: block;
	font-weight: 700;
	margin-bottom: 0.35rem;
	color: var(--hr-brand-dark);
}

.hr-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.hr-contact-form input,
.hr-contact-form select,
.hr-contact-form textarea {
	width: 100%;
	border: 1px solid rgba(111, 8, 125, 0.16);
	border-radius: 10px;
	padding: 0.8rem 0.9rem;
	font: inherit;
	background: #fff;
	color: var(--hr-ink);
}

.hr-form-message {
	padding: 0.9rem 1rem;
	border-radius: 10px;
	margin-bottom: 1rem;
}

.hr-form-message-success {
	background: #eaf7ea;
	color: #245b24;
}

.hr-form-message-error {
	background: #fceaea;
	color: #7c2323;
}

@media (max-width: 980px) {
	.hr-hero-grid,
	.hr-cards,
	.hr-offer-grid,
	.hr-info-grid,
	.hr-contact-grid,
	.hr-story,
	.hr-gallery-grid-vehicles,
	.hr-spec-grid,
	.hr-form-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 760px) {
	.hr-topbar {
		align-items: flex-start;
	}

	.hr-nav-toggle {
		display: inline-flex;
	}

	.hr-nav {
		display: none;
		width: 100%;
		flex-direction: column;
		align-items: stretch;
		padding: 0.5rem 1rem 1rem;
	}

	.hr-nav.is-open {
		display: flex;
	}

	.hr-nav a {
		background: linear-gradient(180deg, var(--hr-brand) 0%, var(--hr-brand-dark) 100%);
	}

	.hr-hero {
		padding-top: 1rem;
	}

	.hr-shell,
	.hr-section {
		width: min(calc(100% - 1.2rem), var(--hr-max));
	}

	.hr-header-photo {
		height: 150px;
	}

	.hr-header-photo-wrap {
		padding: 0.6rem 0.6rem 0;
	}
}

.hr-offer-detail { display: grid; gap: 1.5rem; padding-bottom: 3rem; }
.hr-offer-detail-cover { width: 100%; max-height: 520px; object-fit: cover; border-radius: 12px; }
.hr-offer-detail-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.hr-offer-detail-info p { overflow-wrap: anywhere; }
.hr-offer-detail-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.hr-offer-detail-gallery img { width: 100%; height: 260px; object-fit: cover; border-radius: 12px; }
@media (max-width: 700px) {
 .hr-offer-detail-info, .hr-offer-detail-gallery { grid-template-columns: 1fr; }
}

.hr-offer-detail-info > .hr-page-copy {
 padding: clamp(1.5rem, 3vw, 2.5rem);
}
.hr-offer-detail-info h2 { margin-bottom: 1.1rem; }
.hr-offer-richtext { line-height: 1.75; }
.hr-offer-richtext > :first-child { margin-top: 0; }
.hr-offer-richtext > :last-child { margin-bottom: 0; }
.hr-offer-richtext p { margin: 0 0 1rem; }
.hr-offer-richtext ul, .hr-offer-richtext ol { margin: 1rem 0; padding-left: 1.5rem; }
.hr-offer-richtext ul { list-style: disc; }
.hr-offer-richtext ol { list-style: decimal; }
.hr-offer-richtext li { margin-bottom: .4rem; }
.hr-offer-richtext h3, .hr-offer-richtext h4 { margin: 1.5rem 0 .75rem; color: var(--hr-brand-dark); }
.hr-offer-richtext blockquote { margin: 1rem 0; padding: .75rem 1rem; border-left: 3px solid var(--hr-brand-dark); }
.hr-offer-richtext a { text-decoration: underline; }

/* Images and travel summary form one card. */
.hr-offer-summary { padding: 0; overflow: hidden; margin-top: 1rem; }
.hr-offer-summary .hr-offer-detail-cover {
 display: block;
 height: clamp(240px, 38vw, 440px);
 max-height: none;
 border-radius: 0;
}
.hr-offer-summary-copy { padding: clamp(1.5rem, 3vw, 2.5rem); }
.hr-offer-summary-copy h1 { margin-top: .25rem; }
.hr-offer-summary .hr-offer-detail-gallery {
 padding: 0 clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem);
 grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.hr-offer-summary .hr-offer-detail-gallery img { display: block; height: 220px; }
@media (max-width: 700px) {
 .hr-offer-summary .hr-offer-detail-gallery { grid-template-columns: 1fr; }
}

/* A photographic masthead using the original Habener travel photographs. */
.hr-header-photo-wrap { padding: 0; overflow: hidden; }
.hr-header-collage { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; height: 320px; isolation: isolate; background: #291c31; }
.hr-header-landscape, .hr-header-mosaic { min-width: 0; min-height: 0; overflow: hidden; }
.hr-header-collage img { width: 100%; height: 100%; object-fit: cover; }
.hr-header-landscape img { object-position: center 37%; }
.hr-header-mosaic { display: grid; grid-template-rows: 1fr 1fr; gap: 5px; padding-left: 5px; }
.hr-header-mosaic img { min-height: 0; object-position: center 55%; }
.hr-header-collage::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,15,38,.34), transparent 75%), linear-gradient(0deg, rgba(26,14,34,.92), transparent 78%); pointer-events: none; }
.hr-header-caption { position: absolute; left: clamp(1.5rem,4vw,2.5rem); right: 1.5rem; bottom: 1.8rem; z-index: 1; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.hr-header-caption span { font-size: .65rem; font-weight: bold; letter-spacing: .14em; text-transform: uppercase; }
.hr-header-caption strong { display: block; margin: .35rem 0; font: bold clamp(1.8rem,4vw,2.8rem)/1.08 var(--hr-heading); letter-spacing: -.035em; }
.hr-header-caption p { margin: .5rem 0 0; font-size: .9rem; color: #fff; }
.hr-travel-photos, .hr-agb-card { padding: clamp(1.5rem,3vw,2.25rem); }
.hr-travel-photos h2, .hr-agb-card h2 { color: var(--hr-brand-dark); font-family: var(--hr-heading); }
.hr-travel-photo-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.2rem; }
.hr-travel-photo-grid figure { margin: 0; overflow: hidden; border-radius: 14px; background: #f8f5f9; }
.hr-travel-photo-grid img { width: 100%; height: 230px; object-fit: cover; }
.hr-travel-photo-grid figcaption { padding: .9rem 1rem; font-size: .8rem; color: var(--hr-brand-dark); }
.hr-document-meta { font-size: .8rem; color: var(--hr-muted); margin-top: 1.5rem; }
@media(max-width:700px) {
 .hr-header-photo-wrap { padding: 0; }
 .hr-header-collage { height: 290px; grid-template-columns: 1.2fr 1fr; }
 .hr-header-caption { bottom: 1.5rem; }
 .hr-header-caption span { font-size: .6rem; letter-spacing: .08em; }
 .hr-travel-photo-grid { grid-template-columns: 1fr; }
}

.hr-form-message:empty { display: none; }
.hr-contact-form button:disabled { cursor: wait; opacity: .65; }
