/* ==========================================================================
   bwe-reisen.de – statischer Nachbau (reines HTML + CSS, kein JavaScript)
   Layout, Abstände, Farben und Typografie entsprechen dem Original.
   ==========================================================================

   Inhalt
   1.  Variablen
   2.  Reset / Basis
   3.  Typografie
   4.  Raster (Container / Row / Spalten)
   5.  Navigation
   6.  Hero
   7.  Main (aufgesetzte weisse Fläche)
   8.  Sektion: Service / Features
   9.  Sektion: Unser Team
   10. Sektion: Kontakt
   11. Footer
   12. Inhaltsseiten (Impressum & Datenschutz)
   13. Breakpoints
   ========================================================================== */


/* 1. Variablen
   ========================================================================== */
:root {
	--accent: #e96656;
	--heading: #3c4858;
	--muted: #999;
	--nav-text: #555;
	--body-bg: #e5e5e5;
	--footer-bg: #323437;
	--contact-bg: #343434;

	/* Der Original-Auftritt rendert in Arial/Helvetica – es wird dafür keine
	   Schriftdatei geladen. Für den Hestia-Standardlook stattdessen
	   'Roboto' voranstellen; die Familie liegt lokal in assets/fonts/. */
	--font-body: Arial, Helvetica, sans-serif;
	--font-heading: Arial, Helvetica, sans-serif;

	--shadow-navbar:
		0 1px 10px -6px rgba(0, 0, 0, .42),
		0 1px 10px 0 rgba(0, 0, 0, .12),
		0 4px 5px -2px rgba(0, 0, 0, .1);
	--shadow-raised:
		0 16px 24px 2px rgba(0, 0, 0, .14),
		0 6px 30px 5px rgba(0, 0, 0, .12),
		0 8px 10px -5px rgba(0, 0, 0, .2);
	--shadow-card:
		0 16px 38px -12px rgba(0, 0, 0, .56),
		0 4px 25px 0 rgba(0, 0, 0, .12),
		0 8px 10px -5px rgba(0, 0, 0, .2);
	--shadow-dropdown: 0 6px 12px 0 rgba(0, 0, 0, .176);
}


/* 2. Reset / Basis
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	/* Kompensiert die fixierte Navigationsleiste beim Ansteuern von #anker */
	scroll-padding-top: 70px;
}

body {
	margin: 0;
	background-color: var(--body-bg);
	color: var(--heading);
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 300;
	line-height: 1.618;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img {
	max-width: 100%;
	height: auto;
	border: 0;
	vertical-align: middle;
}

a {
	color: var(--accent);
	text-decoration: none;
	transition: color .3s ease;
}

a:hover,
a:focus {
	color: var(--accent);
	text-decoration: none;
}

hr {
	height: 0;
	margin: 20px 0;
	border: 0;
	border-top: 1px solid #eee;
}

ul {
	font-family: var(--font-body);
}

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

.wrapper {
	position: relative;
	overflow-x: hidden;
}


/* 3. Typografie
   ========================================================================== */
h1, h2, h3, h4, h5, h6,
.hestia-title,
.info-title,
.card-title {
	font-family: var(--font-heading);
	color: var(--heading);
}

.hestia-title {
	margin: 10px 0;
	font-size: 37px;
	font-weight: 700;
	line-height: 1.618;
}

h5.description {
	margin: 10px 0 15px;
	color: var(--muted);
	font-size: 18px;
	font-weight: 300;
	line-height: 1.5;
}

.text-center {
	text-align: center;
}

.text-muted {
	color: #777;
}

/* Der Willkommenstext ist im Original per <font color="black"> gesetzt */
.text-black {
	color: #000;
}


/* 4. Raster (Container / Row / Spalten)
   ========================================================================== */
.container {
	width: 100%;
	max-width: 100%;
	margin-right: auto;
	margin-left: auto;
	padding-right: 15px;
	padding-left: 15px;
}

.row {
	display: flex;
	flex-wrap: wrap;
	margin-right: -15px;
	margin-left: -15px;
}

[class*="col-xs-"],
[class*="col-ms-"],
[class*="col-sm-"],
[class*="col-md-"] {
	position: relative;
	display: block;
	width: 100%;
	min-height: 1px;
	padding-right: 15px;
	padding-left: 15px;
}

.col-xs-12 {
	flex: 0 0 100%;
	max-width: 100%;
}


/* 5. Navigation
   ========================================================================== */
.navbar {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 1030;
	margin-bottom: 20px;
	background-color: #fff;
	box-shadow: var(--shadow-navbar);
}

.navbar > .container {
	display: flex;
	align-items: center;
	padding: 10px 15px;
}

.navbar-header {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
}

.navbar-brand {
	display: block;
	float: left;
	height: 50px;
	margin-left: -15px;
	padding: 0 15px;
	color: var(--nav-text);
	font-size: 18px;
	font-weight: 300;
	line-height: 30px;
}

.navbar-brand:hover,
.navbar-brand:focus {
	color: var(--nav-text);
}

.navbar-brand p {
	margin: 0;
	padding: 10px 0;
	font-size: 18px;
	font-weight: 300;
	line-height: 30px;
	color: inherit;
}

.navbar-collapse {
	display: flex;
	flex: 1 1 auto;
	justify-content: flex-end;
}

.navbar-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	margin: 0;
	padding: 0;
	list-style: none;
}

