/* Fonts */
:root {
	--default-font: Arial, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Roboto, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	--heading-font: Arial, sans-serif;
	--nav-font: Arial, sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
	--background-color: #f8f9fa;
	/* Background color for the entire website, including individual sections */
	--default-color: #000000;
	/* Default color used for the majority of the text content across the entire website */
	--heading-color: #000000;
	/* Color for headings, subheadings and title throughout the website */
	--accent-color: #003366;
	/* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
	--surface-color: #ffffff;
	/* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
	--contrast-color: #ffffff;
	/* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
	--dark-blue: #32455c;
	--header-color: #899fad;
	/* #cad3d1   #b9c4c1;*/
	--footer-color: #899fad;
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {

	--nav-color: #ffffff;
	/* The default color of the main navmenu links */
	--nav-hover-color: #003366;
	/* Applied to main navmenu links when they are hovered over or active */
	--nav-mobile-background-color: #ffffff;
	/* Used as the background color for mobile navigation menu */
	--nav-dropdown-background-color: #ffffff;
	/* Used as the background color for dropdown items that appear when hovering over primary navigation items */
	--nav-dropdown-color: #212529;
	/* Used for navigation links of the dropdown items in the navigation menu. */
	--nav-dropdown-hover-color: #34bf49;
	/* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
	color: var(--default-color);
	background-color: var(--background-color);
	font-family: var(--default-font);
}

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

a:hover {
	color: color-mix(in srgb, var(--accent-color), transparent 25%);
	text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--heading-color);
	font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.sitename {
	font-size: 30px;
	margin: 0;
	font-weight: 300;
	color: var(--heading-color);
}

.header {
	color: var(--background-color);
	background-color: var(--header-color);
	transition: all 0.5s;
	z-index: 997;
	height: 60px;
	overflow: hidden;
	/* wichtig */

}

.logo-img {
	height: 100%;
	width: auto;
	display: block;
	object-fit: contain;
	/* optional: sichert gleichmäßige Skalierung */
	max-width: 100px;
}


@media (max-width: 576px) {
	.header {
		height: 40px;
	}

	.logo-img {
		height: 100%;
			margin-left: 2em;

		max-height: 100%;
		width: auto;
		display: block;
		object-fit: contain;
	}
}

.header .logo-img {
	max-height: 60px;
	width: auto;
	margin-right: 0;
	display: block;
	margin-left: 0;
}

.header a.logo-link {
	display: flex;
	align-items: center;
}

.scrolled .header {
	box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991.98px) {
	.burger {
		margin-left: auto;
		margin-right: 0;
		align-self: center;
	}
}

/*--------------------------------------------------------------
# NAV
--------------------------------------------------------------*/

.navmenu a,
.navmenu a:focus {
	color: var(--nav-color);
	padding: 18px 15px;
	font-size: 16px;
	font-family: var(--nav-font);
	font-weight: 400;
	display: flex;
	align-items: center;
	justify-content: space-between;
	white-space: nowrap;
	transition: 0.3s;
}



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






#mobileMenu {
	width: 80vw;
	height: 60vh;
	z-index: 1050;
	overflow-y: auto;
	background-color: var(--header-color);
}

#mobileMenu .nav-link {
	font-size: 1.3em;
}



.navbar-toggler {
	background-color: transparent;
	font-size: 1.5rem;
}

.navbar-toggler-icon {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

#mobileMenu .btn-close-x {
	font-size: 3rem;       /* Schriftgröße vom X */
	line-height: 1;        /* kein zusätzlicher vertikaler Abstand */
	width: 3rem;           /* Klickfläche vergrößern */
	height: 3rem;
	padding: 0;
	border: none;
	background: transparent;
	color: white;
}


/* Menü-Links (Mobile) */
#mobileMenu .nav-link {
	font-size: 1.5rem;
	padding: 1rem;
	color: white;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.footer {
	background-color: var(--footer-color);
	color: var(--default-color);
	padding: 0;
	font-size: 14px;
	border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
}

.footer a {
	color: var(--default-color);
}

.footer a:hover {
	color: var(--accent-color);
	 !important;
}



.footer .text-primary {
	color: var(--dark-blue) !important;
}


.footer .copyright {
	margin-top: 10px;
	position: relative;
	padding-top: 10px;
	padding-bottom: 0;
	border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
}

.footer .copyright p,
.footer .copyright .credits {
	margin: 0;
}

.gruenhover:hover {
	color: var(--accent-color);
	 !important;
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
	margin-top: 2em;
	text-align: center;
	padding-bottom: 2em;
	position: relative;
}

