/* Stylesheet für Selfhtml Design 04 freigegeben für Vertriebsbüro Wilhelm (2025-04-06)  */

/* ================================================== START "GLOBAL DEFINITION"   === */

/* Hintergrund #eeeeee | Alternative #d6d6d6
/* Color font || #0F0000 // (ex) #191919; */
/* Color h2 || #6A64BD; rgba(106,100,189,1.0); oder #009999; rgba(0,153,153,1.0) | (ex) #7670d3; (lilla // 2025-08-03) */
/* Color Navi || #990000; (2025-08-01 // rot) */

/* ================================================== START "alternatives Boxmodel" === */

html { 
  box-sizing: border-box; 
} 

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

body {
    max-width: 75em;
    margin: 0 auto; 
	padding: 0 1em;
	font-family: Helvetica, Arial; /* ergänzt RW (2025-03-20) */
	/* font: normal 1em Arial, Helvetica; */ 
	font-weight: normal;
	color: #0F0000; 		/* #555; */
    background: #eeeeee; 	/* #ddd; */
	position:relative;
}

/* ================================================== START "header / Kopfbereich" === */

header.banner {
	background: #ffffff;
	padding: .5em 1em;
	box-shadow: 0 0 10px rgba(0,0,0,0.2);
	border-radius: 0 0 1em 1em;
}

#logo {
	margin: 22px 0 0 3%;
	color: #0F0000;			/* #58585a; RW 2025-03-12 */
	font-size:1.4em;
							/* font-style:italic; */
	font-weight:normal;
	text-decoration: none;
}

header a#navlink {
	display: block;
	float: right;
	color: #990000;			/* #88a600; RW 2025-03-14 */
	text-decoration: none;
	font-size: 2em;
	font-weight: normal;	/* bold; */
}
		
/* ================================================== START "content / Inhalt" === */
	
main {
	padding: 1em;
	background: #fff;
	box-shadow: 0 0 10px rgba(0,0,0,0.2);
	border-radius: 1em;  
}

h1 {
	font-family: Helvetica, Arial; /* ergänzt RW (2025-03-20) */
	font-size: 1.30em;
	font-weight: bold;
	color: #0F0000;
	padding: 5px;
}

/* ==================== START 'Überschrift h1 Color' ===== */

h1 span,
.akzentfarbe1 {
	color: #990000; /* #7670d3; + #c3d66a; RW 2025-03-12 */
}

h1 a:hover span {
    color: #fff;
}

.akzentfarbe2 {
	color: #6A64BD;
}

/* ==================== ENDE 'Überschrift h1 Color' ===== */

h2 {
    font-family: Helvetica, Arial; /* ergänzt RW (2025-08-20) */
	font-size: 1.20em;
	font-weight: bold;
	color: #0F0000;
	padding: 0 0 1em; /*15px; */
}

/* ==================== START 'Überschrift h2 Color' ===== */

h2 span,
.akzentfarbe1 {
	color: #990000;
}

h2 span,
.akzentfarbe2 {
	color: #6A64BD;
}

h2 span,
.akzentfarbe3 {
	color: #009900;
}

/* ==================== ENDE 'Überschrift h2 Color' ===== */

h3 {
    font-family: Helvetica, Arial; /* ergänzt RW (2025-03-20) */
	font-size: 1.10em;
	font-weight: normal;
	color: #0F0000;
	/* padding: 0 0 1em; /*15px; */
}

/* ==================== START 'Überschrift h3 Color' ===== */

h3 span,
.akzentfarbe1 {
	color: #990000;
}

h3 span,
.akzentfarbe2 {
	color: #6A64BD;
}

h3 span,
.akzentfarbe3 {
	color: #009900;
}

/* ==================== ENDE 'Überschrift h3 Color' ===== */