.navbar-nav > li {
	position: relative;
}

.navbar-nav > li > a {
	display: block;
	padding: 15px;
	border-radius: 3px;
	color: var(--nav-text);
	font-size: 12px;
	font-weight: 400;
	line-height: 20px;
	text-transform: uppercase;
	text-align: center;
	transition: all .3s ease;
}

.navbar-nav > li:hover > a,
.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
	color: var(--accent);
}

/* Pfeil des Untermenüs */
.navbar-nav .dropdown > a {
	padding-right: 28px;
}

.caret-wrap {
	position: absolute;
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--nav-text);
	cursor: pointer;
	transition: color .3s ease;
}

.navbar-nav .dropdown:hover .caret-wrap {
	color: var(--accent);
}

.caret {
	display: block;
	line-height: 0;
}

.caret svg {
	display: block;
	width: 10px;
	height: 10px;
	fill: currentColor;
	transition: transform .3s ease;
}

/* Untermenü */
.dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1000;
	min-width: 207px;
	margin: -5px 0 0;
	padding: 5px 0;
	list-style: none;
	background-color: #fff;
	border-radius: 0 0 4px 4px;
	box-shadow: var(--shadow-dropdown);
	opacity: 0;
	visibility: hidden;
	transform: translate3d(0, -10px, 0);
	transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
}

.navbar-nav .dropdown:hover > .dropdown-menu,
.navbar-nav .dropdown:focus-within > .dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.dropdown-menu > li > a {
	display: block;
	margin: 0 5px;
	padding: 10px;
	border-radius: 2px;
	color: #333;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.428;
	white-space: nowrap;
	transition: all .15s linear;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
	background-color: #f5f5f5;
	color: var(--accent);
}

/* Burger-Button (nur mobil sichtbar) */
.navbar-toggle-wrapper {
	display: none;
	margin-left: auto;
}

.navbar-toggle {
	position: relative;
	display: block;
	margin: 8px 0;
	padding: 9px 10px;
	border: 0;
	border-radius: 4px;
	background-color: transparent;
	cursor: pointer;
	transition: color .3s ease;
}

.navbar-toggle .icon-bar {
	display: block;
	width: 22px;
	height: 2px;
	border-radius: 1px;
	background-color: var(--nav-text);
	transition: background-color .3s ease;
}

.navbar-toggle .icon-bar + .icon-bar {
	margin-top: 4px;
}

.navbar-toggle:hover .icon-bar {
	background-color: var(--accent);
}

.nav-backdrop {
	display: none;
}


/* 6. Hero
   ========================================================================== */
.carousel,
.carousel-inner,
.carousel .item {
	position: relative;
}

.page-header {
	position: relative;
	display: flex;
	align-items: center;
	height: 70vh;
	min-height: 400px;
	margin: 0;
	padding: 0;
	border: 0;
	overflow: hidden;
	text-align: center;
	background-position: center center;
	background-size: cover;
}

.page-header > .container {
	position: relative;
	z-index: 1;
}

.header-filter {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-image: url("../img/hero-vietnam.jpg");
	background-position: center center;
	background-size: cover;
}

/* Im Original ist die Verdunkelung des Headers auf 0 gesetzt */
.header-filter::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0);
}

.hestia-big-title-content {
	width: 100%;
}


/* 7. Main (aufgesetzte weisse Fläche)
   ========================================================================== */
.main {
	position: relative;
	z-index: 3;
	background-color: #fff;
}

.main-raised {
	margin: -60px 30px 0;
	border-radius: 6px 6px 0 0;
	box-shadow: var(--shadow-raised);
}


/* 8. Sektion: Service / Features
   ========================================================================== */
.hestia-features {
	padding: 75px 0 55px;
	border-radius: 6px 6px 0 0;
}

.hestia-features-title-area {
	text-align: center;
}

.partner-logos {
	display: flex;
	flex-wrap: wrap;
	margin-top: 50px;
}

.partner-logos img {
	display: inline-block;
}

.feature-box {
	text-align: center;
}

.hestia-info {
	max-width: 360px;
	margin: 0 auto;
	padding: 70px 0 30px;
	text-align: center;
}

.hestia-info > a {
	display: block;
	color: var(--accent);
}

