:root {
	--primary-color: #0287d4; /* #1e88e5;*/
	--secondary-color: #2e73ff;
	--accent-color: rgba(86, 90, 94, 1);
	--accent-coller-hell: #eaf0f6;
	--bg: #f5f7fa;
	--dark: #1f2933;
	
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Segoe UI", system-ui, sans-serif;
}

body {
	background: var(--bg);
	color: var(--dark);
}

/* HEADER */
header {
	position: fixed;
	width: 100%;
	top: 0;
	background: white;
	box-shadow: 0 4px 12px rgba(0,0,0,.08);
	z-index: 10;
}

.nav {
	max-width: 1100px;
	margin: auto;
	padding: 1rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--primary-color);
} 

.ERClogo {
	height: 50px;
	}

.Partnerlogo {
	width: 180px;
	}

/* BURGER */
.burger {
	display: none;
		}

/* MENU */
.menu {
	position: static;
	top: 0;
	right: -300px;
	width: auto;
	height: auto;
	background: transparent;
	box-shadow: none;
	padding: 0;
	transition: right .4s ease;
}

.menu.active {
	right: 0;
}

.menu ul {
	list-style: none;
	display: flex;
	flex-direction: row;
	gap: 1.5rem;
}

.menu a {
	text-decoration: none;
	font-size: 1.1rem;
	color: var(--dark);
	transition: color .2s;
}

.menu a:hover {
	color: var(--primary-color);
}

/* OVERLAY */
.overlay {
	display: none;
}

/* CONTENT */
main {
	padding-top: 110px;
	max-width: 1100px;
	margin: auto;
	padding-inline: 1rem;
}



.heroBild {
	position: relative;   
	min-height: 50vh;
	background-image: url("../pics/BildFirma.jpg");
	background-size: cover;        /* Bild füllt die Section */
	background-position: center;   /* Bild wird zentriert */
	background-repeat: no-repeat;
	display: flex;
	color: white;
  	border-radius: 10px;
	margin-bottom: 20px;
	box-shadow: 0 20px 40px rgba(12, 12, 12, 0.35);
    }

.heroBild-content {
	flex: 1;
  	background-color: rgba(0, 0, 0, 0.178); /* dunkler Overlay */
  	padding: 2rem;
  	border-radius: 10px;
  	text-align: left;
	display: block;
}

.heroBild-content h1 {
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 2.5rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
	padding-bottom: 1rem;
	opacity: 0.85;
}