article.absatz {
    position: relative;
	/* float: left; */
	/* margin-top: 0px; */
	padding: 5px 2%;
	font-weight: normal;
	box-shadow: 0 0 10px rgba(0,0,0,0.1) inset, 0 3px 1px rgba(0,0,0,0.15);
	border-radius: 1em;
}

aside h2,
section h2 {
	color: #ffffff;
	padding: .5em;
	margin: 0;
	font-family: Helvetica, Arial; /* ergänzt RW (2025-03-20) */
	font-size: 1.20em;
	font-weight: normal;
    background: rgba(106,100,189,1.0); /* rgba (118,112,211,0.95); */
	border-radius: .5em;
	box-shadow: 0 2px 0 #cfcccc; /* #d6d6d6; RW 2025-03-12 */
}

aside,
section {
	position: relative;
	padding: 0 0 4em;     /* Platz für abslout positionierte Buttons */
	box-shadow: 0 0 10px rgba(0,0,0,0.1) inset, 0 3px 1px rgba(0,0,0,0.15);
	border-radius: 1em;
}


a {
	color: #990000; /* (ex) #97b314; (2025-03-12) */ 
}

a:hover,
a:focus {
	/* background: #efefef; /* rgba(195,214,106,0.95); */
	color: rgba(153,0,0,0.5);
}

a.button{
	/* background: rgba(153,0,0,0.4); /* (ex) #97b314; (2025-03-14) */
	background: rgba(106,100,189,0.4); /* (2025-08-28) */
	font-weight: normal; /* bold; */
	/* box-shadow: 0 0 20px #aca9e4 */ /* #c3d34e */ /* inset, 0 2px 1px rgba(0,0,0,0.2); */
	color: #ffffff; /* #990000; */
	padding: 0.5em;
	border-radius: .5em;
	text-decoration: none;	
}
a.button:hover,
a.button:focus {
	/* background: rgba(153,0,0,0.7); /* (ex) #7670d3; #708900; (2025-03-12) */
	background: rgba(106,100,189,0.7); /* (2025-08-28) */
}

section p {
	padding: 0.5em 1em;
}

section p:first-of-type {
	font-weight: bold;
	color: #0F0000; /* #708900; RW 2025-03-14 */
}

section img {
  width: calc(100% - 1em);
  margin: 0.5em 0.5em 1.5em;
}

aside {
}

section a.button {			
	position: absolute;	/* So werden Buttons immer an der gleichen Stelle, unabhängig vom vorhandenen Inhalt, positioniert */
	right: 1em;
	bottom: 1em;
}

form {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap:.5em; 
	padding: 1em; 
}

form input {
	background: #555;
	border-radius: 4px;
	border: none;
	color: #fff;
	padding: 0.75em 0.75em 0.75em 2.5em;
	font-weight: bold;
}

form#search{ 
	position:relative;
}	

form#search input {
	width: 15em;
	margin: 0 1em;
}		

#search i {
	position: absolute;
	top: 1.2em;
	left: 1.75em;
	color: #bebebe;
}

section ul {
	margin: 1em 0 0 3em;
}
		
section li {
	font-weight: bold;
	margin: 0.5em 0 1em 2em;
}

section li i {
	color: #990000; /* (ex) #6A64BD; /* #Haken Index; RW 2025-08-10 */ 
}

dl.grid { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr);
  padding: 0.5em;
}
dd { 
  margin: 0; 
  padding-left: 1em; 
}
dl.grid dd {
  margin-bottom: 1em;
}

a[href^="tel"] { white-space: nowrap; }

/* ================================================== START "Navigation" === */

#navigation li {
	display: block;
	list-style: none;
	margin-right: .5em; 
	width: 90%;
}

#navigation a {
	display: block; 
	text-decoration: none;
	padding: 0.5em 1em;
	background-color: #fff;
	border-radius: .5em .5em 0 0;	
}

#navigation a[aria-current=page] {
	font-weight: normal;
    background: linear-gradient(rgba(186,183,223,0.35) /* #bab7e9 */, #ffffff); /* background: linear-gradient(rgba(195,214,106,0.95), #fff); RW 2025-03-14*/
	
}