.hestia-info .icon {
	font-size: 14px;
	text-align: center;
}

.hestia-info .icon i {
	display: inline-block;
	font-size: 61.6px;
	line-height: 61.6px;
	color: inherit;
}

.info-title {
	margin: 30px 0 15px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.618;
	color: var(--heading);
}

.hestia-info p {
	margin: 0 0 10px;
	color: var(--muted);
	font-size: 16px;
	font-weight: 300;
	line-height: 1.618;
}


/* 9. Sektion: Unser Team
   ========================================================================== */
.hestia-team {
	padding: 65px 0 20px;
}

.hestia-team .hestia-title {
	margin: 20px 0 10px;
}

.hestia-team h5.description {
	margin: 10px 0 70px;
}

.card-profile {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	margin: 30px 0;
	border-radius: 6px;
}

.card-image {
	position: relative;
	overflow: hidden;
	border-radius: 3px;
	box-shadow: var(--shadow-card);
}

.card-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 3px;
}

.card-profile .content {
	padding: 0 5px 15px;
	text-align: left;
}

.card-title {
	margin: 10px 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--heading);
}

.card-profile .category {
	margin: 10px 0;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.618;
	text-transform: uppercase;
	color: #777;
}

.card-description {
	margin: 0 0 10px;
	color: var(--muted);
	font-size: 14px;
	font-weight: 300;
	line-height: 1.618;
}


/* 10. Sektion: Kontakt
   ========================================================================== */
.hestia-contact {
	position: relative;
	padding: 90px 0 70px;
	background-color: var(--contact-bg);
	background-image: url("../img/contact-sand.jpg");
	background-position: center center;
	background-size: cover;
}

.hestia-contact::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, .7);
}

.hestia-contact > .container {
	position: relative;
	z-index: 2;
}

.hestia-contact .hestia-title {
	margin: 20px 0 30px;
	color: #fff;
}

.hestia-contact h5.description {
	margin: 10px 0 15px;
	color: #ccc;
}

.hestia-contact .info-horizontal {
	max-width: 360px;
	margin: 30px 0 0;
}

.hestia-contact .info-horizontal p {
	margin: 0 0 10px;
	color: #ccc;
	font-size: 14px;
	font-weight: 300;
	line-height: 1.618;
}

.hestia-contact hr {
	margin: 20px 0;
	border-top: 1px solid #eee;
}


/* 11. Footer
   ========================================================================== */
.footer {
	padding: 30px 0 18px;
	background-color: var(--footer-bg);
	color: var(--muted);
	text-align: center;
}

.hestia-bottom-footer-content {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}

.footer-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-menu li {
	display: inline-block;
}

.footer-menu li a {
	display: inline-block;
	padding: 15px;
	border-radius: 3px;
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.618;
	text-transform: uppercase;
	opacity: .86;
	transition: opacity .3s ease;
}

.footer-menu li a:hover,
.footer-menu li a:focus {
	color: #fff;
	opacity: 1;
}

.copyright {
	padding: 15px 0;
	color: #fff;
	font-size: 14px;
	font-weight: 300;
	line-height: 1.618;
}

.copyright a {
	color: #fff;
	opacity: .86;
}

.copyright a:hover {
	color: #fff;
	opacity: 1;
}


/* 12. Inhaltsseiten (Impressum & Datenschutz)
   ========================================================================== */