.section-title h2 {
	font-size: 36px;
	font-weight: 500;
	margin-bottom: 0;
}

.section-title p {
	font-size: 18px;
	margin-bottom: 10px;
}

@media (max-width: 767.98px) {
  .section-title {
    margin-top: 1em;
	  padding-bottom: 1em;
  }
}

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/
.hero {
	text-align: center;
	padding: 2rem 1rem;
}

.logo-img {

	min-width: 400px;
	width: 60%;
	margin: 2em auto;
	display: block;
}

.main-claim {
	font-size: 2rem;
	margin-top: 1.5rem;
}

.sub-claim {
	font-size: 1.5rem;
	margin-bottom: 2rem;
	color: #555;
}

@media (max-width: 576px) {
	.logo-img {
		min-width: unset;
		width: 80%;
		max-width: 280px;
		margin: 1em auto;
	}
}


/*--------------------------------------------------------------
# tätigkeitsbereiche
--------------------------------------------------------------*/

/*Desktop*/

.image-row {
	display: flex;
	margin: 0;
	padding: 0;
	height: 80vh;
	overflow: hidden;
}

.image-container {
	flex: 1;
	position: relative;
	overflow: hidden;
	transition: none;
	cursor: pointer;
}

.image-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: none;
}

.image-container:hover {
	flex: 2;
}

.image-container:hover img {
	transform: scale(1.05);
}

.image-container::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	/* dunkler Overlay */
	opacity: 0;
	transition: opacity 0.6s ease;
	z-index: 2;
	pointer-events: none;
	/* wichtig, damit Hover durchgeht */
}

.image-container:hover::after {
	opacity: 1;
}

.image-container:hover .image-text {
	opacity: 1;
}


.image-text {
	position: absolute;
	top: 50%;
	left: 5%;
	width: 90%; /* oder z. B. 400px */
	max-width: 600px;
	height: auto;
	background: transparent;
	/* kein Kasten, reiner Text */
	color: white;
	font-family: Arial, sans-serif;
	padding: 1.5rem;
	font-size: 1.2rem;
	opacity: 0;
	transition: opacity 0.1s ease;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: translateY(-50%);
	text-align: center;
	max-width: 800px;
}


.image-text-list {
	list-style-type: none;
	padding-left: 1.2rem;
	margin: 0;
	text-align: left;
}

.image-text-list li {
	margin-bottom: 1rem;
	font-size: 1rem;
	line-height: 1.5;
}


.image-text-list .list-header {
	display: flex;
	align-items: center;
	font-size: 1.5rem; /* größer als normale Liste */
	font-weight: bold;
	margin-bottom: 1rem;
}

.image-text-list .list-header img {
	width: 40px; /* Icon-Größe anpassen */
	height: auto;
	margin-right: 0.5rem;
}

.image-text-list .list-header p {
	margin: 0;
}



/*mobile*/

.image-text-mobile {
	display: block;
}
/* nur das große Header-Foto runden/covern */
.image-text-mobile-container > img.img-fluid {
  border-radius: 6px;
  object-fit: cover;
}

/* Icon NICHT croppen */
.inline-icon {
  border-radius: 0 !important;
  object-fit: contain;          /* oder: object-fit: initial; */
  height: 28px;                 /* deine Vorgabe beibehalten */
  width: auto;
  display: inline-block;
  vertical-align: middle;       /* saubere Ausrichtung neben der Überschrift */
  flex: 0 0 auto;               /* verhindert Stretching in Flex-Row */
}

.image-text-block h4 {
	font-size: 1.4rem;
	font-weight: bold;
	display: flex;
	align-items: center;
	gap: 0.5em;
	margin-bottom: 0.5em;
}

.inline-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  padding: 4px;
}
.image-text-mobile-container {
  position: relative;
}



/* Optional: LI-Styling */
.swiper-slide {
  margin-right: 1rem;
}
.swiper-slide li {
  list-style-type: none;
  font-size: 0.95rem;
  padding-left: 2.5em;
	padding-bottom: 1em;
	padding-top: 1em;
  margin: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* stärkerer Schatten */
}
.mobile-li-swiper {
  padding: 0 2rem; /* Platz rechts/links für Pfeile */
}

@media (max-width: 767.98px) {
  .hide-mobile {
    display: none !important;
  }
}

/*--------------------------------------------------------------
# Second claim
--------------------------------------------------------------*/

.second-claim-section {
	text-align: center;
	background-color: #899fad;
	/* dunkelgrau */
	color: white;
	/* optional, damit der Text gut lesbar bleibt */
	padding: 1.5rem;
	/* optional, für etwas Innenabstand */
}

