* {
	margin:0;
	padding:0;
	box-sizing:border-box;
}

body {
	font-family: 'BerlinTypeWeb';
    font-weight: 300;
    line-height:normal;
    font-size: 1.2rem;
    color: #000;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body::after {
	/*content:'Resize Viewport ↘';*/
	position: fixed;
	bottom:1em;
	right:1em;
	opacity: 0.5;
	font-size: 1.1em;
}

/*----------- Back To Top Button -----------*/

 .back-to-top {
    position: fixed;
    bottom:10px;
    right:10px;
    padding:0em;
    z-index: 100;
   }

/*------------------ Header / Logo + Navigation -------------------*/

.logo {
	display:block;
	width:100%;
	padding:0.5em;
}



/*-- Offset Content 11em unter Header --*/
#row_gr, #row_ws {
    margin-top: 10em;
}

nav {
	width:100%;
	padding-left: 3em;
	height:0;
	overflow:hidden;
	transition:height .2s ease-in-out;
}

nav ul {
    list-style-type: none; 
}

nav li {
	float:left;
	width:100%;
}

nav a {
	display:block;
	height:100%;
	width:100%;
	padding: 0.5em;
	text-decoration:none;
	color: white; /*--- Farbe Text Menü und z.Z. auch für Hamburger Menü---*/
        font-weight: 400;
}

nav a:hover {
    color: #f1008f;
}

nav li a::after{
    content: '';
    display: block;
    height: 4px;
    width: 0;
    background: #f1008f;
    transition: all .5s;
}

nav li a:hover::after{
    width: 100%;
}


.nav-toggle {
    background: #909090; /*--- background Hamburger ---*/
	display:block;
	position:absolute;
	right:0;
	top:0;
	padding: 1em;
	color:black;
	cursor:pointer;
	text-decoration:none;
}

.nav-toggle:hover {
	background:rgba(0,0,0,0.4);
}

#nav-open:target .nav-closed {
	display:block;
}

.nav-closed,
#navi-closed:target .nav-closed,
#nav-open:target .nav-open {
	display:none;
}


/*-----------------Headline 1/2 ---------------*/

.headl1 {
    font-size: 1.1rem;
    font-weight: 400;
    color: #f1008f;
}

.headl2 {
    font-size: 1.5rem;
    font-weight: 300;
    color: #2b2b2b;
}


/*------------------- rows ---------------------*/

#row_gr {
    width: 100%;
    background: #eee;
    padding: 1em 0;
    flex: 1;
}

#row_ws {
    width: 100%;
    background: #fff;
    padding: 1em 0;
    flex: 1;
}

#row_footer {
    width: 100%;
    background: #2b2b2b;
    padding: 1em 0;
}

/*-------------- Fachbereich Links ----------------*/

