/* Stylesheet für uRock 
  responsives Layout mit Grid Layout  
*/
/* Creator: Calle, with the kind support of Selfhtml (https://wiki.selfhtml.org/) in summer 2022. Feel free to use, modify or redistribute this css file. */
/* ====================================================   GLOBAL DEFINITION   ==================================================== */

  
  /* indie-flower-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'IndieFlower';
  font-style: normal;
  font-weight: 400;
  src: url('indie-flower-v21-latin-regular.woff2') format('woff2');
}


/* alternatives Boxmodell */
html { 
  box-sizing: border-box; 	
} 

*, ::before, ::after { 
  box-sizing: inherit; 
}

body {
	max-width: 75em;
	margin:0 auto;
	padding: 0;
	background: #342F24;	
	color: #E0DACE; 
	font: normal 1em Arial, sans-serif;  /* Mindestschriftgröße wird dem Browser, bzw. dem Nutzer überlassen! */
                    
}



/* ====================================================   HEADER   ==================================================== */


header {
	position: relative;		
	height: 210px;
	margin: 2em  0  0  0;
	background: #2C100C url("../img/bar389c.jpg") no-repeat right; 
	background-size: contain; 			 
	padding: 0 0 0.5em;
}

header a h1,
header a p {			
	color: #BC822A; 
	border-left: 0;
	padding: 0;
    	display: table;		
}

.ribbon {
	display: inline-block;
	position: relative;	
	margin: 3em 0 2em 1.5em;
	padding: 0.5em 1em;
}
 
.ribbon::before{
	display: block;
	width: 1.5em;
	height: 0;
	position: absolute;
	bottom: -1.5em;
	left: 0em;
	content: "";
}
 
/** CONTENT **/

main {
	margin: 0 0 1em;
	padding: 1em;
	background: #342F24;
}

h1,
h2 {
	font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; 
	color: #E0DACE; 
}
	
h2 span {
	font-size: 1.2em; 
	color: #BC822A; 
	text-transform: none;
	font-family: IndieFlower,sans-serif;
}

h3	{ 
    font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
	font-size: 1.25em; 
	font-weight: bold; 
	padding-bottom: 10px; 
	padding-top: 15px; 
	margin: 0px; 
	color: #E0DACE; 
	text-decoration: none;
}		

p {
	text-align: left; 
	line-height: 1.6em; 
	padding: 20px 0px
}

a 	{ 
	color: #BC822A; 
	outline: none; 
	text-decoration: none; 
}
a:hover, 			
a:focus { 
	color: white; 
	text-decoration: none; 
	background-color: #2C100C;	
}

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;
    color: #999999;
    margin: 0 0 0.5em 0.5em;
	font-size: 0.8em;
	font-weight: bold;
}

ul.square li{
	padding:10px;	
}

/*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 #BC822A;
    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;
}	
		
nav a[aria-current=page]{
 background: #A7A29C;
}



/* ========== 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: repeat(2, 1fr);
	grid-gap: 1em;
  }

  nav {
    grid-column: 1 / 2;
  }
  
  #intro {
    grid-column: 2 / 3;
    grid-row:    1 / 2;					
  }

  article {
    grid-column: 2 / 3;
  }  
  
  .spalte img {
     width: 50%;
	 float: left;
	 margin-bottom: 30px;
	 margin-right: 0.5em;		
  }

  
}



@media (min-width: 50em) { 
  main {
    grid-template-columns: repeat(3, 1fr);
 }
 
  nav {
    grid-row: 1 / 4;
  } 

  #intro {
    grid-column: 2 / 4;
    grid-row:    1 / 2;					
  }

  article {
    grid-column: 2 / 4;
  }    
  
   aside {
    grid-column: 3 / 4;
    grid-row: 1 / 2;	
  }   
  
  .spalte {
    grid-row:    2 / 3;					
  }
    
  .spalte img {
     width: 95%;
     margin-bottom: 60px;
  } 
  
  .sptxt {
    padding: 0;
  }

/* ========== Zeilenumbruch im disclaimer ========== */
.disclaimer {
	width: 400px;
}

/* ========== Logo ========== */
#logo {
    font-family: IndieFlower, Hevetica, Arial, sans-serif;
    font-size:2.2em;
}