.second-claim {
	font-size: 1.5rem;
	color: white;

}

/*--------------------------------------------------------------
# angebot
--------------------------------------------------------------*/
.angebotsbutton {
  display: flex;
  justify-content: center;
  align-items: center; /* optional, falls vertikal zentriert werden soll */
  margin-top: 2rem; /* optional: etwas Abstand nach oben */
}


.btn.angebot-btn {
	padding: 1rem 2rem;
	background-color: #444;
	color: #fff;
	text-decoration: none;
	border-radius: 5px;
	transition: background-color 0.2s ease;
	font-size: 1.2em;
}

.btn.angebot-btn:hover {
	background-color: #666;
}



.image-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 3rem;
	justify-content: space-between;
}

.grid-item {
	flex: 0 1 calc(50% - 2rem);
	display: flex;
	flex-direction: column;
}

.grid-item a {
	width: 300px;
	margin: 0 auto;


}

.grid-image-container {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 11;
	/* oder z. B. 16 / 9 für breiteres Format */
	overflow: hidden;
	border-radius: 8px;
}

.grid-image-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 8px;
}

/* --- Overlay: kompletter Bildbereich dunkel transparent --- */
.angebot-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  box-sizing: border-box;
  display: flex;
  align-items: flex-end; /* Text ganz nach unten */
  padding: 1rem;
  z-index: 2;
}

/* Textcontainer unten links im Overlay */
.angebot-overlay-content {
  text-align: left;
}

/* Überschrift */
.angebot-overlay-content h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.4rem;
  font-weight: bold;
  color: white;
}

/* Keyword-List-Styling */
.keyword-list {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 1.15rem;
}

.keyword-list li {
	margin-bottom: 0.5rem;
}



/* Mobile */
@media (max-width: 767.98px) {
	#angebot .grid-item {
		flex: 0 0 100%;
		max-width: 100%;
	}

	.grid-image-container .hover-overlay {
		opacity: 1 !important;
		pointer-events: auto;
	}
	
	.angebot-overlay-content h3 {
		font-size:1.12rem;
	}
	.keyword-list {
		font-size: 1rem;
	}
}






/*--------------------------------------------------------------
# verfahren NEUNEU
--------------------------------------------------------------*/
.verfahren-swiper .swiper-wrapper {
  padding: 0 1rem; /* sorgt für Abstand zu den Seiten */
}


/* Wrapper für Swiper-Slider */
.verfahren-swiper {
  width: 100%;
  padding: 2rem 0;
}

/* Swiper-Slide = Card */
.verfahren-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Bildbereich */
.verfahren-card-image-container {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  flex-shrink: 0;
}

.verfahren-card-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}


/* Keyword-List schlicht */
.verfahren-keyword-list {
  list-style: none;
  padding: 1rem 1.25rem;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  flex-grow: 1;
}

.verfahren-keyword-list li {
  margin-bottom: 0.5rem;
}


/* Swiper-Buttons immer oben & klickbar */
.swiper { position: relative; }
.swiper .swiper-button-prev,
.swiper .swiper-button-next {
  z-index: 10;
  pointer-events: auto;
}

/* Falls ein Overlay o.ä. im Container ist: nicht die Klicks „schlucken“ */
.swiper * { pointer-events: auto; }



/* Pfeile größer + fetter */
.verfahren-swiper .swiper-button-prev,
.verfahren-swiper .swiper-button-next {
  color: #333;          /* Farbe der Pfeile */
  font-weight: bold;    /* "Fetter" Look */
  transform: scale(1.2); /* Vergrößerung */
top: 70%;             /* verschiebt die Pfeile ins untere Drittel */
  transform: translateY(-50%) scale(1.2); /* Zentrierung + Vergrößerung kombinieren */

}


/* Hover-Effekt */
.verfahren-swiper .swiper-button-prev:hover,
.verfahren-swiper .swiper-button-next:hover {
  color: #000;
}




/*Pagination */
/* Abstand der Pagination unterhalb der Slides */
.verfahren-swiper .swiper-pagination {
  margin-top: 1.5rem;   /* Abstand zu den Slides */
  position: relative;   /* verhindert Überlagerung */
  bottom: 0 !important; /* bleibt direkt unter den Slides */
}

/* Punkte größer und besser sichtbar */
.verfahren-swiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #ccc;
  opacity: 1; /* immer sichtbar, nicht halbtransparent */
  margin: 0 6px !important; /* Abstand zwischen den Punkten */
}

/* Aktiver Punkt */
.verfahren-swiper .swiper-pagination-bullet-active {
  background: #333;
}