.fa1 {
    max-width: 150px;
    height: 182px;
    margin: 0.5em;    
    background: url(../img/kids-kl.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.fa1:hover {
    max-width: 150px;
    height: 182px;
    margin: 0.5em; 
    background: url(../img/kids-klp.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.fa2 {
    width: 150px;
    height: 182px;
    margin: 0.5em;  
    background: url(../img/erw-kl.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.fa2:hover {
    width: 150px;
    height: 182px;
    margin: 0.5em;  
    background: url(../img/erw-klp.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.fa3 {
    width: 150px;
    height: 182px;
    margin: 0.5em;   
    background: url(../img/schmerz-kl.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.fa3:hover {
    width: 150px;
    height: 182px;
    margin: 0.5em;  
    background: url(../img/schmerz-klp.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/*-------------- transparente Buttons ----------------*/

.cta {
    display:inline-block;
    margin-top:10px;
    margin-bottom:30px;
    padding:5px 10px;
    border:1px solid #f1008f;
    border-radius:5px;
    font-size:.9rem;
    text-decoration: none;
    color:#f1008f;
    text-transform:uppercase;
    word-spacing:.1rem;
    behavior:url('assets/css3pie/1.0.0/PIE.htc');
    transition: 0.3s ease; transition-property: background-color, color;
}

.cta:hover {
    background-color:#f1008f;
    color:#fff;
}

.line{
    width: 150px;
    height: 4px;
    background: #f1008f;
    margin: 5px 0;
    border-radius: 5px;
}

.philos {
    display: block;
    list-style-type: disc;
    /*margin: 30px;*/
    /*font-size: 1rem;*/
    padding: 0 1.5em;
}


/*-------------------------------------------------------------------------*/
/*                                                                         */
/*                         Mobil - alles unter 819px                       */
/*                                                                         */
/*-------------------------------------------------------------------------*/

@media screen and (max-width: 820px) {

.logo {
    width: 200px;
    height: 200px;
}

.logo img {
    width: 180px;
	height: 180px;
    rotate: 10deg;
}


/*----------------- Navigation -----------------------*/
#nav-open:target nav {
	height:380px; /* Höhe Menü - Mobil */
    font-size: 1.1rem;
    font-weight: 400;
	background-color: white; /*background mobil menu*/
    padding:  0 0 0 2em;
    border: 1px solid red;
}

#row_nav {
    position: fixed;
    top: 0;
    z-index: 2;
    width: 100%;
    height: 200px;
    background-color: #909090;
    padding: 0;
}


nav {
	width:100%;
	float:left;
	padding-left: 0;
	height:0;
	overflow:hidden;
	transition:height .2s ease-in-out;
}

nav a {
	display:block;
	height:100%;
	width:100%;
	padding: 0.5em;
	text-decoration:none;
	color: #2b2b2b;  /*-- Farbe Text  Hamburger Menü --*/
    font-weight: 400;
}

nav li {
    border-top: 1px solid #b2b2b2;
}


/*--------------------- MOBIL Startseite ---------------------*/

.boxs {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
}

.b01 {
    padding: 1em;
}

.b01 img {
    max-width: 100%;
    height: auto;
}

.theme p {
    font-family: rock salt;
    color: #606060;
    font-size:1.5rem;
    line-height: 1.7;
    padding: 0 0 0.5em 1em;
}


.b01:nth-of-type(1) {grid-column: 1;order: 1;} /* Headline */
.b01:nth-of-type(2) {grid-column: 1;order: 3;} /* Text ... */
.b01:nth-of-type(3) {grid-column: 1;order: 2;} /* Bilde */
.b01:nth-of-type(4) {grid-column: 1;order: 4;} /* 3 x Pfeil n.u. */

/*---------------------- MOBIL PHILOSOPHIE ----------------------*/

.box1 {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
}

.b11 {
    padding: 1em;
}

.b11 img {
    max-width: 100%;
    height: auto;
}

.b11:nth-of-type(1) {grid-column: 1; order: 1;}
.b11:nth-of-type(2) {grid-column: 1; order: 4;}
.b11:nth-of-type(3) {grid-column: 1; order: 5;background: #eeeeee; border-radius: 5px;}
.b11:nth-of-type(4) {grid-column: 1; order: 2;}
.b11:nth-of-type(5) {grid-column: 1; order: 3; padding: 0 1em;}

/*------------------------- ERGOTHERAPIE -------------------------*/
.box2 {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
}

.fachbutton {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space space-around;
}

.pic-dve img {
    max-width: 16em;
    float: right;
    padding: 0.7em 1em 1em 1em;
}

.b21 {
    padding: 1em;
}

.b21:nth-of-type(1) {grid-column: 1;}
.b21:nth-of-type(2) {grid-column: 1;}
.b21:nth-of-type(3) {grid-column: 1;}
.b21:nth-of-type(4) {grid-column: 1;}

/*-------------------------- TEAM ---------------------------*/
.box4hl {
    display: grid;
    grid-template-columns: 1fr; /* Headline Team */
    width: 100%;
    padding: 1em;
}

.b4hl:nth-of-type(1) {grid-column: 1;}


.box4 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(10em, 1fr));
    width: 100%;
}

.b41 img{
    max-width: 100%;

} 

.small {
    font-size: 0.8rem;
    text-align: center;   
}

.name {
    font-size: 1rem;
    text-align: center;
}

.b41 {
    padding: 0.5em;
}


/*-------------------- PRAXIS / GALERIE ---------------------*/
/*--
.box-gal1 {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    padding: 1em;
}

.bga1:nth-of-type(1) {grid-column: 1;}


.box-gal2 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(10em, 1fr));
    width: 100%;
}

.bga2 img{
    max-width: 100%;

} 

.bga2 {
    padding: 0.5em;
}
--*/

/*------------------ PRAXIS / GALERIE TEMP --------------------*/

.box-gal1 {
    display: grid;
    grid-template-columns: 1fr; /* Headline Team */
    width: 100%;
    padding: 1em;
}

.bga1:nth-of-type(1) {grid-column: 1; grid-row: 1;}
.bga1:nth-of-type(2) {grid-column: 1; grid-row: 3;}
.bga1:nth-of-type(3) {grid-column: 1; grid-row: 2;}


.box-gal2 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(10em, 1fr));
    width: 100%;
}

.bga2 img{
    max-width: 100%;

} 

.bga2 {
    padding: 0.5em;
}

/*-------------------------- KONTAKT ---------------------------*/
.box6 {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
}

.b61 {
    padding: 1em;
}

.b61 img {
    max-width: 100%;
    height: auto;
}


.b61:nth-of-type(1) {grid-column: 1;}
.b61:nth-of-type(2) {grid-column: 1;}
.b61:nth-of-type(3) {grid-column: 1;}
.b61:nth-of-type(4) {grid-column: 1;}
.b61:nth-of-type(5) {grid-column: 1;}
   

/*------------------------ DIV. SEITEN ----------------------- */

.boxda, .boxfa, .boxjob {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
}

.b101, .b201, .b202, .b203 {
    padding: 1em;
}

.b101, .b201, .b202 img, .b203 img {
    max-width: 100%;
    height: auto;
}

.b101 span, .b201 span, .b202 span, .b203 span {
    color: #f1008f;
}

}
.b101:nth-of-type(1) {grid-column: 1;}  /* Impressum, Datenschutz */
.b101:nth-of-type(2) {grid-column: 1;}  /* Impressum, Datenschutz */
   
.b201:nth-of-type(1) {grid-column: 1;}  /* Erwachsene, Kids, Schmerz. */
.b201:nth-of-type(2) {grid-column: 1;}  /* Erwachsene, Kids, Schmerz. */

.b202:nth-of-type(1) {grid-column: 1;}  /* Job */
.b202:nth-of-type(2) {grid-column: 1;}  /* Job */

.b203:nth-of-type(1) {grid-column: 1;}  /* Alex, Elena */
.b203:nth-of-type(2) {grid-column: 1;}  /* Alex, Elena */

/* -------------------------- FOOTER ---------------------------- */

#row_footer {
    width: 100%;
    background: #2b2b2b;
    padding: 1em 0;
    /*border: 1px solid red;*/
}

.boxf {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
}

.f01 {
    padding: 1em;
    font-size: 0.9rem;
    color: #ffffff;
    line-height: 150%;
    text-align: center;
}

.f01 a{
    padding: 0 10px;
    font-size: 0.9rem;
    text-decoration: none;
    color: #ffffff;
    display: inline-block;
}

.f01 a::after{
    content: '';
    display: block;
    height: 4px;
    width: 0;
    background: #f1008f;
    transition: all .5s;
}

.f01 a:hover::after{
    width: 100%;
}

.f01:nth-of-type(1) {grid-column: 1;}
.f01:nth-of-type(2) {grid-column: 1;}
.f01:nth-of-type(3) {grid-column: 1;}




/*---------------------------------------------------------------------------------*/
/*                                                                                 */
/*                               WIDE - alles über 820px                           */
/*                                                                                 */
/*---------------------------------------------------------------------------------*/

@media screen and (min-width:821px) {
   
/*------------- HEADER, LOGO, NAVIGATION---------------*/

#row_nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 200px;
    background-image: linear-gradient(to right, #707070, #f2f2f2);
    padding: 0;
}

header {
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content:flex-start;
    align-items: center;
}

.nav-toggle {
    display:none !important;
}

.logo {
    width: 200px;
    height: 200px;
}

.logo img {
    width: 180px;
	height: 180px;
    rotate: 10deg;
}
	
nav {
	float:right;
	width:auto;
	display:block !important;
	height:auto;
}
	
nav li {
	width:auto;
	padding:0;	
}

nav li a::after{
	content: '';
	display: block;
	height: 4px;
	width: 0;
	background: #f1008f;
	transition: all .5s;
}
	
nav li a:hover::after{
	width: 100%;
}


/* ------------------------------ Startseite ------------------------------ */

.boxs {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0px;
}

.theme p {
    font-family: rock salt;
    color: #606060;
    font-size:2rem;
    line-height: 2;
    padding: 1.5em 0 1em 1em;
}
/* --
.theme1 p {
    font-size: 0.9rem;
    color: #2b2b2b;
    letter-spacing: 4px;
}
-- */

.b01 {
    padding: 1em;
}


.b01:nth-of-type(1) {grid-column: 1 / 6; }/* Text Ergotherapie ... */
.b01:nth-of-type(2) {grid-column: 1 / 3; }/* Text ... */
.b01:nth-of-type(3) {grid-column: 3 / 6; }/* Bilder */
.b01:nth-of-type(4) {grid-column: 1 / 6; }/* 3 x Pfeil nach unten */


/* ------------- Philosophie / Wir über uns ------------- */
.box1 {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0px;
}

.b11 {
    padding: 1em;
}

.b11 img {
    width: 100%;
    height: auto;
}

.philos {
    display: block;
    list-style-type: disc;
    padding: 0 1.5em;
}

.b11:nth-of-type(1) {grid-column: 1 / 4;}
.b11:nth-of-type(2) {grid-column: 2 / 3;}
.b11:nth-of-type(3) {grid-column: 3 / 4;}
.b11:nth-of-type(4) {grid-column: 1 / 2;}
.b11:nth-of-type(5) {grid-column: 2 / 3;padding-top: 10em;}


/* ------------------------ Ergotherapie ---------------------- */
.box2 {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0px;
}

.b21 {
    padding: 1em;
}

.pic-dve img {
    max-width: 18em;
    float: right;
    padding: 0.5em 0 0 0.5em;
}

.fachbutton {
    display: flex;
    flex-direction: row;
    justify-content: space space-around;
    flex-wrap: wrap;
}

.b21:nth-of-type(1) {grid-column: 1 / 5;} /* Überschrift */
.b21:nth-of-type(2) {grid-column: 1 / 3;} /* Text + Buttons */
.b21:nth-of-type(3) {grid-column: 3 / 5;} /* Aufklapp-Texte */
.b21:nth-of-type(4) {grid-column: 1 / 5;} /* leer */


/* ---------------------------- Team ---------------------------- */
.box4hl {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1em;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Headline Team */
    gap: 0px;
}

.b4hl:nth-of-type(1) {grid-column: 1 / 3;}

/* -------------------------------------------------------------- */

.box4 {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0px;
}

.b41 {
    padding: 1em;
}

.name {
    font-size: 1rem;
}

.small {
    font-size: 0.8rem;
}

.b41 img {
    max-width: 170px;
    height: auto;
}

/*.b41:nth-of-type(1) {grid-column: 1 / 5;}*/
.b41:nth-of-type(1) {grid-column: 1 / 2;}
.b41:nth-of-type(2) {grid-column: 2 / 3;}
.b41:nth-of-type(3) {grid-column: 3 / 4;}
.b41:nth-of-type(4) {grid-column: 4 / 5;}
.b41:nth-of-type(5) {grid-column: 5 / 6;}
.b41:nth-of-type(6) {grid-column: 1 / 2;}
.b41:nth-of-type(7) {grid-column: 2 / 3;}
.b41:nth-of-type(8) {grid-column: 3 / 4;}
.b41:nth-of-type(9) {grid-column: 4 / 5;}

/* ---------------------- Praxis / Galerie --------------------- */
.box-gal1 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1em;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Headline Team */
    gap: 0px;
}

.bga1 img {
    max-width: 350px;
}

.bga1:nth-of-type(1) {grid-column: 1 / 4; }
.bga1:nth-of-type(2) {grid-column: 1 / 2; }
.bga1:nth-of-type(3) {grid-column: 2 / 3; }

/* -------------------------------------------------------------- */

.box-gal2 {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0px;
}

.bga2 {
    padding: 1em;
}

.bga2 img {
    max-width: 170px;
    height: auto;
}

.bga2:nth-of-type(1) {grid-column: 1 / 2;}
.bga2:nth-of-type(2) {grid-column: 2 / 3;}
.bga2:nth-of-type(3) {grid-column: 3 / 4;}
.bga2:nth-of-type(4) {grid-column: 4 / 5;}
.bga2:nth-of-type(5) {grid-column: 5 / 6;}
.bga2:nth-of-type(6) {grid-column: 6/ 7;}

.bga2:nth-of-type(7) {grid-column: 1 / 2;}
.bga2:nth-of-type(8) {grid-column: 2 / 3;}
.bga2:nth-of-type(9) {grid-column: 3 / 4;}
.bga2:nth-of-type(10) {grid-column: 4 / 5;}
.bga2:nth-of-type(11) {grid-column: 5 / 6;}
.bga2:nth-of-type(12) {grid-column: 6 / 7;}

.bga2:nth-of-type(13) {grid-column: 1 / 2;}
.bga2:nth-of-type(14) {grid-column: 2 / 3;}
.bga2:nth-of-type(15) {grid-column: 3 / 4;}
.bga2:nth-of-type(16) {grid-column: 4 / 5;}
.bga2:nth-of-type(17) {grid-column: 5 / 6;}
.bga2:nth-of-type(18) {grid-column: 6 / 7;}

/*
.bga2:nth-of-type(13) {grid-column: 1 / 2;}
*/

/* ----------------- Kontakt ------------------- */

.box6 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    /*border: 1px solid red;*/
}

.b61 {
    padding: 1em;
}

.b61 img {
    width: 100%;
    height: auto;
    }

.b61 span {
    color: #f1008f;
}

.b61:nth-of-type(1) {grid-column: 1/3;}
.b61:nth-of-type(2) {grid-column: 1/2;}
.b61:nth-of-type(3) {grid-column: 2/3;}
.b61:nth-of-type(4) {grid-column: 1/2;}
.b61:nth-of-type(5) {grid-column: 2/3;}


/* ----------------- Footer ------------------- */
.boxf {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0em;
}

.f01 {
    padding: 1em;
    font-size: 0.9rem;
    color: #ffffff;
    line-height: 150%;
    text-align: center;
       /*border: 1px solid white;*/
}

/* original ohne Instagram 
.f01:nth-of-type(1) {grid-column: 1/3;border: 1px solid #f1008f;}
.f01:nth-of-type(2) {grid-column: 3/6;border: 1px solid #f1008f;}
*/

/* mit Instagram */
.f01:nth-of-type(1) {grid-column: 1/3;}
.f01:nth-of-type(2) {grid-column: 3/4;}
.f01:nth-of-type(3) {grid-column: 4/6;}


.f01 a{
    padding: 0 10px;
    font-size: 0.9rem;
    text-decoration: none;
    color: #ffffff;
    display: inline-block;
}

.f01 a::after{
    content: '';
    display: block;
    height: 4px;
    width: 0;
    background: #f1008f;
    transition: all .5s;
}

.f01 a:hover::after{
    width: 100%;
}


/*-------------------------- DIV. SEITEN ---------------------------*/
.boxda, .boxfa, .boxjob {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2em 0 0 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0px;
    /*border: 1px solid red;*/
}

.schm01 {
    width: 12em;
    float: left;
    padding: 0 1em 0 0;
}

.b101, .b201, .b202 {
    padding: 1em;
}

.b203 {
    padding: 1em 1em 1em 3em;
}

.b101 img, .b201 img, .b202 img, .b203 img {
    width: 100%;
    }

.b101 span, .b201 span, .b202 span, .b203 span {
    color: #f1008f;
}

.b101:nth-of-type(1) {grid-column: 1/6;}  /* Impressum, Datenschutz */
.b101:nth-of-type(2) {grid-column: 1/6;}  /* Impressum, Datenschutz */

.b201:nth-of-type(1) {grid-column: 1/6;}  /* Erwachsene, Kids, Schmerz. */
.b201:nth-of-type(2) {grid-column: 1/4;}  /* Erwachsene, Kids, Schmerz. */
.b201:nth-of-type(3) {grid-column: 4/6;}  /* Erwachsene, Kids, Schmerz. */

.b202:nth-of-type(1) {grid-column: 1/6;}  /* Job */
.b202:nth-of-type(2) {grid-column: 1/6;}  /* Job */

.b203:nth-of-type(1) {grid-column: 1/3;}  /* Alex, Elena */
.b203:nth-of-type(2) {grid-column: 3/6;}  /* Alex, Elena */

/*-------------------------------------------------------------------*/

}









