/* Stylesheet für Selfhtml Design 03 
  responsives Layout mit Grid Layout ab Z. 210   */

/* ====================================================   GLOBAL DEFINITION   ==================================================== */

/* alternatives Boxmodell */
html { 
  box-sizing: border-box; 
  background: #ede9d0;	
} 


body {
	max-width: 75em;
	margin: 0 auto;
	padding: 0;
	background: #fff;
	color: #56423D;
	font-weight: normal;
	font-variant: normal;
	font-style: normal;
	font-size: 1em;
	font-family: "Myriad Pro", Arial, "Novel Display", "Source Sans Pro", Verdana, "Noto Sans", sans-serif;  /* Mindestschriftgröße wird dem Browser, bzw. dem Nutzer überlassen! */
}



/* ====================================================   HEADER   ==================================================== */

header {
	position: relative;
	height: 210px;
	margin: 2em  0  0 3em;
	background-repeat: no-repeat;
	background-position: right;
	background-image: url("z_test/bilder/ddorf_skyline.png");
	background-color: #FABB6E;
	background-size: contain;
	padding: 0 0 0.5em;
}

header a ,
header a p {			/*Die Angaben für h1 müssen mit einem genauen Selektor überschrieben werden. */
	color: white; 
	border-left: 0;
	padding: 0;
    display: table;		/* Überschriften und Absätze sind sonst immer 100% breit, durch display:table und display: inline-block; für das Elternelement a.ribbon wird das Banner nur so breit wie nötig. */
}
 
header h1 { 			/*Die Angaben für h1 müssen mit einem genauen Selektor überschrieben werden. */
	color: #0079B6;
	border-left: none;
	padding-top: 50px;
	padding-right: 20px;
	padding-left: 20px;
	padding-bottom: 10px;
	display: table;		/* Überschriften und Absätze sind sonst immer 100% breit, durch display:table und display: inline-block; für das Elternelement a.ribbon wird das Banner nur so breit wie nötig. */
	font-size: x-large;
	font-family: "Novel Display", "Myriad Pro", Arial,  "Source Sans Pro", Verdana, "Noto Sans", "sans-serif";
	font-weight: 700;
}

header h2 { 			/*Die Angaben für h1 müssen mit einem genauen Selektor überschrieben werden. */
	color: #0079B6;
	border-left: none;
	display: table;		/* Überschriften und Absätze sind sonst immer 100% breit, durch display:table und display: inline-block; für das Elternelement a.ribbon wird das Banner nur so breit wie nötig. */
	font-family: "Novel Display", "Myriad Pro", Arial, "Source Sans Pro", Verdana, "Noto Sans", "sans-serif";
	;
	font-size: medium;
	font-weight: 700;
	padding-left: 20px;
	text-transform: none;
}


/** CONTENT **/

main {
	margin: 0 0 1em;
	padding: 1em;
	background: #fff;
}

h1 {
	font-family: "Myriad Pro", Arial, "Novel Display", "Source Sans Pro", Verdana, "Noto Sans", sans-serif;
	padding-left: 1em;
	color: #56423D;
	text-transform: uppercase;
	border-left: 20px solid #0079b5;
	font-size: large;
	line-height: normal;
}
	

h2 {
	font-family: "Myriad Pro", Arial, "Novel Display", "Source Sans Pro", Verdana, "Noto Sans", sans-serif;
	padding-left: 1em;
	color: #56423D;
	text-transform: uppercase;
	border-left: 5px solid #0079b5;
	font-size: medium;
	line-height: normal;
}

h2.keywords {
	font-family: "Myriad Pro", Arial, "Novel Display", "Source Sans Pro", Verdana, "Noto Sans", sans-serif;
	padding-left: 0px;
	color: #56423D;
	text-transform: none;
	border-left: none;
	font-size: medium;
	line-height: normal;
}


h2 span {
	font-size: 0.70em; 
	color: #818181; 
	text-transform: none;
}

h3	{ 
	font-size: 1.25em; 
	font-weight: normal; 
	padding: 0px; 
	margin: 0px; 
	color: #0079b5; 
}		

p {
	text-align: left;
	padding: 5px 0px;
	line-height: 1.3em ;
}

p.cv {
	line-height: 1.5em ;
}


a 	{ 
	color: #00aaf7; 
	outline: none; 
	text-decoration: none; 
}
a:hover, 			/* Durch Maus oder Tastatur angewählte Verweise werden sichtbar gemacht */
a:focus {
	color: white;
	text-decoration: none;
	background-color: #00aaf7;
	padding-top: 0px;
}