.heroBild-content h2 {
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 2rem;
	font-weight: 500;
	margin-left: 1rem;
	margin-bottom: 1.5rem;
	color: var(--primary-color);
	text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.heroBild-content p {
	opacity: .95;
	max-width: 600px;
	line-height: 1.6;
}


.heroBild-bottom-right {
    position: absolute;   
    bottom: 1rem;
    right: 1rem;
    font-size: 0.9rem;
}

.heroBild-bottom-right img {
	border-radius: 5px;
	text-shadow: 0 2px 8px rgba(0,0,0,0.8);
	opacity: 0.75;
}


.hero {
	background: linear-gradient(135deg, #42a5f5, #1e88e5);
	color: white;
	border-radius: 10px;
	padding: 1rem 3rem 2rem 3rem;
	margin-bottom: 20px;
	box-shadow: 0 20px 40px rgba(18, 19, 19, 0.35);
}

.hero h1 {
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 2.5rem;
	margin-bottom: 0.5rem;
	padding-bottom: 5rem;
}

.hero h2 {
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 2rem;
	margin-bottom: 1.5rem;
}

.hero p {
	opacity: .95;
	max-width: 800px;
	line-height: 1.6;
}

.hero2 {
	background: linear-gradient(90deg,rgba(86, 90, 94, 1) 0%, rgba(46, 65, 82, 1) 50%, rgba(83, 92, 105, 1) 100%);
	color: white;
	border-radius: 10px;
	padding: 3rem; 
	margin-bottom: 20px;
	box-shadow: 0 20px 40px rgba(18, 19, 19, 0.35);
}

.hero2 h1 {
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 2.5rem;
	margin-bottom: .5rem;
}

.hero2 h3 {
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 1.2rem;
	margin-top: .5rem;
	margin-left: -10px;
}

.hero2 hr {
    border: none;
    height: 1px;
    background-color: #e0e0e0;
	margin-bottom: .5rem;
	margin-left: -10px;
}

.hero2 p {
	opacity: .95;
	/*max-width: 600px;*/
	line-height: 1.6;
	padding-bottom: 10px;
}

.hero2 ul li{
	margin-left: 30px;
}



.partners {
    background: #f8fafc; /* sehr helles Grau */
	border-radius: 10px;
	padding: 1rem 3rem 2rem 3rem;
	margin-bottom: 20px;
    text-align: center;
	box-shadow: 0 20px 40px rgba(18, 19, 19, 0.35);
}

.partners h3 {
	margin-bottom: 1.5rem;
	font-size: 2.0rem;
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.partner-logos img {
	height: auto;
    width: 120px;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.partner-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
	cursor: pointer;
}


.OhneGewaehr {
	color: weight;
	font-size: 14px;
	text-align: right;
	margin-top: 20px;
	margin-bottom: -15px;
}

/*Aufklappmenü Start*/
#projects-section {
    /*padding: 100px 20px;*/
	background: linear-gradient(90deg,rgba(86, 90, 94, 1) 0%, rgba(46, 65, 82, 1) 50%, rgba(83, 92, 105, 1) 100%);
	color: white;
	border-radius: 10px;
	padding: 2rem;
	margin-bottom: 20px;
	box-shadow: 0 20px 40px rgba(18, 19, 19, 0.35);
}

#projects-section h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
}

details {
    margin: 20px auto;
    width: 1000px;
    max-width: 100%;
    background-color: var(--primary-color);
    border-radius: 6px;
}

details summary {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 30px;
    padding: 30px;
}

details .number {
    background-color: var(--accent-color);
    min-height: 50px;
    min-width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;

	background:
        linear-gradient(#555557, #84a9b8) padding-box,
        linear-gradient(
            135deg,
            #2E73FF,
            #5C8CFF,
            #34D399,
            #FBBF24,
            #F472B6,
            #2E73FF
        ) border-box;

    border: 3px solid transparent;
	box-shadow: 0 0 10px rgba(46,115,255,0.4);
}

details h3 {
	font-size: 1.70rem;
	font-weight: 600;
	color: white;
}

details h4 {
    font-size: 1.0rem;
	font-weight: 600;
	color: #1E293B;
	padding-bottom: 10px;
}

details .text-container {
    padding-left: 80px;
	padding-right: 30px;
	padding-bottom: 30px;
    padding-top: 0;
}

details .project-link {
    display: inline-block;
    margin-top: 30px;
    background-color: var(--accent-color);
    color: white;
    padding: .75em 1.5em;
    border-radius: 2px;
    font-weight: 500;
    transition: 500ms ease;
    cursor: pointer;
}

details .project-link:hover {
    background-color: var(--primary-color);
}


svg.arrow {
  /*margin-left: auto;*/
  transition: transform .3s ease;
}

details[open] svg.arrow {
  transform: rotate(180deg);
}


/*Aufklappmenü ENDE*/

/* FOOTER */
.footer {
    background: #111827;
    color: #e5e7eb;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1100px;
    margin: auto;
    padding: 3rem 1rem;
    display: grid;
    gap: 2rem;

	grid-template-columns: 1fr 1fr;
	align-items: center;
}

.footer-brand{
	margin-left: 20px;
}

.footer-brand h3 {
    color: white;
    margin-bottom: .5rem;
}

.footer-brand p {
    opacity: .85;
    max-width: 400px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
	justify-content: right;
	margin-right: 50px;
}

.footer-links a {
    color: #e5e7eb;
    text-decoration: none;
    font-size: .95rem;
	text-align: right;
    transition: color .2s ease;
}

.footer-links a:hover {
    color: #42a5f5;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
	text-align: right;
    /*padding: 1rem;*/
	padding-top: 1rem;
    font-size: .85rem;
    opacity: .75;
	margin-right: 50px;
	display: flex;
    justify-content: flex-end; /* rechtsbündig */
}

.divIsoLogo{
    display: flex;
    justify-content: flex-end; /* rechtsbündig */
    align-items: center;
	margin-right: 50px;
}

.ISO {
	height: 120px;
}


/*RepStatus Start*/
.statusTab{
	width: 100%;
    border-collapse: collapse;
}

.statusTab th {
	vertical-align: text-top;
	text-align: left;
	padding: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.statusTab td {
	vertical-align: text-top;
	text-align: left;
	padding: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.statusTabOverView{
	width: 100%;
    border-collapse: collapse;
}

.statusTabOverView th {
	vertical-align: text-top;
	text-align: left;
	padding: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.statusTabOverView td {
	vertical-align: text-top;
	text-align: left;
	padding: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.StatusHeader {
  display: flex;
  align-items: center;        /* vertikal auf Höhe "Serviceauftrag" */
  justify-content: space-between; /* links Text, rechts Logo */
  padding-top: 15px;
  padding-bottom: 10px;
}

.StatusHeader-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.StatusHeader-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;  /* Logo wirklich rechts */
}

/*RepStatus ENDE*/

/*Formular*/
.order-form-hero {
    display: flex;
    flex-wrap: wrap;      /* erlaubt Umbruch */
    gap: 16px;            /* Abstand zwischen den Divs */
}

.order-form {
	flex: 1 1 300px;      /* Mindestbreite 300px */
	/*max-width: 500px;*/
	min-width: 370px;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.order-form h3 {
	color: var(--accent-color);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 1.2rem;
	font-weight: 600;
	margin-top: -20px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.order-form p {
	color: black;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.order-form-row {
    display: flex;
    gap: 10px;
    width: 100%;
}

.order-form-row input,
.order-form-row select {
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

input[readonly], textarea[readonly],
.order-form-row input[readonly],
select[disabled],
.order-form-row select[disabled] {
    background-color: #cecece;
    color: #555;
    border: 1px solid #757575;
    cursor: not-allowed;
	opacity: 1; /* verhindert Ausgrauen */
}

.required {
    color: #dc3545;   /* rot */
    font-weight: bold;
}

/*input[required], textarea[required],
.order-form-row input[required],
select[required],
.order-form-row select[required] {
    border-left: 4px solid #dc3545;
}*/


.order-form-row input#AufragPLZ,
.order-form-row input#EndKPLZ,
.order-form-row input#AbwRückPLZ,
.order-form-row input#AbwAbhKPLZ,
.order-form-row input#PLZ {
    flex: 0 0 100px;
}

.order-form-row input#AufragOrt,
.order-form-row input#EndKOrt,
.order-form-row input#AbwRückOrt,
.order-form-row input#AbwAbhKOrt,
.order-form-row input#Ort {
    flex: 1 1 0;
    min-width: 0;
}

.order-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.2rem;
}


/*.order-form-toggle-checkbox {
	padding-top: 10px;
    /*display: none; /* Checkbox verstecken, aber funktionsfähig lassen */
/*}*/

/* Überschrift als klickbarer Checkbox-Trigger */
.order-form-toggle-header {
    display: block;
	color: var(--accent-color);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 1.2rem;
	font-weight: 600;
	margin-top: -25px;
	padding-bottom: 10px;
	padding-left: 30px;
	cursor: pointer;
    user-select: none;
}

.order-form-toggle-content {
    display: none;
    margin-top: 1rem;
}

.order-form-toggle-checkbox:checked ~ .order-form-toggle-content {
    display: block;
}


.order-form-infobox {
	display: flex;
  	align-items: flex-start;   /* ⬅️ wichtig: oben ausrichten */

	flex: 1 1 300px;      /* Mindestbreite 300px */
	/*max-width: 500px;*/
	min-width: 370px;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
	padding-top: 1.5rem;
    background: #f9fafb;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.order-form-infobox h3 {
	color: var(--accent-color);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 1.2rem;
	font-weight: 600;
	margin-top: -20px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.order-form-infobox p {
	color: black;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.order-form-infobox-icon {
  	width: 150px;              /* Icon-Größe */
  	flex-shrink: 0;           /* Icon bleibt gleich groß */
	margin-left: -30px;
	margin-top: -30px;
}




.agb-check label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.95rem;
    cursor: pointer;
}

.agb-check input[type="checkbox"] {
    margin-top: 3px;
}

.agb-check a {
    color: #1e88e5;
    text-decoration: underline;
}

.agb-check a:hover {
    text-decoration: none;
}

/*Braucht man das noch?
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.2rem;
}
*/

label {
    margin-bottom: .4rem;
    font-weight: 600;
	color: black;
	
	display: inline-flex;
	gap: 0.25rem; 
}

.languargeSelect{
	padding-bottom: .2rem;
	padding-right: .1rem;
	padding-left: .2rem;
	padding-top: .2rem;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 0.9rem;
}

input, select, textarea {
    padding: .6rem .7rem;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 1rem;
}

input:focus,
select:focus {
    border-color: #1e88e5;
    outline: none;
}

button, .button {
	display: block;
	text-align: center;
    width: 100%;
    padding: .8rem;
    background: #1e88e5;
    border: none;
    color: white;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
	text-decoration: none;
}

button:hover, .button:hover {
    background: #1565c0;
}

.buttonHell {
    width: 100%;
    padding: .8rem;
    background: #a7b5c2;
    border: none;
    color: white;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
	text-decoration: none;
	text-align: center;
}

.buttonHell:hover {
    background: #879bad;
}

.buttonHell2 {
    width: 100%;
    padding: .8rem;
    background: #879bad;
    border: none;
    color: white;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
	text-decoration: none;
}

.buttonHell2:hover {
    background: #a7b5c2;
}

.logistiker-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem;
    width: 30%;
    color: white;
    background: #a7b5c2;
    border-radius: 8px;
    transition: background 0.2s ease, transform 0.15s ease;
	text-decoration: none;
}

.logistiker-link img {
    height: 50px;
}

.logistiker-link span {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.logistiker-link:hover {
    background: #879bad;
}



.tabSuche{
	/*background: white;*/
	color: black;
	/*border-radius: 10px;*/
	padding: 0.5rem;
	/*margin-bottom: 5px;*/
	/*box-shadow: 0 20px 40px rgba(30,136,229,.35);*/
}

.tabSuche th {
	vertical-align: text-top;
	text-align: left;
	padding: 5px;
}

.tabSuche td {
	vertical-align: text-top;
	text-align: left;
	padding: 5px;
}

.status-message {
  max-width: 600px;
  margin: 1.5rem auto;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  font-size: 0.95rem;
}

.status-message strong {
  font-size: 1.05rem;
}

.Meldung{
	display: none;
    border: 1px solid #e0a800;
    background-color: #fff3cd;
    color: #664d03;
    padding: 12px 16px;
    border-radius: 6px;
    margin: 10px 0;
    font-size: 0.95rem;
}

/*Für Suche Gerätetypen*/
#results {
 	list-style: none;
  	padding: 0px;
  	border: none;
  	max-width: 200px;
  	color: #111827;
}

#results:has(li) {
  	border: 1px solid #d1d5db;
  	border-radius: 6px;
	margin-top: 2px;
  	margin-left: 10px;
}

#results:not(:has(li)) {
  	border: none;
}

#results li {
  	padding: 6px;
  	cursor: pointer;
}

#results li:hover {
  	background: #879bad;
}




/**/
@media (max-width: 768px) {
	/*Burger*/
	.burger {
		width: 30px;
		height: 22px;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		cursor: pointer;
	}

	.burger span {
		height: 4px;
		background: var(--dark);
		border-radius: 10px;
		transition: all .3s ease;
		
		position: relative;
		z-index: 1002;
	}

	.burger.active span:nth-child(1) {
		transform: rotate(45deg) translate(6px, 6px);
	}

	.burger.active span:nth-child(2) {
		opacity: 0;
	}

	.burger.active span:nth-child(3) {
		transform: rotate(-45deg) translate(6px, -6px);
	}

	/*Menü*/
	.menu {
		position: fixed;
		width: 300px;
		height: 100vh;
		background: white;
		box-shadow: -6px 0 20px rgba(0,0,0,.15);
		padding: 4rem 2rem;
	}

	.menu ul {
		flex-direction: column;
	}

	/* OVERLAY */
	.overlay {
		position: fixed;
		inset: 0;
		background: rgba(0,0,0,.4);
		opacity: 0;
		pointer-events: none;
		transition: opacity .3s;
	}

	.overlay.active {
		opacity: 1;
		pointer-events: all;
	}

	.footer-content {
		grid-template-columns: initial;
		align-items: initial;
	}


	.footer-brand{
		margin-left: 50px;
	}

	.footer-links {
		justify-content: center;
		margin-right: 0px;
	}

	.footer-bottom {
		text-align: center;
		margin-right: 0px;
		justify-content: center;
	}

	.divIsoLogo{
		display: flex;
		justify-content: center;
		margin-right: 0px;
	}

	.nav {
		padding: 0.75rem;
	}

	.ERClogo {
		height: 38px;
	}

	.Partnerlogo {
		width: 140px;
	}

	.heroBild {
		min-height: 15rem; /*auto;*/
		flex-direction: column;
	}

	.heroBild-content {
		padding: 1.2rem;
	}

	.heroBild-content h1 {
		font-size: 1.8rem;
	}

	.heroBild-content h2 {
		font-size: 1.4rem;
		margin-left: 0;
	}

	.heroBild-content p {
		font-size: 0.95rem;
	}

	.heroBild-bottom-right {
		margin-top: 30px;
	}

	.heroBild-bottom-right img {
		width: 250px;
	}

	.hero,
	.hero2,
	.partners {
		padding: 1.5rem;
	}

	.hero h1,
	.hero2 h1 {
		font-size: 1.8rem;
	}

	.hero h2 {
		font-size: 1.4rem;
	}

	details {
		width: 100%;
	}

	details summary {
		/*flex-direction: column;*/
		/*align-items: flex-start;*/
		gap: 15px;
		padding: 20px;
	}

	details .text-container {
		padding-left: 20px;
		padding-right: 20px;
	}

	details h3 {
		font-size: 1.3rem;
	}

	details .number {
		margin-left: -40px; /*lässt den Kreis an den Rand wandern*/
	}
	
	.statusTab,
	.statusTabOverView {
		display: block;
		width: 100%;
		overflow-x: auto;
	    table-layout: fixed;
    	border-collapse: collapse;
	}

	.statusTab th {
		margin: 0px;
		vertical-align: bottom;
		padding-left: 1px;
	}

	.statusTab td {
		margin: 0px;
		padding-left: 1px;
	}
	
	.statusTab th:first-child,
	.statusTab td:first-child {
		max-width: 120px;
		min-width: 110px;
		word-wrap: break-word;
		overflow-wrap: anywhere;
	}

	.statusTab th:nth-child(3),
	.statusTab td:nth-child(3) {
		max-width: 500px;
		min-width: 300px;
	}

	.order-form,
	.order-form-infobox {
		max-width: 100%;
		min-width: 100%;
		padding: 1.2rem;
	}

	.order-form-infobox-icon {
		width: 100px;
		margin-left: -20px;
		margin-top: -20px;
	}


	input,
	button,
	.button,
	.buttonHell,
	.buttonHell2 {
		font-size: 1rem;
	}

	button,
	.button,
	.buttonHell,
	.buttonHell2,
	.logistiker-link {
    	min-height: 44px;
	}

	.partner-logos {
    	gap: 1.5rem;
	}

	.partner-logos img {
		width: 100px;
	}

	.OhneGewaehr {
		margin-top: 20px;
		margin-bottom: -15px;
	}

	.StatusHeader{
		display: flex;
		flex-direction: column;
		align-items: flex-start;
	}

	.StatusHeader-right {
		padding-top: 15px;
		padding-bottom: 15px;
	}	

	.hero2 span {
		display: block;
	}


}	