#navigation a:hover,
#navigation a:focus, 
#navigation a:active  {
	color: #c16666; /* #990000; RW 2025-03-14 */
    background: linear-gradient(rgba(186,183,223,0.35) /* #bab7e9 */, #ffffff);	   
}		

/* ================================================== START "Footer" === */
	
#social {
	float: left;
}

#social li {
	margin: 0 20px 0 0;
	display:inline-block;;
}
	
#fb {
	background: url("../img/fb.png") no-repeat;
	float: left;
	width: 16px;
	height: 16px;
}
	
#twitter {
	background: url("../img/twitter.png") no-repeat;
	float: left;
	width: 16px;
	height: 16px;
}
	
#yt {
	background: url("../img/yt.png") no-repeat;
	float: left;
	width: 16px;
	height: 16px;
}
	
footer #copyright {
	float: right;
}


/* ================================================== START "Accordion" === */

.accordion, .accordion * {
	-webkit-box-sizing:border-box; 
	-moz-box-sizing:border-box; 
	box-sizing:border-box;
}


.accordion {
	overflow:hidden;
	/* box-shadow: 0px 2px 1px 0px #c1c1c1; */
	border-radius:3px;
	background:#ffffff;
}


.accordion-section-title { /*----- Section Titles -----*/
	width:100%;
	padding:15px;
	display:inline-block;
	background:#f8f8fc;
	transition:all linear 0.15s;
	/* Type */
	font-size: 1.25em;
	font-family: Helvetica, Arial;
	font-weight: 300;
	color:#191919;
	box-shadow: 0px 2px 1px 0px #c1c1c1;
	text-decoration:none;
	
}

.accordion-section-title.active, .accordion-section-title:hover {
	background:#CCCCCC;
	/* Type */
	text-decoration:none;
}

.accordion-section:last-child .accordion-section-title {
	border-bottom:none;
}


.accordion-section-content { /*----- Section Content -----*/
	padding:15px;
	display:none;
}


.accordion-section-title:after { /*-- START Section Title - "+" / "-" Zeichen --*/
    content: '\002B'; /* "plus"  (+) */
    font-size: 1.50em;
	font-weight: 600;
    font-style: #191919;
    float: right;
    margin-left: 5px;
}

.active:after {
    content: "\2212"; /*-- "minus"  (-) ## End Section Title - plus und minus Zeichen --*/
}	


/* ================================================== START responsives Layout === */

/* Mobile first! 1-Spaltenlayout  */


/* 2-Spaltenlayout, sobald der Platz es erlaubt  */

@media only screen and (min-width: 40em) {
  main {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap:1em;
	position: relative;
	margin: 3em auto 1em;
  }
  
  article {
	grid-column: span 2;
  }
  
  header a#navlink {
	display: none;
  }

  #navigation  {
    position: absolute;
    top: -3em;
  }
  
  #navigation li {
	display: inline-block;
	width: auto;
}

#navigation a {
	display: inline-block; 
}

/* 3-Spaltenlayout, sobald der Platz es erlaubt  */
@media only screen and (min-width: 60em) {
  main {
	grid-template-columns: repeat(3, 1fr);
  }

	main header,
	main footer {
	  grid-column: span 3;
	}

	article{
	  grid-column: span 2;		
	}
}

/* Flexbox Fallback wenn der  Browser kein display:grid unterstützt. */
@supports not (display: grid) {
  main {
    display: flex;
    flex-flow: row wrap;
  }

main > * {
  flex: 1 100%;      /* Alle Elemente werden über die volle Breite dargestellt */
} 

article {
  flex: 1 64%;      
  margin: 1%;
}
section,
aside {
  flex: 1 31%;      /* Diese Elemente erhalten eine Breite von 1/3.  */
  margin: 1%;
}
}