a.more	{ 
	float: right; 
	font-weight: bold; 
}

a.more:after{
	content:" \2192 ";
	font-size:1.2em;
	font-weight:bold;
}

ul.square {
	list-style-type: square;
	/* [disabled]color: #999999; */
	margin-top: 0;
	margin-right: 0;
	margin-left: 0.5em;
	margin-bottom: 0.2em;
	font-size: 1em;
	/* [disabled]font-weight: normal; */
}

ul.square li{
	padding-top: 4px;
	padding-right: 5px;
	padding-left: 5px;
	padding-bottom: 4px;
}

ul.intro {
	list-style-type: square;
	color: #56423D;
	margin: 0 0 0.5em 0.5em;
	font-size: 1em;
	font-weight: normal;
}

ul.intro li{
	padding:5px;	
}


/*DL, DT, DD Datenliste*/
dl.grid { 
  display: grid; 
  grid-template-columns: 1fr 100%; 
}
dd { 
  margin: 0; 
  padding-left: 1em; 
}

dd span:first-child {
  display: inline-block;
  width: 4em;
}

dl.grid dd {
  margin-bottom: 1em;
}

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

ul#footer-nav li { 
	list-style-type: none;  
	displaY: inline;
	padding: 0 0.5em; 
	border-right: 1px  solid #ACACAC; 
}

footer {
	display: grid;
    grid-template-columns: repeat(2, 1fr);	
	padding: 1em;
}

ul#footer-nav  li:last-child { 
	border: none; 
}	

ul#footer-nav img {
	width: 1.5em;
}

ul#footer-nav a:hover,
ul#footer-nav a:focus, 
ul#footer-nav a:active {
	background: white;
}

footer p {
	text-align: right;
}

/** Navigation **/

nav#navigation{
}
	
#navigation ul {
    list-style-type: none;
    width: 100%;
	margin-bottom:30px;
}

#navigation ul li.first-child	{ border-top: 1px #DBDBDB solid; }


#navigation ul li a {
	display: block;
    border-bottom: 1px solid #0079b5;
    font-size: 1.1em;
    line-height: 1.5em;
    padding: 1em 35px;
    text-decoration: none;
	width: 13em; 
}

#navigation ul li a:before{
	content:" ";
	display:inline-block;
	width:1em;
	height:1em;
	border-left:5px solid #0079b5;;
}	
		
nav a[aria-current=page]{
 background: #aaa;
}

/** Tabellendefinition **/
table, th, td {
	border: 0px none;
	padding-top: 5px;
	margin-bottom: 5px;
	margin-top: 5px;
	margin-left: 5px;
	margin-right: 5px;
	padding-left: 5px;
	padding-right: 5px;
	padding-bottom: 5px;
	text-align: left;
	vertical-align: top;
}
#coll { border-collapse: collapse; }
#sepa { border-collapse: separate; margin-top: 2em; }
caption { text-align: left; }



/* ========== repsonsives Grid-Layout ========== */

/* mobile first - auf schmalen Bildschirmen wird alles untereinander platziert. */ 

/* ab einer Breite von 30em haben zwei Spalten nebeneinander Platz: */

@media (min-width: 30em) { 
  main {
  	display: grid;	  
    grid-template-columns: 1fr 2fr;
	grid-template-rows: repeat(2, 0.8fr) 1.6fr 0.5fr 1.5fr ;
	grid-gap: 30px 30px;
	}

  nav {
    grid-column: 1 / 1;
	 grid-row: 1 / 1 
  }
  
  #intro {
    grid-column: 2 / 3;
	grid-row: 1 / 1; 
  }

	
/*	#beratung {
		grid-column: 2 / 3;
		grid-row: 2 / 2; 
	}
*/	
	
	#leistungen {
		grid-column: 2 / 3;
		grid-row: 2 / 2; 
	}
	
	#profilbild {
	grid-column: 1 / 2;
	grid-row: 3 / 4;
	text-align: center;
	}
	
	
  #marc {
    grid-column: 2 / 3;
	  grid-row: 3 / 4; 
  }  
  
	#kontakt {
	  grid-column: 2 / 3;
	  grid-row: 5 / 6; 	
	}	
	
	
  .spalte img {
     width: 50%;
	 float: left;
	 margin-right: 0.5em;		
  }
}