/*--------------------------------------------------------------
# testimonials
--------------------------------------------------------------*/

.testimonials {
	background-color: #f8f8f8;
	padding: 4rem 2rem;
	text-align: center;
}

.section-title {
	font-size: 2.2rem;
	margin-bottom: 2.5rem;
	color: #222;
}

.testimonial-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	justify-content: center;
}

.testimonial-card {
	background-color: white;
	padding: 2rem;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	flex: 0 1 300px;
	max-width: 350px;
	text-align: left;
	position: relative;

	/* NEU: Standard-Collapsed-Höhe für Zitatbereich */
	--collapsed-h: 220px;
}

/* Anführungszeichen */
.testimonial-card::before {
	content: "“";
	font-size: 4rem;
	color: #ccc;
	position: absolute;
	top: 10px;
	left: 20px;
	line-height: 1;
}

/* NEU: Wrapper für Zitat zum Einklappen/Animieren */
.quote-wrap {
	position: relative;
	overflow: hidden;
	max-height: var(--collapsed-h);
	transition: max-height .28s ease;
}

/* NEU: leichter Fade unten, wenn Text abgeschnitten ist */
.quote-wrap::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 2.5rem;
	pointer-events: none;
	background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
	opacity: 0; /* wird nur bei .collapsible eingeblendet */
	transition: opacity .2s ease;
}

/* bestehende Typo */
.quote {
	font-size: 1.1rem;
	line-height: 1.6;
	color: #333;
	margin-bottom: 1rem;
	padding-left: 1.2rem;
}

.author {
	font-weight: bold;
	color: #666;
	font-size: 0.95rem;
	padding-left: 1.2rem;
	margin: 0;
	padding-top: 1rem;
}

/* NEU: Weiterlesen-Button (Standard: versteckt) */
.read-more {
	display: none;             /* wird bei .collapsible gezeigt */
	align-self: start;
	border: 1px solid #dcdcdc;
	background: #fff;
	border-radius: 999px;
	padding: .4rem .85rem;
	font-size: .9rem;
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease, transform .05s ease;
}

.read-more:hover { background: #f5f5f5; border-color: #cfcfcf; }
.read-more:active { transform: translateY(1px); }

/* NEU: Wenn der Inhalt länger ist als collapsed -> zeige Button + Fade */
.testimonial-card.collapsible .read-more { display: inline-block; }
.testimonial-card.collapsible .quote-wrap::after { opacity: 1; }

/* NEU: Im expandierten Zustand – Fade ausblenden.
   Die Zielhöhe setzt JS via inline-style (scrollHeight) für saubere Animation. */
.testimonial-card.expanded .quote-wrap::after { opacity: 0; }

/* Mobile Feintuning */
@media (max-width: 767.98px) {
	.testimonial-grid {
		gap: 1rem;
	}
	/* optional: etwas kleinere Collapsed-Höhe auf Mobile */
	.testimonial-card { --collapsed-h: 220rem; }
}

/*--------------------------------------------------------------
# kontakt
--------------------------------------------------------------*/

.kontakt-section {
	background-color: #f8f8f8;
	border-radius: 12px;
}

.kontakt-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}

.kontakt-card {
	background-color: white;
	padding: 2rem;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kontakt-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.kontakt-card h3 {
	font-size: 1.2rem;
	margin-bottom: 1rem;
	color: #333;
}

.kontakt-card a {
	color: #2b7a4b;
	/* mattes grün */
	font-weight: bold;
	text-decoration: none;
}

.kontakt-card a:hover {
	text-decoration: underline;
}


/*--------------------------------------------------------------
# referenzen
--------------------------------------------------------------*/
.referenz-logo {
	max-height: 60px;
	object-fit: contain;
	width: auto;
}







/*--------------------------------------------------------------
# impressum
--------------------------------------------------------------*/

.impressum-card {
	max-width: 800px;
	margin: 4rem auto;
	padding: 2rem 2.5rem;
	background-color: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.impressum-card h1 {
	font-size: 2rem;
	margin-bottom: 1.5rem;
	color: #2b2b2b;
}

.impressum-card p {
	margin-bottom: 0.6rem;
	line-height: 1.6;
	color: #444;
}

.impressum-card a {
	color: #2b7a4b;
	text-decoration: none;
}

.impressum-card a:hover {
	text-decoration: underline;
}

.impressum-card small {
	display: block;
	margin-top: 2rem;
	color: #888;
	font-size: 0.85rem;
}

@media (max-width: 576px) {
	.impressum-card {
		padding: 1.5rem;
	}
}