body:not(.home) .wrapper {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

body:not(.home) .main {
	/* Abstand für die fixierte Navigationsleiste */
	margin-top: 100px;
	flex: 1 0 auto;
}

body:not(.home) .footer {
	padding-bottom: 26px;
}

article.section {
	padding: 30px 0;
}

.page-content-wrap {
	padding-bottom: 30px;
}

.hestia-title.title-in-content {
	margin: 0 0 15px;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.3;
	text-align: left;
}

.page-content-wrap h3 {
	margin: 0 0 15px;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.618;
	color: var(--heading);
}

.page-content-wrap p {
	margin: 0 0 15px;
	color: var(--heading);
	font-size: 16px;
	font-weight: 300;
	line-height: 1.618;
}

.page-content-wrap small {
	font-size: 85%;
}

.page-content-wrap ul {
	margin: 0 0 15px;
	padding-left: 20px;
	color: var(--heading);
	font-size: 16px;
	font-weight: 300;
	line-height: 1.618;
}

.page-content-wrap a {
	word-break: break-word;
}


/* 13. Breakpoints
   ==========================================================================
   Entsprechen dem Raster des Originals:
     481px  – col-ms-*
     768px  – col-sm-*, Container 750px, Desktop-Navigation
     992px  – col-md-*, Container 970px
     1200px – Container 1170px
   ========================================================================== */

/* ---- ab 481px ---- */
@media (min-width: 481px) {
	.col-ms-6 {
		flex: 0 0 50%;
		max-width: 50%;
	}
}

/* ---- bis 768px: mobile Navigation ---- */
@media (max-width: 768px) {
	.navbar > .container {
		display: block;
		padding: 10px 15px;
	}

	.navbar-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
	}

	.navbar-brand {
		margin-left: 0;
		padding-left: 0;
	}

	.navbar-toggle-wrapper {
		display: block;
	}

	.navbar-collapse {
		position: fixed;
		top: 0;
		left: 0;
		z-index: 9999;
		display: block;
		width: 100%;
		max-height: calc(100% - 70px);
		margin-top: 70px;
		padding: 0;
		overflow-y: auto;
		background: #fff;
		box-shadow: var(--shadow-navbar);
		/* Standard: geschlossen */
		visibility: hidden;
		opacity: 0;
		transform: translateY(-8px);
		transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
	}

	#nav-toggle:checked ~ .navbar .navbar-collapse {
		visibility: visible;
		opacity: 1;
		transform: none;
	}

	/* Klick neben das Menü schliesst es wieder */
	#nav-toggle:checked ~ .nav-backdrop {
		position: fixed;
		top: 0;
		left: 0;
		z-index: 9998;
		display: block;
		width: 100%;
		height: 100%;
	}

	#nav-toggle:checked ~ .navbar .navbar-toggle .icon-bar {
		background-color: var(--accent);
	}

	.navbar-nav {
		display: block;
		margin: 7.5px 0;
	}

	.navbar-nav > li {
		width: 100%;
		margin: 0;
		padding: 0;
		text-align: left;
	}

	.navbar-nav > li > a {
		padding: 15px;
		text-align: left;
	}

	.navbar-nav .dropdown > a {
		padding-right: 60px;
	}

	/* Pfeil wird zum Schalt-Button */
	.caret-wrap {
		top: 10px;
		right: 15px;
		width: 30px;
		height: 30px;
		transform: none;
		border: 1px solid var(--nav-text);
		border-radius: 2px;
	}

	.caret svg {
		width: 12.5px;
		height: 12.5px;
	}

	#sub-toggle:checked ~ .navbar .caret svg {
		transform: rotate(-180deg);
	}

	.dropdown-menu {
		position: static;
		width: 100%;
		min-width: 0;
		margin: 0;
		padding: 0;
		background: none;
		border-radius: 0;
		box-shadow: none;
		transform: none;
		/* Standard: geschlossen */
		visibility: hidden;
		opacity: 0;
		max-height: 0;
		overflow: hidden;
		transition: opacity .3s ease, max-height .3s ease, visibility .3s ease;
	}

	.navbar-nav .dropdown:hover > .dropdown-menu,
	.navbar-nav .dropdown:focus-within > .dropdown-menu {
		visibility: hidden;
		opacity: 0;
		max-height: 0;
	}

	#sub-toggle:checked ~ .navbar .dropdown-menu,
	#sub-toggle:checked ~ .navbar .navbar-nav .dropdown:hover > .dropdown-menu {
		visibility: visible;
		opacity: 1;
		max-height: 600px;
	}

	.dropdown-menu > li > a {
		margin: 0;
		padding: 15px 0 15px 30px;
		white-space: normal;
	}

	.dropdown-menu > li > a:hover,
	.dropdown-menu > li > a:focus {
		background-color: transparent;
		color: var(--accent);
	}

	/* Flächen auf kleinen Geräten */
	.main-raised {
		margin-right: 10px;
		margin-left: 10px;
	}

	.hestia-bottom-footer-content {
		justify-content: center;
	}

	.footer-menu,
	.copyright {
		width: 100%;
		text-align: center;
	}
}

/* ---- ab 768px ---- */
@media (min-width: 768px) {
	.container {
		width: 750px;
	}

	.col-sm-6 {
		flex: 0 0 50%;
		max-width: 50%;
	}
}

/* ---- ab 769px ---- */
@media (min-width: 769px) {
	.hestia-title.title-in-content {
		font-size: 42px;
	}
}

/* ---- ab 992px ---- */
@media (min-width: 992px) {
	.container {
		width: 970px;
	}

	.col-md-4 {
		flex: 0 0 33.33333%;
		max-width: 33.33333%;
	}

	.col-md-5 {
		flex: 0 0 41.66667%;
		max-width: 41.66667%;
	}

	.col-md-7 {
		flex: 0 0 58.33333%;
		max-width: 58.33333%;
	}

	.col-md-8 {
		flex: 0 0 66.66667%;
		max-width: 66.66667%;
	}

	.col-md-12 {
		flex: 0 0 100%;
		max-width: 100%;
	}

	.col-md-offset-2 {
		margin-left: 16.66667%;
	}
}

/* ---- ab 1200px ---- */
@media (min-width: 1200px) {
	.container {
		width: 1170px;
	}
}
